/* Antwerp Glow — commerce perfection v1, 2026-09-02
   Premium shop/category/product cascade. Scoped away from checkout/cart. */

/* ---------- SHOP / CATEGORY / BRAND ARCHIVE SHELL ---------- */
.post-type-archive-product .ag-shop-main,
.tax-product_cat .ag-shop-main,
.tax-product_brand .ag-shop-main,
.tax-product_tag .ag-shop-main{
  overflow:hidden;
  background:#fffdf9;
}
.post-type-archive-product .ag-shop-hero,
.tax-product_cat .ag-shop-hero,
.tax-product_brand .ag-shop-hero,
.tax-product_tag .ag-shop-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(3rem,4.8vw,5.2rem) var(--ag-gutter)!important;
  background:linear-gradient(118deg,#fbf8f4 0%,#f5efe8 54%,#eee4d9 100%)!important;
  border-bottom:1px solid rgba(109,79,47,.12)!important;
}
.post-type-archive-product .ag-shop-hero::before,
.tax-product_cat .ag-shop-hero::before,
.tax-product_brand .ag-shop-hero::before{
  content:'';
  position:absolute;
  right:-9rem;
  top:-15rem;
  width:31rem;
  height:31rem;
  border:1px solid rgba(109,79,47,.07);
  border-radius:50%;
  pointer-events:none;
}
.post-type-archive-product .ag-shop-hero__inner,
.tax-product_cat .ag-shop-hero__inner,
.tax-product_brand .ag-shop-hero__inner,
.tax-product_tag .ag-shop-hero__inner{
  position:relative;
  z-index:1;
  width:min(1420px,100%)!important;
  max-width:none!important;
  margin:0 auto!important;
}
.post-type-archive-product .ag-shop-index .ag-shop-hero__inner{
  display:grid!important;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.62fr)!important;
  column-gap:clamp(3rem,7vw,8rem)!important;
  align-items:end!important;
}
.post-type-archive-product .ag-shop-index .ag-shop-hero__inner>.woocommerce-breadcrumb{
  grid-column:1/-1!important;
  margin:0 0 clamp(2rem,3.5vw,3.2rem)!important;
}
.post-type-archive-product .ag-shop-index .ag-shop-hero__inner>.ag-master-kicker{
  grid-column:1!important;
  margin:0 0 .85rem!important;
}
.post-type-archive-product .ag-shop-index .ag-shop-hero__inner>.wp-block-query-title{
  grid-column:1!important;
  margin:0!important;
}
.post-type-archive-product .ag-shop-index .ag-shop-hero__inner>p:last-child{
  grid-column:2!important;
  grid-row:2 / span 2!important;
  align-self:end!important;
  max-width:35rem!important;
  margin:0!important;
  color:#625a53!important;
  font-size:clamp(.9rem,1.05vw,1rem)!important;
  line-height:1.72!important;
}
.post-type-archive-product .ag-shop-hero .wp-block-query-title,
.tax-product_cat .ag-shop-hero .wp-block-query-title,
.tax-product_brand .ag-shop-hero .wp-block-query-title,
.tax-product_tag .ag-shop-hero .wp-block-query-title{
  max-width:13ch!important;
  color:#171512!important;
  font-family:var(--ag-serif)!important;
  font-size:clamp(3.4rem,5vw,5.75rem)!important;
  font-weight:400!important;
  letter-spacing:-.055em!important;
  line-height:.9!important;
}
.post-type-archive-product .ag-shop-hero .ag-master-kicker,
.tax-product_cat .ag-shop-hero .ag-category-gold__eyebrow,
.tax-product_brand .ag-shop-hero .ag-master-kicker{
  color:#795a38!important;
  font-size:.57rem!important;
  font-weight:850!important;
  letter-spacing:.18em!important;
}
.post-type-archive-product .ag-shop-hero .woocommerce-breadcrumb,
.tax-product_cat .ag-shop-hero .woocommerce-breadcrumb,
.tax-product_brand .ag-shop-hero .woocommerce-breadcrumb{
  color:#7c746d!important;
  font-size:.62rem!important;
}

/* Category hero: keep editorial split, but avoid giant empty type. */
.tax-product_cat .ag-category-gold__hero-inner{
  grid-template-columns:minmax(0,1fr) minmax(320px,.66fr)!important;
  column-gap:clamp(3rem,7vw,8rem)!important;
}
.tax-product_cat .ag-category-gold__hero-inner>.wp-block-query-title{
  max-width:13ch!important;
  font-size:clamp(3.4rem,5vw,5.75rem)!important;
  line-height:.9!important;
}
.tax-product_cat .ag-category-gold__hero-inner>.term-description{
  max-width:35rem!important;
  color:#625a53!important;
  font-size:clamp(.9rem,1.05vw,1rem)!important;
  line-height:1.72!important;
}
.tax-product_cat .ag-category-quick{
  margin-top:clamp(1.7rem,3vw,2.5rem)!important;
  padding-top:.95rem!important;
  border-top-color:rgba(91,70,50,.14)!important;
}
.tax-product_cat .ag-category-quick__label{
  color:#7d746b!important;
  font-size:.54rem!important;
}
.tax-product_cat .ag-category-quick a{
  min-height:38px!important;
  padding:.62rem .78rem!important;
  border-color:rgba(91,70,50,.16)!important;
  background:rgba(255,255,255,.55)!important;
  font-size:.62rem!important;
}
.tax-product_cat .ag-category-quick a:hover{background:#171512!important;color:#fff!important}

/* Brand archive: same premium hierarchy. */
.tax-product_brand .ag-brand-archive__hero .ag-shop-hero__inner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(320px,.7fr)!important;
  column-gap:clamp(3rem,7vw,8rem)!important;
  align-items:end!important;
}
.tax-product_brand .ag-brand-archive__hero .woocommerce-breadcrumb{grid-column:1/-1!important;margin-bottom:clamp(2rem,3.5vw,3.2rem)!important}
.tax-product_brand .ag-brand-archive__hero .ag-master-kicker{grid-column:1!important;margin-bottom:.8rem!important}
.tax-product_brand .ag-brand-archive__hero .wp-block-query-title{grid-column:1!important;margin:0!important}
.tax-product_brand .ag-brand-archive__hero .term-description,
.tax-product_brand .ag-brand-archive__hero .term-description + p{
  grid-column:2!important;
  max-width:35rem!important;
  color:#625a53!important;
  font-size:.9rem!important;
  line-height:1.7!important;
}
.tax-product_brand .ag-brand-archive__hero .term-description{grid-row:2 / span 2!important;align-self:end!important}
.tax-product_brand .ag-brand-archive__hero .term-description:empty{display:none!important}
.tax-product_brand .ag-brand-archive__hero .term-description:empty + p{grid-row:2 / span 2!important;align-self:end!important;margin:0!important}
.tax-product_brand .ag-brand-archive__hero a{text-underline-offset:3px}

/* ---------- INTENT ROUTES ---------- */
.post-type-archive-product .ag-category-intent,
.tax-product_cat .ag-category-intent{
  width:min(1420px,calc(100% - 2 * var(--ag-gutter)))!important;
  max-width:none!important;
  margin:clamp(1.5rem,2.5vw,2.4rem) auto 0!important;
  border:1px solid #ded5cc!important;
  background:#ded5cc!important;
  gap:1px!important;
}
.post-type-archive-product .ag-category-intent{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.tax-product_cat .ag-category-intent{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.post-type-archive-product .ag-category-intent>a,
.tax-product_cat .ag-category-intent>a{
  position:relative!important;
  min-height:116px!important;
  padding:1.05rem 1.15rem!important;
  border:0!important;
  background:#fffdf9!important;
  transition:background .2s ease,color .2s ease,transform .2s ease!important;
}
.post-type-archive-product .ag-category-intent>a:nth-child(even),
.tax-product_cat .ag-category-intent>a:nth-child(even){background:#faf6f1!important}
.post-type-archive-product .ag-category-intent strong,
.tax-product_cat .ag-category-intent strong{
  font-size:1.15rem!important;
  line-height:1.02!important;
}
.post-type-archive-product .ag-category-intent em,
.tax-product_cat .ag-category-intent em{
  font-size:.63rem!important;
  line-height:1.45!important;
}
.post-type-archive-product .ag-category-intent>a:hover,
.tax-product_cat .ag-category-intent>a:hover{
  z-index:2!important;
  background:#171512!important;
  color:#fff!important;
  transform:translateY(-2px)!important;
}

/* ---------- FACET ENGINE / FILTERS ---------- */
.post-type-archive-product .ag-shop-filter-shell,
.tax-product_cat .ag-shop-filter-shell,
.tax-product_brand .ag-shop-filter-shell{
  width:min(1420px,calc(100% - 2 * var(--ag-gutter)))!important;
  max-width:none!important;
  margin:clamp(2.4rem,4vw,4rem) auto 0!important;
  padding:0 0 clamp(2rem,3vw,3rem)!important;
}
.post-type-archive-product .ag-shop-filter-shell::before,
.tax-product_cat .ag-shop-filter-shell::before,
.tax-product_brand .ag-shop-filter-shell::before{
  margin-bottom:.7rem!important;
  color:#795a38!important;
  font-size:.54rem!important;
  letter-spacing:.15em!important;
}
.ag-facet-engine{
  padding:clamp(1.25rem,2vw,1.65rem)!important;
  border-color:#ded4ca!important;
  background:linear-gradient(120deg,#fbf8f4 0%,#f2eae2 100%)!important;
  box-shadow:0 18px 55px rgba(45,35,27,.035)!important;
}
.ag-facet-engine__head{
  margin-bottom:1.15rem!important;
  padding-bottom:1.1rem!important;
  border-bottom:1px solid rgba(91,70,50,.12)!important;
}
.ag-facet-engine__head h2{
  max-width:13ch!important;
  font-size:clamp(1.8rem,2.4vw,2.75rem)!important;
  line-height:.98!important;
}
.ag-facet-engine__head>span{font-size:.71rem!important;line-height:1.55!important}
.ag-facet-grid{gap:.55rem!important}
.ag-facet-grid label>span{font-size:.53rem!important;letter-spacing:.105em!important}
.ag-facet-grid select{
  min-height:48px!important;
  border-color:#cfc3b7!important;
  background:#fff!important;
  font-size:.74rem!important;
}
.ag-facet-actions button{min-height:48px!important;font-size:.55rem!important}
.ag-facet-actions .ag-facet-clear{min-height:32px!important}
.ag-native-filter-label{margin-top:1.15rem!important;margin-bottom:.55rem!important;font-size:.51rem!important}

@media(min-width:783px){
  .post-type-archive-product .ag-shop-filters .wc-block-product-filters__overlay-content{
    grid-template-columns:1fr 1fr!important;
    border-color:#ded4ca!important;
    background:#ded4ca!important;
  }
  .post-type-archive-product .ag-shop-filters .wp-block-woocommerce-product-filter-taxonomy,
  .post-type-archive-product .ag-shop-filters .wp-block-woocommerce-product-filter-price,
  .post-type-archive-product .ag-shop-filters .wp-block-woocommerce-product-filter-status,
  .tax-product_cat .ag-shop-filters .wp-block-woocommerce-product-filter-taxonomy,
  .tax-product_cat .ag-shop-filters .wp-block-woocommerce-product-filter-price,
  .tax-product_cat .ag-shop-filters .wp-block-woocommerce-product-filter-status,
  .tax-product_brand .ag-shop-filters .wp-block-woocommerce-product-filter-price,
  .tax-product_brand .ag-shop-filters .wp-block-woocommerce-product-filter-status{
    background:#fffdf9!important;
  }
  .post-type-archive-product .ag-shop-filters .wp-block-woocommerce-product-filter-taxonomy{
    height:270px!important;
    max-height:270px!important;
  }
  .post-type-archive-product .ag-shop-filters .wc-block-product-filter-checkbox-list__items{
    max-height:190px!important;
  }
  .tax-product_cat .ag-category-filters .wc-block-product-filters__overlay-content{
    grid-template-columns:1.2fr .7fr .7fr!important;
    border:1px solid #ded4ca!important;
    background:#ded4ca!important;
    gap:1px!important;
  }
  .tax-product_cat .ag-category-filters .wp-block-woocommerce-product-filter-taxonomy,
  .tax-product_cat .ag-category-filters .wp-block-woocommerce-product-filter-price,
  .tax-product_cat .ag-category-filters .wp-block-woocommerce-product-filter-status{
    min-height:205px!important;
    height:205px!important;
    max-height:205px!important;
  }
  .tax-product_cat .ag-category-filters .wc-block-product-filter-checkbox-list__items{max-height:125px!important}
  .tax-product_brand .ag-brand-filters .wc-block-product-filters__overlay-content{
    grid-template-columns:1fr 1fr!important;
    border:1px solid #ded4ca!important;
    background:#ded4ca!important;
    gap:1px!important;
  }
}

/* ---------- TOOLBAR ---------- */
.post-type-archive-product .ag-shop-toolbar,
.tax-product_cat .ag-shop-toolbar,
.tax-product_brand .ag-shop-toolbar{
  width:min(1420px,calc(100% - 2 * var(--ag-gutter)))!important;
  max-width:none!important;
  margin:0 auto 1.6rem!important;
  padding:.85rem 0 1rem!important;
  border-top:1px solid #e1d8cf!important;
  border-bottom:1px solid #e1d8cf!important;
}
.ag-shop-toolbar .wc-block-product-results-count,
.ag-shop-toolbar .wp-block-woocommerce-product-results-count,
.ag-shop-toolbar .woocommerce-result-count{
  color:#746c64!important;
  font-size:.66rem!important;
}
.ag-shop-toolbar select{
  min-width:235px!important;
  min-height:44px!important;
  padding:.6rem 2.3rem .6rem .85rem!important;
  border:1px solid #cbc0b6!important;
  background:#fff!important;
  color:#171512!important;
  font-size:.68rem!important;
}

/* ---------- PRODUCT GRID / CARD SYSTEM ---------- */
.post-type-archive-product .ag-product-collection,
.tax-product_cat .ag-product-collection,
.tax-product_brand .ag-product-collection{
  width:min(1420px,calc(100% - 2 * var(--ag-gutter)))!important;
  max-width:none!important;
  margin:0 auto!important;
}
@media(min-width:1181px){
  .post-type-archive-product .ag-product-collection .wc-block-product-template,
  .tax-product_cat .ag-product-collection .wc-block-product-template,
  .tax-product_brand .ag-product-collection .wc-block-product-template{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:clamp(2.5rem,4.2vw,4.3rem) clamp(1.15rem,1.8vw,1.75rem)!important;
  }
}
@media(min-width:783px) and (max-width:1180px){
  .post-type-archive-product .ag-product-collection .wc-block-product-template,
  .tax-product_cat .ag-product-collection .wc-block-product-template,
  .tax-product_brand .ag-product-collection .wc-block-product-template{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:2.8rem 1.2rem!important;
  }
}
.ag-product-collection .wc-block-product,
.ag-product-collection .wp-block-post.product{
  position:relative!important;
  min-width:0!important;
  padding:0 0 1rem!important;
  border-bottom:1px solid #ded5cc!important;
  background:transparent!important;
  transform:none!important;
  transition:transform .24s ease!important;
}
.ag-product-collection .wc-block-product:hover,
.ag-product-collection .wp-block-post.product:hover{transform:translateY(-3px)!important}
.ag-product-collection .wc-block-components-product-image,
.ag-product-collection .wp-block-woocommerce-product-image,
.ag-product-collection .wc-block-grid__product-image{
  position:relative!important;
  overflow:hidden!important;
  aspect-ratio:1 / 1.07!important;
  margin:0 0 .95rem!important;
  border:1px solid rgba(91,70,50,.08)!important;
  background:linear-gradient(145deg,#f6f2ed 0%,#eee8e1 100%)!important;
}
.ag-product-collection .wc-block-components-product-image::after,
.ag-product-collection .wp-block-woocommerce-product-image::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);
}
.ag-product-collection .wc-block-components-product-image img,
.ag-product-collection .wp-block-woocommerce-product-image img,
.ag-product-collection .wc-block-grid__product-image img{
  width:100%!important;
  height:100%!important;
  padding:clamp(1.15rem,1.8vw,1.75rem)!important;
  object-fit:contain!important;
  mix-blend-mode:multiply!important;
  filter:saturate(.94) contrast(1.015)!important;
  transform:scale(.97)!important;
  transition:transform .38s cubic-bezier(.2,.7,.2,1),filter .3s ease!important;
}
.ag-product-collection .wc-block-product:hover .wc-block-components-product-image img,
.ag-product-collection .wp-block-post.product:hover .wc-block-components-product-image img{
  transform:translateY(-3px) scale(1.015)!important;
  filter:saturate(1) contrast(1.02)!important;
}
.ag-product-collection .ag-product-brand{
  min-height:1.1em!important;
  margin:0 .1rem .35rem!important;
  color:#795a38!important;
  font-size:.5rem!important;
  font-weight:850!important;
  letter-spacing:.125em!important;
  text-transform:uppercase!important;
}
.ag-product-collection .ag-card-signals{
  min-height:24px!important;
  gap:.25rem!important;
  margin:.02rem .1rem .42rem!important;
}
.ag-product-collection .ag-card-signal{
  min-height:22px!important;
  padding:.26rem .4rem!important;
  border-color:#ddd3c9!important;
  background:#fbf8f4!important;
  color:#675f58!important;
  font-size:.45rem!important;
  font-weight:760!important;
}
.ag-product-collection .wp-block-post-title{
  min-height:2.7em!important;
  margin:.05rem .1rem .4rem!important;
  font-family:var(--ag-sans)!important;
  font-size:clamp(.82rem,.88vw,.9rem)!important;
  font-weight:690!important;
  letter-spacing:-.018em!important;
  line-height:1.38!important;
}
.ag-product-collection .wp-block-post-title a{color:#1a1714!important;text-decoration:none!important}
.ag-product-collection .wc-block-components-product-price{
  margin:.05rem .1rem .72rem!important;
  color:#171512!important;
  font-size:.75rem!important;
  font-weight:780!important;
}
.ag-product-collection .wc-block-components-product-price del{color:#8a8179!important;font-weight:500!important}
.ag-product-collection .wc-block-components-product-price ins{text-decoration:none!important}
.ag-product-collection .wp-block-woocommerce-product-button{margin:0 .1rem!important}
.ag-product-collection .wp-block-woocommerce-product-button .wp-block-button__link,
.ag-product-collection .wc-block-components-product-button__button{
  min-height:44px!important;
  padding:.66rem .72rem!important;
  border:1px solid #171512!important;
  background:transparent!important;
  color:#171512!important;
  font-size:.51rem!important;
  font-weight:850!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.ag-product-collection .wp-block-woocommerce-product-button .wp-block-button__link:hover,
.ag-product-collection .wc-block-components-product-button__button:hover{
  background:#171512!important;
  color:#fff!important;
}
.ag-product-collection .wc-block-components-product-sale-badge{
  top:.7rem!important;
  right:.7rem!important;
  padding:.34rem .46rem!important;
  background:#171512!important;
  color:#fff!important;
  font-size:.45rem!important;
  letter-spacing:.085em!important;
}

/* Pagination becomes a precise editorial control. */
.ag-product-collection .wp-block-query-pagination{
  gap:.35rem!important;
  margin:clamp(3.5rem,5vw,5rem) 0 0!important;
  padding-top:1.35rem!important;
  border-top:1px solid #ded5cc!important;
}
.ag-product-collection .wp-block-query-pagination a,
.ag-product-collection .wp-block-query-pagination span{
  min-width:38px!important;
  min-height:38px!important;
  display:inline-grid!important;
  place-items:center!important;
  border:1px solid #ddd3c9!important;
  color:#171512!important;
  font-size:.61rem!important;
  text-decoration:none!important;
}
.ag-product-collection .wp-block-query-pagination .current{background:#171512!important;border-color:#171512!important;color:#fff!important}

/* ---------- CATEGORY GUIDE ---------- */
.ag-category-guide{
  width:min(1420px,calc(100% - 2 * var(--ag-gutter)))!important;
  max-width:none!important;
  margin:clamp(5.5rem,8vw,8.5rem) auto 0!important;
}
.ag-category-guide__heading h2{max-width:14ch!important;font-size:clamp(2.7rem,4.1vw,4.5rem)!important}
.ag-category-guide__heading>span{font-size:.88rem!important;line-height:1.65!important}
.ag-category-guide__grid>a{min-height:250px!important;padding:1.35rem!important}
.ag-category-guide__grid strong{margin-top:3rem!important;font-size:1.45rem!important}

/* ---------- SINGLE PRODUCT TOP ---------- */
.single-product .ag-product-main{
  overflow:hidden;
  background:#fffdf9;
  padding-top:0!important;
}
.single-product .ag-product-main>.woocommerce-breadcrumb,
.single-product .ag-product-main>.wp-block-woocommerce-breadcrumbs,
.single-product .ag-product-main>.woocommerce-notices-wrapper{
  width:min(1420px,calc(100% - 2 * var(--ag-gutter)))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.single-product .ag-product-main>.woocommerce-breadcrumb,
.single-product .ag-product-main>.wp-block-woocommerce-breadcrumbs{
  padding-top:1.15rem!important;
  color:#7d756d!important;
  font-size:.61rem!important;
}
.single-product .ag-product-overview{
  width:min(1420px,calc(100% - 2 * var(--ag-gutter)))!important;
  max-width:none!important;
  margin:1.25rem auto 0!important;
  gap:clamp(3rem,5.5vw,6rem)!important;
  align-items:flex-start!important;
}
.single-product .ag-product-gallery{
  position:relative!important;
  min-width:0!important;
  padding:clamp(1.1rem,2vw,1.6rem)!important;
  border:1px solid rgba(91,70,50,.1)!important;
  background:linear-gradient(145deg,#f7f3ee 0%,#eee7df 100%)!important;
}
.single-product .ag-product-gallery .woocommerce-product-gallery,
.single-product .ag-product-gallery .wc-block-product-gallery{
  margin:0!important;
}
.single-product .ag-product-gallery img{
  mix-blend-mode:multiply;
  filter:saturate(.96) contrast(1.015);
}
.single-product .ag-product-gallery .flex-control-thumbs,
.single-product .ag-product-gallery .wc-block-product-gallery-thumbnails{
  margin-top:.75rem!important;
  gap:.5rem!important;
}
.single-product .ag-product-gallery .flex-control-thumbs li,
.single-product .ag-product-gallery .wc-block-product-gallery-thumbnails__thumbnail{
  border:1px solid #d9cfc5!important;
  background:#fff!important;
}
.single-product .ag-product-summary{
  min-width:0!important;
  padding:.25rem 0 0!important;
}
@media(min-width:1121px){
  .single-product .ag-product-summary{
    position:sticky!important;
    top:108px!important;
    align-self:flex-start!important;
  }
}
.single-product .ag-single-brand{
  margin:0 0 .8rem!important;
  color:#795a38!important;
  font-size:.55rem!important;
  font-weight:850!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}
.single-product .ag-single-brand a{color:inherit!important;text-decoration:none!important}
.single-product .ag-product-summary>.wp-block-post-title{
  max-width:13ch!important;
  margin:0 0 .8rem!important;
  color:#171512!important;
  font-family:var(--ag-serif)!important;
  font-size:clamp(2.8rem,3.6vw,4.15rem)!important;
  font-weight:400!important;
  letter-spacing:-.055em!important;
  line-height:.94!important;
}
.single-product .ag-product-summary .wp-block-woocommerce-product-rating{
  margin:.15rem 0 .65rem!important;
  font-size:.7rem!important;
}
.single-product .ag-product-summary>.wp-block-woocommerce-product-price,
.single-product .ag-product-summary .price{
  margin:.2rem 0 1rem!important;
  color:#171512!important;
  font-size:1.02rem!important;
  font-weight:780!important;
}
.single-product .ag-product-summary>.wp-block-post-excerpt{
  max-width:37rem!important;
  margin:0 0 1.2rem!important;
  color:#625a53!important;
  font-size:.92rem!important;
  line-height:1.68!important;
}
.single-product .ag-product-summary>.wp-block-post-excerpt p{margin:0!important}
.single-product .ag-product-summary .wp-block-woocommerce-add-to-cart-form,
.single-product .ag-product-summary form.cart{
  margin:1.1rem 0 0!important;
  padding:1.1rem 0 1.2rem!important;
  border-top:1px solid #ded5cc!important;
  border-bottom:1px solid #ded5cc!important;
}
.single-product .ag-product-summary form.cart:not(.variations_form){
  display:grid!important;
  grid-template-columns:88px minmax(0,1fr)!important;
  gap:.65rem!important;
  align-items:stretch!important;
}
.single-product .ag-product-summary .quantity .qty{
  width:100%!important;
  min-height:52px!important;
  border:1px solid #bfb3a8!important;
  border-radius:0!important;
  background:#fff!important;
  text-align:center!important;
}
.single-product .ag-product-summary .single_add_to_cart_button,
.single-product .ag-product-summary button[type="submit"]{
  min-height:52px!important;
  border:1px solid #171512!important;
  border-radius:0!important;
  background:#171512!important;
  color:#fff!important;
  font-size:.61rem!important;
  font-weight:850!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}
.single-product .ag-product-summary .single_add_to_cart_button:hover,
.single-product .ag-product-summary button[type="submit"]:hover{background:#6d4f2f!important;border-color:#6d4f2f!important}
.single-product .ag-product-summary .single_add_to_cart_button.disabled,
.single-product .ag-product-summary .single_add_to_cart_button:disabled{opacity:.45!important}

/* Product assurance becomes compact, precise and scannable. */
.single-product .ag-product-assurance{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:1px!important;
  margin:1.05rem 0 0!important;
  border:1px solid #ded5cc!important;
  background:#ded5cc!important;
}
.single-product .ag-product-assurance>div{
  min-height:92px!important;
  display:grid!important;
  grid-template-columns:26px minmax(0,1fr)!important;
  gap:.65rem!important;
  align-items:start!important;
  padding:.82rem!important;
  background:#faf7f3!important;
}
.single-product .ag-product-assurance>div:nth-child(even){background:#f5f0ea!important}
.single-product .ag-product-assurance>div>span{
  display:grid!important;
  place-items:center!important;
  width:25px!important;
  height:25px!important;
  border:1px solid #cdbfae!important;
  border-radius:50%!important;
  color:#795a38!important;
  font-size:.62rem!important;
}
.single-product .ag-product-assurance p{margin:0!important}
.single-product .ag-product-assurance strong{display:block!important;margin:0 0 .2rem!important;font-size:.61rem!important;font-weight:800!important;letter-spacing:.025em!important}
.single-product .ag-product-assurance small{display:block!important;color:#736a62!important;font-size:.57rem!important;line-height:1.45!important}
.single-product .ag-product-assurance a{text-decoration:underline!important;text-underline-offset:2px!important}

/* Dynamic context chips. */
.single-product .ag-product-context{
  margin:1rem 0 0!important;
  padding:.9rem!important;
  border:1px solid #ded5cc!important;
  background:#fff!important;
}
.single-product .ag-product-context__head{
  display:flex!important;
  align-items:end!important;
  justify-content:space-between!important;
  gap:1rem!important;
  padding-bottom:.65rem!important;
  border-bottom:1px solid #e4dcd3!important;
}
.single-product .ag-product-context__head>span{color:#795a38!important;font-size:.5rem!important;font-weight:850!important;letter-spacing:.13em!important}
.single-product .ag-product-context__head small{color:#7a7169!important;font-size:.54rem!important}
.single-product .ag-product-context__groups{display:grid!important;gap:.7rem!important;padding-top:.75rem!important}
.single-product .ag-product-context__group{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;gap:.7rem!important;align-items:start!important}
.single-product .ag-product-context__group>b{padding-top:.35rem!important;color:#756d65!important;font-size:.51rem!important;font-weight:800!important;letter-spacing:.05em!important;text-transform:uppercase!important}
.single-product .ag-product-context__chips{display:flex!important;flex-wrap:wrap!important;gap:.35rem!important}
.single-product .ag-product-context__chips a{
  display:inline-flex!important;
  align-items:center!important;
  gap:.35rem!important;
  min-height:31px!important;
  padding:.4rem .52rem!important;
  border:1px solid #d9cfc5!important;
  background:#faf7f3!important;
  color:#433d38!important;
  font-size:.55rem!important;
  font-weight:720!important;
  text-decoration:none!important;
}
.single-product .ag-product-context__chips a:hover{background:#171512!important;border-color:#171512!important;color:#fff!important}
.single-product .wp-block-woocommerce-product-meta{
  margin:1rem 0 0!important;
  padding-top:.8rem!important;
  border-top:1px solid #e2d9d0!important;
  color:#7c746d!important;
  font-size:.58rem!important;
}
.single-product .wp-block-woocommerce-product-meta a{text-decoration:underline!important;text-underline-offset:2px!important}

/* ---------- ROUTINE / DETAILS / ALTERNATIVES ---------- */
.single-product .ag-routine-complete{
  width:min(1420px,calc(100% - 2 * var(--ag-gutter)))!important;
  max-width:none!important;
  margin:clamp(3.5rem,6vw,6rem) auto!important;
  background:#faf7f3!important;
}
.single-product .ag-routine-complete__head{padding:1.45rem 1.25rem!important}
.single-product .ag-routine-complete__grid a{min-height:170px!important;padding:1.15rem!important}
.single-product .ag-routine-complete__finder{padding:.9rem 1.15rem!important}
.single-product .ag-product-story-intro,
.single-product .ag-related-heading,
.single-product .wp-block-woocommerce-product-details,
.single-product .related.products,
.single-product .wp-block-woocommerce-product-collection{
  width:min(1420px,calc(100% - 2 * var(--ag-gutter)))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.single-product .ag-product-story-intro{
  margin-top:clamp(4.5rem,7vw,7rem)!important;
  padding-top:2.8rem!important;
  border-top:1px solid #ded5cc!important;
}
.single-product .ag-product-story-intro h2,
.single-product .ag-related-heading h2{
  max-width:13ch!important;
  font-size:clamp(2.7rem,3.8vw,4.2rem)!important;
  line-height:.96!important;
}
.single-product .ag-product-story-intro>p,
.single-product .ag-related-heading>p{
  max-width:34rem!important;
  color:#726960!important;
  font-size:.83rem!important;
  line-height:1.65!important;
}
.single-product .wp-block-woocommerce-product-details{margin-top:2.2rem!important}
.single-product .woocommerce-tabs ul.tabs{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:.35rem!important;
  margin:0 0 1.5rem!important;
  padding:0 0 .8rem!important;
  border-bottom:1px solid #ded5cc!important;
}
.single-product .woocommerce-tabs ul.tabs::before{display:none!important}
.single-product .woocommerce-tabs ul.tabs li{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after{display:none!important}
.single-product .woocommerce-tabs ul.tabs li a{
  display:inline-flex!important;
  min-height:38px!important;
  align-items:center!important;
  padding:.58rem .72rem!important;
  border:1px solid #d8cec4!important;
  color:#625a53!important;
  font-size:.56rem!important;
  font-weight:800!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}
.single-product .woocommerce-tabs ul.tabs li.active a{background:#171512!important;border-color:#171512!important;color:#fff!important}
.single-product .ag-related-heading{
  margin-top:clamp(5rem,7vw,7rem)!important;
  padding-top:2.8rem!important;
  border-top:1px solid #ded5cc!important;
}
.single-product .related.products,
.single-product .wp-block-woocommerce-product-collection{margin-top:2rem!important}
.single-product .related.products .products,
.single-product .wp-block-woocommerce-product-collection .wc-block-product-template{
  gap:2.7rem 1.5rem!important;
}
.single-product .related.products .product,
.single-product .wp-block-woocommerce-product-collection .wc-block-product{padding-bottom:1rem!important;border-bottom:1px solid #ded5cc!important}

/* ---------- MOBILE ---------- */
@media(max-width:1120px){
  .post-type-archive-product .ag-shop-index .ag-shop-hero__inner,
  .tax-product_cat .ag-category-gold__hero-inner,
  .tax-product_brand .ag-brand-archive__hero .ag-shop-hero__inner{
    grid-template-columns:1fr!important;
    gap:1rem!important;
  }
  .post-type-archive-product .ag-shop-index .ag-shop-hero__inner>p:last-child,
  .tax-product_cat .ag-category-gold__hero-inner>.term-description,
  .tax-product_brand .ag-brand-archive__hero .term-description,
  .tax-product_brand .ag-brand-archive__hero .term-description + p{
    grid-column:1!important;
    grid-row:auto!important;
    max-width:48rem!important;
  }
  .post-type-archive-product .ag-category-intent{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tax-product_cat .ag-category-intent{grid-template-columns:1fr!important}
  .single-product .ag-product-overview{gap:2.3rem!important}
}

@media(max-width:782px){
  .post-type-archive-product .ag-shop-hero,
  .tax-product_cat .ag-shop-hero,
  .tax-product_brand .ag-shop-hero{padding:2.1rem 1rem 1.8rem!important}
  .post-type-archive-product .ag-shop-hero .wp-block-query-title,
  .tax-product_cat .ag-shop-hero .wp-block-query-title,
  .tax-product_brand .ag-shop-hero .wp-block-query-title{
    max-width:12ch!important;
    font-size:clamp(2.75rem,13vw,4.1rem)!important;
    line-height:.92!important;
  }
  .post-type-archive-product .ag-shop-index .ag-shop-hero__inner>.woocommerce-breadcrumb,
  .tax-product_cat .ag-category-gold__hero-inner>.woocommerce-breadcrumb,
  .tax-product_brand .ag-brand-archive__hero .woocommerce-breadcrumb{margin-bottom:.9rem!important}
  .post-type-archive-product .ag-category-intent,
  .tax-product_cat .ag-category-intent{
    width:calc(100% - 2rem)!important;
    margin:1rem auto 0!important;
    grid-template-columns:1fr!important;
  }
  .post-type-archive-product .ag-category-intent>a,
  .tax-product_cat .ag-category-intent>a{min-height:82px!important;padding:.85rem 1rem!important}
  .post-type-archive-product .ag-shop-filter-shell,
  .tax-product_cat .ag-shop-filter-shell,
  .tax-product_brand .ag-shop-filter-shell{
    width:calc(100% - 2rem)!important;
    margin:1.7rem auto 0!important;
    padding-bottom:1.6rem!important;
  }
  .ag-facet-engine{padding:1rem!important}
  .ag-facet-engine__head{grid-template-columns:1fr!important;gap:.55rem!important;padding-bottom:.8rem!important}
  .ag-facet-engine__head h2{font-size:2rem!important}
  .ag-facet-engine__head>span{font-size:.68rem!important}
  .ag-facet-grid{grid-template-columns:1fr!important}
  .ag-facet-actions{grid-template-columns:1fr!important}
  .ag-shop-filters .wc-block-product-filters__open-overlay{min-height:46px!important}
  .post-type-archive-product .ag-shop-toolbar,
  .tax-product_cat .ag-shop-toolbar,
  .tax-product_brand .ag-shop-toolbar{
    width:calc(100% - 2rem)!important;
    margin:0 auto 1.2rem!important;
    gap:.65rem!important;
  }
  .ag-shop-toolbar select{width:100%!important;min-width:0!important}
  .post-type-archive-product .ag-product-collection,
  .tax-product_cat .ag-product-collection,
  .tax-product_brand .ag-product-collection{
    width:calc(100% - 2rem)!important;
  }
  .post-type-archive-product .ag-product-collection .wc-block-product-template,
  .tax-product_cat .ag-product-collection .wc-block-product-template,
  .tax-product_brand .ag-product-collection .wc-block-product-template{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:2rem .72rem!important;
  }
  .ag-product-collection .wc-block-components-product-image,
  .ag-product-collection .wp-block-woocommerce-product-image,
  .ag-product-collection .wc-block-grid__product-image{margin-bottom:.7rem!important}
  .ag-product-collection .wc-block-components-product-image img,
  .ag-product-collection .wp-block-woocommerce-product-image img,
  .ag-product-collection .wc-block-grid__product-image img{padding:.75rem!important}
  .ag-product-collection .ag-product-brand{font-size:.45rem!important;margin-bottom:.28rem!important}
  .ag-product-collection .ag-card-signals{min-height:20px!important;margin-bottom:.3rem!important}
  .ag-product-collection .ag-card-signal{min-height:20px!important;padding:.22rem .32rem!important;font-size:.42rem!important}
  .ag-product-collection .ag-card-signal:nth-child(n+2){display:none!important}
  .ag-product-collection .wp-block-post-title{min-height:2.75em!important;font-size:.78rem!important;line-height:1.38!important}
  .ag-product-collection .wc-block-components-product-price{font-size:.7rem!important;margin-bottom:.55rem!important}
  .ag-product-collection .wp-block-woocommerce-product-button .wp-block-button__link,
  .ag-product-collection .wc-block-components-product-button__button{min-height:40px!important;padding:.55rem .38rem!important;font-size:.46rem!important}
  .ag-category-guide{width:calc(100% - 2rem)!important;margin-top:4rem!important}
  .ag-category-guide__grid{grid-template-columns:1fr!important}
  .ag-category-guide__grid>a{min-height:190px!important}

  .single-product .ag-product-main>.woocommerce-breadcrumb,
  .single-product .ag-product-main>.wp-block-woocommerce-breadcrumbs,
  .single-product .ag-product-main>.woocommerce-notices-wrapper,
  .single-product .ag-product-overview,
  .single-product .ag-routine-complete,
  .single-product .ag-product-story-intro,
  .single-product .ag-related-heading,
  .single-product .wp-block-woocommerce-product-details,
  .single-product .related.products,
  .single-product .wp-block-woocommerce-product-collection{
    width:calc(100% - 2rem)!important;
  }
  .single-product .ag-product-overview{margin-top:.9rem!important;gap:1.45rem!important}
  .single-product .ag-product-gallery{padding:.65rem!important}
  .single-product .ag-product-summary{padding-top:0!important}
  .single-product .ag-single-brand{margin-bottom:.55rem!important;font-size:.5rem!important}
  .single-product .ag-product-summary>.wp-block-post-title{max-width:14ch!important;font-size:clamp(2.35rem,10.8vw,3.25rem)!important;line-height:.95!important}
  .single-product .ag-product-summary>.wp-block-post-excerpt{font-size:.88rem!important;line-height:1.62!important}
  .single-product .ag-product-summary form.cart:not(.variations_form){grid-template-columns:78px minmax(0,1fr)!important}
  .single-product .ag-product-summary .quantity .qty,
  .single-product .ag-product-summary .single_add_to_cart_button,
  .single-product .ag-product-summary button[type="submit"]{min-height:50px!important}
  .single-product .ag-product-assurance{grid-template-columns:1fr!important}
  .single-product .ag-product-assurance>div{min-height:72px!important;padding:.72rem!important}
  .single-product .ag-product-context__head{display:grid!important;gap:.25rem!important}
  .single-product .ag-product-context__group{grid-template-columns:1fr!important;gap:.35rem!important}
  .single-product .ag-product-context__group>b{padding-top:0!important}
  .single-product .ag-routine-complete{margin:2.8rem auto!important}
  .single-product .ag-routine-complete__head{padding:1.1rem!important}
  .single-product .ag-product-story-intro{margin-top:3.7rem!important;padding-top:2rem!important}
  .single-product .ag-product-story-intro h2,
  .single-product .ag-related-heading h2{font-size:clamp(2.35rem,11vw,3.4rem)!important}
  .single-product .ag-product-story-intro>p,
  .single-product .ag-related-heading>p{font-size:.78rem!important}
  .single-product .woocommerce-tabs ul.tabs{overflow-x:auto!important;flex-wrap:nowrap!important;scrollbar-width:none!important}
  .single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar{display:none!important}
  .single-product .woocommerce-tabs ul.tabs li{flex:0 0 auto!important}
  .single-product .ag-related-heading{margin-top:4rem!important;padding-top:2rem!important}
}

@media(max-width:430px){
  .post-type-archive-product .ag-product-collection .wc-block-product-template,
  .tax-product_cat .ag-product-collection .wc-block-product-template,
  .tax-product_brand .ag-product-collection .wc-block-product-template{gap:1.75rem .58rem!important}
  .ag-product-collection .wp-block-post-title{font-size:.75rem!important}
  .ag-product-collection .wp-block-woocommerce-product-button .wp-block-button__link,
  .ag-product-collection .wc-block-components-product-button__button{font-size:.43rem!important;letter-spacing:.055em!important}
  .single-product .ag-product-summary form.cart:not(.variations_form){grid-template-columns:70px minmax(0,1fr)!important}
}

@media(prefers-reduced-motion:reduce){
  .ag-product-collection .wc-block-product,
  .ag-product-collection .wp-block-post.product,
  .ag-product-collection img,
  .ag-category-intent>a{transition:none!important}
}
