/* GottaOffer UI v3. One stylesheet for every page.
   Change colours and fonts in :root only. Components never hard-code a colour. */

:root {
  --brand: #ff4d2e;
  --brand-2: #ff7a3d;
  --brand-300: #ffb199;
  --brand-600: #e63b1d;
  --brand-700: #c22d12;
  --brand-50: #fff3f0;
  --brand-100: #ffe1da;
  --ink: #0f1222;
  --ink-2: #3d4255;
  --ink-3: #6b7083;
  --line: #e7e8ee;
  --line-2: #d5d7e0;
  --surface: #ffffff;
  --surface-2: #f7f7fa;
  --surface-3: #eff0f5;
  --night: #0f1222;
  --night-2: #1a1e33;
  --ok: #0f9d63;
  --ok-50: #e8f8f0;
  --gold: #f6a609;
  --accent: #6d4aff;
  --accent-50: #f1edff;
  --accent-100: #e6dfff;
  --todo: #fff4c2;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --sh-1: 0 1px 2px rgba(15,18,34,.05), 0 1px 1px rgba(15,18,34,.03);
  --sh-2: 0 2px 4px rgba(15,18,34,.04), 0 8px 24px -6px rgba(15,18,34,.10);
  --sh-3: 0 4px 8px rgba(15,18,34,.04), 0 24px 48px -12px rgba(15,18,34,.18);
  --wrap: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }
.section--soft { background: var(--surface-2); }
.section--night { background: var(--night); color: #fff; }
.section--night p { color: #b7bbcc; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--ink-2); margin: 8px 0 0; max-width: 560px; }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r-sm); z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
mark.todo { background: var(--todo); color: inherit; padding: 0 3px; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px;
  border: 1px solid transparent; font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--brand) 60%, transparent); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--night-2); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }

/* ---------- Header ---------- */
.topbar { background: var(--night); color: #d6d9e6; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; text-align: center; }
.topbar strong { color: #fff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #2ee59d; box-shadow: 0 0 0 0 rgba(46,229,157,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(46,229,157,0); } 100% { box-shadow: 0 0 0 0 rgba(46,229,157,0); } }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 21px/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: -.03em; }
.logo-mark { width: 36px; height: 36px; display: block; flex: none; }
.logo-accent { color: var(--brand); }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-3); color: var(--ink); }
.header-search { flex: 1; max-width: 380px; }
.country-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px !important; border: 1px solid var(--line-2); border-radius: 999px !important; font-size: 14px !important; }

/* ---------- Search ---------- */
.search { position: relative; }
.search input { width: 100%; height: 44px; padding: 0 14px 0 42px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: 15px; background: var(--surface-2); transition: border-color .15s, box-shadow .15s, background .15s; }
.search input:focus { border-color: var(--brand); background: var(--surface); outline: none; box-shadow: 0 0 0 4px var(--brand-100); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.search--hero { max-width: 640px; margin: 0 auto; }
.search--hero input { height: 64px; font-size: 17px; padding: 0 140px 0 52px; border-radius: 18px; background: var(--surface); border-color: var(--line); box-shadow: var(--sh-3); }
.search--hero svg { left: 20px; width: 22px; height: 22px; }
.search--hero .btn { position: absolute; right: 8px; top: 8px; min-height: 48px; border-radius: 12px; }
/* search suggestions (site.js): stores and categories under a search box */
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-3); max-height: min(420px, 70vh); overflow-y: auto; text-align: left; }
.search-suggest[hidden] { display: none; }
.search-suggest a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.search-suggest [aria-selected="true"] a, .search-suggest a:hover { background: var(--surface-2); }
.search-suggest__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggest__kind { flex: none; font-size: 12px; font-weight: 600; color: var(--ink-3); background: var(--surface-3); border-radius: 999px; padding: 2px 8px; }
.search-suggest__all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.search-suggest__all a { color: var(--brand-700); font-weight: 600; }
.search-open .header-search .search-suggest { left: 20px; right: 20px; }
.popular-searches { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.popular-searches a { color: var(--ink-2); text-decoration: none; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.popular-searches a:hover { border-color: var(--ink-3); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 50% at 15% 10%, var(--brand-100) 0%, transparent 70%), radial-gradient(35% 45% at 85% 20%, var(--accent-100) 0%, transparent 70%), radial-gradient(50% 40% at 50% 100%, #fff1d6 0%, transparent 70%), var(--surface); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 75%); }
.hero h1 { max-width: 900px; margin: 0 auto 18px; }
.hero h1 .hl { background: linear-gradient(90deg, var(--brand), var(--brand-2) 50%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 1rem + .3vw, 20px); color: var(--ink-2); max-width: 680px; margin: 0 auto 32px; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.badge-pill b { background: var(--ok-50); color: var(--ok); padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 18px; height: 18px; color: var(--ok); }

/* ---------- Generic cards and grids ---------- */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--countries { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--stores { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.grid--cats { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.grid--steps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--team { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--sh-1); }
a.card { display: block; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--line-2); color: inherit; }

.country { display: flex; gap: 14px; align-items: center; padding: 16px; }
.country .flag { font-size: 30px; line-height: 1; width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; flex: none; }
.country strong { display: block; font-size: 16px; }
.country span { font-size: 13px; color: var(--ink-3); }

.store-tile { text-align: center; padding: 22px 14px 18px; position: relative; }
.store-tile > img { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); padding: 6px; }
.store-tile strong { display: block; font-size: 15px; }
.store-tile .save { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--ok); font-weight: 700; background: var(--ok-50); padding: 3px 10px; border-radius: 999px; }
.store-tile span { font-size: 13px; color: var(--ok); font-weight: 600; }

.cat-tile { display: flex; align-items: center; gap: 14px; font-weight: 600; padding: 16px; }
.cat-tile .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--brand-50); display: grid; place-items: center; font-size: 22px; flex: none; }
.cat-tile small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; }

.step { padding: 24px; }
.step-num { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 16px var(--display); margin-bottom: 16px; }
.step p { color: var(--ink-2); margin: 0; font-size: 15px; }

.person { display: flex; gap: 16px; align-items: center; padding: 18px; }
.person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--surface-3); flex: none; }
.person strong { display: block; font-size: 16px; }
.person span { font-size: 14px; color: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stats > div { background: var(--surface); padding: 28px 20px; text-align: center; }
.stats strong { display: block; font: 800 clamp(28px, 1.4rem + 1.4vw, 40px)/1.1 var(--display); letter-spacing: -.03em; }
.stats span { color: var(--ink-3); font-size: 14px; }
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; text-align: center; }
.stat-band strong { display: block; font: 800 30px var(--display); letter-spacing: -.02em; }
.stat-band span { color: var(--ink-2); font-size: 14px; }

/* ---------- Answer box (AIO) ---------- */
.answer { position: relative; border-radius: var(--r-lg); padding: 24px 24px 20px; background: linear-gradient(135deg, var(--brand-50), var(--accent-50)); border: 1px solid var(--brand-100); }
.answer-label { display: inline-flex; align-items: center; gap: 6px; font: 700 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.answer p { font-size: 17px; margin: 0 0 14px; color: var(--ink); }
.answer-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.answer-facts div { background: rgba(255,255,255,.75); border-radius: 12px; padding: 10px 12px; }
.answer-facts dt { font-size: 12px; color: var(--ink-3); }
.answer-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; }

/* ---------- Store page ---------- */
.breadcrumb { font-size: 14px; color: var(--ink-3); padding: 18px 0 8px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

.store-hero { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; padding: 16px 0 28px; }
.store-hero:has(> .store-badge) { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.store-hero--plain { grid-template-columns: minmax(0, 1fr); }
/* the logo and its rating on a soft brand-coloured badge */
.store-badge { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px; border-radius: 32px; border: 1px solid var(--brand-100);
  background: radial-gradient(80% 70% at 50% 0%, var(--brand-100) 0%, transparent 75%), linear-gradient(160deg, var(--brand-50), var(--accent-50, var(--brand-50))); }
.store-rating { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; color: var(--ink-2); text-align: center; line-height: 1.3; }
.store-rating strong { color: var(--ink); }
.store-stars { position: relative; display: inline-block; font-size: 18px; letter-spacing: 2px; line-height: 1; color: var(--line-2); white-space: nowrap; }
.store-stars::before { content: "\2605\2605\2605\2605\2605"; position: absolute; inset: 0 auto 0 0; width: var(--rating, 0%); overflow: hidden; color: var(--gold); }
.store-updated { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
.store-updated > span:first-child:not(.byline) { font-weight: 600; color: var(--ink); }
.store-updated .byline a { font-weight: 600; color: var(--brand); }
.store-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip-best { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--ink-2); font-size: 13px; }
.chip-best strong { color: var(--brand); font-weight: 800; }
.store-logo { width: 120px; height: 120px; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); object-fit: contain; padding: 10px; box-shadow: var(--sh-2); }
.store-hero h1 { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 10px; }
.store-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 14px; color: var(--ink-2); }
.store-meta .stars { color: var(--gold); letter-spacing: 1px; font-size: 15px; }
.chip-ok { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ok-50); color: var(--ok); font-weight: 600; font-size: 13px; }
.byline { display: inline-flex; align-items: center; gap: 8px; }
.byline img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.verified { color: var(--ok); font-weight: 600; }

.store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 8px; align-items: start; }
.side { position: sticky; top: 92px; display: grid; gap: 16px; }
.side h2 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 12px; }

.toc-bar { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin: 28px 0 20px; background: var(--surface-2); border-radius: 14px; scrollbar-width: none; }
.toc-bar::-webkit-scrollbar { display: none; }
.toc-bar a { flex: none; padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.toc-bar a:hover { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }

.tabs { display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.tab { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: 600 14px var(--font); color: var(--ink-2); cursor: pointer; }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Coupon card: ticket shape with a perforated divider */
.offer { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 0; align-items: stretch; padding: 0; margin-bottom: 14px; overflow: visible; transition: box-shadow .15s, border-color .15s; }
.offer:hover { box-shadow: var(--sh-2); border-color: var(--line-2); }
.offer-value { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px 10px; border-right: 2px dashed var(--line); position: relative; background: var(--surface-2); border-radius: var(--r) 0 0 var(--r); }
.offer-value::before, .offer-value::after { content: ""; position: absolute; right: -10px; width: 18px; height: 18px; background: var(--surface); border-radius: 50%; border: 1px solid var(--line); }
.offer-value::before { top: -10px; clip-path: inset(50% 0 0 0); }
.offer-value::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.offer-value strong { display: block; font: 800 28px/1 var(--display); color: var(--brand-600); letter-spacing: -.03em; max-width: 100%; overflow-wrap: anywhere; }
/* long headlines ("FREE DELIVERY") in the narrow column: OfferListViewComponent.ValueClass */
.offer-value--long strong { font-size: 21px; line-height: 1.05; }
.offer-value--xlong strong { font-size: 16px; line-height: 1.1; letter-spacing: -.01em; }
.offer-value span { margin-top: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 700; }
.offer-value em { font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 700; margin-bottom: 4px; }
.offer-store.offer-store--m { display: none; }
.offer-body { padding: 18px 20px; min-width: 0; }
.offer-store { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); text-decoration: none; }
.offer-store img { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.offer-store:hover { color: var(--brand-700); }
.offer h3 { font-size: 17px; margin-bottom: 6px; line-height: 1.3; }
.offer p { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; }
.offer-action { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 20px 18px 0; }
.offer-action small { font-size: 12px; color: var(--ink-3); text-align: center; }
.offer-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--ink-3); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge--code { background: var(--brand-50); color: var(--brand-700); }
.badge--deal { background: var(--ok-50); color: var(--ok); }
.badge--best { background: var(--ink); color: #fff; }
.offer details { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.offer summary { cursor: pointer; color: var(--ink-3); font-weight: 500; }
.offer h3 a { color: inherit; text-decoration: none; }
.offer h3 a:hover { color: var(--brand-700); }
a.code-btn { display: block; line-height: 44px; text-decoration: none; text-align: right; }
/* Compact ticket for 2-column grids (home, country): the button sits under the text */
.offer--compact { grid-template-columns: 104px minmax(0, 1fr); }
.offer--compact .offer-value { grid-row: 1 / span 2; }
.offer--compact .offer-action { grid-column: 2; flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 0 20px 18px; }
.offer--compact .code-btn, .offer--compact .offer-action .btn { min-width: 0; width: 176px; }
.offer--featured { border: 2px solid var(--brand); box-shadow: 0 10px 30px -14px color-mix(in srgb, var(--brand) 55%, transparent); }
.offer--featured .offer-value { background: var(--brand-50); }
.ribbon { position: absolute; top: -11px; left: 20px; background: var(--brand); color: #fff; font: 700 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; z-index: 1; }
.success { display: inline-flex; align-items: center; gap: 8px; }
.success .bar { width: 64px; height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.success .bar i { display: block; height: 100%; background: var(--ok); border-radius: 6px; }
/* confirmed sales through the offer this week (OfferList) */
.verified-sales { color: var(--ok); font-weight: 600; }

.code-btn { position: relative; min-width: 176px; height: 48px; border-radius: 12px; border: 2px dashed var(--brand); background: var(--brand-50);
  font: 700 15px var(--font); letter-spacing: .06em; color: var(--ink); cursor: pointer; overflow: hidden; padding: 0 14px; text-align: right; }
.code-btn .peel { position: absolute; inset: 0; right: 40px; background: var(--brand); color: #fff; display: grid; place-items: center; letter-spacing: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); transition: right .2s; }
.code-btn:hover .peel { right: 50px; }
.code-btn.revealed .peel { display: none; }
.code-btn.revealed { border-style: solid; text-align: center; }

.offer--expired .offer-value strong { color: var(--ink-3); }

.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; font-size: 14px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.rate { display: inline-flex; flex-direction: row-reverse; gap: 2px; font-size: 28px; }
.rate button { background: none; border: 0; padding: 0; color: var(--line-2); cursor: pointer; font-size: inherit; line-height: 1; }
.rate button:hover, .rate button:hover ~ button { color: var(--gold); }
/* shown after a vote: the form redirects back to #rated */
.rated-msg { display: none; margin: 6px 0 0; color: var(--ok, #0a7f4f); font-weight: 600; }
.rated-msg:target { display: block; }
.link-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 500; }
.link-list a::after { content: "›"; color: var(--ink-3); }
.link-list a:hover { color: var(--brand-700); }
.side-store { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.side-store img { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); object-fit: contain; padding: 4px; }

/* Long-form content */
.prose { max-width: 760px; font-size: 17px; line-height: 1.75; }
.prose h2 { margin-top: 2em; scroll-margin-top: 100px; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose > p:first-of-type { font-size: 18px; }
.content-section { scroll-margin-top: 100px; }
/* Store page: live offers from other stores like this one (Components/SimilarOffers) */
.similar-offers { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.similar-offers > h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin-bottom: 4px; }
.similar-offers > p.muted { margin: 0 0 16px; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); margin: 24px 0; font-size: 15px; }
.callout .ico { font-size: 22px; line-height: 1.2; }
.callout p:last-child { margin: 0; }
.callout--tip { background: var(--ok-50); border-color: #c7eedb; }
.callout--warn { background: #fff8e6; border-color: #ffe6a8; }
.howto { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.howto li { counter-increment: s; position: relative; padding: 16px 16px 16px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin: 0 !important; }
.howto li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font: 800 15px var(--display); }
.howto strong { display: block; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--r); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 540px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap thead th { background: var(--surface-2); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.table-wrap td.yes { color: var(--ok); font-weight: 600; }
.table-wrap tr.us td { background: var(--brand-50); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.pros-cons > div { border-radius: var(--r); padding: 18px 20px; border: 1px solid var(--line); font-size: 15px; }
.pros-cons h3 { font-size: 16px; margin: 0 0 8px; }
.pros-cons ul { margin: 0; padding-left: 1.2em; }
.pros-cons .pros { background: var(--ok-50); border-color: #c7eedb; }
.pros-cons .cons { background: #fff3f0; border-color: var(--brand-100); }
.log { list-style: none; padding: 0 !important; margin: 16px 0; border-left: 2px solid var(--line); }
.log li { position: relative; padding: 0 0 18px 22px; margin: 0 !important; font-size: 15px; }
.log li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ok); }
.log time { display: block; font-weight: 700; font-size: 14px; }
.log .fail::before { border-color: var(--brand); }

.reviews { list-style: none; margin: 0 0 16px; padding: 0; }
.review { border-bottom: 1px solid var(--line); padding: 14px 0; }
.review:last-child { border-bottom: 0; }
.review__stars { color: #f5a623; letter-spacing: 2px; }
.review__stars .muted { color: var(--line); }
.review__title { display: block; margin-top: 4px; }
.review__body { margin: 6px 0; white-space: pre-line; }
.review-form > summary { list-style: none; display: inline-flex; cursor: pointer; }
.review-form > summary::-webkit-details-marker { display: none; }
.review-form form { display: grid; gap: 6px; max-width: 560px; margin-top: 12px; }
.review-form input:not([type=radio]), .review-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; background: var(--surface); color: inherit; }
.review-form__stars { border: 0; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.review-form__stars legend { font-weight: 600; margin-bottom: 4px; }
.star-input { position: relative; display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input label { cursor: pointer; font-size: 32px; line-height: 1; padding: 2px 3px; border-radius: 8px; color: var(--line-2); transition: color .12s, transform .12s; }
/* the chosen star and the ones before it; while hovering, the stars up to the pointer */
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5a623; }
.star-input:hover input:checked ~ label:not(:hover):not(:hover ~ label) { color: var(--line-2); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 1px; }
.review-form button[type=submit] { justify-self: start; margin-top: 6px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); padding: 0 20px; margin-bottom: 10px; background: var(--surface); transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--sh-2); padding-bottom: 15px; }
.faq summary { font-weight: 700; font-family: var(--display); letter-spacing: -.01em; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-3); display: grid; place-items: center; font-size: 18px; color: var(--ink-2); }
.faq details[open] summary::after { content: "–"; background: var(--ink); color: #fff; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 24px; }
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: var(--surface-3); flex: none; }
.author-box p, .author-box .bio { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.author-box .creds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.author-box .creds span { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--night); color: #fff; border-radius: var(--r-lg); padding: 48px; isolation: isolate; }
.newsletter::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 55%, transparent), transparent); }
.newsletter p { color: #b7bbcc; margin: 0; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.newsletter input::placeholder { color: #8a8fa5; }
.newsletter .title { font: 800 clamp(1.4rem, 1.1rem + 1vw, 2rem)/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.newsletter .btn { min-height: 52px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #9da2b8; padding: 64px 0 28px; margin-top: 96px; font-size: 14px; }
.site-footer .logo { color: #fff; }
/* the logo column, then one per menu: the footer sets --foot-cols to the number of menu columns it has */
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(var(--foot-cols, 4), 1fr); gap: 32px; }
.site-footer h2, .site-footer .foot-h { font: 700 13px var(--font); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #9da2b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: #d6d9e6; }
.social a:hover { background: rgba(255,255,255,.08); color: #fff; }
.social svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Listings, categories, blog ---------- */
.page-hero { position: relative; padding: 40px 0 28px; isolation: isolate; }
.page-hero p { color: var(--ink-2); max-width: 720px; margin: 0; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.load-more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; }
.load-more [data-load-more][aria-busy="true"] { opacity: .6; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.deal-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; margin-bottom: 12px; }
.deal-row img { width: 60px; height: 60px; object-fit: contain; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); padding: 4px; }
.deal-row .store { font-size: 12px; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.deal-row h3 { font-size: 16px; margin: 2px 0 6px; }
.deal-row h3 a { color: var(--ink); text-decoration: none; }
.deal-row h3 a:hover { color: var(--brand-700); }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; }
.az a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.az a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.store-cols { columns: 4 190px; column-gap: 24px; font-size: 15px; }
.store-cols a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; break-inside: avoid; }
.store-cols a:hover { color: var(--brand-700); text-decoration: underline; }
.post-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--brand-100), var(--accent-50)); display: grid; place-items: center; font-size: 44px; }
.post-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 18px; margin: 0; }
.post-card p { font-size: 14px; color: var(--ink-2); margin: 0; }
.post-meta { font-size: 13px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; padding-top: 10px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); }
a.kicker { text-decoration: none; }
a.kicker:hover { text-decoration: underline; }
.post-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card--feature .thumb { aspect-ratio: auto; min-height: 300px; font-size: 72px; }
.post-card--feature h3 { font-size: 28px; }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article-head { padding: 24px 0 8px; }
.article-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.standfirst { font-size: 20px; color: var(--ink-2); line-height: 1.55; }
.article-byline { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--ink-2); padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 20px; }
.article-byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--surface-3); }
.toc { background: var(--surface-2); border-radius: var(--r); padding: 18px 22px; margin: 28px 0; font-size: 16px; }
.toc strong { display: block; margin-bottom: 6px; font-family: var(--display); }
.toc ol { margin: 0; padding-left: 1.2em; }
.key-takeaways { border-radius: var(--r); padding: 20px 24px; margin: 28px 0; background: var(--night); color: #e6e8f0; }
.key-takeaways strong { color: #fff; font-family: var(--display); font-size: 18px; }
.key-takeaways ul { margin: 8px 0 0; }
.store-cta { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; margin: 28px 0; }
.store-cta img { width: 56px; height: 56px; object-fit: contain; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); padding: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .store-layout { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .header-search { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  /* v3: the nav moves into the phone menu, see the v3 section */
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .answer-facts { grid-template-columns: 1fr 1fr; }
  .search--hero input { height: 56px; padding-right: 16px; }
  .search--hero .btn { display: none; }
  .newsletter { grid-template-columns: 1fr; padding: 28px; }
  .newsletter form { flex-direction: column; }
  /* Phone store header: the badge full width on top, a big logo centred in it, the heading full width under it */
  .store-hero, .store-hero:has(> .store-badge) { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 8px; }
  .store-badge { padding: 18px 16px 14px; border-radius: 24px; }
  .store-logo { width: 136px; height: 136px; border-radius: 24px; padding: 8px; }
  .store-hero h1 { font-size: 1.4rem; }
  /* Phone offer box: value band on top, ribbon bar, store chip, title, full-width button */
  .offer { grid-template-columns: minmax(0, 1fr); border: 1px dashed var(--brand); }
  .offer--featured { border: 2px dashed var(--brand); }
  .offer-value { order: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 8px; padding: 14px 16px; border-right: 0; border-bottom: 1px dashed var(--line-2); border-radius: var(--r) var(--r) 0 0; background: var(--brand-50); }
  .offer-value::before, .offer-value::after { display: none; }
  .offer-value em, .offer-value strong, .offer-value span { margin: 0; font: 800 26px/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
  .offer-value span { text-transform: uppercase; }
  .offer-value em { text-transform: none; }
  .offer--expired .offer-value { background: var(--surface-2); }
  .ribbon { position: static; order: 1; border-radius: 0; text-align: center; padding: 10px 12px; font-size: 13px; letter-spacing: .04em; }
  .offer-body { order: 2; padding: 16px; }
  .offer-store, .offer-store.offer-store--m { display: inline-flex; margin-bottom: 12px; padding: 6px 10px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; letter-spacing: 0; text-transform: none; }
  .offer-store:hover { color: #fff; }
  .offer-store img { width: 20px; height: 20px; border: 0; }
  .offer h3 { font-size: 18px; }
  .offer-action, .offer--compact .offer-action { order: 3; grid-column: auto; flex-direction: column; align-items: stretch; padding: 0 16px 16px; }
  .offer--compact .code-btn, .offer--compact .offer-action .btn { width: 100%; }
  .offer--compact { grid-template-columns: minmax(0, 1fr); }
  .offer--compact .offer-value { grid-row: auto; }
  .code-btn, .offer-action .btn { width: 100%; }
  .pros-cons { grid-template-columns: 1fr; }
  .post-card--feature { grid-template-columns: 1fr; }
  .post-card--feature .thumb { min-height: 180px; }
  .deal-row, .store-cta { grid-template-columns: 48px minmax(0, 1fr); }
  .deal-row .btn, .store-cta .btn { grid-column: 1 / -1; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prose { font-size: 16px; }
}
.section--night .card { color: var(--ink); }
.section--night .section-head p { color: #b7bbcc; }

/* ---------- Banners (carousel on home and country, brand banner on store) ---------- */
.banners { position: relative; padding-top: 24px; padding-bottom: 8px; }
.banner-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); }
.banner-track::-webkit-scrollbar { display: none; }
.banner { position: relative; scroll-snap-align: start; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; color: #fff; text-decoration: none; isolation: isolate; }
.banner > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.banner-copy { padding: 40px 48px; }
.banner-copy .tag { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.banner-copy h2, .banner-copy .banner-title { color: #fff; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); margin-bottom: 10px; }
.banner-copy p { color: rgba(255,255,255,.88); font-size: 17px; margin-bottom: 22px; max-width: 460px; }
.banner-copy .btn { background: #fff; color: var(--ink); }
.banner-copy .btn:hover { background: var(--surface-2); color: var(--ink); }
.banner-side { display: flex; justify-content: center; align-items: center; padding: 24px; }
.banner-logo { width: 150px; height: 150px; border-radius: 36px; background: #fff; display: grid; place-items: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); transform: rotate(-6deg); padding: 18px; }
.banner-logo img { width: 100%; height: 100%; object-fit: contain; }
.banner-code { margin-top: -18px; margin-left: 90px; transform: rotate(4deg); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font: 800 18px var(--display); border: 2px dashed rgba(255,255,255,.4); }
.banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.banner-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: var(--line-2); cursor: pointer; transition: width .2s, background .2s; }
.banner-dots button[aria-current="true"] { width: 28px; background: var(--ink); }
.banner-arrows { position: absolute; right: 16px; top: 40px; display: flex; gap: 8px; z-index: 2; }
.banner-arrows button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer; font-size: 18px; box-shadow: var(--sh-2); }
.ad-label { position: absolute; right: 16px; bottom: 12px; font-size: 11px; color: rgba(255,255,255,.75); letter-spacing: .06em; }

.brand-banner { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 220px; display: flex; align-items: flex-end; margin-top: 8px; isolation: isolate; }
.brand-banner > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.brand-banner .inner { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 28px 32px; background: linear-gradient(0deg, rgba(15,18,34,.65), transparent); color: #fff; }
.brand-banner strong { display: block; font: 800 clamp(1.3rem, 1rem + 1.4vw, 2rem)/1.15 var(--display); letter-spacing: -.02em; }
.brand-banner span { color: rgba(255,255,255,.85); }
.brand-banner .btn { background: #fff; color: var(--ink); }
.store-hero--overlap { margin-top: -56px; padding-left: 28px; position: relative; z-index: 1; align-items: end; }
.store-hero--overlap h1 { margin-top: 64px; }

/* ---------- Article cards with images, tags, trending ---------- */
.article-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.article-card .img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-3); }
.article-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.article-card:hover .img img { transform: scale(1.04); }
.article-card .img .cat { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.article-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card h3 { font-size: 18px; margin: 0; line-height: 1.3; }
.article-card p { font-size: 14px; color: var(--ink-2); margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-link { display: inline-block; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--surface-3); padding: 3px 10px; border-radius: 999px; text-decoration: none; }
a.tag-link:hover { background: var(--ink); color: #fff; }
.article-card .post-meta img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.article-card .post-meta { align-items: center; }
.article-card--feature { grid-column: span 2; }
.article-card--feature .img { aspect-ratio: 16 / 8; }
.article-card--feature h3 { font-size: 26px; }
.article-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.blog-layout .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trending { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.trending li { counter-increment: t; display: grid; grid-template-columns: 34px 1fr 64px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.trending li:last-child { border-bottom: 0; }
.trending li::before { content: counter(t, decimal-leading-zero); font: 800 20px var(--display); color: var(--brand); }
.trending a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; line-height: 1.35; }
.trending a:hover { color: var(--brand-700); }
.trending small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.trending img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.article-hero-img { border-radius: var(--r-lg); overflow: hidden; margin: 8px 0 8px; aspect-ratio: 16 / 8; background: var(--surface-3); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 56px; justify-content: center; align-items: start; }
.article-wrap .article { margin: 0; }

/* ---------- All stores ---------- */
.az-sticky { position: sticky; top: 68px; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 12px 0; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.az-sticky .az { margin: 0; }
.az a.off { opacity: .35; pointer-events: none; }
.store-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.store-filter .search { flex: 1; min-width: 240px; max-width: 420px; }
.letter-group { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.letter-group h2 { font-size: 40px; color: var(--brand); margin: 0; line-height: 1; }
.store-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.store-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.store-item:hover { border-color: var(--line-2); box-shadow: var(--sh-2); color: var(--ink); }
.store-item img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); padding: 3px; flex: none; }
.store-item strong { display: block; font-size: 15px; line-height: 1.2; }
.store-item small { color: var(--ok); font-weight: 600; font-size: 12px; }

@media (max-width: 1024px) {
  .blog-layout, .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .banner { grid-template-columns: 1fr; min-height: 0; }
  .banner-copy { padding: 28px 24px 8px; }
  .banner-side { padding: 8px 24px 32px; justify-content: flex-start; }
  .banner-logo { width: 96px; height: 96px; border-radius: 24px; padding: 12px; }
  .banner-code { margin-left: 60px; font-size: 15px; }
  .banner-arrows { display: none; }
  .brand-banner { min-height: 160px; }
  .brand-banner .inner { padding: 20px; }
  .store-hero--overlap { margin-top: -36px; padding-left: 12px; }
  .store-hero--overlap h1 { margin-top: 40px; }
  .article-grid, .article-grid--2, .blog-layout .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-card--feature { grid-column: auto; }
  .article-card--feature h3 { font-size: 20px; }
  .letter-group { grid-template-columns: 1fr; gap: 8px; }
  .letter-group h2 { font-size: 28px; }
  .az-sticky .az { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .az-sticky .az a { flex: none; }
}
.brand-banner { text-decoration: none; color: #fff; }
/* a store page's banner (StoreBanner component): drawn for a 1600x440 image, cropped to fill; the label clear of the button */
.brand-banner--store { aspect-ratio: 40 / 11; margin-bottom: 8px; }
.brand-banner--store .ad-label { top: 12px; bottom: auto; }
.brand-banner--store .inner p { margin: 4px 0 0; color: rgba(255,255,255,.85); }
.brand-banner:hover { color: #fff; }

/* ==========================================================
   Modern refresh (Oct 2026): flags, line icons, tighter rhythm,
   softer cards, no orphan tiles, glass team cards
   ========================================================== */
:root { --r: 18px; --r-lg: 26px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: var(--brand-100); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Icons and flags */
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.flag-img { display: inline-block; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(15,18,34,.12); vertical-align: -2px; flex: none; }
.flag-img--sm { width: 18px; height: 13.5px; margin-right: 6px; }
.flag-img--lg { width: 44px; height: 33px; border-radius: 6px; }
.country-pill { gap: 8px; font-weight: 600; }
.country-pill .i { width: 17px; height: 17px; color: var(--ink-2); }
.badge-pill b { display: inline-flex; align-items: center; gap: 6px; }
.offer-store img.flag-img { width: 18px; height: 13.5px; border: 0; border-radius: 3px; background: none; margin: 0 2px 0 0; }
.site-footer li a { display: inline-flex; align-items: center; }
.site-footer li a .i { width: 16px; height: 16px; margin-right: 6px; }
.site-footer .flag-img { box-shadow: 0 0 0 1px rgba(255,255,255,.15); }

/* Cards: softer, lift on hover */
.card { border-color: #eceef4; box-shadow: 0 1px 2px rgba(15,18,34,.04); }
a.card { transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,18,34,.04), 0 18px 36px -14px rgba(15,18,34,.18); border-color: var(--brand-100); }
.btn--primary { background-image: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.btn { transition: transform .15s, box-shadow .15s, background-color .15s; }
.btn:hover { transform: translateY(-1px); }

/* Rhythm: remove the big empty bands */
.section--tight + .section { padding-top: 40px; }
main > section:last-child { padding-bottom: 0; }
.site-footer { margin-top: 72px; }
.banner-arrows { right: 36px; top: 44px; }
.banner-arrows button { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: none; }
.banner-arrows button:hover { background: rgba(255,255,255,.3); }

/* Stats with gradient numbers */
.stats strong { background: linear-gradient(135deg, var(--ink) 30%, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Store tiles: horizontal, 4 per row (3 when there are 6) */
.grid--stores { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--stores:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.store-tile { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; text-align: left; padding: 16px; }
.store-tile > img { grid-row: 1 / span 2; width: 56px; height: 56px; margin: 0; border-radius: 14px; }
.store-tile strong { align-self: end; }
.store-tile .save { justify-self: start; align-self: start; margin-top: 4px; }
/* the global homepage's store tiles: the flags of the countries the store is in */
.store-tile .store-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; justify-self: start; align-self: start; margin-top: 6px; }
.store-flags .flag-img { margin: 0; }
.store-tile .store-flags .more { font-size: 12px; font-weight: 700; color: var(--ink-3); margin-left: 2px; }

/* Category tiles: line icons, 4 per row */
.grid--cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-tile .ico { background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); color: var(--brand-600); }
.cat-tile .ico .i { width: 22px; height: 22px; }
a.cat-tile:hover .ico { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.chip .i { width: 16px; height: 16px; }

/* Country cards with real flags */
a.country, a.cat-tile { display: flex; }
.country .flag { width: auto; height: auto; background: none; border-radius: 0; }

/* Callouts with line icons */
.callout .ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none; background: #fff; }
.callout .ico .i { width: 20px; height: 20px; }
.callout--warn .ico { color: #b7791f; }
.callout--tip .ico { color: var(--ok); }
.callout:not(.callout--warn):not(.callout--tip) .ico { color: var(--brand-600); }
.tag .i, .side h2 .i { width: 1em; height: 1em; color: var(--brand); margin-right: 4px; }
.banner .tag .i { color: var(--brand-300); }

/* Section nav: fade the cut-off edge */
.toc-bar { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 40px; }

/* Team: heading left, glass cards right */
.team .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.team .section-head { margin: 0; }
.team .card.person { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; box-shadow: none; }
.team .card.person:hover { background: rgba(255,255,255,.1); border-color: rgba(255,138,112,.5); }
.team .person span { color: #b7bbcc; }

@media (max-width: 1024px) {
  .grid--stores, .grid--stores:has(> :nth-child(6):last-child), .grid--cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 720px) {
  .banner-arrows { display: none; }
  a.store-tile { grid-template-columns: 44px minmax(0, 1fr); padding: 12px; column-gap: 10px; }
  .store-tile > img { width: 44px; height: 44px; border-radius: 12px; }
  .cat-tile { padding: 12px; gap: 10px; }
  .cat-tile .ico { width: 38px; height: 38px; }
  .flag-img--lg { width: 36px; height: 27px; }
}
.country div span { display: block; line-height: 1.45; margin-top: 2px; }
@media (max-width: 720px) {
  .store-tile .save { white-space: nowrap; font-size: 12px; padding: 2px 8px; }
  .store-tile strong { font-size: 14px; }
}
@media (max-width: 720px) {
  .grid--countries { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  a.country { padding: 12px; gap: 10px; }
  .country div span { display: none; }
  .country strong { font-size: 14px; }
}

/* ==========================================================
   v3 (Oct 2026): accessible CTA colours, phone menu and search,
   Show code toast, countdowns, motion and extra polish
   ========================================================== */
:root {
  --cta: #dd3712;        /* white text 4.5:1 */
  --cta-2: #c7380a;      /* white text 5.3:1 */
  --cta-hover: #c93210;
  --cta-hover-2: #b0300a;
  --ok: #0a7d4e;         /* 5.2:1 on white, 4.7:1 on --ok-50 */
  --glow: 0 12px 28px -12px color-mix(in srgb, var(--cta) 60%, transparent);
}

/* ---------- Buttons: accessible orange, sheen on hover ---------- */
.btn--primary { background: var(--cta); background-image: linear-gradient(135deg, var(--cta), var(--cta-2)); box-shadow: var(--glow); position: relative; overflow: hidden; isolation: isolate; }
.btn--primary:hover { background-image: linear-gradient(135deg, var(--cta-hover), var(--cta-hover-2)); box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--cta) 70%, transparent); }
.btn--primary::after, .code-btn .peel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); }
.btn--primary:hover::after, .code-btn:hover .peel::after { animation: sheen .8s ease; }
@keyframes sheen { to { transform: translateX(120%); } }
.code-btn { border-color: var(--cta); }
.code-btn .peel { background: linear-gradient(135deg, var(--cta), var(--cta-2)); isolation: isolate; overflow: hidden; }
.code-btn.revealed { background: #fff; color: var(--ink); font-family: var(--display); letter-spacing: .12em; border-color: var(--ok); animation: pop .35s cubic-bezier(.2,1.4,.4,1); }
.code-btn .copied { display: block; font: 700 11px/1 var(--font); letter-spacing: .04em; color: var(--ok); margin-top: 2px; }
.code-btn.revealed { line-height: 1.1; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
@keyframes pop { 0% { transform: scale(.92); } 100% { transform: scale(1); } }
.ribbon { background: linear-gradient(135deg, var(--cta), var(--cta-2)); box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--cta) 70%, transparent); }
.verified, .chip-ok, .badge--deal { color: var(--ok); }
.store-tile .save, .store-tile span { color: var(--ok); }

/* ---------- Featured offer: animated gradient frame ---------- */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.offer--featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ang), var(--brand), var(--brand-2), var(--accent), var(--brand-2), var(--brand)) border-box; animation: spin-border 6s linear infinite; box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--cta) 55%, transparent); }
@keyframes spin-border { to { --ang: 360deg; } }
.offer--featured .offer-value { background: linear-gradient(160deg, var(--brand-50), var(--brand-100)); }
.offer--featured .offer-value strong { background: linear-gradient(135deg, var(--cta), var(--brand-2) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 32px; }
.offer--featured .offer-value--long strong { font-size: 22px; }
.offer--featured .offer-value--xlong strong { font-size: 16px; }
.offer:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15,18,34,.04), 0 18px 36px -16px rgba(15,18,34,.2); }
.offer { transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, border-color .2s; }
/* expired offers: the live card grayed out, still clickable; it brightens on hover or keyboard focus */
.offer--expired { filter: grayscale(1); opacity: .7; }
.offer--expired:hover, .offer--expired:focus-within { opacity: .95; }
.offer-tags .ended { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-weight: 700; font-size: 12px; }
.expired-offers { margin-top: 32px; }
.expired-offers > h3 { margin-bottom: 4px; }
.expired-offers > p.muted { margin: 0 0 14px; }
/* Hover on a live offer (mouse only): brand-tinted edge, the ticket's value box and tear line light up, the value grows
   a little, the title takes the brand colour and the code button's peel lifts to hint at the code */
.offer-value, .offer-value strong, .offer h3 { transition: background-color .2s, border-color .2s, color .2s, transform .25s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) and (pointer: fine) {
  .offer:not(.offer--expired):not(.offer--featured):hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
  .offer:not(.offer--expired):hover .offer-value { background-color: var(--brand-50); border-right-color: color-mix(in srgb, var(--brand) 55%, transparent); }
  .offer:not(.offer--expired):hover .offer-value strong { transform: scale(1.06); }
  .offer:not(.offer--expired):hover h3 { color: var(--brand-700); }
  .offer:not(.offer--expired):hover .code-btn:not(.revealed) .peel { right: 46px; }
  .offer:not(.offer--expired) .code-btn:not(.revealed):hover .peel { right: 54px; }
  .offer:not(.offer--expired):hover .offer-action .btn { box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--cta) 70%, transparent); }
}
/* Touch screens have no hover: the same light-up while a finger presses the offer, and the card sinks a little */
@media (hover: none) {
  .offer:not(.offer--expired) { -webkit-tap-highlight-color: transparent; }
  .offer:not(.offer--expired):active { transform: scale(.985); box-shadow: 0 1px 2px rgba(15,18,34,.06); transition-delay: 0ms; }
  .offer:not(.offer--expired):not(.offer--featured):active { border-color: var(--brand); }
  .offer:not(.offer--expired):active .offer-value { background-color: var(--brand-100); border-bottom-color: color-mix(in srgb, var(--brand) 55%, transparent); }
  .offer:not(.offer--expired):active .offer-value strong { transform: scale(1.04); }
  .offer:not(.offer--expired):active h3 { color: var(--brand-700); }
  .offer:not(.offer--expired):active .code-btn:not(.revealed) .peel { right: 54px; }
}

/* ---------- Countdown chips ---------- */
.ends--live { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; background: #fff4e5; color: #9a4b00; font-weight: 700; font-size: 12px; }
.ends--soon { background: #ffe9e3; color: #b42d0e; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--cta) 12%, transparent); } }

/* ---------- Hero: drifting colour, animated headline gradient ---------- */
.hero::before { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(-3%,2%,0) scale(1.06); } }
.hero h1 .hl { background-size: 200% auto; animation: hl 6s ease-in-out infinite alternate; }
@keyframes hl { to { background-position: 100% center; } }
.search--hero { box-shadow: 0 1px 2px rgba(15,18,34,.05), 0 24px 48px -20px color-mix(in srgb, var(--cta) 35%, transparent); }
.popular-searches a { transition: background .15s, color .15s, border-color .15s, transform .15s; }
.popular-searches a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-1px); }

/* ---------- Banners: floating logo and code ticket ---------- */
.banner-logo { animation: float 6s ease-in-out infinite; }
.banner-code { animation: float2 6s ease-in-out infinite; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); }
@keyframes float { 50% { transform: rotate(-4deg) translateY(-8px); } }
@keyframes float2 { 50% { transform: rotate(6deg) translateY(-4px); } }
.banner > img.bg, .brand-banner > img.bg { transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.banner:hover > img.bg, .brand-banner:hover > img.bg { transform: scale(1.04); }

/* ---------- Tiles: brand-tinted hover ---------- */
a.store-tile:hover > img { transform: rotate(-4deg) scale(1.06); }
.store-tile > img { transition: transform .25s cubic-bezier(.2,1.4,.4,1); }
a.store-tile:hover .save { background: var(--ok); color: #fff; }
.store-tile .save { transition: background .2s, color .2s; }
a.country:hover .flag-img { transform: scale(1.08) rotate(-3deg); }
.country .flag-img { transition: transform .25s cubic-bezier(.2,1.4,.4,1); }
.article-card .img img, .article-card img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.article-card:hover .img img { transform: scale(1.05); }
.article-card .img { overflow: hidden; }

/* ---------- Quick answer: a little more presence ---------- */
.answer { position: relative; overflow: hidden; }
.answer::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(109,74,255,.18), transparent 70%); pointer-events: none; }
.answer-facts > div { transition: transform .2s, box-shadow .2s; }
.answer-facts > div:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }

/* ---------- Tables on phones: show there's more to scroll ---------- */
.table-wrap { background:
  linear-gradient(90deg, #fff 30%, rgba(255,255,255,0)) left / 40px 100% no-repeat local,
  linear-gradient(270deg, #fff 30%, rgba(255,255,255,0)) right / 40px 100% no-repeat local,
  radial-gradient(farthest-side at 0 50%, rgba(15,18,34,.16), transparent) left / 14px 100% no-repeat scroll,
  radial-gradient(farthest-side at 100% 50%, rgba(15,18,34,.16), transparent) right / 14px 100% no-repeat scroll; }
.table-wrap thead th { background: rgba(247,247,250,.9); }

/* ---------- Toast and confetti ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 140%); max-width: calc(100% - 32px); padding: 14px 18px 14px 46px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; box-shadow: 0 24px 48px -16px rgba(15,18,34,.5); transition: transform .35s cubic-bezier(.2,1.2,.4,1); }
.toast::before { content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: #2ee59d; color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.toast b { color: var(--brand-300); letter-spacing: .06em; }
.toast.show { transform: translate(-50%, 0); }
.confetti { position: fixed; z-index: 70; width: 8px; height: 10px; border-radius: 2px; pointer-events: none; animation: confetti .9s cubic-bezier(.2,.7,.4,1) forwards; }
@keyframes confetti { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* ---------- Scroll reveal (only when JS is on and motion is allowed) ---------- */
.js-reveal .section-head, .js-reveal .card, .js-reveal .stats, .js-reveal .answer, .js-reveal .article-card { opacity: 0; transform: translateY(14px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2,.8,.2,1) var(--d, 0ms), box-shadow .2s, border-color .2s; }
.js-reveal .in { opacity: 1; transform: none; }
.js-reveal .offer--expired.in { opacity: .7; }
.js-reveal .offer--expired.in:hover, .js-reveal .offer--expired.in:focus-within { opacity: .95; transition-delay: 0ms; }
.js-reveal a.card.in:hover, .js-reveal .offer.in:hover { transform: translateY(-3px); transition-delay: 0ms; }

/* ---------- Header buttons, phone menu and search ---------- */
.hdr-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); place-items: center; cursor: pointer; flex: none; }
.hdr-btn svg { width: 20px; height: 20px; }
.hdr-btn svg path { transition: transform .2s, opacity .2s; transform-origin: center; }
.menu-open .menu-toggle .l1 { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle .l2 { opacity: 0; }
.menu-open .menu-toggle .l3 { transform: translateY(-5px) rotate(-45deg); }
.hdr-btn[aria-expanded="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tb-short { display: none; }

@media (max-width: 1024px) {
  .hdr-btn.search-toggle { display: grid; margin-left: auto; }
  .site-header .nav { margin-left: 0; }
  .search-open .header-search { display: flex; position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(15,18,34,.25); max-width: none; animation: drop .2s ease; }
  .search-open .header-search svg { left: 34px; }
  .search-open .header-search input { width: 100%; height: 48px; }
}
@media (max-width: 720px) {
  .site-header .wrap { gap: 8px; height: 64px; position: static; }
  .site-header { position: sticky; }
  .hdr-btn.menu-toggle { display: grid; }
  .site-header .nav { display: none; }
  .menu-open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 32px -18px rgba(15,18,34,.3); animation: drop .2s ease; }
  .menu-open .nav a { display: block; padding: 14px 12px; font-size: 17px; font-weight: 600; color: var(--ink); border-radius: 12px; }
  .menu-open .nav a.country-pill { display: inline-flex; align-self: flex-start; margin-top: 8px; }
  .search-open .header-search { padding: 12px 16px; }
  .search-open .header-search svg { left: 30px; }
  .tb-long { display: none; }
  .tb-short { display: inline; }
  .topbar .wrap { min-height: 32px; }

  /* Store header: logo and title side by side, meta row underneath */
  .store-hero--overlap { display: block; margin-top: -34px; padding: 0 0 20px 12px; }
  .store-hero--overlap .store-logo { width: 76px; height: 76px; border-radius: 20px; padding: 8px; }
  .store-hero--overlap h1 { margin: 14px 0 10px; font-size: 1.4rem; }
  .store-hero--overlap .store-meta { gap: 8px 12px; }
  .chip-ok { white-space: normal; }

  /* Offer value on phones: one consistent case */
  .offer-value strong, .offer-value em { text-transform: uppercase; }
  .offer--featured .offer-value strong { font-size: 26px; }

  .toast { bottom: 88px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.sticky-best { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px; background: rgba(15,18,34,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; box-shadow: 0 20px 40px -14px rgba(15,18,34,.6); transform: translateY(140%); transition: transform .35s cubic-bezier(.2,1.2,.4,1); }
.sticky-best.show { transform: none; }
.sticky-best div { min-width: 0; flex: 1; line-height: 1.25; }
.sticky-best b { display: block; font: 800 17px var(--display); color: var(--brand-300); }
.sticky-best span { display: block; font-size: 13px; color: #c9ccda; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-best button { flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--cta), var(--cta-2)); color: #fff; font: 700 15px var(--font); cursor: pointer; }
@media (max-width: 720px) { .sticky-best { display: flex; } }

@media (prefers-reduced-motion: reduce) {
  .offer--featured { animation: none; }
  .js-reveal .section-head, .js-reveal .card { opacity: 1; transform: none; }
}

/* v3: bigger tap area on carousel dots, visible empty rating stars */
.banner-dots { gap: 0; margin-top: 6px; }
.banner-dots button, .banner-dots button[aria-current="true"] { position: relative; width: 24px; height: 24px; background: none; display: grid; place-items: center; }
.banner-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); transition: width .2s, background .2s; }
.banner-dots button[aria-current="true"] { width: 40px; }
.banner-dots button[aria-current="true"]::before { width: 28px; background: var(--ink); }
.rate button { color: #a9adbd; }

/* ==========================================================
   v3.1: about, contact, author, all categories, search,
   legal, press and 404 pages
   ========================================================== */
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.page-hero--center { text-align: center; padding: 56px 0 32px; }
.page-hero--center p { margin: 0 auto; }
.page-hero--center::before { content: ""; position: absolute; inset: -40px 0 0; z-index: -1; background: radial-gradient(600px 260px at 20% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%), radial-gradient(600px 260px at 80% 10%, rgba(109,74,255,.12), transparent 70%); }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 22px; font-size: 14px; color: var(--ink-2); }
.hero-pills span { display: inline-flex; align-items: center; gap: 6px; }
.hero-pills .i { color: var(--ok); }
.stats--about { margin: 8px 0 0; }
.section--bleed { margin: 0 calc(50% - 50vw); }


/* About: method timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 820px; position: relative; }
.timeline li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding-bottom: 28px; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: linear-gradient(var(--brand-100), var(--line)); }
.timeline .step-num { background: linear-gradient(135deg, var(--cta), var(--cta-2)); box-shadow: var(--glow); margin: 0; }
.timeline h3 { margin: 6px 0 6px; }
.timeline p { margin: 0; color: var(--ink-2); }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.split p { color: var(--ink-2); font-size: 17px; }
.values { padding: 28px; background: linear-gradient(160deg, #fff, var(--brand-50)); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks .i { color: #fff; background: var(--ok); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0 0; padding: 32px 36px; border-radius: var(--r-lg); color: #fff; background: radial-gradient(500px 200px at 90% 0%, rgba(255,138,61,.45), transparent 70%), linear-gradient(135deg, var(--night), #2a1f5c); }
.cta-band h2 { color: #fff; margin: 0 0 4px; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); }
.cta-band p { margin: 0; color: #c9ccda; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.form { padding: 28px; display: grid; gap: 18px; }
.topic-pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.topic-pick legend { font-weight: 700; margin-bottom: 10px; font-family: var(--display); }
.topic-pick label { position: relative; cursor: pointer; }
.topic-pick input { position: absolute; opacity: 0; }
.topic-pick span { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 14px; border: 1.5px solid var(--line-2); border-radius: 14px; font-size: 14px; font-weight: 600; transition: border-color .15s, background .15s, box-shadow .15s; }
.topic-pick .i { width: 22px; height: 22px; color: var(--ink-3); }
.topic-pick input:checked + span { border-color: var(--cta); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-100); }
.topic-pick input:checked + span .i { color: var(--cta); }
.topic-pick input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field .opt { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: 15px; background: var(--surface-2); transition: border-color .15s, box-shadow .15s, background .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: 13px; color: var(--ink-3); }
.side .card h2 { display: flex; align-items: center; gap: 8px; }
.side .card h2 .i { color: var(--brand); }
.faq--compact details { padding: 0 14px; }
.faq--compact summary { font-size: 15px; }
.faq--compact details p { font-size: 14px; }

/* Author */
.author-hero { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px 0 28px; }
.author-photo { width: 140px; height: 140px; border-radius: 50%; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--brand-100), var(--sh-3); }
.author-hero h1 { margin-bottom: 8px; }
.author-hero .lead { color: var(--ink-2); font-size: 18px; max-width: 680px; }
.chips .chip .flag-img { margin: 0; }
.author-stats { margin-bottom: 8px; }
.author-stats div { background: var(--surface-2); border: 1px solid var(--line); }
.author-stats dd { font: 800 22px var(--display); }
.test-log { list-style: none; margin: 16px 0 10px; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.test-log li { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.test-log li:last-child { border-bottom: 0; }
.test-log time { color: var(--ink-3); font-size: 14px; }
.test-log .chip-ok .i { width: 14px; height: 14px; }

/* All categories */
.grid--catcards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-card { display: flex !important; flex-direction: column; gap: 6px; padding: 22px; position: relative; overflow: hidden; }
.cat-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%); transition: transform .4s; }
.cat-card:hover::after { transform: scale(1.6); }
.cat-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cat-card .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); color: var(--brand-600); transition: background .2s, color .2s, transform .25s; }
.cat-card .ico .i { width: 24px; height: 24px; }
.cat-card:hover .ico { background: linear-gradient(135deg, var(--cta), var(--brand-2)); color: #fff; transform: rotate(-6deg); }
.cat-best { font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-50); padding: 3px 10px; border-radius: 999px; }
.cat-card h2 { font-size: 20px; margin: 0; }
.cat-card p { margin: 0; color: var(--ink-3); font-size: 14px; }
.cat-card-logos { display: flex; margin-top: 12px; }
.cat-card-logos img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; background: #fff; box-shadow: 0 0 0 1px var(--line); object-fit: contain; }
.cat-card-logos img + img { margin-left: -8px; }

/* Search */
.search-hero { padding: 32px 0 8px; }
.search-hero .search--hero { margin: 0; max-width: 760px; }
.result-count { margin: 18px 0 12px; color: var(--ink-2); }
.result-group { margin-top: 32px; max-width: 900px; }
.result-group h2 { font-size: 20px; margin-bottom: 14px; }
.result-store { display: grid !important; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; }
.result-store img { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line); object-fit: contain; padding: 6px; }
.result-store strong { display: block; font-size: 18px; }
.result-store span { color: var(--ink-3); font-size: 14px; }
.result-store .save { color: #fff; background: var(--ok); font-weight: 700; padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.empty { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 24px; max-width: 900px; border-style: dashed; background: var(--surface-2); }
.empty h2 { font-size: 18px; margin-bottom: 6px; }
.empty p { margin: 0; color: var(--ink-2); }
.empty-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--brand); flex: none; box-shadow: var(--sh-1); }
.empty-ico .i { width: 22px; height: 22px; }

/* Legal */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 8px; }
.legal-toc { position: sticky; top: 92px; font-size: 14px; }
.legal-toc ol { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal-toc a { color: var(--ink-2); text-decoration: none; }
.legal-toc a:hover { color: var(--brand-700); }

/* Press */
.press-facts .card { display: grid; gap: 4px; padding: 22px; }
.press-facts strong { color: var(--ink-3); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.press-facts span { font: 800 32px var(--display); letter-spacing: -.02em; background: linear-gradient(135deg, var(--ink) 30%, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kit { padding: 0; overflow: hidden; }
.kit-img { display: grid; place-items: center; height: 140px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.kit-img--dark { background: var(--night); }
.kit-img img { max-height: 64px; width: auto; }
.kit > span { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 600; font-size: 14px; }
.kit > span .i { color: var(--brand); }

/* 404 */
.nf { text-align: center; padding: 64px 0 40px; }
.nf p { color: var(--ink-2); max-width: 520px; margin: 0 auto 28px; font-size: 18px; }
.nf-ticket { display: inline-flex; gap: 4px; margin-bottom: 20px; padding: 14px 28px; border: 3px dashed var(--cta); border-radius: 20px; background: var(--brand-50); font: 800 clamp(64px, 12vw, 120px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); transform: rotate(-3deg); }
.nf-o { background: linear-gradient(135deg, var(--cta), var(--brand-2) 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(12deg) scale(1.05); } }
.nf .search--hero { margin: 0 auto; }
.nf-links { justify-content: center; margin-top: 20px; }

@media (max-width: 1024px) {
  .grid--catcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout, .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; }
  .topic-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cta-band { padding: 24px; }
  .cta-band .btn { width: 100%; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 20px; }
  .form .btn { justify-self: stretch; }
  .author-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: left; }
  .author-photo { width: 96px; height: 96px; }
  .test-log li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .test-log time { grid-column: 1 / -1; }
  .grid--catcards { grid-template-columns: minmax(0, 1fr); }
  .result-store { grid-template-columns: 48px minmax(0, 1fr); }
  .result-store img { width: 48px; height: 48px; }
  .result-store .save { grid-column: 2; justify-self: start; }
  .empty { flex-direction: column; }
  .press-facts span { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .nf-o { animation: none; } }
main > .cta-band:last-child { padding: 32px 36px; }
.page-hero--center::before { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
@media (max-width: 720px) { main > .cta-band:last-child { padding: 24px; } }
.legal-layout .content-section:first-child h2 { margin-top: 0; }

/* v3.2: separate legal pages */
.legal-updated { margin-top: 10px !important; font-size: 14px !important; color: var(--ink-3) !important; }
.legal-side { position: sticky; top: 92px; display: grid; gap: 14px; }
.legal-side .legal-toc { position: static; }
.legal-others ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.legal-others a { display: block; padding: 6px 10px; border-radius: 8px; }
.legal-others a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.legal-contact { margin-top: 2.5em; padding-top: 1.5em; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.prose .answer p { font-size: 17px; margin: 0; }
.prose .ticks li .i { flex: none; }
.prose .table-wrap table { font-size: 15px; }
@media (max-width: 1024px) { .legal-side { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .legal-side { grid-template-columns: minmax(0, 1fr); } .legal-toc ol { display: none; } .legal-toc:not(.legal-others) { display: none; } }

/* ==========================================================
   v3.3: Stores and Categories dropdowns, author social links,
   store intro under the H1
   ========================================================== */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav .nav-dd-link { padding-right: 4px; }
.nav-dd-btn { width: 26px; height: 32px; margin-left: -2px; border: 0; border-radius: 8px; background: none; color: var(--ink-3); display: grid; place-items: center; cursor: pointer; padding: 0; }
.nav-dd-btn svg { width: 15px; height: 15px; transition: transform .2s; }
.nav-dd-btn:hover { background: var(--surface-3); color: var(--ink); }
.nav-dd.open .nav-dd-btn svg { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 12px); left: -16px; z-index: 40; width: 560px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(15,18,34,.3), 0 2px 6px rgba(15,18,34,.06);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s .18s; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
@media (hover: hover) and (min-width: 721px) {
  .nav-dd:hover .dd-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
  .nav-dd:hover .nav-dd-btn svg { transform: rotate(180deg); }
}
.dd-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.dd-head strong { font-family: var(--display); }
.nav .dd-panel a { padding: 0; border-radius: 0; background: none; font-size: 14px; }
.nav .dd-panel .dd-all { color: var(--brand-700); font-weight: 600; }
.nav .dd-panel .dd-all:hover { background: none; text-decoration: underline; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav .dd-panel .dd-store, .nav .dd-panel .dd-cat { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--ink); transition: background .15s; }
.nav .dd-panel .dd-store:hover, .nav .dd-panel .dd-cat:hover { background: var(--surface-2); }
.dd-store img { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); object-fit: contain; background: #fff; flex: none; transition: transform .2s; }
.dd-store:hover img { transform: rotate(-4deg) scale(1.06); }
.dd-store strong, .dd-cat strong { display: block; font-size: 14px; line-height: 1.2; }
.dd-store small { display: block; font-size: 12px; color: var(--ok); font-weight: 700; }
.dd-cat small { display: block; font-size: 12px; color: var(--ink-3); }
.dd-cat .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-50), var(--brand-100)); color: var(--brand-600); flex: none; transition: background .2s, color .2s; }
.dd-cat .ico .i { width: 18px; height: 18px; }
.dd-cat:hover .ico { background: linear-gradient(135deg, var(--cta), var(--brand-2)); color: #fff; }
.dd-panel--cats { width: 480px; }

@media (max-width: 720px) {
  .menu-open .nav .nav-dd { flex-wrap: wrap; }
  .menu-open .nav .nav-dd-link { flex: 1; }
  .nav-dd-btn { width: 48px; height: 48px; border-radius: 12px; }
  .nav-dd-btn svg { width: 18px; height: 18px; }
  .dd-panel { position: static; width: 100%; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px 12px; border-radius: 0; }
  .nav-dd.open .dd-panel { display: block; }
  .dd-panel::before { display: none; }
  .dd-head { border: 0; padding: 0 4px 6px; margin: 0; }
  .dd-head strong { display: none; }
  .dd-grid { grid-template-columns: 1fr 1fr; }
  .menu-open .nav .dd-panel a { padding: 8px; font-size: 14px; font-weight: 500; }
  .menu-open .nav .dd-panel .dd-all { padding: 4px; }
  .dd-store img, .dd-cat .ico { width: 30px; height: 30px; }
}

/* Author social links */
.author-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.soc-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.soc-btn svg { width: 17px; height: 17px; }
.soc-btn:hover { transform: translateY(-2px); color: #fff; border-color: transparent; }
.soc-btn--linkedin:hover { background: #0a66c2; }
.soc-btn--x:hover { background: #0f1222; }
.soc-btn--instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.soc-btn--email:hover { background: var(--cta); }
.author-hero .muted.small { margin: 8px 0 0; }

/* Store intro under the H1 */
.store-intro { max-width: 760px; margin: 0 0 14px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.store-intro strong { color: var(--ink); }
.store-intro__body > :first-child { margin-top: 0; }
.store-intro__body > :last-child { margin-bottom: 0; }
.store-intro__body ul, .store-intro__body ol { margin: .4em 0 .8em; padding-left: 1.25em; }
/* folded (site.js, only when the text is longer than this): a few lines fading out, like an AI answer's preview */
.store-intro.is-folded .store-intro__body { max-height: calc(1.6em * 4); overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent); mask-image: linear-gradient(to bottom, #000 45%, transparent); }
.store-intro__body h2 { font-size: 1.5rem; font-weight: 700;}
.store-intro__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 7px 14px 7px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: 600 14px/1.2 var(--font); cursor: pointer; box-shadow: var(--sh-1, 0 1px 2px rgba(15,18,34,.06)); transition: background .15s, border-color .15s; }
.store-intro__more[hidden] { display: none; }
.store-intro__more:hover { background: var(--surface-2); border-color: var(--ink-3); }
.store-intro__more:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.store-intro__more svg { transition: transform .2s ease; }
.store-intro__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.store-hero--overlap h1 { margin-bottom: 8px; }
@media (max-width: 720px) { .store-intro { font-size: 15px; } .store-intro.is-folded .store-intro__body { max-height: calc(1.6em * 3); } }
@media (min-width: 721px) { .store-hero--overlap { align-items: start; } }
@media (min-width: 721px) { .brand-banner .inner { padding-bottom: 72px; } .brand-banner { min-height: 250px; } }

/* ==========================================================
   v3.4: view and copy coupon code popup
   ========================================================== */
.code-modal { width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -24px rgba(15,18,34,.5); overflow: auto; }
.code-modal[open] { animation: cm-in .3s cubic-bezier(.2,1.2,.4,1); }
.code-modal::backdrop { background: rgba(15,18,34,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: cm-fade .2s ease; }
@keyframes cm-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes cm-fade { from { opacity: 0; } }
.code-modal > * { margin-left: 28px; margin-right: 28px; }
.cm-close { position: absolute; top: 14px; right: 14px; margin: 0 !important; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-3); color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer; }
.cm-close:hover { background: var(--ink); color: #fff; }
.cm-head { display: flex; gap: 14px; align-items: center; margin: 0 !important; padding: 28px 64px 22px 28px; background: radial-gradient(320px 140px at 100% 0%, rgba(109,74,255,.14), transparent 70%), linear-gradient(160deg, var(--brand-50), #fff); border-bottom: 1px dashed var(--line-2); }
.cm-logo { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line); background: #fff; object-fit: contain; padding: 6px; flex: none; box-shadow: var(--sh-2); }
.cm-store { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 4px; }
.cm-title { font-size: 20px; line-height: 1.25; margin: 0; }
.cm-hint { margin-top: 20px; margin-bottom: 10px; font-size: 14px; color: var(--ink-2); text-align: center; }
.cm-code { display: flex; align-items: stretch; border: 2px dashed var(--cta); border-radius: 16px; background: var(--brand-50); overflow: hidden; transition: border-color .2s, background .2s; }
.cm-code.copied { border-style: solid; border-color: var(--ok); background: var(--ok-50); }
.cm-code-text { flex: 1; display: grid; place-items: center; padding: 14px 12px; font: 800 28px/1 var(--display); letter-spacing: .14em; cursor: copy; user-select: all; }
.cm-copy { flex: none; min-width: 112px; border: 0; background: linear-gradient(135deg, var(--cta), var(--cta-2)); color: #fff; font: 700 16px var(--font); cursor: pointer; transition: background .2s; }
.cm-copy.done { background: var(--ok); }
.cm-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.cm-verified { color: var(--ok); font-weight: 600; }
.cm-meta span:empty { display: none; }
.cm-terms { margin-top: 14px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.cm-terms summary { cursor: pointer; padding: 10px 0; font-weight: 600; color: var(--ink-2); }
.cm-terms p { margin: 0 0 12px; }
.cm-go { display: flex; width: auto; margin-top: 18px; }
.cm-vote { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; margin-bottom: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.cm-vote button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font: 600 14px var(--font); cursor: pointer; transition: background .15s, border-color .15s; }
.cm-vote button:hover { background: var(--surface-2); border-color: var(--ink-3); }
.cm-thanks { font-weight: 600; color: var(--ok); }
.cm-similar { margin: -8px 0 18px; text-align: left; }
.cm-similar-title { margin: 0 0 8px; font-weight: 700; font-size: 14px; color: var(--ink); }
.cm-similar-item { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 6px; border: 1px dashed var(--line-2); border-radius: 10px; background: #fff; font: 500 14px var(--font); color: var(--ink); text-align: left; cursor: pointer; }
.cm-similar-item:hover { border-color: var(--brand); background: var(--brand-50); }
.cm-similar-item b { flex: none; color: var(--brand); font-weight: 700; }
.offer--dead { opacity: .72; }
.dead-note { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: #fff4e5; color: #8a4b00; font-size: 12px; font-weight: 600; }
@media (max-width: 720px) {
  .code-modal { margin: auto auto 0; width: 100%; max-width: none; border-radius: 24px 24px 0 0; }
  .code-modal[open] { animation: cm-up .32s cubic-bezier(.2,1.2,.4,1); }
  .code-modal > * { margin-left: 20px; margin-right: 20px; }
  .cm-head { padding: 24px 60px 18px 20px; }
  .cm-code-text { font-size: 24px; }
  .cm-copy { min-width: 96px; }
}
@keyframes cm-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .code-modal[open], .code-modal::backdrop { animation: none; } }

/* ==========================================================================
   v3.5: 36px logo (size and mark come from the theme tokens)
   ========================================================================== */
:root { --logo-size: 36px; --logo-mark: 44px; }
.logo { gap: 12px; font-size: var(--logo-size); white-space: nowrap; }
.logo-mark { position: relative; width: var(--logo-mark); height: var(--logo-mark); border-radius: 25%; background: var(--brand); }
.logo-mark::before { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M42.6 21.4A15 15 0 1 0 47 32' fill='none' stroke='%23000' stroke-width='6.5' stroke-linecap='round'/%3E%3Cpath d='M24.5 32L30 37.5L39.5 28' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M42.6 21.4A15 15 0 1 0 47 32' fill='none' stroke='%23000' stroke-width='6.5' stroke-linecap='round'/%3E%3Cpath d='M24.5 32L30 37.5L39.5 28' fill='none' stroke='%23000' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.site-header .wrap { height: 76px; }
@media (max-width: 720px) {
  .logo-mark { width: 40px; height: 40px; }
  .site-header .wrap { height: 68px; }
  .logo { gap: 8px; }
}
@media (max-width: 380px) {
  .logo { font-size: min(var(--logo-size), 30px); gap: 6px; }
  .logo-mark { width: 34px; height: 34px; }
}
/* Tablets: a 36px logo leaves no room for the full nav, so the menu button takes over up to 960px */
@media (min-width: 721px) and (max-width: 960px) {
  .site-header .wrap { gap: 8px; height: 72px; position: static; }
  .hdr-btn.menu-toggle { display: grid; }
  .site-header .nav { display: none; }
  .menu-open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 32px -18px rgba(15,18,34,.3); animation: drop .2s ease; }
  .menu-open .nav a { display: block; padding: 14px 12px; font-size: 17px; font-weight: 600; color: var(--ink); border-radius: 12px; }
  .menu-open .nav a.country-pill { display: inline-flex; align-self: flex-start; margin-top: 8px; }
  .menu-open .nav .nav-dd { flex-wrap: wrap; }
  .menu-open .nav .nav-dd-link { flex: 1; }
  .nav-dd-btn { width: 48px; height: 48px; border-radius: 12px; }
  .nav-dd-btn svg { width: 18px; height: 18px; }
  .dd-panel { position: static; width: 100%; flex-basis: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px 12px; border-radius: 0; }
  .nav-dd.open .dd-panel { display: block; }
  .dd-panel::before { display: none; }
  .dd-head { border: 0; padding: 0 4px 6px; margin: 0; }
  .dd-head strong { display: none; }
  .dd-grid { grid-template-columns: 1fr 1fr; }
  .menu-open .nav .dd-panel a { padding: 8px; font-size: 14px; font-weight: 500; }
  .menu-open .nav .dd-panel .dd-all { padding: 4px; }
  .dd-store img, .dd-cat .ico { width: 30px; height: 30px; }
}

/* ==========================================================================
   v3.6: SEO heading clean-up (banner and footer titles are no longer headings)
   ========================================================================== */
.banner-copy .banner-title { max-width: none; font-family: var(--display); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.site-footer .foot-h { margin-top: 0; }
.search-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin: 0 0 16px; }

/* ==========================================================================
   v3.7: design polish
   ========================================================================== */
/* Balanced headline breaks, no one-word last lines in body copy */
h1, h2, h3, .banner-title { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* FAQ toggle: drawn plus and minus, so the minus sits centred */
.faq summary::after { content: ""; color: var(--ink-2);
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
              linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat, var(--surface-3); }
.faq details[open] summary::after { content: ""; color: #fff; background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, var(--ink); }

/* Flags with white edges (Indonesia, Singapore, Japan...) keep a visible outline */
.flag-img { box-shadow: 0 0 0 1px rgba(15,18,34,.18); }
.country .flag-img { box-shadow: 0 0 0 1px rgba(15,18,34,.14), 0 2px 6px -2px rgba(15,18,34,.25); }

/* Category A-Z: empty letters are dimmed like the all-stores page */
.az a.off { opacity: .35; pointer-events: none; }
.store-cols a[id] { scroll-margin-top: 100px; }

/* All-stores: sub heading spacing */
.sub-h { font-size: 1.4rem; margin: 32px 0 14px; }

/* Blog: an odd last card fills the row as a wide card instead of sitting alone */
@media (min-width: 721px) {
  .blog-layout .article-grid > .article-card:last-child:nth-child(even) { grid-column: 1 / -1; display: flex; flex-direction: row; }
  .blog-layout .article-grid > .article-card:last-child:nth-child(even) .img { flex: 0 0 46%; aspect-ratio: auto; min-height: 220px; }
  .blog-layout .article-grid > .article-card:last-child:nth-child(even) .body { justify-content: center; }
}

/* Legal pages: calmer section headings for long reading */
.legal-layout .prose h2, .legal-layout h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); margin-top: 1.8em; }

@media (max-width: 720px) {
  /* Chip rows and the A-Z bar scroll sideways in one line */
  .chips--scroll, .az--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; }
  .chips--scroll::-webkit-scrollbar, .az--scroll::-webkit-scrollbar { display: none; }
  .chips--scroll > *, .az--scroll > * { flex: none; }
  /* All categories: two compact cards per row */
  .grid--catcards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .cat-card { padding: 16px; gap: 2px; }
  .cat-card-top { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
  .cat-card .ico { width: 44px; height: 44px; border-radius: 14px; }
  .cat-card h2 { font-size: 17px; }
  .cat-card-logos { margin-top: 8px; }
  .cat-card-logos img { width: 26px; height: 26px; }
  /* Store banner: keep the button clear of the overlapping logo */
  .brand-banner .inner { padding-bottom: 44px; }
}

/* ---------- Retargeting: consent banner, deal alerts (assets/js/retarget.js) ---------- */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; display: flex;
  flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 20px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 48px -18px rgba(15, 18, 34, .35);
  max-height: calc(100vh - 32px); overflow-y: auto; }
.consent[hidden], .consent-choices[hidden], .consent-actions .btn[hidden] { display: none; }
.consent-body { flex: 1 1 320px; min-width: 0; }
.consent-text { margin: 0; font-size: .92rem; line-height: 1.5; }
.consent-text a { color: inherit; text-decoration: underline; }
.consent-choices { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; border: 0; min-width: 0; }
.consent-choice { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.consent-choice strong { color: var(--ink); margin-right: 2px; }
.consent-choice input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.consent-choice input:disabled { cursor: not-allowed; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.consent-secondary:hover { border-color: var(--ink); }
.alert-btn { width: 100%; margin-top: 10px; background: transparent; color: var(--ink); border: 1px solid var(--line); }
.alert-btn:hover { border-color: var(--ink); }
.alert-btn[aria-pressed="true"] { color: var(--ok); border-color: currentColor; }
.alert-btn[hidden], .link-btn[hidden] { display: none; }
.footer-actions { display: inline-flex; flex-wrap: wrap; gap: 16px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.link-btn:focus-visible, .alert-btn:focus-visible, .consent button:focus-visible, .consent input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 560px) {
  .consent { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .consent-actions, .consent-actions .btn { width: 100%; }
}

/* ---------- Deals assistant (Views/Shared/_DealChat.cshtml, assets/js/dealchat.js) ---------- */
.chat-launch { position: fixed; z-index: 55; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; min-height: 52px;
  padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: 700 15px var(--font); cursor: pointer;
  box-shadow: 0 14px 32px -12px color-mix(in srgb, var(--brand) 70%, transparent); }
.chat-launch .i { width: 22px; height: 22px; }
.chat-launch:hover { background: var(--brand-600); }
.chat-launch:focus-visible, .chat-close:focus-visible, .chat-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chat--open .chat-launch { display: none; }
.chat-panel { position: fixed; z-index: 56; right: 20px; bottom: 20px; display: flex; flex-direction: column; width: 380px; max-width: calc(100vw - 32px);
  height: min(600px, calc(100vh - 40px)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--night); color: #fff; }
.chat-head strong { display: block; font: 800 16px var(--display); }
.chat-head small { display: block; font-size: 12.5px; color: #c9ccda; }
.chat-close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.chat-close:hover { background: rgba(255,255,255,.2); }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); overscroll-behavior: contain; }
.chat-msg { max-width: 92%; padding: 10px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg--user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg--bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg--error { color: var(--brand-700); }
.chat-typing { letter-spacing: 2px; color: var(--ink-3); }
.chat-text { margin: 0; }
.chat-offer { margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.chat-offer-store { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.chat-offer-store a { color: var(--ink-2); text-decoration: none; }
.chat-offer-store a:hover { text-decoration: underline; }
.chat-logo { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; }
.chat-logo[hidden] { display: none; }
.chat-offer-value { display: block; margin-top: 6px; font: 800 16px var(--display); color: var(--ink); }
.chat-offer-title { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); }
.chat-offer-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; }
.chat-ends { color: var(--ink-3); }
.chat-offer-btn { width: 100%; min-height: 38px; margin-top: 8px; font-size: 14px; text-decoration: none; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chat-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: 600 13px var(--font); text-decoration: none; cursor: pointer; }
.chat-chip:hover { border-color: var(--ink); }
.chat-chip--strong { border-color: var(--brand); color: var(--brand-700); }
.chat-follow { margin-top: 10px; font-size: 14px; }
.chat-follow:disabled { cursor: default; opacity: 1; }
.chat-note { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 12px; font: 15px var(--font); color: var(--ink); background: var(--surface); }
.chat-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.chat-form .btn { min-height: 44px; padding: 0 16px; }
@media (max-width: 720px) {
  body:has(.sticky-best.show) .chat-launch { bottom: 88px; }
}
@media (max-width: 560px) {
  .chat-launch { right: 12px; bottom: 12px; }
  .chat-launch span { display: none; }
  .chat-launch { width: 52px; padding: 0; justify-content: center; }
  .chat-panel { right: 0; bottom: 0; width: 100%; max-width: 100%; height: 100%; height: 100dvh; border-radius: 0; border: 0; }
}

/* "Email me new codes" on a store page */
.email-alert { display: grid; gap: 8px; }
.email-alert input[type="email"] { height: 44px; border-radius: 10px; border: 1px solid var(--line, #ddd); padding: 0 14px; font: inherit; }

/* Saved offers: a card's Save button, the header's Saved link and the /saved page */
.save-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; align-self: center; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: 600 13px/1 var(--font); cursor: pointer; }
.save-btn .i { width: 15px; height: 15px; }
.save-btn:hover { border-color: var(--brand); color: var(--brand-700); }
.save-btn.saved { background: var(--brand-50); border-color: var(--brand); color: var(--brand-700); }
.save-btn.saved .i { fill: currentColor; }
.saved-link { display: inline-flex; align-items: center; gap: 6px; }
.saved-link .i { width: 17px; height: 17px; }
.saved-count { min-width: 20px; padding: 2px 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; line-height: 16px; text-align: center; }
.saved-page { margin: 24px 0 40px; }
.saved-status { margin: 12px 0 18px; color: var(--ink-2); }
.saved-status:empty { display: none; }
.saved-email { margin: 12px 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; max-width: 560px; }
.saved-email label { display: block; font-weight: 600; margin-bottom: 8px; }
.saved-email-row { display: flex; gap: 8px; flex-wrap: wrap; }
.saved-email-row input { flex: 1 1 220px; min-width: 0; }
.saved-email-note { margin: 8px 0 0; font-size: .9em; }
.saved-country { font-size: 20px; margin: 24px 0 12px; }
.saved-empty { padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); text-align: center; }
.saved-empty p { margin: 0 0 14px; color: var(--ink-2); }

/* the authors list (/authors): the team cards with a short bio and their guide count */
.authors-grid { margin-bottom: 48px; }
.author-card { align-items: flex-start; }
.author-card span { display: block; }
.author-card p { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.author-card .author-card-count { margin-top: 8px; font-size: 13px; color: var(--ink-3); }

/* Saved offers: an ended one stays on the list as expired */
.badge--expired { background: var(--surface-3); color: var(--ink-2); }
.saved-offer.offer--expired .offer-action .btn { white-space: nowrap; }

/* Every country, above the footer (_CountriesStrip) */
.countries-strip { padding: 40px 0; border-top: 1px solid var(--line); }
.countries-strip h2 { font-size: 20px; margin: 0 0 16px; }
.countries-strip .chips { list-style: none; margin: 0; padding: 0; }
.countries-strip .chip .flag-img { border-radius: 2px; }
#all-countries { scroll-margin-top: 96px; }
@media (max-width: 640px) { .countries-strip { padding: 28px 0; } }

/* The root homepage: each store's countries, a top code's and an article's country */
.store-tile .store-flags { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; margin-top: 8px; }
.store-tile .store-flags .flag-img { width: 18px; height: auto; border-radius: 2px; }
.store-tile .store-flags .more { font-size: 12px; color: var(--ink-3); }
.offer-store .offer-flag { width: 16px; height: auto; margin-left: 6px; border-radius: 2px; }
.article-card .article-country { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.article-card .article-country .flag-img { width: 16px; height: auto; border-radius: 2px; }

/* Article and author cards with links of their own inside (the author, their social profiles): the title's link covers
   the card and the others sit on top */
.article-card--linked, .author-card--linked { position: relative; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, border-color .2s; }
.article-card--linked:hover, .author-card--linked:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,18,34,.04), 0 18px 36px -14px rgba(15,18,34,.18); border-color: var(--brand-100); }
.js-reveal .article-card--linked.in:hover, .js-reveal .author-card--linked.in:hover { transform: translateY(-3px); transition-delay: 0ms; }
.article-card--linked:hover .img img { transform: scale(1.05); }
.article-card__link, .author-card__link { color: inherit; text-decoration: none; }
.article-card__link:hover, .author-card__link:hover { color: inherit; }
.article-card__link::after, .author-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.article-card__link:focus-visible, .author-card__link:focus-visible { outline: none; }
.article-card__link:focus-visible::after, .author-card__link:focus-visible::after { outline: 2px solid var(--brand); outline-offset: 2px; }
.author-card--linked .author-social { position: relative; z-index: 2; margin-top: 10px; }
.article-card .post-author { position: relative; z-index: 2; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.article-card .post-author:hover { color: var(--brand); text-decoration: underline; }
/* a card's category label links to its page, above the card's own link */
.article-card .img a.cat { z-index: 2; text-decoration: none; }
.article-card .img a.cat:hover { background: var(--ink); color: #fff; }

/* The whole offer card clicks its button (site.js): a hand over the card, and the button's hover while the card is hovered */
.offer-cards-clickable .offer:has(.offer-action .code-btn, .offer-action .btn) { cursor: pointer; }
.offer-cards-clickable .offer:hover .code-btn .peel { right: 50px; }
.offer-cards-clickable .offer:hover .code-btn .peel::after, .offer-cards-clickable .offer:hover .offer-action .btn--primary::after { animation: sheen .8s ease; }
.offer-cards-clickable .offer:hover .offer-action .btn--primary { background-image: linear-gradient(135deg, var(--cta-hover), var(--cta-hover-2)); box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--cta) 70%, transparent); }

/* The store page's author box: the writer's profiles as small icon buttons */
.author-social--sm { margin-top: 12px; gap: 6px; }
.soc-btn--icon { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 10px; }
.soc-btn--icon svg { width: 16px; height: 16px; }
/* The article byline: the writer's profiles at the end of the line */
.article-byline .author-social { margin: 0 0 0 auto; }
/* The article sidebar's writer card */
.side-author p { margin: 0; font-weight: 600; }
.side-author .author-social { margin-top: 12px; }
