/* ============================================================
   product.css — page-scoped styles for baked product pages.
   Extracted ONCE from the inline <style> of website/pages/product-*.html
   (all 4 are template-clones). Loaded by /he|en/product-*.html
   (declared in each data/product-*.json css[]).
   4-layer: design layer only. No inline style/JS in output.
   Collision-filter: source had NO body/:root rules. Runtime lang-swap
   rule `html[lang] .story-*{display:none}` DROPPED — baked pages are
   single-language per file, so only the right story is emitted.
   Gallery + lightbox styles live in gallery.css (shared).
   ============================================================ */

/* ---- hero ---- */
.prod-hero { padding: 140px 0 60px; text-align: center; background: linear-gradient(180deg, var(--navy-deep), var(--navy)); }
.prod-hero .breadcrumb { text-align: start; margin-bottom: 20px; }
.prod-hero .section-title { margin-bottom: 4px; }
.prod-price { font-family: var(--font-hero); font-size: 2.4rem; color: var(--gold); letter-spacing: 1px; margin: 10px 0; }
.prod-price .orig { font-size: 1.2rem; color: var(--text-dim); text-decoration: line-through; opacity: 0.6; margin-inline-end: 8px; }
.prod-price .badge { display: inline-block; font-family: var(--font-heading); font-size: 0.55rem; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: var(--crimson); padding: 4px 10px; vertical-align: middle; margin-inline-start: 8px; font-weight: 600; }
.prod-scarcity { font-family: var(--font-heading); font-size: 0.78rem; color: var(--gold); letter-spacing: 1.5px; margin: 8px 0 20px; }

/* ---- generic product section ---- */
.prod-section { padding: 70px 0; position: relative; z-index: 1; }
.prod-section:nth-child(even) { background: var(--navy-mid); }
.prod-section:nth-child(odd) { background: var(--navy); }
.prod-section h2 { font-family: var(--font-hero); font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; text-align: center; }
.prod-section h2 .gold { color: var(--gold); }
.prod-section--secure { text-align: center; background: linear-gradient(180deg, var(--navy-mid), var(--navy-deep)); }
.prod-divider-md { margin-bottom: 30px; }
.prod-cta--mt { margin-top: 10px; }

/* ---- "what's inside" extras (grid/feat-list classes are global) ---- */
.prod-inside-divider { margin: 12px 0 16px; }
.prod-inside-text-p { color: var(--text-light); font-size: 0.95rem; line-height: 1.9; font-weight: 300; }

/* ---- cinematic atmosphere band (bg is an <img>, not a CSS url — data-driven + responsive) ---- */
.prod-cinematic { position: relative; height: clamp(280px, 40vw, 420px); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.prod-cinematic-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.06); filter: saturate(1.15); }
.prod-cinematic-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-alt-alpha-45) 0%, var(--navy-alt-alpha-35) 50%, var(--navy-alt-alpha-60) 100%); }
.prod-cinematic-content { position: relative; z-index: 2; text-align: center; }
.prod-cinematic-eyebrow { color: var(--gold); font-size: 0.7rem; letter-spacing: 3px; }
.prod-cinematic-title { font-family: var(--font-hero); font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: 3px; text-transform: uppercase; color: var(--pure-white); text-shadow: 0 2px 30px rgba(0,0,0,.6); margin: 8px 0; }
.prod-cinematic-title .gold { color: var(--gold); }

/* ---- story ---- */
.prod-story { max-width: 750px; margin: 0 auto; font-size: 0.95rem; color: var(--text-light); line-height: 1.9; font-weight: 300; }
.prod-story p { margin-bottom: 16px; }
.prod-story--note { margin-top: 12px; }
.full-story-toggle { display: block; margin: 20px auto 0; padding: 12px 30px; background: transparent; border: 1px solid var(--gold-alpha-30); color: var(--gold); font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: var(--ease); }
.full-story-toggle:hover { border-color: var(--gold); background: var(--gold-alpha-05); }
.full-story { max-height: 0; overflow: hidden; transition: max-height 0.6s ease; }
.full-story.open { max-height: 4000px; }
.prod-fullstory { margin-top: 24px; }

/* ---- creator reflection ---- */
.creator-reflection { max-width: 700px; margin: 0 auto; text-align: center; padding: 30px 20px; border-top: 1px solid var(--gold-alpha-15); border-bottom: 1px solid var(--gold-alpha-15); }
.creator-reflection h3 { font-family: var(--font-heading); font-size: 0.65rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; opacity: 0.7; }
.creator-reflection p { font-size: 0.92rem; color: var(--text-light); line-height: 2; font-weight: 300; font-style: italic; }

/* ---- specs ---- */
.specs-table { max-width: 500px; margin: 0 auto; border-collapse: collapse; width: 100%; }
.specs-table td { padding: 12px 16px; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.specs-table td:first-child { font-family: var(--font-heading); font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); width: 140px; }
.specs-table td:last-child { color: var(--text-light); }
.box-list { max-width: 500px; margin: 0 auto; list-style: none; padding: 0; }
.box-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; color: var(--text-light); display: flex; align-items: center; gap: 10px; }
.box-list li::before { content: '✦'; color: var(--gold); font-size: 0.7rem; }

/* ---- bundle banner ---- */
.bundle-banner { display: block; margin: 14px auto 0; max-width: 480px; padding: 12px 20px; background: linear-gradient(135deg, var(--gold-alpha-10), var(--gold-alpha-03)); border: 1px solid var(--gold-alpha-20); text-align: center; text-decoration: none; transition: var(--ease); }
.bundle-banner:hover { border-color: var(--gold); background: var(--gold-alpha-08); }
.bundle-text { font-family: var(--font-heading); font-size: 0.7rem; letter-spacing: 1.5px; color: var(--gold); display: block; }
.bundle-save { font-family: var(--font-heading); font-size: 0.62rem; letter-spacing: 1px; color: var(--text-light); margin-top: 3px; display: block; }

/* ---- cross-sell ---- */
.cross-sell { padding: 70px 0; background: var(--navy-mid); position: relative; z-index: 1; }
/* cross-sell = swipeable carousel (snap-center, peeking neighbors on mobile; centered row on desktop) */
.cross-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 18%; list-style: none; padding: 0 4% 14px; margin: 0 auto; max-width: 940px; -webkit-overflow-scrolling: touch; }
.cross-carousel::-webkit-scrollbar { height: 4px; }
.cross-carousel::-webkit-scrollbar-thumb { background: var(--gold-alpha-30); border-radius: 2px; }
.cross-carousel .cross-card { flex: 0 0 64%; scroll-snap-align: center; }
@media (min-width: 900px) { .cross-carousel { justify-content: center; scroll-padding-inline: 0; } .cross-carousel .cross-card { flex: 0 0 30%; max-width: 280px; } }
.feat-list { list-style: none; padding: 0; }
.cross-card { background: rgba(255,255,255,0.02); border: 1px solid var(--gold-alpha-08); padding: 20px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; overflow: hidden; }
@media (hover: hover) { .cross-card:hover { border-color: var(--gold); transform: translateY(-8px); box-shadow: 0 12px 40px var(--gold-alpha-20); } .cross-card:hover img { transform: scale(1.05); } }
.cross-card img { width: 100%; max-width: 200px; margin: 0 auto 14px; display: block; transition: transform 0.4s ease; }
.cross-card h3 { font-family: var(--font-hero); font-size: 1rem; letter-spacing: 1px; margin-bottom: 4px; color: #fff; }
.cross-card .cross-sub { font-family: var(--font-heading); font-size: 0.65rem; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px; }
.cross-card .cross-price { font-family: var(--font-hero); font-size: 1.2rem; color: var(--gold); margin-bottom: 12px; }
.cross-card .cross-price .orig { font-size: 0.75rem; color: var(--text-dim); text-decoration: line-through; opacity: 0.6; margin-inline-end: 6px; }
.cross-card .cross-link { display: inline-block; font-family: var(--font-heading); font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-alpha-30); padding: 8px 18px; text-decoration: none; transition: var(--ease); }
.cross-card .cross-link:hover { background: var(--gold-alpha-10); border-color: var(--gold); }

@media (max-width: 768px) {
  .prod-hero { padding: 110px 0 40px; }
}

/* ---- shipping reframe (free + small parenthetical anchor) ---- */
.prod-shipping { margin: 16px 0 0; font-family: var(--font-heading); font-size: 1rem; letter-spacing: 1px; color: var(--gold); line-height: 1.7; }
.prod-shipping-note { font-size: 0.7rem; letter-spacing: 0.5px; color: var(--text-muted); font-weight: 400; }

/* ---- inside-section product photo (single, responsive) ---- */
.prod-inside-photo { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--gold-alpha-08); }

/* a11y — reduced motion */
@media (prefers-reduced-motion: reduce) {
  .gallery-main:hover img, .cross-card:hover img { transform: none; }
  .prod-cinematic-bg { transform: none; }
}
