/* ==========================================================
   SQUISHLAND — Design system v3
   ========================================================== */
:root {
  --bg: #F6F2E9;
  --surface: #FFFFFF;
  --sand: #ECE5D6;
  --blush: #FFEBCB;
  --ink: #14181A;
  --ink-2: #4F5558;
  --ink-3: #858B8E;
  --line: #E3DBC9;
  --accent: #FF5B14;
  --accent-ink: #C2410C;
  --plum: #0E2A1F;
  --plum-2: #17402F;
  --gold: #E9C46A;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(31,26,30,.04), 0 8px 24px -12px rgba(31,26,30,.12);
  --shadow-lg: 0 30px 60px -24px rgba(31,26,30,.28);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
h1, h2 { font-family: var(--serif); letter-spacing: -.02em; }
p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.w-full { width: 100%; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blush); }
.btn.disabled { opacity: .5; pointer-events: none; }
.link { font-weight: 600; font-size: 13.5px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.link.muted { color: var(--ink-3); font-weight: 500; }
.link-arrow { font-weight: 600; font-size: 15px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.link-arrow:hover { color: var(--accent); }

.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; transition: background .2s;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.pulse { animation: pulse .5s var(--ease); }
@keyframes pulse { 40% { transform: scale(1.15); } }
.bubble {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 10.5px; font-weight: 700;
  transform: scale(0); transition: transform .25s var(--ease);
}
.bubble.show { transform: scale(1); }

.kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.stars { color: var(--ink); font-weight: 600; font-size: 13px; white-space: nowrap; }

/* ---------- Annonce & header ---------- */
.announce { background: var(--plum); color: rgba(255,255,255,.88); font-size: 12.5px; letter-spacing: .02em; }
.announce-inner { display: flex; justify-content: center; align-items: center; gap: 18px; height: 38px; }
.announce .sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.45); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(246,242,233,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.scrolled { border-color: var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.logo { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -.02em; justify-self: center; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--ink); transition: right .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.header-actions { display: flex; justify-content: flex-end; gap: 2px; }
.burger { display: none; }

.search { position: relative; }
.search-panel {
  position: absolute; top: calc(100% + 12px); right: 0; width: 360px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 12px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.search.open .search-panel { opacity: 1; visibility: visible; transform: none; }
.search-panel input { width: 100%; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); outline: 0; }
.search-panel input:focus { border-color: var(--ink); }
.search-panel input::-webkit-search-cancel-button { display: none; }
.search-results { display: grid; gap: 2px; margin-top: 8px; max-height: 360px; overflow: auto; }
.search-results:empty { display: none; }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius-sm); text-align: left; }
.sr-item:hover { background: var(--bg); }
.sr-item img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.sr-item b { display: block; font-weight: 600; font-size: 14px; }
.sr-item small { color: var(--ink-3); font-size: 12.5px; }
.sr-empty { padding: 12px; color: var(--ink-3); font-size: 14px; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--sand); }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; max-width: 560px; }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.02; font-weight: 400; }
.hero .lead { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 470px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 26px; list-style: none; padding: 0; margin: 40px 0 0; font-size: 14px; color: var(--ink-2); }
.hero-proof b { color: var(--ink); font-weight: 600; }
.hero-proof li { position: relative; padding-left: 16px; }
.hero-proof li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-media { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(620px, 52vw); }
.hm { margin: 0; overflow: hidden; border-radius: 22px; background: var(--sand); }
.hm img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hm:hover img { transform: scale(1.04); }
.hm-1 { grid-row: 1 / 3; }
.hero-tag {
  position: absolute; left: 18px; bottom: 18px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.hero-tag span { display: block; font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }
.hero-tag b { font-weight: 600; font-size: 14.5px; }

/* ---------- Univers ---------- */
.universes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.universe { text-align: left; }
.universe-media { display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.universe-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.universe:hover img { transform: scale(1.05); }
.universe-label { display: block; margin-top: 12px; }
.universe-label b { display: block; font-weight: 600; font-size: 15.5px; }
.universe-label small { color: var(--ink-3); font-size: 13px; }

/* ---------- Cartes produit ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.card { cursor: pointer; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.badge.best { background: var(--ink); color: #fff; }
.badge.limited { background: var(--plum); color: #fff; }
.wish {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center; transition: transform .2s var(--ease);
}
.wish:hover { transform: scale(1.08); }
.wish svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.wish.on svg { fill: var(--accent); stroke: var(--accent); }
.quick-add {
  position: absolute; left: 10px; right: 10px; bottom: 10px; height: 42px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,.95); font-weight: 600; font-size: 14px;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), background .2s, color .2s;
}
.quick-add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add:hover { background: var(--ink); color: #fff; }
.quick-add.done { background: var(--ink); color: #fff; opacity: 1; transform: none; }
.card-body { padding: 14px 2px 0; }
.card h3 { font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.card-price { margin-top: 6px; font-weight: 600; font-size: 15px; }

/* ---------- Feature (Halloween / calendrier) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; overflow: hidden; }
.feature-copy { padding: 64px 60px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.feature-copy h2 { font-size: clamp(34px, 4vw, 52px); }
.feature-copy p { margin-top: 16px; font-size: 16.5px; max-width: 440px; }
.feature-dark { background: var(--plum); color: #fff; }
.feature-dark .kicker { color: var(--gold); }
.feature-dark p { color: rgba(255,255,255,.75); }
.feature-media { min-height: 520px; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-thumbs { display: flex; gap: 10px; margin: 28px 0 30px; }
.feature-thumbs button { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; border: 1.5px solid rgba(255,255,255,.18); transition: border-color .2s; }
.feature-thumbs button:hover { border-color: #fff; }
.feature-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.feature-advent { background: #1F3A2E; color: #fff; grid-template-columns: 1fr 1.05fr; align-items: center; }
.feature-advent .kicker { color: var(--gold); }
.feature-advent p { color: rgba(255,255,255,.75); }
.checks { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 10px; font-size: 15px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(233,196,106,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9C46A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.advent-buy { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.price-xl { font-family: var(--serif); font-size: 44px; line-height: 1; }
.advent-box { padding: 44px 48px 36px 0; }
.advent-box small { display: block; margin-top: 14px; text-align: center; color: rgba(255,255,255,.55); font-size: 13px; }
.advent-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-flow: dense; gap: 8px; }
.door { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; perspective: 600px; }
.door.big { grid-column: span 2; aspect-ratio: auto; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door-face {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: #F4EADB; color: #1F3A2E; font-family: var(--serif); font-size: 22px;
  border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(31,58,46,.12);
  transform-origin: left center; backface-visibility: hidden; transition: transform .7s var(--ease), box-shadow .7s;
}
.door:nth-child(3n) .door-face { background: #E9D5C3; }
.door:nth-child(4n) .door-face { background: #C9452F; color: #fff; }
.door.big .door-face { font-size: 46px; background: var(--gold); color: #1F3A2E; }
.door:hover .door-face { transform: rotateY(-16deg); }
.door.open .door-face { transform: rotateY(-105deg); box-shadow: 10px 0 18px rgba(0,0,0,.25); }

/* ---------- Packs ---------- */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pack {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  padding: 30px 26px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, transform .3s var(--ease), box-shadow .3s;
}
.pack:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.pack.hot { background: var(--ink); color: #fff; border-color: var(--ink); }
.pack-flag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.pack-name { font-family: var(--serif); font-size: 24px; }
.pack-count { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.pack.hot .pack-count, .pack.hot .pack-sub { color: rgba(255,255,255,.6); }
.pack-price { margin-top: 28px; font-family: var(--serif); font-size: 42px; line-height: 1; }
.pack-sub { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); min-height: 1.5em; }
.pack-cta { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.pack-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.pack:hover .pack-cta svg { transform: translateX(4px); }

/* ---------- Boutique ---------- */
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); }
.sort select {
  appearance: none; -webkit-appearance: none; height: 42px; padding: 0 38px 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1A1E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
  color: var(--ink); font-weight: 500; font-size: 14px; cursor: pointer; outline: 0;
}
.sort select:focus { border-color: var(--ink); }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; padding: 0 0 14px; font-size: 14.5px; font-weight: 500; color: var(--ink-3); white-space: nowrap; transition: color .2s; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); }
.tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.results { margin: 18px 0 26px; font-size: 13.5px; color: var(--ink-3); }
.more { display: flex; justify-content: center; margin-top: 48px; }
.empty { text-align: center; padding: 60px 20px; }
.empty h3 { font-family: var(--serif); font-size: 28px; }
.empty p { color: var(--ink-2); margin: 10px 0 24px; }

/* ---------- Réassurance ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.perk { display: flex; align-items: center; gap: 14px; }
.perk svg { width: 28px; height: 28px; flex-shrink: 0; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.perk b { display: block; font-weight: 600; font-size: 14.5px; }
.perk span { color: var(--ink-3); font-size: 13.5px; }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { margin: 0; padding: 28px; border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.review-stars { color: var(--ink); letter-spacing: 2px; font-size: 14px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review figcaption b { display: block; font-weight: 600; font-size: 14px; }
.review figcaption small { color: var(--ink-3); font-size: 12.5px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; width: 12px; height: 12px; flex-shrink: 0; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item p { padding: 0 40px 22px 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Newsletter ---------- */
.newsletter { text-align: center; padding: 72px 32px; border-radius: 28px; background: var(--blush); margin-bottom: 96px; }
.newsletter h2 { font-size: clamp(28px, 3.4vw, 40px); }
.newsletter > p { margin: 12px auto 28px; color: var(--ink-2); max-width: 460px; }
.nl-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.nl-form input { flex: 1; min-width: 0; height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(31,26,30,.15); background: #fff; outline: 0; }
.nl-form input:focus { border-color: var(--ink); }
.nl-form input.error { border-color: var(--accent); }
.nl-success { font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--plum); color: rgba(255,255,255,.7); padding: 72px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo { display: block; color: #fff; justify-self: start; }
.footer-brand p { margin-top: 12px; max-width: 300px; font-size: 14.5px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-col a { display: block; padding: 4px 0; font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay span { padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); font-size: 12.5px; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Overlay, tiroir, fiche ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(31,26,30,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(440px, 100%);
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer-tabs { display: flex; gap: 22px; }
.drawer-tab { font-family: var(--serif); font-size: 21px; color: var(--ink-3); }
.drawer-tab.active { color: var(--ink); }
.drawer-tab span { font-family: var(--sans); font-size: 12px; vertical-align: super; }
.pack-note { margin: 16px 24px 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--blush); font-size: 13.5px; font-weight: 500; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px 20px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-media { width: 76px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--sand); }
.line-media img { width: 100%; height: 100%; object-fit: cover; }
.line-info b { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.line-info small { display: block; color: var(--ink-3); font-size: 12.5px; margin: 2px 0 10px; }
.line-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; font-weight: 600; font-size: 14.5px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { width: 32px; height: 32px; font-size: 16px; border-radius: 50%; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.drawer-empty { text-align: center; padding: 72px 10px; }
.drawer-empty h4 { font-family: var(--serif); font-size: 24px; }
.drawer-empty p { color: var(--ink-2); margin: 8px 0 24px; font-size: 14.5px; }
.drawer-foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.totals { display: grid; gap: 6px; margin-bottom: 16px; font-size: 14px; color: var(--ink-2); }
.totals div { display: flex; justify-content: space-between; }
.totals .discount { color: var(--accent-ink); }
.totals .grand { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 17px; }
.secure { display: block; margin-top: 10px; text-align: center; color: var(--ink-3); font-size: 12.5px; }

.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px; pointer-events: none; }
.modal-card {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--bg); border-radius: 24px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .4s var(--ease);
}
.modal.open { pointer-events: auto; }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255,255,255,.9); }
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm-media { padding: 20px; }
.pm-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; background: var(--sand); }
.pm-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pm-thumbs button { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; opacity: .55; outline: 1.5px solid transparent; outline-offset: 2px; transition: opacity .2s; }
.pm-thumbs button.active { opacity: 1; outline-color: var(--ink); }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm-info { padding: 44px 40px 36px 20px; }
.pm-info .kicker { margin-bottom: 10px; }
.pm-info h2 { font-size: 36px; }
.pm-rating { display: flex; gap: 10px; margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.pm-price { margin-top: 18px; font-size: 24px; font-weight: 600; }
.pm-price small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.pm-desc { margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.pm-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pm-specs div { padding: 14px 0; }
.pm-specs div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.pm-specs dt { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.pm-specs dd { margin: 4px 0 0; font-weight: 600; }
.pm-buy { display: flex; gap: 10px; align-items: center; }
.pm-buy .qty button { width: 40px; height: 48px; }
.pm-buy .btn { flex: 1; min-width: 0; }
.pm-buy .icon-btn { width: 50px; height: 50px; border: 1px solid var(--line); flex-shrink: 0; }
.pm-buy .pm-wish.on svg { fill: var(--accent); stroke: var(--accent); }
.pm-perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.pm-perks li::before { content: '✓'; margin-right: 8px; color: var(--accent); font-weight: 700; }


/* ---------- Notifications ---------- */
.toasts { position: fixed; left: 0; right: 0; bottom: 24px; z-index: 150; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; max-width: min(440px, 100%);
  padding: 8px 18px 8px 8px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); font-size: 14px; animation: toastIn .35s var(--ease) both;
}
.toast:not(:has(img)) { padding-left: 18px; }
.toast .t-thumb { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.toast b { font-weight: 600; }
.toast.out { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .universes { grid-template-columns: repeat(5, 180px); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .universes::-webkit-scrollbar { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .packs { grid-template-columns: repeat(2, 1fr); }
  .feature-copy { padding: 52px 44px; }
  .advent-box { padding: 0 44px 44px; }
  .feature-advent { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; height: 64px; }
  .burger { display: grid; }
  .logo { font-size: 24px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .hero { padding: 32px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { height: 440px; }
  .feature { grid-template-columns: 1fr; }
  .feature-media { min-height: 0; aspect-ratio: 4 / 3; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .pm { grid-template-columns: 1fr; }
  .pm-media { padding: 14px 14px 0; }
  .pm-main { aspect-ratio: 1; }
  .pm-info { padding: 24px 22px 28px; }
  .pm-info h2 { font-size: 30px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .announce-inner { gap: 10px; font-size: 11.5px; }
  .announce-inner span:nth-child(n+4) { display: none; }
  .search-panel { position: fixed; top: 112px; left: 12px; right: 12px; width: auto; }
  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 16px; }
  .hero-cta .btn { flex: 1; padding: 0 16px; }
  .hero-media { height: 360px; gap: 10px; }
  .hm { border-radius: 16px; }
  .hero-proof { gap: 6px 18px; font-size: 13px; margin-top: 28px; }
  .universes { grid-template-columns: repeat(5, 140px); gap: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .card h3 { font-size: 14px; }
  .card-meta { font-size: 12px; }
  .card-meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .quick-add { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; width: 38px; height: 38px; padding: 0; border-radius: 50%; }
  .quick-add span { display: none; }
  .badge { top: 8px; left: 8px; font-size: 10.5px; padding: 4px 8px; }
  .wish { top: 6px; right: 6px; width: 32px; height: 32px; }
  .feature { border-radius: 20px; }
  .feature-copy { padding: 36px 24px; }
  .feature-thumbs button { width: 54px; height: 54px; }
  .advent-box { padding: 0 16px 28px; }
  .advent-grid { gap: 5px; }
  .door, .door-face { border-radius: 7px; }
  .door-face { font-size: 16px; }
  .door.big .door-face { font-size: 32px; }
  .advent-buy { width: 100%; }
  .advent-buy .btn { width: 100%; }
  .packs { gap: 10px; }
  .pack { padding: 22px 16px 18px; }
  .pack-name { font-size: 20px; }
  .pack-price { font-size: 32px; margin-top: 20px; }
  .pack-sub { font-size: 12.5px; }
  .pack-flag { position: static; margin-bottom: 8px; }
  .pack-cta { font-size: 13px; }
  .tabs { gap: 22px; }
  .perks { grid-template-columns: 1fr 1fr; gap: 20px 14px; padding: 28px 0; }
  .perk { align-items: flex-start; }
  .perk svg { width: 24px; height: 24px; }
  .reviews { grid-template-columns: 1fr; }
  .review { padding: 22px; }
  .review blockquote { font-size: 17px; }
  .newsletter { padding: 48px 20px; border-radius: 20px; margin-bottom: 64px; }
  .nl-form { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 22px 22px 0 0; max-height: 94vh; }
  .pm-specs div + div { padding-left: 10px; }
  .packbar { bottom: 10px; gap: 10px; padding: 8px; }
  .pb-thumbs img:nth-child(n+3) { display: none; }
  .packbar .btn { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 380px) {
  .header-actions .icon-btn { width: 38px; }
  .logo { font-size: 21px; }
  .pb-thumbs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.feature-media { position: relative; }
.feature-media img { position: absolute; inset: 0; }
.card h3 { min-height: 2.7em; }
@media (max-width: 900px) { .feature-media img { position: static; } }
.feature > * { min-width: 0; }
@media (max-width: 380px) { .feature-copy { padding: 30px 18px; } .price-xl { font-size: 36px; } }
.pm > * { min-width: 0; }
body.locked .toasts { top: 16px; bottom: auto; }
@media (max-width: 640px) {
  .pm-buy { flex-wrap: wrap; }
  .pm-buy .btn { order: 3; flex: 1 0 100%; }
  .pm-buy .qty { flex: 1; justify-content: space-between; }
  .pm-specs dt { font-size: 11px; letter-spacing: .04em; }
}
