/* ── momento-box — Shop / Product Detail Page styles ────────────────── */
/* Based on the momento-box design system (brandbook 2026-06-07).        */
/* Tokens mirror production :root variables from index.html.             */

/* ── Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@600;700;800&family=Inter:ital,wght@0,400;0,500;0,600;1,400&display=swap&subset=cyrillic');

/* ── Design tokens ──────────────────────────────────────────────────── */
:root {
  /* Coral — action */
  --cp:      #FF6B35;
  --cp-lt:   #FFF0EB;
  --cp-dk:   #E55520;
  --cp-text: #C44A12;
  /* Indigo — mood */
  --cs:      #3D2B8E;
  --cs-lt:   #F0EEF9;
  --cs-deep: #281C63;
  /* Accent yellow */
  --ca:      #FFE566;
  --ca-dk:   #F0D850;
  /* Neutrals */
  --bg:      #FFFFFF;
  --bg-s:    #F7F5F2;
  --tx:      #1A1A1A;
  --tx2:     #6B6B6B;
  --bd:      #E5E5E5;
  /* Semantic */
  --danger:  #FF4444;
  --success: #22A06B;
  /* Gallery (Tinggly-style accents) */
  --teal:    #52B4CC;
  --off:     #F15060;
  --ink:     #171B22;
  /* Typography */
  --fd: 'Unbounded', system-ui, sans-serif;
  --fb: 'Inter', system-ui, sans-serif;
  /* Shadows */
  --sh:       0 2px 16px rgba(0,0,0,.08);
  --shl:      0 8px 32px rgba(0,0,0,.14);
  --sh-coral: 0 10px 36px rgba(255,107,53,.45);
  --sh-ca:    0 8px 28px rgba(255,229,102,.35);
  --sh-deep:  0 20px 56px rgba(0,0,0,.42);
  /* Motion */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ───────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  color: var(--tx);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── HEADER ─────────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bd);
}
.hdr-in {
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.logo {
  font-family: var(--fd); font-weight: 700; font-size: 20px;
  letter-spacing: -.6px; display: flex; align-items: center;
  color: var(--tx);
}
.logo .ld {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cp); margin-left: 3px; position: relative; top: 2px;
}
.hnav { display: flex; gap: 28px; }
.hnav a {
  font-size: 14px; color: var(--tx2); font-weight: 500;
  transition: color .2s;
}
.hnav a:hover { color: var(--cp); }
.hcart {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--tx);
  border: 1.5px solid var(--bd); border-radius: 100px;
  padding: 9px 16px 9px 14px; background: #fff; transition: all .2s;
}
.hcart:hover { border-color: var(--cp); color: var(--cp); }
.hcart .cc {
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 100px; background: var(--cp); color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── BREADCRUMB ─────────────────────────────────────────────────────── */
.crumb {
  font-size: 13px; color: var(--tx2); padding: 20px 0 0;
  display: flex; gap: 8px; align-items: center;
}
.crumb a { color: var(--tx2); transition: color .2s; }
.crumb a:hover { color: var(--cp); }
.crumb .sep { opacity: .45; }
.crumb b { color: var(--tx); font-weight: 500; }

/* ── HERO / BUY GRID ────────────────────────────────────────────────── */
.hero { padding: 24px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px; align-items: start;
}

/* Gallery — Tinggly-style (main image + vertical thumbnails) */
.gal-hero {
  display: flex; gap: 12px; align-items: stretch;
}
.gal-hero .gal-main { flex: 1; min-width: 0; }
.gal-main {
  border-radius: 12px; overflow: hidden;
  background: var(--bg-s); position: relative;
  aspect-ratio: 3 / 2;
}
.gal-stage { position: absolute; inset: 0; cursor: zoom-in; }
.gal-main img, .gal-main .gal-svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gal-main .gal-svg { object-fit: fill; }

/* Badges — flush to left edge, rounded right corners */
.gal-badges {
  position: absolute; top: 24px; left: 0; z-index: 3;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.gal-badge {
  display: inline-flex; align-items: center; line-height: 1;
  color: #fff; font-size: 15px; font-weight: 600;
  padding: 8px 12px; border-radius: 0 6px 6px 0;
}
.gal-badge-hit { background: var(--cp); }
.gal-badge-off { background: var(--cs); }

/* Main image prev/next arrows */
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.7); color: #111; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2; transition: background .2s;
  box-shadow: 0 1px 5px rgba(0,0,0,.14);
}
.gal-arrow:hover { background: #fff; }
.gal-arrow-prev { left: 12px; }
.gal-arrow-next { right: 12px; }
.gal-arrow[hidden] { display: none; }

/* Vertical thumbnail strip */
.gal-thumbs-col {
  position: relative; width: 92px; flex: 0 0 92px; align-self: stretch;
}
.gal-thumbs {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  scrollbar-width: none; scroll-behavior: smooth;
}
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumb {
  flex: 0 0 auto; width: 100%; aspect-ratio: 3 / 2;
  border-radius: 8px; overflow: hidden; border: none; padding: 0;
  outline: 1.5px solid transparent; outline-offset: -1.5px;
  cursor: pointer; background: var(--bg-s);
  transition: outline-color .15s;
}
.gal-thumb img, .gal-thumb .th-svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gal-thumb.on { outline-color: var(--cp); }
.gal-thumb:not(.on):hover { outline-color: var(--tx2); }

/* Thumb-strip scroll arrows */
.gal-thumb-arrow {
  position: absolute; left: 0; right: 0; height: 24px;
  border: none; background: rgba(61,43,142,.5); color: #fff;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  z-index: 2; transition: background .2s;
}
.gal-thumb-arrow:hover { background: rgba(61,43,142,.7); }
.gal-thumb-arrow-prev { top: 0; border-radius: 8px 8px 0 0; }
.gal-thumb-arrow-next { bottom: 0; border-radius: 0 0 8px 8px; }
.gal-thumb-arrow[hidden] { display: none; }

/* Trust strip (под галереей) */
.gal-trust {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  padding: 16px 0; margin-top: 14px;
}
.gal-trust-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--tx);
}
.gal-trust-item svg { width: 16px; height: 16px; color: var(--cp); flex-shrink: 0; }

/* Lightbox (клик-зум) */
.gal-lb {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15,12,30,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 4vw;
  animation: galLbIn .18s var(--ease);
}
.gal-lb[hidden] { display: none; }
@keyframes galLbIn { from { opacity: 0; } to { opacity: 1; } }
.gal-lb-stage {
  max-width: min(1100px, 92vw); max-height: 86vh;
  display: flex; align-items: center; justify-content: center;
}
.gal-lb-stage img, .gal-lb-stage .gal-svg {
  max-width: 100%; max-height: 86vh; object-fit: contain;
  border-radius: 10px; display: block;
}
.gal-lb-stage .gal-svg { width: min(1100px, 92vw); aspect-ratio: 3 / 2; }
.gal-lb-close, .gal-lb-arrow {
  position: absolute; border: none; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.gal-lb-close:hover, .gal-lb-arrow:hover { background: rgba(255,255,255,.28); }
.gal-lb-close { top: 18px; right: 18px; width: 44px; height: 44px; }
.gal-lb-arrow { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.gal-lb-prev { left: 18px; }
.gal-lb-next { right: 18px; }
.gal-lb-count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; letter-spacing: .5px;
}
@media (max-width: 640px) {
  .gal-lb-arrow { width: 40px; height: 40px; }
  .gal-lb-prev { left: 8px; }
  .gal-lb-next { right: 8px; }
}

/* Buy card */
.buy { position: sticky; top: 84px; }
.buy .kick {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cp-text);
}
.buy h1 {
  font-family: var(--fd); font-weight: 700;
  font-size: clamp(26px, 3.5vw, 38px);
  letter-spacing: -1.2px; line-height: 1.05; margin: 10px 0 8px;
}
.buy .lede { font-size: 16px; color: var(--tx2); line-height: 1.55; }
.rating {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; font-size: 13px; color: var(--tx2);
}
.stars { color: var(--ca-dk); letter-spacing: 1px; font-size: 15px; }
.rating b { color: var(--tx); font-weight: 600; }
.rcount { color: var(--tx2); }

/* Fact chips */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.fact {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; background: var(--bg-s); border-radius: 12px;
}
.fact svg { flex-shrink: 0; color: var(--cp); }
.fact .ft { font-size: 13.5px; line-height: 1.25; }
.fact .ft b { display: block; font-family: var(--fd); font-weight: 600; font-size: 14px; color: var(--tx); }
.fact .ft span { color: var(--tx2); }

/* Size selector */
.sel-label {
  font-size: 13px; font-weight: 600; color: var(--tx);
  margin: 6px 0 10px; display: flex; justify-content: space-between;
}
.sel-label .hint { font-weight: 400; color: var(--tx2); }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size {
  position: relative; border: 2px solid var(--bd); border-radius: 14px;
  padding: 14px 12px; text-align: center;
  background: #fff; transition: all .18s var(--ease);
}
.size:hover { border-color: var(--cp-lt); }
.size.on { border-color: var(--cp); background: var(--cp-lt); }
.size .sn { font-family: var(--fd); font-weight: 700; font-size: 18px; color: var(--tx); }
.size .sc { font-size: 12px; color: var(--tx2); margin-top: 3px; }
.size .sp { font-size: 13px; font-weight: 600; color: var(--cp-text); margin-top: 6px; }
.size .pop {
  position: absolute; top: -9px; left: 50%;
  transform: translateX(-50%);
  font-size: 9px; font-weight: 700; letter-spacing: .5px;
  background: var(--ca); color: var(--tx);
  padding: 3px 9px; border-radius: 100px; white-space: nowrap;
}

/* Delivery options */
.delivery { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.dopt {
  display: flex; align-items: center; gap: 13px;
  border: 2px solid var(--bd); border-radius: 14px;
  padding: 14px 16px; transition: all .18s var(--ease);
  background: none; text-align: left; width: 100%;
}
.dopt.on { border-color: var(--cp); background: var(--cp-lt); }
.dopt .radio {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--bd); flex-shrink: 0; position: relative;
  transition: all .18s;
}
.dopt.on .radio { border-color: var(--cp); }
.dopt.on .radio::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--cp);
}
.dopt .dtxt { flex: 1; }
.dopt .dtxt b { font-size: 14px; font-weight: 600; color: var(--tx); display: block; }
.dopt .dtxt span { font-size: 12.5px; color: var(--tx2); }
.dopt .dprice { font-size: 14px; font-weight: 600; color: var(--tx); }
.dopt .dprice.free { color: var(--success); }

/* Price + CTA */
.pricebar {
  display: flex; align-items: baseline; gap: 12px; margin: 24px 0 16px;
}
.pricebar .now {
  font-family: var(--fd); font-weight: 700;
  font-size: 34px; letter-spacing: -1px; color: #000;
}
.pricebar .old {
  font-size: 17px; color: var(--tx2);
  text-decoration: line-through; opacity: .55;
}
.pricebar .save {
  font-size: 12px; font-weight: 700; color: #fff;
  background: var(--danger); padding: 4px 10px; border-radius: 100px;
}
.cta-row { display: flex; flex-direction: column; gap: 11px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; height: 56px; padding: 0 28px;
  font-family: var(--fb); font-size: 16px; font-weight: 600;
  border-radius: 100px; border: 2px solid transparent;
  transition: all .2s var(--ease); line-height: 1; width: 100%;
}
.btn-primary {
  background: var(--cp); color: #fff;
  border-color: var(--cp); position: relative; overflow: hidden;
}
.btn-primary:hover {
  background: var(--cp-dk); border-color: var(--cp-dk);
  transform: translateY(-2px); box-shadow: var(--sh-coral);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transition: left .55s var(--ease);
}
.btn-primary:hover::after { left: 130%; }
.btn-accent {
  background: var(--ca); color: var(--tx); border-color: var(--ca);
}
.btn-accent:hover {
  background: var(--ca-dk); transform: translateY(-2px);
  box-shadow: var(--sh-ca);
}
.buy-trust {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px;
}
.bt { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--tx2); }
.bt svg { color: var(--success); flex-shrink: 0; }

/* ── GALLERY INFO (left column — description + facts below image) ──── */
.gal-info { margin-top: 28px; }
.gal-lede {
  font-size: 16px; color: var(--tx2); line-height: 1.6;
  margin-bottom: 20px;
}
.gal-info .facts { margin: 0; }

/* «Подробнее» — expandable full SEO description */
.gal-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin: -6px 0 0; padding: 8px 0;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600;
  color: var(--cp-text); -webkit-tap-highlight-color: transparent;
}
.gal-more:hover { opacity: .8; }
.gal-more-ic { transition: transform .3s ease; }
.gal-more.is-open .gal-more-ic { transform: rotate(180deg); }
.gal-full {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s ease, opacity .3s ease, margin .35s ease;
}
.gal-full.open { opacity: 1; margin-top: 10px; }
.gal-full p {
  margin: 0; font-size: 15px; color: var(--tx2); line-height: 1.7;
}

/* ── BUY CARD: compact stat pills ──────────────────────────────────── */
.buy-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 24px; }
.bchip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--tx2);
  background: var(--bg-s); border: 1px solid var(--bd);
  padding: 7px 13px; border-radius: 100px;
}
.bchip svg { color: var(--cp); flex-shrink: 0; }

/* ── SECTION SCAFFOLD ───────────────────────────────────────────────── */
section.blk { padding: 64px 0; }
section.blk.alt { background: var(--bg-s); }
.sec-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cp-text);
  display: inline-flex; align-items: center; gap: 9px;
}
.sec-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cp); }
h2.sec {
  font-family: var(--fd); font-weight: 700;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.1;
  letter-spacing: -.8px; margin: 14px 0 0;
}
.sec-sub {
  font-size: 17px; color: var(--tx2); line-height: 1.6;
  margin-top: 14px; max-width: 60ch;
}
.sec-head { margin-bottom: 44px; }

/* How it works steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stp {
  position: relative; padding: 28px;
  background: #fff; border: 1px solid var(--bd); border-radius: 18px;
}
.stp .num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cs); color: #fff;
  font-family: var(--fd); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.stp:nth-child(2) .num { background: var(--cp); }
.stp:nth-child(3) .num { background: var(--ca); color: var(--tx); }
.stp h4 { font-family: var(--fd); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.stp p { font-size: 14.5px; color: var(--tx2); line-height: 1.55; }
.stp .arrow {
  position: absolute; top: 46px; right: -26px;
  color: var(--bd); z-index: 2;
}
.steps .stp:last-child .arrow { display: none; }

/* ── WHAT'S INSIDE ──────────────────────────────────────────────────── */
.inside-top {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 30px; margin-bottom: 34px; flex-wrap: wrap;
}
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.cchip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px; border-radius: 100px;
  border: 1.5px solid var(--bd); background: #fff;
  font-size: 13.5px; font-weight: 500; color: var(--tx);
  cursor: pointer; transition: all .18s var(--ease);
}
.cchip svg { color: var(--cs); }
.cchip .ct {
  min-width: 22px; height: 22px; padding: 0 7px;
  border-radius: 100px; background: var(--cs-lt); color: var(--cs);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.cchip:hover { border-color: var(--cp); }
.cchip.on { background: var(--cs); border-color: var(--cs); color: #fff; }
.cchip.on svg { color: #fff; }
.cchip.on .ct { background: rgba(255,255,255,.2); color: #fff; }

/* Experience grid */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exp {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--bd); background: #fff;
  transition: all .22s var(--ease);
  display: flex; flex-direction: column;
}
.exp:hover { transform: translateY(-5px); box-shadow: var(--shl); }
.exp-img {
  position: relative; aspect-ratio: 3/2; overflow: hidden;
  background: linear-gradient(135deg, var(--cs) 0%, var(--cs-deep) 100%);
}
.exp-img .glow {
  position: absolute; width: 70%; height: 70%;
  border-radius: 50%; filter: blur(40px); opacity: .5;
}
.exp-img .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.92);
}
.exp-incl {
  position: absolute; bottom: 10px; left: 10px;
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.95); color: var(--success);
  font-size: 11px; font-weight: 700;
  padding: 5px 11px 5px 8px; border-radius: 100px; z-index: 2;
}
.exp-cattag {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase;
  background: rgba(0,0,0,.32); backdrop-filter: blur(6px);
  color: #fff; padding: 5px 11px; border-radius: 100px; z-index: 2;
}
.exp-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.exp-body h4 {
  font-family: var(--fd); font-weight: 600;
  font-size: 16px; line-height: 1.2; margin-bottom: 7px;
}
.exp-meta {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--tx2); margin-top: auto;
}
.exp-meta svg { color: var(--cp); }

/* Show all button */
.inside-more { display: flex; justify-content: center; margin-top: 34px; }
.btn-out {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 30px; border-radius: 100px;
  border: 2px solid var(--cs); background: #fff; color: var(--cs);
  font-weight: 600; font-size: 15px; transition: all .2s var(--ease);
}
.btn-out:hover { background: var(--cs); color: #fff; transform: translateY(-2px); }

/* ── BOX CONTENTS ───────────────────────────────────────────────────── */
.contents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.content-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 24px 16px;
  background: #fff; border: 1px solid var(--bd); border-radius: 16px;
  text-align: center;
}
.content-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--cs-lt); color: var(--cs);
  display: flex; align-items: center; justify-content: center;
}
.content-item span { font-size: 14px; font-weight: 500; color: var(--tx); line-height: 1.3; }

/* ── PACKAGING ──────────────────────────────────────────────────────── */
.pack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pack {
  border: 1px solid var(--bd); border-radius: 18px;
  padding: 30px; background: #fff;
  display: flex; flex-direction: column; gap: 16px;
}
.pack.feat { border-color: var(--cp); background: var(--cp-lt); }
.pack-ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--cs-lt); color: var(--cs);
  display: flex; align-items: center; justify-content: center;
}
.pack.feat .pack-ico { background: #fff; color: var(--cp); }
.pack h4 {
  font-family: var(--fd); font-weight: 600; font-size: 19px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.pack h4 .pp {
  font-size: 13px; font-weight: 700; padding: 4px 11px;
  border-radius: 100px; background: var(--success); color: #fff;
}
.pack h4 .pp.paid { background: var(--cs); color: #fff; }
.pack p { font-size: 14.5px; color: var(--tx2); line-height: 1.55; }

/* ── WHY US ─────────────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why {
  padding: 26px; border-radius: 16px;
  background: #fff; border: 1px solid var(--bd);
}
.why-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--cp-lt); color: var(--cp);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.why h4 { font-family: var(--fd); font-weight: 600; font-size: 16px; margin-bottom: 7px; }
.why p { font-size: 14px; color: var(--tx2); line-height: 1.5; }

/* ── RELATED BOXES ──────────────────────────────────────────────────── */
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card {
  border: 1px solid var(--bd); border-radius: 16px;
  background: #fff; overflow: hidden;
  transition: all .22s var(--ease); display: block;
  color: inherit;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shl); }
.related-img {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--cs);
}
.related-img img, .related-img svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.related-body { padding: 14px 16px 16px; }
.related-body .rl { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--cp-text); }
.related-body h4 { font-family: var(--fd); font-weight: 600; font-size: 15px; margin: 5px 0 8px; }
.related-price { font-size: 14px; font-weight: 600; color: var(--tx); }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { max-width: 840px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--bd); }
.qa-q {
  width: 100%; background: none; border: none;
  text-align: left; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; font-family: var(--fd); font-weight: 600;
  font-size: 17px; color: var(--tx); transition: color .2s;
}
.qa-q:hover { color: var(--cp); }
.qa-q .ic {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-s);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease); color: var(--cp);
}
.qa.open .qa-q .ic {
  background: var(--cp); color: #fff; transform: rotate(45deg);
}
.qa-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.qa-a p { font-size: 15px; color: var(--tx2); line-height: 1.65; padding: 0 50px 24px 0; }

/* ── STICKY BUY BAR ─────────────────────────────────────────────────── */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
  border-top: 1px solid var(--bd); box-shadow: 0 -8px 32px rgba(0,0,0,.08);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.sticky-bar.show { transform: translateY(0); }
.sb-in {
  height: 74px; display: flex;
  align-items: center; justify-content: space-between; gap: 20px;
}
.sb-l { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sb-l .sb-thumb {
  width: 50px; height: 50px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0; background: var(--cs);
}
.sb-l .sb-thumb img, .sb-l .sb-thumb svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sb-info { min-width: 0; }
.sb-info b {
  font-family: var(--fd); font-weight: 600; font-size: 15px;
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-info span { font-size: 12.5px; color: var(--tx2); }
.sb-r { display: flex; align-items: center; gap: 16px; }
.sb-price { font-family: var(--fd); font-weight: 700; font-size: 22px; white-space: nowrap; }
.sb-btn { height: 48px; width: auto; padding: 0 30px; font-size: 15px; white-space: nowrap; }

/* ── TOAST ───────────────────────────────────────────────────────────── */
.toast {
  position: fixed; top: 80px; right: 24px; z-index: 90;
  background: var(--tx); color: #fff; border-radius: 14px;
  padding: 16px 20px; display: flex; align-items: center; gap: 13px;
  box-shadow: var(--shl);
  transform: translateX(140%); transition: transform .35s var(--ease);
  max-width: 340px;
}
.toast.show { transform: translateX(0); }
.toast .tic {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--success); color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.toast b { font-family: var(--fd); font-weight: 600; font-size: 14px; display: block; }
.toast span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ── FOOTER ──────────────────────────────────────────────────────────── */
.foot { background: var(--tx); color: #fff; padding: 48px 0; }
.foot-in {
  display: flex; justify-content: space-between;
  align-items: center; gap: 24px; flex-wrap: wrap;
}
.foot .wm { font-family: var(--fd); font-weight: 700; font-size: 28px; }
.foot .wm .o { color: var(--cp); }
.foot p { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 6px; }
.foot a { color: rgba(255,255,255,.7); font-size: 13.5px; }
.foot a:hover { color: #fff; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }


/* ── LOADING / ERROR ─────────────────────────────────────────────────── */
.pdp-loading, .pdp-error {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 60vh; gap: 16px; text-align: center; padding: 40px;
}
.pdp-loading .spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--bd);
  border-top-color: var(--cp);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pdp-error h2 { font-family: var(--fd); font-size: 28px; }
.pdp-error p { color: var(--tx2); font-size: 16px; }
.pdp-error a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 100px;
  background: var(--cp); color: #fff; font-weight: 600;
  transition: all .2s;
}
.pdp-error a:hover { background: var(--cp-dk); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .buy { position: static; }
  .hnav { display: none; }
  /* vertical → horizontal thumbs on mobile */
  .gallery { min-width: 0; }
  .gal-hero { flex-direction: column; align-items: stretch; min-width: 0; }
  .gal-thumbs-col { width: auto; flex: none; align-self: auto; height: auto; min-width: 0; }
  .gal-thumbs {
    position: static; inset: auto; width: 100%; max-width: 100%; min-width: 0;
    flex-direction: row; height: auto; max-height: none;
    overflow-x: auto; overflow-y: hidden; padding-bottom: 2px;
  }
  .gal-thumb { flex: 0 0 84px; width: 84px; }
  .gal-thumb-arrow { display: none; }
  /* gal-info hidden on mobile (buy card already has compact chips) */
  .gal-info { display: none; }
  .steps, .exp-grid, .why-grid, .pack-grid, .related-grid {
    grid-template-columns: 1fr;
  }
  .exp-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .contents-grid { grid-template-columns: 1fr 1fr; }
  .stp .arrow { display: none; }
  .sb-info span { display: none; }
}
/* ── MOBILE STICKY NAV (back + cart) — портирован стиль с главной ── */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
  padding: 12px 16px; background: rgba(255,255,255,.98); backdrop-filter: blur(10px);
  box-shadow: 0 -2px 20px rgba(0,0,0,.12); border-top: 1px solid rgba(0,0,0,.08);
}
.sticky-cta__inner { display: flex; gap: 10px; max-width: 1200px; margin: 0 auto; }
.sticky-cta__btn {
  flex: 1; height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 100px; background: var(--cp); color: #fff;
  font-family: var(--fb); font-size: 14px; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: all .2s; white-space: nowrap;
}
.sticky-cta__btn:hover { background: var(--cp-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,53,.4); }
.sticky-cta__btn-secondary { flex: 0 0 64px; min-width: 64px; position: relative; }
.sticky-cta__btn-secondary .cc {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 100px; background: #fff; color: var(--cp); font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .exp-grid, .related-grid { grid-template-columns: 1fr; }
  .contents-grid { grid-template-columns: 1fr 1fr; }
  .sb-price { display: none; }
  .sizes { grid-template-columns: repeat(3, 1fr); }
  /* hide top header, move nav to bottom bar (как на главной/детальной) */
  .hdr { display: none; }
  .sticky-cta { display: block; }
  .sticky-bar { bottom: 72px; }
}

/* ── Experiences catalog (секция #inside) ───────────────────────────── */
.cat { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; margin-top: 28px; }
.cat-side { position: sticky; top: 84px; }
.cat-side-toggle { display: none; }
.cat-fgroup { margin-bottom: 22px; }
.cat-flabel { display: block; font-weight: 600; font-size: 13px; color: var(--tx); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.cat-loc { width: 100%; padding: 10px 12px; border: 1.5px solid var(--bd); border-radius: 10px; font: inherit; font-size: 14px; }
.cat-loc:focus { outline: none; border-color: var(--cp); }
.cat-people, .cat-cats { display: flex; flex-direction: column; gap: 8px; }
.cat-chk { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--tx2); cursor: pointer; }
.cat-chk input { width: 17px; height: 17px; accent-color: var(--cp); cursor: pointer; }
.cat-chk span { flex: 1; }
.cat-cnt { font-style: normal; font-size: 12px; color: var(--tx2); opacity: .7; }
.cat-reset { background: none; border: none; color: var(--cp-text); font: inherit; font-weight: 600; font-size: 13px; padding: 4px 0; cursor: pointer; }
.cat-skel-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg,#eee,#f6f6f6,#eee); background-size: 200% 100%; animation: catShimmer 1.2s infinite; margin: 6px 0; }
@keyframes catShimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.cat-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cat-count { font-size: 14px; color: var(--tx2); }
.cat-count b { color: var(--tx); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cat-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
.cat-more { background: #fff; border: 1.5px solid var(--bd); border-radius: 100px; padding: 12px 28px; font: inherit; font-weight: 600; color: var(--tx); cursor: pointer; transition: all .2s; }
.cat-more:hover { border-color: var(--cp); color: var(--cp); }
.cat-more:disabled { opacity: .5; cursor: default; }
.cat-shown { font-size: 13px; color: var(--tx2); }
.cat-empty { grid-column: 1/-1; text-align: center; padding: 48px 0; color: var(--tx2); }
.cat-retry { background: none; border: none; color: var(--cp-text); font: inherit; font-weight: 600; cursor: pointer; }

/* Cards */
.expc-card { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid var(--bd); border-radius: 14px; overflow: hidden; padding: 0; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.expc-card:hover { transform: translateY(-4px); box-shadow: var(--shl); }
.expc-img { position: relative; aspect-ratio: 4/3; background: var(--bg-s) center/cover no-repeat; }
.expc-ppl { position: absolute; top: 10px; right: 10px; background: var(--cs); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; }
.expc-body { padding: 14px 16px 8px; flex: 1; }
.expc-rate { display: flex; align-items: center; gap: 5px; color: #F5A623; font-size: 13px; }
.expc-rate b { color: var(--tx); } .expc-rate span { color: var(--tx2); }
.expc-body h4 { font-family: var(--fd); font-weight: 600; font-size: 16px; margin: 8px 0 6px; line-height: 1.25; color: var(--tx); }
.expc-loc { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tx2); }
.expc-loc svg { color: var(--tx2); }
.expc-view { display: block; margin: 6px 16px 16px; padding: 9px 0; text-align: center; border: 1.5px solid var(--bd); border-radius: 100px; font-size: 14px; font-weight: 600; color: var(--cp); }
.expc-card:hover .expc-view { background: var(--cp); color: #fff; border-color: var(--cp); }
.expc-skel { pointer-events: none; } .expc-skel .expc-img { animation: catShimmer 1.2s infinite; background: linear-gradient(90deg,#eee,#f6f6f6,#eee); background-size: 200% 100%; }

/* Modal */
.expc-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.expc-modal.open { display: block; }
.expc-overlay { position: absolute; inset: 0; background: rgba(26,18,72,.6); backdrop-filter: blur(2px); }
.expc-dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(960px, 94vw); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 18px; padding: 28px; box-shadow: var(--sh-deep); }
.expc-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: none; background: var(--bg-s); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--tx); cursor: pointer; z-index: 2; }
.expc-loading { display: flex; align-items: center; justify-content: center; min-height: 300px; }
.expc-loading .spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--bd); border-top-color: var(--cp); animation: spin .7s linear infinite; }
.expc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.expc-main { border-radius: 12px; overflow: hidden; aspect-ratio: 3/2; background: var(--bg-s); }
.expc-main img { width: 100%; height: 100%; object-fit: cover; }
.expc-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.expc-th { width: 72px; aspect-ratio: 3/2; border: none; border-radius: 8px; overflow: hidden; padding: 0; cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; }
.expc-th.on { outline-color: var(--cp); }
.expc-th img { width: 100%; height: 100%; object-fit: cover; }
.expc-info h3 { font-family: var(--fd); font-weight: 700; font-size: 24px; line-height: 1.1; margin: 8px 0 12px; }
.expc-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--tx2); margin-bottom: 14px; }
.expc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.expc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.expc-badge { font-size: 12px; font-weight: 600; color: var(--cs); background: var(--cs-lt); padding: 5px 10px; border-radius: 8px; }
.expc-desc { font-size: 15px; color: var(--tx2); line-height: 1.6; margin-bottom: 18px; }
.expc-qalist { border-top: 1px solid var(--bd); margin-bottom: 18px; }
.expc-qa { border-bottom: 1px solid var(--bd); }
.expc-qa-q { width: 100%; text-align: left; background: none; border: none; padding: 14px 0; font: inherit; font-weight: 600; font-size: 15px; color: var(--tx); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.expc-qa-q i { width: 10px; height: 10px; border-right: 2px solid var(--tx2); border-bottom: 2px solid var(--tx2); transform: rotate(45deg); transition: transform .25s; flex-shrink: 0; }
.expc-qa.open .expc-qa-q i { transform: rotate(-135deg); }
.expc-qa-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.expc-qa.open .expc-qa-a { max-height: 240px; }
.expc-qa-a p { padding: 0 0 14px; color: var(--tx2); font-size: 14px; line-height: 1.6; }
.expc-incl { background: var(--cs-lt); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.expc-incl b { display: block; font-size: 15px; color: var(--cs-deep); }
.expc-incl span { font-size: 13px; color: var(--tx2); }
.expc-buy { width: 100%; }

/* ── Tickets link in section heading (scrolls to size selector) ─── */
.tickets-link {
  color: var(--cp);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  cursor: pointer;
  transition: color 0.18s, text-decoration-style 0.18s;
  white-space: nowrap;
}
.tickets-link:hover {
  color: var(--cs);
  text-decoration-style: solid;
}

/* Responsive */
@media (max-width: 860px) { .expc-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .cat { grid-template-columns: 1fr; }
  .cat-side { position: static; }
  .cat-side-toggle { display: block; width: 100%; padding: 12px; border: 1.5px solid var(--bd); border-radius: 10px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
  .cat-side-body { display: none; padding-top: 16px; }
  .cat-side-body.open { display: block; }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .expc-dialog { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; padding: 20px; }
}
