/* Loaded for the WooCommerce Shop page ID and product taxonomy archives. */
.post-type-archive-product .site-content > .ast-container,
.tax-product_cat .site-content > .ast-container,
.tax-product_tag .site-content > .ast-container { width: 100%; max-width: none; }

.post-type-archive-product #primary,
.tax-product_cat #primary,
.tax-product_tag #primary { width: 100%; max-width: none; }

.post-type-archive-product #secondary,
.tax-product_cat #secondary,
.tax-product_tag #secondary { display: none; }

.sh-shop { overflow: hidden; width: 100%; background: var(--sh-cream); }
.sh-shop-hero { padding: clamp(72px, 8vw, 120px) 0; background: var(--sh-emerald); }
.sh-shop-hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; }
.sh-shop-hero h1 { margin: 0; color: var(--sh-white); font-size: clamp(4rem, 7vw, 7.2rem); font-weight: 600; letter-spacing: -.03em; }
.sh-shop-hero__inner > p { max-width: 580px; margin: 0 0 10px auto; color: rgba(255,255,255,.66); font-size: .84rem; line-height: 1.85; }

.sh-shop-catalog { padding: clamp(70px, 8vw, 120px) 0; }
.sh-shop-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); align-items: start; gap: clamp(38px, 5vw, 76px); }
.sh-shop-filters { position: sticky; top: 170px; border-top: 2px solid var(--sh-emerald); background: var(--sh-white); }
.sh-filter-head { min-height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--sh-line); }
.sh-filter-head span { color: var(--sh-blush); font-size: .58rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.sh-filter-head h2 { margin: 4px 0 0; font-family: var(--sh-body); font-size: .85rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.sh-filter-close { display: none; padding: 6px; border: 0; background: transparent; color: var(--sh-emerald); font-size: 1.8rem; cursor: pointer; }
.sh-filter-group { margin: 0; padding: 24px 0; border: 0; border-bottom: 1px solid var(--sh-line); }
.sh-filter-group legend { width: 100%; margin-bottom: 16px; color: var(--sh-emerald); font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sh-filter-option { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; margin: 0 0 11px; color: var(--sh-sage); font-size: .72rem; cursor: pointer; }
.sh-filter-option:last-child { margin-bottom: 0; }
.sh-filter-option input { width: 15px; height: 15px; margin: 0; accent-color: var(--sh-emerald); }
.sh-filter-option small { color: #91a097; font-size: .62rem; }
.sh-filter-submit { width: 100%; margin-top: 24px; }
.sh-filter-reset { display: block; margin-top: 15px; color: var(--sh-sage); font-size: .62rem; font-weight: 600; text-align: center; text-decoration: underline; text-underline-offset: 4px; }
.sh-filter-toggle { display: none; }
.sh-filter-scrim { display: none; }

.sh-shop-toolbar { min-height: 62px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--sh-line); }
.sh-shop-toolbar .woocommerce-result-count { margin: 0; color: var(--sh-emerald); font-size: .72rem; font-weight: 600; }
.sh-shop-toolbar > p { margin: 0; color: var(--sh-sage); font-size: .62rem; letter-spacing: .04em; }

.sh-shop-results ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 44px 22px;
  margin: 0 !important;
  padding: 0;
}

.sh-shop-results ul.products::before,
.sh-shop-results ul.products::after { display: none !important; }

.sh-shop-results ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent;
  text-align: left;
}

.sh-shop-results ul.products li.product .woocommerce-loop-product__link { display: block; color: inherit; text-decoration: none; }
.sh-shop-results ul.products li.product .astra-shop-thumbnail-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #eef0eb; }
.sh-shop-results ul.products li.product .astra-shop-thumbnail-wrap img,
.sh-shop-results ul.products li.product > a > img { width: 100%; aspect-ratio: 1 / 1; margin: 0 !important; object-fit: cover; }
.sh-shop-results ul.products li.product .onsale { top: 14px !important; right: auto !important; left: 14px !important; min-width: 0; min-height: 0; margin: 0; padding: 7px 10px; border-radius: 0; background: var(--sh-emerald); color: var(--sh-white); font-size: .58rem; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.sh-shop-results ul.products li.product .astra-shop-summary-wrap { padding: 17px 2px 0; }
.sh-shop-results ul.products li.product .star-rating { margin: 0 0 8px; color: #b47d61; font-size: .72rem; }
.sh-shop-results ul.products li.product .woocommerce-loop-product__title { min-height: 0; margin: 0 0 10px; padding: 0; color: var(--sh-emerald); font-family: var(--sh-body); font-size: .86rem; font-weight: 600; line-height: 1.45; }
.sh-shop-results ul.products li.product .price { display: flex; align-items: baseline; gap: 7px; margin: 0; color: var(--sh-emerald); font-size: .88rem; font-weight: 700; }
.sh-shop-results ul.products li.product .price del { color: var(--sh-sage); font-size: .72rem; font-weight: 500; opacity: .65; }
.sh-shop-results ul.products li.product .price ins { color: var(--sh-emerald); font-weight: 700; text-decoration: none; }
.sh-shop-results ul.products li.product .button,
.sh-shop-results ul.products li.product .added_to_cart { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; margin: 15px 0 0 !important; padding: 0 18px !important; border: 1px solid var(--sh-emerald) !important; border-radius: 2px !important; background: var(--sh-emerald) !important; box-shadow: none !important; color: var(--sh-white) !important; font-size: .62rem !important; font-weight: 700 !important; letter-spacing: .08em; line-height: 1 !important; text-decoration: none; text-transform: uppercase; }
.sh-shop-results ul.products li.product .button:hover,
.sh-shop-results ul.products li.product .added_to_cart:hover { border-color: var(--sh-emerald-dark) !important; background: var(--sh-emerald-dark) !important; }

.sh-shop-results .woocommerce-pagination { margin-top: 70px; }
.sh-shop-results .woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; gap: 8px; border: 0; }
.sh-shop-results .woocommerce-pagination ul.page-numbers li { border: 0; }
.sh-shop-results .woocommerce-pagination .page-numbers a,
.sh-shop-results .woocommerce-pagination .page-numbers span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--sh-line); background: var(--sh-white); color: var(--sh-emerald); font-size: .72rem; }
.sh-shop-results .woocommerce-pagination .page-numbers .current { border-color: var(--sh-emerald); background: var(--sh-emerald); color: var(--sh-white); }
.sh-shop-results .woocommerce-info { border-top-color: var(--sh-emerald); background: var(--sh-white); color: var(--sh-ink); }

@media (max-width: 1100px) {
  .sh-shop-layout { grid-template-columns: 1fr; }
  .sh-filter-toggle { min-height: 46px; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 0 17px; border: 1px solid var(--sh-emerald); background: var(--sh-white); color: var(--sh-emerald); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
  .sh-filter-toggle svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.5; }
  .sh-shop-filters { position: fixed; z-index: 1020; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); padding: 0 26px 36px; overflow-y: auto; border-top: 0; transform: translateX(-105%); transition: transform 220ms ease; }
  .sh-shop-filters.is-open { transform: translateX(0); }
  .sh-filter-close { display: block; }
  .sh-filter-scrim { position: fixed; z-index: 1015; inset: 0; background: rgba(6,41,29,.55); }
  .sh-filter-scrim.is-open { display: block; }
  body.sh-filter-open { overflow: hidden; }
}

@media (max-width: 767px) {
  .sh-shop-hero__inner { grid-template-columns: 1fr; gap: 22px; }
  .sh-shop-hero h1 { font-size: clamp(3.8rem, 17vw, 5.4rem); }
  .sh-shop-hero__inner > p { margin-left: 0; }
  .sh-shop-results ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px 14px; }
  .sh-shop-toolbar { min-height: 0; }
  .sh-shop-toolbar > p { display: none; }
}

@media (max-width: 480px) {
  .sh-shop-results ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 10px; }
  .sh-shop-results ul.products li.product .astra-shop-summary-wrap { padding-top: 12px; }
  .sh-shop-results ul.products li.product .woocommerce-loop-product__title { font-size: .75rem; }
  .sh-shop-results ul.products li.product .button,
  .sh-shop-results ul.products li.product .added_to_cart { width: 100%; padding-inline: 8px !important; font-size: .55rem !important; }
}
