/* Shop / Product Archive */

.bsp-shop-archive__breadcrumbs {
  margin: 0 0 12px;
  color: var(--bsp-sr-muted, #9ca3af);
  font-size: 13px;
}

.bsp-shop-archive__breadcrumbs a {
  color: var(--bsp-sr-muted, #9ca3af);
  text-decoration: none;
}

.bsp-shop-archive__breadcrumbs a:hover {
  color: var(--bsp-sr-accent, #f06292);
}

.bsp-shop-archive__breadcrumb-sep {
  margin: 0 6px;
  color: var(--bsp-sr-muted, #9ca3af);
}

.bsp-shop-archive__title {
  font-family: var(--bsp-font-heading);
}

.bsp-shop-archive__filter-block {
  padding: 14px 0;
  border-bottom: 1px solid var(--bsp-sr-border, #e5e7eb);
}

.bsp-shop-archive__filter-title {
  margin: 0 0 12px;
  color: var(--bsp-sr-title, #111827);
  font-size: 14px;
  font-weight: 700;
}

.bsp-shop-archive__category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bsp-shop-archive__category-list li {
  margin-bottom: 8px;
}

.bsp-shop-archive__category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--bsp-sr-text, #6b7280);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bsp-shop-archive__category-link span {
  color: var(--bsp-sr-muted, #9ca3af);
}

.bsp-shop-archive__category-link:hover,
.bsp-shop-archive__category-link.is-active {
  color: var(--bsp-sr-accent, #f06292);
  font-weight: 600;
}

.bsp-shop-archive__brand-search {
  width: 100%;
  min-height: 36px;
  margin-bottom: 10px;
  padding: 0 12px;
  border: 1px solid var(--bsp-sr-border, #e5e7eb);
  border-radius: 8px;
  background: #fff;
  color: var(--bsp-sr-title, #111827);
  font-size: 13px;
}

.bsp-shop-archive__brand-search:focus {
  outline: none;
  border-color: var(--bsp-sr-accent, #f06292);
}

.bsp-shop-archive__show-more {
  display: inline-block;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bsp-sr-accent, #f06292);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.bsp-shop-archive__filter-collapsible {
  border-bottom: 1px solid var(--bsp-sr-border, #e5e7eb);
}

.bsp-shop-archive__filter-collapsible-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  color: var(--bsp-sr-title, #111827);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

.bsp-shop-archive__filter-collapsible-head::-webkit-details-marker {
  display: none;
}

.bsp-shop-archive__filter-collapsible-head i {
  color: var(--bsp-sr-muted, #9ca3af);
  font-size: 12px;
}

.bsp-shop-archive__filter-collapsible[open] .bsp-shop-archive__filter-collapsible-head i {
  transform: rotate(45deg);
}

.bsp-shop-archive__filter-collapsible .bsp-search-results__filter-list {
  padding-bottom: 14px;
}

.bsp-shop-archive__apply-filters {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  border: 1.5px solid var(--bsp-sr-accent, #f06292);
  border-radius: 8px;
  background: #fff;
  color: var(--bsp-sr-accent, #f06292);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.bsp-shop-archive__apply-filters:hover {
  background: var(--bsp-sr-accent, #f06292);
  color: #fff;
}

.bsp-shop-archive__clear-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 1.5px solid var(--bsp-sr-accent, #f06292);
  border-radius: 8px;
  background: #fff;
  color: var(--bsp-sr-accent, #f06292);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.bsp-shop-archive__clear-filters:hover {
  background: var(--bsp-sr-accent, #f06292);
  color: #fff;
}

.bsp-shop-archive__filters .bsp-search-results__filters-head {
  display: none;
}

.bsp-shop-archive__pagination .page-numbers .current {
  background: var(--bsp-sr-accent, #f06292);
  border-color: var(--bsp-sr-accent, #f06292);
  color: #fff;
}

.bsp-shop-archive--no-sidebar .bsp-search-results__container {
  grid-template-columns: 1fr;
}

/* Products per row from Customizer (--bsp-shop-columns). */
.bsp-shop-archive .bsp-search-results__grid.bsp-product-grid__grid,
.bsp-shop-archive .bsp-search-results__grid.bsp-featured-products__grid {
  grid-template-columns: repeat(var(--bsp-shop-columns, 4), minmax(0, 1fr));
}

@media (max-width: 991px) {
  .bsp-shop-archive .bsp-search-results__grid.bsp-product-grid__grid,
  .bsp-shop-archive .bsp-search-results__grid.bsp-featured-products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bsp-shop-archive .bsp-search-results__grid.bsp-product-grid__grid,
  .bsp-shop-archive .bsp-search-results__grid.bsp-featured-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .bsp-shop-archive .bsp-search-results__grid.bsp-product-grid__grid,
  .bsp-shop-archive .bsp-search-results__grid.bsp-featured-products__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}
