/* ═══════════════════════════════════════════════════════════════════════════
   Product page (redesign approved in the Design chat, 2026-11-01). The shared
   look is css/site.css; this file is the „light studio" top block, the white
   stage that guarantee → social → FAQ share, and the sticky buy bar.
   Every live mechanism of the page keeps its ids and classes (selectSize, the
   size nudge, kit pitch / upsell, Omnibus price, pre-order notice, tabs).
   ═══════════════════════════════════════════════════════════════════════════ */

.product .topbar { background: var(--navy-0); }

/* ═══ TOP BLOCK — light studio ═════════════════════════════════════════ */
.product .product-page {
  position: relative; z-index: 1; background: #f4f6fb; color: #1b2340;
  padding: calc(104px + 44px) var(--pad) 140px;                   /* under the floating header */
}
.product .breadcrumb { max-width: 1208px; margin: 0 auto 28px; font-size: 13.5px; color: #8a90a8; }
.product .breadcrumb a { color: #444466; }
.product .breadcrumb a:hover { color: #1b2340; }
.product .product-layout {
  max-width: 1208px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start;
}

/* gallery: a white card, sticky just below the header (as live) */
.product .product-gallery { position: sticky; top: calc(var(--rg-header-h, 104px) + 20px); }
.product .main-image {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 36px; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(27,35,64,.10); margin: 0;
}
.product .main-image img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; transition: scale .5s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .product .main-image:hover img { scale: 1.03; } }
.product .thumb-row { display: flex; gap: 12px; margin-top: 14px; }
.product .thumb {
  width: 84px; height: 84px; padding: 10px; border-radius: 14px; background: #fff; border: 1.5px solid transparent;
  box-shadow: 0 8px 22px rgba(27,35,64,.08); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color .2s, translate .2s;
}
@media (hover: hover) { .product .thumb:hover { translate: 0 -2px; } }
.product .thumb.active { border-color: var(--gold); }
.product .thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* buy box */
.product .sale-badge {
  display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold); font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
}
.product .product-info h1 { font-size: 38px; font-weight: 500; letter-spacing: -.02em; line-height: 1.12; color: #1b2340; margin-bottom: 16px; }
.product .product-info h1 .sc-ul { left: -1%; width: 102%; bottom: -6px; height: 14px; }
.product .product-short-desc { font-size: 15px; line-height: 1.7; color: #444466; margin-bottom: 26px; }
.product .product-short-desc p { margin-bottom: 6px; }
.product .size-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8a90a8; margin-bottom: 12px; }
.product .size-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.product .size-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid rgba(27,35,64,.18); background: #fff; color: #1b2340; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
@media (hover: hover) { .product .size-btn:hover { border-color: #1b2340; } }
.product .size-btn.active { background: #1b2340; border-color: #1b2340; color: #fff; }
.product .size-badge {
  margin: 0; padding: 3px 8px; border-radius: 999px; background: #e9f9ef; color: #157a3a;
  font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
}
/* W12 (d) per-size nudge: navy text; a saving is savings green, the extra cost to
   step up to the kit („+5 €") is gold (founder 2026-11-01 04:14) */
.product .size-nudge { font-size: 13.5px; font-weight: 600; line-height: 1.45; color: #1b2340; margin: 0 0 18px; }
.product .size-nudge strong { color: #169040; font-weight: 700; }
.product .size-nudge strong.is-cost { color: var(--accent-text); }
/* W2 kit pitch (kit selected) and the upsell (a single selected): white, gold rim.
   The kit pitch keeps the live site's green (founder 2026-11-02: „green as it was before") */
.product .bundle-pitch, .product .bundle-upsell {
  margin: 0 0 22px; padding: 16px 18px; border-radius: 16px; background: #fff;
  border: 1px solid rgba(246,177,30,.55); box-shadow: 0 10px 30px rgba(27,35,64,.06); color: #1b2340;
}
.product .bundle-pitch { background: #f6fff8; border: 1.5px solid #22bb55; }
.product .bundle-pitch h3 { font-size: 16px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; color: #1b2340; }
.product .bundle-pitch p { font-size: 14px; line-height: 1.6; color: #444466; margin: 0 0 10px; }
.product .bundle-pitch ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.product .bundle-pitch li { font-size: 14px; font-weight: 500; line-height: 1.5; color: #1b2340; }
.product .bundle-upsell { font-size: 14.5px; line-height: 1.55; }
.product .bundle-upsell s { color: #8a90a8; }
.product .bundle-upsell strong { font-weight: 600; }
.product .bundle-upsell button {
  margin-top: 8px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer;
  color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px;
}
.product .product-price { font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: #1b2340; margin-bottom: 22px; }
/* free delivery by card, under the price: savings green, like the size nudge */
.product .card-ship-line { margin-top: 7px; font-size: 14px; font-weight: 600; line-height: 1.45; letter-spacing: 0; color: #169040; }
.product .qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.product .qty-control {
  display: flex; align-items: center; height: 52px; overflow: hidden; border-radius: 999px;
  border: 1.5px solid rgba(27,35,64,.18); background: #fff;
}
.product .qty-btn { width: 44px; height: 100%; border: 0; background: none; color: #1b2340; font: inherit; font-size: 20px; cursor: pointer; transition: background .15s; }
.product .qty-btn:hover { background: #f4f6fb; }
.product .qty-input {
  width: 44px; height: 100%; border: 0; background: none; text-align: center; color: #1b2340;
  font: inherit; font-size: 16px; font-weight: 600; outline: none; -moz-appearance: textfield;
}
.product .qty-input::-webkit-inner-spin-button, .product .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product #addToCartBtn { height: 52px; padding: 0 30px; font-size: 15.5px; }
/* the kit's CTA carries a second line with the separate price */
.product #addToCartBtn.cta-kit { flex-direction: column; height: auto; min-height: 52px; padding: 8px 26px; white-space: normal; line-height: 1.25; }
.product #addToCartBtn .cta-sub { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; opacity: .85; }
/* trust line: plain text, hairline separators (none before a hidden chip's neighbour) */
.product .product-trust {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding-top: 18px;
  border-top: 1px solid rgba(27,35,64,.12); font-size: 13.5px; font-weight: 500; color: #444466;
}
.product .product-trust span { font: inherit; color: inherit; }
.product .product-trust > span + span::before {
  content: ""; display: inline-block; width: 1px; height: 14px; margin-right: 16px; vertical-align: -2px; background: rgba(27,35,64,.2);
}
.product .product-trust > span[style*="none"] + span::before { display: none; }
/* tabs: a gold underline on the active one */
.product .product-tabs { margin-top: 30px !important; border: 0; }
.product .tab-nav { display: flex; gap: 26px; border-bottom: 1px solid rgba(27,35,64,.12); margin-bottom: 20px; }
.product .tab-btn {
  padding: 12px 0; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none;
  font: inherit; font-size: 14.5px; font-weight: 600; color: #8a90a8; cursor: pointer; transition: color .2s, border-color .2s;
}
.product .tab-btn.active { color: #1b2340; border-bottom-color: var(--gold); }
.product .tab-content { display: none; padding: 0 0 20px; }
.product .tab-content.active { display: block; }
.product .tab-content p { font-size: 15px; line-height: 1.8; color: #444466; margin-bottom: 14px; }
.product .tab-content strong { color: #1b2340; font-weight: 600; }
.product .review-notice { font-size: 15px; color: #444466; margin-bottom: 20px; }

/* ═══ PRODUCT BAND — the homepage's (css/site.css); its h2 is just the name here ═ */
.product .product-desc-section { z-index: 4; }

/* ═══ WHITE STAGE: guarantee → social → FAQ, no edges between them ═════
   One wrapper carries the white, the slant from the dark band and the grain, so
   the sections inside stay transparent and unclipped: a section's own
   overflow:hidden cut the ribbon into a hard line (founder rejected it). */
.product .lightstage {
  position: relative; z-index: 5; isolation: isolate; background: #fff;
  margin-top: calc(-1 * var(--join)); clip-path: polygon(0 var(--join), 100% 0, 100% 100%, 0 100%);
  overflow-x: hidden; overflow-x: clip;
}
.product .lightstage::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.product .lightstage > section { background: transparent; margin-top: 0; clip-path: none; overflow: visible; }
.product .lightstage .guarantee-section { padding-bottom: 60px; }
.product .lightstage .social-section { padding: 110px 0 60px; }
.product .lightstage .faq-section { padding-top: 110px; }
/* the spectral ribbon behind the videos: three blurred strokes, blue → ice → cyan,
   wider than the page so they leave both edges; the cards sit on it, the
   headline stays on clean white */
.product .social-section > :not(.rb) { position: relative; z-index: 1; }
.product .rb { position: absolute; z-index: 0; left: -20%; width: 140%; border-radius: 50%; pointer-events: none; }
.product .rb-1 { top: 330px; height: 240px; transform: rotate(-12deg); filter: blur(55px);
  background: linear-gradient(90deg, transparent 2%, rgba(60,120,255,.55) 25%, rgba(160,215,255,.80) 50%, rgba(70,190,255,.50) 75%, transparent 98%); }
.product .rb-2 { top: 520px; height: 160px; transform: rotate(6deg); filter: blur(40px);
  background: linear-gradient(90deg, transparent 5%, rgba(230,245,255,.9) 30%, rgba(120,170,255,.55) 55%, rgba(40,90,230,.45) 80%, transparent 98%); }
.product .rb-3 { top: 700px; height: 200px; transform: rotate(-7deg); filter: blur(70px);
  background: linear-gradient(90deg, transparent, rgba(90,200,255,.35) 40%, rgba(60,120,255,.30) 70%, transparent); }
.product .faq-sub { font-size: 17px; color: #444466; margin: -30px auto 44px; max-width: 600px; }
.product .faq-a a { color: var(--accent-text); font-weight: 600; }
.product .signup-section { z-index: 8; }

/* ═══ STICKY BUY BAR (built by the page script) ═══════════════════════ */
#sticky-buy-bar {
  position: fixed; left: 0; right: 0; bottom: -110px; z-index: 1000; padding: 12px 40px;
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(27,35,64,.08); box-shadow: 0 -10px 30px rgba(27,35,64,.10);
  transition: bottom .35s cubic-bezier(.4,0,.2,1);
}
#sticky-buy-bar.visible { bottom: 0; }
#sticky-buy-bar .sbb-inner { max-width: 1208px; margin: 0 auto; display: flex; align-items: center; gap: 18px; }
#sticky-buy-bar img { width: 52px; height: 52px; padding: 4px; object-fit: contain; border-radius: 12px; background: #f4f6fb; }
#sticky-buy-bar .sbb-info { flex: 1; min-width: 0; }
#sticky-buy-bar .sbb-name { font-size: 15px; font-weight: 600; color: #1b2340; }
#sticky-buy-bar .sbb-price { font-size: 14px; font-weight: 600; color: var(--accent-text); }
#sticky-buy-bar .btn-pink { height: 48px; padding: 0 26px; font-size: 15px; }

/* ═══ RESPONSIVE ════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .product .product-layout { gap: 48px; }
  .product .product-info h1 { font-size: 34px; }
}
@media (max-width: 900px) {
  .product .product-layout { grid-template-columns: 1fr; gap: 26px; }
  .product .product-gallery { position: static; }
  .product .main-image { padding: 24px; }
  .product .thumb { width: 66px; height: 66px; border-radius: 12px; }
  .product .product-info h1 { font-size: 28px; }
  .product .product-short-desc { font-size: 14.5px; }
  .product .size-btn { height: 42px; padding: 0 16px; font-size: 14px; }
  .product .product-price { font-size: 30px; }
  .product .qty-row { flex-wrap: wrap; }
  .product #addToCartBtn { flex: 1; min-width: 200px; }
  .product .tab-content p { font-size: 14.5px; }
}
@media (max-width: 768px) {
  .product .product-page { padding: calc(76px + 22px) 22px 90px; }
  .product .breadcrumb { margin-bottom: 16px; font-size: 12.5px; }
  .product .lightstage .guarantee-section { padding-bottom: 40px; }
  .product .lightstage .social-section { padding: 80px 0 40px; }
  .product .lightstage .faq-section { padding-top: 80px; }
  .product .rb-1 { top: 260px; height: 140px; filter: blur(35px); }
  .product .rb-2 { top: 420px; height: 100px; filter: blur(28px); }
  .product .rb-3 { top: 560px; height: 140px; }
  .product .faq-sub { font-size: 15px; margin: -16px auto 28px; }
}
@media (max-width: 600px) {
  /* Phone: one line of size + price beside the button; the small picture stays
     (founder 2026-10-20) and keeps the bar at its slim ~70 px */
  #sticky-buy-bar { padding: 10px 14px; }
  #sticky-buy-bar img { width: 44px; height: 44px; padding: 3px; flex-shrink: 0; }
  #sticky-buy-bar .sbb-inner { gap: 12px; }
  #sticky-buy-bar .sbb-brand { display: none; }
  #sticky-buy-bar .sbb-name { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  #sticky-buy-bar .btn-pink { flex-shrink: 0; height: 46px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 400px) {
  #sticky-buy-bar .sbb-inner { gap: 10px; }
  #sticky-buy-bar .btn-pink { padding: 0 12px; font-size: 13px; }
  .product .size-btn { padding: 0 13px; }
}
