/* ══ SINGLE PRODUCT — page-specific styles ══ */

/* Product fold — hero grid */
.product-fold {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
  margin-top: 0;
  overflow: hidden;
}
.product-gallery {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  background: var(--warm);
}
.product-gallery .woocommerce-product-gallery { height: 100%; margin: 0; }
.product-gallery .woocommerce-product-gallery__wrapper { height: 100%; }
.product-gallery .woocommerce-product-gallery__image { height: 100%; }
.product-gallery .woocommerce-product-gallery__image a { display: block; height: 100%; }
.product-gallery .woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Legacy aliases */
.gallery-col { position: sticky; top: 0; height: 100dvh; overflow: hidden; background: var(--warm); }
.gallery-col .woocommerce-product-gallery { height: 100%; margin: 0; }
.gallery-col .woocommerce-product-gallery__wrapper { height: 100%; }
.gallery-col .woocommerce-product-gallery__image { height: 100%; }
.gallery-col .woocommerce-product-gallery__image a { display: block; height: 100%; }
.gallery-col .woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.gallery-thumbs { display: flex; gap: 8px; padding: 12px 16px; position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; }
.gallery-thumb { width: 64px; height: 64px; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .25s; border: 1.5px solid transparent; flex-shrink: 0; }
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Info panel */
.product-info {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
  min-height: 100dvh;
}
.info-col {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
  min-height: 100dvh;
}
.product-eyebrow { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; margin-bottom: 12px; }
.product-breadcrumb { font-size: 10px; letter-spacing: .14em; color: var(--muted2); margin-bottom: 24px; }
.product-breadcrumb a { color: var(--muted2); text-decoration: none; }
.product-name { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(36px, 4vw, 56px); line-height: .97; letter-spacing: -.03em; color: var(--text); margin-bottom: 10px; }
.product-name-h { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(36px, 4vw, 56px); line-height: .97; letter-spacing: -.03em; color: var(--text); margin-bottom: 20px; }
.product-meta-line { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); font-weight: 400; margin-bottom: 16px; }
.woocommerce-Price-amount { font-family: "Cormorant Garamond", serif; font-size: clamp(24px, 2.5vw, 32px); font-weight: 400; color: var(--text); }
.product-short-desc { font-size: clamp(14px, 1.4vw, 16px); line-height: 1.95; color: var(--muted); font-weight: 300; margin: 16px 0 24px; max-width: 400px; }
.product-sep { width: 40px; height: 1px; background: var(--gold); margin: 20px 0; }
.product-price-wrap { margin-bottom: 8px; }
.product-price-note { font-size: 11px; color: var(--muted2); font-weight: 300; margin-top: 6px; }
.product-reassure { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 16px 0; }
.product-reassure-item { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); font-weight: 400; }
.product-reassure-sep { color: var(--gold); font-size: 8px; }
.product-shipping { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--warm); border: 1px solid var(--border); margin: 20px 0; }
.product-shipping-icon { width: 16px; height: 16px; flex-shrink: 0; opacity: .5; margin-top: 2px; }
.product-shipping-text { font-size: 12px; line-height: 1.65; color: var(--muted); font-weight: 300; }
.product-trust { display: flex; gap: 24px; flex-wrap: wrap; margin: 20px 0; }
.product-trust-item { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); font-weight: 400; display: flex; align-items: center; gap: 6px; }
.product-trust-item::before { content: ""; width: 12px; height: 1px; background: var(--gold); }

/* Detail expandables */
.product-details { margin-top: 24px; border-top: 1px solid var(--border); }
.product-detail-item { border-bottom: 1px solid var(--border); }
.product-detail-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
}
.product-detail-trigger-label { flex: 1; text-align: left; }
.product-detail-body { display: none; padding-bottom: 16px; font-size: 13px; line-height: 1.85; color: var(--muted); font-weight: 300; }
.product-detail-item.open .product-detail-body { display: block; }

/* Legacy expandable classes */
.detail-expandables { margin-top: 32px; border-top: 1px solid var(--border); }
.detail-expandable { border-bottom: 1px solid var(--border); }
.detail-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; background: none; border: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text); font-weight: 500; font-family: "DM Sans", sans-serif; }
.detail-trigger-icon { width: 14px; height: 14px; position: relative; }
.detail-trigger-icon::before, .detail-trigger-icon::after { content: ""; position: absolute; background: var(--brown); transition: transform .3s; }
.detail-trigger-icon::before { width: 14px; height: 1px; top: 50%; left: 0; }
.detail-trigger-icon::after { width: 1px; height: 14px; left: 50%; top: 0; }
.detail-expandable.open .detail-trigger-icon::after { transform: scaleY(0); }
.detail-body { display: none; padding-bottom: 20px; font-size: 13px; line-height: 1.85; color: var(--muted); font-weight: 300; }
.detail-expandable.open .detail-body { display: block; }

/* Qty control */
.qty-control { display: flex; align-items: center; border: 1px solid var(--border-mid); height: 48px; }
.qty-btn { width: 44px; height: 100%; background: none; border: none; cursor: pointer; font-size: 18px; color: var(--brown); display: flex; align-items: center; justify-content: center; transition: background .2s; font-family: "Cormorant Garamond", serif; font-weight: 200; }
.qty-btn:hover { background: var(--warm); }
.qty-input { width: 44px; height: 100%; text-align: center; border: none; border-left: 1px solid var(--border-mid); border-right: 1px solid var(--border-mid); background: var(--white); font-size: 14px; color: var(--text); font-family: "DM Sans", sans-serif; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ATC button */
.single_add_to_cart_button, .button.alt {
  display: block;
  width: 100%;
  padding: 18px 32px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--brown);
  border: 1.5px solid var(--brown);
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  transition: background .35s cubic-bezier(.4,0,.2,1), border-color .35s, transform .25s, box-shadow .35s;
  text-decoration: none;
  text-align: center;
  margin-top: 20px;
}
.single_add_to_cart_button:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(138,20,20,.22); }

/* Mobile sticky ATC */
.sticky-atc {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  align-items: center;
  gap: 16px;
}
.sticky-atc.visible { display: flex; }
.sticky-atc-name { font-family: "Cormorant Garamond", serif; font-size: 16px; font-weight: 400; color: var(--text); flex: 1; }
.sticky-atc-weight { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted2); }
.sticky-atc-price { font-family: "Cormorant Garamond", serif; font-size: 18px; font-weight: 400; color: var(--text); }
.sticky-atc .single_add_to_cart_button { width: auto; padding: 14px 28px; margin-top: 0; }
.sticky-atc-btn { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--white); background: var(--brown); border: 1.5px solid var(--brown); padding: 12px 24px; cursor: pointer; font-family: "DM Sans", sans-serif; font-weight: 500; white-space: nowrap; }

/* Taste experience section */
.pd-taste { background: var(--warm); padding: 120px 0; }
.pd-taste-inner { max-width: 1100px; margin: 0 auto; padding: 0 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pd-taste-lines { list-style: none; display: flex; flex-direction: column; gap: 0; }
.pd-taste-line {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--ld, 0s);
}
.pd-taste-line:first-child { border-top: 1px solid var(--border); }
.pd-taste-line.in { opacity: 1; transform: none; }
.taste-note { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 300; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.35; letter-spacing: -.01em; color: var(--brown-mid); margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Section shared elements */
.pd-eyebrow { font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.pd-eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--gold); flex-shrink: 0; }
.pd-section-h { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(32px, 3.8vw, 52px); line-height: .97; letter-spacing: -.03em; color: var(--text); margin-bottom: 20px; }
.pd-body { font-size: clamp(14px, 1.4vw, 16px); line-height: 1.95; color: var(--muted); font-weight: 300; }

/* ── INGREDIENTS SECTION ── */
.pd-ingredients { background: var(--cream); padding: 120px 0; }
.pd-ingredients-inner { max-width: 1100px; margin: 0 auto; padding: 0 56px; }
.pd-ing-header { max-width: 1100px; margin: 0 auto; padding: 0 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 0; }
.pd-ing-rows { display: flex; flex-direction: column; gap: 0; max-width: 1100px; margin: 56px auto 0; padding: 0 56px; }
.pd-ing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.pd-ing-row:first-child { border-top: 1px solid var(--border); }
.pd-ing-row--flip .pd-ing-img { order: 2; }
.pd-ing-row--flip .pd-ing-copy { order: 1; }
.pd-ing-img { position: relative; overflow: hidden; aspect-ratio: 3/2; background: var(--warm); }
.pd-ing-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 2s cubic-bezier(.4,0,.2,1); }
.pd-ing-img.in img { transform: scale(1); }
.pd-ing-copy { display: flex; flex-direction: column; gap: 0; }
.pd-ing-num { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 10px; letter-spacing: .18em; color: var(--gold); margin-bottom: 12px; display: block; }
.pd-ing-name { font-family: "Cormorant Garamond", serif; font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; color: var(--text); margin-bottom: 16px; letter-spacing: -.02em; }
.pd-ing-origin { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 400; margin-bottom: 14px; }
.pd-ing-rule { width: 32px; height: 1px; background: var(--gold); margin-bottom: 20px; }
.pd-ing-desc { font-size: clamp(13px, 1.3vw, 15px); line-height: 1.9; color: var(--muted); font-weight: 300; }
.pd-ing-body { font-size: clamp(13px, 1.3vw, 15px); line-height: 1.9; color: var(--muted); font-weight: 300; }
.pd-ing-role { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(16px, 1.6vw, 20px); color: var(--brown-mid); margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); line-height: 1.4; }

/* ── PROCESS STEPS SECTION ── */
.pd-process { background: var(--brown); padding: 120px 0; }
.pd-process-inner { max-width: 1100px; margin: 0 auto; padding: 0 56px; }
.pd-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(247,242,234,.06);
  border: 1px solid rgba(247,242,234,.06);
  margin-top: 56px;
}
.pd-step {
  padding: 36px 28px;
  background: var(--brown);
  transition: background .4s;
}
.pd-step:hover { background: #4a3320; }
.pd-step-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: rgba(247,242,234,.06);
  margin-bottom: 20px;
}
.pd-step-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-step-body {}
.pd-step-num { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 11px; letter-spacing: .14em; color: rgba(200,169,110,.6); margin-bottom: 12px; display: block; }
.pd-step-name { font-family: "Cormorant Garamond", serif; font-size: clamp(18px, 1.8vw, 22px); font-weight: 400; color: var(--white); margin-bottom: 10px; }
.pd-step-desc { font-size: 12px; line-height: 1.8; color: rgba(247,242,234,.48); font-weight: 300; }
.pd-step-note { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 13px; color: rgba(200,169,110,.6); margin-top: 12px; line-height: 1.5; }

/* Legacy process class aliases */
.pd-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(247,242,234,.06); border: 1px solid rgba(247,242,234,.06); margin-top: 56px; }
.pd-process-step { padding: 36px 28px; background: var(--brown); }
.pd-process-num { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 11px; letter-spacing: .14em; color: var(--gold); margin-bottom: 14px; display: block; }
.pd-process-title { font-family: "Cormorant Garamond", serif; font-size: clamp(18px, 1.8vw, 22px); font-weight: 400; color: var(--white); margin-bottom: 10px; }
.pd-process-body { font-size: 12px; line-height: 1.8; color: rgba(247,242,234,.48); font-weight: 300; }

/* ── LAUNCH / FIRST ORDER SECTION ── */
.pd-reviews-launch { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; }
.pd-launch-title { font-family: "Cormorant Garamond", serif; font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; color: var(--text); margin-bottom: 16px; letter-spacing: -.01em; }
.pd-launch-body { font-size: clamp(14px, 1.4vw, 16px); line-height: 1.9; color: var(--muted); font-weight: 300; margin-bottom: 24px; }
.pd-launch-offer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--warm);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
}
.pd-launch-pct { font-family: "Cormorant Garamond", serif; font-size: 36px; font-weight: 300; color: var(--brown); letter-spacing: -.02em; flex-shrink: 0; }
.pd-launch-off { font-size: 13px; line-height: 1.65; color: var(--muted); font-weight: 300; }

/* ── FAQ SECTION ── */
.pd-faq { background: var(--cream); padding: 80px 0; }
.pd-faq-inner { max-width: 1100px; margin: 0 auto; padding: 0 56px; }
.pd-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }
.pd-faq-item { border-bottom: 1px solid var(--border); }
.pd-faq-item:first-child { border-top: 1px solid var(--border); }
.pd-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
}
.pd-faq-q-text { font-size: 13px; font-weight: 500; color: var(--text); flex: 1; }
.pd-faq-icon { width: 14px; height: 14px; position: relative; flex-shrink: 0; }
.pd-faq-icon::before, .pd-faq-icon::after { content: ""; position: absolute; background: var(--brown); transition: transform .3s; }
.pd-faq-icon::before { width: 14px; height: 1px; top: 50%; left: 0; }
.pd-faq-icon::after { width: 1px; height: 14px; left: 50%; top: 0; }
.pd-faq-item.open .pd-faq-icon::after { transform: scaleY(0); }
.pd-faq-a { display: none; padding-bottom: 16px; font-size: 13px; line-height: 1.85; color: var(--muted); font-weight: 300; }
.pd-faq-item.open .pd-faq-a { display: block; }

/* ── CTA SECTION ── */
.pd-cta { background: var(--warm); padding: 120px 0; text-align: center; }
.pd-cta-inner { max-width: 640px; margin: 0 auto; padding: 0 56px; }
.pd-cta-h { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(32px, 4vw, 52px); line-height: .97; letter-spacing: -.03em; color: var(--text); margin-bottom: 16px; }
.pd-cta-sub { font-size: clamp(14px, 1.5vw, 17px); color: var(--muted); font-weight: 300; margin-bottom: 32px; line-height: 1.75; }
.pd-cta-btn { display: inline-block; margin-bottom: 32px; }
.pd-cta-trust { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); flex-wrap: wrap; }
.pd-cta-trust-item { font-weight: 400; }
.pd-cta-trust-sep { color: var(--gold); font-size: 10px; }

/* Reviews */
.pd-reviews { background: var(--cream); padding: 120px 0; }
.pd-reviews-inner { max-width: 1100px; margin: 0 auto; padding: 0 56px; }
.woocommerce #reviews { margin-top: 40px; }
.woocommerce #reviews #comments ol.commentlist li .comment_container { border: none; padding: 24px 0; border-bottom: 1px solid var(--border); }
.woocommerce #reviews #comments ol.commentlist li img.avatar { display: none; }
.woocommerce #reviews .star-rating { color: var(--gold); }

/* Responsive */
@media (max-width: 767px) {
  .product-fold { grid-template-columns: 1fr; min-height: auto; }
  .product-gallery { position: relative; height: 70vw; }
  .gallery-col { position: relative; height: 70vw; }
  .product-info, .info-col { padding: 40px 24px 56px; min-height: auto; }
  .pd-taste-inner { grid-template-columns: 1fr; gap: 40px; padding-left: 24px; padding-right: 24px; }
  .pd-ing-header, .pd-ing-rows, .pd-ingredients-inner, .pd-process-inner, .pd-reviews-inner, .pd-cta-inner, .pd-faq-inner { padding-left: 24px; padding-right: 24px; }
  .pd-ing-header { grid-template-columns: 1fr; gap: 24px; }
  .pd-ing-row, .pd-reviews-launch, .pd-faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .pd-ing-row--flip .pd-ing-img, .pd-ing-row--flip .pd-ing-copy { order: unset; }
  .pd-process-steps, .pd-process-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .product-info, .info-col { padding: 56px 44px; }
  .pd-taste-inner, .pd-ingredients-inner, .pd-ing-header, .pd-ing-rows, .pd-process-inner, .pd-reviews-inner, .pd-cta-inner, .pd-faq-inner { padding-left: 40px; padding-right: 40px; }
}
