/* Savura Parfum — premium uslub */
:root {
  --paper: #f6f0e6; --paper-2: #efe6d7; --paper-3: #e6dac6;
  --ink: #1c160f; --ink-2: #3b3126; --muted: #7a6b58;
  --rule: #d9cbb3; --accent: #7f5c20; --focus: #7f5c20;
  --gold-1: #f6e7be; --gold-2: #d4b06a; --gold-3: #9c7634; --gold-4: #ebd39b;
  --gold: linear-gradient(120deg, #9c7634 0%, #d4b06a 30%, #f6e7be 50%, #c79d55 70%, #8a6a2f 100%);
  --card: #fbf7f0; --card-edge: #e3d6bf; --ok: #2f7a4f; --bad: #a33a2a;
  --glass: rgb(255 252 245 / .6); --hero-bg: #f1e8d8;
  --shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 20px 50px -24px rgb(60 40 10 / .35);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif; --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gold-ink: linear-gradient(120deg, #5e4214 0%, #8a6424 30%, #b08440 50%, #8a6424 70%, #5e4214 100%);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0e0c0a; --paper-2: #16130f; --paper-3: #1e1a15;
  --ink: #f3ead9; --ink-2: #d6cab6; --muted: #9a8c77;
  --rule: #2e271f; --accent: #d4b06a; --focus: #e9cf8f;
  --card: #15120e; --card-edge: #2c251c; --ok: #7fcf9d; --bad: #f08b78;
  --glass: rgb(20 17 13 / .55); --hero-bg: #0b0907;
  --shadow: 0 1px 0 rgb(255 240 210 / .05) inset, 0 30px 60px -30px rgb(0 0 0 / .8);
  --gold-ink: var(--gold);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 400 16px/1.65 var(--sans); overflow-x: hidden; transition: background-color .4s var(--ease), color .4s var(--ease); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); margin: 0; font-weight: 400; letter-spacing: -0.01em; }
h1, h2 { line-height: 1.02; } h3 { line-height: 1.2; font-weight: 500; }
a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--gold-2); color: #1c160f; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .small { font-size: .875rem; }
.code { font: 500 .74rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); letter-spacing: .04em; }
.gold-text { background: var(--gold-ink, var(--gold)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.eyebrow-line { display: inline-flex; align-items: center; gap: .8rem; font-size: .8rem; color: var(--accent); }
.eyebrow-line::before { content: ""; width: 36px; height: 1px; background: currentColor; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 1.5rem; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 500 .95rem var(--sans); cursor: pointer; text-decoration: none; overflow: hidden; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: scale(.98); }
.btn.solid { border-color: transparent; background: var(--gold); background-size: 220% 100%; color: #1c160f; box-shadow: 0 10px 30px -12px rgb(201 164 92 / .7); }
.btn.solid:hover { background-position: 100% 0; color: #1c160f; }
.btn.solid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn.solid:hover::after { transform: translateX(120%); }
.btn.sm { min-height: 40px; padding: 0 1rem; font-size: .88rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 42px; padding: 0 1.1rem; border: 1px solid var(--rule); border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 .9rem var(--sans); cursor: pointer; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-pressed="true"], .chip.on { border-color: transparent; background: var(--ink); color: var(--paper); }
.chip:disabled { opacity: .35; cursor: not-allowed; }
label.f { display: block; margin-bottom: 1rem; }
label.f > span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: .75rem .9rem; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgb(201 164 92 / .2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 30; transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.top.solid, body:not(.has-hero) .top { background: var(--glass); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--rule); }
body:not(.has-hero) { padding-top: 76px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; }
.logo .lm { height: 46px; width: auto; }
.logo .lw { height: 34px; width: auto; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
.flag { width: 1.35em; height: 1.35em; flex: none; border-radius: 50%; }
.lang-cur, .lang-menu button { gap: .55rem; }
.cart-btn .ic { width: 1.25em; height: 1.25em; }
.rail-nav button { display: grid; place-items: center; } .rail-nav .ic { width: 20px; height: 20px; }
[dir="rtl"] .rail-nav .ic { transform: scaleX(-1); }
.theme-btn .ic { width: 19px; height: 19px; }
.logo .wm { display: flex; flex-direction: column; line-height: 1; }
.logo .wm b { font: 500 1.35rem/1 var(--serif); letter-spacing: .32em; margin-right: -.32em; }
.logo .wm small { font: 500 .56rem/1 var(--sans); letter-spacing: .58em; color: var(--accent); margin-top: .35rem; }
.cart-btn { position: relative; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold-2); color: #1c160f; font-size: .72rem; font-weight: 600; display: grid; place-items: center; }
.badge.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.ctrls { display: flex; align-items: center; gap: .5rem; }
.lang { position: relative; }
.flag { font-size: 1.15em; line-height: 1; }
.theme-btn { width: 40px; padding: 0; font-size: 1.05rem; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 200px; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); border-radius: 16px; padding: 6px; z-index: 40; }
.lang-menu button { display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 44px; padding: 0 .8rem; border: 0; background: none; color: var(--ink); font: inherit; text-align: start; cursor: pointer; border-radius: 10px; }
.lang-menu button:hover { background: var(--paper-2); }
.lang-menu button[aria-checked="true"] { background: var(--paper-3); }
@media (max-width: 560px) { .logo .lm { height: 38px; } .logo .lw { height: 26px; } .ctrls { gap: .3rem; } .ctrls .btn.sm { padding: 0 .7rem; } .cart-btn .lbl { display: none; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: var(--hero-bg); isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero .smoke { position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
:root:not([data-theme="dark"]) .hero .smoke { mix-blend-mode: multiply; opacity: .35; }
.hero .s1 { width: 60vmax; height: 40vmax; left: -15vmax; top: -10vmax; background: radial-gradient(closest-side, rgb(201 164 92 / .55), transparent); }
.hero .s2 { width: 50vmax; height: 50vmax; right: -20vmax; bottom: -20vmax; background: radial-gradient(closest-side, rgb(140 70 40 / .45), transparent); animation-duration: 28s; }
.hero .s3 { width: 34vmax; height: 34vmax; left: 40%; top: 30%; background: radial-gradient(closest-side, rgb(246 231 190 / .3), transparent); animation-duration: 18s; }
@keyframes drift { 50% { transform: translate(6vmax, -4vmax) scale(1.15); } 100% { transform: translate(-4vmax, 5vmax) scale(.95); } }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2rem; padding-top: 90px; padding-bottom: 60px; }
.hero h1 { font-size: clamp(3rem, 7.6vw, 6.6rem); font-weight: 300; line-height: .98; margin: 1.2rem 0 1.4rem; }
.hero h1 em { font-style: italic; }
.hero p.lead { max-width: 42ch; font-size: 1.08rem; color: var(--ink-2); }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.stage { position: relative; height: min(78vh, 680px); display: grid; place-items: center; perspective: 1200px; }
.ring { position: absolute; width: min(76%, 470px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 20%, rgb(246 231 190 / .9) 30%, transparent 42%, transparent 60%, rgb(212 176 106 / .7) 72%, transparent 84%); -webkit-mask: radial-gradient(closest-side, transparent 96%, #000 97%, #000 99%, transparent 100%); mask: radial-gradient(closest-side, transparent 96%, #000 97%, #000 99%, transparent 100%); animation: spin 14s linear infinite; filter: drop-shadow(0 0 12px rgb(246 231 190 / .7)); }
.ring.r2 { width: min(92%, 570px); opacity: .5; animation-duration: 26s; animation-direction: reverse; }
.halo { position: absolute; width: min(70%, 420px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(246 231 190 / .35), rgb(201 164 92 / .12) 55%, transparent); filter: blur(10px); animation: pulse 6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .8; } }
.bottle-wrap { position: relative; width: min(52%, 300px); transform-style: preserve-3d; transition: transform .6s var(--ease); animation: floaty 7s ease-in-out infinite; }
.bottle-wrap svg, .bottle-wrap img { width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgb(0 0 0 / .45)); }
@keyframes floaty { 50% { translate: 0 -16px; } }
.note-float { position: absolute; z-index: 3; width: 44px; height: 44px; opacity: .85; animation: orbit 16s ease-in-out infinite; pointer-events: none; }
.note-float svg { width: 100%; height: 100%; }
@keyframes orbit { 0% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(18px, -26px) rotate(40deg); } 66% { transform: translate(-14px, -10px) rotate(-25deg); } 100% { transform: translate(0, 0) rotate(0); } }
.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 1px solid var(--muted); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; padding-top: 96px; gap: 0; }
  .hero .stage { order: -1; height: 46vh; }
  .hero p.lead { margin-inline: auto; } .hero .cta { justify-content: center; }
  .eyebrow-line { justify-content: center; }
  .bottle-wrap { width: min(40%, 200px); }
}

/* marquee */
.marquee { border-block: 1px solid var(--rule); overflow: hidden; padding: 18px 0; background: var(--paper); }
.marquee .track { display: flex; gap: 3rem; width: max-content; animation: marq 32s linear infinite; font: 400 1.35rem var(--serif); color: var(--ink); white-space: nowrap; }
.marquee .track span::after { content: "✦"; margin-inline-start: 3rem; color: var(--accent); font-size: .9rem; vertical-align: middle; }
@keyframes marq { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee .track { animation-name: marq-r; } @keyframes marq-r { to { transform: translateX(50%); } }

/* sections */
.sec { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.sec-head h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 300; margin-top: .6rem; }
.sec-head p { max-width: 40ch; margin: 0; color: var(--muted); }

/* collections */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.col-card { position: relative; min-height: 300px; border-radius: 22px; overflow: hidden; padding: 26px; display: flex; flex-direction: column; justify-content: end; text-align: start; border: 1px solid var(--rule); background: var(--card); color: var(--ink); cursor: pointer; font: inherit; isolation: isolate; transition: transform .5s var(--ease), border-color .4s; }
.col-card::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(closest-side, var(--c1), transparent 70%); opacity: .55; transition: transform .8s var(--ease), opacity .5s; transform: translate(25%, -25%); }
.col-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.col-card:hover::before { transform: translate(5%, -5%) scale(1.1); opacity: .9; }
.col-card .num { font: 300 4.5rem/1 var(--serif); color: var(--accent); opacity: .5; position: absolute; top: 18px; inset-inline-end: 24px; }
.col-card h3 { font-size: 2rem; font-weight: 400; }
.col-card .go { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.col-card .go::after { content: " →"; transition: margin .3s; } [dir="rtl"] .col-card .go::after { content: " ←"; }
.col-card:hover .go::after { margin-inline-start: .4rem; }

/* carousel */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: .5rem; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: all .25s; }
.rail-nav button:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* tools / grid */
.tools { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; padding: 0 0 26px; }
.tools .search { flex: 1 1 220px; max-width: 360px; border-radius: 999px; padding-inline: 1.2rem; }
.tools select { width: auto; border-radius: 999px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 34px 22px; }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; } .rail { grid-auto-columns: 72%; } }

/* product card */
.card { cursor: pointer; background: none; border: 0; padding: 0; text-align: start; font: inherit; color: inherit; display: block; width: 100%; }
.card .ph { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, var(--paper-3), var(--card)); border: 1px solid var(--rule); transition: border-color .4s; }
.card:hover .ph { border-color: var(--accent); }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .6s var(--ease); }
.card .ph img.alt { opacity: 0; }
.card:hover .ph img { transform: scale(1.06); }
.card:hover .ph img.alt { opacity: 1; }
.card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgb(255 245 220 / .35) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1s var(--ease); pointer-events: none; }
.card:hover .ph::after { transform: translateX(120%); }
.card .tag { position: absolute; z-index: 2; inset-inline-start: 12px; top: 12px; padding: .28rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 600; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); }
.card .tag.gold { background: var(--gold); color: #1c160f; border: 0; }
.card .tag.red { background: #8f2d1f; color: #fff4ea; border: 0; }
.card .quick { position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px; min-height: 44px; border-radius: 999px; border: 0; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); font: 500 .85rem var(--sans); opacity: 0; transform: translateY(10px); transition: all .4s var(--ease); display: grid; place-items: center; }
.card:hover .quick { opacity: 1; transform: none; }
@media (hover: none) { .card .quick { display: none; } }
.card h3 { font-size: 1.35rem; margin-top: 1rem; }
.card .meta { font-size: .82rem; color: var(--muted); }
.card .price { color: var(--ink); margin-top: .3rem; font-weight: 500; }
.old { text-decoration: line-through; color: var(--muted); font-weight: 400; font-size: .9em; margin-inline-start: .4rem; }
.noimg { position: absolute; inset: 0; display: grid; place-items: center; }
.noimg svg { width: 38%; height: auto; opacity: .9; filter: drop-shadow(0 18px 20px rgb(0 0 0 / .25)); transition: transform .8s var(--ease); }
.card:hover .noimg svg { transform: translateY(-6px) rotate(-3deg); }
.empty { padding: 60px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* quiz */
.quiz { border-radius: 28px; border: 1px solid var(--rule); background: radial-gradient(80% 120% at 100% 0%, rgb(201 164 92 / .18), transparent 60%), var(--card); padding: clamp(26px, 5vw, 60px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: center; overflow: hidden; }
.quiz h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 300; margin: .6rem 0 1rem; }
.quiz .q-step { font-size: .85rem; color: var(--accent); margin-bottom: .6rem; }
.quiz .q-title { font: 400 1.7rem/1.2 var(--serif); color: var(--ink); margin-bottom: 1.1rem; }
.quiz .opts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.quiz .opt { min-height: 70px; border-radius: 16px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: 500 .98rem var(--sans); cursor: pointer; display: flex; align-items: center; gap: .7rem; padding: 0 1rem; text-align: start; transition: all .25s var(--ease); }
.quiz .opt:hover { border-color: var(--accent); transform: translateY(-2px); }
.quiz .opt .e { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); color: var(--accent); flex: none; } .quiz .opt .e .ic { width: 22px; height: 22px; }
.quiz .res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.q-anim { animation: qin .5s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) { .quiz { grid-template-columns: 1fr; } .quiz .res { grid-template-columns: 1fr 1fr; } }

/* story */
.story { position: relative; overflow: hidden; border-radius: 28px; min-height: 520px; display: grid; align-items: center; background: #0b0907; color: #f3ead9; isolation: isolate; }
.story .bg { position: absolute; inset: -20% 0; z-index: -1; background: radial-gradient(40% 60% at 75% 50%, rgb(201 164 92 / .35), transparent 70%), radial-gradient(30% 40% at 20% 80%, rgb(140 70 40 / .4), transparent 70%); will-change: transform; }
.story .lines { position: absolute; inset: 0; z-index: -1; opacity: .25; background: repeating-linear-gradient(90deg, transparent 0 79px, rgb(246 231 190 / .25) 79px 80px); -webkit-mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.story .in { padding: clamp(30px, 6vw, 80px); max-width: 760px; }
.story h2 { color: #f3ead9; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 300; margin: .8rem 0 1.2rem; }
.story p { color: #cfc3ae; font-size: 1.05rem; max-width: 52ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.facts b { display: block; color: #d4b06a; margin-bottom: .5rem; } .facts b .ic { width: 30px; height: 30px; }
.facts span { font-size: .85rem; color: #a99a82; }

/* perks */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 22px; overflow: hidden; }
.perk { background: var(--paper); padding: 28px 24px; }
.perk .i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); margin-bottom: 1rem; } .perk .i .ic { width: 24px; height: 24px; }
.perk h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.perk p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .perks { grid-template-columns: 1fr 1fr; } .facts { grid-template-columns: 1fr 1fr 1fr; }  }

/* reveal */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.draw { position: relative; }
.draw::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -14px; height: 1px; width: 0; background: var(--gold); transition: width 1.4s var(--ease) .3s; }
.draw.in::after { width: 120px; }

/* sheet / modal */
.scrim { position: fixed; inset: 0; background: rgb(8 6 4 / .5); backdrop-filter: blur(4px); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 50; background: var(--paper); box-shadow: var(--shadow); overflow: auto; transition: transform .5s var(--ease); right: 0; top: 0; bottom: 0; width: min(580px, 100%); transform: translateX(105%); }
.sheet.on { transform: none; }
.sheet .hd { position: sticky; top: 0; background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; border-bottom: 1px solid var(--rule); z-index: 2; }
.sheet .hd h3 { font-size: 1.5rem; }
.sheet .bd { padding: 22px; }
.x { width: 42px; height: 42px; border: 1px solid var(--rule); border-radius: 50%; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink); transition: transform .3s; }
.x:hover { transform: rotate(90deg); }
.gallery .main { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, var(--paper-3), var(--card)); border: 1px solid var(--rule); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: 0 0 66px; height: 66px; padding: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--card); cursor: pointer; }
.thumbs button.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd h2 { font-size: 2.5rem; margin-top: 1.3rem; }
.pd .big { font: 400 2rem var(--serif); color: var(--ink); margin: .8rem 0 1.1rem; }
.notes { border-top: 1px solid var(--rule); margin-top: 1.6rem; }
.notes div { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.notes dt { color: var(--muted); } .notes dd { margin: 0; color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 999px; background: var(--card); }
.qty button { width: 44px; height: 48px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty span { min-width: 30px; text-align: center; }
.buy { display: flex; gap: .75rem; margin-top: 1.3rem; } .buy .btn { flex: 1; }
.line { display: grid; grid-template-columns: 68px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.line .th { position: relative; width: 68px; height: 68px; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--rule); }
.line .th img { width: 100%; height: 100%; object-fit: cover; }
.line h3 { font-size: 1.1rem; }
.line > div:last-child { text-align: end; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0; font-size: 1.05rem; }
.total b { font: 400 1.9rem var(--serif); color: var(--ink); }
.err { color: var(--bad); font-size: .92rem; margin: .5rem 0; }
.okbox { text-align: center; padding: 30px 0; }
.okbox h2 { font-size: 2.8rem; }
.fly { position: fixed; z-index: 70; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 24px rgb(246 231 190 / .8); pointer-events: none; transition: transform .8s cubic-bezier(.5, -.3, .7, 1), opacity .8s; }

/* footer */
.foot { border-top: 1px solid var(--rule); padding: 60px 0 40px; color: var(--muted); font-size: .9rem; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: .8rem 1.3rem; border-radius: 999px; opacity: 0; transition: .35s var(--ease); z-index: 80; pointer-events: none; font-size: .95rem; }
.toast.on { opacity: 1; transform: translateX(-50%); }

/* RTL & arabcha */
:root[lang="ar"] body, :root[lang="ar"] input, :root[lang="ar"] select, :root[lang="ar"] textarea, :root[lang="ar"] button { font-family: "Noto Sans Arabic", var(--sans); }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3, :root[lang="ar"] .q-title, :root[lang="ar"] .pd .big { font-family: "Amiri", var(--serif); letter-spacing: 0; }
[dir="rtl"] .sheet { right: auto; left: 0; transform: translateX(-105%); }
[dir="rtl"] .sheet.on { transform: none; }
[dir="rtl"] .badge { right: auto; left: -6px; }
.num { direction: ltr; unicode-bidi: isolate; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }
:root[data-theme="dark"] .only-light, :root:not([data-theme="dark"]) .only-dark { display: none !important; }
:root:not([data-theme="dark"]) .ring { filter: drop-shadow(0 0 6px rgb(201 164 92 / .6)) brightness(.85); }
.story .eyebrow-line { color: #d4b06a; }
@media (max-width: 860px), (hover: none), (max-height: 760px) { .scroll-hint { display: none; } }

/* Tun rejimi — burgundy */
:root[data-theme="dark"] {
  --paper: #1c070d; --paper-2: #260a13; --paper-3: #31101a;
  --ink: #f7ebe6; --ink-2: #e6d2cb; --muted: #b89c95;
  --rule: #4b1a26; --accent: #dcb673; --focus: #ecd09a;
  --card: #240a12; --card-edge: #4b1a26; --glass: rgb(28 7 13 / .6); --hero-bg: #170509;
  --shadow: 0 1px 0 rgb(255 220 210 / .05) inset, 0 30px 60px -30px rgb(0 0 0 / .85);
}
:root[data-theme="dark"] .hero .s1 { background: radial-gradient(closest-side, rgb(170 40 70 / .55), transparent); }
:root[data-theme="dark"] .hero .s2 { background: radial-gradient(closest-side, rgb(110 15 40 / .7), transparent); }
:root[data-theme="dark"] .hero .s3 { background: radial-gradient(closest-side, rgb(220 182 115 / .22), transparent); }
:root[data-theme="dark"] .story { background: #12040a; }
:root[data-theme="dark"] .story .bg { background: radial-gradient(40% 60% at 75% 50%, rgb(150 30 60 / .45), transparent 70%), radial-gradient(30% 40% at 20% 80%, rgb(220 182 115 / .18), transparent 70%); }
:root[data-theme="dark"] .story .lines { opacity: .18; }

/* Kun rejimi — fil suyagi + zumrad */
:root:not([data-theme="dark"]) { --paper:#f1ece2; --paper-2:#e6dfd1; --paper-3:#dbd2c0; --ink:#0f1f19; --ink-2:#1f332b; --muted:#4c5c54; --rule:#c9c2b2; --accent:#1d5a45; --focus:#1d5a45; --card:#faf7f0; --card-edge:#c9c2b2; --hero-bg:#e9e3d6; --glass:rgb(241 236 226 / .78); --gold-ink:linear-gradient(120deg,#0f3d2e 0%,#1d5a45 40%,#3c7a62 55%,#1d5a45 70%,#0f3d2e 100%); }
:root:not([data-theme="dark"]) .hero .s1 { background: radial-gradient(closest-side, #1d5a4533, transparent); }
:root:not([data-theme="dark"]) .hero .s2 { background: radial-gradient(closest-side, #1d5a4526, transparent); }
:root:not([data-theme="dark"]) .eyebrow-line { font-weight: 600; }

/* buyurtma: pochta va to'lov */
.ship-note { display: flex; align-items: center; gap: .6rem; margin: -.2rem 0 1rem; padding: .7rem .9rem; border-radius: 12px; background: var(--paper-2); color: var(--ink-2); font-size: .88rem; }
.ship-note .ic { color: var(--accent); width: 20px; height: 20px; }
.lbl2 { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pay-opt { position: relative; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt > span { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: .9rem; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.pay-opt > span .ic { color: var(--accent); width: 22px; height: 22px; }
.pay-opt b { font-weight: 600; font-size: .95rem; }
.pay-opt small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.pay-opt input:checked + span { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.pay-opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* menyu va profil */
.hdr-btns { display: flex; align-items: center; gap: .5rem; }
.burger { width: 44px; padding: 0; } .burger .ic { width: 22px; height: 22px; }
.cart-btn .ic { width: 1.25em; height: 1.25em; }
.mnav { display: flex; flex-direction: column; margin: 8px 0 18px; border-top: 1px solid var(--rule); }
.mnav a, .mnav button { display: flex; align-items: center; gap: .9rem; min-height: 56px; padding: 0 .3rem; border: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--ink); font: 500 1.02rem var(--sans); text-decoration: none; cursor: pointer; text-align: start; width: 100%; }
.mnav .ic { width: 22px; height: 22px; color: var(--accent); flex: none; }
.mnav .sub { padding-inline-start: 2.6rem; min-height: 46px; font-weight: 400; font-size: .95rem; color: var(--ink-2); }
.mnav .cnt { margin-inline-start: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--accent); color: var(--paper); font-size: .78rem; display: grid; place-items: center; }
.mnav .end { margin-inline-start: auto; color: var(--muted); } [dir="rtl"] .mnav .end { transform: scaleX(-1); }
.m-set { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 0; flex-wrap: wrap; }
.m-set .lang-menu { inset-inline-end: 0; bottom: calc(100% + 8px); top: auto; }
.ucard { display: flex; align-items: center; gap: .9rem; padding: 14px; border-radius: 16px; border: 1px solid var(--rule); background: var(--card); }
.ucard .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-3); color: var(--accent); font: 600 1.1rem var(--sans); flex: none; }
.ucard .av .ic { width: 22px; height: 22px; }
.ucard b { display: block; color: var(--ink); } .ucard small { color: var(--muted); overflow-wrap: anywhere; line-height: 1.4; display: block; }
.ucard .btn { margin-inline-start: auto; }
.olist .oi { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: center; }
.olist .oi h3 { font-size: 1.25rem; } .olist .oi .small { color: var(--muted); }
.pill2 { display: inline-block; padding: .18rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; border: 1px solid var(--accent); color: var(--accent); }
.pill2.s-sotildi { border-color: var(--ok); color: var(--ok); } .pill2.s-bekor { border-color: var(--bad); color: var(--bad); }
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-2); margin-bottom: 1.2rem; }
.tabs2 button { min-height: 42px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 500 .92rem var(--sans); cursor: pointer; }
.tabs2 button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.mnav .mrow { display: flex; align-items: stretch; border-bottom: 1px solid var(--rule); }
.mnav .mrow > button { border-bottom: 0; }
.mnav .mrow .tog { width: 56px; flex: none; justify-content: center; border-inline-start: 1px solid var(--rule); color: var(--muted); }
.mnav .tog .ic { transform: rotate(90deg); transition: transform .25s var(--ease); color: var(--muted); }
.mnav .tog.open .ic { transform: rotate(-90deg); }
.mnav .subs { border-bottom: 1px solid var(--rule); }
.mnav .subs .sub { border-bottom: 0; }
/* iPhone ilova rejimi (ekranga qo'shilganda) */
.top { padding-top: env(safe-area-inset-top); }
body:not(.has-hero) { padding-top: calc(76px + env(safe-area-inset-top)); }
.sheet .hd { padding-top: calc(14px + env(safe-area-inset-top)); }
.sheet .bd { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
/* banner kichik yozuvi — nafis serif */
.hero .eyebrow-line { font: italic 500 clamp(1.3rem, 2.4vw, 1.6rem)/1.2 var(--serif); letter-spacing: .03em; gap: 1rem; }
.hero .eyebrow-line::before { width: 44px; background: linear-gradient(90deg, transparent, currentColor); }
:root[data-theme="dark"] .hero .eyebrow-line { color: #e6c98a; }
:root[lang="ar"] .hero .eyebrow-line { font-family: "Amiri", var(--serif); font-style: normal; }

/* footer v2 */
.foot { padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); }
.f-brand { text-align: center; padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.f-brand img { width: min(62vw, 230px); height: auto; display: block; margin: 0 auto; }
.f-brand p { margin: 1rem auto 0; font: italic 400 1.25rem var(--serif); color: var(--ink-2); }
.f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 40px 0; }
.f-cols h4 { margin: 0 0 1rem; font: 600 .72rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.f-cols nav { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.f-cols nav button, .f-cols nav a { background: none; border: 0; padding: 0; font: 400 .95rem var(--sans); color: var(--ink-2); cursor: pointer; text-decoration: none; text-align: start; transition: color .2s; }
.f-cols nav button:hover, .f-cols nav a:hover { color: var(--accent); }
.f-note { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.f-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 22px; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--muted); }
@media (max-width: 720px) {
  .f-cols { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .f-cols > div:last-child { grid-column: 1 / -1; }
  .f-bar { justify-content: center; text-align: center; }
}
