/* ============================================================
   SMILE — Luxury × Buzz  |  mobile-first, RTL
   ============================================================ */
:root {
  /* 8pt spacing scale (UI/UX Pro Max · density 4 = standard) */
  --s-1: 4px; --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px;
  --cream: #f7f2ea;
  --cream-2: #efe6d8;
  --paper: #fffdf9;
  --ink: #1b1714;
  --ink-2: #4a423b;
  --muted: #6f655c; /* 5:1 on cream (WCAG AA) */
  --line: rgba(27, 23, 20, 0.08);
  --gold: #b8924a;
  --gold-2: #d9b978;
  --gold-soft: rgba(184, 146, 74, 0.14);
  --red: #d9463e;
  --red-soft: rgba(217, 70, 62, 0.12);
  --green: #2e7d5b;
  --white: #ffffff;
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 26px;
  --shadow: 0 10px 30px -12px rgba(27, 23, 20, 0.25);
  --shadow-lg: 0 30px 60px -20px rgba(27, 23, 20, 0.45);
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-body: "Tajawal", "Inter", system-ui, sans-serif;
  --font-display: "Aref Ruqaa", "Amiri", serif;
  --font-latin: "Inter", "Tajawal", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + var(--safe-b));
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.num { font-family: var(--font-latin); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hide { display: none !important; }
body.locked { overflow: hidden; }

/* ---------- App frame ---------- */
.app { max-width: 720px; margin: 0 auto; min-height: 100dvh; background: var(--cream); position: relative; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 760px) {
  body { background: radial-gradient(1200px 600px at 50% -10%, #e9dcc7, #d9cbb5 60%, #cbbca6); }
}

/* ---------- Announcement ticker ---------- */
.ticker { background: var(--ink); color: var(--cream); font-size: 12px; height: 30px; overflow: hidden; position: relative; contain: paint; direction: ltr; }
.ticker__track { display: flex; gap: 40px; white-space: nowrap; align-items: center; height: 100%; padding-inline: 24px; animation: ticker 22s linear infinite; width: max-content; }
.ticker__track span { display: inline-flex; align-items: center; gap: 8px; }
.ticker__track b { color: var(--gold-2); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(247, 242, 234, 0.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.scrolled { border-bottom-color: var(--line); }
.header__row { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; height: 64px; padding-inline: 16px; }
.logo { text-align: center; line-height: 1; }
.logo__mark { font-family: "Cormorant Garamond", "Times New Roman", serif; font-weight: 600; letter-spacing: .16em; font-size: 24px; line-height: 1; color: var(--ink); display: block; }
.logo__mark small { display: block; letter-spacing: .5em; font-size: 8px; color: var(--gold); margin-top: 4px; font-weight: 600; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; position: relative; transition: background .2s, transform .15s; }
.icon-btn:active { transform: scale(.9); background: var(--gold-soft); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge-count { position: absolute; top: 5px; inset-inline-start: 24px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding-inline: 4px; transform: scale(0); transition: transform .3s var(--ease); }
.badge-count.show { transform: scale(1); }
.badge-count.pop { animation: pop .4s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* search bar */
.search { padding: 0 16px 8px; }
.search__box { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; height: 42px; padding-inline: 16px; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.search__box svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 1.8; }
.search__box input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.search__box input::placeholder { color: var(--muted); }
.search__hot { font-size: 11px; color: var(--gold); background: var(--gold-soft); border-radius: 999px; padding: 4px 8px; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 460px; overflow: hidden; background: linear-gradient(180deg, #f7f2ea 0%, #f1e8d9 60%, #f7f2ea 100%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero__glow { position: absolute; left: 50%; top: 42%; width: 420px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(217, 185, 120, .45), transparent 70%); filter: blur(20px); pointer-events: none; }
.hero__copy { position: absolute; inset-inline: 0; bottom: 26px; text-align: center; padding-inline: 24px; pointer-events: none; }
.hero__copy > * { pointer-events: auto; }
.hero__eyebrow { font-size: 12px; letter-spacing: .25em; color: var(--gold); font-weight: 700; margin: 0 0 8px; }
.hero__title { font-family: var(--font-display); font-size: clamp(38px, 11vw, 60px); line-height: 1.15; margin: 0; color: var(--ink); text-wrap: balance; }
.hero__sub { margin: 8px 0 16px; color: var(--ink-2); font-size: 15px; }
.hero__cta { display: inline-flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding-inline: 24px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .15s var(--ease), box-shadow .2s, background .2s; will-change: transform; }
.btn:active { transform: scale(.96); }
.btn { white-space: nowrap; }
.btn > svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn--ink { background: var(--ink); color: var(--cream); box-shadow: 0 12px 24px -12px rgba(27,23,20,.6); }
.btn--ghost { background: rgba(255,255,255,.7); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff; box-shadow: 0 12px 24px -12px rgba(184,146,74,.8); }
.btn--red { background: var(--red); color: #fff; }
.btn--sm { height: 38px; padding-inline: 16px; font-size: 13px; }
.btn--block { width: 100%; }
.hero__hint { position: absolute; top: 14px; inset-inline-end: 14px; font-size: 11px; color: var(--ink-2); background: rgba(255,255,255,.65); backdrop-filter: blur(8px); border-radius: 999px; padding: 8px 8px; display: flex; align-items: center; gap: 8px; }
.hero__hint i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1;} 50% { transform: scale(1.6); opacity: .5; } }
.hero__live { position: absolute; top: 14px; inset-inline-start: 14px; font-size: 11px; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 8px 8px; display: flex; align-items: center; gap: 8px; }
.hero__live i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 0 0 rgba(255,90,90,.6); animation: ring 1.5s infinite; }
@keyframes ring { to { box-shadow: 0 0 0 8px rgba(255,90,90,0); } }

/* ---------- Sections ---------- */
.section { padding: 24px 16px 8px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; gap: 8px; }
.section__title { font-size: 20px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.section__title .kicker { font-size: 11px; letter-spacing: .2em; color: var(--gold); font-weight: 700; display: block; margin-bottom: 2px; }
.section__link { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px 16px; }
.trust__item { background: var(--white); border-radius: var(--r-sm); padding: 8px 8px; text-align: center; font-size: 11px; color: var(--ink-2); line-height: 1.35; border: 1px solid var(--line); }
.trust__item b { display: block; font-size: 12px; color: var(--ink); }
.trust__item svg { width: 20px; height: 20px; margin: 0 auto 8px; stroke: var(--gold); fill: none; stroke-width: 1.6; }

/* ---------- Flash sale ---------- */
.flash { margin: 8px 16px 0; background: linear-gradient(135deg, #1b1714 0%, #2d2420 100%); color: var(--cream); border-radius: var(--r-lg); padding: 16px 16px 16px; position: relative; overflow: hidden; }
.flash::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 260px; height: 260px; background: radial-gradient(closest-side, rgba(217,185,120,.35), transparent); pointer-events: none; }
.flash__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.flash__title { font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; margin: 0; }
.flash__title em { font-style: normal; color: var(--gold-2); }
.timer { display: flex; gap: 4px; align-items: center; direction: ltr; }
.timer span { background: var(--cream); color: var(--ink); font-family: var(--font-latin); font-weight: 700; font-size: 14px; min-width: 32px; height: 28px; display: grid; place-items: center; border-radius: 7px; }
.timer i { font-style: normal; color: var(--gold-2); font-weight: 700; }
.hscroll { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; margin-inline: -16px; padding-inline: 16px; }
.hscroll::-webkit-scrollbar { display: none; }
.flash__card { flex: 0 0 118px; scroll-snap-align: start; background: var(--white); color: var(--ink); border-radius: var(--r); padding: 8px; position: relative; }
.flash__card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.flash__price { font-weight: 800; font-size: 14px; margin-top: 8px; display: flex; align-items: baseline; gap: 4px; }
.flash__price s { color: var(--muted); font-weight: 400; font-size: 11px; }
.flash__off { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 6px; }
.stock { margin-top: 8px; height: 6px; border-radius: 3px; background: var(--cream-2); overflow: hidden; position: relative; }
.stock i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--red), #f08a4b); border-radius: 3px; }
.stock-txt { font-size: 10px; color: var(--red); margin-top: 4px; font-weight: 700; }

/* ---------- Coupon (one, not fatigue) ---------- */
.coupon { margin: 16px 16px 0; display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 8px; align-items: center; background: var(--white); border: 1px dashed var(--gold); border-radius: var(--r); padding: 16px 16px; }
.coupon__row { grid-column: 2; display: flex; align-items: center; gap: 8px; }
.coupon__row .btn { margin-inline-start: auto; }
.coupon__code { font-family: var(--font-latin); font-weight: 800; letter-spacing: .1em; background: var(--gold-soft); color: var(--gold); padding: 8px 16px; border-radius: 10px; }
.coupon__txt { flex: 1; font-size: 13px; line-height: 1.4; }
.coupon__txt b { display: block; font-size: 14px; }
.coupon .btn { flex-shrink: 0; }
.coupon.claimed { border-style: solid; border-color: var(--green); }
.coupon.claimed .btn { background: var(--green); color: #fff; }

/* ---------- Categories / filters ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 16px 8px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 38px; padding-inline: 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: all .25s var(--ease); scroll-snap-align: start; }
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip--filter svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 8px; font-size: 13px; color: var(--muted); }
.filter-bar button { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.filter-bar svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---------- Trending row ---------- */
.trend { padding: 4px 16px 0; }
.trend__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.trend__row::-webkit-scrollbar { display: none; }
.trend__item { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 8px; font-size: 13px; font-weight: 600; }
.trend__item img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.trend__item small { color: var(--red); font-weight: 700; font-size: 11px; display: block; }

/* ---------- Product grid (3 columns) ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 16px 24px; }
.card { background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); position: relative; opacity: 0; transform: translateY(18px); animation: rise .6s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 45ms); transition: transform .2s var(--ease), box-shadow .2s; }
.card:active { transform: scale(.97); }
@keyframes rise { to { opacity: 1; transform: none; } }
.card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge { position: absolute; top: 6px; inset-inline-start: 6px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 6px; z-index: 1; }
.card__badge--new { background: var(--ink); }
.card__badge--video { background: rgba(27,23,20,.7); backdrop-filter: blur(4px); display: inline-flex; align-items: center; gap: 4px; }
.card__badge--video svg { width: 9px; height: 9px; fill: #fff; }
.card__wish { position: absolute; top: 4px; inset-inline-end: 4px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.85); z-index: 1; transition: transform .2s var(--ease); }
.card__wish svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 1.8; transition: fill .2s, stroke .2s; }
.card__wish.on svg { fill: var(--red); stroke: var(--red); }
.card__wish.on { animation: pop .4s var(--ease); }
.card__body { padding: 8px 8px 8px; }
.card__name { font-size: 12px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; color: var(--ink-2); }
.card__price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.card__price b { font-size: 14px; font-weight: 800; }
.card__price s { font-size: 10px; color: var(--muted); }
.card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; font-size: 10px; color: var(--muted); }
.card__meta .star { color: #e2a30c; }
.card__add { position: absolute; bottom: 6px; inset-inline-end: 6px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; transition: transform .2s var(--ease), background .2s; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.card__add svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.card__add:active { transform: scale(.85); }
.card__add.done { background: var(--green); }
.card__sold { font-size: 9px; color: var(--muted); }
@media (min-width: 560px) {
  .grid { gap: 16px; padding-inline: 16px; }
  .card__name { font-size: 13px; }
  .card__price b { font-size: 16px; }
}

/* ---------- Mosaic reveal (from the reel) ---------- */
.mosaic { padding: 32px 16px 8px; }
.mosaic__stage { position: relative; height: 420px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 8px; perspective: 900px; --px: 0px; --py: 0px; }
.mosaic__tile { border-radius: 14px; overflow: hidden; opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rz)) scale(.6); transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity .8s ease; box-shadow: var(--shadow); }
.mosaic__stage.in .mosaic__tile { opacity: 1; transform: translate(var(--px), var(--py)); animation: floaty 7s ease-in-out infinite alternate; animation-delay: var(--fd); }
@keyframes floaty { from { margin-top: 0; } to { margin-top: -8px; } }
.mosaic__tile:nth-child(6) { display: none; }
@media (min-width: 700px) { .mosaic__stage { grid-template-columns: repeat(4, 1fr); height: 460px; } .mosaic__tile:nth-child(6) { display: block; } }
.mosaic__tile img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__tile:nth-child(1) { grid-row: span 2; }
.mosaic__caption { text-align: center; margin-top: 16px; }
.mosaic__caption h3 { font-family: var(--font-display); font-size: 30px; margin: 0; }
.mosaic__caption p { color: var(--muted); margin: 8px 0 0; font-size: 14px; }

/* ---------- UGC ---------- */
.ugc { padding: 24px 16px 8px; }
.ugc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ugc__item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
.ugc__item img { width: 100%; height: 100%; object-fit: cover; }
.ugc__item span { position: absolute; bottom: 6px; inset-inline-start: 6px; font-size: 10px; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 6px; backdrop-filter: blur(4px); }
.ugc__item .ugc__vid { position: absolute; top: 6px; inset-inline-end: 6px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.5); display: grid; place-items: center; }
.ugc__item .ugc__vid svg { width: 9px; height: 9px; fill: #fff; }

/* ---------- Security / return / geo ---------- */
.assure { margin: 8px 16px 0; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; }
.assure__row { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.assure__row:last-child { border-bottom: 0; }
.assure__row svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.6; flex-shrink: 0; }
.assure__row b { display: block; font-size: 14px; margin-bottom: 2px; }
.assure__row span { color: var(--muted); }
.assure__row .tag { margin-inline-start: auto; font-size: 11px; background: var(--gold-soft); color: var(--gold); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { padding: 24px 16px 24px; text-align: center; color: var(--muted); font-size: 12px; }
.footer .logo__mark { margin-bottom: 8px; }
.footer nav { display: flex; gap: 16px; justify-content: center; margin-bottom: 8px; }

/* ---------- Bottom nav ---------- */
.bottomnav { position: fixed; bottom: 0; inset-inline: 0; z-index: 50; margin: 0 auto; max-width: 720px; height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(255,253,249,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); }
.bottomnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: var(--muted); position: relative; transition: color .2s; }
.bottomnav button.active { color: var(--ink); }
.bottomnav button svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.bottomnav button:active svg { transform: scale(.85); }
.bottomnav button.active::after { content: ""; position: absolute; top: 6px; width: 18px; height: 3px; border-radius: 2px; background: var(--gold); }
.bottomnav .bag-dot { position: absolute; top: 8px; inset-inline-start: calc(50% + 4px); min-width: 16px; height: 16px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding-inline: 4px; transform: scale(0); transition: transform .3s var(--ease); }
.bottomnav .bag-dot.show { transform: scale(1); }

/* ---------- Floating mini-cart (Temu) ---------- */
.fab { position: fixed; z-index: 45; inset-inline-end: 14px; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; box-shadow: var(--shadow-lg); transform: scale(0); transition: transform .35s var(--ease); touch-action: none; }
.fab.show { transform: scale(1); }
.fab svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.fab__n { position: absolute; top: -4px; inset-inline-start: -4px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; border: 2px solid var(--cream); }
.fab__thumbs { position: absolute; inset-inline-end: 64px; top: 50%; transform: translateY(-50%); display: flex; }
.fab__thumbs img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--cream); object-fit: cover; margin-inline-start: -8px; box-shadow: var(--shadow); animation: pop .4s var(--ease); }

/* Fly-to-cart ghost */
.fly { position: fixed; z-index: 100; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-lg); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 84px); transform: translate(-50%, 20px); background: var(--ink); color: var(--cream); padding: 8px 16px; border-radius: 999px; font-size: 13px; z-index: 90; opacity: 0; transition: all .35s var(--ease); pointer-events: none; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); }

/* ============================================================
   PRODUCT VIEW — directional (right / left / center)
   ============================================================ */
.pv { position: fixed; inset: 0; z-index: 70; background: var(--paper); display: flex; flex-direction: column; visibility: hidden; pointer-events: none; will-change: transform, opacity; max-width: 720px; margin: 0 auto; }
.pv.open { visibility: visible; pointer-events: auto; }
.pv__scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 112px; overscroll-behavior: contain; }
.pv__top { position: absolute; top: 0; inset-inline: 0; z-index: 3; display: flex; justify-content: space-between; padding: 16px; pointer-events: none; }
.pv__top .icon-btn { pointer-events: auto; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.pv__gallery { position: relative; background: var(--cream-2); }
.pv__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; max-height: 62dvh; }
.pv__track::-webkit-scrollbar { display: none; }
.pv__slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.pv__slide img, .pv__slide video { width: 100%; height: 100%; object-fit: cover; }
.pv__slide--video { background: #000; }
.pv__slide--video video { object-fit: cover; }
.pv__vidtag { position: absolute; bottom: 14px; inset-inline-start: 14px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; padding: 4px 8px; border-radius: 6px; backdrop-filter: blur(4px); }
.pv__dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.pv__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.6); transition: all .3s var(--ease); }
.pv__dots i.on { width: 18px; background: #fff; }
.pv__3d { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; padding: 8px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; box-shadow: var(--shadow); }
.pv__3d svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.pv__body { padding: 16px 16px 0; }
.pv__body.from-bottom { animation: slideUp .55s var(--ease-out) both; animation-delay: .1s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.pv__brand { font-size: 11px; letter-spacing: .2em; color: var(--gold); font-weight: 700; }
.pv__name { font-size: 20px; font-weight: 800; margin: 4px 0 8px; line-height: 1.3; }
.pv__rating { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.pv__rating b { color: var(--ink); }
.pv__rating .star { color: #e2a30c; letter-spacing: -1px; }
.pv__price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 4px; }
.pv__price b { font-size: 26px; font-weight: 800; }
.pv__price s { color: var(--muted); }
.pv__price .off { background: var(--red-soft); color: var(--red); font-weight: 800; font-size: 12px; padding: 4px 8px; border-radius: 6px; }
.pv__urgency { font-size: 12px; color: var(--red); font-weight: 700; display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.upp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.upp__item { background: var(--cream); border-radius: 12px; padding: 8px 8px; text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.upp__item svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.7; margin: 0 auto 4px; }
.pv__opts { margin: 8px 0; }
.pv__opts h4 { font-size: 13px; margin: 0 0 8px; display: flex; justify-content: space-between; color: var(--ink-2); }
.pv__opts h4 a { color: var(--gold); font-weight: 600; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; padding: 2px; transition: border-color .2s; }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; }
.swatch.on { border-color: var(--ink); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 46px; height: 40px; padding-inline: 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-family: var(--font-latin); font-weight: 600; transition: all .2s; }
.size.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.size.low { position: relative; }
.size.low::after { content: "قليل"; position: absolute; top: -7px; inset-inline-end: -4px; font-family: var(--font-body); font-size: 9px; background: var(--red); color: #fff; padding: 1px 4px; border-radius: 6px; }
.ship { margin: 16px 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ship__row { display: flex; align-items: center; gap: 8px; padding: 16px 16px; font-size: 13px; border-bottom: 1px solid var(--line); }
.ship__row:last-child { border-bottom: 0; }
.ship__row svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.7; flex-shrink: 0; }
.ship__row b { color: var(--ink); }
.ship__row .chg { margin-inline-start: auto; color: var(--gold); font-weight: 600; font-size: 12px; }
.elig { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.elig span { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: rgba(46,125,91,.12); color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.elig span svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.pv__section { margin: 24px 0 0; }
.pv__section h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: baseline; }
.pv__section h3 small { font-weight: 500; color: var(--muted); font-size: 12px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 8px; }
.review__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.review__head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.review__head b { font-size: 13px; display: block; }
.review__head small { color: var(--muted); font-size: 11px; }
.review__head .star { margin-inline-start: auto; color: #e2a30c; font-size: 12px; }
.review p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.review__pics { display: flex; gap: 8px; margin-top: 8px; }
.review__pics img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.review__tag { display: inline-block; font-size: 10px; background: var(--cream); color: var(--muted); padding: 2px 8px; border-radius: 6px; margin-top: 8px; }
.rating-bars { display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: center; background: var(--cream); border-radius: var(--r); padding: 16px; margin-bottom: 8px; }
.rating-bars .big { font-family: var(--font-latin); font-size: 34px; font-weight: 800; text-align: center; line-height: 1; }
.rating-bars .big small { display: block; font-size: 11px; color: var(--muted); font-family: var(--font-body); margin-top: 4px; }
.rbar { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--muted); margin: 2px 0; }
.rbar i { flex: 1; height: 5px; border-radius: 3px; background: var(--cream-2); position: relative; overflow: hidden; }
.rbar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #e2a30c; border-radius: 3px; }
.mini-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; padding-bottom: 8px; }
.mini-row::-webkit-scrollbar { display: none; }
.mini { flex: 0 0 120px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mini img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mini div { padding: 8px; font-size: 12px; }
.mini b { display: block; font-size: 13px; margin-top: 2px; }
.mini .mini__name { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.bundle { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 8px; }
.bundle img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.bundle .plus { color: var(--muted); font-weight: 800; }
.bundle__txt { flex: 1; font-size: 12px; margin-inline-start: 4px; }
.bundle__txt b { display: block; font-size: 14px; }
.bundle__txt em { font-style: normal; color: var(--green); font-weight: 700; }
.pv__cta { position: absolute; bottom: 0; inset-inline: 0; padding: 10px 16px calc(12px + var(--safe-b)); background: rgba(255,253,249,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; z-index: 5; }
.pv__cta .icon-btn { background: var(--white); border: 1px solid var(--line); flex-shrink: 0; width: 48px; height: 48px; }
.pv__cta .icon-btn.on svg { fill: var(--red); stroke: var(--red); }
.pv__cta .btn { flex: 1; }
.pv__cta .btn--buy { flex: 0 0 auto; }
.pv__cta .price-mini { font-family: var(--font-latin); font-weight: 800; font-size: 16px; }

/* directional enter/exit animations */
.pv.enter-right { animation: pvRight .55s var(--ease-out) both; }
.pv.enter-left { animation: pvLeft .55s var(--ease-out) both; }
.pv.enter-center { animation: pvCenter .55s var(--ease-out) both; }
.pv.leave-right { animation: pvRightOut .4s var(--ease) both; }
.pv.leave-left { animation: pvLeftOut .4s var(--ease) both; }
.pv.leave-center { animation: pvCenterOut .4s var(--ease) both; }
@keyframes pvRightOut { from { transform: none; } to { transform: translateX(100%); } }
@keyframes pvLeftOut { from { transform: none; } to { transform: translateX(-100%); } }
@keyframes pvCenterOut { from { transform: none; border-radius: 0; } to { transform: translateY(100%); border-radius: 30px 30px 0 0; } }
@keyframes pvRight { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pvLeft { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes pvCenter { from { transform: translateY(100%); border-radius: 30px 30px 0 0; } to { transform: none; border-radius: 0; } }
.pv--dragging { transition: none; }
.pv__grab { position: absolute; top: 64px; inset-inline: 0; height: 150px; z-index: 2; touch-action: pan-y; }
.pv__grab::before { content: ""; position: absolute; top: -52px; left: 50%; transform: translateX(-50%); width: 44px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.85); box-shadow: 0 1px 3px rgba(0,0,0,.25); }

/* FLIP ghost image */
.flip-ghost { position: fixed; z-index: 80; object-fit: cover; border-radius: 16px; pointer-events: none; will-change: transform, width, height, top, left, border-radius; }

/* 360 viewer overlay */
.viewer3d { position: fixed; inset: 0; z-index: 85; padding: 0 16px; background: rgba(27,23,20,.92); backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.viewer3d.open { opacity: 1; pointer-events: auto; }
.viewer3d canvas { width: min(92vw, 520px) !important; height: min(70dvh, 560px) !important; touch-action: none; }
.viewer3d p { color: var(--cream); font-size: 13px; margin: 8px 0 0; }
.viewer3d .icon-btn { position: absolute; top: 14px; inset-inline-end: 14px; color: var(--cream); background: rgba(255,255,255,.12); }

/* ============================================================
   Sheets (mini-cart, login, filter, ship-to)
   ============================================================ */
.scrim { position: fixed; inset: 0; z-index: 72; background: rgba(27,23,20,.45); opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
.scrim.show { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; bottom: 0; inset-inline: 0; margin: 0 auto; max-width: 720px; z-index: 75; background: var(--paper); border-radius: 26px 26px 0 0; transform: translateY(calc(100% + 80px)); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s linear .45s; max-height: 88dvh; display: flex; flex-direction: column; padding-bottom: var(--safe-b); box-shadow: var(--shadow-lg); }
.sheet.open { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
.sheet__handle { width: 40px; height: 5px; border-radius: 3px; background: var(--cream-2); margin: 8px auto 4px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 8px; }
.sheet__head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.sheet__body { overflow-y: auto; padding: 0 16px 16px; flex: 1; }
.sheet__foot { padding: 8px 16px 16px; border-top: 1px solid var(--line); }

/* mini cart */
.freeship { font-size: 12px; margin-bottom: 16px; }
.freeship__bar { height: 8px; border-radius: 4px; background: var(--cream-2); overflow: hidden; margin-top: 8px; }
.freeship__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 4px; transition: width .6s var(--ease); }
.freeship b { color: var(--gold); }
.cartitem { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cartitem img { width: 70px; height: 84px; border-radius: 12px; object-fit: cover; }
.cartitem__info { flex: 1; font-size: 13px; }
.cartitem__info b { display: block; font-size: 14px; margin-bottom: 2px; }
.cartitem__info small { color: var(--muted); display: block; }
.cartitem__price { font-weight: 800; margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 32px; overflow: hidden; direction: ltr; }
.qty button { width: 32px; height: 100%; font-size: 18px; font-weight: 700; display: grid; place-items: center; }
.qty span { min-width: 24px; text-align: center; font-family: var(--font-latin); font-weight: 700; }
.cart-empty { text-align: center; padding: 32px 8px; color: var(--muted); }
.cart-empty svg { width: 48px; height: 48px; stroke: var(--gold); fill: none; stroke-width: 1.4; margin: 0 auto 8px; }
.sum { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.sum b { font-size: 18px; }
.sum .save { color: var(--green); font-weight: 700; font-size: 12px; }
.sst { display: flex; justify-content: center; gap: 16px; font-size: 11px; color: var(--muted); margin: 8px 0 0; align-items: center; }
.sst svg { width: 14px; height: 14px; stroke: var(--green); fill: none; stroke-width: 2; }

/* login (one-tap) */
.login__hero { text-align: center; padding: 8px 0 16px; }
.login__hero h3 { font-family: var(--font-display); font-size: 28px; margin: 0 0 4px; }
.login__hero p { color: var(--muted); font-size: 13px; margin: 0; }
.sso { display: flex; flex-direction: column; gap: 8px; }
.sso button { height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; transition: transform .15s var(--ease); }
.sso button:active { transform: scale(.97); }
.sso button svg { width: 20px; height: 20px; }
.sso button.google { }
.sso button.apple { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.sso .or { text-align: center; color: var(--muted); font-size: 12px; position: relative; }
.phone-row { display: flex; gap: 8px; }
.phone-row .cc { flex: 0 0 82px; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; font-family: var(--font-latin); font-weight: 700; }
.phone-row input { flex: 1; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); padding-inline: 16px; font: inherit; font-size: 16px; direction: ltr; text-align: left; outline: none; }
.phone-row input:focus { border-color: var(--gold); }
.login__note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 8px; line-height: 1.5; }
.login__perks { display: flex; gap: 8px; justify-content: center; margin: 8px 0 16px; flex-wrap: wrap; }
.login__perks span { font-size: 11px; background: var(--gold-soft); color: var(--gold); padding: 4px 8px; border-radius: 999px; font-weight: 700; }

/* filter sheet */
.fgroup { margin-bottom: 16px; }
.fgroup h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.fgroup .chips { padding: 0; flex-wrap: wrap; overflow: visible; }
.range { display: flex; align-items: center; gap: 8px; font-family: var(--font-latin); font-size: 13px; direction: ltr; }
.range input[type=range] { flex: 1; accent-color: var(--gold); }

/* ship-to sheet */
.geo-list button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 16px 8px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: start; }
.geo-list button small { margin-inline-start: auto; color: var(--muted); font-size: 12px; }
.geo-list button.on { color: var(--gold); font-weight: 700; }
.geo-detect { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green); padding: 8px 8px 4px; font-weight: 600; }
.geo-detect svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* profile sheet */
.profile { text-align: center; padding: 8px 0 16px; }
.profile__avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 8px; background: linear-gradient(135deg, var(--gold), var(--gold-2)); display: grid; place-items: center; color: #fff; font-family: var(--font-latin); font-size: 26px; font-weight: 800; }
.profile__tier { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.profile__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.profile__points div { background: var(--cream); border-radius: 14px; padding: 16px 8px; font-size: 11px; color: var(--muted); }
.profile__points b { display: block; font-size: 18px; color: var(--ink); font-family: var(--font-latin); }
.menu button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 16px 8px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: start; }
.menu button svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.7; }
.menu button span:last-child { margin-inline-start: auto; color: var(--muted); font-size: 12px; }

/* search overlay */
.search-ov { position: fixed; inset: 0; z-index: 76; background: var(--paper); transform: translateY(100%); transition: transform .4s var(--ease-out); display: flex; flex-direction: column; max-width: 720px; margin: 0 auto; }
.search-ov.open { transform: none; }
.search-ov .search { padding: 16px 16px 8px; display: flex; gap: 8px; align-items: center; }
.search-ov .search__box { flex: 1; }
.search-ov__body { padding: 8px 16px; overflow-y: auto; }
.search-ov__body h4 { font-size: 13px; color: var(--muted); margin: 16px 0 8px; font-weight: 600; }
.search-ov__res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* skeleton shimmer for images */
.card__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--cream-2) 0%, #f9f4ec 50%, var(--cream-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.card__media img { position: relative; z-index: 1; opacity: 0; transition: opacity .5s; }
.card__media img.loaded { opacity: 1; }

/* 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; }
}

/* focus */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ============================================================
   3D extras: finger tilt, coverflow, coupon coin
   ============================================================ */
.card, .flash__card { transform-style: preserve-3d; will-change: transform; }
.card:active { transform: none; }
.card.tilting, .flash__card.tilting { transition: transform .08s linear; box-shadow: var(--shadow-lg); z-index: 2; }
.card.tilting .card__media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), transparent 55%); }

.cover { padding: 24px 0 8px; overflow: hidden; }
.cover .section__head { padding-inline: 16px; }
.cover__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px calc(50% - 90px) 24px; perspective: 900px; perspective-origin: 50% 40%; }
.cover__track::-webkit-scrollbar { display: none; }
.cover__item { flex: 0 0 180px; scroll-snap-align: center; transform-style: preserve-3d; transition: transform .25s var(--ease), opacity .25s; background: var(--white); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: start; }
.cover__item.is-center { box-shadow: var(--shadow-lg); }
.cover__img { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.cover__img img { width: 100%; height: 100%; object-fit: cover; }
.cover__sold { position: absolute; bottom: 8px; inset-inline-start: 8px; background: rgba(27,23,20,.75); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 6px; backdrop-filter: blur(4px); }
.cover__meta { padding: 8px 16px 16px; font-size: 12px; color: var(--ink-2); }
.cover__meta span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.cover__meta b { display: block; font-size: 15px; color: var(--ink); margin-top: 2px; white-space: nowrap; }
.cover__hint { text-align: center; font-size: 11px; color: var(--muted); margin-top: -8px; }

.coupon__coin { width: 64px; height: 64px; grid-row: 1 / 3; }

/* ---------- brand mark + inline icons ---------- */
.crest { width: 26px; height: 30px; display: inline-block; color: var(--ink); }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; justify-content: center; color: var(--ink); }
.footer .crest { width: 44px; height: 52px; display: block; margin: 0 auto 8px; }
.footer .logo__mark { font-size: 30px; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ticker__track .ico { color: var(--gold-2); }
.flash__title .ico { color: var(--gold-2); stroke-width: 2; }
.section__title .ico { color: var(--red); }
.trend__item small .ico, .cover__sold .ico, .pv__urgency .ico { stroke-width: 2.2; }
.search__hot .ico { color: var(--red); }
.login__perks .ico { stroke-width: 2.2; }
.freeship .ico { color: var(--gold); }

/* ---------- welcome coupon bubble ---------- */
.bubble-scrim { position: fixed; inset: 0; z-index: 94; background: rgba(27,23,20,.5); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.bubble-scrim.show { opacity: 1; pointer-events: auto; }
.bubble { position: fixed; left: 50%; top: 50%; z-index: 95; width: min(88vw, 340px); background: var(--paper); border-radius: 28px; padding: 24px 24px 16px; text-align: center; box-shadow: var(--shadow-lg); transform: translate(-50%, -50%) scale(.6); opacity: 0; pointer-events: none; transition: transform .55s cubic-bezier(.34,1.56,.64,1), opacity .3s; }
.bubble.show { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.bubble { border: 2px solid var(--gold); box-shadow: 0 0 0 6px rgba(184,146,74,.18), var(--shadow-lg); }
.bubble .crest { width: 56px; height: 66px; display: block; margin: 0 auto 8px; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }
.bubble__x { position: absolute; top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); }
.bubble__x svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2; }
.bubble__kicker { margin: 0; font-size: 11px; letter-spacing: .25em; color: var(--gold); font-weight: 700; }
.bubble__title { font-family: var(--font-display); font-size: 28px; margin: 4px 0 16px; line-height: 1.2; }
.bubble__code { font-family: var(--font-latin); font-weight: 800; font-size: 26px; letter-spacing: .18em; background: var(--gold-soft); color: var(--gold); border: 1px dashed var(--gold); border-radius: 14px; padding: 8px; margin: 0 0 8px; }
.bubble__note { font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.bubble__later { display: block; margin: 8px auto 0; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.hero--static .hero__canvas { display: none; }
.hero--static::before { content: ""; position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1489987707025-afc232f7ea0f?auto=format&fit=crop&w=900&q=70") center/cover; opacity: .35; }

/* ---------- upsell after add-to-bag ---------- */
.upsell__added { display: flex; align-items: center; gap: 16px; background: rgba(46,125,91,.08); border: 1px solid rgba(46,125,91,.25); border-radius: var(--r); padding: 8px 16px; margin-bottom: 16px; }
.upsell__added img { width: 56px; height: 66px; border-radius: 10px; object-fit: cover; }
.upsell__added b { display: block; font-size: 14px; }
.upsell__added small { color: var(--muted); }
.upsell__added .ok { margin-inline-start: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.upsell__added .ok svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.upsell h4 { font-size: 15px; font-weight: 800; margin: 16px 0 8px; display: flex; justify-content: space-between; align-items: baseline; }
.upsell h4 small { color: var(--muted); font-weight: 500; font-size: 12px; }
.mini { position: relative; }
.mini .mini__add { position: absolute; top: 6px; inset-inline-end: 6px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; box-shadow: var(--shadow); }
.mini .mini__add svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.mini .mini__add.done { background: var(--green); }
.viewer3d__again { position: absolute; bottom: calc(24px + var(--safe-b)); left: 50%; transform: translateX(-50%); }
.viewer3d p { position: absolute; bottom: calc(76px + var(--safe-b)); }
/* CTA fits narrow phones */
.pv__cta .btn { padding-inline: 16px; font-size: 14px; min-width: 0; }
.pv__cta .btn--ink { flex: 1; overflow: hidden; }
@media (max-width: 420px) { .pv__cta .price-mini { display: none; } }

.geo-list button svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.7; flex-shrink: 0; }
.sheet__body svg:not(.ico):not([class]) { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   Calm edition — VogaCloset structure · Oysho tone · the reel hero
   ============================================================ */
.usp { display: flex; justify-content: center; gap: 16px; font-size: 11px; color: var(--ink-2); padding: 8px 16px; background: var(--cream-2); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.usp::-webkit-scrollbar { display: none; }
.usp span { display: inline-flex; align-items: center; gap: 4px; }
.usp .ico { color: var(--gold); }
.header__row { grid-template-columns: 132px 1fr 88px; }
@media (max-width: 380px) { .header__row { grid-template-columns: 120px 1fr 80px; } .header__side .icon-btn { width: 40px; } }
.header__side { display: flex; }
.header__side--end { justify-content: flex-end; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 8px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__item { flex-shrink: 0; padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.tabs__item.active { color: var(--ink); border-bottom-color: var(--ink); }
.kicker { font-size: 11px; letter-spacing: .22em; color: var(--gold); font-weight: 700; margin: 0 0 4px; }

/* editorial hero (tiles) */
.ehero { position: relative; display: grid; grid-template-rows: auto auto; background: var(--cream-2); overflow: hidden; }
.ehero__media { position: relative; aspect-ratio: 4 / 5; max-height: 72dvh; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(7, 1fr); gap: 2px; background: var(--cream-2); }
.ehero__media .tile { display: block; background-repeat: no-repeat; opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rz)) scale(.7); transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity .8s ease; }
.ehero__media.in .tile { opacity: 1; transform: none; }
.ehero__copy { padding: 24px 24px 24px; text-align: center; }
.ehero__kicker { font-family: var(--font-latin); font-size: 11px; letter-spacing: .32em; color: var(--muted); margin: 0 0 8px; }
.ehero__title { font-family: var(--font-display); font-size: clamp(34px, 9vw, 52px); line-height: 1.15; margin: 0; text-wrap: balance; }
.ehero__sub { color: var(--ink-2); margin: 8px 0 16px; font-size: 15px; }
@media (min-width: 700px) { .ehero { grid-template-columns: 1.1fr 1fr; grid-template-rows: none; align-items: center; } .ehero__media { max-height: none; aspect-ratio: 4 / 5; } .ehero__copy { text-align: start; padding: 40px; } }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px 16px 8px; }
.cat { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--cream-2); text-align: center; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat span { position: absolute; inset-inline: 6px; bottom: 6px; background: rgba(255,253,249,.92); backdrop-filter: blur(6px); border-radius: 9px; padding: 8px 4px; font-size: 12px; font-weight: 700; color: var(--ink); }

/* offer strip */
.offer { margin: 16px 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px; border-radius: var(--r-lg); background: var(--ink); color: var(--cream); }
.offer__kicker { font-size: 11px; letter-spacing: .25em; color: var(--gold-2); font-weight: 700; }
.offer__title { font-family: var(--font-display); font-size: 30px; margin: 2px 0 4px; line-height: 1.1; }
.offer__sub { margin: 0; font-size: 12px; color: rgba(247,242,234,.75); }
.offer__sub b { color: var(--gold-2); }
.offer__cta { flex-shrink: 0; background: var(--cream); color: var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 13px; }

/* new in row */
.section .hscroll { margin-inline: 0; padding-inline: 0; }
.newcard { flex: 0 0 150px; scroll-snap-align: start; text-align: start; }
.newcard img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: var(--cream-2); margin-bottom: 8px; }
.newcard__b { display: block; font-size: 10px; letter-spacing: .1em; color: var(--muted); font-family: var(--font-latin); }
.newcard__n { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; color: var(--ink-2); margin: 2px 0; }
.newcard b { font-size: 14px; }

/* brands */
.brands__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.brands__row::-webkit-scrollbar { display: none; }
.brand { flex-shrink: 0; font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 18px; letter-spacing: .06em; padding: 16px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }

/* editorial split */
.edit { display: grid; grid-template-columns: 1fr; margin: 24px 16px 0; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.edit__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.edit__txt { padding: 16px 16px 24px; }
.edit__txt h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 8px; }
.edit__txt p { color: var(--ink-2); margin: 0 0 16px; font-size: 14px; }
@media (min-width: 700px) { .edit { grid-template-columns: 1fr 1fr; align-items: center; } .edit__img img { aspect-ratio: 4 / 3; } }

/* showroom (3D ring) caption */
.showroom { margin-top: 24px; }
.showroom__cap { position: absolute; inset-inline: 0; bottom: 16px; text-align: center; pointer-events: none; }
.showroom__cap h3 { font-family: var(--font-display); font-size: 24px; margin: 0; }

/* grid toggle + 2 columns */
.filter-bar { align-items: center; }
.filter-bar__l { display: flex; gap: 16px; }
.gridtoggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.gridtoggle button { width: 36px; height: 32px; display: grid; place-items: center; color: var(--muted); }
.gridtoggle button.active { color: var(--ink); background: var(--cream-2); }
.gridtoggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.grid.grid--2 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid.grid--2 .card__name { font-size: 14px; min-height: auto; }
.grid.grid--2 .card__price b { font-size: 16px; }
.card__brand { font-family: var(--font-latin); font-size: 10px; letter-spacing: .1em; color: var(--muted); margin-bottom: 2px; }
.card__badge--best { background: var(--gold); }
.card__off { font-size: 10px; color: var(--muted); }

/* rewards */
.rewards { margin: 16px 16px 0; padding: 16px; border-radius: var(--r-lg); background: linear-gradient(135deg, #fbf6ec, #f1e6d0); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rewards h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 4px; }
.rewards p { margin: 0; font-size: 13px; color: var(--ink-2); }
.rewards .btn { flex-shrink: 0; }

/* payment methods */
.pay { padding: 24px 16px 8px; }
.pay h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.pay__row { display: flex; gap: 8px; flex-wrap: wrap; }
.pay__row span { font-family: var(--font-latin); font-size: 11px; font-weight: 700; padding: 8px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink-2); }

/* smiley + social (brand yellow) */
:root { --smile: #ffd21f; }
.smilebar { margin: 16px 16px 0; padding: 16px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 8px 16px; align-items: center; }
.smilebar__img { width: 64px; height: 64px; grid-row: 1 / 3; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(224,168,0,.35)); }
.smilebar__txt b { display: block; font-size: 15px; }
.smilebar__txt span { font-size: 12px; color: var(--muted); }
.social { grid-column: 2; display: flex; gap: 8px; flex-wrap: wrap; }
.social__i { width: 40px; height: 40px; border-radius: 50%; background: var(--smile); display: grid; place-items: center; color: #111; box-shadow: 0 4px 10px -4px rgba(224,168,0,.6); transition: transform .2s var(--ease); }
.social__i:active { transform: scale(.9); }
.social__i svg { width: 20px; height: 20px; fill: currentColor; }

/* footer */
.footer { text-align: start; padding: 24px 16px 24px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.footer__cols h5 { margin: 0 0 8px; font-size: 13px; color: var(--ink); }
.footer__cols a { display: block; font-size: 12px; color: var(--muted); padding: 4px 0; }
.footer__country { display: flex; gap: 8px; align-items: center; font-size: 12px; margin-bottom: 16px; }
.footer__country button { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); }
.footer__brand .crest { width: 40px; height: 48px; }
.footer__copy { text-align: center; margin-top: 8px; font-size: 12px; color: var(--muted); }

/* back button + back-to-top + lightbox */
.pv__back { pointer-events: auto; display: inline-flex; align-items: center; gap: 4px; height: 40px; padding-inline: 16px 16px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); box-shadow: var(--shadow); font-weight: 700; font-size: 13px; color: var(--ink); }
.pv__back svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv__tools { display: flex; gap: 8px; pointer-events: auto; }
.backtop { position: fixed; inset-inline-start: 14px; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 44; opacity: 0; transform: translateY(10px); pointer-events: none; transition: all .3s var(--ease); }
.backtop.show { opacity: 1; transform: none; pointer-events: auto; }
.backtop svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }
.lightbox { position: fixed; inset: 0; z-index: 96; background: rgba(27,23,20,.96); display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.lightbox.show { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox .pv__back { position: absolute; top: 14px; inset-inline-start: 14px; }
.crumbs { display: flex; gap: 8px; font-size: 11px; color: var(--muted); margin-bottom: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs b { color: var(--ink); font-weight: 600; }
.pv__stock { font-size: 12px; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.desc__list { margin: 0; padding-inline-start: 16px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.desc__more { margin-top: 8px; font-size: 13px; color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.desc__extra { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.7; background: var(--cream); border-radius: 12px; padding: 8px 16px; }
.recommend { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.recommend b { color: var(--green); font-size: 16px; }
.search-ov .search { align-items: center; gap: 8px; }

/* ============================================================
   Discovery layer: dressing room, quiz, size finder, peek, archive, gift
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.tryon { margin: 24px 16px 0; display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--ink); color: var(--cream); }
.tryon__fig img { width: 84px; height: 126px; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.tryon__txt h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 8px; }
.tryon__txt p { margin: 0 0 16px; font-size: 13px; color: rgba(247,242,234,.8); }
.tryon .btn--ink { background: var(--cream); color: var(--ink); }

.room { position: fixed; inset: 0; z-index: 71; background: linear-gradient(180deg, #f7f2ea 0%, #ece2d1 100%); display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .3s; max-width: 720px; margin: 0 auto; }
.room.open { opacity: 1; pointer-events: auto; }
.room__top { display: flex; align-items: center; justify-content: space-between; padding: 16px; }
.room__title { text-align: center; font-weight: 800; font-size: 15px; }
.room__title .kicker { display: block; margin: 0; }
.room__stage { flex: 1; min-height: 0; position: relative; overflow: hidden; --gx: 50%; }
.room__glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at var(--gx) 40%, rgba(217,185,120,.35), transparent 70%); transition: background .4s; pointer-events: none; }
.room__prev { position: absolute; left: 50%; top: 0; height: 100%; width: auto; transform: translateX(-50%); opacity: 0; transition: opacity .8s; pointer-events: none; }
.room__prev.show { opacity: .35; }
.room__tiles { position: absolute; left: 50%; top: 2%; height: 92%; aspect-ratio: 2 / 3; transform: translateX(-50%); margin-left: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(6, 1fr); gap: 2px; border-radius: 18px; overflow: visible; transition: transform .25s ease-out; transform-origin: center; }
.room__tiles i { display: block; background-repeat: no-repeat; opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rz)) scale(.6); transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .6s ease; border-radius: 3px; }
.room__tiles.in i { opacity: 1; transform: none; }
.room__worn { position: absolute; inset-inline-start: 10px; top: 10px; display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.wornchip { display: flex; align-items: center; gap: 8px; background: rgba(255,253,249,.9); backdrop-filter: blur(8px); border-radius: 999px; padding: 4px 8px 4px 4px; font-size: 11px; font-weight: 700; box-shadow: var(--shadow); animation: rise .5s var(--ease-out) both; }
.wornchip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.room__hint { position: absolute; bottom: 6px; inset-inline: 0; text-align: center; font-size: 11px; color: var(--ink-2); margin: 0; background: linear-gradient(0deg, rgba(247,242,234,.9), transparent); padding: 16px 0 4px; pointer-events: none; }
.room__hint { text-align: center; font-size: 11px; color: var(--muted); margin: 0; padding: 4px 0; }
.room__panel { background: var(--paper); border-radius: 22px 22px 0 0; padding: 10px 12px calc(12px + var(--safe-b)); box-shadow: 0 -10px 30px -20px rgba(27,23,20,.4); }
.room__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.room__tabs::-webkit-scrollbar { display: none; }
.room__tabs .chip { height: 34px; font-size: 13px; }
.room__tabs .chip.worn::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; margin-inline-start: 8px; }
.room__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.room__thumbs::-webkit-scrollbar { display: none; }
.rthumb { flex: 0 0 72px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--white); text-align: center; transition: border-color .2s, transform .15s; }
.rthumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.rthumb span { display: block; font-size: 10px; padding: 4px 0; color: var(--ink-2); }
.rthumb.on { border-color: var(--ink); }
.rthumb:active { transform: scale(.95); }
.rthumb--none { display: grid; place-items: center; font-size: 12px; color: var(--muted); border: 1px dashed var(--line); aspect-ratio: auto; min-height: 92px; }
.room__foot { display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 8px; }
.room__total { flex: 1; line-height: 1.2; }
.room__total b { font-size: 18px; display: block; }
.room__total small { color: var(--muted); font-size: 11px; }

.quizcta { margin: 24px 16px 0; padding: 16px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quizcta h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 4px; }
.quizcta p { margin: 0; font-size: 13px; color: var(--ink-2); }
.quiz__prog { display: flex; gap: 8px; margin-bottom: 16px; }
.quiz__prog i { flex: 1; height: 4px; border-radius: 2px; background: var(--cream-2); }
.quiz__prog i.on { background: var(--gold); }
.quiz h4 { font-size: 18px; margin: 0 0 16px; }
.quiz__opts { display: grid; gap: 8px; }
.quiz__opt { height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); font-weight: 700; font-size: 15px; transition: all .2s; }
.quiz__opt:active { background: var(--ink); color: var(--cream); }

.sizef p { margin: 0 0 16px; font-size: 13px; color: var(--ink-2); }
.sizef__row { display: flex; gap: 8px; margin-bottom: 8px; }
.sizef label { flex: 1; font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.sizef input, .sizef select { height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); padding-inline: 16px; font: inherit; font-size: 16px; color: var(--ink); }
.sizef__res { margin-top: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sizef__res:empty { display: none; }
.sizef__res b { font-size: 16px; }
.sizef__res span { color: var(--green); font-size: 12px; flex: 1; }

.peek { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 8px 0 16px; }
.peek img { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.peek__info b { display: block; font-size: 15px; }
.peek .sizes { gap: 8px; }
.peek .size { min-width: 40px; height: 34px; padding-inline: 8px; font-size: 13px; }
.burst { position: fixed; z-index: 99; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none; animation: burst .9s var(--ease) forwards; }
.burst svg { width: 100%; height: 100%; fill: var(--red); stroke: var(--red); filter: drop-shadow(0 6px 12px rgba(217,70,62,.4)); }
@keyframes burst { 0% { transform: scale(.3); opacity: 0; } 25% { transform: scale(1.2); opacity: 1; } 70% { transform: scale(1) translateY(-10px); opacity: 1; } 100% { transform: scale(.8) translateY(-40px); opacity: 0; } }

.archive { padding: 24px 16px 8px; }
.archive__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.archive__row::-webkit-scrollbar { display: none; }
.look { flex: 0 0 68%; scroll-snap-align: start; position: relative; border-radius: 18px; overflow: hidden; background: var(--cream-2); }
.look img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85); transition: transform .8s var(--ease); }
.look:hover img { transform: scale(1.04); }
.look span { position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(255,253,249,.92); backdrop-filter: blur(6px); border-radius: 999px; padding: 8px 16px; font-size: 12px; font-weight: 700; }

.endgift { margin: 24px 16px 0; padding: 24px 16px; text-align: center; border-radius: var(--r-lg); background: var(--white); border: 1px dashed var(--gold); }
.endgift h3 { font-family: var(--font-display); font-size: 26px; margin: 2px 0 4px; }
.endgift p { margin: 0 0 16px; font-size: 13px; color: var(--ink-2); }
.endgift__card { position: relative; width: min(100%, 260px); height: 74px; border-radius: 16px; overflow: hidden; background: var(--gold-soft); border: 1px solid var(--gold); display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; }
.endgift__code { font-family: var(--font-latin); font-weight: 800; font-size: 26px; letter-spacing: .18em; color: var(--gold); }
.endgift__cover { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff; font-weight: 700; transition: transform .6s var(--ease), opacity .6s; }
.endgift__card.pressing .endgift__cover { animation: shake .9s linear; }
.endgift__card.open .endgift__cover { transform: translateY(-110%); opacity: 0; pointer-events: none; }
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-3px); } 40% { transform: translateX(3px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
.endgift__note { font-size: 11px !important; color: var(--muted) !important; margin-top: 8px !important; }

.disc { margin: 4px 0 16px; background: var(--cream); border-radius: var(--r); padding: 16px; }
.disc h4 { margin: 0 0 8px; font-size: 14px; display: flex; justify-content: space-between; }
.disc h4 small { color: var(--gold); font-weight: 800; }
.disc__bar { height: 6px; border-radius: 3px; background: var(--cream-2); overflow: hidden; margin-bottom: 8px; }
.disc__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .6s var(--ease); }
.disc__list { display: flex; flex-wrap: wrap; gap: 8px; }
.disc__list span { font-size: 11px; padding: 4px 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.disc__list span.on { color: var(--green); border-color: rgba(46,125,91,.3); }
.disc__list span svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.disc__done { margin: 8px 0 0; font-size: 13px; color: var(--green); font-weight: 700; }

/* ============================================================
   STAGE (the reel): cut-out person centred, faded pieces on both sides
   ============================================================ */
.stage { position: relative; aspect-ratio: 4 / 5; max-height: 74dvh; overflow: hidden; background: radial-gradient(70% 60% at 50% 45%, #f4ecdf 0%, var(--cream-2) 70%); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.stage__depth { position: absolute; inset: 0; transform-style: preserve-3d; }
.stage__person { position: absolute; inset: 5% 0 0 0; display: grid; grid-template-columns: 100%; grid-template-rows: 100%; justify-items: center; align-items: end; }
.stage__person img { grid-row: 1; grid-column: 1; height: 100%; max-height: 100%; width: auto; max-width: 92%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 26px 30px rgba(27,23,20,.22)); will-change: transform, opacity; }
.stage__person img.is-photo { max-width: 100%; height: 100%; object-fit: cover; border-radius: 18px; filter: none; }
.stage__side { position: absolute; top: 24%; width: 30%; max-height: 40%; object-fit: contain; opacity: 0; filter: saturate(.7); pointer-events: none; }
.stage__side--l { left: 3%; } .stage__side--r { right: 3%; }
.stage__mask { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(8, 1fr); z-index: 3; pointer-events: none; }
.stage__mask i { display: block; background: var(--cream-2); }
.stage__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,253,249,.85); backdrop-filter: blur(6px); box-shadow: var(--shadow); display: grid; place-items: center; z-index: 2; opacity: .9; }
.stage__arrow svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.stage__arrow--l { left: 10px; } .stage__arrow--r { right: 10px; }
.stage__dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.stage__dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(27,23,20,.25); transition: all .3s var(--ease); cursor: pointer; }
.stage__dots i.on { width: 18px; background: var(--ink); }
.ehero__item { margin: 4px 0 16px; font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; justify-content: center; align-items: baseline; min-height: 20px; }
.ehero__item b { font-weight: 700; }
.ehero__hint { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.ehero .hero__cta { justify-content: center; flex-wrap: wrap; }
@media (min-width: 700px) { .ehero__item, .ehero .hero__cta { justify-content: flex-start; } .stage { max-height: none; } }
.room__stage .stage { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; background: radial-gradient(70% 60% at 50% 45%, #f6efe3 0%, #ece2d1 70%); }
.room__stage .stage__person { inset: 6% 0 4% 0; }

/* ============================================================
   REELS
   ============================================================ */
.reelstrip__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.reelstrip__row::-webkit-scrollbar { display: none; }
.reelcard { flex: 0 0 132px; scroll-snap-align: start; position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--ink); text-align: start; }
.reelcard > img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.reelcard__play { position: absolute; top: 8px; inset-inline-end: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; }
.reelcard__play svg { width: 11px; height: 11px; fill: #fff; }
.reelcard__cap { position: absolute; inset-inline: 8px; bottom: 40px; color: #fff; font-size: 12px; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.6); line-height: 1.3; }
.reelcard__p { position: absolute; inset-inline: 8px; bottom: 8px; display: flex; align-items: center; gap: 8px; background: rgba(255,253,249,.92); border-radius: 999px; padding: 4px 8px 4px 4px; font-size: 11px; font-weight: 800; color: var(--ink); }
.reelcard__p img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

.reels { position: fixed; inset: 0; z-index: 69; background: #000; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .3s; }
.reels.open { opacity: 1; pointer-events: auto; }
.reels__top { position: absolute; top: 0; inset-inline: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 16px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); }
.reels__title { color: #fff; font-weight: 800; font-size: 14px; }
.reels__top .pv__back { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px); box-shadow: none; }
.reels__top .pv__back.on { background: var(--gold); }
.reels__feed { flex: 1; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.reels__feed::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; background: #000; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.72)); pointer-events: none; }
.reel__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); width: 72px; height: 72px; border-radius: 50%; background: rgba(0,0,0,.5); display: grid; place-items: center; opacity: 0; transition: all .25s var(--ease); pointer-events: none; }
.reel__play.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.reel__play svg { width: 28px; height: 28px; fill: #fff; margin-inline-start: 4px; }
.reel__side { position: absolute; inset-inline-start: 10px; bottom: calc(110px + var(--safe-b)); display: flex; flex-direction: column; gap: 16px; z-index: 2; }
.reel__btn { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-size: 11px; font-weight: 700; }
.reel__btn svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); transition: transform .2s var(--ease); }
.reel__btn:active svg { transform: scale(.85); }
.reel__btn.on svg { fill: var(--red); stroke: var(--red); }
.reel__info { position: absolute; inset-inline-end: 14px; inset-inline-start: 64px; bottom: calc(18px + var(--safe-b)); color: #fff; z-index: 2; }
.reel__info > b { font-size: 14px; display: block; margin-bottom: 4px; }
.reel__info > p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.reel__chip { display: flex; align-items: center; gap: 8px; background: rgba(255,253,249,.94); color: var(--ink); border-radius: 16px; padding: 8px 8px; width: 100%; text-align: start; box-shadow: var(--shadow-lg); }
.reel__chip img { width: 44px; height: 52px; border-radius: 10px; object-fit: cover; }
.reel__chip span { flex: 1; font-size: 12px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reel__chip small { display: block; font-family: var(--font-latin); font-size: 9px; letter-spacing: .1em; color: var(--muted); }
.reel__chip b { font-size: 13px; white-space: nowrap; }
.reel__chip em { font-style: normal; font-size: 12px; font-weight: 800; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 8px 8px; }
.reel__bar { position: absolute; bottom: 0; inset-inline: 0; height: 3px; background: rgba(255,255,255,.2); z-index: 2; }
.reel__bar i { display: block; height: 100%; width: 0; background: var(--gold-2); }
#navReels svg { stroke-width: 1.6; }

/* ---------- app banner ---------- */
.appbar { margin: 16px 16px 0; padding: 16px 16px; border-radius: var(--r-lg); background: var(--ink); color: var(--cream); display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; }
.appbar__icon { width: 44px; height: 52px; display: grid; place-items: center; background: var(--cream); border-radius: 12px; color: var(--ink); }
.appbar__icon .crest { width: 28px; height: 34px; }
.appbar__txt b { display: block; font-size: 14px; }
.appbar__txt span { font-size: 11px; color: rgba(247,242,234,.75); }
.appbar__txt span b { display: inline; color: var(--gold-2); }
.appbar .btn--ink { background: var(--cream); color: var(--ink); }

/* ---------- coach marks ---------- */
.coach { position: fixed; inset: 0; z-index: 93; pointer-events: none; }
.coach__spot { position: fixed; border-radius: 18px; box-shadow: 0 0 0 9999px rgba(27,23,20,.45), 0 0 0 4px var(--gold-2); transition: all .45s var(--ease); pointer-events: none; }
.coach__bubble { position: fixed; width: min(86vw, 320px); background: var(--paper); border-radius: 18px; padding: 16px 16px 16px; box-shadow: var(--shadow-lg); pointer-events: auto; transition: top .45s var(--ease), left .45s var(--ease); border: 1px solid var(--line); }
.coach__bubble::before { content: ""; position: absolute; width: 16px; height: 16px; background: var(--paper); border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); top: -9px; inset-inline-start: 28px; }
.coach__bubble.below::before { top: auto; bottom: -9px; transform: rotate(225deg); }
.coach__bubble p { margin: 0 0 8px; font-size: 14px; line-height: 1.6; }
.coach__row { display: flex; align-items: center; gap: 8px; }
.coach__step { font-size: 11px; color: var(--muted); flex: 1; }
.coach__skip { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- notifications ---------- */
.notif { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.notif:last-child { border-bottom: 0; }
.notif img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.notif b { display: block; font-size: 14px; }
.notif p { margin: 2px 0 0; font-size: 12px; color: var(--ink-2); }
.notif small { color: var(--muted); font-size: 11px; }

/* ---------- UI/UX Pro Max pre-delivery checklist ---------- */
button, a, [role="button"], .card, .chip, .rthumb, .look, .cat, .reelcard { cursor: pointer; touch-action: manipulation; }
a, button { transition: color .2s, background-color .2s, border-color .2s, opacity .2s, transform .15s var(--ease); }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } .card:hover { box-shadow: var(--shadow); } .chip:hover { border-color: var(--ink); } }
body { overscroll-behavior-y: contain; }
/* FAQ (home) */
.faq { padding: var(--s4) var(--s2) var(--s1); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: var(--s2) 0; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-latin); font-size: 20px; color: var(--gold); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 var(--s2); color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.footer__cols { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .footer__cols { grid-template-columns: repeat(4, 1fr); } }
/* static pages */
.page { max-width: 720px; margin: 0 auto; padding: var(--s3) var(--s2) var(--s8); }
.page h1 { font-family: var(--font-display); font-size: 36px; margin: var(--s1) 0 var(--s2); line-height: 1.2; }
.page h2 { font-size: 20px; margin: var(--s4) 0 var(--s1); }
.page p, .page li { font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.page .crumbs { margin-top: var(--s2); }
.page__hero { border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--s3); }
.page__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.page__cta { margin-top: var(--s4); padding: var(--s3); border-radius: var(--r-lg); background: var(--ink); color: var(--cream); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2); }
.page__cta .btn { background: var(--cream); color: var(--ink); }
.store { border: 1px solid var(--line); border-radius: var(--r); padding: var(--s2); margin-bottom: var(--s2); background: var(--white); }
.store b { display: block; font-size: 16px; margin-bottom: var(--s-1); }
.store a { color: var(--gold); font-weight: 700; }
.author { display: grid; grid-template-columns: 96px 1fr; gap: var(--s2); align-items: center; padding: var(--s2); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); margin-top: var(--s2); }
.related a { display: block; padding: var(--s2); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); font-weight: 700; }
.related a small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: var(--s-1); }

/* ============================================================
   DESKTOP (>= 1024px) — the computer version
   ============================================================ */
.desknav { display: none; }
@media (min-width: 1024px) {
  body { background: var(--cream); padding-bottom: 0; }
  .app { max-width: 1280px; box-shadow: none; }
  .bottomnav, .fab, .backtop { display: none; }
  .header__row { grid-template-columns: 132px 1fr auto 88px; height: 72px; padding-inline: var(--s3); }
  .desknav { display: flex; gap: var(--s3); justify-content: center; align-items: center; margin-inline-start: var(--s4); }
  .desknav a { font-size: 14px; font-weight: 700; color: var(--ink-2); padding: var(--s1) 0; border-bottom: 2px solid transparent; }
  .desknav a:hover { color: var(--ink); border-bottom-color: var(--gold); }
  .tabs { padding-inline: var(--s3); }
  .usp { gap: var(--s5); font-size: 12px; }

  .ehero { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .ehero__copy { padding: var(--s8); }
  .ehero__title { font-size: 60px; }
  .stage { aspect-ratio: auto; height: 640px; }
  .cats { grid-template-columns: repeat(8, 1fr); gap: var(--s2); padding: var(--s4) var(--s3) var(--s1); }
  .offer { margin: var(--s3); padding: var(--s4); }
  .offer__title { font-size: 44px; }
  .section { padding: var(--s4) var(--s3) var(--s1); }
  .newcard { flex: 0 0 200px; }
  .edit { margin: var(--s4) var(--s3) 0; }
  .tryon { margin: var(--s4) var(--s3) 0; grid-template-columns: 140px 1fr auto; padding: var(--s4); }
  .tryon__fig img { width: 120px; height: 180px; }
  .hero.showroom { height: 560px; margin: var(--s4) var(--s3) 0; border-radius: var(--r-lg); }
  #catalogue .section__head, .chips, .filter-bar { padding-inline: var(--s3); }
  .grid { grid-template-columns: repeat(4, 1fr); gap: var(--s3); padding: var(--s1) var(--s3) var(--s4); }
  .grid.grid--2 { grid-template-columns: repeat(3, 1fr); }
  .card__name { font-size: 14px; }
  .card__price b { font-size: 17px; }
  .cover .section__head { padding-inline: var(--s3); }
  .cover__item { flex: 0 0 240px; }
  .mosaic { padding: var(--s5) var(--s3) var(--s2); }
  .mosaic__stage { height: 520px; }
  .quizcta, .rewards, .appbar, .smilebar, .coupon, .assure, .endgift { margin-inline: var(--s3); }
  .ugc { padding: var(--s4) var(--s3) var(--s2); }
  .ugc__grid { grid-template-columns: repeat(6, 1fr); gap: var(--s1); }
  .archive { padding: var(--s4) var(--s3) var(--s2); }
  .look { flex: 0 0 26%; }
  .faq { padding: var(--s5) var(--s3) var(--s2); }
  .pay { padding: var(--s4) var(--s3) var(--s2); }
  .footer { padding: var(--s6) var(--s3) var(--s5); }
  .footer__cols { grid-template-columns: repeat(4, 1fr); gap: var(--s4); }

  /* product page: two columns, gallery pinned */
  .pv { max-width: 1280px; }
  .pv__scroll { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s5); padding: 88px var(--s5) 120px; align-content: start; }
  .pv__gallery { position: sticky; top: 88px; border-radius: var(--r-lg); overflow: hidden; }
  .pv__track { aspect-ratio: 4 / 5; max-height: calc(100dvh - 220px); }
  .pv__body { padding: 0; }
  .pv__body.from-bottom { animation: none; }
  .pv__top { padding: var(--s3) var(--s5); }
  .pv__cta { max-width: 1280px; margin: 0 auto; padding-inline: var(--s5); }
  .pv__cta .price-mini { display: inline; }
  .pv__grab { display: none; }

  /* dressing room: stage left, panel right */
  .room { max-width: 1280px; display: grid; grid-template-columns: 1fr 400px; grid-template-rows: auto 1fr; }
  .room__top { grid-column: 1 / -1; padding: var(--s2) var(--s3); }
  .room__stage { grid-column: 1; }
  .room__panel { grid-column: 2; border-radius: 0; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; padding: var(--s3); box-shadow: none; }
  .room__tabs { flex-wrap: wrap; overflow: visible; }
  .room__thumbs { flex-wrap: wrap; overflow: visible; flex: 1; align-content: flex-start; }
  .rthumb { flex: 0 0 calc(33.33% - 6px); }
  .room__foot { margin-top: auto; }

  /* sheets become centred dialogs */
  .sheet { max-width: 640px; bottom: var(--s4); border-radius: var(--r-lg); max-height: 82dvh; }
  .search-ov { max-width: 960px; }
  .reels { max-width: 520px; }
  .bubble { width: 380px; }
}

/* ============================================================
   PERFORMANCE: splash, progressive rendering, lite mode
   ============================================================ */
.splash { position: fixed; inset: 0; z-index: 200; background: var(--cream); display: grid; place-content: center; justify-items: center; gap: var(--s2); text-align: center; transition: opacity .5s ease, visibility .5s; }
.splash .crest { width: 56px; height: 66px; color: var(--ink); animation: bob 2s ease-in-out infinite; }
.splash__mark { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 30px; letter-spacing: .18em; }
.splash__bar { width: 180px; height: 3px; background: var(--cream-2); border-radius: 2px; overflow: hidden; }
.splash__bar i { display: block; height: 100%; width: 8%; background: var(--gold); border-radius: 2px; transition: width .35s ease; }
.splash__tip { font-size: 13px; color: var(--ink-2); margin: 0; max-width: 260px; line-height: 1.6; min-height: 40px; }
.splash.done { opacity: 0; visibility: hidden; pointer-events: none; }
.section, .cover, .mosaic, .ugc, .archive, .faq, .pay, .appbar, .smilebar, .rewards, .assure, .coupon, .edit, .tryon, .showroom, .quizcta, .endgift, .footer { content-visibility: auto; contain-intrinsic-size: auto 480px; }
html.lite .hero__glow, html.lite .coupon__coin { display: none; } /* the showroom stays on lite devices: the ring is drawn lighter */
html.lite .reveal { opacity: 1; transform: none; transition: none; }
html.lite .stage__person img { filter: none; }
html.lite .mosaic__stage.in .mosaic__tile { animation: none; }
html.lite .card, html.lite .flash__card { transform: none !important; }

/* ============================================================
   SMART ASSISTANT
   ============================================================ */
.assist-fab { position: fixed; inset-inline-start: 14px; bottom: calc(var(--nav-h) + var(--safe-b) + 68px); width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(184,146,74,.8); z-index: 46; }
.assist-fab svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.assist-fab__dot { position: absolute; top: 2px; inset-inline-end: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); border: 2px solid var(--cream); transform: scale(0); transition: transform .3s var(--ease); }
.assist-fab__dot.show { transform: scale(1); animation: pulse 1.6s infinite; }
.assist { display: none; position: fixed; inset-inline-start: 14px; bottom: calc(var(--nav-h) + var(--safe-b) + 128px); width: min(92vw, 360px); max-height: min(58dvh, 560px); background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); z-index: 77; flex-direction: column; overflow: hidden; animation: rise .35s var(--ease-out) both; }
.assist.open { display: flex; }
.assist__head { cursor: grab; touch-action: none; }
.assist__head::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; border-radius: 2px; background: var(--cream-2); transform: translateX(-50%); }
.assist { position: fixed; }
.assist__head { position: relative; padding-top: 14px; }
.assist__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s2) var(--s2) var(--s1); border-bottom: 1px solid var(--line); }
.assist__head b { display: block; font-size: 14px; }
.assist__head small { color: var(--green); font-size: 11px; }
.assist__log { flex: 1; overflow-y: auto; padding: var(--s2); display: flex; flex-direction: column; gap: var(--s1); }
.msg { max-width: 88%; padding: var(--s1) 12px; border-radius: 16px; font-size: 13px; line-height: 1.6; animation: rise .3s var(--ease-out) both; }
.msg--bot { background: var(--cream); border-start-start-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--ink); color: var(--cream); border-start-end-radius: 4px; align-self: flex-end; }
.msg .mini-row { margin: var(--s1) -4px 0; padding-inline: 4px; }
.msg .mini { flex-basis: 108px; }
.msg .btn { margin-top: var(--s1); }
.msg--typing i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin-inline-end: 3px; animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.assist__chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--s2) var(--s1); }
.assist__chips::-webkit-scrollbar { display: none; }
.assist__chips button { flex-shrink: 0; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.assist__form { display: flex; gap: 6px; padding: var(--s1) var(--s2) var(--s2); border-top: 1px solid var(--line); }
.assist__form input { flex: 1; height: 40px; border-radius: 12px; border: 1px solid var(--line); padding-inline: 12px; font: inherit; font-size: 14px; background: var(--white); min-width: 0; }
@media (min-width: 1024px) { .assist-fab { display: grid; bottom: 28px; inset-inline-start: 28px; } .assist { bottom: 92px; inset-inline-start: 28px; } }


/* horizontal rows: grab to scroll on desktop */
@media (pointer: fine) { .hscroll, .cover__track, .reelstrip__row, .archive__row, .mini-row, .brands__row, .chips, .room__thumbs { cursor: grab; } .is-dragging { cursor: grabbing !important; scroll-snap-type: none; } }

/* ---------- side drawer (shortcuts) opens from the start side (right in RTL) ---------- */
.sheet--side { top: 0; bottom: 0; inset-inline-start: 0; inset-inline-end: auto; width: min(86vw, 360px); max-width: none; max-height: none; border-radius: 0; margin: 0; transform: translateX(110%); padding-top: env(safe-area-inset-top, 0px); }
[dir="ltr"] .sheet--side { transform: translateX(-110%); }
.sheet--side.open { transform: none; }
.sheet--side .sheet__handle { display: none; }
.drawer__user { display: flex; align-items: center; gap: var(--s2); padding: var(--s1) 0 var(--s2); border-bottom: 1px solid var(--line); margin-bottom: var(--s1); }
.drawer__user .profile__avatar { width: 48px; height: 48px; font-size: 18px; margin: 0; }
.drawer__user b { display: block; font-size: 15px; }
.drawer__user small { color: var(--muted); font-size: 12px; }
.drawer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s1); margin-bottom: var(--s2); }
.drawer__grid button { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: var(--s2); border-radius: var(--r); background: var(--cream); font-weight: 700; font-size: 13px; text-align: start; }
.drawer__grid button svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.drawer__grid button small { font-weight: 500; color: var(--muted); font-size: 11px; }
.drawer h4 { font-size: 12px; color: var(--muted); margin: var(--s2) 0 var(--s1); letter-spacing: .1em; }
.menu a.menu__link { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.menu a.menu__link svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.7; }
.menu a.menu__link span:last-child { margin-inline-start: auto; color: var(--muted); font-size: 12px; }
@media (min-width: 1024px) { .sheet--side { bottom: 0; border-radius: 0; max-height: none; } }

/* ---------- account sub-screens (orders / coupons) ---------- */
.mesub__back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; padding: var(--s1) 0; color: var(--ink); }
.mesub__back svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.mesub__title { font-size: 18px; margin: var(--s1) 0 var(--s2); }
.order { border: 1px solid var(--line); border-radius: var(--r); padding: var(--s2); margin-bottom: var(--s2); background: #fff; }
.order__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s1); }
.order__st { font-size: 12px; font-weight: 700; color: var(--gold); background: var(--cream); padding: 4px 10px; border-radius: 99px; }
.order__st--ok { color: #2f6b3a; background: #e9f3ea; }
.order__imgs { display: flex; gap: var(--s1); margin-bottom: var(--s2); }
.order__imgs img { width: 56px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--cream); }
.order__steps { list-style: none; margin: 0 0 var(--s2); padding: 0; }
.order__steps li { display: flex; gap: 12px; position: relative; padding-bottom: var(--s2); }
.order__steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 6px; top: 16px; bottom: 0; width: 2px; background: var(--line); }
.order__steps li.done:not(:last-child)::after { background: var(--gold); }
.order__steps i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: #fff; flex: none; margin-top: 3px; }
.order__steps li.done i { background: var(--gold); border-color: var(--gold); }
.order__steps b { display: block; font-size: 13px; }
.order__steps small, .order__note { color: var(--muted); font-size: 12px; display: block; margin: 4px 0 var(--s1); }
.order__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s1); font-size: 12px; color: var(--muted); }
.cpn { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s2); border: 1px dashed var(--gold); border-radius: var(--r); margin-bottom: var(--s1); background: var(--cream); }
.cpn b { font-size: 16px; letter-spacing: .08em; display: block; }
.cpn small { color: var(--muted); font-size: 12px; }
.cpn--lock { opacity: .55; border-color: var(--line); }
.cpn__lock { font-size: 12px; color: var(--muted); }
#assistIn.nudge { animation: nudgeX .4s; }
@keyframes nudgeX { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
[dir="rtl"] .mesub__back svg { transform: scaleX(-1); }

/* ============================================================
   SMILEY — the living assistant (agent.js)
   ============================================================ */
.assist-fab.smiley { background: transparent; box-shadow: none; width: 58px; height: 58px; padding: 0; touch-action: none; -webkit-tap-highlight-color: transparent; will-change: transform; cursor: grab; }
.assist-fab.smiley.is-up { z-index: 97; }
.assist-fab.smiley .smiley__svg { width: 100%; height: 100%; fill: #1b1714; stroke: none; overflow: visible; filter: drop-shadow(0 10px 12px rgba(150, 100, 0, .32)); }
.smiley__hop { display: block; width: 100%; height: 100%; transform-origin: 50% 88%; will-change: transform; }
.smiley__body { position: relative; display: block; width: 100%; height: 100%; animation: smFloat 3.6s ease-in-out infinite; }
.smiley .sm-eyes { transform: translate(var(--gx, 0px), var(--gy, 0px)); transition: transform .35s var(--ease); }
.smiley .sm-happy, .smiley .sm-shut, .smiley .sm-wink, .smiley .sm-brows, .smiley .sm-cheeks, .smiley .sm-m { opacity: 0; transition: opacity .2s; }
.smiley .sm-m--smile { opacity: 1; }
.smiley .sm-open { opacity: 1; transform-box: fill-box; transform-origin: 50% 50%; transition: opacity .2s, transform .12s; }
.smiley .sm-eye-r { transition: opacity .2s; }
.smiley .sm-brow-l, .smiley .sm-brow-r { transform-box: fill-box; transform-origin: center; transition: transform .25s; }
.smiley.is-blink .sm-open { transform: scaleY(.1); }
.smiley.is-happy .sm-open, .smiley.is-sleep .sm-open { opacity: 0; }
.smiley.is-happy .sm-happy, .smiley.is-happy .sm-cheeks, .smiley.is-happy .sm-m--grin { opacity: 1; }
.smiley.is-happy .sm-m--smile, .smiley.is-wow .sm-m--smile, .smiley.is-listen .sm-m--smile, .smiley.is-think .sm-m--smile, .smiley.is-sad .sm-m--smile, .smiley.is-sleep .sm-m--smile { opacity: 0; }
.smiley.is-wow .sm-m--o, .smiley.is-listen .sm-m--o { opacity: 1; }
.smiley.is-wow .sm-brows { opacity: 1; transform: translateY(-3px); }
.smiley.is-wow .sm-open { transform: scale(1.12); }
.smiley.is-think .sm-m--small, .smiley.is-sleep .sm-m--small { opacity: 1; }
.smiley.is-think .sm-brows { opacity: 1; }
.smiley.is-think .sm-brow-r { transform: translateY(-4px) rotate(-8deg); }
.smiley.is-think .sm-eyes { transform: translate(3px, -4px); }
.smiley.is-sad .sm-m--flat, .smiley.is-sad .sm-brows { opacity: 1; }
.smiley.is-sad .sm-brow-l { transform: rotate(14deg); }
.smiley.is-sad .sm-brow-r { transform: rotate(-14deg); }
.smiley.is-sleep .sm-shut { opacity: 1; }
.smiley.is-sleep .smiley__body { animation-duration: 5.5s; }
.smiley.is-wink .sm-eye-r { opacity: 0; }
.smiley.is-wink .sm-wink, .smiley.is-wink .sm-cheeks { opacity: 1; }
.smiley.is-talk .sm-mouth { animation: smTalk .19s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 25%; }
.smiley.is-listen .smiley__body::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gold); animation: smRing 1.2s ease-out infinite; }
.smiley__zz { position: absolute; top: -10px; inset-inline-end: -4px; font: 700 13px/1 "Cormorant Garamond", serif; color: var(--gold); pointer-events: none; opacity: 0; }
.smiley__zz i { position: absolute; font-style: normal; animation: smZ 2.4s ease-in-out infinite; }
.smiley__zz i + i { animation-delay: 1.2s; font-size: 10px; }
.smiley.is-sleep .smiley__zz { opacity: 1; }
@keyframes smFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes smTalk { from { transform: scaleY(1); } to { transform: scaleY(.55); } }
@keyframes smRing { from { transform: scale(.92); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }
@keyframes smZ { 0% { transform: translate(0, 0) scale(.7); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-8px, -20px) scale(1.15); opacity: 0; } }
@media (min-width: 1024px) { .assist-fab.smiley { width: 64px; height: 64px; } }

/* speech bubble */
.smiley-say { position: fixed; left: 0; top: 0; z-index: 98; width: max-content; max-width: min(272px, calc(100vw - 96px)); background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: 13.5px; line-height: 1.65; opacity: 0; transform: scale(.92); transition: opacity .25s, transform .35s var(--ease-out); }
.smiley-say.show { opacity: 1; transform: none; }
.smiley-say::after { content: ""; position: absolute; width: 12px; height: 12px; background: var(--paper); border: 1px solid var(--line); border-width: 0 1px 1px 0; }
.smiley-say[data-side="r"]::after { right: -7px; top: calc(50% - 6px); transform: rotate(-45deg); }
.smiley-say[data-side="l"]::after { left: -7px; top: calc(50% - 6px); transform: rotate(135deg); }
.smiley-say[data-side="b"]::after { bottom: -7px; left: calc(50% - 6px); transform: rotate(45deg); }
.smiley-say[data-side="t"]::after { top: -7px; left: calc(50% - 6px); transform: rotate(-135deg); }
.smiley-say__x { position: absolute; top: 6px; inset-inline-end: 6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.smiley-say__x svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.smiley-say__t { padding-inline-end: 22px; }
.smiley-say__t .mini-row { display: none; }
.smiley-say__acts { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.smiley-say .btn { margin: 0; }

/* the spotlight on what the smiley points at + its tap */
.smiley-spot { position: fixed; z-index: 96; pointer-events: none; border-radius: 16px; border: 2px solid var(--gold); box-shadow: 0 0 0 6px rgba(184, 146, 74, .16), 0 12px 30px -12px rgba(184, 146, 74, .7); opacity: 0; transform: scale(1.06); transition: opacity .3s, transform .45s var(--ease-out); }
.smiley-spot.show { opacity: 1; transform: none; animation: spotPulse 1.6s ease-in-out .45s infinite; }
@keyframes spotPulse { 50% { box-shadow: 0 0 0 11px rgba(184, 146, 74, .07), 0 12px 30px -12px rgba(184, 146, 74, .7); } }
.smiley-tap { position: fixed; z-index: 99; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: rgba(184, 146, 74, .55); pointer-events: none; animation: tapFx .65s ease-out forwards; }
@keyframes tapFx { to { transform: scale(4.5); opacity: 0; } }

/* chat: words appear as it talks, receipts of what it did */
.msg .w, .smiley-say .w { display: inline-block; opacity: 0; transform: translateY(4px); animation: wIn .32s var(--ease-out) forwards; }
@keyframes wIn { to { opacity: 1; transform: none; } }
.msg__acts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.msg__acts span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--green); background: rgba(47, 107, 58, .08); border-radius: 999px; padding: 3px 8px; }
.msg__acts svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.msg .btn svg { width: 16px; height: 16px; vertical-align: middle; }
.assist__who { display: flex; align-items: center; gap: 10px; }
.assist__ava { width: 34px; height: 34px; flex: none; }
.assist__ava svg { width: 100%; height: 100%; display: block; }
.assist__spk { margin-inline-start: auto; margin-inline-end: 4px; }
.assist__spk svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.assist__spk:not(.on) .spk-w { opacity: .25; }
.assist__spk.on { color: var(--gold); }
.assist__mic { width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--ink); }
.assist__mic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.assist__mic.on { background: var(--gold); color: #fff; border-color: var(--gold); animation: pulse 1.4s infinite; }

/* pages opened inside the site by the agent */
.page--sheet { padding: 0 var(--s2) var(--s3); max-width: none; }
.page--sheet h2 { font-size: 16px; margin: var(--s2) 0 var(--s1); }
.page--sheet p, .page--sheet li { font-size: 14px; line-height: 1.8; }

/* ?ai — live view of the model cascade and the shopper read */
.dbg { position: fixed; z-index: 150; left: 8px; top: 8px; width: 260px; max-height: 60vh; overflow: auto; background: rgba(27, 23, 20, .92); color: #f7f2ea; font: 11px/1.5 ui-monospace, Menlo, Consolas, monospace; padding: 8px 10px; border-radius: 12px; direction: ltr; text-align: left; pointer-events: none; }
.dbg span { display: block; } .dbg .ok { color: #9be39b; } .dbg .cool { color: #f0b35a; } .dbg small { display: block; margin-top: 6px; color: #d9c3a5; }

@media (prefers-reduced-motion: reduce) {
  .smiley__body, .smiley.is-talk .sm-mouth, .smiley-spot.show { animation: none; }
  .msg .w, .smiley-say .w { animation: none; opacity: 1; transform: none; }
}

/* ---------- device-aware hints: touch words on phones, mouse words on computers ---------- */
.t-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .t-touch { display: none; } .t-mouse { display: inline; } }
/* images never get dragged out of their cards; no text selection while dragging a row */
img { -webkit-user-drag: none; user-drag: none; }
html.row-dragging, html.row-dragging * { user-select: none !important; cursor: grabbing !important; }
.is-dragging { scroll-behavior: auto !important; }
/* coverflow arrows (computer) */
.cover__wrap { position: relative; }
.cover__arrow { display: none; position: absolute; top: 45%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,253,249,.92); border: 1px solid var(--line); box-shadow: var(--shadow); place-items: center; }
.cover__arrow svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cover__arrow--prev { inset-inline-start: 12px; } .cover__arrow--next { inset-inline-end: 12px; }
@media (hover: hover) and (pointer: fine) { .cover__arrow { display: grid; } .cover__track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; } }
/* collage tiles you can grab */
.mosaic__tile { cursor: grab; touch-action: pan-y; transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity .8s ease, box-shadow .25s; }
@media (pointer: fine) { .mosaic__tile { touch-action: none; } }
.mosaic__tile.is-held { cursor: grabbing; box-shadow: 0 30px 50px -20px rgba(27,23,20,.45); animation-play-state: paused !important; scale: 1.04; }

/* Lenis drives the scroll on desktop: native smooth scrolling must be off or it fights it */
html.lenis, html.lenis body { scroll-behavior: auto !important; }

/* coverflow: JS settles the cards (CSS snap made them jolt), and the tilt follows the scroll with no delay */
.cover__track.cover__track--js { scroll-snap-type: none; }
.cover__item { transition: opacity .3s, box-shadow .3s; will-change: transform; }
/* rows on a computer: free, smooth scrolling (snap re-engaging after a drag caused a jump) */
@media (hover: hover) and (pointer: fine) { .hscroll, .reelstrip__row, .archive__row, .mini-row, .brands__row, .chips, .room__thumbs { scroll-snap-type: none; } }

/* stylist looks in the chat */
.looks { display: grid; gap: 8px; margin-top: 8px; }
.lookcard { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.lookcard__imgs { display: flex; gap: 4px; }
.lookcard__imgs img { flex: 1; min-width: 0; height: 64px; object-fit: cover; border-radius: 8px; cursor: pointer; background: var(--cream); }
.lookcard__info { margin: 6px 2px; }
.lookcard__info b { display: block; font-size: 12.5px; }
.lookcard__info small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.lookcard__acts { display: flex; gap: 6px; }
.lookcard__acts .btn { margin: 0; flex: 1; }

/* the chat window is attached to the smiley, with a tail pointing at it */
.assist.attached { inset-inline-start: auto; }
.assist-tail { position: fixed; left: 0; top: 0; z-index: 78; width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--paper); border: 1px solid var(--line); transform: rotate(45deg); opacity: 0; pointer-events: none; transition: opacity .2s; }
.assist-tail.show { opacity: 1; }
.assist-tail[data-side="b"] { border-width: 0 1px 1px 0; }
.assist-tail[data-side="t"] { border-width: 1px 0 0 1px; }
.assist-tail[data-side="r"] { border-width: 1px 1px 0 0; }
.assist-tail[data-side="l"] { border-width: 0 0 1px 1px; }
/* the smiley is moved frame by frame by agent.js: a CSS transition on transform made it lag and stutter */
.assist-fab.smiley { transition: opacity .2s !important; }
.assist-fab.smiley .smiley__hop { transition: none !important; }

/* skeleton shimmer stops as soon as the photo is there (it ran forever and repainted every frame) */
.card__media:has(img.loaded)::before { animation: none; opacity: 0; }
/* the sleeping "z" only animates while it sleeps */
.smiley__zz i { animation-play-state: paused; }
.smiley.is-sleep .smiley__zz i { animation-play-state: running; }
.coupon__coin-img { display: none; }

/* ============================================================
   PHONE VERSION (html.phone, under 768px): light and uncluttered
   ============================================================ */
html.phone *, html.phone *::before, html.phone *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.phone .header { background: #f7f2ea; box-shadow: 0 1px 0 var(--line); }
html.phone .bottomnav { background: #fffdf9; }
html.phone .scrim, html.phone .bubble-scrim { background: rgba(27, 23, 20, .55); }
html.phone .card__media::before { animation: none; }
html.phone .usp, html.phone #btnAccount, html.phone #btnCart { display: none; }
html.phone .header.scrolled .tabs { display: none; }
html.phone .backtop, html.phone .fab, html.phone .bubble, html.phone .bubble-scrim, html.phone .coach { display: none !important; }
html.phone .edit, html.phone .mosaic, html.phone .archive, html.phone .rewards, html.phone .appbar { display: none !important; }
html.phone .mosaic__tile, html.phone .reelcard__play, html.phone .assist-fab__dot.show { animation: none !important; }
html.phone .assist-fab.smiley { width: 48px; height: 48px; inset-inline-start: 10px; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); }
/* phones: it waits half-hidden at the edge (covers nothing) and comes out when it talks, points, or the chat is open */
html.phone .assist-fab.smiley.is-up, html.phone .assist-fab.smiley:active, html.phone body:has(#assist.open) .assist-fab.smiley { inset-inline-start: 8px; }
html.phone .smiley__body { animation: none; }
html.phone .assist-fab.smiley .smiley__svg { filter: none; }
html.phone .assist-fab.smiley .smiley__hop::after { content: ""; position: absolute; inset: auto 12% -6% 12%; height: 10%; border-radius: 50%; background: rgba(150, 100, 0, .22); z-index: -1; }
html.phone #coinCanvas { display: none; }
html.phone .coupon__coin-img { display: block; width: 92px; height: 92px; object-fit: contain; margin: 0 auto 8px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .28)); }
html.phone .card, html.phone .cover__item { will-change: auto; }

/* coming-soon sections (kids / home / beauty) */
.soon { text-align: center; padding: 40px 16px; background: var(--cream); border-radius: var(--r); }
.soon b { display: block; font-size: 18px; margin-bottom: 8px; }
.soon p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.soon__acts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
/* the reel play icon is a real button when it shows */
.reel__play.show { pointer-events: auto; cursor: pointer; }
.mosaic__tile img { cursor: zoom-in; }
html.lite:not(.phone) .coupon__coin-img { display: block; width: 64px; height: 64px; object-fit: contain; grid-row: 1 / 3; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .25)); }

.lookcard__info small.lookcard__extra { color: var(--accent, #b8924a); font-size: 11px; }

/* closed overlays must not catch taps: their buttons turn pointer-events back on for themselves (.pv__back),
   so an invisible room/reels layer used to sit over the page and over each other's back buttons */
.room:not(.open), .reels:not(.open) { visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.room.open, .reels.open { visibility: visible; transition: opacity .3s; }
/* reel product strip: brand line + two full lines of the name; the price stays on one line */
.reel__chip > span { -webkit-line-clamp: 4; min-width: 0; } /* brand line + up to 3 lines of name (small phones) */
.reel__chip b { flex: none; }
.reel__chip b .num { display: inline; flex: none; font-size: inherit; font-weight: inherit; line-height: inherit; overflow: visible; -webkit-line-clamp: unset; }

/* version switch in the footer (phone / computer / automatic) */
.footer__view { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 18px; font-size: 12px; color: var(--muted); }
.footer__view a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(27, 23, 20, .14); color: var(--ink); background: var(--paper); font-weight: 600; }
.footer__view a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__view a.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.footer__view-now { flex-basis: 100%; text-align: center; font-size: 11px; color: var(--muted); }
@media (hover: hover) { .footer__view a:not(.on):hover { border-color: var(--ink); } }

/* install card: slides down like a notification on phones; bottom corner on computers */
.install { position: fixed; z-index: 95; top: calc(env(safe-area-inset-top, 0px) + 10px); inset-inline: 10px; margin: 0 auto; max-width: 440px; display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px 12px 12px; background: var(--paper); color: var(--ink); border-radius: 20px; box-shadow: 0 18px 40px -16px rgba(27, 23, 20, .45), 0 0 0 1px rgba(27, 23, 20, .06); transform: translateY(calc(-100% - 30px)); opacity: 0; transition: transform .5s var(--ease-out), opacity .3s; pointer-events: none; }
.install.show { transform: none; opacity: 1; pointer-events: auto; }
.install__icon { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(27, 23, 20, .08); }
.install__txt { min-width: 0; }
.install__txt b { display: block; font-size: 14px; }
.install__sub { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.install__steps { display: none; margin: 6px 0 0; padding-inline-start: 18px; font-size: 12.5px; line-height: 1.9; }
.install__steps svg { width: 16px; height: 16px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.install[data-state="steps"] .install__steps { display: block; }
.install[data-state="steps"] .install__sub, .install[data-state="steps"] .install__go { display: none; }
.install[data-state="steps"] { grid-template-columns: 48px 1fr; }
.install__x { position: absolute; top: -9px; inset-inline-end: -7px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 17px; line-height: 30px; text-align: center; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
@media (min-width: 1024px) { .install { top: auto; bottom: 28px; inset-inline: auto 28px; transform: translateY(calc(100% + 40px)); } }
@media (prefers-reduced-motion: reduce) { .install { transition: opacity .2s; transform: none; } }

/* ============================================================
   BEST SELLERS: the 3D winners' podium
   ============================================================ */
@property --sway { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.podium { padding: 28px 0 8px; }
.podium .section__head { padding: 0 16px; }
.podium__stage { position: relative; height: 360px; perspective: 1100px; perspective-origin: 50% 30%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; overflow: hidden; }
.podium__stage.is-held { cursor: grabbing; }
.podium__halo { position: absolute; left: 50%; top: 46%; width: 520px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(217, 185, 120, .38), rgba(217, 185, 120, .12) 55%, transparent 75%); pointer-events: none; }
.podium__scene { position: absolute; inset: 0 0 34px; display: flex; align-items: flex-end; justify-content: center; gap: 10px; padding: 0 12px; transform-style: preserve-3d; transform: rotateX(var(--rx, -12deg)) rotateY(calc(var(--ry, 0deg) + var(--sway))); animation: podiumSway 20s ease-in-out infinite alternate; }
@keyframes podiumSway { from { --sway: -9deg; } to { --sway: 9deg; } }
.podium__stage.is-held .podium__scene, .podium__stage:hover .podium__scene { animation-play-state: paused; }
.podium__floor { position: absolute; left: 50%; bottom: -20px; width: min(620px, 96%); height: 70px; transform: translateX(-50%) translateZ(-30px); border-radius: 50%; background: radial-gradient(closest-side, rgba(27, 23, 20, .24), rgba(27, 23, 20, .07) 62%, transparent 74%); box-shadow: inset 0 0 0 1.5px rgba(184, 146, 74, .45), 0 0 0 10px rgba(184, 146, 74, .06); pointer-events: none; }
.podium__spot { --d: 56px; position: relative; width: min(31%, 200px); display: flex; flex-direction: column; align-items: center; transform-style: preserve-3d; }
.podium__spot--1 { --h: 118px; --c1: #f3dfae; --c2: #c9a45c; --c3: #a8823d; z-index: 2; }
.podium__spot--2 { --h: 84px; --c1: #f1ede6; --c2: #cfc8bd; --c3: #aaa295; }
.podium__spot--3 { --h: 62px; --c1: #f0d6bd; --c2: #c99c72; --c3: #a4774e; }
.podium__item { position: relative; width: 100%; aspect-ratio: 1; margin-bottom: -6px; transform: translateZ(calc(var(--d) / -2)); transform-style: preserve-3d; background: none; border: 0; padding: 0; cursor: pointer; }
.podium__item img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(27, 23, 20, .28)); animation: podiumFloat 7s ease-in-out infinite; transition: transform .5s var(--ease-out); pointer-events: none; }
.podium__spot--2 .podium__item img { animation-delay: -2.3s; } .podium__spot--3 .podium__item img { animation-delay: -4.6s; }
@keyframes podiumFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.podium__item:hover img, .podium__item:focus-visible img { transform: scale(1.06); }
.podium__spot--1 .podium__item { width: 112%; }
.podium__crown { position: absolute; top: -6px; left: 50%; width: 34px; height: 34px; transform: translateX(-50%) rotate(-8deg); color: #c9a45c; filter: drop-shadow(0 4px 6px rgba(184, 146, 74, .5)); z-index: 2; animation: podiumCrown 5s ease-in-out infinite; }
.podium__crown svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes podiumCrown { 0%, 100% { transform: translateX(-50%) rotate(-8deg); } 50% { transform: translateX(-50%) rotate(6deg) translateY(-3px); } }
.podium__block { position: relative; width: 100%; height: var(--h); transform-style: preserve-3d; }
.podium__front { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 6px 4px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--c1), var(--c2) 70%, var(--c3)); color: #1b1714; text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -10px 18px -12px rgba(0, 0, 0, .35); }
.podium__front b { font-family: "Cormorant Garamond", serif; font-size: 40px; line-height: .9; font-weight: 700; color: rgba(27, 23, 20, .88); text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.podium__spot--1 .podium__front b { font-size: 52px; }
.podium__name { font-size: 11.5px; font-weight: 700; line-height: 1.25; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium__meta { font-size: 10.5px; color: rgba(27, 23, 20, .7); white-space: nowrap; }
.podium__meta [data-count] { font-weight: 800; font-variant-numeric: tabular-nums; }
.podium__top { position: absolute; left: 0; right: 0; top: 0; height: var(--d); transform-origin: 50% 0; transform: rotateX(-90deg); background: linear-gradient(0deg, var(--c1), #fffaf0); }
.podium__side { position: absolute; top: 0; bottom: 0; width: var(--d); background: linear-gradient(180deg, var(--c2), var(--c3)); }
.podium__side--r { left: 100%; transform-origin: 0 50%; transform: rotateY(90deg); }
.podium__side--l { right: 100%; transform-origin: 100% 50%; transform: rotateY(-90deg); }
/* ranks 4-8: 3D cards that fly in, straighten on hover */
.podium__rest { list-style: none; margin: 12px 0 0; padding: 8px 16px 14px; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; perspective: 900px; }
.podium__rest::-webkit-scrollbar { display: none; }
.podium__rest li { flex: 0 0 144px; transform: rotateY(-38deg) translateZ(-70px); opacity: 0; transition: transform 1s var(--ease-out) calc(var(--k) * 110ms), opacity .7s ease calc(var(--k) * 110ms); }
.podium.in .podium__rest li { transform: rotateY(-9deg); opacity: 1; }
.podium.in .podium__rest li:hover, .podium.in .podium__rest li:focus-within { transform: rotateY(0) translateZ(26px); transition-delay: 0s; }
.podium__card { position: relative; width: 100%; display: grid; gap: 3px; padding: 10px 10px 12px; border-radius: 18px; background: linear-gradient(160deg, #fffdf9, #f1e8d9); box-shadow: 0 16px 30px -20px rgba(27, 23, 20, .5), inset 0 0 0 1px rgba(184, 146, 74, .18); text-align: start; cursor: pointer; }
.podium__card img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(27, 23, 20, .2)); pointer-events: none; }
.podium__rank { position: absolute; top: 4px; inset-inline-start: 10px; font-family: "Cormorant Garamond", serif; font-size: 34px; font-weight: 700; line-height: 1; color: var(--gold); }
.podium__cname { font-size: 12.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium__cmeta { font-size: 11px; color: var(--muted); }
.podium .cover__hint { text-align: center; margin: 2px 16px 0; }
@media (min-width: 760px) { .podium__stage { height: 440px; } .podium__spot { --d: 70px; } .podium__spot--1 { --h: 150px; } .podium__spot--2 { --h: 108px; } .podium__spot--3 { --h: 80px; } .podium__front b { font-size: 52px; } .podium__spot--1 .podium__front b { font-size: 66px; } .podium__name { font-size: 13px; } .podium__meta { font-size: 12px; } .podium__crown { width: 44px; height: 44px; } }
@media (min-width: 1024px) { .podium__rest { justify-content: center; overflow: visible; } .podium__rest li { flex-basis: 168px; } }
@media (prefers-reduced-motion: reduce) { .podium__scene, .podium__item img, .podium__crown { animation: none; } .podium__rest li { transition: none; } }
html.phone .podium__halo { background: radial-gradient(closest-side, rgba(217, 185, 120, .32), transparent 72%); }
/* podium steps: the short steps were shorter than their label (numeral + name + price), so the numeral sat on the price and the name vanished */
.podium__spot--2 { --h: 92px; } .podium__spot--3 { --h: 80px; } .podium__spot--3 .podium__front b { font-size: 34px; margin-bottom: 4px; } /* the serif 3 hangs below its line */
@media (min-width: 760px) { .podium__spot--2 { --h: 122px; } .podium__spot--3 { --h: 102px; } .podium__spot--3 .podium__front b { font-size: 44px; } }
