/* Leo Motors — "night showroom" design system
   Warm black stage, ivory type, gold used like showroom lighting. One theme, on purpose. */
:root {
  color-scheme: dark;
  --bg: #0b0a08;
  --bg-2: #100f0c;
  --surface: #16140f;
  --surface-2: #1d1b15;
  --surface-3: #26231b;
  --line: rgb(243 236 219 / .09);
  --line-2: rgb(243 236 219 / .16);
  --ink: #f3ecdb;
  --ink-2: #b9b09b;
  --ink-3: #8f8775;
  --gold: #d9b45a;
  --gold-2: #b8913a;
  --gold-glow: rgb(217 180 90 / .16);
  --wa: #25d366;
  --wa-ink: #052814;
  --ok: #5fd39a;
  --warn: #f0b85a;
  --bad: #f07a6a;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow: 0 30px 60px -30px rgb(0 0 0 / .8);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 72px;
}
:root[lang='ar'] {
  --display: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
  --ui: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--ui); min-height: 100dvh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.lock { overflow: hidden; }
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #0b0a08; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
svg.i { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i.fill { fill: currentColor; stroke: none; }
:root[dir='rtl'] .flip { transform: scaleX(-1); }
.js .ssr { display: none; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; margin: 0; }
:root[lang='ar'] .display { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.display em { font-style: normal; color: var(--gold); }
:root[lang='ar'] .display em { font-style: normal; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
:root[lang='ar'] .eyebrow { letter-spacing: 0; font-size: 14px; }
.lead { color: var(--ink-2); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 52ch; margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; font: 600 15px/1 var(--ui); letter-spacing: .01em; white-space: nowrap; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: #0b0a08; }
.btn.primary:hover { background: #fff; }
.btn.gold { background: var(--gold); color: #0b0a08; }
.btn.gold:hover { background: #e6c573; box-shadow: 0 10px 30px -10px rgb(217 180 90 / .6); }
.btn.ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.wa { background: var(--wa); color: var(--wa-ink); }
.btn.wa:hover { background: #3be07a; box-shadow: 0 12px 30px -12px rgb(37 211 102 / .7); }
.btn.block { width: 100%; }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn.lg { height: 58px; padding: 0 32px; font-size: 16px; }
.btn svg.i { width: 1.25em; height: 1.25em; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .25s, gap .25s var(--ease); }
.link-arrow:hover { border-color: var(--gold); gap: 12px; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); position: relative; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--ink-2); }
.icon-btn .count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #0b0a08; font: 700 11px/19px var(--ui); text-align: center; }

/* ---------- header ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.topbar.solid { background: rgb(11 10 8 / .78); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-color: var(--line); }
.nav { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.wordmark { font: 600 14px/1 var(--ui); letter-spacing: .28em; text-transform: uppercase; }
:root[lang='ar'] .wordmark { letter-spacing: 0; font-size: 17px; font-weight: 700; }
.nav-links { display: flex; gap: 6px; margin-inline-end: auto; }
.nav-links a { padding: 10px 14px; font-size: 14.5px; color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current='page'] { color: var(--ink); background: rgb(243 236 219 / .07); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-btn { height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.lang-btn:hover { color: var(--ink); }
.menu-btn { display: none; }
.wa-icon-only { display: none; }
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { gap: 10px; }
  .nav-links, .nav-actions .lang-btn, .nav-actions .wa-full { display: none; }
  .nav-actions { margin-inline-start: auto; gap: 8px; }
  .menu-btn, .wa-icon-only { display: inline-grid; }
  .wa-icon-only { color: var(--wa); }
}
@media (max-width: 350px) { .wordmark { display: none; } }
@media (max-width: 420px) { .wordmark { letter-spacing: .2em; font-size: 13px; } .nav-actions { gap: 6px; } .nav-actions .icon-btn { width: 42px; height: 42px; } }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 70; background: rgb(11 10 8 / .97); backdrop-filter: blur(20px); display: flex; flex-direction: column; padding: 20px 24px calc(28px + env(safe-area-inset-bottom)); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
body.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .3s; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.menu nav { margin-top: 48px; display: grid; gap: 6px; }
.menu nav a { font: 700 34px/1.2 var(--display); letter-spacing: -.02em; padding: 6px 0; display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
:root[lang='ar'] .menu nav a { font-size: 34px; }
.menu nav a small { font: 500 13px var(--ui); color: var(--ink-3); }
body.menu-open .menu nav a { transform: none; opacity: 1; }
body.menu-open .menu nav a:nth-child(2) { transition-delay: .05s; } body.menu-open .menu nav a:nth-child(3) { transition-delay: .1s; } body.menu-open .menu nav a:nth-child(4) { transition-delay: .15s; }
.menu-foot { margin-top: auto; display: grid; gap: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; transform: scale(1.06); animation: drift 22s ease-out forwards; }
@keyframes drift { to { transform: scale(1); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(11 10 8 / .92) 0%, rgb(11 10 8 / .72) 34%, rgb(11 10 8 / .15) 68%, rgb(11 10 8 / .25) 100%),
    linear-gradient(180deg, rgb(11 10 8 / .55) 0%, transparent 22%, transparent 55%, var(--bg) 100%); }
:root[dir='rtl'] .hero::before { background:
    linear-gradient(270deg, rgb(11 10 8 / .92) 0%, rgb(11 10 8 / .72) 34%, rgb(11 10 8 / .15) 68%, rgb(11 10 8 / .25) 100%),
    linear-gradient(180deg, rgb(11 10 8 / .55) 0%, transparent 22%, transparent 55%, var(--bg) 100%); }
.hero.bare::before { background: radial-gradient(1000px 600px at 75% 20%, var(--gold-glow), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgb(217 180 90 / .07), transparent 60%); }
.hero-inner { padding: calc(var(--nav-h) + 72px) 0 56px; display: grid; gap: 26px; max-width: 760px; }
.hero h1 { font-size: clamp(2.5rem, 5.8vw, 5.2rem); }
:root[lang='ar'] .hero h1 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
.hero.bare .hero-inner { margin-inline: auto; text-align: center; justify-items: center; max-width: 880px; padding-bottom: 110px; }
.hero.bare .lead { margin-inline: auto; }

.finder { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr auto; align-items: stretch; background: rgb(22 20 15 / .62); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); border: 1px solid var(--line-2); border-radius: 22px; padding: 8px; max-width: 760px; width: 100%; box-shadow: var(--shadow); }
.finder label { display: grid; gap: 2px; padding: 10px 16px; border-inline-end: 1px solid var(--line); min-width: 0; text-align: start; }
.finder label span { font: 500 11px/1.4 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
:root[lang='ar'] .finder label span { letter-spacing: 0; font-size: 12.5px; }
.finder select { appearance: none; background: transparent; border: 0; font-size: 16px; font-weight: 500; padding: 2px 0; width: 100%; cursor: pointer; color: var(--ink); }
.finder select:disabled { color: var(--ink-3); cursor: default; }
.finder select:focus { outline: none; }
.finder label:focus-within span { color: var(--gold); }
.finder select option { background: var(--surface); color: var(--ink); }
.finder button { margin-inline-start: 8px; height: auto; min-height: 58px; border-radius: 16px; padding: 0 24px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-3); align-items: center; }
.quick a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.quick a:hover { color: var(--ink); border-color: var(--gold); }
.hero-car { position: absolute; inset-block-end: 56px; inset-inline-end: max(20px, calc((100vw - 1320px) / 2)); display: grid; gap: 4px; padding: 18px 22px; min-width: 280px; background: rgb(22 20 15 / .55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line-2); border-radius: 18px; transition: border-color .25s, transform .3s var(--ease); }
.hero-car:hover { border-color: var(--gold); transform: translateY(-3px); }
.hero-car .eyebrow { font-size: 11px; }
.hero-car b { font: 700 20px/1.2 var(--display); letter-spacing: -.01em; }
:root[lang='ar'] .hero-car b { font-weight: 600; font-size: 22px; }
.hero-car .row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 4px; }
.hero-car .price { font-size: 20px; }
.hero-car .go { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #0b0a08; display: grid; place-items: center; transition: transform .3s var(--ease); }
.hero-car:hover .go { transform: translateX(4px); }
:root[dir='rtl'] .hero-car:hover .go { transform: translateX(-4px); }
@media (max-width: 1100px) { .hero-car { position: relative; inset: auto; align-self: flex-start; width: min(440px, calc(100% - 40px)); margin: -8px 0 48px; margin-inline-start: 20px; } }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-media { position: relative; height: 56svh; min-height: 340px; z-index: 0; }
  .hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 10 8 / .8) 0%, rgb(11 10 8 / .2) 26%, transparent 45%, transparent 58%, var(--bg) 100%); }
  .hero::before { display: none; }
  .hero.bare::before { display: block; }
  .hero-inner { padding: 0 0 32px; margin-top: -120px; position: relative; z-index: 1; gap: 20px; }
  .hero.bare .hero-inner { margin-top: 0; padding: calc(var(--nav-h) + 56px) 0 64px; }
  .finder { grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 20px; }
  .finder label { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; }
  .finder label:first-child { grid-column: 1 / -1; }
  .finder label:nth-child(2) { border-inline-end: 1px solid var(--line); }
  .finder button { grid-column: 1 / -1; margin: 6px 0 0; min-height: 54px; }
  .hero-car { margin: 0 0 8px; min-width: 0; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0 0; }
.section.tight { padding-top: clamp(28px, 3vw, 44px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.sec-head > div { display: grid; gap: 14px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
:root[lang='ar'] .sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.sec-head .tools { display: flex; align-items: center; gap: 10px; flex: none; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: border-color .2s, background .2s, color .2s; }
.arrow:hover { border-color: var(--ink); background: var(--ink); color: #0b0a08; }
@media (max-width: 760px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; } .sec-head .arrows, .sec-head .tools:has(> .arrows) { display: none; } }

/* brands strip */
.brands { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; scroll-snap-type: x proximity; }
.brands::-webkit-scrollbar { display: none; }
.brand-chip { flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .25s, background .25s; }
:root[dir='rtl'] .brand-chip { padding: 8px 8px 8px 18px; }
.brand-chip:hover { border-color: var(--line-2); background: var(--surface); }
.brand-chip b { font-weight: 500; font-size: 15px; } .brand-chip small { color: var(--ink-3); font-size: 13px; }
.blogo { width: 44px; height: 44px; border-radius: 50%; background: #f6f2e8; display: grid; place-items: center; overflow: hidden; flex: none; }
.blogo img { width: 66%; height: 66%; object-fit: contain; }
.blogo.mono { background: var(--surface-3); color: var(--gold); font: 600 13px var(--ui); text-transform: uppercase; }
.blogo.sm { width: 26px; height: 26px; } .blogo.sm.mono { font-size: 9px; }
.blogo.xs { width: 22px; height: 22px; } .blogo.xs.mono { font-size: 8px; }

/* featured bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 14px; }
.bento > :first-child { grid-column: span 2; grid-row: span 2; }
.bento.n2 > *, .bento.n1 > * { grid-column: span 2; grid-row: span 2; }
.bento.n3 > :not(:first-child) { grid-column: span 2; }
.bento.n4 > :last-child { grid-column: span 2; }
.feat { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); isolation: isolate; }
.feat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.feat:hover > img { transform: scale(1.05); }
.feat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 10 8 / .1) 0%, transparent 40%, rgb(11 10 8 / .88) 100%); }
.feat-body { position: absolute; inset: auto 0 0; padding: 20px 22px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.feat-body .k { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; margin-bottom: 4px; }
.feat-body h3 { margin: 0; font: 700 21px/1.15 var(--display); letter-spacing: -.015em; }
:root[lang='ar'] .feat-body h3 { font-weight: 600; font-size: 21px; }
.bento > :first-child .feat-body { padding: 30px 32px; }
.bento > :first-child .feat-body h3 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.03em; }
.feat-body .price { font-size: 20px; white-space: nowrap; }
.bento > :not(:first-child) .feat-body { flex-direction: column; align-items: flex-start; gap: 10px; }
.bento > :not(:first-child) .feat-body h3 { font-size: 19px; }
.feat-body .k bdi, .feat-body .k .num { display: inline; }
.feat .heart { top: 16px; inset-inline-end: 16px; }
.feat .badge { position: absolute; top: 16px; inset-inline-start: 16px; }
@media (max-width: 960px) {
  /* a plain flex scroller with explicit card sizes: Safari mishandles aspect-ratio on grid items in a scrolling row */
  .bento { display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; -webkit-overflow-scrolling: touch; }
  .bento::-webkit-scrollbar { display: none; }
  .bento > * { --w: min(78vw, 360px); flex: 0 0 var(--w); width: var(--w); height: calc(var(--w) * 1.22); scroll-snap-align: start; grid-column: auto; grid-row: auto; }
  .bento > :first-child .feat-body { padding: 20px 22px; } .bento > :first-child .feat-body h3 { font-size: 24px; }
  .bento > :not(:first-child) .feat-body { flex-direction: row; align-items: flex-end; gap: 16px; }
  .bento > :not(:first-child) .feat-body h3 { font-size: 21px; }
}
@media (max-width: 640px) { .bento { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; } }

/* vehicle card */
.grid { display: grid; gap: 34px 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.vcard { position: relative; display: flex; flex-direction: column; gap: 16px; }
.vcard-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .3s; }
.vcard:hover .vcard-media img { transform: scale(1.045); }
.vcard-media::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgb(11 10 8 / .45)); pointer-events: none; }
.vcard-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.vcard-body { display: grid; gap: 6px; padding-inline: 4px; }
.vcard-make { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
:root[lang='ar'] .vcard-make { letter-spacing: .04em; }
.vcard-make .yr { margin-inline-start: auto; letter-spacing: .04em; }
.vcard h3 { margin: 2px 0 0; font: 700 20px/1.25 var(--display); letter-spacing: -.015em; }
:root[lang='ar'] .vcard h3 { font-weight: 600; font-size: 21px; }
.vcard .specs-line { color: var(--ink-2); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 0; }
.vcard .specs-line span + span::before { content: '·'; margin: 0 8px; color: var(--ink-3); }
.vcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.vcard .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.vcard:hover .go { background: var(--ink); color: #0b0a08; border-color: var(--ink); }
.vcard.is-sold .vcard-media img { filter: grayscale(1) brightness(.55); }
.price { display: inline-flex; align-items: baseline; gap: 6px; font: 600 21px/1 var(--ui); color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.price small { font-size: 12px; font-weight: 500; color: var(--gold); letter-spacing: .08em; }
.price.por { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font: 600 11.5px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; background: rgb(11 10 8 / .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); border: 1px solid var(--line-2); }
:root[lang='ar'] .badge { letter-spacing: 0; font-size: 12.5px; }
.badge.featured { color: var(--gold); border-color: rgb(217 180 90 / .45); }
.badge.reserved { color: var(--warn); border-color: rgb(240 184 90 / .45); }
.badge.sold { color: var(--bad); border-color: rgb(240 122 106 / .45); }
.badge.new { color: var(--ok); border-color: rgb(95 211 154 / .4); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.heart { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(11 10 8 / .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-2); color: var(--ink); transition: transform .2s, background .2s; }
.heart:hover { background: rgb(11 10 8 / .8); }
.heart:active { transform: scale(.88); }
.heart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.heart[aria-pressed='true'] { color: #ff6b81; } .heart[aria-pressed='true'] svg { fill: currentColor; animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.pcount { position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 2; display: inline-flex; gap: 6px; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; background: rgb(11 10 8 / .6); backdrop-filter: blur(8px); color: var(--ink); }
.dots { position: absolute; bottom: 14px; inset-inline: 0; z-index: 2; display: flex; justify-content: center; gap: 5px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: rgb(255 255 255 / .45); transition: width .2s, background .2s; }
.dots i.on { width: 16px; border-radius: 3px; background: #fff; }
.scrub .dots { opacity: 1; } .scrub .pcount { opacity: 0; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-3); }
.noimg svg { width: 64px; height: 64px; opacity: .5; }

/* rails */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 44px) / 3); } }
@media (max-width: 760px) { .rail { grid-auto-columns: 78%; gap: 16px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; } }

/* body styles */
.styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.style { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: var(--surface); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; }
.style > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.style::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(11 10 8 / .9)); }
.style:hover > img { transform: scale(1.06); }
.style b { font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
:root[lang='ar'] .style b { font-weight: 600; font-size: 24px; }
.style small { color: var(--ink-2); margin-top: 6px; display: flex; align-items: center; justify-content: space-between; }
.style svg.body { width: 70%; margin: auto auto 16px; stroke: var(--ink-3); fill: none; stroke-width: 1.3; }
@media (max-width: 760px) { .styles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 44%; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; } .styles::-webkit-scrollbar { display: none; } .style b { font-size: 24px; } }

/* budget */
.budgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.budgets a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 4px; border-bottom: 1px solid var(--line); transition: color .2s, padding .3s var(--ease); }
.budgets a:not(:last-child) { border-inline-end: 1px solid var(--line); padding-inline-end: 24px; }
.budgets a + a { padding-inline-start: 24px; }
.budgets b { font: 700 22px/1.2 var(--display); letter-spacing: -.02em; }
:root[lang='ar'] .budgets b { font-weight: 600; font-size: 22px; }
.budgets small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.budgets a:hover { color: var(--gold); }
@media (max-width: 760px) { .budgets { grid-template-columns: 1fr 1fr; } .budgets a, .budgets a + a { padding: 18px 12px; border-inline-end: 0; gap: 8px; } .budgets a:nth-child(odd) { border-inline-end: 1px solid var(--line); } .budgets b { font-size: 18px; white-space: nowrap; } .budgets small { font-size: 12px; } .budgets a > svg { width: 1em; height: 1em; } }

/* principles */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.way { border-top: 1px solid var(--line-2); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.way .n { font: 600 13px var(--ui); color: var(--gold); letter-spacing: .1em; }
.way h3 { margin: 0; font: 700 21px/1.25 var(--display); letter-spacing: -.015em; }
:root[lang='ar'] .way h3 { font-weight: 600; font-size: 22px; }
.way p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; gap: 28px; } }

/* sell */
.sell { position: relative; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line); background: radial-gradient(700px 380px at 0% 0%, var(--gold-glow), transparent 65%), var(--bg-2); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sell h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); margin: 18px 0 16px; }
:root[lang='ar'] .sell h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.sell .lead { margin-bottom: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps .n { font: 700 22px/1 var(--display); color: var(--gold); grid-row: span 2; }
.steps b { font-weight: 500; font-size: 17px; } .steps span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .sell { grid-template-columns: 1fr; } }

/* request + visit */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel-card { border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); background: var(--bg-2); display: grid; gap: 16px; align-content: start; }
.panel-card h3 { margin: 0; font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--display); letter-spacing: -.025em; }
:root[lang='ar'] .panel-card h3 { font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.panel-card p { margin: 0; color: var(--ink-2); }
.panel-card .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.info { display: grid; gap: 14px; margin: 6px 0; }
.info div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.info dt { color: var(--ink-3); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
:root[lang='ar'] .info dt { letter-spacing: 0; font-size: 14px; }
.info dd { margin: 0; white-space: pre-line; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
#app.enter { animation: pageIn .5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } }

/* ---------- page head ---------- */
.page { padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 56px)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .6; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
:root[lang='ar'] .page-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.page-head .count { color: var(--ink-3); font-size: 15px; margin-top: 10px; }

/* ---------- inventory ---------- */
.chiprow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chiprow::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.chip small { color: var(--ink-3); font-size: 12px; }
.chip:hover { color: var(--ink); border-color: var(--ink-2); }
.chip[aria-pressed='true'] { background: var(--ink); color: #0b0a08; border-color: var(--ink); }
.chip[aria-pressed='true'] small { color: #0b0a08; opacity: .6; }
.toolbar { display: flex; gap: 10px; align-items: center; margin: 22px 0 28px; padding: 10px 0; }
.field { position: relative; flex: 1; min-width: 0; }
.field svg.i { position: absolute; inset-block: 0; margin-block: auto; inset-inline-start: 18px; color: var(--ink-3); pointer-events: none; }
.input, .select { width: 100%; height: 50px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); padding: 0 20px; font-size: 16px; transition: border-color .2s; }
.input::placeholder { color: var(--ink-3); }
.field .input { padding-inline-start: 48px; }
.select { appearance: none; padding-inline-end: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b9b09b' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
:root[dir='rtl'] .select { background-position: left 18px center; }
.select option { background: var(--surface); }
.input:focus, .select:focus { outline: none; border-color: var(--gold); }
.toolbar .select { width: auto; min-width: 210px; flex: none; }
.viewtog { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; flex: none; }
.viewtog button { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--ink-3); transition: all .2s; }
.viewtog button[aria-pressed='true'] { background: var(--ink); color: #0b0a08; }
.filter-open { display: none; }
.layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: 40px; }
.filters { position: sticky; top: calc(var(--nav-h) + 20px); max-height: calc(100dvh - var(--nav-h) - 40px); overflow: auto; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; padding-inline-end: 6px; }
.fhead { display: flex; align-items: center; justify-content: space-between; padding: 0 0 14px; }
.fhead h2 { margin: 0; font: 500 13px var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
:root[lang='ar'] .fhead h2 { letter-spacing: 0; font-size: 15px; }
.fhead .x { display: none; }
.linkbtn { color: var(--gold); font-size: 14px; font-weight: 500; }
.linkbtn:hover { text-decoration: underline; text-underline-offset: 4px; }
details.grp { border-top: 1px solid var(--line); }
details.grp summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; font-weight: 500; }
details.grp summary::-webkit-details-marker { display: none; }
details.grp summary small { margin-inline-start: 8px; color: #0b0a08; background: var(--gold); border-radius: 999px; padding: 1px 8px; font-size: 11px; }
details.grp summary::after { content: ''; width: 8px; height: 8px; border-inline-end: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); transition: transform .25s; margin-inline-start: auto; }
details.grp[open] summary::after { transform: rotate(-135deg); }
.opts { display: grid; gap: 2px; padding-bottom: 18px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; color: var(--ink-2); transition: color .15s; }
.opt:hover { color: var(--ink); }
.opt input { appearance: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; margin: 0; transition: all .15s; cursor: pointer; }
.opt input:checked { background: var(--gold); border-color: var(--gold); }
.opt input:checked::after { content: ''; width: 8px; height: 4px; border-left: 2px solid #0b0a08; border-bottom: 2px solid #0b0a08; transform: rotate(-45deg) translate(1px, -1px); }
.opt input:checked ~ span { color: var(--ink); }
.opt span { flex: 1; } .opt span.blogo { flex: none; } .opt small { color: var(--ink-3); font-size: 13px; }
.opt.zero { opacity: .4; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 18px; }
.range .input, .range .select { height: 46px; border-radius: 12px; padding-inline: 14px; }
.range .select { padding-inline-end: 36px; background-position: right 12px center; }
:root[dir='rtl'] .range .select { background-position: left 12px center; }
.tgl { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; }
.tgl button { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); transition: all .2s; }
.tgl button small { color: var(--ink-3); margin-inline-start: 4px; }
.tgl button[aria-pressed='true'] { background: var(--ink); color: #0b0a08; border-color: var(--ink); }
.tgl button[aria-pressed='true'] small { color: #0b0a08; opacity: .6; }
.tgl button.zero { opacity: .4; }
.sw i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); display: inline-block; vertical-align: -2px; margin-inline-end: 6px; }
.sheet-foot { display: none; }
.activebar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.achip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding-inline: 14px 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13.5px; }
.achip button { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); }
.achip button:hover { background: var(--surface-3); color: var(--ink); }
.more { display: grid; justify-items: center; gap: 16px; margin-top: 56px; }
.rescount { color: var(--ink-3); font-size: 14px; margin: 0; }
.progress { width: 220px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold); }
.grid.list { grid-template-columns: 1fr; gap: 18px; }
.grid.list .vcard { flex-direction: row; align-items: stretch; gap: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.grid.list .vcard-media { width: min(42%, 380px); flex: none; }
.grid.list .vcard-body { flex: 1; align-content: center; }
.grid.list .vcard .snippet { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-3); font-size: 14px; margin: 4px 0 0; }
.vcard .snippet { display: none; }
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .filter-open { display: inline-flex; }
  .toolbar { position: sticky; top: var(--nav-h); z-index: 30; margin-inline: -20px; padding: 12px 20px; background: rgb(11 10 8 / .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
  .toolbar .field { flex-basis: 100%; }
  .toolbar .select { flex: 1; min-width: 0; }
  .filters { position: fixed; inset: auto 0 0; z-index: 80; max-height: 88dvh; background: var(--surface); border-radius: 26px 26px 0 0; border-top: 1px solid var(--line-2); padding: 8px 22px 0; transform: translateY(105%); transition: transform .45s var(--ease); top: auto; }
  body.sheet .filters { transform: none; }
  .scrim { position: fixed; inset: 0; z-index: 75; background: rgb(0 0 0 / .6); opacity: 0; pointer-events: none; transition: opacity .35s; }
  body.sheet .scrim { opacity: 1; pointer-events: auto; }
  .fhead { position: sticky; top: 0; background: var(--surface); z-index: 2; padding: 16px 0; }
  .fhead .x { display: grid; width: 40px; height: 40px; border-radius: 50%; place-items: center; background: var(--surface-3); }
  .sheet-foot { display: block; position: sticky; bottom: 0; background: var(--surface); padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .opt { min-height: 46px; }
}
@media (max-width: 640px) {
  .toolbar { margin-inline: -16px; padding-inline: 16px; }
  .grid { gap: 30px; grid-template-columns: 1fr; }
  .grid.list .vcard { gap: 14px; }
  .grid.list .vcard-media { width: 40%; aspect-ratio: 1; border-radius: var(--r); }
  .grid.list .vcard h3 { font-size: 20px; }
  .grid.list .vcard .specs-line span:nth-child(n+3) { display: none; }
  .grid.list .vcard-foot { margin-top: 4px; padding-top: 10px; }
  .grid.list .vcard .go, .grid.list .vcard .snippet, .grid.list .badge, .grid.list .pcount { display: none; }
  .grid.list .heart { width: 32px; height: 32px; top: 8px; inset-inline-end: 8px; }
}

/* ---------- detail ---------- */
.d-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.d-top .acts { display: flex; gap: 8px; }
.icon-btn[aria-pressed='true'] { color: #ff6b81; border-color: rgb(255 107 129 / .5); }
.icon-btn .heartsvg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-btn[aria-pressed='true'] .heartsvg { fill: currentColor; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: min(68vh, 620px); border-radius: var(--r-xl); overflow: hidden; margin-top: 18px; }
.mosaic button { position: relative; overflow: hidden; background: var(--surface); }
.mosaic button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .3s; }
.mosaic button:hover img { transform: scale(1.03); }
.mosaic .m0 { grid-row: span 2; }
.mosaic.one { grid-template-columns: 1fr; } .mosaic.one .m0 { grid-row: span 2; }
.mosaic.two { grid-template-columns: 1fr 1fr; } .mosaic.two button { grid-row: span 2; }
.mosaic .all { position: absolute; inset-block-end: 16px; inset-inline-end: 16px; z-index: 2; height: 42px; padding: 0 18px; border-radius: 999px; background: rgb(11 10 8 / .7); backdrop-filter: blur(10px); border: 1px solid var(--line-2); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.carousel { display: none; }
@media (max-width: 760px) {
  .mosaic { display: none; }
  .carousel { display: block; position: relative; margin: 14px -16px 0; }
  .carousel .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .carousel .track::-webkit-scrollbar { display: none; }
  .carousel .track button { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: center; background: var(--surface); }
  .carousel .track img { width: 100%; height: 100%; object-fit: cover; }
  .carousel .ctr { position: absolute; bottom: 14px; inset-inline-end: 14px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgb(11 10 8 / .7); backdrop-filter: blur(8px); font-size: 13px; display: inline-flex; align-items: center; }
}
.d-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 clamp(32px, 5vw, 72px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.d-title { grid-column: 1; grid-row: 1; }
.d-grid .buy { grid-column: 2; grid-row: 1 / span 2; }
.d-info { grid-column: 1; grid-row: 2; min-width: 0; }
.d-title .make { display: flex; align-items: center; gap: 10px; font: 500 13px var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
:root[lang='ar'] .d-title .make { letter-spacing: .04em; }
.d-title h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); margin: 14px 0 12px; }
:root[lang='ar'] .d-title h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.d-title .sub { color: var(--ink-2); font-size: 17px; }
.overview { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 36px; }
.overview div { padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.overview div + div { border-inline-start: 1px solid var(--line); }
.overview svg.i { color: var(--gold); width: 22px; height: 22px; }
.overview dt { color: var(--ink-3); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root[lang='ar'] .overview dt { letter-spacing: 0; font-size: 13px; }
.overview dd { margin: 0; font-size: clamp(15px, 1.5vw, 18px); font-weight: 500; white-space: nowrap; }
@media (max-width: 640px) { .overview { grid-template-columns: 1fr 1fr; } .overview div:nth-child(3) { border-inline-start: 0; } .overview div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.d-block { margin-top: 56px; }
.d-block h2 { font: 700 24px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 20px; }
:root[lang='ar'] .d-block h2 { font-weight: 600; font-size: 26px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--ink-3); } .spec-list dd { margin: 0; font-weight: 500; text-align: end; }
@media (max-width: 640px) { .spec-list { grid-template-columns: 1fr; } }
.desc { color: var(--ink-2); font-size: 17px; line-height: 1.8; max-width: 68ch; display: grid; gap: 14px; }
.desc p { margin: 0; }
.desc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.desc li { position: relative; padding-inline-start: 26px; }
.desc li::before { content: ''; position: absolute; inset-inline-start: 4px; top: .7em; width: 8px; height: 1px; background: var(--gold); }
.buy { position: sticky; top: calc(var(--nav-h) + 24px); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 30px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); display: grid; gap: 18px; }
.buy .status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); }
:root[lang='ar'] .buy .status { letter-spacing: 0; font-size: 14px; }
.buy .status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgb(95 211 154 / .15); }
.buy .status.reserved { color: var(--warn); } .buy .status.sold { color: var(--bad); }
.buy .price { font-size: clamp(38px, 4vw, 48px); font-weight: 600; letter-spacing: -.02em; }
.buy .price small { font-size: 15px; }
.buy .price.por { font-size: 22px; }
.buy .note { color: var(--ink-3); font-size: 13.5px; margin: 0; display: flex; align-items: center; gap: 8px; }
.buy .ctas { display: grid; gap: 10px; }
.buy .ref { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
@media (max-width: 960px) { .d-grid { grid-template-columns: 1fr; } .d-title, .d-grid .buy, .d-info { grid-column: 1; grid-row: auto; } .buy { position: static; margin-top: 28px; } }
.sticky-cta { display: none; }
@media (max-width: 960px) {
  .sticky-cta { display: flex; align-items: center; gap: 14px; position: fixed; inset: auto 0 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgb(16 15 12 / .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .4s var(--ease); }
  body.show-sticky .sticky-cta { transform: none; }
  .sticky-cta .p { flex: 1; min-width: 0; display: grid; gap: 2px; }
  .sticky-cta .p .price { font-size: 20px; }
  .sticky-cta .p small { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-cta .btn { height: 50px; }
  body.has-sticky .footer { padding-bottom: 110px; }
}

/* ---------- empty / misc ---------- */
.empty { text-align: center; padding: 80px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-xl); display: grid; justify-items: center; gap: 14px; }
.empty h2 { margin: 0; font: 700 28px/1.2 var(--display); letter-spacing: -.02em; }
:root[lang='ar'] .empty h2 { font-weight: 600; font-size: 28px; }
.empty p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.empty .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.skel { border-radius: var(--r-lg); aspect-ratio: 4 / 3; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 300% 100%; animation: sh 1.6s infinite linear; }
@keyframes sh { to { background-position: -100% 0; } }
.toast { position: fixed; inset-inline: 0; bottom: 28px; margin-inline: auto; width: fit-content; max-width: 90vw; z-index: 120; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #0b0a08; font-weight: 500; font-size: 14.5px; opacity: 0; transform: translateY(16px); transition: all .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
body.has-sticky .toast { bottom: 100px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; height: 100vh; height: 100dvh; background: rgb(6 5 4 / .97); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; color: var(--ink-2); font-size: 14px; }
.lb-stage { position: relative; min-height: 0; overflow: hidden; touch-action: pan-y; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; } /* fills the row exactly; works the same in every browser */
@media (min-width: 641px) { .lb-stage img { padding-inline: 96px; } }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); border: 1px solid var(--line-2); transition: background .2s; }
.lb-nav:hover { background: rgb(255 255 255 / .16); }
.lb-nav.prev { inset-inline-start: 20px; } .lb-nav.next { inset-inline-end: 20px; }
:root[dir='rtl'] .lb-nav svg { transform: scaleX(-1); }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); scrollbar-width: none; justify-content: safe center; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; width: 76px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; opacity: .45; transition: opacity .2s; outline-offset: 2px; }
.lb-thumbs button[aria-current='true'] { opacity: 1; outline: 2px solid var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .lb-nav { display: none; } }

/* ---------- footer ---------- */
.footer { margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.f-grid h4 { margin: 0 0 16px; font: 500 12px var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
:root[lang='ar'] .f-grid h4 { letter-spacing: 0; font-size: 14px; }
.f-grid p { margin: 0 0 10px; color: var(--ink-2); white-space: pre-line; }
.f-grid a:hover { color: var(--gold); }
.f-brand p { max-width: 34ch; margin-top: 18px; }
.f-mark { font: 800 100px/.9 var(--display); letter-spacing: -.055em; margin: 64px 0 28px; background: linear-gradient(180deg, var(--ink) 20%, rgb(243 236 219 / .08) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; overflow: hidden; }
:root[lang='ar'] .f-mark { letter-spacing: 0; font-weight: 600; line-height: 1.25; }
.f-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
@media (max-width: 900px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }

/* ssr fallback (no-JS visitors and crawlers) */
.ssr { padding: calc(var(--nav-h) + 40px) 20px 40px; max-width: 980px; margin: 0 auto; }
.ssr h1 { font: 700 40px/1.1 var(--display); }
.ssr li { margin: 6px 0; } .ssr a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* the car page carries its own WhatsApp call to action, so the header one steps aside */
body[data-page='car'] .wa-full, body[data-page='car'] .wa-icon-only { display: none !important; }
.topbar:not(.solid) .icon-btn, .topbar:not(.solid) .btn.ghost { background: rgb(11 10 8 / .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: rgb(243 236 219 / .22); }

/* ---------- phone hero: the featured car sits on the photo, headline gets a stronger fade ---------- */
@media (max-width: 760px) {
  .hero-car { position: absolute; inset: calc(var(--nav-h) + 14px) auto auto 16px; width: auto; max-width: calc(100% - 32px); min-width: 0; margin: 0; padding: 10px 12px 10px 16px; gap: 2px; border-radius: 16px; background: rgb(11 10 8 / .62); z-index: 2; }
  :root[dir='rtl'] .hero-car { inset: calc(var(--nav-h) + 14px) 16px auto auto; padding: 10px 16px 10px 12px; }
  .hero-car .eyebrow { font-size: 10px; }
  .hero-car .eyebrow::before { width: 16px; }
  .hero-car b { font-size: 15px; }
  .hero-car .row { margin-top: 0; gap: 14px; }
  .hero-car .price { font-size: 15px; }
  .hero-car .go { width: 28px; height: 28px; }
  .hero-car .go svg { width: 14px; height: 14px; }
  .hero-media::after { background: linear-gradient(180deg, rgb(11 10 8 / .8) 0%, rgb(11 10 8 / .1) 24%, transparent 40%, rgb(11 10 8 / .55) 68%, var(--bg) 100%); }
  .hero-inner { margin-top: -96px; }
  .hero h1 { text-shadow: 0 2px 24px rgb(11 10 8 / .7); }
}
.feat-body .k > span:not(.blogo) { white-space: nowrap; }


/* featured tiles: the link layer covers the whole tile (the caption strip is its own positioned box) */
.feat-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.feat .vcard-link::after { display: none; }
.feat .badge, .feat .heart { z-index: 3; }
.feat-body { pointer-events: none; }


/* shape tiles: one tidy scrolling row, however many shapes there are */
.rail.styles { grid-auto-columns: 210px; gap: 14px; }
.rail.styles .style { aspect-ratio: auto; height: 270px; }
@media (max-width: 760px) { .rail.styles { grid-auto-columns: 150px; gap: 12px; } .rail.styles .style { height: 200px; padding: 16px; } .style b { font-size: 20px; } }
