/* Shared category tiles + archive hero — v11
   v10 leaked `body.tax-product_cat, .foo` (comma) so archive pages
   inherited uppercase / 25% width / breadcrumb type on the whole body. */

.chb-cats {
  padding: clamp(1.8rem, 3.5vw, 2.8rem) 1.25rem 2.4rem;
  background: #f7f2eb;
}
.chb-cats .inner { max-width: 1120px; margin: 0 auto; }
.chb-cats .eye {
  margin: 0 0 .35rem;
  text-align: center;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c9a84c;
}
.chb-cats h2 {
  margin: 0 0 .55rem;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  color: #14100e;
}
.chb-cats .lead {
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  text-align: center;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: .95rem;
  line-height: 1.6;
  color: #3d4038;
}
.chb-cats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, 22vw);
  gap: .85rem;
}
.chb-cats__tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fffef8 !important;
  box-shadow: 0 12px 28px rgba(18, 10, 8, .1);
}
.chb-cats__feat {
  grid-column: auto;
  grid-row: auto;
}
.chb-cats__bg {
  position: absolute;
  inset: 0;
  background: #2f3d2a center/cover no-repeat;
  transition: transform .45s ease;
}
.chb-cats__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,18,13,.05) 20%, rgba(14,18,13,.78));
}
.chb-cats__name {
  position: relative;
  z-index: 1;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 500;
  color: #fffef8;
  text-shadow: 0 1px 8px rgba(14,18,13,.35);
}
.chb-cats__feat .chb-cats__name { font-size: 1.35rem; }
.chb-cats__tile:hover .chb-cats__bg { transform: scale(1.06); }

/* Reset body leaks from v10, then scope archive rules */
body.tax-product_cat,
body.post-type-archive-product {
  text-transform: none !important;
  letter-spacing: normal !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
  overflow: visible !important;
  font-size: 16px !important;
  font-family: Montserrat, system-ui, sans-serif !important;
  background: #fffcf8 !important;
}

body.tax-product_cat .shop-banner,
body.post-type-archive-product .shop-banner,
body.tax-product_cat .page-header,
body.post-type-archive-product .page-header,
body.tax-product_cat .klb-shop-banner,
body.post-type-archive-product .klb-shop-banner,
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header {
  display: none !important;
}

body.tax-product_cat .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb {
  padding: .7rem 0;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
  color: #6b6458;
}
body.tax-product_cat .woocommerce-breadcrumb a,
body.post-type-archive-product .woocommerce-breadcrumb a {
  color: #6b6458;
  text-transform: none;
}

.chb-cat-intro {
  background: #f7f2eb;
  border-bottom: 1px solid #e6ddd2;
  padding: 1.4rem 1.25rem 1.35rem;
}
.chb-cat-intro .wrap {
  max-width: 720px;
  margin: 0 auto;
}
.chb-cat-intro .copy,
body.tax-product_cat .chb-cat-intro .term-description,
body.post-type-archive-product .chb-cat-intro .term-description {
  display: block !important;
  max-width: none;
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none !important;
  color: #3d4038;
}
body.tax-product_cat .chb-cat-intro .term-description > h1:first-child,
body.post-type-archive-product .chb-cat-intro .term-description > h1:first-child {
  display: none !important;
}
body.tax-product_cat .chb-cat-intro .term-description p,
body.post-type-archive-product .chb-cat-intro .term-description p {
  margin: 0 0 1rem;
  text-transform: none !important;
}
body.tax-product_cat .chb-cat-intro .term-description p:last-child,
body.post-type-archive-product .chb-cat-intro .term-description p:last-child { margin-bottom: 0; }
body.tax-product_cat .chb-cat-intro .term-description h2,
body.tax-product_cat .chb-cat-intro .term-description h3,
body.post-type-archive-product .chb-cat-intro .term-description h2,
body.post-type-archive-product .chb-cat-intro .term-description h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -.02em;
  text-transform: none !important;
  color: #2f3d2a;
  margin: 0 0 .85rem;
  line-height: 1.25;
}
body.tax-product_cat .chb-cat-intro .term-description strong,
body.post-type-archive-product .chb-cat-intro .term-description strong {
  font-weight: 600;
  text-transform: none !important;
}
body.tax-product_cat .chb-cat-kicker,
body.post-type-archive-product .chb-cat-kicker {
  display: block;
  margin: 0 0 .55rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #c9a84c;
}
body.tax-product_cat .chb-cat-points,
body.post-type-archive-product .chb-cat-points {
  list-style: none;
  margin: 1.1rem 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .9rem;
}
body.tax-product_cat .chb-cat-points li,
body.post-type-archive-product .chb-cat-points li {
  position: relative;
  padding: .45rem .85rem .45rem 1.7rem;
  background: #fffcf8;
  border: 1px solid #e6ddd2;
  border-radius: 999px;
  font-size: .88rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none !important;
  color: #2f3d2a;
}
body.tax-product_cat .chb-cat-points li::before,
body.post-type-archive-product .chb-cat-points li::before {
  content: "";
  position: absolute;
  left: .7rem;
  top: 50%;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #c9a84c;
  transform: translateY(-50%);
}

.chb-cat-hero {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #14100e;
  margin: 0;
  border-radius: 0;
}
.chb-cat-hero img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
}
.chb-cat-hero .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,18,13,.7) 0%, rgba(14,18,13,.2) 55%, rgba(14,18,13,.25) 100%);
}
.chb-cat-hero .inner {
  position: relative;
  z-index: 2;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 1.4rem;
}
.chb-cat-hero .eye {
  margin: 0 0 .4rem;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #e0c878;
}
.chb-cat-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  letter-spacing: -.03em;
  text-transform: none !important;
  color: #fffef8;
  line-height: 1.1;
}
.chb-cat-hero h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  background: #c9a84c;
  margin-top: .8rem;
}

body.tax-product_cat .site-content,
body.post-type-archive-product .site-content,
body.tax-product_cat .container,
body.post-type-archive-product .container {
  background: #fffcf8;
}
body.tax-product_cat .content-secondary,
body.post-type-archive-product .content-secondary,
body.tax-product_cat .site-sidebar,
body.post-type-archive-product .site-sidebar {
  display: none !important;
}
body.tax-product_cat .content-wrapper,
body.post-type-archive-product .content-wrapper,
body.tax-product_cat .content-wrapper > .row,
body.post-type-archive-product .content-wrapper > .row {
  display: block !important;
}
body.tax-product_cat .content-primary,
body.post-type-archive-product .content-primary {
  width: 100% !important;
  max-width: 1120px !important;
  flex: 0 0 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}
body.tax-product_cat .before-shop-loop,
body.post-type-archive-product .before-shop-loop {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: .85rem 0 .7rem;
  background: transparent;
}
body.tax-product_cat .before-shop-loop .shop-view-selector,
body.post-type-archive-product .before-shop-loop .shop-view-selector,
body.tax-product_cat .before-shop-loop .mobile-filter,
body.post-type-archive-product .before-shop-loop .mobile-filter {
  display: none !important;
}
body.tax-product_cat .before-shop-loop select,
body.post-type-archive-product .before-shop-loop select,
body.tax-product_cat .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #2f3d2a;
  border: 1px solid #e6ddd2;
  border-radius: 999px;
  background: #fff;
  padding: .4rem .9rem;
}

body.tax-product_cat .content-primary .products,
body.post-type-archive-product .content-primary .products {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -10px 2.4rem !important;
  width: auto !important;
}
body.tax-product_cat .content-primary .products .product,
body.post-type-archive-product .content-primary .products .product {
  width: 25% !important;
  max-width: 25% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 10px 1.4rem !important;
  background: transparent;
}
body.tax-product_cat .content-primary .product-wrapper,
body.post-type-archive-product .content-primary .product-wrapper {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #eee6dc;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(18,10,8,.04);
}
body.tax-product_cat .content-primary .thumbnail-wrapper,
body.post-type-archive-product .content-primary .thumbnail-wrapper,
body.tax-product_cat .content-primary .thumbnail-wrapper a,
body.post-type-archive-product .content-primary .thumbnail-wrapper a {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  background: #f7f2eb;
}
body.tax-product_cat .content-primary .thumbnail-wrapper img,
body.post-type-archive-product .content-primary .thumbnail-wrapper img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f7f2eb;
}
body.tax-product_cat .content-primary .product-wrapper .content-wrapper,
body.post-type-archive-product .content-primary .product-wrapper .content-wrapper {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  padding: .95rem 1rem 1.1rem !important;
  background: #fff;
}
body.tax-product_cat .content-primary .product-wrapper .product-title,
body.post-type-archive-product .content-primary .product-wrapper .product-title,
body.tax-product_cat .content-primary .product-wrapper .product-title a,
body.post-type-archive-product .content-primary .product-wrapper .product-title a {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
  font-size: 1.12rem !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em;
  text-transform: none !important;
  color: #2f3d2a !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.tax-product_cat .content-primary .product-unit,
body.post-type-archive-product .content-primary .product-unit,
body.tax-product_cat .content-primary .product-rating,
body.post-type-archive-product .content-primary .product-rating {
  display: none !important;
}
body.tax-product_cat .content-primary .product-available,
body.post-type-archive-product .content-primary .product-available {
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: .68rem !important;
  font-weight: 600 !important;
  letter-spacing: .08em;
  text-transform: uppercase !important;
  color: #2f3d2a !important;
  background: transparent !important;
  border: 0 !important;
  padding: .15rem 0 .35rem !important;
}
body.tax-product_cat .content-primary .product-available.outof-stock,
body.post-type-archive-product .content-primary .product-available.outof-stock {
  color: #a33b3b !important;
}
body.tax-product_cat .content-primary .price,
body.post-type-archive-product .content-primary .price,
body.tax-product_cat .content-primary .price .amount,
body.post-type-archive-product .content-primary .price .amount {
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #2f3d2a !important;
  text-transform: none !important;
}
body.tax-product_cat .content-primary .product-fade-block,
body.post-type-archive-product .content-primary .product-fade-block {
  position: static !important;
  opacity: 1 !important;
  transform: none !important;
  margin-top: auto;
  padding-top: .7rem;
}
body.tax-product_cat .content-primary .product-button-group .button,
body.post-type-archive-product .content-primary .product-button-group .button,
body.tax-product_cat .content-primary .add_to_cart_button,
body.post-type-archive-product .content-primary .add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 14px !important;
  background: #c9a84c !important;
  color: #2a2208 !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: .78rem !important;
  font-weight: 600 !important;
  letter-spacing: .04em;
  text-transform: none !important;
  box-shadow: none !important;
}
body.tax-product_cat .content-primary .product-button-group .button:hover,
body.post-type-archive-product .content-primary .product-button-group .button:hover {
  background: #d4b45c !important;
  color: #2a2208 !important;
}

@media (max-width: 900px) {
  body.tax-product_cat .content-primary .products .product,
  body.post-type-archive-product .content-primary .products .product {
    width: 50% !important;
    max-width: 50% !important;
  }
  .chb-cats .grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(140px, 28vw);
  }
  .chb-cats__feat {
    grid-column: auto;
    min-height: 180px;
  }
}
@media (max-width: 520px) {
  body.tax-product_cat .content-primary .products .product,
  body.post-type-archive-product .content-primary .products .product {
    width: 100% !important;
    max-width: 100% !important;
  }
  .chb-cats .grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  .chb-cats__feat { grid-column: auto; min-height: 200px; }
  .chb-cat-hero,
  .chb-cat-hero .inner { min-height: 200px; }
}

/* Blog listing */
body.blog .site-content,
body.blog .content-wrapper { background: #fffcf8; }
body.blog .content-secondary { display: none !important; }
body.blog .content-primary { width: 100% !important; max-width: 1120px !important; margin: 0 auto; }
body.blog article.post {
  background: #fff;
  border: 1px solid #eee6dc;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 1.1rem;
  box-shadow: 0 8px 20px rgba(18,10,8,.04);
}
body.blog article.post .post-thumbnail img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
}
body.blog article.post .entry-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.35rem;
}
body.blog article.post .entry-title a { color: #14100e; text-decoration: none; }
body.blog .entry-comments,
body.blog .entry-author { display: none !important; }

/* Single product */
body.single-product .site-content { background: #fffcf8; }
body.single-product .product-title,
body.single-product h1.product_title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.02em;
}
body.single-product .woocommerce-breadcrumb {
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: none;
  color: #8a7f76;
}

/* Contact */
body.page-id-1546 .site-content,
body.contact-us .site-content { background: #fffcf8; }
