:root {
  --night: #1b1115;
  --night-2: #2a1a21;
  --night-3: #3a2530;
  --ink: #2b1d1a;
  --ink-2: #5a4640;
  --muted: #8a776f;
  --cream: #faf6f1;
  --sand: #f2e9df;
  --line: #e6dace;
  --plum: #4a2433;
  --plum-2: #6b3449;
  --gold: #c39a5c;
  --gold-2: #e6cb95;
  --gold-3: #f6e7c6;
  --ok: #2f6b4f;
  --pre: #8a5a1c;
  --err: #a33a2a;
  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(43, 29, 26, .5);
  --ar: "Tajawal", system-ui, sans-serif;
  --ar-display: "El Messiri", "Tajawal", serif;
  --en-display: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.65 var(--ar); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--ar-display); line-height: 1.2; margin: 0; }
html[lang="en"] h1, html[lang="en"] h2 { font-family: var(--en-display); font-weight: 600; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .08em; font-size: 13px; margin: 0 0 10px; text-transform: uppercase; }
.eyebrow.light { color: var(--gold-2); }
.fine { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.fine.light { color: rgba(246, 231, 198, .65); }
.center { text-align: center; }

/* ---------- Top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 30; transition: background .3s, box-shadow .3s; color: #f8efe6; }
.topbar.solid { background: rgba(250, 246, 241, .92); backdrop-filter: saturate(1.4) blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.topbar-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { text-decoration: none; }
.logo-en { font: 600 27px/1 var(--en-display); letter-spacing: .02em; direction: ltr; display: inline-block; }
.dot { color: var(--gold); }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--gold); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; border-color: rgba(255, 255, 255, .25); background: transparent; cursor: pointer; display: grid; place-items: center; }
.topbar.solid .icon-btn, .topbar.solid .lang { border-color: var(--line); background: #fff; }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang { border: 1px solid rgba(255, 255, 255, .25); background: transparent; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 700; cursor: pointer; min-width: 46px; }
.badge { position: absolute; top: -4px; inset-inline-end: -4px; background: var(--gold); color: var(--night); font-size: 11px; font-weight: 800; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.cart-btn.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.18) rotate(-6deg); } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, color .2s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--plum); color: #fff; box-shadow: var(--shadow); }
.btn.primary:hover { background: var(--plum-2); }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--night); box-shadow: 0 10px 30px -12px rgba(195, 154, 92, .7); }
.btn.gold:hover { filter: brightness(1.06); }
.btn.line { border-color: rgba(246, 231, 198, .4); color: var(--gold-3); background: transparent; }
.btn.line:hover { border-color: var(--gold-2); }
.btn.line.dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn.block { width: 100%; }
.link { background: none; border: 0; color: var(--gold-2); font-weight: 700; cursor: pointer; padding: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #f8efe6;
  background:
    radial-gradient(700px 500px at 75% 35%, rgba(195, 154, 92, .22), transparent 65%),
    radial-gradient(600px 500px at 10% 100%, rgba(107, 52, 73, .45), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; min-height: 680px; padding: 110px 0 60px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); color: #fff; letter-spacing: -.01em; }
.rotator { display: inline-block; color: var(--gold-2); font-style: normal; transition: opacity .35s, transform .35s, filter .35s; background: linear-gradient(120deg, var(--gold-3), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .08em; }
.rotator.out { opacity: 0; transform: translateY(14px); filter: blur(6px); }
html[lang="en"] .rotator { font-style: italic; }
.lead { font-size: 18px; color: rgba(248, 239, 230, .78); max-width: 540px; margin: 18px 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgba(248, 239, 230, .7); font-size: 14px; }
.hero-points li::before { content: "◆"; color: var(--gold); font-size: 9px; margin-inline-end: 8px; vertical-align: 2px; }

.notes-sky { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.note { position: absolute; bottom: -40px; padding: 6px 14px; border: 1px solid rgba(230, 203, 149, .3); border-radius: 999px; color: rgba(246, 231, 198, .75); font-size: 13px; white-space: nowrap; background: rgba(255, 255, 255, .03); backdrop-filter: blur(2px); animation: rise linear infinite; }
@keyframes rise { 0% { transform: translateY(0) rotate(-3deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: .9; } 100% { transform: translateY(-760px) rotate(4deg); opacity: 0; } }

.stage { position: relative; height: 540px; padding-bottom: 80px; display: grid; place-items: center; }
.halo { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(230, 203, 149, .35), rgba(230, 203, 149, 0) 70%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.stage-cards { position: relative; width: 340px; height: 420px; perspective: 1200px; }
.stage-card { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; cursor: pointer; transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .8s, filter .8s; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); background: var(--sand); border: 1px solid rgba(230, 203, 149, .25); }
.stage-card img, .stage-card .art { width: 100%; height: 100%; object-fit: cover; }
.stage-card[data-pos="0"] { transform: translateX(0) rotate(0) scale(1); z-index: 3; }
.stage-card[data-pos="1"] { transform: translateX(-46%) rotate(-9deg) scale(.82); z-index: 2; opacity: .75; filter: saturate(.8) brightness(.8); }
.stage-card[data-pos="2"] { transform: translateX(46%) rotate(9deg) scale(.82); z-index: 2; opacity: .75; filter: saturate(.8) brightness(.8); }
.stage-card[data-pos="3"] { transform: translateY(10%) scale(.6); z-index: 1; opacity: 0; }
.stage-label { position: absolute; bottom: 4px; text-align: center; color: var(--gold-3); }
.stage-label b { display: block; font: 600 22px/1.2 var(--ar-display); color: #fff; }
html[lang="en"] .stage-label b { font-family: var(--en-display); font-size: 26px; }
.stage-label span { font-size: 14px; opacity: .8; }

.marquee { background: var(--night); border-top: 1px solid rgba(230, 203, 149, .15); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; }
.marquee-track span { font: 600 20px/1 var(--en-display); letter-spacing: .2em; color: rgba(246, 231, 198, .55); white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-inline-start: 48px; color: var(--gold); font-size: 12px; vertical-align: 4px; }
@keyframes slide { to { transform: translateX(-50%); } }
html[dir="rtl"] .marquee-track { animation-name: slide-rtl; }
@keyframes slide-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.sec-head { text-align: center; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); color: var(--plum); }
.sec-head p:not(.eyebrow) { color: var(--muted); margin: 8px 0 0; }
.sec-head.light h2 { color: #fff; }
.sec-head.light p:not(.eyebrow) { color: rgba(246, 231, 198, .7); }

/* Worlds */
.worlds { padding: 40px 0 10px; }
.world-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.world { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 170px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: #fff; cursor: pointer; border: 0; text-align: start; isolation: isolate; transition: transform .25s; }
.world:hover { transform: translateY(-4px); }
.world::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.world img { position: absolute; inset-inline-end: -14%; top: -6%; width: 78%; z-index: -1; opacity: .9; mix-blend-mode: multiply; transform: rotate(-8deg); transition: transform .4s; }
.world:hover img { transform: rotate(-3deg) scale(1.05); }
.world b { font: 700 20px/1.2 var(--ar-display); }
html[lang="en"] .world b { font-family: var(--en-display); font-size: 23px; }
.world span { font-size: 13px; opacity: .85; }
.world .w-art { position: absolute; inset-inline-end: 10px; top: 10px; width: 70px; height: 70px; opacity: .9; z-index: -1; }

/* Finder */
.finder { background: var(--sand); }
.quiz { max-width: 860px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); }
.quiz-progress { height: 5px; background: var(--sand); border-radius: 9px; overflow: hidden; margin-bottom: 22px; }
.quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .4s; }
html[dir="rtl"] .quiz-progress span { margin-inline-start: 0; }
.quiz h3 { font-size: 24px; color: var(--plum); text-align: center; margin-bottom: 18px; }
.opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.opts.three { grid-template-columns: repeat(3, 1fr); }
.opt-card { border: 1.5px solid var(--line); background: var(--cream); border-radius: 18px; padding: 16px 12px; cursor: pointer; text-align: center; transition: transform .2s, border-color .2s, background .2s; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.opt-card:hover { transform: translateY(-3px); border-color: var(--gold); background: #fff; }
.opt-card .sw { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff; }
.opt-card b { font-size: 16px; }
.opt-card small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.quiz-nav button { background: none; border: 0; color: var(--muted); cursor: pointer; font-weight: 700; }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.result-intro { text-align: center; color: var(--ink-2); margin: -8px 0 18px; }

/* Boxes */
.boxes { background: linear-gradient(180deg, var(--night-2), var(--night)); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.rail > * { scroll-snap-align: start; }
.rail.small { grid-auto-columns: minmax(170px, 200px); }
.boxes .card { background: var(--night-3); border-color: rgba(230, 203, 149, .18); color: #f8efe6; }
.boxes .card .notes, .boxes .card .size { color: rgba(246, 231, 198, .65); }
.boxes .card .price { color: var(--gold-2); }
.boxes .card .add { background: transparent; border-color: var(--gold); color: var(--gold-2); }
.boxes .card .add:hover { background: var(--gold); color: var(--night); }

/* Shop toolbar */
.toolbar { position: sticky; top: 68px; z-index: 10; background: rgba(250, 246, 241, .95); backdrop-filter: blur(10px); padding: 12px 0; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.cats { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.cat { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--ink-2); position: relative; }
.cat[aria-selected="true"] { background: var(--plum); color: #fff; }
.cat small { opacity: .6; font-weight: 500; margin-inline-start: 4px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.chip[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-3); color: var(--ink); font-weight: 700; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: center; }
.search { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; flex: 1 1 240px; max-width: 360px; }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; flex: none; }
.search input { border: 0; outline: 0; background: transparent; padding: 9px 0; width: 100%; }
.tools select { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 12px; max-width: 190px; }
.toggle { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.toggle input { accent-color: var(--plum); width: 16px; height: 16px; }
.count { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.more-wrap { text-align: center; margin-top: 26px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.media { position: relative; aspect-ratio: 1; background: var(--sand); cursor: zoom-in; overflow: hidden; border: 0; padding: 0; display: block; width: 100%; }
.media img, .media .art { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .media img, .card:hover .media .art { transform: scale(1.05); }
.tag { position: absolute; top: 10px; inset-inline-start: 10px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); }
.tag.in { color: var(--ok); }
.tag.pre { color: var(--pre); }
.tag.best { top: 42px; background: var(--gold); color: var(--night); border-color: var(--gold); }
.card .info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.brand { font: 700 11px/1.2 var(--ar); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card h3 { font-size: 17px; }
.notes { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 2px 0 6px; }
.meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; gap: 8px; }
.price { font-weight: 800; font-size: 18px; }
.size { color: var(--muted); font-size: 13px; direction: ltr; }
.opt { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin: 4px 0; }
.add { margin-top: 10px; width: 100%; padding: 10px; border-radius: 12px; border: 1px solid var(--plum); background: #fff; color: var(--plum); font-weight: 700; cursor: pointer; transition: .2s; }
.add:hover { background: var(--plum); color: #fff; }
.add.done { background: var(--ok); border-color: var(--ok); color: #fff; }
.empty-grid { text-align: center; color: var(--muted); grid-column: 1 / -1; padding: 40px; }

/* Designed art (products without photos) */
.art { display: block; }

/* SHEIN */
.shein { color: #f8efe6; background:
  radial-gradient(600px 400px at 90% 0%, rgba(195, 154, 92, .18), transparent 60%),
  linear-gradient(160deg, var(--plum) 0%, var(--night) 100%); }
.shein-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; margin-bottom: 28px; }
.shein h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.shein-lead { color: rgba(248, 239, 230, .78); margin: 12px 0; max-width: 620px; }
.stat b { font: 700 34px/1 var(--en-display); color: var(--gold-2); }
.countdown { text-align: center; border: 1px solid rgba(230, 203, 149, .25); border-radius: 22px; padding: 18px; background: rgba(255, 255, 255, .04); }
.countdown p { margin: 0; color: rgba(246, 231, 198, .75); }
.countdown strong { display: block; font: 700 24px/1.4 var(--ar-display); color: var(--gold-2); }
.cd { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.cd div { min-width: 70px; padding: 10px 6px; border-radius: 14px; background: rgba(0, 0, 0, .25); }
.cd b { display: block; font: 700 30px/1 var(--en-display); color: #fff; }
.cd span { font-size: 12px; color: rgba(246, 231, 198, .7); }
.shein-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 16px; }
.panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(230, 203, 149, .2); border-radius: 22px; padding: 20px; }
.panel h3 { font-size: 20px; color: #fff; margin-bottom: 12px; }
.estimator label span { display: block; font-size: 14px; color: rgba(246, 231, 198, .8); margin-bottom: 6px; }
.estimator input, .panel textarea { width: 100%; border: 1px solid rgba(230, 203, 149, .3); background: rgba(0, 0, 0, .25); color: #fff; border-radius: 12px; padding: 12px; font-size: 18px; }
.panel textarea { font-size: 14px; margin: 10px 0; resize: vertical; }
.est-out { margin: 14px 0 0; font-size: 15px; color: rgba(246, 231, 198, .8); }
.est-out b { display: block; font: 700 30px/1.2 var(--en-display); color: var(--gold-2); direction: ltr; text-align: start; }
html[dir="rtl"] .est-out b { text-align: right; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button { border: 1px solid rgba(230, 203, 149, .3); background: transparent; color: #f8efe6; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 14px; }
.pick button[aria-pressed="true"] { background: var(--gold); color: var(--night); border-color: var(--gold); font-weight: 700; }
.steps { list-style: none; margin: 0; display: grid; gap: 10px; align-content: start; }
.steps li { display: flex; align-items: center; gap: 12px; }
.steps b { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--night); display: grid; place-items: center; flex: none; }
.sheglam-strip { margin-top: 34px; }
.strip-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.strip-head h3 { color: #fff; font-size: 22px; }
.sheglam-strip .card { background: rgba(255, 255, 255, .95); }
.sheglam-strip .notes { display: none; }

/* Trust & FAQ */
.trust { background: #fff; border-block: 1px solid var(--line); padding: 50px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust .ico { color: var(--gold); font-size: 20px; }
.trust h3 { font-size: 18px; color: var(--plum); margin: 4px 0; }
.trust p { margin: 0; color: var(--ink-2); font-size: 15px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 13px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: inline-end; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 14px; color: var(--ink-2); }

.footer { background: var(--night); color: #f8efe6; padding: 40px 0; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--gold-2); font-weight: 700; text-decoration: none; }
.footer-in > .fine { width: 100%; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(20, 12, 15, .6); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(4px); }
.modal-card { position: relative; background: var(--cream); border-radius: 26px; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; animation: pop .3s ease; }
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.modal-card > .x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; }
.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv-media { background: var(--sand); aspect-ratio: 1; }
.qv-media img, .qv-media .art { width: 100%; height: 100%; object-fit: cover; }
.qv-info { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.qv-info h3 { font-size: 30px; color: var(--plum); }
html[lang="en"] .qv-info h3 { font-family: var(--en-display); font-size: 34px; }
.qv-notes { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.qv-notes span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.qv-row { display: flex; gap: 16px; align-items: baseline; }
.qv-row .price { font-size: 26px; }
.qv-status { font-size: 14px; font-weight: 700; }
.qv-status.in { color: var(--ok); }
.qv-status.pre { color: var(--pre); }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(20, 12, 15, .5); z-index: 40; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: var(--cream); z-index: 50; display: flex; flex-direction: column; transition: transform .3s ease; box-shadow: 0 0 40px rgba(0, 0, 0, .2); }
html[dir="rtl"] .drawer { transform: translateX(-105%); }
html[dir="ltr"] .drawer { transform: translateX(105%); }
.drawer.open { transform: none !important; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; color: var(--plum); }
.x { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; line-height: 1; color: var(--ink); }
.drawer-body { overflow-y: auto; padding: 16px 20px 28px; flex: 1; }
.empty { color: var(--muted); text-align: center; padding: 30px 0; }
.cline { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cline .thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--sand); }
.cline .thumb img, .cline .thumb .art { width: 100%; height: 100%; object-fit: cover; }
.cline .nm { font-weight: 700; font-size: 15px; line-height: 1.3; }
.cline .sub { color: var(--muted); font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; margin-top: 4px; }
.qty button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.cline .lp { font-weight: 700; white-space: nowrap; }
form h3 { font-size: 19px; color: var(--plum); margin: 22px 0 8px; }
form label { display: block; margin-bottom: 12px; }
form label > span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; color: var(--ink-2); }
form input:not([type="checkbox"]):not([type="radio"]), form select, form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
form input:focus, form select:focus, form textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(195, 154, 92, .2); }
form .invalid { border-color: var(--err) !important; }
form label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
form label.check span { margin: 0; display: inline; }
form label.check input { accent-color: var(--plum); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.pay { border: 0; padding: 0; margin: 16px 0 4px; }
.pay legend { font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
form label.pay-opt { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
form label.pay-opt:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(195, 154, 92, .18); }
.pay-opt input { accent-color: var(--plum); width: 18px; height: 18px; flex: none; margin: 0; }
.pay-opt span { display: flex; flex-direction: column; gap: 2px; }
.pay-opt b { font-size: 15px; color: var(--plum); }
.pay-opt small { font-size: 13px; color: var(--ink-2); }
.ip-box { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; }
.ip-box h4 { font-size: 18px; color: var(--plum); margin: 0 0 6px; }
.ip-box p { font-size: 14px; margin: 0 0 12px; }
.ip-handle { display: inline-flex; align-items: center; gap: 10px; border: 1px dashed var(--gold); background: var(--cream); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; color: var(--night); cursor: pointer; }
.ip-handle small { font-weight: 500; color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.totals { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 14px 0; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 8px; font-size: 18px; }
.form-error { background: #fbeceb; color: var(--err); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.done { text-align: center; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 32px; display: grid; place-items: center; margin: 30px auto 14px; }
.done h3 { font-size: 24px; color: var(--plum); }
.done .btn { margin-top: 12px; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--night); color: var(--gold-3); padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 70; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.seen { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .world-grid { grid-template-columns: repeat(3, 1fr); }
  .shein-grid { grid-template-columns: 1fr 1fr; }
  .shein-grid .steps { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .nav { display: none; }
  .top-actions { margin-inline-start: auto; }
  .hero-in { grid-template-columns: 1fr; padding-top: 90px; min-height: 0; gap: 10px; }
  .stage { height: 400px; order: -1; }
  .stage-cards { width: 240px; height: 300px; }
  .halo { width: 300px; height: 300px; }
  .world-grid { grid-template-columns: 1fr 1fr; }
  .world { min-height: 130px; }
  .opts, .opts.three { grid-template-columns: 1fr 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .info { padding: 10px 12px 12px; }
  .card h3 { font-size: 15px; }
  .grid .notes { display: none; }
  .price { font-size: 16px; }
  .toolbar { top: 68px; }
  .tools select { flex: 1 1 40%; max-width: none; }
  .shein-top, .shein-grid { grid-template-columns: 1fr; }
  .shein-grid .steps { grid-template-columns: 1fr 1fr; }
  .qv { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}
@media (max-width: 380px) {
  .cd div { min-width: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .note { display: none; }
}
