
/* --- NAV WORDMARK AS LINK --- */
.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size:0.8125rem;
  font-weight: 400;
  color: var(--col-white-oak);
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
}
.nav-wordmark:hover { color: var(--col-sand); }

/* --- CONCERN SECTION LABELS --- */
.concern-section-label {
  font-family: 'Jost', sans-serif;
  font-size:0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A5A3C;
  padding: 4px 8px 2px;
  list-style: none;
}

/* --- NAV RIGHT GROUP --- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

/* --- CART BADGE (replaces old cart-count) --- */
.nav-cart-link {
  font-family: 'Jost', sans-serif;
  font-size:0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B4B2A9;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-cart-link:hover { color: #C9B39A; }

.cart-badge {
  background: #8A5A3C;
  color: #EAE3D8;
  font-size:0.625rem;
  font-weight: 500;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}
/* ============================================================
   NTRS — shop.css
   Styles for: shop, product detail, cart, order confirmed
   ============================================================ */

/* --- NAV ADDITIONS --- */
.nav-cart {
  font-family: 'Jost', sans-serif;
  font-size:0.625rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B4B2A9;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.nav-cart:hover, .nav-cart.active { color: #C9B39A; }

.cart-count {
  background: #8A5A3C;
  color: #EAE3D8;
  font-size:0.5625rem;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.nav-links a.active { color: #C9B39A; }

/* --- CART TOAST --- */
.cart-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #2F2F2F;
  color: #C9B39A;
  font-family: 'Jost', sans-serif;
  font-size:0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}
.cart-toast.show { opacity: 1; }

/* --- SHOP PAGE --- */
.shop-page {
  background: #EAE3D8;
  min-height: 100vh;
}

.shop-header {
  background: #2F2F2F;
  padding: 32px 40px 28px;
}
.shop-title {
  font-family: 'Cormorant Garamond', serif;
  font-size:2.125rem;
  font-weight: 400;
  color: #EAE3D8;
  line-height: 1.2;
  margin-bottom: 8px;
}
.shop-subtitle {
  font-size:0.75rem;
  font-weight: 300;
  color: #888780;
  letter-spacing: 0.05em;
}

.shop-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  align-items: start;
}

/* --- SIDEBAR --- */
.shop-sidebar {
  background: #D8D2C7;
  padding: 40px 24px;
  min-height: calc(100vh - 200px);
  position: sticky;
  top: 62px;
}
.sidebar-label {
  font-size:0.5rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #8A5A3C;
  margin-bottom: 16px;
}
.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-list a {
  font-family: 'Jost', sans-serif;
  font-size:0.6875rem;
  font-weight: 300;
  color: #5F5E5A;
  text-decoration: none;
  padding: 6px 8px;
  display: block;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.category-list a:hover { color: #8A5A3C; border-left-color: #CBBDA8; }
.category-list a.active { color: #8A5A3C; border-left-color: #8A5A3C; font-weight: 400; }

/* --- PRODUCTS GRID --- */
.shop-products {
  padding: 32px 40px;
  background: #EAE3D8;
}
.results-count {
  font-size:0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888780;
  margin-bottom: 0;
  line-height: 1;
  flex-shrink: 0;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.product-card {
  background: #fff;
  display: flex;
  flex-direction: column;
}
.product-card-link { text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.product-card-img {
  background: #ffffff;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img img { width:60%; height:100%; object-fit:contain; display:block; margin:0 auto; transition: transform 0.3s ease; }
.product-card:hover .product-card-img img { transform: scale(1.03); }
.product-card-img.img-missing::after { content:'Product Image'; font-family:'Jost',sans-serif; font-size:0.5625rem; letter-spacing:0.15em; text-transform:uppercase; color:#8A5A3C; }
.product-card-info { padding: 16px 16px 8px; flex: 1; display: flex; flex-direction: column; }
.product-card-brand { font-size:0.5rem; letter-spacing: 0.22em; text-transform: uppercase; color: #8A5A3C; margin-bottom: 4px; }
.product-card-name { font-family: 'Jost', sans-serif; font-size:0.8125rem; font-weight: 400; color: #2F2F2F; line-height: 1.4; margin-bottom: 6px; }
/* Pin the price to the bottom of the info block — just above the Add to Cart
   button — so it lines up across cards regardless of how many lines the name
   takes. margin-top:auto pushes it down; padding-top keeps a gap from the name. */
.product-card-price { font-size:0.75rem; color: #5F5E5A; margin-top: auto; padding-top: 8px; }
.btn-add-to-cart {
  font-family: 'Jost', sans-serif;
  font-size:0.5625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: #8A5A3C;
  border: 1px solid #CBBDA8;
  padding: 10px 0;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
  transition: background 0.2s, color 0.2s;
}
.btn-add-to-cart:hover { background: #8A5A3C; color: #EAE3D8; }

/* --- BREADCRUMB --- */
.breadcrumb {
  padding: 16px 40px;
  background: #EAE3D8;
  font-size:0.6875rem;
  color: #888780;
}
.breadcrumb a { color: #8A5A3C; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* --- PRODUCT DETAIL --- */
.product-page { background: #EAE3D8; min-height: 100vh; }
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px;
}
.product-detail-img {
  background: #CBBDA8;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-img img { width:100%; height:100%; object-fit:cover; min-height:480px; }
.img-missing-block { width:100%; min-height:480px; background:#CBBDA8; }
.product-detail-info { padding: 0 0 0 56px; display: flex; flex-direction: column; justify-content: flex-start; }
.product-detail-brand { font-size:0.5625rem; letter-spacing: 0.25em; text-transform: uppercase; color: #8A5A3C; margin-bottom: 12px; }
.product-detail-title { font-family: 'Cormorant Garamond', serif; font-size:2rem; font-weight: 400; color: #2F2F2F; line-height: 1.2; margin-bottom: 16px; }
.product-detail-price { font-size:1.375rem; font-weight: 400; color: #2F2F2F; margin-bottom: 8px; }
.product-detail-category { font-size:0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: #888780; margin-bottom: 24px; }
.product-detail-desc { font-size:0.8125rem; font-weight: 300; line-height: 1.85; color: #5F5E5A; margin-bottom: 28px; }
.product-detail-desc strong { font-weight: 500; color: #2F2F2F; }

.product-quantity-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-label { font-size:0.625rem; letter-spacing: 0.15em; text-transform: uppercase; color: #5F5E5A; }
.qty-controls { display: flex; align-items: center; gap: 0; border: 1px solid #CBBDA8; }
.qty-controls button { background: none; border: none; padding: 8px 14px; cursor: pointer; font-size:1rem; color: #8A5A3C; }
.qty-controls span { padding: 8px 16px; font-size:0.8125rem; border-left: 1px solid #CBBDA8; border-right: 1px solid #CBBDA8; min-width: 40px; text-align: center; }

.btn-add-to-cart-lg {
  font-family: 'Jost', sans-serif;
  font-size:0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #8A5A3C;
  color: #EAE3D8;
  border: 1px solid #8A5A3C;
  padding: 14px 28px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 24px;
  transition: background 0.2s, color 0.2s;
}
.btn-add-to-cart-lg:hover { background: #6b4530; }

.product-meta { font-size:0.6875rem; font-weight: 300; color: #888780; line-height: 2; border-top: 1px solid #CBBDA8; padding-top: 20px; }

.related-products { padding: 60px 40px; background: #D8D2C7; }
.related-title { font-family: 'Cormorant Garamond', serif; font-size:1.75rem; font-weight: 400; color: #2F2F2F; margin-bottom: 28px; }
.related-products .products-grid { grid-template-columns: repeat(3, 1fr); }

/* --- CART PAGE --- */
.cart-page { background: #EAE3D8; min-height: 100vh; padding: 48px 40px; }
.cart-title { font-family: 'Cormorant Garamond', serif; font-size:2.25rem; font-weight: 400; color: #2F2F2F; margin-bottom: 36px; }
.cart-empty { text-align: center; padding: 80px 0; color: #5F5E5A; font-size:0.875rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #CBBDA8;
}
.cart-item-name { font-size:0.875rem; font-weight: 400; color: #2F2F2F; margin-bottom: 4px; }
.cart-item-price { font-size:0.75rem; color: #888780; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.cart-item-controls button { background: none; border: 1px solid #CBBDA8; padding: 4px 10px; cursor: pointer; font-size:0.875rem; color: #5F5E5A; transition: all 0.2s; }
.cart-item-controls button:hover { background: #8A5A3C; color: #EAE3D8; border-color: #8A5A3C; }
.cart-item-controls span { font-size:0.8125rem; min-width: 24px; text-align: center; }
.remove-btn { font-family: 'Jost', sans-serif; font-size:0.5625rem !important; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px !important; color: #888780 !important; }
.cart-item-subtotal { font-size:0.875rem; font-weight: 400; color: #2F2F2F; text-align: right; }

.cart-summary {
  background: #fff;
  padding: 28px;
  position: sticky;
  top: 80px;
}
.summary-title { font-family: 'Cormorant Garamond', serif; font-size:1.375rem; font-weight: 400; color: #2F2F2F; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; font-size:0.8125rem; color: #5F5E5A; margin-bottom: 10px; }
.total-row { font-size:0.9375rem; font-weight: 500; color: #2F2F2F; margin-top: 4px; }
.summary-divider { border: none; border-top: 1px solid #CBBDA8; margin: 14px 0; }
.free-shipping-msg { font-size:0.6875rem; color: #8A5A3C; font-style: italic; }

.btn-checkout {
  font-family: 'Jost', sans-serif;
  font-size:0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: #8A5A3C;
  color: #EAE3D8;
  border: none;
  padding: 14px 0;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 12px;
  transition: background 0.2s;
}
.btn-checkout:hover { background: #6b4530; }
.btn-checkout:disabled { background: #CBBDA8; cursor: not-allowed; }

.continue-shopping { font-size:0.6875rem; color: #8A5A3C; text-decoration: none; display: block; text-align: center; margin-bottom: 16px; }
.checkout-note { font-size:0.625rem; color: #888780; text-align: center; line-height: 1.6; }

/* --- ORDER CONFIRMED --- */
.confirmed-page { background: #EAE3D8; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 60px 40px; }
.confirmed-box { background: #fff; padding: 60px 48px; text-align: center; max-width: 520px; width: 100%; }
.confirmed-icon { width: 56px; height: 56px; border-radius: 50%; background: #8A5A3C; color: #EAE3D8; font-size:1.5rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.confirmed-title { font-family: 'Cormorant Garamond', serif; font-size:2rem; font-weight: 400; color: #2F2F2F; margin-bottom: 14px; }
.confirmed-sub { font-size:0.875rem; font-weight: 300; color: #5F5E5A; margin-bottom: 12px; line-height: 1.7; }
.confirmed-ref { font-size:0.6875rem; color: #888780; margin-bottom: 12px; }
.confirmed-note { font-size:0.75rem; color: #888780; line-height: 1.7; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { min-height: auto; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 20px 24px; }
  .category-list { flex-direction: row; flex-wrap: wrap; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .product-detail { grid-template-columns: 1fr; padding: 32px 20px; }
  .product-detail-info { padding: 32px 0 0; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .shop-products { padding: 24px 20px; }
  .cart-page { padding: 32px 20px; }
}

/* --- IMAGE UNAVAILABLE PLACEHOLDER --- */
.img-unavailable {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-size:0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A5A3C;
  text-align: center;
  padding: 12px;
  background: #CBBDA8;
}
.product-detail-img .img-unavailable {
  min-height: 360px;
  font-size:0.6875rem;
}

/* --- FILTER GROUPS WITH CHEVRON --- */
.filter-group {
  border-bottom: 1px solid #C9B39A;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.filter-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
}
.filter-group-header .sidebar-label {
  margin-bottom: 0;
  font-size:0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A5A3C;
}
.chevron {
  font-size:1rem;
  color: #8A5A3C;
  transition: transform 0.2s ease;
  line-height: 1;
}

/* --- PRODUCT DETAIL IMAGE - reduce 25% --- */
.product-detail-img {
  background: #ffffff;
  max-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #EAE3D8;
}
.product-detail-img img {
  width: 85%;
  height: auto;
  object-fit: contain;
  max-height: 460px;
  padding: 20px;
}

/* --- PRODUCT DESCRIPTION HTML FORMATTING --- */
.product-detail-desc p { margin-bottom: 14px; }
.product-detail-desc strong { font-weight: 500; color: #2F2F2F; display: block; margin-bottom: 8px; }
.product-detail-desc ul { padding-left: 20px; margin-bottom: 14px; }
.product-detail-desc li { font-size:0.8125rem; font-weight: 300; line-height: 1.75; color: #5F5E5A; margin-bottom: 4px; }

/* --- PRODUCT DESCRIPTION FORMATTING --- */
.product-detail-desc { margin-bottom: 24px; }
.product-detail-desc p { font-size:0.8125rem; font-weight: 300; line-height: 1.85; color: #5F5E5A; margin-bottom: 16px; }
.product-detail-desc strong { font-weight: 500; color: #2F2F2F; display: block; margin-top: 20px; margin-bottom: 10px; }
.product-detail-desc ul { padding-left: 24px; margin-bottom: 14px; list-style: disc outside; margin-left: 0; }
.product-detail-desc li { font-size:0.8125rem; font-weight: 300; line-height: 1.75; color: #5F5E5A; margin-bottom: 6px; text-align: left; display: list-item; list-style: disc; }

/* --- RESULTS BAR WITH BREADCRUMB --- */
.results-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: nowrap;
  min-height: 32px;
}
.breadcrumb-trail {
  font-size:0.6875rem;
  color: #8A5A3C;
  font-style: italic;
  letter-spacing: 0.05em;
  line-height: 1;
  display: none;
  align-items: center;
}
.no-results { font-size:0.8125rem; color: #888780; font-weight: 300; padding: 40px 0; text-align: center; }

/* --- CONCERN FILTER CHECKBOXES --- */
.concern-item { display: flex; align-items: center; gap: 8px; font-family: 'Jost', sans-serif; font-size:0.6875rem; font-weight: 300; color: #5F5E5A; padding: 5px 8px; cursor: pointer; transition: color 0.2s; }
.concern-item:hover { color: #8A5A3C; }
.concern-item input[type=checkbox] { accent-color: #8A5A3C; width: 13px; height: 13px; cursor: pointer; }

/* --- HOMEPAGE FEATURED PRODUCT IMAGES --- */
.prod-img {
  background: #ffffff;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.prod-img img {
  width: 70%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* --- CLEAR FILTERS BUTTON --- */
.clear-filters-btn {
  font-family: 'Jost', sans-serif;
  font-size:0.5625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: transparent;
  color: #8A5A3C;
  border: 1px solid #8A5A3C;
  padding: 5px 12px;
  cursor: pointer;
  margin-left: 0;
  flex-shrink: 0;
  align-items: center;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.clear-filters-btn:hover { background: #8A5A3C; color: #EAE3D8; }

/* --- RESULTS BAR BREADCRUMB WRAPPER --- */
#breadcrumb-wrap {
  display: none;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
}
#breadcrumb-wrap.visible {
  display: inline-flex;
  align-items: center;
}

/* --- MOBILE NAV (shop page) --- */
.nav-mobile-menu { display: none; position: fixed; top: 62px; left: 0; right: 0; background: var(--col-charcoal, #2F2F2F); z-index: 99; padding: 20px 28px; flex-direction: column; gap: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.nav-mobile-menu a { font-family: 'Jost', sans-serif; font-size:0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: #B4B2A9; text-decoration: none; padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: #fff; }
.nav-mobile-menu.open { display: flex; }

/* --- SEARCH + FILTER ROW --- */
/* The row that holds the search field and (mobile only) the Filter button. */
.shop-search-row { display: flex; align-items: stretch; gap: 10px; }
/* The single Filter button — hidden on desktop, shown ≤700px beside the search. */
.shop-filter-toggle {
  display: none;
  align-items: center; justify-content: center; gap: 8px;
  font-family: 'Jost', sans-serif; font-size: 0.8125rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #6b5f52; background: #fff;
  border: 1px solid #e0d8ce; border-radius: 10px;
  padding: 11px 14px; cursor: pointer; box-sizing: border-box; white-space: nowrap;
}
.shop-filter-toggle svg { flex: none; color: #a89b8c; }
.shop-filter-toggle .chevron { font-size: 1rem; color: #8A5A3C; line-height: 1; transition: transform 0.2s ease; }
.shop-filter-toggle.active { border-color: #8A5A3C; color: #2c2720; }

/* --- SHOP MOBILE --- */
/* Phones (portrait AND landscape) + small tablets, up to 1024px, get the mobile
   search + Filter-button layout. Desktop (≥1025px) keeps the left sidebar. */
@media (max-width: 1024px) {
  .shop-page { padding-top: 0; }
  .shop-layout { grid-template-columns: 1fr; display: block; }

  /* Search (wider) + Filter button on one line, padded off the screen edges. */
  .shop-search-row {
    padding: 12px 16px 6px;
    align-items: stretch;
  }
  /* Higher-specificity selector so it overrides the page-level .shop-searchbar
     margin — otherwise the search box sits inset and looks shorter than the
     Filter button (which stretches to the full row height). */
  .shop-search-row .shop-searchbar { flex: 1.7 1 0; margin: 0; max-width: none; min-width: 0; }
  .shop-filter-toggle { display: flex; flex: 1 1 0; min-width: 0; }

  /* The sidebar becomes a dropdown panel: hidden until the Filter button opens it. */
  .shop-sidebar {
    position: static;
    width: 100%;
    min-height: auto;
    padding: 0;
    margin: 0 16px 6px;
    width: auto;
    background: #D8D2C7;
    border: 1px solid #C4BAB0;
    border-radius: 10px;
    overflow: hidden;
    display: none;
  }
  .shop-sidebar.open { display: block; }

  /* Filter groups stacked vertically inside the panel, each collapsible. */
  .filter-group {
    border-right: none;
    border-bottom: 1px solid #C4BAB0;
    padding-bottom: 0;
    margin-bottom: 0;
    min-width: 0;
  }
  .filter-group:last-child { border-bottom: none; }

  .filter-group-header {
    width: 100%;
    padding: 14px 16px;
    box-sizing: border-box;
  }
  .filter-group-header .sidebar-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Category list — links with left border indicator */
  .category-list {
    display: none;
    padding: 0 16px 12px 16px;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .category-list a {
    padding: 4px 0 4px 8px;
    font-size:0.6875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Concern list — checkboxes */
  .concern-list {
    display: none;
    padding: 0 16px 12px 16px;
    overflow: hidden;
  }
  .concern-item {
    font-size:0.6875rem;
    padding: 3px 4px;
  }
  .concern-item input[type=checkbox] {
    flex-shrink: 0;
  }

  /* Tighten the gap between the search/filter row and the first products:
     collapse the (usually empty) results bar and trim the grid's top padding. */
  .results-bar { min-height: 0; margin-bottom: 8px; }
  .shop-products { padding: 6px 16px 20px; margin-top: 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .shop-header { padding: 28px 20px 24px; }
  .shop-title { font-size:1.75rem; }
}

/* Desktop (≥1025px): sidebar stays sticky while page scrolls naturally */
@media (min-width: 1025px) {
  .shop-sidebar {
    position: sticky;
    top: 62px;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    overscroll-behavior: contain;
    align-self: start;
  }
  .shop-products {
    /* No fixed height — content determines height, page scrolls normally */
  }
  .shop-layout {
    /* No fixed height or overflow:hidden — page scrolls to footer naturally */
    align-items: start;
  }
}

/* end mobile */