/* UAE Coupon design system
   Palette: cobalt blue (trust, primary actions) + complementary coral-orange (savings highlights),
   green for verification, violet for exclusives, cool neutrals. Type: Plus Jakarta Sans. */
:root {
  --blue: #1B4DFF; --blue-700: #0F32C9; --blue-800: #0B25A0; --blue-50: #EEF3FF; --blue-100: #DCE6FF; --blue-200: #B9CCFF;
  --navy: #0A1433; --navy-2: #121E4A; --navy-3: #1C2A5C;
  --accent: #FF6B2C; --accent-600: #EE5516; --accent-50: #FFF1EA; --accent-100: #FFDCCB; --accent-ink: #B23A0A;
  --green: #0E9F6E; --green-50: #E6F7EF; --green-ink: #067047;
  --violet-50: #F1ECFF; --violet-ink: #5B2BC4;
  --amber-50: #FFF6DB; --amber-ink: #8A4B04;
  --ink: #0A1433; --ink-2: #333D57; --muted: #5E6780; --line: #E2E7F1; --line-2: #EDF0F6;
  --bg: #F5F7FB; --surface: #FFFFFF; --tint: #F0F4FF;
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(10, 20, 51, .06), 0 1px 1px rgba(10, 20, 51, .03);
  --sh-2: 0 10px 28px -12px rgba(10, 20, 51, .22), 0 2px 6px -2px rgba(10, 20, 51, .06);
  --sh-3: 0 30px 60px -20px rgba(10, 20, 51, .35);
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;
  --container: 1240px;
  --hdr-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-200); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--blue-100); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt { margin-top: 48px; }
.note { display: flex; gap: 8px; align-items: center; margin-top: 20px; font-size: 14px; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-xs { width: 13px; height: 13px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(27, 77, 255, .9); }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: 0 8px 18px -10px rgba(255, 107, 44, .95); }
.btn-accent:hover { background: var(--accent-600); color: var(--navy); }
.btn-soft { background: var(--blue-50); color: var(--blue-700); }
.btn-soft:hover { background: var(--blue-100); color: var(--blue-800); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue-200); color: var(--blue-700); background: var(--blue-50); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: background .15s, border-color .15s; }
.icon-btn:hover { background: var(--blue-50); border-color: var(--blue-200); }
.icon-btn-sm { width: 32px; height: 32px; border-radius: 9px; }
.icon-btn-light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #fff; }
.icon-btn-light:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .35); }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; text-decoration: underline; }

/* ---------- labels & chips ---------- */
.lbl { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.lbl-verified { background: var(--green-50); color: var(--green-ink); }
.lbl-excl { background: var(--violet-50); color: var(--violet-ink); }
.lbl-new { background: var(--blue-50); color: var(--blue-700); }
.lbl-soon { background: var(--amber-50); color: var(--amber-ink); }
.lbl-expired { background: var(--line-2); color: var(--muted); }
.lbl-light { background: rgba(255, 255, 255, .9); color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-center { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; }
a.chip:hover { border-color: var(--blue-200); color: var(--blue-700); background: var(--blue-50); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips-static .chip { background: var(--tint); border-color: transparent; }
.chips-nav { margin-bottom: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.eyebrow-light { color: #BFD0FF; }

/* ---------- preview bar ---------- */
.preview-bar { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 8px 16px; background: var(--amber-50); color: var(--amber-ink); font-size: 13px; text-align: center; border-bottom: 1px solid #F4E2B0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(10, 20, 51, .5); }
.hdr { display: flex; align-items: center; gap: 16px; height: var(--hdr-h); }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo-word { font-size: 21px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.logo-word b { color: var(--blue); font-weight: 800; }
.logo-word i { font-style: normal; color: var(--accent); font-size: .72em; margin-left: 1px; }
.main-nav { flex: none; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; }
.nav-btn, .nav-link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav-btn:hover, .nav-link:hover, .nav-btn[aria-expanded="true"] { background: var(--blue-50); color: var(--blue-700); }
.nav-btn[aria-current], .nav-link[aria-current] { color: var(--blue); }
.nav-btn .ic { transition: transform .2s; }
.nav-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mega { position: absolute; left: 0; top: calc(100% + 12px); width: 640px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega-narrow { width: 400px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1100px) { .has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; } }
.mega-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.mega-head a { display: inline-flex; gap: 4px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 14px; }
.mega-stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-stores a, .mega-cats a, .mega-events a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 14px; }
.mega-stores a:hover, .mega-cats a:hover, .mega-events a:hover { background: var(--blue-50); color: var(--blue-700); }
.mega-stores small, .mega-events small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.mega-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-events { display: grid; gap: 2px; }
.ev-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tone); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 18%, transparent); }
.cat-ic { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: color-mix(in srgb, var(--tone, var(--blue)) 12%, white); color: var(--tone, var(--blue)); flex: none; }
.cat-ic .ic { width: 19px; height: 19px; }
.cat-ic-lg { width: 64px; height: 64px; border-radius: 18px; }
.cat-ic-lg .ic { width: 30px; height: 30px; }

.hdr-search { position: relative; flex: 1; min-width: 180px; max-width: 420px; margin-left: auto; }
.hdr-search > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hdr-search input { width: 100%; height: 44px; padding: 0 14px 0 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .15s, background .15s, box-shadow .15s; }
.hdr-search input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
.hdr-alert { flex: none; }
.hdr-search-toggle, .menu-toggle { display: none; }

/* autocomplete */
.ac-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; max-height: 420px; overflow: auto; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-3); text-align: left; }
.ac-group { padding: 8px 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ac-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.ac-item small { margin-left: auto; font-weight: 500; color: var(--muted); white-space: nowrap; }
.ac-item.is-active, .ac-item:hover { background: var(--blue-50); color: var(--blue-700); }
.ac-item .ac-ic { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--tint); color: var(--blue); flex: none; font-size: 11px; font-weight: 800; }
.ac-empty { padding: 14px; color: var(--muted); font-size: 14px; }
.ac-item mark { background: none; color: var(--blue); }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(10, 20, 51, .5); }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); padding: 16px 20px 24px; background: #fff; overflow-y: auto; box-shadow: var(--sh-3); animation: slideIn .22s ease-out; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-nav { display: grid; gap: 2px; margin-bottom: 18px; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; color: var(--ink); font-weight: 700; }
.drawer-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.drawer-label { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.drawer-stores { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 20px; }
.drawer-stores a { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- store logo tiles ---------- */
.slogo { display: inline-flex; align-items: center; justify-content: center; background: var(--bg); color: var(--fg); font-weight: 800; letter-spacing: -.02em; text-align: center; line-height: 1.05; flex: none; overflow: hidden; }
.slogo[style*="#FFFFFF"], .slogo[style*="#ffffff"] { box-shadow: inset 0 0 0 1px var(--line); }
.slogo-xs { width: 30px; height: 30px; border-radius: 9px; font-size: 11px; }
.slogo-sm { min-width: 92px; height: 44px; padding: 0 12px; border-radius: 11px; font-size: 15px; }
.slogo-md { width: 100%; height: 72px; border-radius: 14px; font-size: 19px; padding: 0 10px; }
.slogo-lg { width: 132px; height: 132px; border-radius: 26px; font-size: 22px; padding: 12px; box-shadow: var(--sh-2); }
.slogo-img { background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 6px; }
.slogo-img img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 64px 0 72px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 480px at 85% 10%, rgba(27, 77, 255, .55), transparent 60%),
  radial-gradient(700px 420px at 5% 110%, rgba(255, 107, 44, .28), transparent 60%),
  linear-gradient(180deg, #0A1433, #0D1A45); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.035em; margin-bottom: 18px; }
.hl { background: linear-gradient(92deg, #9DB8FF 0%, #FFB08A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 28px; }
.lead-sm { font-size: 17px; color: var(--muted); max-width: 720px; }
.hero-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 580px; padding: 7px; background: #fff; border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.hero-search > .ic { margin-left: 12px; color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; height: 48px; border: 0; background: transparent; color: var(--ink); font-size: 16px; }
.hero-search input:focus { outline: none; }
.hero-search .btn { min-height: 48px; border-radius: 13px; }
.hero-search-page { margin-top: 20px; box-shadow: var(--sh-2); border: 1px solid var(--line); }
.trending { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 14px; }
.trending span { color: rgba(255, 255, 255, .6); font-weight: 600; }
.trending a { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 600; }
.trending a:hover { background: rgba(255, 255, 255, .2); }
.hero-stats { display: flex; gap: 36px; margin: 34px 0 0; padding: 0; list-style: none; }
.hero-stats li { display: grid; }
.hero-stats strong { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .62); font-weight: 600; }

/* hero slider */
.hero-slider { position: relative; }
.slides { position: relative; min-height: 360px; }
.slide { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-xl); background: var(--bg); color: var(--fg); box-shadow: var(--sh-3), inset 0 0 0 1px rgba(255, 255, 255, .12); opacity: 0; transform: translateX(18px) scale(.98); transition: opacity .45s, transform .45s; pointer-events: none; overflow: hidden; }
.slide::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: currentColor; opacity: .07; }
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.slide .slogo-md { width: auto; height: 56px; padding: 0 18px; box-shadow: 0 0 0 1px rgba(127, 127, 127, .25); }
.slide-badge { margin: 26px 0 6px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.slide-badge strong { font-size: 54px; letter-spacing: -.04em; line-height: 1; margin-right: 4px; }
.slide-title { color: inherit; font-size: 20px; line-height: 1.3; margin-bottom: 8px; max-width: 420px; }
.slide-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; opacity: .8; margin-bottom: 18px; }
.slide .code-btn, .slide .btn { align-self: flex-start; }
.slider-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .3); transition: width .25s, background .25s; }
.dot.is-active { width: 28px; background: #fff; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 28px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .sec-head p { color: rgba(255, 255, 255, .66); }
.section-dark .sec-link { color: #BFD0FF; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.sec-head h2 { margin-bottom: 6px; }
.sec-head p { margin: 0; color: var(--muted); }
.sec-head-center { justify-content: center; text-align: center; }
.sec-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; white-space: nowrap; }
.more-row { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- tabs ---------- */
.tab-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 22px; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list [role="tab"] { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 14px; transition: all .15s; }
.tab-list [role="tab"]:hover { border-color: var(--blue-200); color: var(--blue-700); }
.tab-list [role="tab"][aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 18px -12px rgba(10, 20, 51, .8); }
.tab-list [role="tab"] .ic { width: 17px; height: 17px; }
@media (min-width: 960px) {
  .tabs-v { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
  .tabs-v .tab-list { flex-direction: column; gap: 4px; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); position: sticky; top: calc(var(--hdr-h) + 20px); }
  .tabs-v .tab-list [role="tab"] { justify-content: flex-start; width: 100%; height: 46px; border: 0; border-radius: 12px; background: transparent; }
  .tabs-v .tab-list [role="tab"][aria-selected="true"] { background: var(--blue-50); color: var(--blue-700); box-shadow: inset 3px 0 0 var(--blue); }
}
[role="tabpanel"] { animation: fadeUp .3s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }

/* ---------- store tiles ---------- */
.stile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
.stile { display: flex; flex-direction: column; gap: 10px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.stile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--blue-100); color: var(--ink); }
.stile-name { padding: 0 4px; font-weight: 700; font-size: 15px; }
.stile-foot { display: flex; justify-content: space-between; gap: 6px; padding: 0 4px 2px; font-size: 13px; color: var(--muted); }
.stile-foot b { color: var(--accent-ink); font-weight: 800; }

/* ---------- offer tiles (grid) ---------- */
.otile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.otile { display: flex; flex-direction: column; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: box-shadow .2s, transform .2s; }
.otile:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.otile-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.otile-badge { padding: 6px 10px; border-radius: 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; text-align: right; line-height: 1.1; }
.otile-badge strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.otile-name { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 13px; font-weight: 700; }
.otile-name a { color: var(--muted); }
.otile-title { font-size: 15.5px; line-height: 1.4; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.otile-meta { display: flex; align-items: center; gap: 5px; margin: auto 0 14px; font-size: 12.5px; color: var(--muted); }
.otile-meta .ic { color: var(--green); }
.otile-cta .code-btn, .otile-cta .btn { width: 100%; }
.tone-code { background: var(--blue-50); color: var(--blue-700); }
.tone-deal { background: var(--green-50); color: var(--green-ink); }
.tone-free { background: var(--accent-50); color: var(--accent-ink); }

/* ---------- code button (peel) ---------- */
.code-btn { position: relative; display: inline-flex; align-items: center; justify-content: flex-end; min-width: 176px; height: 48px; padding: 0; border: 2px dashed var(--accent); border-radius: 12px; background: var(--accent-50); overflow: hidden; font-weight: 800; }
.code-peek { padding: 0 12px 0 0; font-family: var(--mono); font-size: 15px; letter-spacing: .14em; color: var(--accent-ink); }
.code-btn-label { position: absolute; top: -2px; bottom: -2px; left: -2px; right: 44px; display: flex; align-items: center; justify-content: center; padding-right: 12px; background: var(--blue); color: #fff; font-size: 15px; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); transition: right .25s ease, background .2s; }
.code-btn:hover .code-btn-label { right: 58px; background: var(--blue-700); }
.code-btn::after { content: ''; position: absolute; top: -2px; right: 30px; width: 20px; height: 22px; background: linear-gradient(225deg, transparent 50%, rgba(10, 20, 51, .12) 50%); transition: right .25s; pointer-events: none; opacity: 0; }
.code-btn.is-revealed { justify-content: center; }
.code-btn.is-revealed .code-btn-label, .code-btn.is-revealed::after { display: none; }
.code-btn.is-revealed .code-peek { padding: 0 12px; letter-spacing: .08em; }
.code-btn-lg { min-width: 220px; height: 54px; }
.deal-btn { min-width: 176px; height: 48px; }

/* ---------- offer rows ---------- */
.offer-list { display: grid; gap: 14px; }
.offer { display: grid; grid-template-columns: 104px 1fr auto; gap: 20px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: box-shadow .2s, border-color .2s; }
.offer:hover { box-shadow: var(--sh-2); border-color: var(--blue-100); }
.offer:target { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.offer-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: stretch; min-height: 100px; padding: 10px 6px; border-radius: 16px; text-align: center; line-height: 1.1; }
.offer-badge strong { font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.offer-badge span { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; margin-top: 3px; }
.offer-badge em { margin-top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .8); font-style: normal; font-size: 11px; font-weight: 700; }
.offer-body { min-width: 0; }
.offer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.offer-store { display: inline-flex; align-items: center; gap: 8px; margin-right: 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
.offer-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; letter-spacing: -.01em; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.offer-meta li { display: inline-flex; align-items: center; gap: 5px; }
.offer-details { margin-top: 8px; font-size: 14px; }
.offer-details summary { display: inline-flex; align-items: center; gap: 4px; list-style: none; color: var(--blue); font-weight: 600; font-size: 13px; cursor: pointer; }
.offer-details summary::-webkit-details-marker { display: none; }
.offer-details[open] summary .ic { transform: rotate(180deg); }
.offer-details p { margin: 8px 0 0; padding: 10px 12px; background: var(--bg); border-radius: 10px; color: var(--ink-2); }
.offer-cta { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 600; padding: 4px; }
.share-btn:hover { color: var(--blue); }
.offer-expired { opacity: .7; }
.offer-expired .offer-badge { filter: grayscale(1); }
.code-old { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; height: 44px; border: 2px dashed var(--line); border-radius: 12px; font-family: var(--mono); color: var(--muted); text-decoration: line-through; }
.offer.is-hidden { display: none; }
.empty { padding: 28px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted); }

/* ---------- deal cards ---------- */
.dcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.dcard-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.dcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.dcard:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.dcard-media, .deal-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: radial-gradient(circle at 30% 20%, #fff 0, var(--blue-50) 45%, var(--blue-100) 100%); color: var(--blue); }
.dcard-ic { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: #fff; box-shadow: var(--sh-2); }
.dcard-ic .ic { width: 40px; height: 40px; }
.dcard-off { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--navy); font-weight: 800; font-size: 13px; }
.dcard-excl { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 999px; background: var(--violet-50); color: var(--violet-ink); font-weight: 700; font-size: 12px; }
.dcard-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.dcard-store { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 700; font-size: 13px; color: var(--muted); }
.dcard-title { font-size: 15.5px; line-height: 1.4; margin-bottom: 10px; }
.dcard-title a { color: var(--ink); }
.dcard-title a:hover { color: var(--blue); }
.dcard-price { display: flex; align-items: baseline; gap: 10px; margin: auto 0 14px; }
.dcard-price strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.dcard-price s { color: var(--muted); font-size: 14px; }

/* ---------- events ---------- */
.ecard-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
@media (min-width: 1100px) { .ecard-row-home { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } .ecard-row-home .ecard:first-child { grid-column: span 2; } }
.ecard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ecard { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 22px; border-radius: var(--r-lg); background: linear-gradient(160deg, color-mix(in srgb, var(--tone) 70%, #0A1433) 0%, #0D1A45 100%); color: #fff; overflow: hidden; scroll-snap-align: start; transition: transform .2s, box-shadow .2s; }
.ecard::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ecard:hover { transform: translateY(-3px); box-shadow: var(--sh-3); color: #fff; }
.ecard-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .14); }
.ecard-name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.ecard-when { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.ecard-short { font-size: 14px; color: rgba(255, 255, 255, .82); }
.ecard-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; font-size: 14px; }
.timeline { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 4px 16px; padding: 0 0 18px 22px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.tl-date { font-weight: 800; font-size: 14px; }
.timeline a { font-weight: 700; }
.timeline .muted { grid-column: 2; font-size: 14px; }

/* ---------- categories ---------- */
.ctile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.ctile-grid-sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.ctile { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ctile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--tone) 35%, white); color: var(--ink); }
.ctile-name { font-weight: 700; }
.ctile-n { font-size: 13px; color: var(--muted); margin-top: -6px; }
.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.cat-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cat-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; color: var(--ink); }
.cat-card-head > .ic { margin-left: auto; color: var(--muted); }
.cat-card-head h2 { font-size: 19px; margin: 0; }
.cat-card-head small { color: var(--muted); font-size: 13px; }
.cat-card p { color: var(--ink-2); font-size: 15px; }

/* ---------- steps / trust ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps li { position: relative; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 10px 20px -10px rgba(27, 77, 255, .9); }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.trust-copy p { color: var(--ink-2); font-size: 17px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
.trust-grid-3 { grid-template-columns: repeat(3, 1fr); }
.trust-grid li { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.trust-grid li > .ic { width: 26px; height: 26px; color: var(--blue); margin-bottom: 12px; }
.trust-grid h3 { font-size: 16px; margin-bottom: 4px; }
.trust-grid p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pcard-media { display: grid; place-items: center; aspect-ratio: 16 / 8; background: linear-gradient(135deg, var(--tone), color-mix(in srgb, var(--tone) 55%, #0A1433)); color: #fff; }
.pcard-media span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .16); }
.pcard-media .ic { width: 30px; height: 30px; }
.pcard-body { padding: 18px 20px 20px; }
.pcard-meta { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pcard h3 { font-size: 18px; }
.pcard h3 a { color: var(--ink); }
.pcard h3 a:hover { color: var(--blue); }
.pcard p:last-child { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- prose / SEO copy / FAQ ---------- */
.prose-wrap { max-width: 860px; }
.prose { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose h2 { margin-top: 1.6em; font-size: 24px; color: var(--ink); }
.prose h3 { margin-top: 1.4em; font-size: 19px; color: var(--ink); }
.prose > h2:first-child { margin-top: 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--blue-200); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--tint); font-family: var(--mono); font-size: .9em; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--tint); color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.tick-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.tick-list .ic { margin-top: 5px; color: var(--green); }
.how-list { counter-reset: h; list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.how-list li { counter-increment: h; position: relative; padding: 12px 14px 12px 54px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin: 0; }
.how-list li::before { content: counter(h); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--blue-50); color: var(--blue-700); font-weight: 800; font-size: 14px; }
.seo-copy { position: relative; color: var(--ink-2); line-height: 1.75; }
.seo-copy h3 { margin-top: 1.2em; }
.seo-copy.is-collapsed { max-height: 280px; overflow: hidden; }
.seo-copy.is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--bg)); }
.readmore-btn { margin: 14px 0 0; }
.faq { margin-top: 48px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--sh-1); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer; font-weight: 700; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { color: var(--muted); transition: transform .2s; }
.faq-item[open] summary .ic { transform: rotate(180deg); color: var(--blue); }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* ---------- breadcrumbs / page hero ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 18px 0 0; list-style: none; font-size: 13.5px; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero { display: flex; gap: 22px; align-items: flex-start; padding-top: 22px; padding-bottom: 12px; }
.page-hero h1 { margin-bottom: 10px; }
.cat-hero .lead-sm { margin-bottom: 14px; }

/* ---------- store page ---------- */
.store-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-top: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-1); }
.store-info h1 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 8px; }
.store-short { color: var(--muted); font-size: 16.5px; margin-bottom: 14px; }
.store-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.store-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg); font-size: 13.5px; color: var(--ink-2); }
.store-facts .ic { color: var(--blue); }
.store-side { display: grid; gap: 12px; justify-items: end; }
.rate { display: grid; justify-items: end; gap: 4px; }
.rate-stars { display: flex; gap: 2px; }
.rate-stars button { padding: 2px; border: 0; background: none; color: #F5B301; }
.rate-stars .ic { width: 22px; height: 22px; }
.rate-stars button.is-off { color: var(--line); }
.rate-text { font-size: 13px; color: var(--muted); }
.store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; margin-top: 24px; padding-bottom: 56px; }
.offers-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.offers-toolbar h2 { margin: 0; font-size: 22px; }
.seg { display: inline-flex; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.seg button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-weight: 700; font-size: 14px; }
.seg button span { padding: 1px 7px; border-radius: 999px; background: var(--bg); font-size: 12px; color: var(--muted); }
.seg button.is-active { background: var(--navy); color: #fff; }
.seg button.is-active span { background: rgba(255, 255, 255, .18); color: #fff; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.sort select { height: 44px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235E6780' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; color: var(--ink); font-weight: 600; }
.expired-block { margin-top: 22px; }
.expired-block > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; font-weight: 700; color: var(--ink-2); padding: 10px 0; }
.expired-block > summary::-webkit-details-marker { display: none; }
.expired-block .offer-list { margin-top: 10px; }
.store-about { margin-top: 44px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.store-aside { display: grid; gap: 16px; align-content: start; }
.side-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.side-h { font-size: 16px; margin-bottom: 12px; }
.side-alert { background: linear-gradient(160deg, var(--blue-50), #fff 70%); border-color: var(--blue-100); }
.side-alert > .ic { width: 28px; height: 28px; color: var(--blue); margin-bottom: 10px; }
.side-alert p { font-size: 14px; color: var(--ink-2); }
.glance { display: grid; gap: 0; margin: 0; }
.glance div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.glance div:last-child { border-bottom: 0; }
.glance dt { color: var(--muted); }
.glance dd { margin: 0; font-weight: 700; }
.side-stores, .side-events { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.side-stores a, .side-events a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 14px; }
.side-stores a:hover, .side-events a:hover { background: var(--blue-50); }
.side-stores small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12px; }
.side-events small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.narrow-2 { max-width: 960px; }

/* ---------- A-Z ---------- */
.az-bar { position: sticky; top: calc(var(--hdr-h) + 8px); z-index: 5; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px; margin-bottom: 20px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.az-letters { display: flex; flex-wrap: wrap; gap: 4px; }
.az-letters a, .az-letters span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-weight: 700; font-size: 14px; }
.az-letters a { background: var(--blue-50); color: var(--blue-700); }
.az-letters a:hover { background: var(--blue); color: #fff; }
.az-letters span { color: var(--line); }
.az-filter { position: relative; display: flex; align-items: center; }
.az-filter .ic { position: absolute; left: 12px; color: var(--muted); }
.az-filter input { height: 40px; width: 240px; padding: 0 12px 0 36px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); }
.az-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.az-group { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.az-group h2 { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 18px; }
.az-group ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.az-group a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: var(--ink); font-weight: 600; }
.az-group a:hover { background: var(--blue-50); }
.az-group small { margin-left: auto; font-weight: 500; font-size: 12px; color: var(--muted); }

/* ---------- deal page ---------- */
.deal-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-top: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.deal-media { border-radius: var(--r-lg); aspect-ratio: 4 / 3; }
.deal-media .dcard-ic { width: 130px; height: 130px; border-radius: 36px; }
.deal-media .dcard-ic .ic { width: 64px; height: 64px; }
.deal-info h1 { font-size: clamp(24px, 3vw, 34px); }
.deal-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.deal-price strong { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.deal-price s { color: var(--muted); font-size: 17px; }
.save-pill { padding: 4px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-ink); font-weight: 700; font-size: 14px; }
.deal-info .btn-lg { margin: 10px 0 12px; }

/* ---------- event page ---------- */
.event-hero { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-top: 18px; padding: 40px; border-radius: var(--r-xl); background: radial-gradient(600px 300px at 90% 0, color-mix(in srgb, var(--tone) 80%, white 0%), transparent 70%), linear-gradient(135deg, #0A1433, color-mix(in srgb, var(--tone) 60%, #0A1433)); color: #fff; }
.event-hero h1 { color: #fff; }
.event-hero .lead { margin-bottom: 10px; }
.ev-date { margin: 0; font-weight: 700; color: #FFD2BD; }
.countdown { display: flex; gap: 10px; }
.countdown div { display: grid; justify-items: center; min-width: 84px; padding: 14px 10px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.countdown strong { font-size: 34px; font-weight: 800; line-height: 1; }
.countdown span { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .7); margin-top: 6px; }

/* ---------- article ---------- */
.article-head { max-width: 820px; margin: 22px 0 28px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.author-dot { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 780px); gap: 44px; padding-bottom: 40px; }
.toc { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: 14px; }
.toc p { margin: 0 0 8px; font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--blue); }

/* ---------- forms ---------- */
.card-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field b { color: var(--accent-ink); }
.field-full { grid-column: 1 / -1; }
.field input, .field select, .field textarea, .stack-form input, .nl-form input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); font-weight: 500; font-size: 15px; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .stack-form input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-msg { margin: 0; font-size: 14px; font-weight: 600; }
.form-msg.ok { color: var(--green-ink); }
.form-msg.err { color: #B42318; }
.stack-form { display: grid; gap: 10px; }
.contact-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.contact-aside p { display: flex; align-items: center; gap: 8px; font-size: 15px; }

/* ---------- sitemap / 404 ---------- */
.sm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.sm-col h2 { font-size: 18px; }
.sm-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.nf { max-width: 720px; padding: 80px 20px; text-align: center; }
.nf-code { margin: 0; font-size: 110px; font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(90deg, var(--blue), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .lead-sm { margin: 0 auto 24px; }
.nf .hero-search { margin: 0 auto 22px; }

/* ---------- newsletter + footer ---------- */
.newsletter-band { background: linear-gradient(120deg, var(--blue-700), var(--blue) 55%, #3D6BFF); color: #fff; }
.nl-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-top: 52px; padding-bottom: 52px; }
.nl-inner h2 { color: #fff; margin-bottom: 8px; }
.nl-inner p { margin: 0; color: rgba(255, 255, 255, .82); }
.nl-form { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.nl-form input { flex: 1; min-width: 200px; background: #fff; border-color: transparent; }
.nl-form .form-msg { flex-basis: 100%; color: #fff; }
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.ft-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 36px; }
.ft-brand .logo, .ft-brand .logo:hover { color: #fff; }
.ft-brand p { margin: 16px 0; max-width: 340px; }
.ft-social { display: flex; gap: 8px; }
.ft-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .08); color: #fff; }
.site-footer h3 { color: #fff; font-size: 14px; letter-spacing: .02em; margin-bottom: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: #fff; }
.ft-disclosure p { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); font-size: 13.5px; }
.ft-disclosure .ic { margin-top: 2px; }
.ft-disclosure a { text-decoration: underline; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 28px; font-size: 13px; }
.ft-bottom p { margin: 0; }
.ft-bottom nav { display: flex; gap: 18px; }

/* ---------- modal / toast / sticky ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 51, .56); backdrop-filter: blur(4px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; width: min(540px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 32px 30px 26px; background: #fff; border-radius: 26px; box-shadow: var(--sh-3); text-align: center; animation: pop .28s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.modal-sm { width: min(440px, 100%); }
.modal-x { position: absolute; top: 14px; right: 14px; }
.cm-head { display: grid; justify-items: center; gap: 8px; margin-bottom: 14px; }
.cm-logo .slogo { width: 88px; height: 56px; border-radius: 14px; font-size: 16px; }
.cm-store { margin: 0; font-weight: 700; color: var(--muted); font-size: 14px; }
.cm-title { font-size: 20px; line-height: 1.35; margin-bottom: 20px; }
.cm-label { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.code-box { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px; border: 2px dashed var(--accent); border-radius: 16px; background: var(--accent-50); margin-bottom: 16px; }
.code-text { flex: 1; font-family: var(--mono); font-size: 24px; font-weight: 800; letter-spacing: .1em; color: var(--ink); text-align: left; overflow-wrap: anywhere; }
.code-box .btn.is-copied { background: var(--green); }
.cm-deal .cm-label { color: var(--green-ink); margin-bottom: 16px; }
.cm-go { margin-bottom: 14px; }
.cm-terms { text-align: left; margin-bottom: 14px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line-2); padding-top: 12px; }
.cm-terms summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.cm-terms p { margin: 8px 0 0; }
.cm-vote { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.vote-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.vote-btn:hover { border-color: var(--blue-200); color: var(--blue); }
.vote-btn.is-picked { background: var(--blue); border-color: var(--blue); color: #fff; }
.vote-msg { color: var(--green-ink); }
.al-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 12px; border-radius: 18px; background: var(--blue-50); color: var(--blue); }
.al-ic .ic { width: 28px; height: 28px; }
.modal-card > p { color: var(--ink-2); }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 120; transform: translateX(-50%); padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; box-shadow: var(--sh-3); animation: pop .25s; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 50; pointer-events: none; animation: fadeUp .35s ease-out; }
.sticky-inner { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: calc(100% - 32px); padding: 10px 10px 10px 18px; background: var(--navy); color: #fff; border-radius: 18px; box-shadow: var(--sh-3); pointer-events: auto; }
.sticky-inner p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.sticky-inner .ic { color: var(--accent); }
.sticky-inner .icon-btn { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 44px 0 56px; }
  .store-layout, .contact-grid { grid-template-columns: 1fr; }
  .store-hero { grid-template-columns: auto 1fr; }
  .store-side { grid-column: 1 / -1; justify-items: start; grid-template-columns: auto auto; align-items: center; justify-content: space-between; }
  .rate { justify-items: start; }
  .trust, .nl-inner { grid-template-columns: 1fr; gap: 28px; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .deal-hero { grid-template-columns: 1fr; }
  .event-hero { flex-direction: column; align-items: flex-start; padding: 28px; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 64px; }
  .hdr { gap: 8px; }
  .hdr-search { display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); max-width: none; }
  .hdr-search.is-open { display: block; }
  .hdr-search.is-open input { background: #fff; box-shadow: var(--sh-2); }
  .hdr-search-toggle { display: inline-grid; margin-left: auto; }
  .hdr-alert { display: none; }
  .logo-word { font-size: 19px; }
  .section { padding: 52px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 24px; }
  .slides { min-height: 380px; }
  .offer { grid-template-columns: 76px 1fr; gap: 14px; padding: 14px; }
  .offer-badge { min-height: 80px; border-radius: 13px; }
  .offer-badge strong { font-size: 19px; }
  .offer-cta { grid-column: 1 / -1; flex-direction: row; }
  .offer-cta .code-btn, .offer-cta .deal-btn { flex: 1; }
  .store-hero { padding: 20px; gap: 16px; }
  .slogo-lg { width: 84px; height: 84px; border-radius: 20px; font-size: 15px; }
  .store-about { padding: 22px; }
  .steps, .steps-4, .trust-grid, .trust-grid-3 { grid-template-columns: 1fr; }
  .card-form { grid-template-columns: 1fr; padding: 20px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .az-filter, .az-filter input { width: 100%; }
  .stile-grid { grid-template-columns: repeat(2, 1fr); }
  .countdown div { min-width: 70px; }
  .sticky-inner p span { font-size: 13px; }
  .mega-stores { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .hero-search .btn { padding: 0 14px; }
  .code-text { font-size: 19px; }
  .cm-title { font-size: 18px; }
  .modal-card { padding: 28px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
