/* ============================================================================
   VALYON — PDP v2 (single product). Ported from design_v2_pdp/{shop,pdp}.css.
   HARD-SCOPED to `.pdp-v2` so its tokens + components never reach the rest of
   the site (audit found 22 class names + conflicting token values shared with
   the theme's main.css). Header/footer/announce stay theme-owned and are NOT
   ported here. Sections are added as their markup lands (this file = hero +
   buybox shell; bundle/tabs/formula/etc. arrive in later steps).
   NOTE (Decision C): prices render native EUR only; the "Българизация за
   WooCommerce" plugin appends a лв. value into the price HTML later, so every
   price node stays fluid — no fixed widths, no overflow:hidden/ellipsis.
   ========================================================================== */

/* ---- tokens (scoped — override the theme :root only inside .pdp-v2) ---- */
.pdp-v2 {
  --cream: #F7EFE3;
  --cream-bar: #F4E8D8;
  --cream-soft: #FBF7F0;
  --peach: #F8E7D2;
  --dark: #1C1A16;
  --gold: #B8923E;
  --lav: #D9CBEF;
  --muted: #6E665B;
  --line: #E7DDCC;
  --gold-soft: rgba(184,146,62,.28);
  --shadow-sm: 0 2px 10px rgba(28,26,22,.05);
  --shadow-md: 0 14px 34px -12px rgba(28,26,22,.18);
  --shadow-lg: 0 30px 64px -20px rgba(28,26,22,.32);

  color: var(--dark);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(900px 500px at 80% -5%, #FBF4E7, transparent 60%),
    var(--cream);
}
.pdp-v2 * { box-sizing: border-box; }
.pdp-v2 img { display: block; max-width: 100%; }
.pdp-v2 a { color: inherit; text-decoration: none; }
.pdp-v2 .serif { font-family: 'Playfair Display', serif; }
.pdp-v2 .wrap { max-width: 1316px; margin: 0 auto; padding: 0 24px; }

/* ---- breadcrumb ---- */
.pdp-v2 .breadcrumb { font-size: 13px; letter-spacing: .04em; color: var(--muted); margin: 14px 0; }
.pdp-v2 .breadcrumb a:hover { color: var(--gold); }
.pdp-v2 .breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* ---- buttons (primitives) ---- */
.pdp-v2 .btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; font-family: inherit; border: none; cursor: pointer; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-radius: 7px; transition: transform .22s, box-shadow .22s, filter .22s, background .22s; }
.pdp-v2 .btn svg { transition: transform .22s; }
.pdp-v2 .btn-primary { background: linear-gradient(180deg,#2b2620,#1C1A16); color: #fff; font-size: 15px; padding: 18px 26px; box-shadow: 0 12px 28px -14px rgba(28,26,22,.6); }
.pdp-v2 .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(28,26,22,.65); }
.pdp-v2 .btn-primary:hover svg { transform: translateX(4px); }
.pdp-v2 .btn-ghost { background: none; color: var(--dark); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; padding: 6px 2px; border-bottom: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); border-radius: 0; }
.pdp-v2 .btn-ghost:hover { color: var(--gold); }

/* ---- layout ---- */
.pdp-v2 .pdp-main { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 54px; padding: 14px 0 70px; align-items: start; }

/* ---- GALLERY ---- */
.pdp-v2 .gallery { position: sticky; top: 116px; display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start; }
.pdp-v2 .gallery.no-thumbs { grid-template-columns: 1fr; } /* single image → stage fills the column */
.pdp-v2 .gal-thumbs { display: flex; flex-direction: column; gap: 14px; }
.pdp-v2 .gal-thumb { width: 84px; height: 96px; border-radius: 12px; border: 1.5px solid var(--line); background: linear-gradient(160deg, var(--pdp-stage-1,#FBF4E7), var(--pdp-panel-2,#F3E7D2)); overflow: hidden; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 6px; transition: border-color .2s, transform .2s; position: relative; }
.pdp-v2 .gal-thumb img { max-height: 100%; width: auto; object-fit: contain; }
.pdp-v2 .gal-thumb:hover { border-color: var(--pdp-accent-soft, rgba(184,146,62,.28)); transform: translateY(-2px); }
.pdp-v2 .gal-thumb.active { border-color: var(--pdp-accent, #B8923E); box-shadow: 0 8px 20px -10px var(--pdp-glow, rgba(184,146,62,.6)); }
.pdp-v2 .gal-thumb .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, monospace; font-size: 8.5px; color: #9b8d77; text-align: center; padding: 5px; line-height: 1.25; }
.pdp-v2 .gal-stage { position: relative; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 120% at 70% 18%, var(--pdp-stage-1,#FBF4E7), var(--pdp-stage-2,#F1E2C9) 78%); border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); box-shadow: var(--shadow-md); aspect-ratio: 1/1.12; display: flex; align-items: center; justify-content: center; }
.pdp-v2 .gal-stage::after { content: ""; position: absolute; width: 74%; height: 74%; left: 50%; top: 54%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), transparent 62%); pointer-events: none; }
.pdp-v2 .gal-main { position: relative; z-index: 2; max-height: 84%; width: auto; filter: drop-shadow(0 26px 34px rgba(28,26,22,.30)); transition: opacity .3s; }
.pdp-v2 .gal-badge { position: absolute; top: 18px; left: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(180deg, var(--pdp-badge-1,#C8A24E), var(--pdp-badge-2,#B0883A)); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 13px; border-radius: 30px; box-shadow: 0 8px 18px -8px var(--pdp-glow, rgba(184,146,62,.7)); }

/* ---- PRODUCT INFO ---- */
.pdp-v2 .pinfo .cats { font-size: 13px; letter-spacing: .04em; color: var(--muted); margin-bottom: 12px; }
.pdp-v2 .pinfo h1 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 44px; line-height: 1.05; letter-spacing: -.01em; }
.pdp-v2 .pinfo .formula { font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--pdp-accent, #B8923E); margin-top: 10px; }
.pdp-v2 .pinfo .rate-row { display: flex; align-items: center; gap: 16px; margin: 16px 0 18px; flex-wrap: wrap; }
.pdp-v2 .pinfo .stars { display: inline-flex; gap: 2px; align-items: center; color: var(--gold); }
.pdp-v2 .pinfo .rate-val { font-weight: 700; font-size: 14px; }
.pdp-v2 .pinfo .rate-link { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); transition: color .2s; }
.pdp-v2 .pinfo .rate-link:hover { color: var(--pdp-accent, #B8923E); }
/* no reviews yet: no fake stars/score, just a muted link to the form */
.pdp-v2 .pinfo .rate-link.rate-none { border-bottom-style: dashed; }
.pdp-v2 .wishlist { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); background: none; border: none; cursor: pointer; transition: color .2s; }
.pdp-v2 .wishlist:hover { color: var(--pdp-accent, #B8923E); }
.pdp-v2 .wishlist svg { transition: transform .2s, fill .2s; }
.pdp-v2 .wishlist.on svg { fill: var(--pdp-accent, #B8923E); stroke: var(--pdp-accent, #B8923E); }
.pdp-v2 .wishlist.on { color: var(--pdp-accent, #B8923E); }
.pdp-v2 .pinfo .lead { font-size: 16px; line-height: 1.62; color: #4d4639; margin: 6px 0 22px; }
.pdp-v2 .meta-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.pdp-v2 .meta-strip .m { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #4d4639; }
.pdp-v2 .meta-strip .m b { font-weight: 700; color: var(--dark); }
.pdp-v2 .meta-strip .m svg { color: var(--pdp-accent, #B8923E); flex: 0 0 auto; }

/* why-choose mini benefits */
.pdp-v2 .why-choose { margin-bottom: 26px; }
.pdp-v2 .why-choose h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.pdp-v2 .wc-item { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.pdp-v2 .wc-item:last-child { border-bottom: none; }
.pdp-v2 .wc-item .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(160deg, var(--pdp-panel-1,#FBEFDC), var(--pdp-panel-2,#F3E2C4)); border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); display: flex; align-items: center; justify-content: center; color: var(--pdp-accent, #B8923E); }
.pdp-v2 .wc-item .tx .t { font-weight: 700; font-size: 15px; }
.pdp-v2 .wc-item .tx .d { font-size: 14px; color: #4d4639; line-height: 1.5; margin-top: 3px; }

/* ---- BUY BOX (shell — native add-to-cart, styled. Radio cards: step 4) ---- */
.pdp-v2 .buybox { background: var(--cream-soft); border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); border-radius: 16px; box-shadow: var(--shadow-md); padding: 24px; }
.pdp-v2 .variant-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* native price (fluid — Decision C: plugin appends лв. later) */
.pdp-v2 .buybox .price { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 30px; color: var(--dark); margin-bottom: 16px; display: block; }
.pdp-v2 .buybox .price del { color: var(--muted); font-size: .6em; font-weight: 400; margin-right: 8px; }
.pdp-v2 .buybox .price ins { text-decoration: none; }

/* native variations form bridge */
.pdp-v2 form.cart { display: block; }
.pdp-v2 form.cart .variations { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.pdp-v2 form.cart .variations th,
.pdp-v2 form.cart .variations td { padding: 6px 0; text-align: left; vertical-align: middle; }
.pdp-v2 form.cart .variations th.label label { font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pdp-v2 form.cart select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; font-family: inherit; font-size: 15px; color: var(--dark); }
.pdp-v2 form.cart .reset_variations { display: inline-block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.pdp-v2 .single_variation_wrap { margin-top: 8px; }
.pdp-v2 .single_variation .price { font-size: 28px; margin-bottom: 14px; }
.pdp-v2 form.cart .quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 11px; background: #fff; overflow: hidden; margin-right: 12px; }
.pdp-v2 form.cart .quantity input.qty { width: 56px; height: 50px; border: none; text-align: center; font-family: inherit; font-weight: 700; font-size: 16px; background: none; -moz-appearance: textfield; }
.pdp-v2 form.cart .quantity input.qty::-webkit-outer-spin-button,
.pdp-v2 form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-v2 .woocommerce-variation-add-to-cart { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.pdp-v2 .single_add_to_cart_button,
.pdp-v2 form.cart button.single_add_to_cart_button { flex: 1; min-width: 200px; background: linear-gradient(180deg,#2b2620,#1C1A16); color: #fff; border: none; border-radius: 11px; font-family: inherit; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: 15px; padding: 18px 26px; cursor: pointer; box-shadow: 0 12px 28px -14px rgba(28,26,22,.6); transition: transform .22s, box-shadow .22s; }
.pdp-v2 .single_add_to_cart_button:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(28,26,22,.65); }
.pdp-v2 .single_add_to_cart_button.disabled,
.pdp-v2 .single_add_to_cart_button.wc-variation-selection-needed { opacity: .5; }

.pdp-v2 .buybox .stock { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #2f7d4f; font-weight: 700; margin-top: 16px; }
.pdp-v2 .buybox .stock.out { color: #b35; }
.pdp-v2 .buybox .stock .dot { width: 8px; height: 8px; border-radius: 50%; background: #2f7d4f; box-shadow: 0 0 0 3px rgba(47,125,79,.18); }
.pdp-v2 .buybox .stock.out .dot { background: #b35; box-shadow: 0 0 0 3px rgba(179,51,85,.18); }

.pdp-v2 .buy-trust { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.pdp-v2 .buy-trust .bt { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #4d4639; }
.pdp-v2 .buy-trust .bt svg { color: var(--pdp-accent, #B8923E); flex: 0 0 auto; }
.pdp-v2 .buy-trust .bt-promo { font-weight: 700; color: #2a241b; background: var(--pdp-accent-soft, rgba(184,146,62,.1)); border: 1px solid var(--pdp-accent, #B8923E); border-radius: 10px; padding: 10px 12px; }
.pdp-v2 .buy-trust .pays { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.pdp-v2 .buy-trust .pays img { height: 22px; }

/* ---- BUY BOX variant cards (step 4 — drive the native <select>) ---- */
/* sr-only the native attribute table + the range price when cards are shown. */
.pdp-v2 .buybox:has(form.pdp-has-cards) > .price { display: none; }
/* Hide the native attribute table when cards are shown. display:none (not an
   sr-only clip — `height` is ignored on <table>, so it stayed 87px tall). The
   <select> inside stays in the DOM and fully functional: pdp-v2.js reads/writes
   its value and it still submits, so wc-variation-form keeps working. */
.pdp-v2 form.pdp-has-cards .variations { display: none !important; }
/* hide the native single-variation price line — !important beats the inline
   display the wc-variation-form JS sets on it. (The add-to-cart button is a
   sibling, not inside .single_variation, so it stays visible.) */
.pdp-v2 form.pdp-has-cards .single_variation { display: none !important; }

.pdp-v2 .variants { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pdp-v2 .variant { position: relative; border: 1.5px solid var(--line); border-radius: 13px; padding: 16px 16px 15px; cursor: pointer; background: #fff; transition: border-color .2s, box-shadow .2s, background .2s; }
.pdp-v2 .variant input { position: absolute; opacity: 0; pointer-events: none; }
.pdp-v2 .variant .v-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pdp-v2 .variant .v-qty { font-weight: 700; font-size: 15px; }
.pdp-v2 .variant .v-save { font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, var(--pdp-badge-1,#C8A24E), var(--pdp-badge-2,#B0883A)); padding: 3px 9px; border-radius: 20px; }
.pdp-v2 .variant .v-price { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 26px; line-height: 1; }
.pdp-v2 .variant .v-price del { color: var(--muted); font-size: .55em; font-weight: 400; margin-right: 6px; }
.pdp-v2 .variant .v-price ins { text-decoration: none; }
.pdp-v2 .variant .v-unit { font-size: 12px; color: var(--muted); margin-top: 6px; }
.pdp-v2 .variant .v-check { position: absolute; top: 13px; right: 13px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; transition: border-color .2s; }
.pdp-v2 .variant .v-check::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pdp-accent, #B8923E); transform: scale(0); transition: transform .2s; }
.pdp-v2 .variant.best { border-color: var(--pdp-accent-soft, rgba(184,146,62,.28)); }
.pdp-v2 .variant .v-tag { position: absolute; top: -10px; left: 14px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--dark); padding: 3px 9px; border-radius: 20px; }
.pdp-v2 .variant:has(input:checked) { border-color: var(--pdp-accent, #B8923E); background: linear-gradient(160deg, var(--pdp-variant-1,#FCF6EC), var(--pdp-variant-2,#FBF1E0)); box-shadow: 0 12px 28px -16px var(--pdp-glow, rgba(184,146,62,.6)); }
.pdp-v2 .variant:has(input:checked) .v-check { border-color: var(--pdp-accent, #B8923E); }
.pdp-v2 .variant:has(input:checked) .v-check::after { transform: scale(1); }

/* qty stepper (− input +) injected around the native qty input by pdp-v2.js */
.pdp-v2 .valyon-qty-btn { width: 42px; height: 50px; border: none; background: none; cursor: pointer; font-size: 18px; color: var(--dark); display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.pdp-v2 .valyon-qty-btn:hover { background: var(--cream); color: var(--gold); }

/* placeholder marker (missing assets) */
.pdp-v2 .asset-missing { outline: 2px dashed var(--pdp-accent-soft, rgba(184,146,62,.28)); outline-offset: -2px; }

/* ---- SECTION SHELL ---- */
.pdp-v2 .sec { padding: 54px 0; }
.pdp-v2 .sec.tight { padding: 34px 0; }
.pdp-v2 .sec-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 32px; text-align: center; letter-spacing: -.01em; }
.pdp-v2 .sec-title.left { text-align: left; font-size: 26px; margin-bottom: 20px; }

/* ---- CROSS-SELL / BUNDLE ---- */
.pdp-v2 .bundle { background: linear-gradient(160deg, var(--pdp-bundle-1,#FCF6EC), var(--pdp-bundle-2,#F8EBD8)); border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); border-radius: 18px; box-shadow: var(--shadow-md); padding: 30px 34px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.pdp-v2 .bundle .b-visual { display: flex; align-items: center; gap: 8px; }
.pdp-v2 .bundle .b-prod { width: 120px; height: 150px; border-radius: 12px; background: radial-gradient(120% 120% at 60% 20%,#fff, var(--pdp-stage-2,#F1E2C9)); border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); display: flex; align-items: center; justify-content: center; padding: 8px; flex: 0 0 auto; }
.pdp-v2 .bundle .b-prod img { max-height: 100%; width: auto; filter: drop-shadow(0 10px 16px rgba(28,26,22,.25)); }
.pdp-v2 .bundle .b-plus { font-size: 28px; color: var(--pdp-accent, #B8923E); font-weight: 300; }
.pdp-v2 .bundle .b-info { min-width: 0; display: flex; align-items: center; gap: 26px; }
.pdp-v2 .bundle .b-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pdp-accent, #B8923E); margin-bottom: 8px; }
.pdp-v2 .bundle .b-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 21px; line-height: 1.2; }
.pdp-v2 .bundle .b-desc { font-size: 14.5px; color: #4d4639; line-height: 1.5; margin-top: 8px; max-width: 420px; }
.pdp-v2 .bundle .b-buy { text-align: right; flex: 0 0 auto; }
.pdp-v2 .bundle .b-old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.pdp-v2 .bundle .b-price { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 30px; line-height: 1.05; margin-bottom: 14px; }
.pdp-v2 .bundle .b-save { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, var(--pdp-badge-1,#C8A24E), var(--pdp-badge-2,#B0883A)); padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; }

/* ---- BENEFIT STRIP (4 icons) ---- */
.pdp-v2 .benefits { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.pdp-v2 .benefit { text-align: center; padding: 8px 14px; position: relative; }
.pdp-v2 .benefit + .benefit::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(180deg,transparent,var(--pdp-accent-soft, rgba(184,146,62,.28)),transparent); }
.pdp-v2 .benefit .ic { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(160deg, var(--pdp-panel-1,#FBEFDC), var(--pdp-panel-2,#F3E2C4)); border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); display: flex; align-items: center; justify-content: center; color: var(--pdp-accent, #B8923E); box-shadow: var(--shadow-sm); }
.pdp-v2 .benefit h4 { font-weight: 800; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 8px; line-height: 1.25; }
.pdp-v2 .benefit p { font-size: 14px; color: #4d4639; line-height: 1.5; }

/* ---- TABS ---- */
.pdp-v2 .tabs { border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); border-radius: 18px; background: var(--cream-soft); box-shadow: var(--shadow-md); overflow: hidden; }
.pdp-v2 .tab-nav { display: flex; border-bottom: 1px solid var(--line); background: #fff; }
.pdp-v2 .tab-nav button { flex: 1; padding: 20px 16px; background: none; border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 15px; color: var(--muted); position: relative; transition: color .2s; white-space: nowrap; }
.pdp-v2 .tab-nav button::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 3px; background: var(--pdp-accent, #B8923E); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .25s; }
.pdp-v2 .tab-nav button.active { color: var(--dark); }
.pdp-v2 .tab-nav button.active::after { transform: scaleX(1); }
.pdp-v2 .tab-acc-head { display: none; }
.pdp-v2 .tab-panel { display: none; padding: 36px 40px; }
.pdp-v2 .tab-panel.active { display: block; }
.pdp-v2 .tab-panel .draft { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pdp-accent-deep, #a8742a); background: var(--pdp-draft-bg, rgba(184,146,62,.14)); border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); padding: 3px 8px; border-radius: 5px; margin-bottom: 14px; }
.pdp-v2 .tab-panel p { font-size: 15.5px; line-height: 1.7; color: #4d4639; margin-bottom: 14px; max-width: 760px; }
.pdp-v2 .tab-panel p:last-child { margin-bottom: 0; }

/* ingredient cards */
.pdp-v2 .ingr-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 22px; }
.pdp-v2 .ic-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.pdp-v2 .ic-card:hover { border-color: var(--pdp-accent-soft, rgba(184,146,62,.28)); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pdp-v2 .ic-card .ic-ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(160deg, var(--pdp-panel-1,#FBEFDC), var(--pdp-panel-2,#F3E2C4)); border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); display: flex; align-items: center; justify-content: center; color: var(--pdp-accent, #B8923E); }
.pdp-v2 .ic-card .ic-name { font-weight: 800; font-size: 15px; letter-spacing: .01em; }
.pdp-v2 .ic-card .ic-dose { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 14px; color: var(--pdp-accent, #B8923E); margin: 2px 0 7px; }
.pdp-v2 .ic-card .ic-desc { font-size: 13.5px; color: #4d4639; line-height: 1.55; }

/* ---- WHY THIS FORMULA (with image) ---- */
.pdp-v2 .formula-block { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pdp-v2 .fb-media { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); aspect-ratio: 4/3; position: relative; background: linear-gradient(160deg, var(--pdp-stage-1,#FBF4E7), var(--pdp-stage-2,#F1E2C9)); }
.pdp-v2 .fb-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-v2 .fb-media .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9b8d77; font-family: ui-monospace, monospace; font-size: 12px; }
.pdp-v2 .fb-list { display: flex; flex-direction: column; gap: 20px; }
.pdp-v2 .fb-item { display: flex; gap: 16px; }
.pdp-v2 .fb-item .n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--pdp-accent, #B8923E); color: var(--pdp-accent, #B8923E); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.pdp-v2 .fb-item .ft { font-weight: 800; font-size: 16px; margin-bottom: 5px; }
.pdp-v2 .fb-item .fd { font-size: 14.5px; color: #4d4639; line-height: 1.55; }

/* ---- EDITORIAL ---- */
.pdp-v2 .editorial { background: var(--pdp-ed-bg, var(--dark)); border: 0; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; box-shadow: var(--shadow-lg); }
.pdp-v2 .editorial .ed-media { position: relative; min-height: 380px; background: linear-gradient(160deg, var(--pdp-ed-1,#2a2620), var(--pdp-ed-2,#1C1A16)); }
.pdp-v2 .editorial .ed-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-v2 .editorial .ed-body { padding: 54px 50px; color: var(--cream); display: flex; flex-direction: column; justify-content: center; }
.pdp-v2 .editorial .ed-eyebrow { color: var(--pdp-accent-on-dark, #B8923E); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.pdp-v2 .editorial h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 30px; line-height: 1.15; margin-bottom: 18px; }
.pdp-v2 .editorial p { font-size: 15px; line-height: 1.7; color: #C9C0B0; margin: 0 0 14px; max-width: none; }
.pdp-v2 .editorial p:last-child { margin-bottom: 0; }

/* ---- WHY VALYON (brand band) ---- */
.pdp-v2 .whyv { background: radial-gradient(130% 150% at 50% -25%,#272218,#1C1A16 62%); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px 12px; }
.pdp-v2 .whyv-title { text-align: center; padding: 18px; }
.pdp-v2 .whyv-title h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.pdp-v2 .whyv-grid { display: grid; grid-template-columns: repeat(4,1fr); padding: 18px 8px 30px; }
.pdp-v2 .whyv-col { padding: 0 30px; text-align: center; position: relative; }
.pdp-v2 .whyv-col + .whyv-col::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(184,146,62,.4); }
.pdp-v2 .whyv-col .ic { height: 46px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.pdp-v2 .whyv-col h4 { font-weight: 800; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.pdp-v2 .whyv-col p { font-size: 14px; color: #c9c3b8; line-height: 1.5; }

/* ---- FAQ ---- */
.pdp-v2 .faq { max-width: 860px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 12px; }
.pdp-v2 .faq-item { border: 1px solid var(--line); border-radius: 13px; background: var(--cream-soft); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pdp-v2 .faq-item.open { border-color: var(--pdp-accent-soft, rgba(184,146,62,.28)); box-shadow: var(--shadow-sm); }
.pdp-v2 .faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: none; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 16px; color: var(--dark); text-align: left; }
.pdp-v2 .faq-q .chev { flex: 0 0 auto; color: var(--pdp-accent, #B8923E); transition: transform .25s; }
.pdp-v2 .faq-item.open .chev { transform: rotate(180deg); }
.pdp-v2 .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.pdp-v2 .faq-a .inner { padding: 0 24px 20px; font-size: 15px; line-height: 1.65; color: #4d4639; }

/* ---- REVIEWS (native woo, bridged) ---- */
/* Neutralize the theme's global `.reviews` band (dark noir bg + cream text) —
   one of the colliding class names; we must override bg/color/border here. */
.pdp-v2 .reviews { max-width: 1000px; margin: 36px auto 0; background: transparent; color: var(--dark); border-top: 0; }
.pdp-v2 .rev-summary { display: flex; align-items: center; gap: 18px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.pdp-v2 .rev-summary .big { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 46px; line-height: 1; }
.pdp-v2 .rev-summary .stars { display: inline-flex; gap: 3px; color: var(--gold); }
.pdp-v2 .rev-summary .cnt { font-size: 14px; color: var(--muted); }
/* native comment list → cards */
/* hide the native "Reviews" title (we render our own "Какво казват…" heading) */
.pdp-v2 .reviews .woocommerce-Reviews-title { display: none; }
.pdp-v2 .reviews #comments { margin: 0; }

/* review cards (design .rev-card; markup from single-product/review.php) */
/* Clean 2-col grid: cards fill left→right (grid-auto-flow:row) with no holes; the
   summary is a separate centered block ABOVE this (rendered before the list). Cards
   align to the TOP of their row track (align-items:start) so a 1-word review ("топ")
   stays a compact box instead of stretching into a hollow card. */
.pdp-v2 .reviews .commentlist { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: row; align-items: start; gap: 28px; }
/* Selector matches WooCommerce's own 2-ID review path (#reviews #comments) so it
   OUT-SPECIFIES WC/GeneratePress core comment styling — otherwise the white card
   bg loses to `.woocommerce #reviews #comments ol.commentlist li` and the card shows
   the section cream through. Values are 1:1 with design pdp.css .rev-card; the gold
   (Flex) / lavender (Sleep) left border is the token --pdp-accent (set per theme on
   the .pdp-v2 wrapper). */
.pdp-v2 #reviews #comments ol.commentlist li.rev-card { margin: 0; background: #fff; border: 1px solid #ece6dc; border-left: 3px solid var(--pdp-accent, #B8923E); border-radius: 13px; padding: 28px 30px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.pdp-v2 #reviews #comments ol.commentlist li.rev-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pdp-v2 .reviews .rev-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pdp-v2 .reviews .rev-who { display: flex; align-items: center; gap: 13px; }
.pdp-v2 .reviews .rev-who .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 5px 12px -5px rgba(28,26,22,.45); }
.pdp-v2 .reviews .rev-who .avatar-initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--pdp-panel-1,#FBEFDC), var(--pdp-panel-2,#F3E2C4)); color: var(--dark, #1C1A16); font-weight: 800; font-size: 16px; text-transform: uppercase; }
.pdp-v2 .reviews .rev-who .nm { font-weight: 700; font-size: 16px; color: var(--dark); }
.pdp-v2 .reviews .rev-who .dt { font-size: 13px; color: #9a9183; margin-top: 2px; }
.pdp-v2 .reviews .rev-stars { display: inline-flex; gap: 2px; flex: 0 0 auto; }
.pdp-v2 .reviews .rev-text { font-size: 15px; line-height: 1.7; color: #3a342a; }
.pdp-v2 .reviews .rev-text p { margin: 0 0 8px; }
.pdp-v2 .reviews .rev-text p:last-child { margin-bottom: 0; }
.pdp-v2 .reviews .rev-pending { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.pdp-v2 .reviews .rev-verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #2f7d4f; font-weight: 700; margin-top: 12px; }

/* ---- REVIEWS MARQUEE (built by pdp-v2.js mountReviewsMarquee) ----------------
   Mirrors the Home ingredients marquee: the native .commentlist becomes a flex
   track, duplicated for a seamless translateX(0 → -50%) loop, paused on hover.
   The cards keep their white/accent styling (rule above); only the layout flows.
   prefers-reduced-motion (below) falls back to the static 2-col grid. -------- */
.pdp-v2 .reviews .rev-marquee { overflow: hidden; width: 100%; max-width: 100%; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.pdp-v2 .reviews ol.commentlist.rev-track { display: flex; flex-wrap: nowrap; width: max-content; gap: 28px; padding: 6px 2px; align-items: stretch; animation: ingr-marquee 60s linear infinite; will-change: transform; }
.pdp-v2 .reviews .rev-marquee:hover .rev-track,
.pdp-v2 .reviews .rev-marquee:active .rev-track { animation-play-state: paused; }
/* same keyframes as the ingredients marquee (home-v2.css isn't loaded on the PDP). */
@keyframes ingr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* fixed-width cards; clamp the body to ~5 lines so heights stay even */
.pdp-v2 #reviews #comments ol.commentlist.rev-track li.rev-card { flex: 0 0 auto; width: 460px; }
.pdp-v2 .reviews ol.commentlist.rev-track li.rev-card .rev-text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* empty reviews state — branded "be the first" notice (native string remapped) */
.pdp-v2 .reviews .woocommerce-noreviews { text-align: center; color: var(--dark); background: var(--cream-soft); border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); border-radius: 14px; padding: 22px; font-size: 15px; margin: 0 0 8px; }

/* ---- WRITE A REVIEW (native Woo #review_form, styled to design_v2_review_form) ----
   Selectors use the 2-ID path `#reviews #respond` so they OUT-SPECIFY GeneratePress /
   WooCommerce core comment-form styling (which otherwise erased the card, the rhythm
   and the star colours). Card is cream-soft + gold-soft border + shadow-md; accents
   stay GOLD on BOTH themes (the approved screenshot is the Sleep PDP with a gold
   form) — uses --gold, not --pdp-accent. Submit reuses .btn-primary via class_submit;
   the .rf-* markup is injected by valyon_review_form_args. */
.pdp-v2 #reviews #review_form_wrapper { max-width: 760px; margin: 38px auto 0; }
.pdp-v2 #reviews #respond { background: var(--cream-soft); border: 1px solid var(--gold-soft); border-radius: 16px; box-shadow: var(--shadow-md); padding: 32px 34px 34px; }
/* head — icon + title + subtitle */
.pdp-v2 #reviews #respond .rf-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 6px; }
.pdp-v2 #reviews #respond .rf-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(160deg,#FBEFDC,#F3E2C4); border: 1px solid var(--gold-soft); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.pdp-v2 #reviews #respond .comment-reply-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 24px; line-height: 1.15; margin: 0; color: var(--dark); }
.pdp-v2 #reviews #respond .rf-sub { font-size: 14px; color: var(--muted); margin-top: 3px; }
/* green "verified buyers only" info banner (--success tones) — injected after the
   head (title_reply_after) so it shows for BOTH guests and logged-in users. */
.pdp-v2 #reviews #respond .rf-note { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #2a3f33; background: rgba(47,115,80,.12); border: 1px solid rgba(47,115,80,.3); border-radius: 10px; padding: 11px 14px; margin: 18px 0 24px; }
.pdp-v2 #reviews #respond .rf-note svg { flex: 0 0 auto; color: #2f7350; }
/* labels */
.pdp-v2 #reviews #respond label { display: block; font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 9px; }
.pdp-v2 #reviews #respond label .required,
.pdp-v2 #reviews #respond label .req { color: var(--gold); border: 0; text-decoration: none; }
/* Name + Email side by side; everything else full-width. Native field order
   (comment first) is preserved — we only place author/email into two columns. */
.pdp-v2 #reviews #respond form.comment-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.pdp-v2 #reviews #respond form.comment-form > * { grid-column: 1 / -1; }
.pdp-v2 #reviews #respond .comment-form-author { grid-column: 1 / 2; }
.pdp-v2 #reviews #respond .comment-form-email { grid-column: 2 / 3; }
.pdp-v2 #reviews #respond .comment-form-rating,
.pdp-v2 #reviews #respond .comment-form-author,
.pdp-v2 #reviews #respond .comment-form-email,
.pdp-v2 #reviews #respond .comment-form-comment { margin: 0 0 18px; }
/* tighten the rating → review rhythm: kill Woo's extra p.stars margin (it stacked
   on top of .comment-form-rating, ~doubling the gap). */
.pdp-v2 #reviews #respond .comment-form-rating { margin: 0 0 18px; }
.pdp-v2 #reviews #respond .comment-form-rating label { margin-bottom: 10px; }
.pdp-v2 #reviews #respond p.stars { margin: 0; line-height: 1; }
/* inputs (52px, gold focus ring) */
.pdp-v2 #reviews #respond input[type="text"],
.pdp-v2 #reviews #respond input[type="email"],
.pdp-v2 #reviews #respond textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 15px; font-family: inherit; font-size: 15px; color: var(--dark); background: #fff; transition: border-color .2s, box-shadow .2s; }
.pdp-v2 #reviews #respond input[type="text"],
.pdp-v2 #reviews #respond input[type="email"] { height: 52px; padding: 0 15px; }
.pdp-v2 #reviews #respond textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.pdp-v2 #reviews #respond input:focus,
.pdp-v2 #reviews #respond textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,146,62,.14); }
.pdp-v2 #reviews #respond input::placeholder,
.pdp-v2 #reviews #respond textarea::placeholder { color: var(--muted); opacity: .75; }
/* native Woo star picker — SOLID stars always (\e020); soft-beige when empty, gold
   when filled (hover fills up to cursor, selection fills up to the chosen star). */
.pdp-v2 #reviews #respond p.stars a::before,
.pdp-v2 #reviews #respond p.stars:hover a::before,
.pdp-v2 #reviews #respond p.stars a:hover ~ a::before,
.pdp-v2 #reviews #respond p.stars.selected a.active::before,
.pdp-v2 #reviews #respond p.stars.selected a.active ~ a::before,
.pdp-v2 #reviews #respond p.stars.selected a:not(.active)::before { content: "\e020"; }
.pdp-v2 #reviews #respond p.stars a::before { color: #E7DDCC; }
.pdp-v2 #reviews #respond p.stars:hover a::before { color: var(--gold); }
.pdp-v2 #reviews #respond p.stars a:hover ~ a::before { color: #E7DDCC; }
.pdp-v2 #reviews #respond p.stars.selected a:not(.active)::before,
.pdp-v2 #reviews #respond p.stars.selected a.active::before { color: var(--gold); }
.pdp-v2 #reviews #respond p.stars.selected a.active ~ a::before { color: #E7DDCC; }
/* submit row — ink .btn-primary (via class_submit) + reassurance hint */
.pdp-v2 #reviews #respond .rf-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.pdp-v2 #reviews #respond .rf-actions .btn { padding: 16px 30px; white-space: nowrap; }
.pdp-v2 #reviews #respond .rf-hint { font-size: 12.5px; color: var(--muted); }

/* ---- INSTAGRAM ---- */
.pdp-v2 .insta-head { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 30px; }
.pdp-v2 .insta-handle { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; color: var(--dark); }
.pdp-v2 .insta-handle svg { color: var(--pdp-accent, #B8923E); }
.pdp-v2 .sec-sub { text-align: center; color: var(--muted); font-size: 16px; max-width: 620px; margin: 0 auto; }
.pdp-v2 .insta-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.pdp-v2 .insta-cell { position: relative; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; border: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); background: linear-gradient(160deg, var(--pdp-stage-1,#FBF4E7), var(--pdp-stage-2,#F1E2C9)); cursor: pointer; display: block; }
.pdp-v2 .insta-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pdp-v2 .insta-cell:hover img { transform: scale(1.06); }
.pdp-v2 .insta-cell .ig-ic { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; background: rgba(28,26,22,.32); transition: opacity .3s; }
.pdp-v2 .insta-cell:hover .ig-ic { opacity: 1; }
.pdp-v2 .insta-cell .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9b8d77; font-family: ui-monospace, monospace; font-size: 11px; text-align: center; padding: 12px; }

/* ---- MOBILE STICKY ADD-TO-CART (remote on the native form) ---- */
.pdp-v2 .pdp-mobibar { display: none; }
/* Fallback for browsers without backdrop-filter: solid cream, no blur. */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pdp-v2 .pdp-mobibar { background: var(--cream-soft); }
}

/* ============================================================================
   RESPONSIVE (hero)
   ========================================================================== */
@media (max-width: 1024px) {
  .pdp-v2 .pdp-main { grid-template-columns: 1fr; gap: 36px; }
  .pdp-v2 .gallery { position: static; }
  .pdp-v2 .formula-block, .pdp-v2 .editorial { grid-template-columns: 1fr; }
  .pdp-v2 .editorial .ed-media { min-height: 280px; }
}
@media (max-width: 760px) {
  .pdp-v2 .pinfo h1 { font-size: 32px; }
  /* gallery → swipe */
  .pdp-v2 .gallery { grid-template-columns: 1fr; }
  .pdp-v2 .gal-stage { aspect-ratio: 1/1; }
  .pdp-v2 .gal-thumbs { flex-direction: row; order: 2; overflow-x: auto; gap: 10px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; }
  .pdp-v2 .gal-thumb { flex: 0 0 72px; width: 72px; height: 80px; scroll-snap-align: start; }
  /* variant cards stack */
  .pdp-v2 .variants { grid-template-columns: 1fr; }
  /* Section rhythm: a bit more vertical room between stacked bands on phones. */
  .pdp-v2 .sec { padding: 46px 0; }
  .pdp-v2 .sec-title { font-size: 26px; }
  /* buy-box trust list: a touch more air between rows. */
  .pdp-v2 .buy-trust { gap: 13px; margin-top: 20px; padding-top: 20px; }

  /* bundle → vertical */
  .pdp-v2 .bundle { grid-template-columns: 1fr; gap: 18px; text-align: left; padding: 24px; }
  .pdp-v2 .bundle .b-info { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pdp-v2 .bundle .b-visual { align-self: center; gap: 6px; }
  .pdp-v2 .bundle .b-prod { width: 92px; height: 116px; }
  .pdp-v2 .bundle .b-plus { font-size: 22px; }
  .pdp-v2 .bundle .b-name { font-size: 19px; }
  .pdp-v2 .bundle .b-buy { text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--pdp-accent-soft, rgba(184,146,62,.28)); }
  .pdp-v2 .bundle .b-buy .b-save { margin-bottom: 0; order: 3; }
  .pdp-v2 .bundle .b-buy .btn { flex: 1 0 100%; order: 4; justify-content: center; }
  .pdp-v2 .bundle .b-price { margin-bottom: 0; }
  .pdp-v2 .bundle .b-priceblock { display: flex; flex-direction: column; }

  /* benefit strip → 2×2 */
  .pdp-v2 .benefits { grid-template-columns: 1fr 1fr; gap: 18px; }
  .pdp-v2 .benefit + .benefit::before { display: none; }

  /* why valyon → 2×2 */
  .pdp-v2 .whyv-grid { grid-template-columns: 1fr 1fr; gap: 26px 8px; }
  .pdp-v2 .whyv-col + .whyv-col::before { display: none; }
  /* reviews → 1-col, instagram → 2-col */
  .pdp-v2 .reviews .commentlist { grid-template-columns: 1fr; }
  /* marquee cards narrower on phones (the static-grid fallback stays 1 col above) */
  .pdp-v2 #reviews #comments ol.commentlist.rev-track li.rev-card { width: 85vw; }
  /* review form → single column, full-width button */
  .pdp-v2 #reviews #respond { padding: 26px 22px 28px; }
  .pdp-v2 #reviews #respond .comment-reply-title { font-size: 21px; }
  .pdp-v2 #reviews #respond form.comment-form { grid-template-columns: 1fr; }
  .pdp-v2 #reviews #respond .comment-form-author,
  .pdp-v2 #reviews #respond .comment-form-email { grid-column: 1 / -1; }
  .pdp-v2 #reviews #respond .rf-actions .btn { width: 100%; justify-content: center; }
  .pdp-v2 .insta-grid { grid-template-columns: 1fr 1fr; }

  /* tabs → accordion */
  .pdp-v2 .tabs { border: none; background: none; box-shadow: none; border-radius: 0; display: flex; flex-direction: column; gap: 12px; overflow: visible; }
  .pdp-v2 .tab-nav { display: none; }
  .pdp-v2 .tab-acc-head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 20px; background: var(--cream-soft); border: 1px solid var(--line); border-radius: 13px; font-family: inherit; font-weight: 700; font-size: 16px; cursor: pointer; color: var(--dark); }
  .pdp-v2 .tab-acc-head .chev { color: var(--pdp-accent, #B8923E); transition: transform .25s; }
  .pdp-v2 .tab-acc-head.active { border-color: var(--pdp-accent-soft, rgba(184,146,62,.28)); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .pdp-v2 .tab-acc-head.active .chev { transform: rotate(180deg); }
  .pdp-v2 .tab-panel { padding: 0; border: 1px solid var(--line); border-top: none; border-radius: 0 0 13px 13px; }
  .pdp-v2 .tab-panel.active { display: block; padding: 24px 20px; }
  .pdp-v2 .ingr-cards { grid-template-columns: 1fr; }

  /* sticky add-to-cart bar (remote) */
  /* Glassy sticky bar — translucent cream + blur, fine top border, no drop shadow
     (depth from the blur). The "Добави в количката" CTA inside stays solid ink. */
  .pdp-v2 .pdp-mobibar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: rgba(251, 247, 240, 0.80); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); border-top: 1px solid rgba(34, 25, 17, 0.08); padding: 11px 16px calc(11px + env(safe-area-inset-bottom)); align-items: center; gap: 14px; }
  .pdp-v2 .pdp-mobibar .mb-price { display: flex; flex-direction: column; line-height: 1.05; }
  .pdp-v2 .pdp-mobibar .mb-price .l { font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
  .pdp-v2 .pdp-mobibar .mb-price .v { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 22px; }
  .pdp-v2 .pdp-mobibar .mb-price .v .price { font-size: inherit; margin: 0; }
  .pdp-v2 .pdp-mobibar .btn { flex: 1; padding: 15px; }
  /* native body class on product pages → scoped clearance for the fixed bar */
  body.single-product { padding-bottom: 84px; }
}

/* Lining figures on all PDP price/number elements (Playfair → oldstyle by default;
   wc_price amounts are also covered globally via .woocommerce-Price-amount). */
.pdp-v2 .price, .pdp-v2 .v-price, .pdp-v2 .v-unit, .pdp-v2 .b-price, .pdp-v2 .b-old,
.pdp-v2 .b-lv, .pdp-v2 .mb-price .v, .pdp-v2 .rev-summary .big, .pdp-v2 .ic-card .ic-dose,
.pdp-v2 .quantity input.qty, .pdp-v2 .meta-strip .m {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

/* Reviews marquee — reduced-motion fallback. pdp-v2.js skips building the marquee
   when reduce is set (the static grid stays), so this only matters if a built
   marquee is later viewed under reduce: kill the animation, drop the duplicates and
   revert to the static 2-col grid with full (un-clamped) text. */
@media (prefers-reduced-motion: reduce) {
  .pdp-v2 .reviews .rev-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .pdp-v2 .reviews ol.commentlist.rev-track { animation: none; display: grid; grid-template-columns: repeat(2, 1fr); width: auto; gap: 28px; }
  .pdp-v2 #reviews #comments ol.commentlist.rev-track li.rev-card { width: auto; }
  .pdp-v2 .reviews ol.commentlist.rev-track li.rev-card.is-dup { display: none; }
  .pdp-v2 .reviews ol.commentlist.rev-track li.rev-card .rev-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
}
