/* ============================================================
   PROMOKING — SHEIN deals hub
   Editorial "fashion-magazine meets savings" identity
   Dominant accent: hot pink-red. 90% calm cream, 10% exciting.
   ============================================================ */

:root {
  /* palette — warm editorial paper */
  --paper:       #F4EEE4;
  --paper-deep:  #EAE1D2;
  --surface:     #FFFCF6;
  --surface-2:   #FBF6EC;
  --ink:         #191410;
  --ink-soft:    #5C5346;
  --ink-faint:   #8A8073;
  --line:        rgba(25,20,16,0.10);
  --line-strong: rgba(25,20,16,0.16);

  /* dominant / exciting */
  --accent:      #F5385D;
  --accent-deep: #D31C44;
  --accent-soft: rgba(245,56,93,0.10);
  --accent-ring: rgba(245,56,93,0.30);

  /* supporting */
  --gold:        #B77B20;
  --green:       #148A5A;
  --green-soft:  rgba(20,138,90,0.12);
  --amber:       #D9821E;

  /* type */
  --display: "Fraunces", ui-serif, Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* geometry */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(25,20,16,.05), 0 2px 6px rgba(25,20,16,.04);
  --shadow:    0 6px 22px -8px rgba(25,20,16,.18), 0 2px 8px rgba(25,20,16,.05);
  --shadow-lg: 0 26px 60px -22px rgba(25,20,16,.34), 0 8px 22px -12px rgba(25,20,16,.20);
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* depth: layered radial glows + fine grain */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 45% at 82% -5%, rgba(245,56,93,.14), transparent 60%),
    radial-gradient(50% 40% at 8% 8%, rgba(183,123,32,.10), transparent 60%),
    radial-gradient(70% 60% at 50% 118%, rgba(245,56,93,.08), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--paper-deep));
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- headings ---------- */
h1,h2,h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; margin: 0; font-optical-sizing: auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--ink); color: #F4EEE4;
  font-size: .82rem; overflow: hidden;
}
.marquee { display: flex; white-space: nowrap; }
.marquee ul {
  display: flex; gap: 46px; margin: 0; padding: 11px 46px 11px 0; list-style: none;
  animation: slide 34s linear infinite;
}
.marquee:hover ul { animation-play-state: paused; }
.marquee ul li { display: inline-flex; align-items: center; gap: 9px; opacity: .92; }
.marquee b { color: var(--accent); font-weight: 800; letter-spacing: .01em; }
@keyframes slide { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce){ .marquee ul { animation: none; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,238,228,.78);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: 20px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--display);
  font-weight: 700; font-size: 1.2rem; box-shadow: 0 6px 16px -6px var(--accent-ring);
  transform: rotate(-4deg);
}
.brand .name { font-family: var(--display); font-weight: 600; font-size: 1.32rem; letter-spacing: -.02em; }
.brand .name b { color: var(--accent-deep); font-weight: 600; }
.brand small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin-top: -3px; }

.header-search { flex: 1 1 auto; max-width: 460px; position: relative; }
.header-search input {
  width: 100%; height: 44px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  padding: 0 46px 0 44px; font-size: .95rem; color: var(--ink);
  transition: box-shadow .2s, border-color .2s;
}
.header-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.header-search .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-faint); }
.header-search kbd {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: .7rem; font-weight: 700; color: var(--ink-faint);
  border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 7px; background: var(--surface-2);
}
.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.fav-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 15px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
  font-weight: 700; font-size: .86rem; transition: transform .15s, border-color .2s;
}
.fav-btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.fav-btn .count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .72rem; display: grid; place-items: center; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px;
  border-radius: 999px; background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: .88rem; transition: transform .15s, background .2s;
}
.btn-cta:hover { transform: translateY(-1px); background: #000; }
.btn-cta.accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px var(--accent-ring); }
.btn-cta.accent:hover { background: var(--accent-deep); }

.menu-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 46px 0 20px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 6px 6px 14px; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.hero-eyebrow .pill { background: var(--green-soft); color: var(--green); font-weight: 800; font-size: .72rem; padding: 3px 10px; border-radius: 999px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(20,138,90,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(20,138,90,.45)} 70%{box-shadow:0 0 0 8px rgba(20,138,90,0)} 100%{box-shadow:0 0 0 0 rgba(20,138,90,0)} }

.hero h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
.hero h1 .em { font-style: italic; color: var(--accent-deep); }
.hero h1 .out { -webkit-text-stroke: 1.4px var(--ink); color: transparent; }
.hero p.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; margin: 20px 0 26px; }

.hero-search { position: relative; max-width: 480px; margin-bottom: 18px; }
.hero-search input {
  width: 100%; height: 62px; border-radius: 16px; border: 1.5px solid var(--ink);
  background: var(--surface); padding: 0 130px 0 52px; font-size: 1.05rem; box-shadow: var(--shadow);
}
.hero-search .ico { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink); }
.hero-search .go { position: absolute; right: 8px; top: 8px; bottom: 8px; padding: 0 22px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; }
.hero-search .go:hover { background: var(--accent-deep); }

.pop-searches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; }
.pop-searches span { color: var(--ink-faint); font-weight: 600; }
.pop-searches button {
  border: 1px solid var(--line-strong); background: var(--surface); padding: 5px 13px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; transition: all .15s;
}
.pop-searches button:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-1px); }

.hero-stats { display: flex; gap: 30px; margin-top: 34px; }
.hero-stats .st .n { font-family: var(--display); font-weight: 600; font-size: 2rem; line-height: 1; }
.hero-stats .st .l { font-size: .8rem; color: var(--ink-soft); font-weight: 600; margin-top: 4px; }

/* hero flagship coupon */
.flagship {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 26px; box-shadow: var(--shadow-lg);
  transform: rotate(1.3deg);
}
.flagship::before {
  content: "SHEIN"; position: absolute; top: -14px; left: 26px;
  background: var(--ink); color: var(--paper); font-family: var(--display);
  font-weight: 600; letter-spacing: .18em; font-size: .78rem; padding: 5px 14px; border-radius: 8px;
}
.flagship .ribbon {
  position: absolute; top: 20px; right: -8px; background: var(--accent); color: #fff;
  font-weight: 800; font-size: .72rem; letter-spacing: .04em; padding: 6px 14px; border-radius: 6px 0 0 6px;
  box-shadow: 0 8px 16px -8px var(--accent-ring);
}
.flagship .ribbon::after { content:""; position:absolute; right:0; bottom:-7px; border:4px solid var(--accent-deep); border-right-color:transparent; border-bottom-color:transparent; }
.flagship .big { font-family: var(--display); font-weight: 600; font-size: 4.4rem; line-height: .9; color: var(--accent-deep); margin: 14px 0 2px; }
.flagship .big sup { font-size: 1.6rem; vertical-align: super; }
.flagship .sub { font-weight: 700; font-size: 1.05rem; }
.flagship .desc { color: var(--ink-soft); font-size: .9rem; margin: 6px 0 16px; }
.flagship .trust { display: flex; gap: 16px; font-size: .78rem; color: var(--ink-soft); margin-bottom: 16px; flex-wrap: wrap; }
.flagship .trust b { color: var(--green); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.section-head .sub { color: var(--ink-soft); margin-top: 8px; font-size: .96rem; }
.section-head .see { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-deep); white-space: nowrap; }
.section-head .see:hover { gap: 10px; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 12px; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .18s var(--ease), box-shadow .2s, border-color .2s; text-align: center;
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-ring); }
.cat .emo { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.4rem;
  background: var(--surface-2); border: 1px solid var(--line); }
.cat:hover .emo { background: var(--accent-soft); }
.cat .t { font-weight: 700; font-size: .82rem; }
.cat .c { font-size: .72rem; color: var(--ink-faint); }

/* ---------- coupon cards ---------- */
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.coupon-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .25s, border-color .2s;
  overflow: hidden;
}
.coupon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-ring); }
.coupon-card .glow { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(70% 60% at 80% 0%, var(--accent-soft), transparent 70%); }
.coupon-card:hover .glow { opacity: 1; }

.cc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cc-logo { display: inline-flex; align-items: center; gap: 9px; }
.cc-logo .lm { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .06em; }
.cc-logo .lt b { display: block; font-weight: 800; font-size: .92rem; line-height: 1.1; }
.cc-logo .lt span { font-size: .72rem; color: var(--ink-faint); }
.fav { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center;
  background: var(--surface-2); transition: transform .15s, background .2s, color .2s; color: var(--ink-faint); }
.fav:hover { color: var(--accent); border-color: var(--accent-ring); }
.fav.on { color: var(--accent); background: var(--accent-soft); }
.fav.pop { animation: pop .4s var(--ease); }
@keyframes pop { 0%{transform:scale(1)} 40%{transform:scale(1.35)} 100%{transform:scale(1)} }

.cc-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.badge { font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 7px; }
.badge.hot { background: var(--accent-soft); color: var(--accent-deep); }
.badge.ver { background: var(--green-soft); color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.badge.excl { background: rgba(183,123,32,.14); color: var(--gold); }
.badge.new { background: var(--ink); color: var(--paper); }

.cc-discount { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.cc-discount .pct { font-family: var(--display); font-weight: 600; font-size: 2.7rem; line-height: .9; color: var(--accent-deep); }
.cc-discount .pct sup { font-size: 1.05rem; }
.cc-discount .lbl { font-weight: 700; font-size: .92rem; }
.coupon-card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; margin: 8px 0 4px; }
.coupon-card .cc-desc { font-size: .86rem; color: var(--ink-soft); flex: 1 0 auto; }

.cc-meta { display: flex; align-items: center; gap: 14px; margin: 14px 0 12px; font-size: .76rem; color: var(--ink-soft); flex-wrap: wrap; }
.cc-meta .m { display: inline-flex; align-items: center; gap: 5px; }
.cc-meta .m b { color: var(--ink); font-weight: 800; }
.success { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.success .bar { flex: 1; height: 6px; border-radius: 999px; background: var(--paper-deep); overflow: hidden; }
.success .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #4CBE8E); border-radius: 999px; }
.success .val { font-size: .74rem; font-weight: 800; color: var(--green); }

.cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.countdown { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--amber); }
.countdown .t { font-variant-numeric: tabular-nums; background: rgba(217,130,30,.12); padding: 2px 6px; border-radius: 6px; }

/* reveal / copy — mobile earns via code; desktop plain link */
.reveal { position: relative; width: 100%; }
.reveal .get {
  width: 100%; height: 46px; border-radius: 12px; background: var(--accent); color: #fff;
  font-weight: 800; font-size: .92rem; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s, transform .12s; box-shadow: 0 10px 22px -12px var(--accent-ring);
}
.reveal .get:hover { background: var(--accent-deep); transform: translateY(-1px); }
.reveal .code-box { display: none; margin-top: 10px; }
.reveal.open .get { display: none; }
.reveal.open .code-box { display: block; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Always-visible, highlighted instruction — shown above the code every time it's revealed */
.howto {
  display: flex; align-items: flex-start; gap: 9px;
  background: rgba(217,130,30,.14); border: 1.5px solid var(--amber);
  border-radius: 12px; padding: 10px 12px; margin: 10px 0;
  font-size: .82rem; font-weight: 600; line-height: 1.4; color: var(--ink);
}
.howto-ico { flex: 0 0 auto; font-size: 1rem; line-height: 1.4; }
.howto b { color: var(--accent-deep); }

/* Always-visible, highlighted paste instruction — mobile only, above the "Voir le code" button on every code card */
.paste-hint {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(217,130,30,.14); border: 1.5px solid var(--amber);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 12px;
  font-size: .82rem; font-weight: 700; line-height: 1.4; color: var(--ink);
}
.paste-hint-ico { flex: 0 0 auto; font-size: 1rem; line-height: 1.4; }
.paste-hint b { color: var(--accent-deep); }

.code-strip { display: flex; align-items: stretch; border: 1.5px dashed var(--accent); border-radius: 12px; overflow: hidden; }
.code-strip .code { flex: 1; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .12em; background: var(--accent-soft); color: var(--accent-deep); padding: 12px; }
.code-strip .copy { padding: 0 18px; background: var(--ink); color: #fff; font-weight: 800; font-size: .82rem; }
.code-strip .copy.done { background: var(--green); }
.reveal .goshein { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 8px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .86rem; }
.reveal .goshein:hover { background: #000; }

.desk-cta { display: flex; width: 100%; height: 46px; border-radius: 12px; border: 1.5px solid var(--ink);
  align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: .9rem; background: var(--surface); }
.desk-cta:hover { background: var(--ink); color: var(--paper); }

/* THE B RULE: codes only ever appear on confirmed mobile (see main.js isMobile()).
   .desk-cta is the default, always-present markup. .reveal is only injected by JS
   after a real mobile check + a separate codes.json fetch, so on desktop it never
   exists in the DOM at all — this rule just guards against it visually if it did. */
[data-action] > .reveal ~ .desk-cta { display: none; }

/* ---------- brand strip ---------- */
.brand-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  height: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  font-family: var(--display); font-weight: 600; letter-spacing: .04em; transition: transform .18s, border-color .2s; }
.brand-chip span { font-family: var(--sans); font-weight: 600; font-size: .68rem; letter-spacing: 0; color: var(--ink-faint); }
.brand-chip:hover { transform: translateY(-4px); border-color: var(--accent-ring); }

/* ---------- recently verified ---------- */
.verified-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.vrow { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; padding: 15px 22px; border-bottom: 1px solid var(--line); transition: background .15s; }
.vrow:last-child { border-bottom: none; }
.vrow:hover { background: var(--surface-2); }
.vrow .vl { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: .72rem; }
.vrow .vt b { font-weight: 700; font-size: .94rem; }
.vrow .vt span { display: block; font-size: .78rem; color: var(--ink-faint); }
.vrow .vd { font-family: var(--display); font-weight: 600; color: var(--accent-deep); font-size: 1.3rem; }
.vrow .vv { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: var(--green); white-space: nowrap; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step .num { font-family: var(--display); font-weight: 600; font-size: 3rem; color: var(--accent-soft); line-height: .8; position: absolute; top: 16px; right: 22px; }
.step .si { width: 50px; height: 50px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-family: var(--sans); font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ---------- stats band ---------- */
.stats-band { background: var(--ink); color: var(--paper); border-radius: var(--r-xl); padding: 40px; }
.stats-band .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .n { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: #fff; }
.stats-band .n .u { color: var(--accent); }
.stats-band .l { font-size: .86rem; opacity: .72; margin-top: 8px; }

/* ---------- newsletter ---------- */
.newsletter { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--accent-deep), var(--accent)); color: #fff; border-radius: var(--r-xl); padding: 46px; text-align: center; box-shadow: var(--shadow-lg); }
.newsletter::before { content:""; position:absolute; inset:0; opacity:.4; background: radial-gradient(40% 60% at 15% 10%, rgba(255,255,255,.25), transparent 60%), radial-gradient(50% 70% at 90% 100%, rgba(0,0,0,.2), transparent 60%); }
.newsletter > * { position: relative; }
.newsletter h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.newsletter p { max-width: 46ch; margin: 12px auto 24px; opacity: .92; }
.nl-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.nl-form input { flex: 1; height: 54px; border-radius: 14px; border: none; padding: 0 18px; font-size: 1rem; background: rgba(255,255,255,.95); color: var(--ink); }
.nl-form button { height: 54px; padding: 0 26px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800; white-space: nowrap; transition: transform .12s; }
.nl-form button:hover { transform: translateY(-2px); }
.nl-note { font-size: .78rem; opacity: .8; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; transition: border-color .2s; }
.qa[open] { border-color: var(--accent-ring); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; transition: transform .25s, background .2s; }
.qa[open] summary .pm { transform: rotate(45deg); background: var(--accent); color: #fff; }
.qa .a { padding: 0 22px 20px; color: var(--ink-soft); font-size: .94rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { margin-top: 40px; background: var(--ink); color: rgba(244,238,228,.86); padding: 54px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.site-footer .brand .name, .site-footer .brand .name b { color: #fff; }
.site-footer .brand small { color: rgba(244,238,228,.5); }
.foot-about { font-size: .88rem; opacity: .72; margin: 16px 0; max-width: 34ch; }
.foot-col h4 { font-family: var(--sans); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(244,238,228,.55); margin: 0 0 14px; }
.foot-col a { display: block; padding: 6px 0; font-size: .9rem; opacity: .82; transition: opacity .15s, transform .15s; }
.foot-col a:hover { opacity: 1; transform: translateX(3px); color: var(--accent); }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(244,238,228,.14); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; opacity: .68; }
.disclaimer { font-size: .76rem; opacity: .55; margin-top: 14px; line-height: 1.6; }

/* ============================================================
   TOAST
   ============================================================ */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 200;
  transform: translateX(-50%) translateY(140%); background: var(--ink); color: #fff;
  padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg);
  display: inline-flex; align-items: center; gap: 10px; transition: transform .4s var(--ease); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .ck { width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }

/* ============================================================
   MOTION — scroll reveal
   ============================================================ */
.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity: 1; transform: none; transition: none; } }

/* ---------- legal / content pages ---------- */
.page-hero { padding: 40px 0 8px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: var(--ink-soft); margin-top: 12px; max-width: 60ch; }
.legal { max-width: 800px; margin: 0 auto; padding: 8px 0 20px; }
.legal .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.legal h2 { font-size: 1.4rem; margin: 26px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-soft); margin: 0 0 14px; }
.legal ul { color: var(--ink-soft); padding-left: 20px; margin: 0 0 14px; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--accent-deep); font-weight: 600; }
.legal .updated { font-size: .82rem; color: var(--ink-faint); font-weight: 600; }
.back { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--accent-deep); margin-bottom: 6px; }
.back:hover { gap: 11px; }
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 20px; }
.contact-grid .c { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.contact-grid .c b { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.contact-grid .c a { font-weight: 700; }
@media (max-width: 620px){ .contact-grid { grid-template-columns: 1fr; } .legal .card { padding: 24px; } }

.empty { text-align: center; padding: 50px 20px; color: var(--ink-soft); display: none; }
.empty.show { display: block; }
.empty .e { font-size: 3rem; margin-bottom: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .brand-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .flagship { max-width: 420px; }
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .stats-band .grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .header-search { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .header-actions .btn-cta span { display: none; }
  .fav-btn .lbl { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .deal-grid { grid-template-columns: 1fr; }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .vrow { grid-template-columns: auto 1fr auto; }
  .vrow .vv { display: none; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stats-band { padding: 30px 20px; }
  .newsletter { padding: 34px 20px; }
  .nl-form { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .section { padding: 30px 0; }
}
