/* RC7.9.498 — Product Archive final micro-parity against the frozen Homepage Product Card.
 * Scope is limited to the Product Catalog stage. Homepage remains read-only.
 * Values are copied from the locked Homepage card authority and declared here
 * explicitly so this archive authority does not depend on Homepage body tokens.
 */
.tcc-product-catalog-stage{
  --tcc-archive-card-height:500px;
  --tcc-archive-card-height-tablet:480px;
  --tcc-archive-card-media-height:220px;
  --tcc-archive-card-media-height-tablet:205px;
  --tcc-archive-card-padding-x:24px;
  --tcc-archive-card-padding-y:20px;
  --tcc-archive-card-bottom-safe-area:12px;
  --tcc-archive-card-action-height:38px;
  --tcc-archive-product-content-lift:30px;
  --tcc-archive-product-title-content-gap:8px;
  --tcc-archive-product-description-price-gap:16px;
  --tcc-archive-product-price-bottom-gap:0px;
  --tcc-archive-product-divider-top-gap:8px;
  --tcc-archive-product-cta-gap:8px;
  --tcc-archive-card-copy-lines:3;
  --tcc-archive-card-radius:18px;
  --tcc-archive-card-border:1px solid rgba(15,74,56,.12);
  --tcc-archive-card-shadow:0 10px 30px rgba(15,45,35,.055);
  --tcc-archive-card-shadow-hover:0 18px 42px rgba(15,45,35,.10);
}
.tcc-product-catalog-stage ul.products{align-items:stretch!important}
.tcc-product-catalog-stage ul.products li.product.tcc-product-card--homepage-authority{
  display:grid!important;
  grid-template-rows:var(--tcc-archive-card-media-height) minmax(0,1fr)!important;
  height:var(--tcc-archive-card-height)!important;
  min-height:var(--tcc-archive-card-height)!important;
  max-height:var(--tcc-archive-card-height)!important;
  margin:0!important;padding:0!important;overflow:hidden!important;
  border:var(--tcc-archive-card-border)!important;
  border-radius:var(--tcc-archive-card-radius)!important;
  background:#fff!important;box-shadow:var(--tcc-archive-card-shadow)!important;
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease!important;
}
.tcc-product-catalog-stage ul.products li.product.tcc-product-card--homepage-authority:hover{
  transform:translateY(-3px)!important;border-color:rgba(15,74,56,.18)!important;
  box-shadow:var(--tcc-archive-card-shadow-hover)!important;
}

/* RC7.9.503 — Mirror the frozen Homepage Product Card Top Accent Line.
 * Declarations are copied from the Homepage authority. The z-index only
 * preserves the same visible layer above the Archive media background. */
.tcc-product-catalog-stage ul.products li.product.tcc-product-card--homepage-authority::before{
  content:"";
  position:absolute;
  z-index:4;
  top:0;left:22px;right:22px;
  height:1px;
  background:rgba(183,122,36,.42);
  pointer-events:none;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-card__media{
  position:relative!important;display:block!important;width:100%!important;
  height:var(--tcc-archive-card-media-height)!important;
  min-height:var(--tcc-archive-card-media-height)!important;
  max-height:var(--tcc-archive-card-media-height)!important;
  aspect-ratio:auto!important;margin:0!important;padding:0!important;
  overflow:hidden!important;flex:none!important;background:#fff!important;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-card__media img{
  position:static!important;display:block!important;width:100%!important;height:100%!important;
  max-height:none!important;margin:0!important;padding:8px!important;border:0!important;
  border-radius:0!important;background:transparent!important;object-fit:contain!important;
  object-position:center!important;
}

/* Specialty source artwork is taller than the remaining product packshots.
 * Normalize only its visible artwork box; the shared media frame is untouched. */
.tcc-product-catalog-stage .tcc-product-card--visual-specialty .tcc-product-card__media img{
  padding:24px!important;
}

.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-card__body{
  position:static!important;display:flex!important;flex-direction:column!important;
  min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;
  padding:var(--tcc-archive-card-padding-y) var(--tcc-archive-card-padding-x) var(--tcc-archive-card-bottom-safe-area)!important;
  color:#14392f!important;gap:0!important;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority h3{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
  overflow:hidden!important;min-height:0!important;margin:0 0 var(--tcc-archive-product-title-content-gap)!important;
  padding:0!important;color:#0b4a38!important;font-family:var(--tcc-font-heading,Georgia,serif)!important;
  font-size:var(--tcc-ds-card-title-desktop,24px)!important;font-weight:700!important;line-height:1.2!important;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-card__body>p{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;
  -webkit-line-clamp:var(--tcc-archive-card-copy-lines)!important;overflow:hidden!important;
  margin:0 0 var(--tcc-archive-product-description-price-gap)!important;
  color:#6f7872!important;line-height:1.55!important;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-price{
  margin:0 0 var(--tcc-archive-product-price-bottom-gap)!important;
  color:#07523d!important;font-weight:800!important;line-height:1.35!important;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-price :is(.price,.amount,bdi){
  min-height:0!important;margin:0!important;padding:0!important;color:inherit!important;font-weight:inherit!important;
}
/* Final desktop rhythm parity: keep the card structure unchanged while
 * separating the title from the description and opening the price-to-divider
 * breathing room.  These transforms are scoped to Product Archive only. */
@media (min-width:769px){
  .tcc-product-catalog-stage .tcc-product-card--homepage-authority h3{
    transform:translateY(-20px)!important;
  }
  .tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-card__body>p{
    transform:translateY(-12px)!important;
  }
  .tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-price{
    transform:translateY(-20px)!important;
  }
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-card__footer{
  display:flex!important;align-items:stretch!important;justify-content:flex-start!important;
  flex-direction:column!important;gap:var(--tcc-archive-product-cta-gap)!important;
  margin-top:auto!important;padding-top:var(--tcc-archive-product-divider-top-gap)!important;
  border-top:1px solid rgba(185,130,50,.22)!important;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority :where(.tcc-product-action,.tcc-product-card__link){min-width:0!important;max-width:100%!important}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-card__link{
  display:inline-flex!important;align-items:center!important;width:max-content!important;margin:0!important;
  color:#0b4a38!important;font-weight:800!important;white-space:normal!important;line-height:1.3!important;text-decoration:none!important;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-action{
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
  gap:8px!important;width:100%!important;min-height:var(--tcc-archive-card-action-height)!important;
  height:var(--tcc-archive-card-action-height)!important;margin:0!important;padding:7px 11px!important;
  border:1px solid #c78b2b!important;border-radius:12px!important;background:#c78b2b!important;color:#fff!important;
  box-shadow:0 8px 20px rgba(185,130,50,.20)!important;font-size:.74rem!important;font-weight:800!important;
  white-space:normal!important;text-align:center!important;line-height:1.25!important;text-decoration:none!important;
  transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-action:hover,
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-action:focus-visible{
  transform:translateY(-2px)!important;background:#b7791f!important;border-color:#b7791f!important;color:#fff!important;
  box-shadow:0 12px 26px rgba(185,130,50,.28)!important;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-action svg{
  width:16px!important;height:16px!important;flex:0 0 16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
}
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-badge{position:absolute!important;z-index:3!important}
@media (min-width:769px) and (max-width:1024px){
  .tcc-product-catalog-stage ul.products li.product.tcc-product-card--homepage-authority{
    grid-template-rows:var(--tcc-archive-card-media-height-tablet) minmax(0,1fr)!important;
    height:var(--tcc-archive-card-height-tablet)!important;min-height:var(--tcc-archive-card-height-tablet)!important;max-height:var(--tcc-archive-card-height-tablet)!important;
  }
  .tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-card__media{
    height:var(--tcc-archive-card-media-height-tablet)!important;min-height:var(--tcc-archive-card-media-height-tablet)!important;max-height:var(--tcc-archive-card-media-height-tablet)!important;
  }
}
@media (max-width:768px){
  .tcc-product-catalog-stage ul.products li.product.tcc-product-card--homepage-authority{grid-template-rows:auto auto!important;height:auto!important;min-height:0!important;max-height:none!important}
  .tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-card__media{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1.35/1!important}
  .tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-action{width:100%!important}
}
@media (prefers-reduced-motion:reduce){
  .tcc-product-catalog-stage .tcc-product-card--homepage-authority,
  .tcc-product-catalog-stage .tcc-product-card--homepage-authority *{transition:none!important}
}

/* RC7.9.506 — WooCommerce AJAX state must not create a second footer row. */
.tcc-product-catalog-stage .tcc-product-card--homepage-authority > .added_to_cart.wc-forward,
.tcc-product-catalog-stage .tcc-product-card--homepage-authority .tcc-product-card__footer > .added_to_cart.wc-forward{
  display:none!important;
}
