/* ==========================================================================
   The Wellbeing Post — Wellaray® Slim Coffee Booster (UK advertorial)
   Single stylesheet. Light theme only, deliberately high-colour.
   ========================================================================== */

/* ------------------------------------------------------------ 1. Tokens   */
:root {
  /* core brand */
  --berry-900: #4A0E30;
  --berry-700: #7A1B4E;
  --berry-600: #9E2364;
  --berry-100: #FCE7F0;

  --coral-700: #C63B22;
  --coral-600: #E8502F;
  --coral-500: #FF6B45;
  --coral-100: #FFE6DE;

  --amber-600: #E09400;
  --amber-500: #FFB703;
  --amber-400: #FFCE4D;
  --amber-100: #FFF3D2;

  --teal-800: #0B4A46;
  --teal-700: #0E5C57;
  --teal-600: #14847A;
  --teal-300: #7FD1C4;
  --teal-100: #DFF3EF;

  --violet-700: #4A1F91;
  --violet-600: #6231B8;
  --violet-100: #EDE5FC;

  --lime-600: #3F9142;
  --lime-100: #E6F4E2;

  /* neutrals */
  --paper: #FFFFFF;
  --cream: #FFF8F0;
  --cream-2: #FDF0E4;
  --ink: #1C1720;
  --ink-soft: #514A55;
  --ink-faint: #857D8A;
  --rule: #EADFD4;
  --rule-strong: #D8C8B8;

  /* signal */
  --danger: #C1121F;
  --danger-bg: #FDECEC;
  --ok: #1E7A4C;
  --ok-bg: #E7F5EC;

  /* action */
  --cta: linear-gradient(135deg, #FF6B45 0%, #E8502F 45%, #C63B22 100%);
  --cta-hot: linear-gradient(135deg, #FFB703 0%, #FF6B45 55%, #E8502F 100%);

  /* metrics */
  --wrap: 1180px;
  --wrap-article: 760px;
  --pad: 20px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(35, 15, 30, .06), 0 4px 12px rgba(35, 15, 30, .06);
  --sh-md: 0 2px 6px rgba(35, 15, 30, .08), 0 16px 38px rgba(35, 15, 30, .12);
  --sh-lg: 0 6px 14px rgba(35, 15, 30, .10), 0 30px 70px rgba(35, 15, 30, .20);
  --sh-cta: 0 6px 0 #A8301A, 0 16px 34px rgba(232, 80, 47, .40);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --dock-h: 74px;
}

/* ------------------------------------------------------------ 2. Reset    */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--dock-h);
}
body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--berry-600); }
button { font: inherit; }

/* Several components below set an explicit display, which would otherwise beat
   the user-agent rule for the hidden attribute. */
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: var(--wrap-article); margin-left: auto; margin-right: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

::selection { background: var(--amber-400); color: var(--ink); }

/* ------------------------------------------------------- 3. Scroll bar    */
.progress-rail {
  position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 900;
  background: rgba(0, 0, 0, .06);
}
.progress-rail__bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #FFB703, #FF6B45, #9E2364, #6231B8);
}

/* ------------------------------------------------------------ 4. Buttons  */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 16px 30px;
  background: var(--cta); color: #fff;
  font-weight: 800; font-size: 1.02rem; letter-spacing: .01em;
  text-decoration: none; border: 0; border-radius: var(--r-pill);
  cursor: pointer; text-align: center;
  box-shadow: 0 4px 0 #A8301A, 0 12px 26px rgba(232, 80, 47, .34);
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 6px 0 #A8301A, 0 18px 34px rgba(232, 80, 47, .42); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #A8301A, 0 8px 18px rgba(232, 80, 47, .3); }
.btn:focus-visible { outline: 3px solid var(--violet-600); outline-offset: 3px; }

.btn--xl { padding: 20px 42px; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.btn--block { display: flex; width: 100%; }
.btn--ghost {
  background: transparent; color: var(--berry-600);
  border: 2px solid currentColor; box-shadow: none; font-weight: 700;
}
.btn--ghost:hover { background: var(--berry-100); box-shadow: none; transform: none; filter: none; }
.btn--gold { background: var(--cta-hot); box-shadow: 0 4px 0 #C98A00, 0 12px 26px rgba(255, 183, 3, .38); color: #2A1A00; }
.btn--gold:hover { box-shadow: 0 6px 0 #C98A00, 0 18px 34px rgba(255, 183, 3, .46); }

.btn-pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-pulse, .live-dot, .flash { animation: none !important; }
  html { scroll-behavior: auto; }
}

.btn-note {
  display: block; margin-top: 12px;
  font-size: .85rem; color: var(--ink-faint); text-align: center;
}
.cta-stack { display: flex; flex-direction: column; align-items: center; margin: 34px 0; }

/* ------------------------------------------------------------ 5. Chrome   */
.utility {
  background: linear-gradient(90deg, var(--berry-900), var(--violet-700) 55%, var(--berry-700));
  color: #F6E8F1; font-size: .78rem;
}
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; flex-wrap: wrap; }
.utility__left, .utility__right { display: flex; align-items: center; gap: 16px; }
.utility svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; }
.utility a { color: #F6E8F1; text-decoration: none; opacity: .85; }
.utility a:hover { opacity: 1; text-decoration: underline; }
.utility__edition img { display: inline-block; width: 19px; height: auto; vertical-align: -2px; margin-right: 5px; }
.utility__live { display: inline-flex; align-items: center; gap: 6px; color: var(--amber-400); font-weight: 700; }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: blip 2s infinite;
}
@keyframes blip {
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.masthead { background: var(--paper); border-bottom: 1px solid var(--rule); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo__mark {
  display: grid; place-items: center; width: 50px; height: 50px; flex: none;
  border-radius: 14px; background: linear-gradient(140deg, var(--coral-500), var(--berry-600));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em;
}
.logo__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; line-height: 1.05; }
.logo__tagline { display: block; font-size: .76rem; color: var(--ink-faint); }
.masthead__right { display: flex; align-items: center; gap: 14px; }
.search { display: flex; align-items: center; gap: 6px; background: var(--cream); border: 1px solid var(--rule); border-radius: var(--r-pill); padding: 5px 6px 5px 16px; }
.search input { border: 0; background: none; outline: none; font-size: .87rem; width: 170px; color: var(--ink); }
.search button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--berry-600); color: #fff; cursor: pointer; }
.search svg { width: 16px; height: 16px; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule); color: var(--ink-soft); }
.socials a:hover { background: var(--berry-600); border-color: var(--berry-600); color: #fff; }
.socials svg { width: 16px; height: 16px; }

.sectionnav { background: var(--berry-700); }
.sectionnav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.sectionnav ul::-webkit-scrollbar { display: none; }
.sectionnav a {
  display: block; padding: 13px 15px; white-space: nowrap;
  color: #F3DCE9; text-decoration: none; font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; border-bottom: 3px solid transparent;
}
.sectionnav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.sectionnav a.is-active { color: #fff; border-bottom-color: var(--amber-500); }

.adbar {
  background: var(--amber-100); border-bottom: 2px solid var(--amber-500);
  font-size: .8rem; color: #6B4A00;
}
.adbar__inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.adbar b {
  background: var(--amber-500); color: #33230A; padding: 3px 10px; border-radius: 5px;
  font-size: .7rem; letter-spacing: .09em; text-transform: uppercase;
}

/* ------------------------------------------------------------ 6. Ribbon   */
.ribbon {
  position: fixed; inset: 0 0 auto 0; z-index: 880;
  transform: translateY(-102%); transition: transform .3s ease;
  background: linear-gradient(90deg, var(--berry-700), var(--coral-600) 60%, var(--amber-500));
  color: #fff; box-shadow: var(--sh-md);
}
.ribbon.is-on { transform: translateY(0); }
.ribbon__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.ribbon__msg { font-size: .88rem; font-weight: 700; }
.ribbon__msg span { display: block; font-weight: 500; opacity: .9; font-size: .78rem; }
.ribbon__right { display: flex; align-items: center; gap: 12px; }
.ribbon__clock {
  font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1rem;
  background: rgba(0, 0, 0, .26); padding: 5px 12px; border-radius: 8px;
}
.ribbon .btn { padding: 10px 22px; font-size: .9rem; box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.ribbon__close { background: none; border: 0; color: #fff; opacity: .7; cursor: pointer; font-size: 1.3rem; line-height: 1; padding: 0 4px; }
.ribbon__close:hover { opacity: 1; }

/* ------------------------------------------------------------ 7. Article  */
.shell { background: var(--cream); }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; padding: 34px 0 0; align-items: start; }

.crumbs { font-size: .8rem; color: var(--ink-faint); margin-bottom: 16px; }
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--berry-600); }
.crumbs span + span::before { content: "›"; margin: 0 8px; opacity: .6; }

.kicker {
  display: inline-block; padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--cta); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker--teal { background: linear-gradient(135deg, var(--teal-600), var(--teal-800)); }
.kicker--violet { background: linear-gradient(135deg, var(--violet-600), var(--berry-700)); }
.kicker--gold { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); color: #33230A; }

.headline em { font-style: normal; color: var(--coral-600); }
.headline mark { background: linear-gradient(180deg, transparent 58%, var(--amber-400) 58%); color: inherit; padding: 0 .08em; }

.standfirst {
  font-size: clamp(1.06rem, 2.1vw, 1.3rem); line-height: 1.5; color: var(--ink-soft);
  border-left: 5px solid var(--coral-500); padding-left: 18px; margin: 18px 0 24px;
}

.byline { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 26px; }
.byline__who { display: flex; align-items: center; gap: 12px; }
.byline__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.byline__name { display: block; font-weight: 800; font-size: .95rem; }
.byline__role { display: block; font-size: .8rem; color: var(--ink-faint); }
.byline__meta { font-size: .8rem; color: var(--ink-faint); text-align: right; }
.byline__meta span { display: block; }

figure { margin: 0 0 26px; }
figure img { border-radius: var(--r); box-shadow: var(--sh-sm); width: 100%; }
figcaption { font-size: .84rem; color: var(--ink-faint); line-height: 1.5; padding: 10px 2px 0; border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
.zoomable { cursor: zoom-in; }

.article-body { font-size: 1.06rem; }
.article-body > p { max-width: 68ch; }
.article-body h2 { margin: 42px 0 16px; }
.article-body h2::after { content: ""; display: block; width: 68px; height: 5px; margin-top: 12px; border-radius: 3px; background: var(--cta-hot); }
.lede { font-size: 1.16rem; }
.lede b { color: var(--coral-700); }

blockquote.pull {
  margin: 30px 0; padding: 26px 26px 26px 30px;
  background: linear-gradient(135deg, var(--berry-100), var(--violet-100));
  border-left: 6px solid var(--berry-600); border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--font-display); font-size: 1.16rem; line-height: 1.45; color: var(--berry-900);
}
blockquote.pull p { margin-bottom: .6em; }
blockquote.pull cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .86rem; font-weight: 700; color: var(--berry-700); }

.ticks { list-style: none; margin: 0 0 24px; padding: 0; }
.ticks li { position: relative; padding: 7px 0 7px 36px; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--lime-100); color: var(--lime-600); font-size: .8rem; font-weight: 800;
}
.ticks--cross li::before { content: "✕"; background: var(--danger-bg); color: var(--danger); }
.ticks--num { counter-reset: t; }
.ticks--num li::before { content: counter(t); counter-increment: t; background: var(--amber-100); color: var(--amber-600); }

.callout {
  margin: 28px 0; padding: 22px 24px; border-radius: var(--r);
  background: var(--paper); border: 2px solid var(--rule); box-shadow: var(--sh-sm);
}
.callout__head { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.callout__num {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px;
  background: var(--cta); color: #fff; font-size: 1.1rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout--key { border-color: var(--coral-500); background: linear-gradient(180deg, var(--coral-100), var(--paper) 70%); }
.callout--warn { border-color: var(--danger); background: var(--danger-bg); }
.callout--warn .callout__num { background: var(--danger); }
.callout--tip { border-color: var(--amber-500); background: var(--amber-100); }
.callout--tip .callout__num { background: linear-gradient(135deg, var(--amber-400), var(--amber-600)); color: #33230A; }
.callout--good { border-color: var(--lime-600); background: var(--lime-100); }
.callout--good .callout__num { background: var(--lime-600); }

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 30px 0; }
.tagrow > span:first-child { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; }
.tag { padding: 5px 13px; border-radius: var(--r-pill); background: var(--berry-100); color: var(--berry-700); font-size: .8rem; font-weight: 700; text-decoration: none; }
.tag:hover { background: var(--berry-600); color: #fff; }

/* --------------------------------------------------------- 8. Sidebar     */
.rail { position: sticky; top: 14px; }
.rail__card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; margin-bottom: 22px; box-shadow: var(--sh-sm); }
.rail__head { padding: 12px 16px; background: var(--berry-700); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.rail__head--hot { background: var(--cta); }
.rail__body { padding: 14px 16px; }
.newsitem { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.newsitem:last-child { border-bottom: 0; }
.newsitem img { width: 74px; height: 56px; flex: none; object-fit: cover; border-radius: 8px; }
.newsitem h4 { font-family: var(--font-body); font-size: .85rem; font-weight: 700; line-height: 1.35; margin: 0 0 4px; }
.newsitem .meta { font-size: .72rem; color: var(--ink-faint); }
.newsitem .meta b { color: var(--berry-600); }

.railpromo { text-align: center; padding: 18px 16px 20px; background: linear-gradient(160deg, var(--amber-100), var(--coral-100)); }
.railpromo img { width: 165px; margin: 0 auto 10px; }
.railpromo p { font-size: .88rem; margin-bottom: 14px; }
.railpromo .btn { width: 100%; padding: 13px 16px; font-size: .92rem; }

.railclock { text-align: center; padding: 16px; background: var(--berry-900); color: #fff; }
.railclock__lbl { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.railclock__val { font-family: var(--font-display); font-size: 2rem; font-variant-numeric: tabular-nums; color: var(--amber-400); }

/* --------------------------------------------------------- 9. Bands       */
.band { padding: clamp(48px, 7vw, 86px) 0; }
.band--paper { background: var(--paper); }
.band--cream { background: var(--cream-2); }
.band--teal { background: linear-gradient(160deg, var(--teal-800), var(--teal-700) 55%, #0A3C39); color: #E7F5F2; }
.band--berry { background: linear-gradient(160deg, var(--berry-900), var(--violet-700) 70%); color: #F7E9F2; }
.band--sun { background: linear-gradient(160deg, #FFF0D0, #FFE1CE 60%, #FFD5DE); }
.band--teal h2, .band--teal h3, .band--berry h2, .band--berry h3 { color: #fff; }
.band--teal .sec-head p, .band--berry .sec-head p { color: rgba(255, 255, 255, .82); }

.sec-head { max-width: 780px; margin: 0 auto clamp(30px, 4vw, 50px); text-align: center; }
.sec-head p { font-size: 1.08rem; color: var(--ink-soft); }

.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--paper); border-radius: var(--r); padding: 24px; border: 1px solid var(--rule);
  box-shadow: var(--sh-sm);
}
.card__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.35rem; margin-bottom: 14px; background: rgba(255, 255, 255, .14); }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.card--f1 .card__ico { background: var(--coral-100); }
.card--f2 .card__ico { background: var(--amber-100); }
.card--f3 .card__ico { background: var(--teal-100); }
.card--f4 .card__ico { background: var(--violet-100); }
.card--f5 .card__ico { background: var(--berry-100); }
.card--f6 .card__ico { background: var(--lime-100); }
.band--teal .card, .band--berry .card { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #fff; }
.band--teal .card p, .band--berry .card p { color: rgba(255, 255, 255, .8); }

.split { display: grid; gap: clamp(28px, 4vw, 52px); grid-template-columns: 1fr 1fr; align-items: center; }
.split--flip .split__media { order: 2; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--sh-md); }

.failgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.fail { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--sh-sm); }
.fail img { width: 100%; height: 158px; object-fit: cover; }
.fail__b { padding: 18px 20px 22px; }
.fail__b h3 { font-size: 1.08rem; }
.fail__b p { font-size: .92rem; color: var(--ink-soft); margin: 0 0 12px; }
.fail__verdict { display: inline-block; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 11px; border-radius: var(--r-pill); background: var(--danger-bg); color: var(--danger); }

.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.step { position: relative; background: var(--paper); border-radius: var(--r); padding: 32px 22px 24px; text-align: center; border: 2px solid var(--amber-400); }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--cta-hot); color: #2A1A00; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  box-shadow: var(--sh-sm);
}
.step p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.mech { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.mech__item { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); padding: 26px 22px; }
.mech__tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-400); margin-bottom: 10px; }
.mech__item p { color: rgba(255, 255, 255, .84); font-size: .95rem; margin: 0; }

.ings { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ing { background: rgba(255, 255, 255, .96); border-radius: var(--r); overflow: hidden; color: var(--ink); box-shadow: var(--sh-md); }
.ing img { width: 100%; height: 140px; object-fit: cover; }
.ing__b { padding: 18px 20px 22px; }
.ing__b h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ing__b p { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.ing__dose { display: inline-block; margin-top: 12px; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-700); background: var(--teal-100); padding: 4px 11px; border-radius: var(--r-pill); }

.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--amber-500), var(--coral-600), var(--berry-600)); }
.tl { position: relative; padding: 0 0 26px 0; }
.tl::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 4px solid var(--coral-600); }
.tl b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.tl span { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--berry-600); }
.tl p { margin: 4px 0 0; color: var(--ink-soft); font-size: .96rem; }

/* ------------------------------------------------- 10. Product aside      */
.aside-offer { padding: clamp(44px, 6vw, 74px) 0; background: linear-gradient(135deg, #FFF1D6 0%, #FFE0D4 40%, #F7DDEC 100%); }
.aside-offer__card {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--sh-lg); border: 3px solid var(--amber-400); position: relative; overflow: hidden;
}
.aside-offer__card::before {
  content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 3, .30), transparent 70%);
}
.aside-offer__media { position: relative; }
.aside-offer__media img { border-radius: var(--r); }
.aside-offer__flag {
  position: absolute; left: -6px; bottom: 14px;
  background: var(--berry-700); color: #fff; font-size: .74rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: 7px 14px; border-radius: 6px; box-shadow: var(--sh-sm);
}
.aside-offer__body { position: relative; }
.aside-offer__body h2 { margin-bottom: 12px; }
.aside-offer__body > p { color: var(--ink-soft); }
.aside-offer .ticks li { padding-top: 5px; padding-bottom: 5px; font-size: .96rem; }
.aside-offer__clock {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--berry-900); color: #fff; border-radius: var(--r); padding: 12px 18px; margin: 18px 0;
}
.aside-offer__clock b { font-family: var(--font-display); font-size: 1.5rem; color: var(--amber-400); font-variant-numeric: tabular-nums; }
.aside-offer__clock span { font-size: .84rem; opacity: .85; }

/* ------------------------------------------------- 11. Social proof       */
.score { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--paper); border-radius: var(--r); padding: 26px 30px; box-shadow: var(--sh-sm); border: 1px solid var(--rule); margin-bottom: 34px; }
.score__big { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--berry-700); }
.stars { color: var(--amber-500); letter-spacing: 2px; }
.score__meta { font-size: .82rem; color: var(--ink-faint); }
.score__bars { display: grid; gap: 6px; }
.score__bar { display: grid; grid-template-columns: 54px 1fr 42px; gap: 10px; align-items: center; font-size: .78rem; color: var(--ink-faint); }
.score__track { height: 9px; border-radius: 5px; background: var(--rule); overflow: hidden; }
.score__fill { display: block; height: 100%; border-radius: 5px; background: var(--cta-hot); }

.tms { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tm { background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--rule); }
.tm > img { width: 100%; cursor: zoom-in; }
.tm__b { padding: 20px 22px 24px; }
.tm__b p { font-size: .95rem; }
.tm__who { font-weight: 800; font-size: .9rem; }
.tm__who span { display: block; font-weight: 500; font-size: .8rem; color: var(--ink-faint); }
.tm__badge { display: inline-block !important; margin-top: 7px; background: var(--ok-bg); color: var(--ok); font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: var(--r-pill); }

.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 26px; }
.gallery figure { margin: 0; }
.gallery figcaption { border: 0; padding: 8px 2px 0; font-size: .8rem; }
.gallery figcaption b { display: block; color: var(--ink); }

.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 28px; }
.review { background: var(--paper); border-radius: var(--r); padding: 18px 20px; border: 1px solid var(--rule); }
.review__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review__top img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.review__name { font-weight: 800; font-size: .9rem; }
.review__name span { display: block; font-weight: 500; font-size: .76rem; color: var(--ink-faint); }
.review p { font-size: .9rem; margin: 6px 0 0; color: var(--ink-soft); }

/* ------------------------------------------------- 12. Quiz               */
.quiz {
  max-width: 720px; margin: 0 auto; background: var(--paper);
  border-radius: var(--r-lg); border: 3px solid var(--violet-600); box-shadow: var(--sh-lg); overflow: hidden;
}
.quiz__head { padding: 22px 26px; text-align: center; background: linear-gradient(135deg, var(--violet-600), var(--berry-600)); color: #fff; }
.quiz__head h3 { color: #fff; margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.6rem); }
.quiz__head p { margin: 6px 0 0; font-size: .88rem; opacity: .9; }
.quiz__body { padding: 26px; }
.quiz__step { display: none; }
.quiz__step.is-on { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz__q { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer;
  border: 2px solid var(--rule); border-radius: var(--r-sm); background: var(--cream);
  font-weight: 600; transition: border-color .12s, background .12s, transform .12s;
}
.quiz__opt:hover { border-color: var(--violet-600); background: var(--violet-100); transform: translateX(3px); }
.quiz__opt input { accent-color: var(--violet-600); width: 20px; height: 20px; }
.quiz__dots { display: flex; justify-content: center; gap: 8px; padding-bottom: 22px; }
.quiz__dots span { width: 34px; height: 6px; border-radius: 3px; background: var(--rule); }
.quiz__dots span.is-on { background: var(--violet-600); }
.quiz__dots span.is-done { background: var(--lime-600); }

.quiz__result { text-align: center; }
.quiz__result img { width: 210px; margin: 0 auto 12px; }
.quiz__win { font-family: var(--font-display); font-size: 1.5rem; color: var(--lime-600); margin-bottom: 4px; }
.quiz__clock { font-family: var(--font-display); font-size: 2.6rem; color: var(--coral-600); font-variant-numeric: tabular-nums; line-height: 1.1; }
.quiz__stock { font-size: .85rem; color: var(--ink-faint); margin-top: 10px; }
.quiz__stock b { color: var(--danger); }
.quiz__loading { text-align: center; padding: 20px 0; }
.quiz__loadbar { height: 10px; border-radius: 5px; background: var(--rule); overflow: hidden; margin: 14px 0 8px; }
.quiz__loadbar i { display: block; height: 100%; width: 0; background: var(--cta-hot); transition: width .25s linear; }

/* ------------------------------------------------- 13. Urgency            */
.clock { display: flex; justify-content: center; gap: clamp(10px, 2vw, 20px); margin: 8px 0 14px; }
.clock__u { min-width: 92px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r); padding: 14px 10px; text-align: center; }
.clock__n { display: block; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); line-height: 1; color: var(--amber-400); font-variant-numeric: tabular-nums; }
.clock__l { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; margin-top: 6px; }
.clock-note { text-align: center; font-size: .86rem; max-width: 620px; margin: 0 auto 30px; opacity: .85; }

.stockbar { max-width: 640px; margin: 0 auto 36px; }
.stockbar__row { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 700; margin-bottom: 8px; }
.stockbar__track { height: 16px; border-radius: 8px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.stockbar__fill { height: 100%; width: 84%; border-radius: 8px; background: linear-gradient(90deg, var(--amber-500), var(--coral-600)); }
.stockbar__note { font-size: .8rem; opacity: .8; margin: 8px 0 0; text-align: center; }

.feed { max-width: 620px; margin: 0 auto; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); overflow: hidden; }
.feed__head { display: flex; align-items: center; gap: 8px; padding: 11px 18px; background: rgba(0, 0, 0, .22); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.feed ul { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .87rem; }
.feed li span:last-child { opacity: .7; white-space: nowrap; font-size: .8rem; }
.feed li.flash { animation: flashIn .6s ease; }
@keyframes flashIn { from { background: rgba(255, 183, 3, .3); } to { background: transparent; } }

/* ------------------------------------------------- 14. FAQ               */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-sm); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 1.03rem; color: var(--ink);
}
.faq__q:hover { background: var(--cream); }
.faq__q::after { content: "+"; flex: none; font-size: 1.5rem; color: var(--coral-600); line-height: 1; }
.faq__item.is-open .faq__q::after { content: "–"; }
.faq__a { display: none; padding: 0 20px 20px; color: var(--ink-soft); font-size: .96rem; }
.faq__item.is-open .faq__a { display: block; }

.guarantee { max-width: 760px; margin: 34px auto 0; text-align: center; background: var(--lime-100); border: 2px dashed var(--lime-600); border-radius: var(--r); padding: 26px 24px; }
.guarantee__seal { font-size: 2.6rem; line-height: 1; }
.guarantee h3 { margin: 8px 0; }
.guarantee p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ------------------------------------------------- 15. Comments          */
.comments { background: var(--paper); border-top: 1px solid var(--rule); padding: clamp(40px, 5vw, 64px) 0; }
.comments__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-bottom: 2px solid var(--rule); padding-bottom: 12px; margin-bottom: 22px; }
.comments__head h2 { margin: 0; }
.comments__count { font-size: .85rem; color: var(--ink-faint); }
.comments__list { display: grid; gap: 18px; max-width: 860px; }
.cmt { display: flex; gap: 12px; }
.cmt__av { width: 42px; height: 42px; flex: none; border-radius: 50%; overflow: hidden; background: var(--berry-100); display: grid; place-items: center; font-weight: 800; color: var(--berry-700); }
.cmt__av img { width: 100%; height: 100%; object-fit: cover; }
.cmt__body { flex: 1; min-width: 0; }
.cmt__bubble { background: var(--cream); border-radius: 4px 16px 16px 16px; padding: 12px 16px; }
.cmt__name { font-weight: 800; font-size: .9rem; display: inline-block; }
.cmt__badge { display: inline-block; margin-left: 6px; font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--r-pill); background: var(--teal-100); color: var(--teal-700); vertical-align: 1px; }
.cmt__bubble p { margin: 4px 0 0; font-size: .95rem; }
.cmt__photo { margin-top: 10px; border-radius: 10px; max-width: 220px; cursor: zoom-in; }
.cmt__meta { display: flex; align-items: center; gap: 14px; padding: 6px 0 0 14px; font-size: .78rem; color: var(--ink-faint); }
.cmt__act { background: none; border: 0; padding: 0; font-weight: 800; color: var(--ink-faint); cursor: pointer; font-size: .78rem; }
.cmt__act:hover { color: var(--berry-600); text-decoration: underline; }
.cmt__act.is-liked { color: var(--berry-600); }
.cmt__reacts { display: inline-flex; align-items: center; gap: 2px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-pill); padding: 1px 8px 1px 4px; }
.cmt__reacts img { width: 16px; height: 16px; display: inline-block; }
.cmt__replies { margin: 12px 0 0 18px; display: grid; gap: 12px; border-left: 2px solid var(--rule); padding-left: 14px; }
.cmt--reply .cmt__av { width: 34px; height: 34px; font-size: .8rem; }
.comments__more { display: block; margin: 22px auto 0; }

.cmtform { display: flex; gap: 12px; max-width: 860px; margin-bottom: 26px; }
.cmtform__fake {
  flex: 1; text-align: left; padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--cream); border: 1px solid var(--rule); color: var(--ink-faint); cursor: pointer; font-size: .92rem;
}
.cmtform__fake:hover { border-color: var(--berry-600); }

/* ------------------------------------------------- 16. Final + footer     */
.final { padding: clamp(44px, 6vw, 80px) 0; background: linear-gradient(160deg, #FFE9D2, #FFD8DF 55%, #EFD9F7); }
.final__card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 46px); align-items: center; background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); box-shadow: var(--sh-lg); }
.final__card img { border-radius: var(--r); }
.final__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.final__pay img { border-radius: 0; }
.final__pay img:first-child { width: 220px; }
.final__pay img:last-child { width: 250px; }

.footer { background: var(--berry-900); color: #E4CFDD; padding: clamp(40px, 5vw, 64px) 0 28px; font-size: .9rem; }
.footer__grid { display: grid; gap: 30px; grid-template-columns: 1.5fr 1fr 1fr 1fr; margin-bottom: 30px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #E4CFDD; text-decoration: none; }
.footer a:hover { color: var(--amber-400); text-decoration: underline; }
.footer__logo { width: 160px; margin-bottom: 14px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; font-size: .8rem; line-height: 1.6; color: #C5A9BB; }
.footer__legal p { margin-bottom: .9em; }
.footer__legal strong { color: #fff; }
.disclaimer-box { background: rgba(255, 255, 255, .06); border-left: 4px solid var(--amber-500); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 16px 20px; margin-bottom: 22px; }
.disclaimer-box h4 { font-size: .92rem; margin-bottom: 8px; }
.footer__tos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 20px 0 12px; }
.footer__tos button { background: none; border: 0; color: #C5A9BB; text-decoration: underline; cursor: pointer; font-size: .82rem; }
.footer__tos button:hover { color: #fff; }

/* ------------------------------------------------- 17. Dock              */
.dock {
  position: fixed; inset: auto 0 0 0; z-index: 870;
  background: linear-gradient(90deg, var(--berry-900), var(--violet-700) 70%);
  border-top: 3px solid var(--amber-500); box-shadow: 0 -6px 26px rgba(0, 0, 0, .26);
  transform: translateY(110%); transition: transform .3s ease;
}
.dock.is-on { transform: translateY(0); }
.dock__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: var(--dock-h); padding-top: 10px; padding-bottom: 10px; }
.dock__left { display: flex; align-items: center; gap: 12px; color: #fff; min-width: 0; }
.dock__left img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.dock__txt b { display: block; font-size: .92rem; }
.dock__txt span { display: block; font-size: .76rem; opacity: .8; }
.dock__right { display: flex; align-items: center; gap: 14px; }
.dock__clock { color: var(--amber-400); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.dock .btn { padding: 13px 26px; }

/* ------------------------------------------------- 18. Pop-ups           */
.pop {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(30, 10, 25, .68); backdrop-filter: blur(3px);
}
.pop.is-on { display: flex; animation: popFade .22s ease; }
@keyframes popFade { from { opacity: 0; } to { opacity: 1; } }
.pop__box {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  animation: popIn .26s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.pop__box--wide { max-width: 900px; }
.pop__x {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--rule); color: var(--ink-soft);
  cursor: pointer; font-size: 1.2rem; line-height: 1;
}
.pop__x:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.pop__banner { padding: 26px 26px 20px; text-align: center; color: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.pop__banner--hot { background: var(--cta); }
.pop__banner--gold { background: linear-gradient(135deg, var(--amber-400), var(--coral-500)); color: #33230A; }
.pop__banner--violet { background: linear-gradient(135deg, var(--violet-600), var(--berry-700)); }
.pop__banner h3 { color: inherit; margin: 0; font-size: clamp(1.25rem, 3vw, 1.75rem); }
.pop__banner p { margin: 8px 0 0; font-size: .92rem; opacity: .92; }
.pop__emoji { font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 8px; }
.pop__b { padding: 24px 26px 28px; }
.pop__b p { font-size: .96rem; }
.pop__b .btn { width: 100%; }
.pop__foot { text-align: center; font-size: .78rem; color: var(--ink-faint); margin-top: 12px; }
.pop__decline { display: block; width: 100%; margin-top: 10px; background: none; border: 0; color: var(--ink-faint); text-decoration: underline; cursor: pointer; font-size: .84rem; }
.pop__prod { width: 190px; margin: 0 auto 14px; }
.pop__clock { text-align: center; font-family: var(--font-display); font-size: 2.1rem; color: var(--coral-600); font-variant-numeric: tabular-nums; margin-bottom: 6px; }

/* pick-a-card */
.picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 16px; }
.pick {
  position: relative; aspect-ratio: 3 / 4; border: 0; padding: 0; cursor: pointer; border-radius: var(--r);
  background: linear-gradient(150deg, var(--violet-600), var(--berry-700)); color: #fff;
  display: grid; place-items: center; font-size: 2rem; box-shadow: var(--sh-sm);
  transition: transform .16s ease;
}
.pick:hover:not(.is-flipped) { transform: translateY(-5px) rotate(-1.5deg); }
.pick.is-flipped { background: var(--lime-100); color: var(--lime-600); cursor: default; }
.pick.is-dim { opacity: .38; cursor: default; }
.pick__txt { display: none; font-family: var(--font-display); font-size: .95rem; font-weight: 700; padding: 8px; text-align: center; line-height: 1.2; }
.pick.is-flipped .pick__face { display: none; }
.pick.is-flipped .pick__txt { display: block; }

/* cookie bar */
.cookiebar {
  position: fixed; inset: auto 16px 16px 16px; z-index: 960; max-width: 560px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--sh-lg);
  padding: 18px 20px; display: none;
}
.cookiebar.is-on { display: block; animation: popIn .3s ease; }
.cookiebar p { font-size: .86rem; margin: 0 0 12px; color: var(--ink-soft); }
.cookiebar__row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookiebar .btn { padding: 10px 22px; font-size: .88rem; }

/* social proof toasts */
.toasts { position: fixed; left: 16px; bottom: calc(var(--dock-h) + 16px); z-index: 940; display: grid; gap: 10px; max-width: 330px; }
.toast {
  display: flex; align-items: center; gap: 11px; padding: 10px 14px 10px 10px;
  background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--coral-600);
  border-radius: var(--r-sm); box-shadow: var(--sh-md);
  animation: toastIn .35s ease; cursor: pointer; text-align: left;
  color: var(--ink); text-decoration: none;
}
.toast:hover { border-color: var(--coral-600); }
.toast.is-out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(-120%); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(-120%); } }
.toast img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.toast b { display: block; font-size: .84rem; }
.toast span { display: block; font-size: .76rem; color: var(--ink-faint); }
.toast--alert { border-left-color: var(--amber-500); }
.toast__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--amber-100); font-size: 1.3rem; flex: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1010; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(12, 5, 10, .92); }
.lightbox.is-on { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: var(--r); }
.lightbox__x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.5rem; cursor: pointer; }

/* policy popups */
.policy__b { padding: 30px; }
.policy__b h3 { margin-top: 22px; }
.policy__b h3:first-child { margin-top: 0; padding-right: 44px; }
.policy__b p, .policy__b li { font-size: .92rem; color: var(--ink-soft); }

/* comment modal */
.cmtmodal input, .cmtmodal textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--r-sm);
  font: inherit; font-size: .95rem; margin-bottom: 12px; background: var(--cream); color: var(--ink);
}
.cmtmodal textarea { min-height: 110px; resize: vertical; }
.cmtmodal input:focus, .cmtmodal textarea:focus { outline: 2px solid var(--berry-600); outline-offset: 1px; }

/* ------------------------------------------------- 19. Responsive        */
@media (max-width: 1020px) {
  .grid-main { grid-template-columns: 1fr; gap: 34px; }
  .rail { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .split, .final__card, .aside-offer__card { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .score { grid-template-columns: 1fr; text-align: center; }
  .masthead__right .search { display: none; }
  .picker { grid-template-columns: 1fr; }
  .pick { aspect-ratio: auto; min-height: 74px; }
}
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .utility__right { display: none; }
  .logo__mark { width: 42px; height: 42px; font-size: 1.05rem; }
  .logo__title { font-size: 1.25rem; }
  .socials { display: none; }
  .dock__txt span { display: none; }
  .dock__clock { font-size: .95rem; }
  .dock .btn { padding: 12px 18px; font-size: .9rem; }
  .ribbon__msg span { display: none; }
  .toasts { left: 10px; right: 10px; max-width: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .final__pay img:first-child, .final__pay img:last-child { width: 100%; max-width: 260px; }
  .clock__u { min-width: 0; flex: 1; }
}
@media (max-width: 420px) {
  .cmt__meta { gap: 10px; }
}
