/* Single product — journal layout */

html body.single-product {
  --chb-green: #2f3d2a;
  --chb-gold: #c9a84c;
  --chb-cream: #f7f2eb;
  --chb-ink: #2c2320;
  background: #f7f2eb !important;
}
html body.single-product .shop-content,
html body.single-product .single-content,
html body.single-product .single-gray,
html body.single-product .site-content,
html body.single-product .homepage-content {
  background: #f7f2eb !important;
  border: 0 !important;
  box-shadow: none !important;
}

html body.single-product .single-wrapper,
html body.single-product .shop-content > .container {
  max-width: 1180px !important;
  width: min(1180px, calc(100% - 2rem)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html body.single-product .woocommerce-breadcrumb {
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase !important;
  color: #8a7f76 !important;
  margin: 0 0 1.1rem !important;
  padding: 0.4rem 0 0 !important;
}
html body.single-product .woocommerce-breadcrumb a {
  color: #c9a84c !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

/* Title beside gallery on desktop */
@media (min-width: 992px) {
  html body.single-product .product.type-product {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: 2.4rem;
    row-gap: 0.4rem;
    align-items: start;
  }
  html body.single-product .product-content,
  html body.single-product .product-content > .row {
    display: contents !important;
  }
  html body.single-product .product-images,
  html body.single-product .col-lg-5.product-images {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
  }
  html body.single-product .product-header {
    grid-column: 2;
    grid-row: 1;
    margin: 0 !important;
    padding: 0 !important;
  }
  html body.single-product .product-detail,
  html body.single-product .col-lg-7.product-detail {
    grid-column: 2;
    grid-row: 2;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

html body.single-product .product-detail,
html body.single-product .product-detail .column {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html body.single-product .woocommerce-product-gallery,
html body.single-product .product-images .woocommerce-product-gallery {
  background: #fffef8;
  border: 1px solid #eee6dc;
  border-radius: 18px;
  overflow: hidden;
  padding: 0.6rem;
}
html body.single-product .woocommerce-product-gallery__image img,
html body.single-product .woocommerce-product-gallery img.wp-post-image {
  width: 100% !important;
  height: auto !important;
  max-height: 560px;
  object-fit: contain !important;
  display: block !important;
  background: #fffef8;
  border-radius: 12px;
}
html body.single-product .flex-control-thumbs,
html body.single-product ol.flex-control-nav {
  display: flex !important;
  gap: 0.45rem;
  margin: 0.7rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html body.single-product .flex-control-thumbs li {
  width: 64px !important;
  flex: 0 0 64px;
  margin: 0 !important;
}
html body.single-product .flex-control-thumbs img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 10px;
  border: 1px solid #eee6dc;
  cursor: pointer;
}
html body.single-product .flex-control-thumbs img.flex-active {
  border-color: #c9a84c;
}

.chb-pdp-kicker {
  margin: 0 0 0.4rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9a84c;
}
.chb-pdp-reviews-link {
  margin: 0 0 0.85rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
}
.chb-pdp-reviews-link a {
  color: #2f3d2a !important;
  text-decoration: none !important;
  border-bottom: 1px solid #c9a84c;
}

html body.single-product .product_title,
html body.single-product h1.product_title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 500 !important;
  font-size: clamp(2rem, 3.6vw, 2.85rem) !important;
  letter-spacing: -0.03em;
  line-height: 1.12 !important;
  color: #14100e !important;
  margin: 0 0 0.35rem !important;
  text-transform: none !important;
}

html body.single-product .product-meta.top,
html body.single-product .product-brand,
html body.single-product .sku_wrapper,
html body.single-product .product-unit,
html body.single-product .wc-stripe-product-checkout-container,
html body.single-product #wc-stripe-bnpl-product-msg,
html body.single-product .tinv-wraper,
html body.single-product .product-share,
html body.single-product .compare-button,
html body.single-product a.compare,
html body.single-product .yith-wcwl-add-to-wishlist,
html body.single-product .klbth-wishlist-button,
html body.single-product .up-sells,
html body.single-product .upsells,
html body.single-product .product_meta,
html body.single-product iframe[title^="PayPal"],
html body.single-product .reset_variations {
  display: none !important;
}

html body.single-product p.price,
html body.single-product .summary .price,
html body.single-product .product-detail .price {
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 650 !important;
  color: #2f3d2a !important;
  margin: 0 0 0.85rem !important;
}
html body.single-product p.price .amount {
  color: #2f3d2a !important;
}

html body.single-product .stock {
  display: inline-flex !important;
  background: transparent !important;
  color: #2f3d2a !important;
  border: 1px solid rgba(47, 61, 42, 0.22) !important;
  border-radius: 999px !important;
  padding: 4px 11px !important;
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.9rem !important;
}

html body.single-product .woocommerce-product-details__short-description,
html body.single-product .product-short-description {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
  color: #2c2320 !important;
  margin: 0 0 1.15rem !important;
}

html body.single-product table.variations {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  margin: 0 !important;
}
html body.single-product .variations_form {
  position: relative;
}

.chb-size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.chb-size-label {
  display: block;
  width: 100%;
  margin: 0 0 0.45rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a7f76;
}
.chb-size-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #ddd4c9;
  background: #fffef8;
  color: #2f3d2a;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
}
.chb-size-pill:hover {
  border-color: #c9a84c;
}
.chb-size-pill.is-on {
  background: #2f3d2a;
  border-color: #2f3d2a;
  color: #fffef8;
}

html body.single-product .quantity {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  margin: 0 0.6rem 0 0 !important;
}
html body.single-product .quantity .qty,
html body.single-product .quantity .minus,
html body.single-product .quantity .plus {
  border-radius: 999px !important;
  border: 1px solid rgba(47, 61, 42, 0.16) !important;
  font-family: Montserrat, system-ui, sans-serif !important;
  color: #2f3d2a !important;
  background: #fffef8 !important;
  height: 44px !important;
}
html body.single-product .single_add_to_cart_button,
html body.single-product button.single_add_to_cart_button.button.alt {
  background: linear-gradient(180deg, #e0c878, #c9a84c) !important;
  color: #2a2208 !important;
  border: 0 !important;
  border-radius: 999px !important;
  min-height: 48px !important;
  padding: 0 28px !important;
  font-family: Montserrat, system-ui, sans-serif !important;
  font-weight: 750 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.04em;
  text-transform: none !important;
}
html body.single-product .single_add_to_cart_button:hover {
  filter: brightness(1.04);
  color: #2a2208 !important;
}

html body.single-product .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.4rem;
}

/* Stacked description + reviews, no Bacola tabs */
html body.single-product .woocommerce-tabs ul.tabs,
html body.single-product .woocommerce-tabs ul.wc-tabs {
  display: none !important;
}
html body.single-product .woocommerce-tabs {
  background: transparent !important;
  border: 0 !important;
  padding: 1.6rem 0 0 !important;
  margin: 1.4rem 0 0 !important;
  box-shadow: none !important;
}
html body.single-product .woocommerce-Tabs-panel,
html body.single-product .woocommerce-tabs .panel {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  background: #fffef8 !important;
  border: 1px solid #eee6dc !important;
  border-radius: 16px !important;
  padding: 1.35rem 1.5rem 1.5rem !important;
  margin: 0 0 1.1rem !important;
  float: none !important;
  width: 100% !important;
}
html body.single-product #tab-additional_information {
  display: none !important;
}
html body.single-product .woocommerce-Tabs-panel h2,
html body.single-product .woocommerce-Tabs-panel > h2:first-child {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 500 !important;
  font-size: 1.7rem !important;
  color: #2f3d2a !important;
  margin: 0 0 0.85rem !important;
}
html body.single-product .woocommerce-Tabs-panel h3 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 600 !important;
  font-size: 1.25rem !important;
  color: #2f3d2a !important;
  margin: 1.2rem 0 0.4rem !important;
}
html body.single-product .woocommerce-Tabs-panel,
html body.single-product .woocommerce-Tabs-panel p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2c2320;
}
html body.single-product .woocommerce-Tabs-panel ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

html body.single-product #reviews .commentlist {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.single-product #reviews .commentlist li {
  background: #f7f2eb;
  border-radius: 12px;
  padding: 0.9rem 1rem 1rem;
  margin: 0 0 0.7rem !important;
  border: 1px solid #eee6dc;
}
html body.single-product #reviews .meta,
html body.single-product #reviews .woocommerce-review__author {
  font-family: Montserrat, system-ui, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #2f3d2a !important;
}
html body.single-product #reviews .description p {
  font-size: 0.98rem;
  margin: 0.35rem 0 0;
}
html body.single-product #review_form_wrapper {
  margin-top: 1rem;
}

html body.single-product .related.products {
  margin: 1.2rem 0 2rem !important;
  padding: 1.4rem 0 0 !important;
  border-top: 1px solid #eee6dc;
  background: transparent !important;
}
html body.single-product .related.products > h2,
html body.single-product .related.products > h4,
html body.single-product .related .entry-title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 500 !important;
  font-size: 1.7rem !important;
  color: #2f3d2a !important;
  text-transform: none !important;
  letter-spacing: -0.02em;
  margin: 0 0 1rem !important;
}
html body.single-product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem !important;
}
html body.single-product .related.products .product,
html body.single-product .related.products li.product {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fffef8;
  border: 1px solid #eee6dc;
  border-radius: 14px;
  overflow: hidden;
  float: none !important;
}
html body.single-product .related .product-title a,
html body.single-product .related .woocommerce-loop-product__title {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: #2f3d2a !important;
}
html body.single-product .related .product-available,
html body.single-product .related .product-unit,
html body.single-product .related .product-rating {
  display: none !important;
}
html body.single-product .related .product img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #efe6d8;
}

@media (max-width: 991px) {
  html body.single-product .product.type-product {
    display: flex !important;
    flex-direction: column;
  }
  html body.single-product .product-content,
  html body.single-product .product-content > .row {
    display: contents !important;
  }
  html body.single-product .product-images { order: 1; width: 100% !important; padding: 0 !important; }
  html body.single-product .product-header { order: 2; margin: 1rem 0 0.2rem !important; }
  html body.single-product .product-detail { order: 3; width: 100% !important; padding: 0 !important; }
  html body.single-product .woocommerce-product-gallery img.wp-post-image {
    max-height: 360px;
  }
  html body.single-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body.single-product .single_add_to_cart_button {
    width: 100%;
  }
}
@media (max-width: 520px) {
  html body.single-product .related.products ul.products {
    grid-template-columns: 1fr;
  }
}
