/* =========================================================
   Hanadi Beauty — design system
   Warm cream paper, deep plum ink, muted rose accent.
   Editorial serif display + quiet sans for UI.
   ========================================================= */
:root {
  /* palette */
  --cream: #faf5f0;
  --paper: #ffffff;
  --sand: #f3e9e3;
  --blush: #f1dcdc;
  --blush-2: #e6c4c8;
  --rose: #b4466c;
  --rose-deep: #8c2f52;
  --plum: #2a1520;
  --plum-2: #4d3340;
  --gold: #b08d57;
  --teal: #6dbfb8;

  /* legacy names used by page scripts */
  --rose-50: var(--cream);
  --rose-100: #f5e8e5;
  --rose-200: #ead4d3;
  --rose-300: #dbb2b8;
  --rose-400: #c9819a;
  --rose-500: var(--rose);
  --rose-600: #a33d62;
  --rose-700: var(--rose-deep);
  --ink: var(--plum);
  --muted: #7a6470;
  --border: #e9dcd8;
  --line: #e2d2ce;
  --surface: var(--paper);
  --ok: #2f7d5b;
  --danger: #b0303f;
  --primary: var(--rose);
  --bg: var(--cream);
  --text: var(--plum);

  --radius: 6px;
  --shadow: 0 1px 2px rgba(42, 21, 32, .04), 0 8px 24px rgba(42, 21, 32, .05);
  --shadow-lg: 0 24px 60px rgba(42, 21, 32, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  /* one geometric family for Arabic and Latin; Hebrew uses Rubik, its closest match */
  --f-display: 'Alexandria', 'Rubik', system-ui, sans-serif;
  --f-body: 'Alexandria', 'Rubik', system-ui, sans-serif;
  --f-latin: 'Alexandria', 'Rubik', system-ui, sans-serif;
  --header-h: 76px;
}
html[lang=he] {
  --f-display: 'Rubik', 'Alexandria', system-ui, sans-serif;
  --f-body: 'Rubik', 'Alexandria', system-ui, sans-serif;
  --f-latin: 'Rubik', 'Alexandria', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; background: #faf5f0; color-scheme: light; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html, body { margin: 0; }
body {
  font-family: var(--f-body); font-size: 16px; font-weight: 400; line-height: 1.9; word-spacing: .04em; color: var(--plum);
  background: var(--cream); min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* film grain, very subtle */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { flex: 1; padding: 40px 0 96px; }
main.container { padding-block: clamp(36px, 5vw, 72px) clamp(64px, 8vw, 110px); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--rose-200); color: var(--plum); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }

h1, h2, h3, h4, .display { font-family: var(--f-display); font-weight: 700; line-height: 1.35; margin: 0 0 16px; color: var(--plum); letter-spacing: 0; word-spacing: .06em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 16px; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.muted { color: var(--muted); }
.latin { font-family: var(--f-latin); font-style: normal; }

/* small caps label above headings */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow .n { font-family: var(--f-latin); font-style: normal; font-size: 1rem; letter-spacing: 0; }

/* ---------- buttons: fill slides in on hover ---------- */
.btn {
  --b-bg: var(--plum); --b-fg: var(--cream); --b-hover: var(--rose);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; isolation: isolate;
  min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid var(--b-bg);
  background: var(--b-bg); color: var(--b-fg); font: inherit; font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; text-decoration: none; transition: color .45s var(--ease), border-color .45s var(--ease), transform .16s var(--ease);
  white-space: nowrap;
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--b-hover); border-radius: inherit;
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
@media (hover: hover) {
  .btn:hover::before { transform: scaleY(1); }
  .btn:hover { border-color: var(--b-hover); }
  .btn.ghost:hover { color: var(--cream); }
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:disabled::before { display: none; }
.btn.ghost { --b-bg: transparent; --b-fg: var(--plum); --b-hover: var(--plum); border-color: var(--plum); }
.btn.light { --b-bg: var(--cream); --b-fg: var(--plum); --b-hover: var(--blush); border-color: var(--cream); }
.btn.danger { --b-bg: var(--danger); --b-hover: #8c1f2c; }
.btn.sm { min-height: 38px; padding: 0 18px; font-size: .85rem; }
.btn.lg { min-height: 58px; padding: 0 38px; font-size: 1rem; }
.btn.block { width: 100%; }
.btn .arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(-5px); }
html[dir=ltr] .btn:hover .arrow { transform: translateX(5px); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--rose); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.text-link { position: relative; font-weight: 500; }
.text-link::after { content: ''; position: absolute; inset-inline: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(1); transform-origin: right; transition: transform .5s var(--ease); }
.text-link:hover::after { transform: scaleX(0); transform-origin: left; }
.icon-btn { min-height: 52px; padding: 0 16px; }
.icon-btn.on, .fav-btn.on { color: var(--rose); }

/* ---------- forms ---------- */
input, textarea, select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; background: var(--paper); color: var(--plum);
  transition: border-color .25s, box-shadow .25s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(42,21,32,.06); }
input[type=checkbox] { width: auto; accent-color: var(--rose); }
label { display: block; font-weight: 500; margin: 16px 0 6px; font-size: .88rem; color: var(--plum-2); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.error { color: var(--danger); margin-top: 8px; min-height: 1.2em; font-size: .9rem; }
.hint-box { background: var(--sand); border-radius: var(--radius); padding: 14px 16px; font-size: .92rem; margin: 0; }
.ok-text { color: var(--ok); font-weight: 600; margin: 0 0 10px; }

/* ---------- surfaces ---------- */
.card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.pad { padding: clamp(20px, 3vw, 32px); }
.section { margin-block: clamp(80px, 12vw, 160px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; max-width: 18ch; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.3; }
.section-head p { color: var(--muted); max-width: 38ch; margin: 0; }
.empty { text-align: center; color: var(--muted); padding: 56px 16px; }

/* ---------- announcement + header ---------- */
.announce { background: var(--plum); color: var(--cream); font-size: .8rem; letter-spacing: .04em; overflow: hidden; height: 36px; display: flex; align-items: center; direction: ltr; }
.announce .track { display: flex; gap: 64px; white-space: nowrap; animation: marquee 32s linear infinite; padding-inline-start: 64px; direction: ltr; width: max-content; flex: none; }
.announce .track span { direction: rtl; }
.announce .sep { color: var(--rose-300); }
.topbar { position: sticky; top: 0; z-index: 60; height: var(--header-h); transition: background .4s var(--ease), box-shadow .4s, transform .5s var(--ease); }
.topbar.scrolled { background: rgba(250, 245, 240, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--border); }
.topbar.hide { transform: translateY(-100%); }
.topbar .container { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: var(--plum); }
.logo .mark { font-family: var(--f-latin); font-weight: 500; font-size: 1.85rem; letter-spacing: .32em; margin-inline-end: -.32em; }
.logo .sub { font-family: var(--f-latin); font-size: .6rem; letter-spacing: .42em; color: var(--rose); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; gap: 28px; align-items: center; font-size: .92rem; }
.nav a, .nav button { position: relative; white-space: nowrap; background: none; border: 0; padding: 6px 0; font: inherit; color: var(--plum); cursor: pointer; }
.nav a::after, .nav button::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.active::after, .nav button:hover::after { transform: scaleX(1); transform-origin: right; }
/* owner only: quick way back to the dashboard from any page */
.tools .admin-tool { background: var(--plum); color: var(--cream); padding: 0 16px; font-weight: 500; font-size: .88rem; white-space: nowrap; transition: background-color .25s; }
.tools .admin-tool:hover, .tools .admin-tool.active { background: var(--rose); color: #fff; }
.tools { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.tool { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 42px; min-width: 42px; padding: 0 10px; border-radius: 999px; border: 0;
  background: none; color: var(--plum); font: inherit; font-size: .85rem; cursor: pointer; transition: background .3s; }
.tool:hover { background: rgba(42,21,32,.05); }
.tool .count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--rose); color: #fff;
  font-size: .68rem; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.tool .count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.4); } }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; background: var(--rose); color: #fff; border-radius: 99px; font-size: .68rem; padding: 0 5px; margin-inline-start: 6px; font-weight: 600; line-height: 1; vertical-align: middle; }
.menu-btn { display: none; }
.lang-btn { font-weight: 600; }

/* mobile menu: side panel */
.mnav-back { position: fixed; inset: 0; z-index: 79; background: rgba(42,21,32,.32); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.mnav-back.open { opacity: 1; pointer-events: auto; }
.mnav { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 80; width: min(84vw, 360px); background: var(--cream); color: var(--plum);
  display: flex; flex-direction: column; padding: 88px 28px calc(28px + env(safe-area-inset-bottom)); box-shadow: -24px 0 60px rgba(42,21,32,.18);
  transform: translateX(100%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s linear .6s; }
html[dir=ltr] .mnav { transform: translateX(-100%); box-shadow: 24px 0 60px rgba(42,21,32,.18); }
.mnav.open, html[dir=ltr] .mnav.open { transform: none; visibility: visible; transition: transform .6s var(--ease), visibility 0s; }
.mnav > a { display: flex; align-items: center; justify-content: space-between; font-family: var(--f-body); font-size: 1.02rem; font-weight: 500; line-height: 1.4; color: var(--plum);
  padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transform: translateX(24px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s; }
html[dir=ltr] .mnav > a { transform: translateX(-24px); }
.mnav > a::after { content: ''; width: 7px; height: 7px; border-top: 1px solid currentColor; border-left: 1px solid currentColor; transform: rotate(-45deg); opacity: .45; }
html[dir=ltr] .mnav > a::after { transform: rotate(135deg); }
.mnav > a:active { color: var(--rose); }
.mnav.open > a, html[dir=ltr] .mnav.open > a { transform: none; opacity: 1; }
.mnav .small { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; opacity: 0; transition: opacity .6s var(--ease) .3s; }
.mnav.open .small { opacity: 1; }
.mnav .small a, .mnav .small button { font: inherit; font-size: .9rem; color: var(--plum); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; text-decoration: none; }
.mnav-close { position: absolute; top: 18px; inset-inline-start: 24px; }

/* ---------- page transition + preloader ---------- */
.pt { display: none; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .2s cubic-bezier(.23,1,.32,1) both; }
::view-transition-new(root) { animation: vt-in .55s cubic-bezier(.16,1,.3,1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .sc-orbit { animation: none; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
.preloader { position: fixed; inset: 0; z-index: 2100; background: var(--cream); display: grid; place-items: center; }
.pl-logo { position: relative; width: min(300px, 64vw); aspect-ratio: 1755 / 1520; }
.pl-logo > *, .pl-name { position: absolute; inset: 0; display: block; }
.pl-logo img { width: 100%; height: 100%; display: block; }
.pl-face, .pl-sub { opacity: 0; }
.pl-rule { inset: auto; top: 62.17%; height: 1.2%; width: 24.2%; background: #a03e46; border-radius: 2px; transform: scaleX(0); }
.pl-rule.l { left: 0; transform-origin: right; }
.pl-rule.r { right: 0; transform-origin: left; }
.pl-name { clip-path: inset(71% 0 11.5% 0); }
.pl-name img { transform: translateY(16%); opacity: 0; }
html:not(.js) .preloader { display: none; }

/* custom cursor (mouse only) */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 3000; pointer-events: none; border-radius: 50%; }
.cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--rose); }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(180,70,108,.55); display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor-ring span { font-size: .68rem; letter-spacing: .08em; color: var(--cream); opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor-ring.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: transparent; background: rgba(180, 70, 108, .14); }
.cursor-ring.label { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--plum); border-color: var(--plum); }
.cursor-ring.label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- motion primitives (only when JS runs) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(36px); }
html.js [data-reveal=img] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }
html.js [data-reveal=fade] { transform: none; }
.splitw .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.splitw .wi { display: inline-block; will-change: transform; }
html.js .splitw:not(.done) .wi { transform: translateY(105%); }
.scrub-words .sw { opacity: .14; transition: opacity .2s linear; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-reveal=img] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js .splitw .wi { transform: none !important; }
  .scrub-words .sw { opacity: 1 !important; }
  .announce .track, .marquee .track { animation: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h) - 36px); display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(20px, 4vw, 64px); padding-block: 24px 56px; }
.hero-bg { position: absolute; inset: -40px -10vw 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; }
.hero-bg i:nth-of-type(1) { width: 46vw; height: 46vw; background: #f2d5d8; top: -10%; left: -6%; animation: drift 24s ease-in-out infinite alternate; }
.hero-bg i:nth-of-type(2) { width: 30vw; height: 30vw; background: #dff1ef; bottom: -12%; left: 30%; opacity: .55; animation: drift 30s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(6vw, 4vw) scale(1.1); } }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 5.4rem); font-weight: 800; line-height: 1.22; margin: 0 0 28px; letter-spacing: 0; }
.hero h1 .accent { color: var(--rose); }
.hero .kicker { font-family: var(--f-latin); font-style: normal; font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--plum-2); margin-bottom: 18px; display: block; }
.hero .lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--plum-2); max-width: 44ch; margin: 0 0 34px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 32px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 520px; }
.hero-meta div { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.hero-meta b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; color: var(--plum); }
.scroll-cue { position: absolute; bottom: 14px; inset-inline-start: 0; display: flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--plum); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* 3D product showcase */
.showcase { position: relative; width: 100%; max-width: 640px; justify-self: center; user-select: none; -webkit-user-select: none; }
.sc-stage { position: relative; height: clamp(360px, 46vw, 560px); perspective: 1100px; perspective-origin: 50% 35%; touch-action: pan-y; cursor: grab; }
.sc-stage.dragging { cursor: grabbing; }
.sc-stage::before { content: ''; position: absolute; left: 50%; top: 46%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #fbf1ef 46%, #f2dfdd 72%, rgba(242,223,221,0) 73%); }
.sc-stage::after { content: ''; position: absolute; left: 50%; top: 46%; width: 94%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgba(176,141,87,.55); outline: 1px solid rgba(180,70,108,.16); outline-offset: -14px; pointer-events: none; }
.sc-orbit { position: absolute; left: 50%; top: 46%; width: 94%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(0deg); border-radius: 50%; pointer-events: none;
  animation: orbit 26s linear infinite; }
.sc-orbit::before { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(176,141,87,.15); }
@keyframes orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
.sc-floor { position: absolute; left: 12%; right: 12%; bottom: 8%; height: 12%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(42,21,32,.12), transparent 70%); }
.sc-item { position: absolute; left: 50%; top: 86%; width: 33%; height: 72%; display: block; will-change: transform, opacity; -webkit-tap-highlight-color: transparent; }
.sc-item img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; pointer-events: none; -webkit-user-drag: none;
  filter: drop-shadow(0 22px 20px rgba(42,21,32,.14)); transform: translateY(calc(-22px - var(--bob, 0px))) rotate(var(--tilt, 0deg)); }
.sc-item::after { content: ''; position: absolute; left: 16%; right: 16%; bottom: -4%; height: 6%; border-radius: 50%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(42,21,32,.26), transparent 70%); transform: scale(calc(1 - var(--lift, 0) * .22)); opacity: calc(.95 - var(--lift, 0) * .45); }
.sc-caption { text-align: center; min-height: 66px; margin-top: 4px; }
.sc-caption .sc-name { font-family: var(--f-display); font-size: 1.45rem; transition: opacity .3s; }
.sc-caption .sc-price { color: var(--rose); font-weight: 500; }
.sc-hint { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: .78rem; letter-spacing: .08em; }
.sc-hint .hand { width: 26px; height: 1px; background: var(--muted); position: relative; animation: swipe 2.4s var(--ease-io) infinite; }
@keyframes swipe { 0%, 100% { transform: translateX(-8px); } 50% { transform: translateX(8px); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; direction: ltr; }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee .item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--f-display); font-size: clamp(1.3rem, 2.8vw, 2.3rem); white-space: nowrap; color: var(--plum); direction: rtl; }
.marquee .item .latin { color: var(--rose); }
.marquee .star { width: 14px; height: 14px; color: var(--gold); flex: none; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- intro statement ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(20px, 5vw, 80px); align-items: start;
  padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.statement h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.3; }
.statement p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 2; color: var(--plum-2); margin: 0; max-width: 60ch; }
.statement .sig { margin-top: 18px; display: flex; align-items: center; gap: 12px; color: var(--rose); font-size: .95rem; font-weight: 500; }
.statement .sig::before { content: ''; width: 28px; height: 1px; background: currentColor; }
@media (max-width: 760px) { .statement { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- categories ---------- */

/* ---------- horizontal bundles ---------- */
.hscroll { position: relative; overflow: hidden; }
.hscroll .htrack { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: clamp(16px, 4vw, 48px); width: max-content; }
.hpanel { position: relative; width: min(78vw, 640px); flex: none; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.hpanel .img { aspect-ratio: 16/10; background: #fff; overflow: hidden; }
.hpanel .img img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease); }

.hpanel .body { padding: 26px 28px 28px; display: grid; gap: 6px; border-top: 1px solid var(--border); }
.hpanel .en { font-family: var(--f-latin); font-style: normal; color: var(--rose); font-size: 1.05rem; }
.hpanel h3 { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.65rem); }
.hpanel .contents { color: var(--muted); }
.hpanel .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.hpanel .idx { position: absolute; top: 18px; inset-inline-start: 22px; font-family: var(--f-latin); font-style: normal; color: var(--muted); }
.ribbon { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2; background: var(--plum); color: var(--cream); font-size: .74rem; letter-spacing: .06em; padding: 6px 14px; border-radius: 999px; }
.hint-row { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; margin-top: 18px; padding-inline: clamp(16px, 4vw, 48px); }
.hint-row i { flex: 1; max-width: 240px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hint-row i b { position: absolute; inset: 0; background: var(--plum); transform-origin: right; transform: scaleX(0); }

/* ---------- product grid ---------- */
.chips { display: flex; gap: 26px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.chip { position: relative; background: none; border: 0; padding: 0 0 14px; font: inherit; font-size: .95rem; color: var(--muted); cursor: pointer; transition: color .3s; }
.chip::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--plum); transform: scaleX(0); transition: transform .5s var(--ease); }
.chip:hover { color: var(--plum); }
.chip.active { color: var(--plum); font-weight: 500; }
.chip.active::after { transform: scaleX(1); }
.chip .c { font-family: var(--f-latin); font-style: normal; font-size: .85rem; margin-inline-start: 4px; color: var(--rose); }
.grid { --cols: 4; --gx: clamp(14px, 2vw, 26px); display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 3vw, 44px) var(--gx); }
.grid > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gx)) / var(--cols)); min-width: 0; }
.grid > .empty { flex-basis: 100%; }
@media (max-width: 1100px) { .grid { --cols: 3; } }
.product { display: flex; flex-direction: column; color: inherit; position: relative; }
.product .img { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); touch-action: pan-y; }
.product .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }

.product .quick { position: absolute; inset: auto 12px 12px 12px; z-index: 2; transform: translateY(calc(100% + 16px)); transition: transform .55s var(--ease); }
.product:hover .quick, .product:focus-within .quick { transform: none; }
.product .quick .btn { width: 100%; min-height: 46px; }
.product .body { padding: 16px 2px 0; display: grid; gap: 4px; }
.product .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.product .en { font-family: var(--f-latin); font-style: normal; color: var(--rose); font-size: .95rem; }
.product h3 { font-size: 1.3rem; margin: 0; line-height: 1.3; }
.product .tagline { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.price { font-weight: 500; color: var(--plum); font-size: 1.05rem; white-space: nowrap; }
.price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-inline-start: 8px; }
.size { color: var(--muted); font-size: .78rem; border: 1px solid var(--line); padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
.tag { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; background: var(--cream); color: var(--plum); font-size: .72rem; letter-spacing: .04em; padding: 4px 10px; border-radius: 99px; }
.tag.save { background: var(--rose); color: #fff; }
.tag.out { background: var(--plum); color: var(--cream); }
.add-btn { display: none; }
.fav-btn { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--plum); transition: transform .3s var(--ease), color .3s; }

.fav-btn.on { color: var(--rose); animation: bump .5s var(--ease); }

/* bundle card fallback (used in grid when filtering favorites) */
.bundle { display: flex; flex-direction: column; position: relative; color: inherit; }
.bundle .img { position: relative; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.bundle .img img { width: 100%; height: 100%; object-fit: contain; }
.bundle .body { padding: 16px 2px 0; display: grid; gap: 4px; }
.bundle h3 { margin: 0; font-size: 1.3rem; }
.bundle .contents { color: var(--muted); font-size: .88rem; }

/* tilt + glare on photos */
.tilt { perspective: 900px; }
.tilt img { transform-origin: 50% 60%; }
.tilt.active img { transition: transform .1s linear !important; }
.tilt .glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255,255,255,.9), rgba(255,255,255,0) 55%); }
.tilt.active .glare { opacity: 1; }

/* ---------- routine (sticky storytelling) ---------- */
.routine { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.routine .visual { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4/5; border-radius: var(--radius); background: linear-gradient(180deg, #fff, var(--sand)); overflow: hidden; }
.routine .visual::before { content: ''; position: absolute; left: 50%; top: 48%; width: 72%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: var(--blush); opacity: .7; }
.routine .visual img { position: absolute; left: 50%; top: 52%; width: 56%; height: 70%; object-fit: contain; transform: translate(-50%, -50%) scale(.92); opacity: 0;
  transition: opacity .8s var(--ease), transform 1s var(--ease); filter: drop-shadow(0 26px 26px rgba(42,21,32,.16)); }
.routine .visual img.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.routine .visual .count { position: absolute; bottom: 18px; inset-inline-start: 22px; font-family: var(--f-latin); font-style: normal; font-size: 1.1rem; color: var(--plum); }
.routine .steps { padding: 6vh 0; }
.routine .step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.routine .step.on { opacity: 1; }
.routine .step .no { font-family: var(--f-latin); font-style: normal; font-size: 1.2rem; color: var(--rose); }
.routine .step h3 { font-size: clamp(1.5rem, 2.6vw, 2.3rem); margin: 8px 0 12px; }
.routine .step p { color: var(--plum-2); max-width: 42ch; }
.routine .step .meta { display: flex; gap: 16px; align-items: center; margin-top: 10px; }

/* ---------- promises ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise { padding: 30px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .promise:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } }
.promise svg { box-sizing: content-box; width: 22px; height: 22px; padding: 13px; margin-bottom: 10px; border-radius: 50%; background: var(--rose-100); color: var(--rose); }
.promise b { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; line-height: 1.4; }
.promise span { color: var(--muted); font-size: .88rem; line-height: 1.7; }

/* ---------- reviews ---------- */
.review-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card { padding: 30px; color: var(--plum); display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .4s var(--ease); }

.review-card p { margin: 0; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.5; flex: 1; }
.review-card .q { font-family: var(--f-latin); font-size: 3.4rem; line-height: .6; color: var(--rose-300); height: 26px; }
.review-card .who { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.review-card .prod { font-size: .82rem; }

/* ---------- social band ---------- */
.social-band { position: relative; overflow: hidden; background: var(--plum); color: var(--cream); border-radius: var(--radius); padding: clamp(56px, 9vw, 120px) clamp(24px, 6vw, 80px); text-align: center; }
.social-band h2 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 3.4rem); margin-bottom: 10px; }
.social-band .handle { font-family: var(--f-latin); font-style: normal; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--rose-300); display: inline-block; margin-bottom: 30px; direction: ltr; }
.social-band .links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.social-band .orb { position: absolute; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(circle, rgba(180,70,108,.35), transparent 65%); top: -20vw; left: -10vw; pointer-events: none; }

/* ---------- product page ---------- */
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 26px; letter-spacing: .02em; }
.crumbs a:hover { color: var(--plum); }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.pdp .gallery { position: sticky; top: calc(var(--header-h) + 16px); overflow: hidden; background: #fff; }
.pdp h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.3; margin-bottom: 10px; }
.pdp .en { font-family: var(--f-latin); font-style: normal; color: var(--rose); font-size: 1.2rem; }
.pdp .tagline { font-size: 1.12rem; color: var(--plum-2); margin: 8px 0 22px; }
.pdp .price { font-size: 1.7rem; font-family: var(--f-display); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; height: 52px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.1rem; color: var(--plum); cursor: pointer; }
.qty button:hover { background: var(--sand); }
.qty input { width: 44px; border: 0; text-align: center; padding: 0; font-weight: 600; box-shadow: none !important; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.acc { border-top: 1px solid var(--line); margin-top: 26px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 2px; font-weight: 500; display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ''; margin-inline-start: auto; width: 12px; height: 12px; background:
  linear-gradient(currentColor, currentColor) center/12px 1px no-repeat, linear-gradient(currentColor, currentColor) center/1px 12px no-repeat; transition: transform .4s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .content { padding: 0 2px 22px; color: var(--plum-2); white-space: pre-line; }
.bundle-list { display: grid; gap: 8px; margin: 14px 0; }
.bundle-list a { display: flex; gap: 14px; align-items: center; padding: 8px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--paper); transition: border-color .3s; }
.bundle-list a:hover { border-color: var(--plum); }
.bundle-list img { width: 56px; height: 56px; border-radius: 4px; object-fit: cover; }
.sticky-buy { position: fixed; inset: auto 0 0 0; z-index: 50; background: rgba(250,245,240,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; transform: translateY(100%); transition: transform .5s var(--ease); }
.sticky-buy.show { transform: none; }
body:has(.sticky-buy.show) .fab { transform: translateY(-74px); }
.sticky-buy .nm { flex: 1; min-width: 0; font-size: .88rem; line-height: 1.3; }
.sticky-buy .nm b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* drag-to-rotate viewer */
.viewer { position: relative; aspect-ratio: 4/5; perspective: 1000px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
  background: radial-gradient(ellipse at 50% 44%, #fff 0%, #fff 46%, var(--sand) 100%); }
.viewer.dragging { cursor: grabbing; }
.viewer .v-obj { position: absolute; inset: 9% 12% 13%; transform-style: preserve-3d; will-change: transform; }
.viewer .v-obj img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; pointer-events: none; -webkit-user-drag: none; filter: drop-shadow(0 24px 24px rgba(42,21,32,.16)); }
.viewer .v-obj.flat { inset: 6% 4% 14%; }
.viewer .v-obj.flat img { object-fit: contain; object-position: center; filter: none; }
.viewer.flat .v-shadow { display: none; }
.viewer .v-shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .9;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.85) var(--sx, 45%), transparent calc(var(--sx, 45%) + 22%)); }
.viewer .v-shadow { position: absolute; left: 22%; right: 22%; bottom: 9%; height: 6%; border-radius: 50%; will-change: transform; background: radial-gradient(ellipse at center, rgba(42,21,32,.3), transparent 70%); }
.viewer .v-hint { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--muted); font-size: .78rem; letter-spacing: .08em; pointer-events: none; transition: opacity .4s; }
.viewer .v-hint .hand { width: 26px; height: 1px; background: var(--muted); animation: swipe 2.4s var(--ease-io) infinite; }
.viewer.used .v-hint { opacity: 0; }

/* ratings + reviews */
.stars { display: inline-flex; gap: 1px; font-size: var(--sz, 16px); line-height: 1; direction: ltr; }
.star { position: relative; color: #e6d6d6; }
.star span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--gold); white-space: nowrap; }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.rating-line.big { font-size: .9rem; margin: 6px 0; }
.verified { display: inline-block; font-size: .74rem; font-weight: 500; color: var(--ok); border: 1px solid rgba(47,125,91,.3); border-radius: 99px; padding: 1px 10px; }
.reviews-wrap { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
.rev-summary { position: sticky; top: calc(var(--header-h) + 16px); }
.rev-avg { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rev-avg b { font-size: 3rem; font-family: var(--f-display); font-weight: 600; line-height: 1; }
.bar-row { display: grid; grid-template-columns: 34px 1fr 26px; gap: 8px; align-items: center; font-size: .82rem; margin: 6px 0; }
.bar { height: 4px; border-radius: 99px; background: var(--rose-100); overflow: hidden; direction: ltr; }
.bar i { display: block; height: 100%; background: var(--plum); border-radius: 99px; }
.rev-form { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.star-input { display: flex; gap: 4px; }
.star-input button { background: none; border: 0; font-size: 1.9rem; line-height: 1; color: #e6d6d6; cursor: pointer; padding: 0 2px; transition: transform .2s var(--ease), color .2s; }
.star-input button.on { color: var(--gold); }

.rev-list { display: grid; gap: 14px; }
.review p { margin: 10px 0 6px; white-space: pre-line; }

/* ---------- cart page + drawer ---------- */
.cart-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.line { display: flex; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.line:last-child { border-bottom: 0; }
.line img { width: 84px; height: 84px; border-radius: 4px; object-fit: cover; border: 1px solid var(--border); }
.line .qty { height: 40px; }
.line .qty button { width: 34px; }
.line .qty input { width: 34px; }
.rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.3rem; width: 36px; height: 36px; border-radius: 50%; }
.rm:hover { background: var(--sand); color: var(--danger); }
.coupon-row { display: flex; gap: 8px; margin-top: 16px; }
.coupon-row input { text-transform: uppercase; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-row.discount { color: var(--ok); font-weight: 500; }
.zones { border: 0; padding: 0; margin: 14px 0 4px; min-width: 0; }
.zones legend { padding: 0; margin-bottom: 8px; font-weight: 500; }
.zone-list { display: grid; gap: 8px; }
.zone { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 400; transition: border-color .2s, background-color .2s; }
.zone input { width: 18px; height: 18px; padding: 0; margin: 0; flex: none; accent-color: var(--ink); box-shadow: none; }
.zone:has(input:checked) { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.zone b { font-variant-numeric: tabular-nums; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 1.15rem; }

.drawer-back { position: fixed; inset: 0; z-index: 90; background: rgba(42,21,32,.35); opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.drawer-back.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 91; width: min(440px, 100vw); background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden; transition: transform .7s var(--ease), visibility 0s linear .7s, box-shadow .7s; }
html[dir=ltr] .drawer { transform: translateX(-100%); }
.drawer.open { transform: none !important; visibility: visible; box-shadow: var(--shadow-lg); transition: transform .7s var(--ease), visibility 0s, box-shadow .7s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.6rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 26px; }
.drawer .d-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.drawer .d-line img { width: 76px; height: 92px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); background: #fff; }
.drawer .d-line .nm { font-family: var(--f-display); font-size: 1.1rem; line-height: 1.3; }
.drawer .d-line .qty { height: 34px; margin-top: 8px; }
.drawer .d-line .qty button { width: 30px; }
.drawer .d-line .qty input { width: 28px; font-size: .9rem; }
.drawer-foot { padding: 20px 26px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot .sum-row { font-size: 1.1rem; }
.close-x { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; color: inherit; transition: transform .5s var(--ease), background .3s; }


/* ---------- status, tables, tabs ---------- */
.pill { display: inline-block; padding: 3px 12px; border-radius: 99px; font-size: .76rem; font-weight: 500; background: var(--sand); }
.st-pending { background: #fbf0dc; color: #8a5a0b; }
.st-confirmed { background: #e3edf8; color: #2b5d96; }
.st-shipped { background: #ece4f6; color: #5e3f96; }
.st-delivered { background: #e2f2ea; color: var(--ok); }
.st-cancelled { background: #f8e3e5; color: var(--danger); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: start; padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { color: var(--muted); font-weight: 500; font-size: .8rem; letter-spacing: .04em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.thumb { width: 52px; height: 52px; border-radius: 4px; object-fit: cover; border: 1px solid var(--border); }
.tabs { display: flex; gap: 28px; margin-bottom: 28px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; background: none; border: 0; padding: 0 0 14px; font: inherit; cursor: pointer; color: var(--muted); white-space: nowrap; transition: color .3s; }
.tabs button::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--plum); transform: scaleX(0); transition: transform .5s var(--ease); }
.tabs button.active { color: var(--plum); font-weight: 500; }
.tabs button.active::after { transform: scaleX(1); }

/* ---------- chat ---------- */
.chat { display: flex; flex-direction: column; height: 580px; max-height: 76vh; overflow: hidden; }
.chat-head { padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 500; }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--cream); }
.msg { max-width: 76%; padding: 11px 16px; border-radius: 18px; white-space: pre-wrap; word-wrap: break-word; animation: msgIn .5s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg small { display: block; font-size: .7rem; opacity: .65; margin-top: 3px; }
.msg.me { align-self: flex-start; background: var(--plum); color: var(--cream); border-end-start-radius: 4px; }
.msg.them { align-self: flex-end; background: var(--paper); border: 1px solid var(--border); border-end-end-radius: 4px; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: var(--paper); }
.chat-form textarea { resize: none; height: 52px; border-radius: 999px; padding: 14px 20px; }
.conv-list { max-height: 580px; overflow-y: auto; }
.conv { padding: 16px 20px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .3s; }
.conv:hover, .conv.active { background: var(--cream); }
.conv .last { color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.split { display: grid; grid-template-columns: 300px 1fr; gap: 16px; }

/* ---------- admin stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat { padding: 20px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.stat .muted { font-size: .82rem; }
.stat .n { font-size: 2.1rem; font-family: var(--f-display); line-height: 1.2; }

/* ---------- modal + toast ---------- */
.modal { position: fixed; inset: 0; background: rgba(42,21,32,.4); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 95; }
.modal.open { display: flex; }
.modal .card { width: 100%; max-width: 680px; max-height: 92vh; overflow-y: auto; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 24px); background: var(--plum); color: var(--cream); padding: 13px 24px; border-radius: 999px; z-index: 2200;
  opacity: 0; transition: opacity .4s var(--ease), transform .5s var(--ease); pointer-events: none; font-size: .92rem; box-shadow: var(--shadow-lg); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* floating chat */
.fab { position: fixed; bottom: 22px; left: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--cream);
  background: var(--plum); box-shadow: 0 12px 30px rgba(42,21,32,.25), 0 0 0 1px rgba(250,245,240,.18); transition: transform .5s var(--ease), background .3s; }
.fab.on-dark { background: var(--rose); }

.fab svg { width: 22px; height: 22px; }
.fab .badge { position: absolute; top: -2px; right: -2px; margin: 0; }

/* ---------- footer ---------- */
.section:has(+ .footer), main > :last-child { margin-bottom: clamp(56px, 7vw, 96px); }
.footer { position: relative; background: var(--plum); color: var(--cream); padding: clamp(64px, 9vw, 110px) 0 0; margin-top: auto; overflow: hidden; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font-family: var(--f-body); font-weight: 500; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose-300); margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--cream); opacity: .85; transition: opacity .3s; }
.footer a:hover { opacity: 1; }
.footer .lead-f { font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.4; max-width: 22ch; margin: 0 0 24px; }
.footer .about-f { color: rgba(250,245,240,.6); max-width: 40ch; font-size: .9rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(250,245,240,.25); color: var(--cream); opacity: 1;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s; }
.socials a:hover { background: var(--cream); color: var(--plum); border-color: var(--cream); }
.contact-line { display: flex; align-items: center; gap: 10px; }
.contact-line svg { flex: none; color: var(--rose-300); }
.wordmark { font-family: var(--f-latin); font-weight: 500; font-size: clamp(4rem, 16vw, 19rem); line-height: .78; letter-spacing: .04em; text-indent: .04em; text-align: center; color: var(--cream);
  opacity: .08; margin: clamp(48px, 7vw, 90px) 0 0; white-space: nowrap; direction: ltr; user-select: none; transform: translateY(8%); }
.copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: rgba(250,245,240,.5); font-size: .8rem; padding: 26px 0; border-top: 1px solid rgba(250,245,240,.12); margin-top: 48px; }

/* ---------- account: order timeline ---------- */
.order-card { margin-bottom: 16px; }
.timeline { display: flex; align-items: center; margin: 20px 0 12px; }
.timeline .step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; width: 74px; text-align: center; }
.timeline .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 600;
  background: var(--paper); border: 1px solid var(--line); color: var(--muted); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
.timeline .lbl { font-size: .76rem; color: var(--muted); }
.timeline .bar { flex: 1; height: 1px; background: var(--line); border-radius: 0; margin-bottom: 26px; }
.timeline .step.done .dot { background: var(--plum); border-color: var(--plum); color: var(--cream); }
.timeline .step.done .lbl { color: var(--plum); }
.timeline .step.done + .bar { background: var(--plum); }
.timeline .step.now .dot { box-shadow: 0 0 0 6px var(--blush); }
.order-items { list-style: none; padding: 0; margin: 10px 0; }
.order-items li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); }

/* ---------- success / policies / 404 ---------- */
.success { text-align: center; }
.success .lead { font-size: 1.1rem; color: var(--muted); }
.check-anim svg { width: 88px; height: 88px; margin: 6px auto 14px; display: block; }
.check-anim circle { fill: none; stroke: var(--line); stroke-width: 1.5; }
.check-anim path { fill: none; stroke: var(--plum); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .7s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.next-steps { text-align: start; background: var(--cream); border-radius: var(--radius); padding: 20px 24px; margin: 22px 0; }
.next-steps h3 { margin-bottom: 8px; font-size: 1.2rem; }
.next-steps ol { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; }
.ok-summary { text-align: start; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
.ok-summary h3 { font-size: 1.15rem; }
.policy h3 { margin: 26px 0 8px; font-size: 1.45rem; }
.policy h3:first-child { margin-top: 0; }
.policy p { margin: 0 0 6px; color: var(--plum-2); }
.nf { text-align: center; padding: 64px 24px; }
.nf-num { font-family: var(--f-latin); font-size: clamp(6rem, 20vw, 11rem); font-weight: 400; line-height: 1; color: var(--plum); direction: ltr; }
.nf-num span { color: var(--rose); font-style: normal; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .promises { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .topbar .container { grid-template-columns: auto 1fr auto; }
  .topbar .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar .logo { justify-self: center; }
  .tools .hide-sm { display: none; }
  .tools .admin-tool { padding: 0; width: 36px; min-width: 36px; height: 36px; justify-content: center; background: var(--rose-100); color: var(--plum); }
  .tools .admin-tool span { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 8px; text-align: start; }
  .hero-meta { gap: 20px; }
  .scroll-cue { display: none; }
  .routine { grid-template-columns: 1fr; }
  .routine .visual { top: calc(var(--header-h) + 8px); aspect-ratio: 16/11; z-index: 2; }
  .routine .step { min-height: 46vh; }
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .pdp .gallery { position: static; }
  .sticky-buy { display: flex; }
  .reviews-wrap { grid-template-columns: 1fr; }
  .rev-summary { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .conv-list { max-height: 220px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .footer .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .grid { --cols: 2; --gx: 12px; row-gap: 26px; }
  .product h3 { font-size: 1.08rem; }
  .product .tagline { display: none; }
  .product .quick { display: none; }
  .product .top { flex-direction: column; align-items: flex-start; gap: 2px; }
  .fav-btn { width: 32px; height: 32px; top: 8px; inset-inline-end: 8px; }
  .fav-btn svg { width: 15px; height: 15px; }
  .tag { font-size: .66rem; padding: 3px 8px; top: 8px; inset-inline-start: 8px; }
  .promises { gap: 12px; }
  .promise { padding: 22px 16px; border-radius: 16px; }
  .promise svg { width: 20px; height: 20px; padding: 11px; margin-bottom: 6px; }
  .promise b { font-size: 1rem; }
  .promise span { font-size: .82rem; }
  .hero-meta { display: none; }
  .timeline .step { width: 54px; }
  .timeline .lbl { font-size: .68rem; }
  .fab { width: 50px; height: 50px; bottom: 16px; left: 16px; }
  .toast { white-space: normal; text-align: center; width: max-content; max-width: calc(100vw - 32px); }
  .line { padding: 14px; gap: 10px; flex-wrap: wrap; }
  .line img { width: 64px; height: 64px; }
}

/* ---------- home extras ---------- */
.no-intro .preloader { display: none; }
html.js .hero-in { opacity: 0; }
.hero-copy { position: relative; z-index: 1; }
.add-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--plum); color: var(--cream); cursor: pointer; place-items: center; flex: none; }
.add-btn:disabled { opacity: .35; }
@media (max-width: 900px) {
  .hscroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hscroll::-webkit-scrollbar { display: none; }
  .hpanel { scroll-snap-align: center; width: 82vw; }
  .hint-row i { display: none; }
}
@media (max-width: 560px) {
  .add-btn { display: grid; }
  .product .row .size { display: none; }
}

/* password reset code */
.otp-input { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
.otp-links { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 16px 0 0; }
.otp-links .link-btn:disabled { opacity: .5; cursor: default; text-decoration: none; }

/* hero title waits for the BlurText island (falls back to plain text) */
html.js #heroTitle:not(.islanded):not(.done) { visibility: hidden; }
.hero-bg i { z-index: 1; }

/* every home section eases in once while scrolling */
html.js .sec-in { opacity: 0; }
/* keep the hero background layers above the page background */
.hero { isolation: isolate; }

/* admin: destructive actions */
.del-btn { color: var(--danger); border-color: rgba(179,38,30,.35); }
.danger-card { border-color: rgba(179,38,30,.3); }

/* ---------- polish (Emil Kowalski / Impeccable checks) ---------- */
/* hover motion only where a real pointer hovers; touch taps leave sticky hovers */
@media (hover: hover) and (pointer: fine) {
  .hpanel:hover .img img { transform: scale(1.04); }
  .product:hover .img img { transform: scale(1.045); }
  .fav-btn:hover { transform: scale(1.08); }
  .review-card:hover { border-color: var(--rose-200); }
  .star-input button:hover { transform: scale(1.15); }
  .close-x:hover { transform: rotate(90deg); background: rgba(127,127,127,.08); }
  .fab:hover { transform: scale(1.06); background: var(--rose); }
}
/* pressable things answer the touch */
.product .img:active, .hpanel:active, .chip:active, .tool:active, .fav-btn:active, .fab:active { transform: scale(.97); transition: transform .16s var(--ease); }
/* browser surfaces carry the palette */
html { caret-color: var(--rose); accent-color: var(--rose); scrollbar-color: var(--rose-300) transparent; }
a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
.price, .stat .n, .sum-row, .qty input, .hero-meta b, .sc-price, td { font-variant-numeric: tabular-nums; }
h1, h2, h3 { text-wrap: balance; }
p, .lead { text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) {
  .product .img:active, .hpanel:active, .chip:active, .tool:active, .fav-btn:active, .fab:active, .btn:active { transform: none; }
}

/* happy-result photo section (photo uploaded by the owner) */
.joy { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.joy-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--paper); }
.joy-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.joy-copy h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.3; margin: 0 0 20px; }
.joy-copy .lead { color: var(--plum-2); max-width: 40ch; margin: 0 0 28px; }
@media (max-width: 900px) { .joy { grid-template-columns: 1fr; } .joy-photo { aspect-ratio: 4/4.4; } }

/* ---------- product cards: studio photo style ---------- */
.grid { --cols: 3; max-width: 1120px; margin-inline: auto; --gx: clamp(14px, 1.8vw, 22px); row-gap: clamp(16px, 2vw, 22px); }
.product { background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(42,21,32,.04), 0 8px 26px rgba(42,21,32,.06); overflow: hidden; position: relative; }
.product .img { display: block; aspect-ratio: 15/16; border: 0; border-radius: 0; background: #ebe3da; }
.product .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product .fav-btn { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; background: rgba(255,255,255,.82); }
.product .tag { top: 12px; inset-inline-start: 12px; }
.product .body { padding: 14px 16px 16px; display: grid; gap: 12px; }
.product .name-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.product .name { font-family: var(--f-body); font-size: 1.02rem; font-weight: 500; color: var(--plum); line-height: 1.35; text-decoration: none; }
.product .price { font-size: .95rem; font-weight: 500; white-space: nowrap; display: inline-flex; gap: 6px; align-items: baseline; }
.product .price s { font-size: .8rem; }
.cart-btn { width: 100%; min-height: 40px; background: transparent; color: var(--plum); border: 1px solid var(--plum); border-radius: 2px;
  font: inherit; font-size: .9rem; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), transform .16s var(--ease); }
.cart-btn:active { transform: scale(.98); }
.cart-btn:disabled { opacity: .45; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .cart-btn:hover:not(:disabled) { background: var(--plum); color: var(--cream); }
  .product:hover .img img { transform: scale(1.035); }
}
@media (max-width: 900px) { .grid { --cols: 2; } }
@media (max-width: 560px) {
  .grid { --gx: 10px; row-gap: 12px; }
  .product .body { padding: 10px 10px 12px; gap: 10px; }
  .product .name-row { flex-direction: column; gap: 2px; }
  .product .name { font-size: .92rem; }
  .cart-btn { min-height: 36px; font-size: .82rem; }
}
/* bundles show their studio photo edge to edge */
.hpanel .img { background: #ece6dc; }
.hpanel .img img { object-fit: cover; }
/* card text: name and price centred, stacked, same height in every card */
.product .body { text-align: center; }
.product .name-row { flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; }
.product .name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(2 * 1.35em); display: -webkit-box; align-content: center; }
.product .price { justify-content: center; font-size: 1rem; }
/* ---------- about page ---------- */
.about-page { max-width: 1080px; }
.ab-hero { padding-block: clamp(20px, 5vw, 60px) clamp(40px, 7vw, 90px); max-width: 760px; }
.ab-hero h1 { font-size: clamp(2.4rem, 5.8vw, 4.6rem); line-height: 1.22; margin: 0 0 24px; }
.ab-hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--plum-2); line-height: 1.9; margin: 0; }
.ab-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: clamp(20px, 5vw, 80px); padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.ab-row h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.35; margin: 0; }
.ab-row p { font-size: 1.08rem; line-height: 2; color: var(--plum-2); margin: 0 0 14px; max-width: 62ch; }
.ab-cards { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ab-cards li { background: #fff; border-radius: 10px; padding: 22px; box-shadow: 0 1px 2px rgba(42,21,32,.04), 0 8px 24px rgba(42,21,32,.05); }
.ab-cards b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; margin-bottom: 6px; color: var(--plum); }
.ab-cards span { color: var(--muted); line-height: 1.8; font-size: .95rem; }
.ab-cta { display: flex; gap: 12px; flex-wrap: wrap; padding-block: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .ab-row { grid-template-columns: 1fr; gap: 14px; }
  .ab-cards { grid-template-columns: 1fr; }
  .ab-cta .btn { flex: 1 1 100%; }
}

/* hero background: the products themselves, softly out of focus, drifting */
.hero-float { position: absolute; inset: 0; z-index: 0; }
.hero-float img { position: absolute; height: auto; opacity: .62; will-change: transform;
  animation: floaty var(--d, 14s) ease-in-out var(--dl, 0s) infinite alternate; }
.hero-float .f1 { width: 10vw; top: 4%; left: 44%; --d: 15s; --r: -9deg;  }
.hero-float .f2 { width: 15vw; bottom: 4%; left: 2%; --d: 18s; --dl: -4s; --r: 7deg;  }
.hero-float .f3 { width: 7vw; top: 12%; right: 5%; --d: 13s; --dl: -7s; --r: 12deg;  }
.hero-float .f4 { width: 12vw; bottom: 2%; right: 33%; --d: 17s; --dl: -2s; --r: -6deg;  }
.hero-float .f5 { width: 11vw; top: 0; left: 3%; --d: 16s; --dl: -9s; --r: 5deg;  }
.hero-float .f6 { width: 8.5vw; bottom: 20%; right: 1%; --d: 19s; --dl: -5s; --r: -10deg;  }
@keyframes floaty {
  from { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); }
  to { transform: translate3d(1.2vw, -2.4vw, 0) rotate(calc(var(--r, 0deg) * -1)); }
}
@media (max-width: 900px) {
  .hero-float img { opacity: .42; }
  .hero-float .f1 { width: 24vw; top: 1%; left: 64%; }
  .hero-float .f2 { width: 34vw; bottom: 30%; left: -8%; }
  .hero-float .f3 { width: 16vw; top: 30%; right: 1%; }
  .hero-float .f4, .hero-float .f6 { display: none; }
  .hero-float .f5 { width: 26vw; top: 16%; left: 1%; }
}
@media (prefers-reduced-motion: reduce) { .hero-float img { animation: none; } }

/* frosted glass over the floating characters */
.hero-glass { position: absolute; inset: 0; z-index: 0;
  -webkit-backdrop-filter: blur(5px) saturate(1.15); backdrop-filter: blur(5px) saturate(1.15);
  background:
    linear-gradient(115deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.06) 38%, rgba(255,255,255,0) 52%, rgba(255,255,255,.14) 70%, rgba(255,255,255,.02) 100%),
    rgba(250,245,240,.22); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-float img { filter: blur(4px); }
}

/* sign-in page: password change */
.auth-links { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }
.auth-links span { color: var(--muted); }
.field-err { color: var(--danger); font-size: .86rem; min-height: 1.1em; margin-top: 4px; }
input.bad { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(179,38,30,.1); }
.success-box { background: #e8f5ec; color: #1f6b3a; border: 1px solid #b9dfc6; border-radius: 10px; padding: 12px 14px; margin: 12px 0 4px; font-weight: 500; text-align: center; }
