/* ==========================================================================
   سبوبة: Editorial Poster style (see ../../DESIGN.md)
   Lemon canvas + cobalt ink. Dark mode swaps them (cobalt canvas + lemon ink).
   ========================================================================== */
:root {
  --canvas: #F5E13C;
  --canvas-2: #EFD622;
  --paper: #FFFBE3;
  --paper-2: #FBF1B4;
  --ink: #1D3FCF;
  --ink-2: #1733B0;
  --ink-deep: #0E1F7A;
  --on-ink: #F5E13C;
  --media: #FFFFFF;
  --text: #0E1F7A;
  --text-2: #2F3C8C;
  --text-3: #4F5A93;
  --line: color-mix(in srgb, var(--ink) 22%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 48%, transparent);
  --ink-soft: color-mix(in srgb, var(--ink) 9%, transparent);
  --hot: #D7261E;
  --hot-soft: #FCD9CF;
  --tg: #229ED9;
  --font: 'Alexandria', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Alexandria', system-ui, sans-serif;
  --num: 'Anton', 'Alexandria', system-ui, sans-serif;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: none;
  --shadow-lg: 0 24px 60px rgba(14, 31, 122, .22);
  --duo: url(#duo);
  /* Older names, still used by admin.css */
  --bg: var(--canvas); --bg-2: var(--paper); --surface: var(--paper); --surface-2: var(--paper-2);
  --border: var(--line); --border-strong: var(--line-strong);
  --accent: var(--ink); --accent-2: var(--ink); --accent-soft: var(--ink-soft);
  --gold: var(--ink); --gold-2: var(--ink); --gold-soft: var(--ink-soft); --bad: var(--hot); --warn: #C76A00;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #14289A; --canvas-2: #10217F; --paper: #1A33B2; --paper-2: #223EC2;
    --ink: #F5E13C; --ink-2: #FFEA5C; --ink-deep: #FFF6C2; --on-ink: #14289A;
    --text: #FFF6C2; --text-2: #E2DDB5; --text-3: #B3B9E2; --hot: #FF7A6E; --hot-soft: #4A1F45;
    --shadow-lg: 0 30px 80px rgba(3, 8, 40, .55); --duo: url(#duo-dark);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #14289A; --canvas-2: #10217F; --paper: #1A33B2; --paper-2: #223EC2;
  --ink: #F5E13C; --ink-2: #FFEA5C; --ink-deep: #FFF6C2; --on-ink: #14289A;
  --text: #FFF6C2; --text-2: #E2DDB5; --text-3: #B3B9E2; --hot: #FF7A6E; --hot-soft: #4A1F45;
  --shadow-lg: 0 30px 80px rgba(3, 8, 40, .55); --duo: url(#duo-dark);
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
  background: var(--canvas);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
.hidden, [hidden] { display: none !important; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
::selection { background: var(--ink); color: var(--on-ink); }
.duo-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
html[dir="ltr"] .arr svg, html[dir="ltr"] .flip { transform: scaleX(-1); }

/* ---------- small type helpers ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.kicker::after { content: ''; width: 64px; height: 1.5px; background: currentColor; flex: none; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 14px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions";
  gap: 20px; align-items: center;
  padding: 14px 32px;
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.logo { grid-area: logo; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 24px; height: 24px; display: grid; place-items: center; color: var(--ink); }
.logo-mark svg { width: 24px; height: 24px; fill: currentColor; }
.logo-text { font-family: var(--display); font-size: 25px; font-weight: 900; letter-spacing: -.01em; line-height: 1; }
html[lang="en"] .logo-text { letter-spacing: -.03em; }

.search {
  grid-area: search;
  display: flex; align-items: center; gap: 10px; max-width: 580px; width: 100%; justify-self: center;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; padding: 0 16px; height: 46px;
  transition: box-shadow .15s;
}
.search:focus-within { box-shadow: 0 0 0 4px var(--ink-soft); }
.search .ico { color: var(--ink); display: flex; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; height: 100%; font-size: 16px; color: var(--text); }
.search input::placeholder { color: var(--text-3); }
.search kbd { font: 12px var(--font); color: var(--text-3); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0 7px; }

.top-actions { grid-area: actions; display: flex; gap: 4px; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .08s;
}
.btn:hover { background: var(--ink-soft); }
.btn:active { transform: translateY(1px); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--ink-soft); }
.btn.icon { width: 42px; padding: 0; justify-content: center; }
.btn.primary { background: var(--ink); color: var(--on-ink); }
.btn.primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn.tg { background: var(--tg); border-color: var(--tg); color: #fff; }
.btn.tg:hover { filter: brightness(1.07); background: var(--tg); }
.btn.danger { color: var(--hot); border-color: color-mix(in srgb, var(--hot) 55%, transparent); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.sm.icon, .btn.icon.sm { width: 34px; padding: 0; }
.btn.big { height: 52px; padding: 0 26px; font-size: 16px; justify-content: center; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.spinning [data-icon="refresh"] svg { animation: spin 1s linear infinite; }
.btn.on { background: var(--ink); color: var(--on-ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.btn .arr {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--on-ink); margin-inline-end: -12px;
}
.btn .arr svg.i { width: 16px; height: 16px; }
.btn.primary .arr, .btn.premium-btn .arr { background: var(--on-ink); color: var(--ink); }
.btn.big .arr { width: 36px; height: 36px; margin-inline-end: -16px; }
.link { background: none; border: 0; color: var(--ink); cursor: pointer; font-weight: 700; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* Premium: filled ink everywhere; outline pill with arrow in the top bar */
.btn.premium-btn { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn.premium-btn:hover { background: var(--ink-2); border-color: var(--ink-2); }
.topbar .btn.premium-btn { background: transparent; color: var(--ink); padding-inline-end: 6px; }
.topbar .btn.premium-btn:hover { background: var(--ink-soft); }
.topbar .btn.premium-btn .arr { background: var(--ink); color: var(--on-ink); margin-inline-end: 0; }
.topbar .btn.premium-btn.is-pro { padding-inline-end: 18px; background: var(--ink-soft); }
.btn.premium-btn.is-pro .arr { display: none; }

/* ---------- announcement ---------- */
.announce { background: var(--ink); color: var(--on-ink); text-align: center; padding: 8px 16px; font-weight: 600; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero {
  position: relative; max-width: 1440px; margin: 0 auto; padding: 40px 32px 36px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 210px; grid-template-areas: "copy art points";
  gap: 28px; align-items: center; min-height: min(660px, calc(100svh - 90px));
}
.hero-copy { grid-area: copy; position: relative; z-index: 2; min-width: 0; }
.hero-title {
  font-family: var(--display); font-weight: 900; color: var(--ink);
  font-size: clamp(60px, 9.4vw, 150px); line-height: .95; letter-spacing: -.035em; margin: 20px 0 22px;
}
html[lang="ar"] .hero-title { letter-spacing: 0; line-height: 1.12; font-size: clamp(64px, 9.6vw, 156px); }
.hero-sub { font-size: clamp(16px, 1.45vw, 21px); font-weight: 300; line-height: 1.6; max-width: 29em; margin: 0 0 28px; color: var(--text); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-art { grid-area: art; position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; cursor: pointer; }
.hero-art .ring { position: absolute; inset: 3%; border: 1.5px solid var(--ink); border-radius: 50%; pointer-events: none; }
.hero-art .ring.r2 { inset: 13% -4% -4% 13%; opacity: .3; }
.hero-art .shot {
  position: absolute; inset: 11%; width: 78%; height: 78%; object-fit: contain;
  filter: var(--duo); opacity: 0; transition: opacity .7s ease;
}
.hero-art .shot.on { opacity: 1; }
.hero-art .dots {
  position: absolute; inset: 8%; border-radius: 50%; pointer-events: none; opacity: .16;
  background: radial-gradient(circle, var(--ink) 1.1px, transparent 1.5px) 0 0 / 7px 7px;
  -webkit-mask: radial-gradient(circle at 70% 70%, #000 0 35%, transparent 70%);
  mask: radial-gradient(circle at 70% 70%, #000 0 35%, transparent 70%);
}
.hero-sticker {
  position: absolute; top: 4%; inset-inline-start: 0; width: 124px; height: 124px; border-radius: 50%;
  background: var(--ink); color: var(--on-ink); display: grid; place-content: center; text-align: center;
  transform: rotate(-9deg); z-index: 2; transition: transform .3s;
}
.hero-art:hover .hero-sticker { transform: rotate(-4deg) scale(1.04); }
.hero-sticker b { font-family: var(--num); font-weight: 400; font-size: 42px; line-height: 1; letter-spacing: .01em; }
.hero-sticker small { font-size: 12px; font-weight: 700; margin-top: 4px; }
.hero-cap {
  position: absolute; bottom: 2%; inset-inline-end: 0; max-width: 78%; z-index: 2;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 18px; padding: 10px 14px;
  display: grid; gap: 2px; text-align: start;
}
.hero-cap .t { font-size: 13px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.hero-cap .p { font-size: 13px; color: var(--text-2); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.hero-cap .p b { color: var(--ink); font-size: 17px; font-weight: 800; }
.hero-cap .p s { color: var(--text-3); }

.hero-points { grid-area: points; list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; align-self: center; }
.hero-points li { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.hero-points .ring-ico { width: 50px; height: 50px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; flex: none; }
.hero-points .ring-ico svg.i { width: 20px; height: 20px; }

/* ---------- stats strip ---------- */
.kpis {
  width: min(1376px, calc(100% - 64px)); margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1.5px solid var(--ink);
}
.kpi { padding: 18px 20px; border-inline-start: 1px solid var(--line); min-width: 0; }
.kpi:first-child { border-inline-start: 0; padding-inline-start: 0; }
.kpi .k { font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.kpi .v { font-family: var(--num); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; color: var(--ink); margin-top: 6px; letter-spacing: .01em; }
.kpi .s { font-size: 12.5px; color: var(--text-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi.best, .kpi.pro-kpi { cursor: pointer; }
.kpi.best:hover .v, .kpi.pro-kpi:hover .v { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kpi .skeleton { height: 30px; }

.stores-bar { width: min(1376px, calc(100% - 64px)); margin: 14px auto 0; display: flex; gap: 6px 22px; flex-wrap: wrap; }
.store-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.store-pill b { color: var(--ink); font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; }
.dot.ok { background: var(--ink); box-shadow: 0 0 0 3px var(--ink-soft); }
.dot.warn { background: transparent; }
.dot.err { background: var(--hot); border-color: var(--hot); }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 32px; padding: 44px 32px 72px; max-width: 1440px; margin: 0 auto; }
.results, .layout > * { min-width: 0; }
.filters {
  position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 108px); overflow: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  scrollbar-width: thin;
}
.filters-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.filters-head h2 { font-size: 20px; font-weight: 900; margin: 0; flex: 1; color: var(--ink); }
.fgroup { padding: 16px 0; border-top: 1px solid var(--line); }
.fgroup:first-of-type { border-top: 0; }
.fgroup h3 { font-size: 13px; margin: 0 0 10px; color: var(--ink); font-weight: 700; display: flex; justify-content: space-between; }
.fgroup output { color: var(--ink); font-family: var(--num); font-size: 18px; font-weight: 400; line-height: 1; }
.store-toggles { display: grid; gap: 8px; }
.store-toggle {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  cursor: pointer; user-select: none; transition: border-color .15s, background .15s, opacity .15s;
}
.store-toggle input { display: none; }
.store-toggle .name { flex: 1; font-weight: 600; font-size: 14px; }
.store-toggle .n { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.store-toggle:has(input:checked) { border-color: var(--ink); background: var(--ink-soft); }
.store-toggle:not(:has(input:checked)) { opacity: .5; }
.logo-sq { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; }

input[type="range"] { width: 100%; accent-color: var(--ink); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.quick button {
  border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 4px 11px; font-size: 12px; cursor: pointer; font-weight: 700; color: var(--ink);
}
.quick button:hover { border-color: var(--ink); }
.quick button.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs input, .mini-input, select {
  width: 100%; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: transparent; padding: 0 12px; outline: 0; font-size: 16px; color: var(--text);
}
select { background: var(--paper); }
.price-inputs input:focus, .mini-input:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink-soft); }
.switch { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; color: var(--text-2); }
.switch em { font-style: normal; }
.switch input { display: none; }
.switch span { width: 38px; height: 22px; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); position: relative; flex: none; transition: background .15s; }
.switch span::after { content: ''; position: absolute; top: 4px; left: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--line-strong); transition: transform .15s; }
.switch input:checked + span { box-shadow: none; }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(16px); background: var(--on-ink); }
.brand-list { margin-top: 8px; display: grid; gap: 2px; max-height: 240px; overflow: auto; }
.brand-item { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 10px; cursor: pointer; font-size: 14px; border: 0; background: none; text-align: start; color: var(--text); }
.brand-item:hover { background: var(--ink-soft); }
.brand-item.on { background: var(--ink); color: var(--on-ink); font-weight: 700; }
.brand-item small { color: inherit; opacity: .65; }

/* ---------- deals heading, categories, toolbar ---------- */
.deals-head { margin-bottom: 18px; }
.deals-head h2 { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 5vw, 68px); line-height: 1.05; margin: 12px 0 0; color: var(--ink); letter-spacing: -.02em; }
html[lang="ar"] .deals-head h2 { letter-spacing: 0; line-height: 1.2; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--ink);
  transition: border-color .15s, background .15s, color .15s;
}
.cat:hover { border-color: var(--ink); }
.cat .e { font-size: 16px; line-height: 1; }
.cat .n { font-size: 11px; font-variant-numeric: tabular-nums; background: var(--ink-soft); padding: 1px 8px; border-radius: 999px; }
.cat.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.cat.on .n { background: color-mix(in srgb, var(--on-ink) 22%, transparent); }
.cat.zero { opacity: .4; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.count { font-weight: 600; color: var(--text-2); }
.count b { color: var(--ink); font-family: var(--num); font-weight: 400; font-size: 24px; letter-spacing: .01em; }
.active-chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 999px; background: var(--ink);
  color: var(--on-ink); font-size: 12px; font-weight: 700; border: 0; cursor: pointer;
}
html[dir="rtl"] .chip { padding: 5px 12px 5px 8px; }
.chip svg.i { width: 14px; height: 14px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); margin-inline-start: auto; }
.sort select { width: auto; height: 40px; border-radius: 999px; border-color: var(--ink); padding: 0 14px; font-weight: 600; font-size: 14px; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; position: relative; transition: transform .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--ink); }
.card:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.media { position: relative; aspect-ratio: 1 / 1; background: var(--media); margin: 7px 7px 0; border-radius: 16px; display: grid; place-items: center; padding: 16px; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.media .noimg { color: #b8bfd8; }
.off {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1;
  background: var(--ink); color: var(--on-ink); font-family: var(--num); font-weight: 400; font-size: 19px; line-height: 1;
  padding: 7px 11px 6px; border-radius: 999px; letter-spacing: .02em;
}
.off:not(.mid):not(.low) { transform: rotate(-6deg); }
.off.low { background: var(--media); color: var(--ink); border: 1.5px solid var(--ink); }
:root[data-theme="dark"] .off.low { color: #1D3FCF; border-color: #1D3FCF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .off.low { color: #1D3FCF; border-color: #1D3FCF; } }
.store-tag { position: absolute; top: 10px; inset-inline-end: 10px; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; letter-spacing: .01em; }
.store-tag.d-store { top: 16px; inset-inline-start: 16px; inset-inline-end: auto; }
.drop-ribbon {
  position: absolute; bottom: 10px; inset-inline-start: 10px; background: var(--ink-deep); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
  display: inline-flex; gap: 4px; align-items: center;
}
:root[data-theme="dark"] .drop-ribbon { background: #0E1F7A; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .drop-ribbon { background: #0E1F7A; } }
.drop-ribbon svg.i { width: 12px; height: 12px; }
.body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.brand { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 700; }
.title { font-size: 14px; font-weight: 500; line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; color: var(--text); }
.prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.price { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.was { color: var(--text-3); text-decoration: line-through; font-size: 13px; }
.save { color: var(--ink); font-size: 12.5px; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px;
  background: transparent; color: var(--text-2); border: 1px solid var(--line-strong);
}
.tag svg.i { width: 12px; height: 12px; }
.tag.ok { background: var(--ink-soft); color: var(--ink); border-color: transparent; }
.tag.coupon { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.tag.low { border-color: var(--ink); color: var(--ink); }
.tag.bad { background: var(--hot-soft); color: var(--hot); border-color: transparent; }
.meta { display: flex; gap: 10px; color: var(--text-3); font-size: 12px; margin-top: auto; padding-top: 8px; align-items: center; min-width: 0; }
.meta span { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta svg.i { width: 13px; height: 13px; }
.meta .star { color: var(--ink); }

.skeleton { background: linear-gradient(90deg, var(--ink-soft), color-mix(in srgb, var(--ink) 16%, transparent), var(--ink-soft)); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: 10px; }
@keyframes sh { to { background-position: -200% 0; } }
.card.sk { cursor: default; }
.card.sk .media { background: var(--ink-soft); }
.card.sk .line { height: 12px; margin: 6px 0; }

.empty {
  text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); color: var(--text-2); background: var(--paper);
}
.empty h3 { color: var(--ink); margin: 10px 0 6px; font-size: 20px; font-weight: 800; }
.empty .big { font-size: 40px; }
.more { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- product drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(8, 16, 70, .45); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--canvas); z-index: 50; overflow: auto;
  transform: translateX(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-lg); border-left: 1.5px solid var(--ink);
  overscroll-behavior: contain;
}
.drawer.open { transform: none; }
.drawer-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; background: var(--paper) !important; border-color: var(--ink) !important; }
.d-media { background: var(--media); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 28px; position: relative; margin: 12px; border-radius: 22px; }
.d-media img { max-height: 100%; object-fit: contain; }
.d-body { padding: 10px 22px 34px; display: grid; gap: 18px; }
.d-title { font-size: 21px; font-weight: 700; line-height: 1.4; margin: 4px 0 0; color: var(--text); }
.d-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.d-price .price { font-size: 36px; font-weight: 900; }
.d-price .off { position: static; transform: none; }
.d-cta { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.d-cta .btn { height: 50px; justify-content: center; }
.d-cta .btn.primary { font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 11px 13px; min-width: 0; }
.fact .k { font-size: 11.5px; color: var(--text-3); font-weight: 700; }
.fact .v { font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; }
.panel h3 { margin: 0 0 10px; font-size: 15px; font-weight: 800; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--ink); }
.panel h3 small { color: var(--text-3); font-weight: 500; font-size: 12px; }
.chart { width: 100%; height: 160px; display: block; }
.chart .area { fill: color-mix(in srgb, var(--ink) 14%, transparent); }
.chart .line { stroke: var(--ink); stroke-width: 2.5; fill: none; }
.chart .grid-l { stroke: var(--line-strong); stroke-dasharray: 3 4; }
.chart text { fill: var(--text-3); font-size: 11px; font-family: var(--font); }
.chart .pt { fill: var(--ink); stroke: var(--paper); stroke-width: 2; }
.similar { display: grid; gap: 8px; }
.sim { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; cursor: pointer; border: 1px solid var(--line); background: var(--canvas); }
.sim:hover { border-color: var(--ink); }
.sim img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 10px; }
.sim .t { font-size: 13px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sim .p { font-weight: 800; text-align: end; color: var(--ink); }
.sim .p small { display: block; font-size: 11px; color: var(--text-3); font-weight: 600; }
.note { font-size: 13px; color: var(--text-2); background: var(--ink-soft); border-radius: 14px; padding: 11px 13px; }

/* ---------- modal ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(760px, calc(100vw - 24px)); width: 100%; color: var(--text); }
.modal::backdrop { background: rgba(8, 16, 70, .5); }
.modal-inner { background: var(--canvas); border: 1.5px solid var(--ink); border-radius: 28px; box-shadow: var(--shadow-lg); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; }
.modal header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--canvas); z-index: 1; }
.modal h2 { margin: 0; font-size: 21px; font-weight: 900; color: var(--ink); }
#modalBody { padding: 20px 22px 24px; display: grid; gap: 16px; }
.modal.narrow { max-width: min(460px, calc(100vw - 24px)); }
.modal.premium-modal { max-width: min(680px, calc(100vw - 24px)); }
.form-row { display: grid; grid-template-columns: 1fr 190px 100px auto; gap: 8px; }
.form-row select, .form-row input { height: 44px; }
.form-row input { border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 12px; background: var(--paper); outline: 0; }
.form-row input:focus { border-color: var(--ink); }
.s-list { display: grid; gap: 8px; }
.s-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.s-item .q { font-weight: 700; }
.s-item .sub { font-size: 12px; color: var(--text-3); margin-top: 2px; display: flex; gap: 10px; flex-wrap: wrap; }
.s-item .sub a { color: var(--ink); text-decoration: none; font-weight: 600; }
.s-item .acts { display: flex; gap: 4px; align-items: center; }
.s-item.off { opacity: .55; }
.steps { margin: 0; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--text-2); }
.steps b { color: var(--text); }
code, .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--ink-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; direction: ltr; unicode-bidi: isolate; }
.code { display: block; padding: 10px 12px; }
.cmds { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; align-items: center; }
.cmds code { justify-self: start; }
.status-line { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.hero-tg { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); flex-wrap: wrap; }
.hero-tg > div { flex: 1; min-width: 180px; }
.hero-tg .big-ico { width: 54px; height: 54px; border-radius: 50%; background: var(--tg); color: #fff; display: grid; place-items: center; flex: none; }
.hero-tg .big-ico svg.i { width: 26px; height: 26px; }

/* ---------- forms, tabs, plans ---------- */
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink-soft); border-radius: 999px; padding: 4px; gap: 4px; }
.tabs button { border: 0; background: transparent; border-radius: 999px; height: 40px; font-weight: 700; cursor: pointer; color: var(--ink); }
.tabs button.on { background: var(--ink); color: var(--on-ink); }
.tabs button[disabled] { opacity: .4; cursor: not-allowed; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.form input:not([type=radio]):not([type=checkbox]):not([type=file]), .form textarea, .form select {
  height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 0 14px; background: var(--paper); outline: 0; font-size: 16px; color: var(--text); width: 100%;
}
.form textarea { height: auto; min-height: 96px; padding: 12px 14px; font: inherit; font-size: 16px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink-soft); }
.pw { position: relative; display: block; }
.pw .btn { position: absolute; inset-inline-end: 6px; top: 7px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { display: block; }
.seg input { display: none; }
.seg span { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 700; color: var(--ink); cursor: pointer; }
.seg input:checked + span { border-color: var(--ink); color: var(--on-ink); background: var(--ink); }
.file input[type=file] { font-size: 13px; color: var(--text-2); }
.file-preview img { max-height: 140px; border-radius: 12px; border: 1px solid var(--line); margin-top: 6px; }
.plan-hero { text-align: center; padding: 6px 0 4px; }
.plan-price { display: flex; justify-content: center; align-items: baseline; gap: 8px; }
.plan-price .amt { font-family: var(--num); font-size: 76px; font-weight: 400; line-height: 1; color: var(--ink); }
.plan-price .cur { font-weight: 800; font-size: 18px; color: var(--ink); }
.plan-price .per { color: var(--text-3); font-weight: 600; }
.plan-hero p { margin: 10px 0 0; color: var(--text-2); }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.benefits li svg.i { color: var(--ink); margin-top: 2px; }
.benefits b { color: var(--text); }
.benefits li.later { opacity: .6; }
.step { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; margin: 6px 0 0; color: var(--ink); }
.step span { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-size: 13px; flex: none; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-card { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: var(--paper); display: grid; gap: 8px; min-width: 0; }
.pay-logo { display: inline-block; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; color: #fff; }
.pay-logo.ip { background: linear-gradient(135deg, #5b2a86, #8c2d9b); }
.pay-logo.vf { background: #e60000; }
.pay-num { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 21px; font-weight: 800; letter-spacing: .03em; color: var(--ink); }
.pay-ipa { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; overflow-wrap: anywhere; }
.row-btns { display: grid; gap: 8px; }
details summary { cursor: pointer; font-weight: 700; color: var(--ink); }
details[open] summary { margin-bottom: 12px; }
.acct-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.acct-head > div:nth-child(2) { flex: 1; min-width: 160px; }
.avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 900; font-size: 20px; flex: none; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: start; font-size: 12px; color: var(--text-3); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tg-code { display: grid; gap: 10px; }
.tg-code p { margin: 0; color: var(--text-2); }

/* ---------- Premium bits ---------- */
.pro-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--ink-soft); }
.muted { color: var(--text-3); }
.fine { font-size: 12px; color: var(--text-3); margin: 0; }
.fine a { color: var(--ink); }
.ok-text { color: var(--ink) !important; }
.card.locked .media img { filter: blur(2px) saturate(.8); opacity: .9; }
.lock-veil {
  position: absolute; inset: auto 10px 10px 10px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 12.5px; padding: 7px 10px; border-radius: 999px;
}
.lock-ico { display: inline-flex; }
.price.blur { filter: blur(6px); user-select: none; color: var(--text-2); }
.unlock { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--ink); }
.unlock svg.i { width: 15px; height: 15px; }

.teaser { border-radius: 28px; padding: 22px; margin-bottom: 22px; background: var(--ink); color: var(--on-ink); }
.teaser-head { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.teaser-head h2 { margin: 0; font-size: 22px; font-weight: 900; display: flex; gap: 10px; align-items: center; }
.teaser-head p { margin: 6px 0 0; font-size: 14px; opacity: .88; }
.teaser .btn.premium-btn { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.teaser-row { display: grid; grid-auto-flow: column; grid-auto-columns: 190px; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.teaser-row .card { border-color: transparent; color: var(--text); }
.teaser-row .card .title { -webkit-line-clamp: 2; font-size: 13px; }
.teaser-row .lock-veil { font-size: 11.5px; padding: 6px 8px; white-space: nowrap; }
.kpi.pro-kpi .v { color: var(--ink); }

.pro-box { border-radius: 22px; padding: 20px; background: var(--paper); border: 1.5px solid var(--ink); display: grid; gap: 10px; }
.pro-box h3 { margin: 0; display: flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 900; }
.pro-box p { margin: 0; color: var(--text-2); }
.pro-inline { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--ink-soft); border: 1px solid var(--line); font-size: 14px; flex-wrap: wrap; }
.pro-inline > svg.i { color: var(--ink); width: 22px; height: 22px; }
.pro-inline > div { flex: 1; min-width: 150px; }
.pro-status { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: var(--ink); color: var(--on-ink); }
.pro-status.pending { background: var(--paper); color: var(--text); border: 1px solid var(--line); }
.pro-status .big-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--on-ink); color: var(--ink); display: grid; place-items: center; font-size: 22px; flex: none; }
.pro-status.pending .big-ico { background: var(--ink-soft); }
.trial-note { background: var(--paper); border: 1.5px dashed var(--ink); border-radius: 16px; padding: 10px 14px; font-weight: 700; font-size: 14px; color: var(--ink); }
.soon { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 9px; border-radius: 999px; background: var(--ink-soft); color: var(--ink); margin-inline-start: 6px; vertical-align: 1px; }

/* ---------- toasts, feedback ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 100; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; animation: up .2s ease; }
.toast.err { background: var(--hot); color: #fff; }
@keyframes up { from { opacity: 0; transform: translateY(8px); } }
.feedback-fab {
  position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 35; display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 700; font-size: 14px;
  background: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lg);
}
.feedback-fab svg.i { width: 18px; height: 18px; }
.feedback-fab:hover { transform: translateY(-1px); }
.fb-q { font-weight: 800; color: var(--ink); }
.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.faces label { display: block; }
.faces input { display: none; }
.faces span { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border: 1px solid var(--line-strong); border-radius: 18px; font-size: 28px; cursor: pointer; background: var(--paper); }
.faces small { font-size: 11px; color: var(--text-3); font-weight: 700; }
.faces input:checked + span { border-color: var(--ink); background: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--ink); }

/* ---------- footer ---------- */
.site-footer { max-width: 1440px; margin: 0 auto; padding: 36px 32px 96px; border-top: 1.5px solid var(--ink); color: var(--text-2); font-size: 13px; }
.foot-word {
  font-family: var(--display); font-weight: 900; color: var(--ink); line-height: 1.05;
  font-size: clamp(96px, 21vw, 300px); letter-spacing: -.02em; margin: 0 0 18px;
}
html[lang="en"] .foot-word { letter-spacing: -.05em; line-height: .9; }
.foot-row { display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: center; }
.foot-row .tag-line { color: var(--ink); font-weight: 700; flex-basis: 100%; font-size: 15px; }
.site-footer a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- terms page ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 32px 20px 80px; line-height: 1.85; }
.legal h1 { font-size: clamp(34px, 7vw, 56px); font-weight: 900; margin: 0 0 6px; color: var(--ink); line-height: 1.15; }
.legal h2 { font-size: 19px; font-weight: 800; margin: 28px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--text-2); }
.legal .en { direction: ltr; text-align: left; border-top: 1.5px solid var(--ink); margin-top: 40px; padding-top: 20px; }
.legal a { color: var(--ink); font-weight: 700; }
.legal-back { text-decoration: none; display: inline-flex; padding: 6px 16px; border: 1.5px solid var(--ink); border-radius: 999px; }

.only-mobile { display: none !important; }

/* ---------- RTL mirrors ---------- */
[dir="rtl"] .drawer { right: auto; left: 0; transform: translateX(-105%); border-left: 0; border-right: 1.5px solid var(--ink); }
[dir="rtl"] .drawer.open { transform: none; }
[dir="rtl"] .switch span::after { left: auto; right: 4px; }
[dir="rtl"] .switch input:checked + span::after { transform: translateX(-16px); }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "copy art" "points points"; min-height: 0; }
  .hero-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .topbar { gap: 12px; padding: 10px 16px; }
  .top-actions .lbl { display: none; }
  .top-actions .btn { width: 42px; padding: 0; justify-content: center; }
  .topbar .btn.premium-btn .arr { display: none; }
  .top-actions .lang-btn { width: auto; padding: 0 10px; }
  .search kbd { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); padding: 36px 16px 64px; }
  .kpis, .stores-bar { width: calc(100% - 32px); }
  .hero { padding: 28px 16px 28px; }
  .site-footer { padding: 32px 16px 96px; }
  .filters {
    position: fixed; inset: 0 auto 0 0; width: min(340px, 90vw); max-height: none; top: 0; border-radius: 0 var(--radius) var(--radius) 0;
    z-index: 60; transform: translateX(-105%); transition: transform .25s; border: 0; border-inline-end: 1.5px solid var(--ink);
  }
  .filters.open { transform: none; }
  [dir="rtl"] .filters { inset: 0 0 0 auto; transform: translateX(105%); border-radius: var(--radius) 0 0 var(--radius); }
  [dir="rtl"] .filters.open { transform: none; }
  .only-mobile { display: inline-flex !important; }
}
@media (max-width: 760px) {
  .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--canvas); }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "art" "points"; gap: 18px; padding-top: 22px; }
  .hero-title { margin: 14px 0 14px; font-size: clamp(54px, 16vw, 84px); }
  html[lang="ar"] .hero-title { font-size: clamp(58px, 17vw, 90px); }
  .hero-sub { margin-bottom: 20px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-art { width: min(88vw, 380px); justify-self: end; margin-inline-end: -6vw; }
  .hero-sticker { width: 96px; height: 96px; }
  .hero-sticker b { font-size: 32px; }
  .hero-sticker small { font-size: 11px; }
  .hero-cap { max-width: calc(100% - 6vw - 8px); inset-inline-end: calc(6vw + 4px); padding: 8px 12px; }
  .hero-points { gap: 8px; padding-top: 18px; }
  .hero-points li { flex-direction: column; text-align: center; gap: 8px; font-size: 12px; }
  .hero-points .ring-ico { width: 44px; height: 44px; }
}
@media (max-width: 680px) {
  .topbar { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo actions" "search search"; row-gap: 10px; }
  .top-actions { justify-content: flex-end; gap: 2px; }
  .top-actions .btn { width: 40px; height: 40px; }
  .top-actions .lang-btn { width: auto; padding: 0 8px; font-size: 13px; }
  .search { max-width: none; height: 46px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 14px 14px 14px; }
  .kpi:nth-child(4) { display: none; }
  .kpi:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .kpi:nth-child(3), .kpi:nth-child(5) { border-top: 1px solid var(--line); }
  .kpi .v { font-size: 34px; }
  .stores-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .stores-bar::-webkit-scrollbar { display: none; }
  .deals-head { margin-bottom: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 18px; }
  .media { padding: 10px; margin: 5px 5px 0; border-radius: 14px; }
  .off { font-size: 16px; padding: 6px 9px 5px; top: 8px; inset-inline-start: 8px; }
  .store-tag { top: 8px; inset-inline-end: 8px; font-size: 10px; padding: 2px 7px; }
  .body { padding: 9px 10px 11px; }
  .title { font-size: 13px; min-height: 37px; }
  .price { font-size: 17px; }
  .was { font-size: 12px; }
  .meta { display: none; }
  .tags .tag:nth-child(n+3) { display: none; }
  .sort span { display: none; }
  .sort select { height: 38px; font-size: 13px; padding: 0 10px; }
  .toolbar { gap: 8px; }
  .toolbar .count { order: -1; flex-basis: 100%; }
  .form-row { grid-template-columns: 1fr 90px; }
  .form-row input[name="query"] { grid-column: 1 / -1; }
  .form-row .btn { grid-column: 1 / -1; justify-content: center; }
  .facts { grid-template-columns: 1fr 1fr; }
  .d-body { padding: 6px 16px 30px; }
  .d-cta { grid-template-columns: 1fr 1fr; }
  .d-cta .btn.primary { grid-column: 1 / -1; }
  .d-price .price { font-size: 30px; }
  .pay-grid { grid-template-columns: 1fr; }
  .teaser { padding: 18px 16px; border-radius: 24px; }
  .teaser-row { grid-auto-columns: 156px; }
  .plan-price .amt { font-size: 60px; }
  #modalBody { padding: 16px 16px 20px; }
  .modal header { padding: 14px 16px; }
  .feedback-fab { bottom: 14px; inset-inline-end: 14px; height: 48px; width: 48px; padding: 0; justify-content: center; }
  .feedback-fab span[data-i18n] { display: none; }
  .foot-word { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
