/* ==========================================================================
   LexiZone — WhatsApp storefront
   Look: "Midnight table" — deep night blue, warm ivory type, coral + gold
   accents, WhatsApp green used only for ordering actions.
   ========================================================================== */

:root {
  --bg: #0b0d12;
  --bg2: #10131a;
  --card: #151922;
  --ink: #f4efe6;
  --mute: #9ba1ad;
  --line: rgba(244, 239, 230, .12);
  --acc: #ff7a59;
  --gold: #f2c46d;
  --wa: #25d366;
  --e: cubic-bezier(.2, .8, .2, 1);
  --r: 22px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
[dir='rtl'] {
  --serif: 'Noto Naskh Arabic', Georgia, serif;
  --sans: 'Noto Kufi Arabic', 'Manrope', system-ui, sans-serif;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(900px 600px at 85% -10%, rgba(255, 122, 89, .14), transparent 60%),
              radial-gradient(700px 500px at -10% 40%, rgba(242, 196, 109, .07), transparent 60%);
}
body:not(.ready) { overflow: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
main, footer { position: relative; z-index: 2; }
.wrap { width: min(100% - 36px, 1200px); margin-inline: auto; }
.skip { position: fixed; top: -90px; inset-inline-start: 12px; z-index: 400; padding: 10px 16px; background: var(--gold); color: #1a1405; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--wa { fill: currentColor; stroke: none; }
.ic--xl { width: 56px; height: 56px; color: var(--gold); stroke-width: 1.4; }
.kicker { font: 800 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--acc); }
[dir='rtl'] .kicker { letter-spacing: 0; font-size: 14px; }
em { font-style: italic; color: var(--gold); font-weight: 500; }

/* ----------------------------------------------------- reveal + progress */
#progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 300; background: linear-gradient(90deg, var(--acc), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
[dir='rtl'] #progress { transform-origin: 100% 50%; }
#glow { position: fixed; left: 0; top: 0; width: 540px; height: 540px; margin: -270px 0 0 -270px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 89, .14), transparent 62%); pointer-events: none; z-index: 1; opacity: 0; transition: opacity .6s; }
body.glow-on #glow { opacity: 1; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--e), transform 1s var(--e); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.rv { opacity: 0; transform: translateY(28px); }
.ready .rv { animation: rise 1s var(--e) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- INTRO */
#intro {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; overflow: hidden;
  background: var(--bg); clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--e);
}
#intro.is-out { clip-path: inset(0 0 100% 0); }
.intro__grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(5, 1fr); gap: 2px; padding: 2px; }
.intro__grid i {
  display: block; border: 1px solid rgba(244, 239, 230, .05); background: rgba(255, 122, 89, .06);
  animation: tile .8s var(--e) both; animation-delay: var(--d);
}
@keyframes tile { from { opacity: 0; transform: scale(.2) rotate(14deg); background: rgba(242, 196, 109, .6); } }
.intro__c { position: relative; display: grid; justify-items: center; gap: 20px; text-align: center; padding: 0 20px; }
.intro__logo {
  width: 116px; height: 116px; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold), 0 0 0 14px rgba(242, 196, 109, .07), 0 0 80px rgba(255, 122, 89, .35);
  animation: logoIn 1.2s .5s var(--e) both;
}
@keyframes logoIn { from { opacity: 0; transform: scale(.2) rotate(-150deg); } 60% { transform: scale(1.06) rotate(6deg); } }
.intro__name { display: flex; font: 600 clamp(2.6rem, 10vw, 5rem)/1 var(--serif); letter-spacing: .01em; }
[dir='rtl'] .intro__name { display: none; }
.intro__name span { display: inline-block; opacity: 0; transform: translateY(46px) rotate(10deg); animation: letter .9s calc(1.25s + var(--i) * 80ms) var(--e) forwards; }
.intro__name span:nth-child(5) { color: var(--acc); font-style: italic; }
@keyframes letter { to { opacity: 1; transform: none; } }
.intro__tag { font: 800 .74rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--mute); animation: fade .9s 2.4s both; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }
.intro__skip { position: absolute; bottom: 26px; inset-inline-end: 24px; z-index: 2; color: var(--mute); font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------ HEADER */
.top {
  position: fixed; top: 0; inset-inline: 0; z-index: 80; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px;
  border-bottom: 1px solid transparent; transition: background .4s, border-color .4s;
}
.top.is-solid { background: rgba(11, 13, 18, .8); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 1.35rem/1 var(--serif); letter-spacing: .02em; }
[dir='rtl'] .brand { font-family: var(--sans); font-weight: 800; font-size: 1.2rem; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold); }
.nav { display: none; gap: 28px; }
.nav a { position: relative; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 8px 0; transition: color .3s; }
[dir='rtl'] .nav a { letter-spacing: 0; font-size: .92rem; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--e); }
[dir='rtl'] .nav a::after { transform-origin: right; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.top__r { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.langs button { padding: 7px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: var(--mute); transition: background .3s, color .3s; }
.langs button[aria-pressed='true'] { background: var(--ink); color: var(--bg); }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); transition: border-color .3s, transform .3s var(--e); }
.icon-btn:hover { border-color: var(--gold); transform: translateY(-1px); }
.icon-btn b { position: absolute; top: -5px; inset-inline-end: -5px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; background: var(--acc); color: #1a0f0b; font: 800 .72rem/21px var(--sans); text-align: center; transition: transform .4s var(--e); }
.icon-btn b.is-zero { transform: scale(0); }
.bump { animation: bump .55s var(--e); }
@keyframes bump { 30% { transform: scale(1.25); } 60% { transform: scale(.92); } }
@media (min-width: 960px) { .nav { display: flex; } }

/* ------------------------------------------------------------ BUTTONS */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: .95rem;
  white-space: nowrap; transition: transform .35s var(--e), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #04210d; box-shadow: 0 16px 34px -14px rgba(37, 211, 102, .75); }
.btn--wa::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: ring 2.4s infinite; pointer-events: none; }
@keyframes ring { 70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }
.btn--ghost { border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--acc); color: #1a0f0b; }
.btn--block { width: 100%; }
.btn .ic { width: 20px; height: 20px; }
.btn--wa .ic--wa { width: 22px; height: 22px; }
.link { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }

/* --------------------------------------------------------------- HERO */
.hero { position: relative; z-index: 2; padding-top: 112px; }
.hero__grid { display: grid; gap: 44px; align-items: center; padding-bottom: clamp(40px, 6vw, 70px); }
.hero__h { margin-top: 20px; font: 600 clamp(2.9rem, 8.6vw, 6.4rem)/.98 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
[dir='rtl'] .hero__h { font-family: var(--serif); font-weight: 700; line-height: 1.32; }
.hero__p { margin-top: 22px; max-width: 46ch; font-size: 1.08rem; color: var(--mute); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; color: var(--mute); font-size: .92rem; }
.pts li::before { content: '✦'; color: var(--gold); margin-inline-end: 8px; }

.stage { position: relative; width: min(100%, 500px); aspect-ratio: 1 / 1.12; margin-inline: auto; --mx: 0; --my: 0; }
.stage__main {
  position: absolute; inset: 4% 14% 24% 14%; border-radius: 999px 999px 26px 26px; overflow: hidden;
  border: 1px solid var(--gold); box-shadow: 0 40px 80px -30px #000;
  transform: translate(calc(var(--mx) * -14px), calc(var(--my) * -14px)); transition: transform .7s var(--e);
}
.sframe {
  position: absolute; width: 33%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 50px -18px #000;
  transform: translate(calc(var(--mx) * 18px), calc(var(--my) * 18px)); transition: transform .7s var(--e);
  animation: bob 7s ease-in-out infinite;
}
.sframe--0 { top: 0; inset-inline-start: -2%; rotate: -7deg; }
.sframe--1 { top: 30%; inset-inline-end: -3%; rotate: 6deg; width: 30%; animation-delay: -3s; }
@keyframes bob { 50% { margin-top: -12px; } }
.chat {
  position: absolute; bottom: 0; inset-inline: 6%; border-radius: 22px; overflow: hidden;
  background: rgba(21, 25, 34, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -20px #000;
}
.chat__top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0d4a37; }
.chat__top b { display: block; font-size: .92rem; line-height: 1.1; }
.chat__top small { font-size: .72rem; color: #bfe9d2; }
.chat__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #1a1405; font: 800 .95rem var(--serif); }
.chat__body { display: flex; flex-direction: column; justify-content: flex-end; height: 232px; padding: 14px; overflow: hidden; }
.bub { max-width: 90%; margin-bottom: 8px; padding: 9px 12px; border-radius: 14px; font-size: .86rem; line-height: 1.45; animation: bubIn .5s var(--e) both; }
.bub--me { margin-inline-start: auto; background: #0f5a43; border-end-end-radius: 4px; }
.bub--bot { background: #232939; border-end-start-radius: 4px; }
.bub.typing { display: flex; gap: 4px; padding: 12px 14px; }
.bub.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: dot 1s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; } .bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .25; transform: translateY(-3px); } }
@keyframes bubIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }

.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; margin-top: clamp(44px, 6vw, 80px); }
.marquee__t { display: flex; width: max-content; gap: 28px; font: italic 500 1.5rem/1 var(--serif); color: var(--mute); white-space: nowrap; animation: mq 32s linear infinite; }
[dir='rtl'] .marquee__t { font-family: var(--serif); font-style: normal; font-weight: 700; font-size: 1.3rem; animation-direction: reverse; }
.marquee__t span { display: inline-flex; gap: 28px; align-items: center; }
.marquee__t i { color: var(--acc); font-style: normal; font-size: .8em; }
@keyframes mq { to { transform: translateX(-50%); } }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 70px; }
  .hero__copy { order: 0; }
  .stage { margin-inline-end: 0; }
}

/* ------------------------------------------------------------ SECTIONS */
.sec { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.sec--alt { background: var(--bg2); }
.sec--tight { padding: 0 0 clamp(72px, 10vw, 110px); }
.sec__head { display: grid; gap: 12px; margin-bottom: clamp(30px, 4vw, 48px); }
.sec__head h2, .about h2 { font: 600 clamp(2.3rem, 5.6vw, 3.8rem)/1.02 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
[dir='rtl'] .sec__head h2, [dir='rtl'] .about h2 { font-family: var(--serif); font-weight: 700; line-height: 1.3; }
.sec__head p:not(.kicker) { color: var(--mute); max-width: 54ch; }

/* picks rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(214px, 66vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 22px; scrollbar-width: thin; scrollbar-color: var(--acc) transparent; }
.rail .card { scroll-snap-align: start; }
@media (min-width: 900px) { .rail { grid-auto-columns: minmax(270px, 300px); gap: 24px; } }

/* steps */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step { position: relative; overflow: hidden; padding: 30px 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--e); }
.step:hover { border-color: rgba(255, 122, 89, .5); transform: translateY(-4px); }
.step__n { display: block; font: 600 4.6rem/.9 var(--serif); color: transparent; -webkit-text-stroke: 1.2px var(--acc); margin-bottom: 18px; }
.step h3 { font: 600 1.5rem/1.15 var(--serif); margin-bottom: 8px; }
[dir='rtl'] .step h3 { font-family: var(--serif); font-weight: 700; }
.step p { color: var(--mute); font-size: .95rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ----------------------------------------------------------- SHOP TOOLS */
.tools { display: grid; gap: 14px; margin-bottom: 14px; }
.search { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; color: var(--mute); }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242, 196, 109, .12); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: 0; color: var(--ink); font-size: 1rem; }
.search input::placeholder { color: var(--mute); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 11px 17px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: .86rem; white-space: nowrap; transition: all .35s var(--e); }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip--sale { color: var(--acc); }
.chip--sale[aria-pressed='true'] { background: var(--acc); color: #1a0f0b; border-color: var(--acc); }
.count { margin: 16px 0 22px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
@media (min-width: 760px) { .tools { grid-template-columns: minmax(0, 360px) 1fr; align-items: center; gap: 26px; } }

/* ---------------------------------------------------- PRODUCT FRAME  */
/* Every product photo sits in the same frame: a soft blurred copy of the
   photo fills the background, the full photo sits inside, nothing is cut. */
.frame { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #1b2030; isolation: isolate; }
.frame::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .38)); }
.frame__bg { position: absolute; inset: -12%; z-index: 0; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: blur(24px) saturate(1.25) brightness(.62); transform: scale(1.05); }
.frame__img { position: absolute; z-index: 1; inset: 6% 10%; width: 80%; height: 88%; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .55)); transition: transform .9s var(--e); }
.frame--fill .frame__img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }

/* ------------------------------------------------------------ PRODUCT CARD */
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .55s var(--e), border-color .4s, box-shadow .55s var(--e);
}
.card:hover { border-color: rgba(255, 122, 89, .45); box-shadow: 0 34px 60px -32px rgba(0, 0, 0, .85); }
.card:hover .frame__img { transform: scale(1.06); }
.card.reveal.in:hover { transform: translateY(-6px); }
.card__img { position: relative; display: block; width: 100%; }
.card__img .frame { height: auto; aspect-ratio: 4 / 5; }
.card__b { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 13px 14px 14px; }
.card__cat { font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.card__n { font: 600 1.06rem/1.25 var(--serif); min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[dir='rtl'] .card__n { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; }
.card__pr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; margin-top: 2px; }
.pr { font-weight: 800; font-size: .98rem; }
.pr-old { color: var(--mute); font-size: .78rem; }
.card__btns { display: grid; grid-template-columns: 1fr 46px; gap: 8px; margin-top: auto; padding-top: 12px; }
.btn-add {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px;
  border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 800; font-size: .86rem;
  transition: background .3s, transform .3s var(--e);
}
.btn-add:hover { background: var(--acc); transform: translateY(-1px); }
.btn-add:active { transform: scale(.97); }
.btn-add.is-in { background: var(--acc); color: #1a0f0b; }
.btn-add:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-add .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.qn { font-style: normal; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--bg); color: var(--ink); font-size: .74rem; line-height: 22px; text-align: center; }
.btn-wa { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--wa); color: #04210d; transition: transform .35s var(--e); }
.btn-wa:hover { transform: scale(1.1) rotate(-8deg); }
.btn-wa .ic { width: 22px; height: 22px; }
.btn-wa.is-off { background: #262b37; color: var(--mute); }
.tag { position: absolute; z-index: 3; top: 12px; inset-inline-start: 12px; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tag.gold { background: var(--gold); color: #1a1405; }
.tag.out { background: #2a2f3b; color: var(--ink); }
.disc { position: absolute; z-index: 3; top: 12px; inset-inline-end: 12px; padding: 6px 10px; border-radius: 999px; background: var(--acc); color: #1a0f0b; font-weight: 800; font-size: .74rem; }
.card--rail { min-height: 100%; }

/* ---------------------------------------------------------- GRID */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
.grid .card__n { font-size: .98rem; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.empty-state { grid-column: 1 / -1; padding: 60px 10px; text-align: center; color: var(--mute); }

/* -------------------------------------------------------------- NUMBERS */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); }
.stat { display: grid; gap: 8px; padding: 28px 22px; background: var(--bg2); }
.stat b { font: 600 clamp(2.6rem, 6vw, 3.6rem)/1 var(--serif); color: var(--gold); }
.stat span { color: var(--mute); font-size: .9rem; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------- ABOUT */
.about { display: grid; gap: 50px; align-items: center; }
.about__p { margin-top: 20px; max-width: 58ch; color: var(--mute); font-size: 1.04rem; }
.collage { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1.05; margin-inline: auto; }
.collage .frame { position: absolute; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 34px 60px -28px #000; }
.collage .frame:nth-child(1) { inset-inline-start: 0; top: 0; width: 56%; height: 66%; rotate: -3deg; }
.collage .frame:nth-child(2) { inset-inline-end: 0; top: 14%; width: 44%; height: 52%; rotate: 4deg; }
.collage .frame:nth-child(3) { inset-inline-start: 18%; bottom: 0; width: 48%; height: 44%; rotate: -1deg; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* -------------------------------------------------------------- VISIT */
.visit { display: grid; gap: 14px; }
.vcard { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--e); }
.vcard > .ic { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.vcard h3 { font: 600 1.3rem/1.2 var(--serif); margin-bottom: 6px; }
[dir='rtl'] .vcard h3 { font-family: var(--serif); font-weight: 700; }
.vcard p { color: var(--mute); white-space: pre-line; font-size: .95rem; margin-bottom: 8px; }
a.vcard:hover { border-color: #25d366; transform: translateY(-4px); }
a.vcard .ic--wa { width: 30px; height: 30px; color: var(--wa); }
@media (min-width: 760px) { .visit { grid-template-columns: repeat(2, 1fr); } #waCard { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ FOOTER */
.foot { border-top: 1px solid var(--line); padding: 56px 0 130px; background: var(--bg); overflow: hidden; }
.foot__big { font: 600 clamp(3.4rem, 17vw, 12rem)/.9 var(--serif); font-style: italic; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 122, 89, .5); user-select: none; }
[dir='rtl'] .foot__big { font-family: var(--serif); font-style: normal; }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--mute); font-size: .86rem; }
.foot__r { display: inline-flex; gap: 16px; align-items: center; }
.foot__r a { color: var(--gold); font-weight: 800; }

/* ------------------------------------------------ FLOATING WA + CART BAR */
.wa-float {
  position: fixed; z-index: 70; inset-inline-end: 18px; bottom: 22px; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #04210d;
  box-shadow: 0 18px 38px -10px rgba(37, 211, 102, .8);
  transition: opacity .35s, transform .35s var(--e);
  animation: floatIn .9s var(--e) 3s backwards;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.6s infinite; }
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(40px) scale(.6); } }
@media (max-width: 899px) { body.has-cart .wa-float { opacity: 0; pointer-events: none; transform: scale(.5); } }

.cartbar {
  position: fixed; z-index: 75; inset-inline: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 9px 9px 20px; border-radius: 999px; background: var(--ink); color: var(--bg);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .85); transform: translateY(160%); transition: transform .6s var(--e);
}
.cartbar.is-on { transform: none; }
.cartbar b { display: block; font-size: .92rem; line-height: 1.2; }
.cartbar span { font-size: .8rem; opacity: .7; font-weight: 700; }
.cartbar .btn { min-height: 46px; padding: 0 20px; }
@media (min-width: 900px) { .cartbar { inset-inline: 24px auto; width: 380px; bottom: 24px; } }

/* ----------------------------------------------- SCRIM / DRAWER / MODAL */
#scrim { position: fixed; inset: 0; z-index: 90; background: rgba(5, 6, 9, .62); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .45s; }
#scrim.is-on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 100; top: 0; bottom: 0; inset-inline-end: 0; width: min(100%, 440px);
  display: flex; flex-direction: column; background: var(--bg2); border-inline-start: 1px solid var(--line);
  transform: translateX(105%); visibility: hidden; transition: transform .6s var(--e), visibility .6s;
}
[dir='rtl'] .drawer { transform: translateX(-105%); }
.drawer.is-on { transform: none; visibility: visible; }
.dhead { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.dhead h2 { font: 600 1.8rem/1 var(--serif); }
[dir='rtl'] .dhead h2 { font-family: var(--serif); font-weight: 700; }
.free { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.free p { display: flex; align-items: center; gap: 10px; }
.free .ic { color: var(--gold); width: 20px; height: 20px; }
.bar { height: 6px; margin-top: 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--acc), var(--gold)); transition: width .7s var(--e); }
.dbody { flex: 1; overflow-y: auto; padding: 4px 20px; overscroll-behavior: contain; }
.lines { display: grid; }
.line { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: bubIn .45s var(--e) both; }
.line__img { width: 74px; }
.line__img .frame { height: auto; aspect-ratio: 4 / 5; border-radius: 12px; }
.line__i { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.line__n { font: 600 1.02rem/1.25 var(--serif); }
[dir='rtl'] .line__n { font-family: var(--serif); font-weight: 700; }
.line__u { color: var(--mute); font-size: .84rem; margin-top: 2px; }
.qty { display: inline-flex; align-items: center; margin-top: 10px; border-radius: 999px; border: 1px solid var(--line); overflow: hidden; }
.qty button { display: grid; place-items: center; width: 38px; height: 36px; transition: background .25s; }
.qty button:hover { background: var(--card); color: var(--gold); }
.qty .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.qty output { min-width: 30px; text-align: center; font-weight: 800; }
.qty--lg button { width: 48px; height: 50px; }
.line__r { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; text-align: end; }
.line__r b { font-weight: 800; font-size: .95rem; }
.rm { color: var(--mute); padding: 6px; transition: color .25s; }
.rm:hover { color: var(--acc); }
.rm .ic { width: 18px; height: 18px; }
.dempty { display: grid; justify-items: center; gap: 12px; padding: 56px 10px; text-align: center; color: var(--mute); }
.dempty h3 { font: 600 1.5rem/1.3 var(--serif); color: var(--ink); max-width: 30ch; }
.dfoot { display: grid; gap: 10px; padding: 16px 20px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.dfoot:empty { display: none; }
.sum { display: flex; justify-content: space-between; align-items: baseline; color: var(--mute); }
.sum strong { font: 600 1.9rem/1 var(--serif); color: var(--ink); }
[dir='rtl'] .sum strong { font-family: var(--serif); font-weight: 700; }
.hint { text-align: center; font-size: .78rem; color: var(--mute); }
.dfoot .link { justify-self: center; color: var(--mute); font-size: .86rem; font-weight: 600; }

.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: end center; pointer-events: none; visibility: hidden; transition: visibility .65s; }
.modal.is-on { pointer-events: auto; visibility: visible; }
.modal__box {
  position: relative; width: min(100%, 940px); max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  display: grid; background: var(--bg2); border: 1px solid var(--line); border-radius: 28px 28px 0 0;
  transform: translateY(105%); transition: transform .65s var(--e);
}
.modal.is-on .modal__box { transform: none; }
.modal__img .frame { height: auto; aspect-ratio: 4 / 4.6; }
.modal__info { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 30px; }
.modal__info h2 { font: 600 clamp(2rem, 4.4vw, 2.8rem)/1.08 var(--serif); padding-inline-end: 40px; }
[dir='rtl'] .modal__info h2 { font-family: var(--serif); font-weight: 700; line-height: 1.35; }
.modal__info .pr { font-size: 1.3rem; }
.modal__d { color: var(--mute); }
.modal__buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.modal__buy .btn { flex: 1; }
.soldnote { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.modal__x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 4; background: var(--bg); }
@media (min-width: 760px) {
  .modal { place-items: center; }
  .modal__box { grid-template-columns: 1fr 1fr; border-radius: 28px; }
  .modal__img .frame { height: 100%; aspect-ratio: auto; min-height: 520px; }
  .modal__info { padding: 42px 38px; justify-content: center; }
}

/* -------------------------------------------------------------- TOAST */
.toast {
  position: fixed; z-index: 200; top: 80px; inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 999px; background: var(--gold); color: #1a1405; font-weight: 700; font-size: .9rem;
  transform: translateY(-170%); opacity: 0; pointer-events: none; transition: transform .55s var(--e), opacity .4s;
}
.toast.show { transform: none; opacity: 1; }
.toast.is-err { background: var(--acc); color: #1a0f0b; }

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