/* RC7.9.493 — Product Category Heading and Filter Runtime Authority
 * Root cause fixed in the enqueue graph: Product Category archives previously
 * depended on the Shop-only `tcc-wcs-overview-front` handle, so this stylesheet
 * and the Homepage card authority were never printed on `tax-product_cat`.
 * The CSS below remains the sole final archive owner for title/filter states.
 */
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag){
  --tcc-product-page-inline-inset:40px;
  --tcc-product-page-width:min(calc(100% - var(--tcc-product-page-inline-inset)),var(--tcc-ds-container-width,1200px));
  --tcc-product-stage-space:clamp(20px,2vw,28px);
}

/* RC7.9.505 — Product Category Header-to-Breadcrumb parity with Single Product.
 * Scope is intentionally limited to taxonomy product category archives.
 */
body.tax-product_cat{
  --tcc-product-stage-space:76px;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-wc-main{
  display:block!important;
  inline-size:100%!important;
  width:100%!important;
  max-inline-size:none!important;
  max-width:none!important;
  margin-inline:0!important;
  padding-top:0!important;
  padding-right:0!important;
  padding-bottom:0!important;
  padding-left:0!important;
  box-sizing:border-box!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-wc-main > .tcc-product-catalog-stage{
  inline-size:var(--tcc-product-page-width)!important;
  width:var(--tcc-product-page-width)!important;
  max-inline-size:var(--tcc-ds-container-width,1200px)!important;
  max-width:var(--tcc-ds-container-width,1200px)!important;
  margin-inline:auto!important;
  padding-inline:0!important;
  box-sizing:border-box!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-wc-main > .tcc-product-catalog-stage,
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-wc-main > .tcc-product-catalog-stage .woocommerce{
  min-inline-size:0!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-wc-main > .tcc-product-catalog-stage > main.tcc-shop{
  width:100%!important;
  margin:0!important;
  padding:var(--tcc-product-stage-space) 0 64px!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-wc-main > .tcc-product-catalog-stage > main.tcc-shop > .container{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .woocommerce-breadcrumb{
  margin:0 0 14px!important;
  color:rgba(23,52,43,.68)!important;
  font-size:14px!important;
  line-height:1.45!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .woocommerce-breadcrumb a{
  color:var(--tcc-ui-green,#07523d)!important;
  font-weight:700!important;
}
body.woocommerce-shop .woocommerce-breadcrumb{display:none!important;}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .woocommerce-products-header{
  margin:0 0 20px!important;
  padding:0!important;
}
html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-product-catalog-stage :is(.woocommerce-products-header__title.page-title,.woocommerce-products-header h1.page-title,h1.page-title){
  margin:0!important;
  color:var(--tcc-ui-green,#07523d)!important;
  font-family:var(--tcc-heading-font,Georgia,"Times New Roman",serif)!important;
  font-size:30px!important;
  font-weight:var(--tcc-heading-weight,700)!important;
  line-height:1.12!important;
  letter-spacing:-.025em!important;
}
/* Product Archive title size authority only. Keep spacing owned by the RC6.0.2 rule below. */
html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag).tcc-design-sync.tcc-frontend-engine .tcc-wc-main > .tcc-product-catalog-stage > main.tcc-shop > .container > :is(h2.woocommerce-products-header__title.page-title,h1.woocommerce-products-header__title.page-title,.woocommerce-products-header h1.page-title,h1.page-title){
  font-size:30px!important;
}

/* RC6.0.2 — Product Archive title-to-filter spacing parity.
 * The main Shop heading is rendered directly by the Product Overview hook,
 * outside WooCommerce's native products-header wrapper. Restore the same
 * 20px title-to-filter gap used by product category archives.
 */
html body.woocommerce-shop .tcc-product-catalog-stage > main.tcc-shop .woocommerce-products-header__title.page-title{
  margin-bottom:20px!important;
}

html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-product-catalog-stage .tcc-wc-category-nav{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  margin:0 0 30px!important;
}
html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-product-catalog-stage .tcc-wc-category-nav a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  padding:8px 15px!important;
  border:1px solid rgba(7,82,61,.16)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.72)!important;
  color:var(--tcc-ui-green,#07523d)!important;
  font-weight:700!important;
  text-decoration:none!important;
  box-shadow:0 5px 15px rgba(7,63,49,.035)!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease,color .2s ease!important;
}
html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-product-catalog-stage .tcc-wc-category-nav a:not(.is-active):not([aria-current="page"]):hover,
html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-product-catalog-stage .tcc-wc-category-nav a:not(.is-active):not([aria-current="page"]):focus-visible{
  color:var(--tcc-ui-green,#07523d)!important;
  background:var(--tcc-ui-gold,var(--tcc-color-accent,#d6a04f))!important;
  border-color:var(--tcc-ui-gold,var(--tcc-color-accent,#d6a04f))!important;
  box-shadow:0 10px 24px rgba(183,122,36,.18)!important;
  transform:translateY(-2px)!important;
}
html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-product-catalog-stage .tcc-wc-category-nav a.is-active,
html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-product-catalog-stage .tcc-wc-category-nav a[aria-current="page"]{
  color:#fff!important;
  background:var(--tcc-ui-green,#07523d)!important;
  border-color:var(--tcc-ui-green,#07523d)!important;
  box-shadow:0 9px 22px rgba(7,82,61,.18)!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .woocommerce-result-count{
  margin:8px 0 18px!important;
  color:rgba(23,52,43,.72)!important;
  font-size:15px!important;
  line-height:1.5!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .woocommerce-ordering{
  margin:0 0 18px!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .woocommerce-ordering select{
  min-height:44px!important;
  padding:0 42px 0 14px!important;
  border:1px solid rgba(15,74,56,.18)!important;
  border-radius:12px!important;
  background-color:#fff!important;
  color:var(--tcc-color-text,#17342b)!important;
  font:600 15px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  box-shadow:0 6px 18px rgba(15,45,35,.045)!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) ul.products{
  display:grid!important;
  grid-template-columns:repeat(var(--tcc-wcs-cols,4),minmax(0,1fr))!important;
  gap:26px!important;
  align-items:stretch!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) ul.products::before,
:is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) ul.products::after{display:none!important;}
@media(max-width:980px){
  :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:1024px){
  html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-product-catalog-stage :is(.woocommerce-products-header__title.page-title,.woocommerce-products-header h1.page-title,h1.page-title){
    font-size:26px!important;
  }
}
@media(max-width:600px){
  :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag){--tcc-product-page-inline-inset:28px;}
  :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-wc-main > .tcc-product-catalog-stage > main.tcc-shop{
    padding:24px 0 48px!important;
  }
  html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-product-catalog-stage :is(.woocommerce-products-header__title.page-title,.woocommerce-products-header h1.page-title,h1.page-title){
    font-size:22px!important;
  }
  :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) ul.products{
    grid-template-columns:1fr!important;
    gap:20px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html :is(body.woocommerce-shop,body.tax-product_cat,body.tax-product_tag) .tcc-product-catalog-stage .tcc-wc-category-nav a{transition:none!important;}
}
