/* ============ Victoria · "Premiere" ============ */
@font-face { font-family: 'Karantina'; src: url(../fonts/karantina-bold.woff) format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'FiraXC'; src: url(../fonts/fira-xc-bold.woff) format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Lalezar'; src: url(../fonts/lalezar.woff) format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url(../fonts/rubik-var.woff) format('woff'); font-weight: 300 900; font-display: swap; }

:root {
  --velvet: #3A1F3E;      /* plum ink */
  --velvet-2: #DCD0E2;    /* lilac deep */
  --velvet-3: #E6DCEB;
  --stone: #F1ECF3;       /* lilac light */
  --stone-2: #DCD0E2;
  --ink: #3A1F3E;
  --ink-soft: #6E5A73;
  --mustard: #D2A140;     /* upholstery */
  --mustard-deep: #7A5710;
  --on-dark: #3A1F3E;
  --on-dark-soft: #6E5A73;
  --light: #F7F3F8;
  --display: 'Karantina', 'Rubik', sans-serif;
  --body: 'Rubik', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(1.25rem, 4vw, 4rem);
  --fs: 1.0625rem;
}
:lang(ru) { --display: 'FiraXC', 'Rubik', sans-serif; }
:lang(ar) { --display: 'Lalezar', 'Rubik', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: var(--fs); line-height: 1.55; color: var(--ink); background: var(--stone); }
html.big { --fs: 1.25rem; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); box-shadow: 0 0 0 6px var(--mustard); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--mustard); color: var(--ink); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }
.display { font-family: var(--display); font-weight: 700; line-height: .92; letter-spacing: -.01em; margin: 0; }
:lang(ar) .display { line-height: 1.15; letter-spacing: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.4rem; border-radius: 999px; border: 0; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--mustard); color: var(--ink); }
.btn-primary:hover { background: #E1B357; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(58,31,62,.4); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-dark); }
.btn-ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--stone); }
.btn-sm { min-height: 2.5rem; padding: .45rem 1rem; font-size: .95rem; }
.btn-wa svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.icon-btn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: rgba(58,31,62,.08); color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: rgba(58,31,62,.16); }
.icon-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[dir=ltr] .pb-ctrl svg { transform: scaleX(-1); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 2rem; padding: .9rem var(--pad); color: var(--on-dark); transition: background .3s, color .3s; }
.top.solid { background: rgba(241,236,243,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(58,31,62,.08); }
.wordmark { display: flex; align-items: baseline; gap: .45rem; text-decoration: none; }
.wm-main { font-family: var(--display); font-size: 2.1rem; line-height: 1; font-weight: 700; }
.wm-sub { display: none; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-size: .98rem; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--mustard); }
.top-end { margin-inline-start: auto; display: flex; align-items: center; gap: .9rem; }
.langs { display: flex; background: rgba(58,31,62,.08); border-radius: 999px; padding: 3px; }
.langs button { border: 0; background: none; padding: .35rem .7rem; border-radius: 999px; cursor: pointer; font-size: .9rem; color: var(--on-dark-soft); min-width: 2.4rem; }
.langs button[aria-pressed=true] { background: var(--ink); color: var(--light); font-weight: 600; }

/* ---------- stage ---------- */
.stage { position: relative; height: 420vh; background: radial-gradient(120% 85% at 50% 100%, #DCD0E2 0%, #F1ECF3 70%); color: var(--ink); }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage-sticky::after { /* the stage floor glow */
  content: ''; position: absolute; inset: auto -10% -18% -10%; height: 45%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(210,161,64,.14), transparent 70%); }
.marquee { position: absolute; inset: auto 0 44vh 0; margin: 0; text-align: center; font-family: var(--display); font-weight: 700;
  font-size: clamp(5rem, 17vw, 19rem); line-height: .8; color: transparent; -webkit-text-stroke: 0; pointer-events: none; user-select: none;
  background: linear-gradient(180deg, rgba(58,31,62,.88) 0%, rgba(58,31,62,.5) 60%, rgba(58,31,62,0) 100%); -webkit-background-clip: text; background-clip: text;
  letter-spacing: -.02em; }
:lang(ar) .marquee { font-size: clamp(4rem, 14vw, 16rem); line-height: 1.1; letter-spacing: 0; }
:lang(ru) .marquee { font-size: clamp(3.6rem, 11.5vw, 13rem); }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; z-index: 2; }
.stage-canvas:active { cursor: grabbing; }

.hero-copy { position: absolute; z-index: 3; inset-inline-start: var(--pad); bottom: clamp(1.5rem, 6vh, 4rem); max-width: min(24rem, 34vw); }
.hero-line { font-size: clamp(1.05rem, 1.5vw, 1.3rem); margin: 0 0 1.25rem; color: var(--on-dark); text-wrap: pretty; text-shadow: 0 0 10px var(--stone), 0 0 3px var(--stone); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.playbill { position: absolute; z-index: 3; inset-inline-end: var(--pad); bottom: clamp(1.5rem, 6vh, 4rem); display: grid; gap: .55rem; justify-items: end; text-align: end; }
.pb-now { font-size: .85rem; color: var(--on-dark-soft); }
.pb-name { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: .95; color: var(--on-dark); text-align: end; }
:lang(ar) .pb-name { line-height: 1.3; }
.pb-name:hover { color: var(--mustard); }
.pb-ctrl { display: flex; align-items: center; gap: .6rem; }
.pb-count { font-variant-numeric: tabular-nums; color: var(--on-dark-soft); font-size: .9rem; min-width: 3ch; text-align: center; }
.drag-hint { margin: 0; font-size: .8rem; color: var(--on-dark-soft); }

.swatches { display: flex; flex-wrap: wrap; gap: .45rem; }
.swatch { width: 2rem; height: 2rem; border-radius: 50%; border: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 -6px 10px rgba(0,0,0,.25), 0 0 0 2px transparent; transition: box-shadow .2s, transform .2s var(--ease); }
.swatch[aria-pressed=true] { box-shadow: inset 0 -6px 10px rgba(0,0,0,.25), 0 0 0 2px var(--stone), 0 0 0 4px var(--ink); transform: scale(1.08); }
.swatch:hover { transform: scale(1.12); }

.scenes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.scene { position: absolute; top: 50%; inset-inline-start: var(--pad); transform: translateY(-50%); max-width: 24rem; opacity: 0; visibility: hidden; }
.scene.on { pointer-events: auto; }
.scene-n { display: block; font-family: var(--display); font-size: 6rem; line-height: .8; color: var(--mustard); }
:lang(ar) .scene-n { line-height: 1.2; }
.scene h2 { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .9; margin: .2rem 0 .8rem; }
:lang(ar) .scene h2 { line-height: 1.25; }
.scene p { margin: 0 0 1.2rem; font-size: 1.1rem; color: var(--on-dark); text-wrap: pretty; }

.dim-labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.dim-label { position: absolute; transform: translate(-50%, -50%); background: var(--mustard); color: var(--ink); padding: .2rem .6rem; border-radius: 999px; font-size: .9rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: 0; }

.progress { position: absolute; z-index: 3; inset-inline: var(--pad); top: 4.6rem; height: 2px; background: rgba(58,31,62,.12); opacity: 0; }
.progress i { display: block; height: 100%; width: 100%; background: var(--mustard); transform-origin: right; transform: scaleX(0); }
[dir=ltr] .progress i { transform-origin: left; }

/* ---------- catalog ---------- */
.catalog { padding: clamp(4rem, 10vw, 8rem) var(--pad) clamp(3rem, 8vw, 6rem); }
.cat-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 1rem 3rem; margin-bottom: 2rem; }
.cat-head .display { font-size: clamp(4.5rem, 13vw, 11rem); color: var(--velvet); }
.cat-head p { max-width: 26rem; margin: 0 0 .8rem; color: var(--ink-soft); }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 2rem; scrollbar-width: none; }
.chip { flex: none; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--stone-2); color: var(--ink); padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; font-size: .98rem; }
.chip[aria-pressed=true] { background: var(--ink); color: var(--light); box-shadow: none; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.75rem); grid-auto-flow: dense; }
.card { grid-column: span 4; position: relative; }
.card.wide { grid-column: span 8; }
.card button.card-hit { all: unset; display: block; cursor: pointer; width: 100%; }
.card-hit:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 18px; }
.card-pic { position: relative; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; background: radial-gradient(90% 70% at 50% 75%, #FBF8FC 0%, #E6DCEB 100%); }
.card.wide .card-pic { aspect-ratio: 16/9; }
.card-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.card-hit:hover .card-pic img { transform: scale(1.04) translateY(-1%); }
.card-pic.photo img { object-fit: cover; }
.card-hit:hover .card-pic.photo img { transform: scale(1.04); }
.card-3d { position: absolute; inset-block-end: .8rem; inset-inline-end: .8rem; background: var(--ink); color: var(--light); font-size: .82rem; padding: .3rem .7rem; border-radius: 999px; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem .2rem 0; }
.card-name { margin: 0; font-size: 1.15rem; font-weight: 600; }
.card-price { margin: 0; color: var(--mustard-deep); font-weight: 600; white-space: nowrap; }
.card-sub { margin: .15rem .2rem 0; color: var(--ink-soft); font-size: .92rem; }
.card-dots { display: flex; gap: .3rem; margin: .5rem .2rem 0; }
.card-dots i { width: .8rem; height: .8rem; border-radius: 50%; background: var(--c); }
.empty { grid-column: 1 / -1; color: var(--ink-soft); }

/* ---------- visit ---------- */
.visit { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(4rem, 9vw, 8rem) var(--pad); background: var(--mustard); color: var(--ink); }
.visit .display { font-size: clamp(3.4rem, 8vw, 7.5rem); margin-bottom: 1.2rem; }
.visit-lead { max-width: 30rem; font-size: 1.15rem; margin: 0 0 2rem; }
.facts { display: grid; gap: 1.1rem; margin: 0 0 2rem; }
.facts dt { font-size: .9rem; font-weight: 500; }
.facts dd { margin: 0; font-size: 1.3rem; font-weight: 600; }
.lead { background: var(--light); border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1rem; align-content: start; }
.lead h3 { margin: 0 0 .4rem; font-size: 1.4rem; }
.lead > label { display: block; margin-bottom: -.6rem; font-size: .95rem; font-weight: 600; color: var(--ink); }
.lead input, .lead select, .lead textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1.5px solid var(--stone-2); border-radius: 12px; padding: .75rem .9rem; min-height: 3rem; }
.lead input:focus-visible, .lead select:focus-visible, .lead textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; box-shadow: none; border-color: var(--velvet); }
[dir=rtl] .lead input[type=tel] { text-align: right; }
.form-msg { margin: 0; min-height: 1.4em; font-weight: 600; }
.form-msg.err { color: #8A1F2B; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 2rem var(--pad); background: var(--ink); color: #CDBFD3; font-size: .92rem; }
.foot-mark { font-family: var(--display); font-size: 2rem; color: var(--light); }
.foot-links { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.foot-links a { color: #EFE7F2; text-decoration: underline; text-underline-offset: 3px; }
.foot-biz { margin: 0; flex-basis: 100%; color: #E3D8E8; }
.foot-copy { flex-basis: 100%; }

/* ---------- product dialog ---------- */
.pd { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 24px; background: var(--stone); color: var(--ink); overflow: hidden; }
.pd[open] { display: grid; grid-template-columns: 1.25fr 1fr; animation: pdIn .45s var(--ease); }
.pd::backdrop { background: rgba(58,31,62,.45); backdrop-filter: blur(6px); }
@keyframes pdIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.pd-view { position: relative; background: radial-gradient(100% 80% at 50% 85%, #DCD0E2, #EFE8F2); min-height: 460px; }
.pd-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.pd-toggle { position: absolute; z-index: 2; top: 1rem; inset-inline-start: 1rem; display: flex; background: rgba(247,243,248,.9); border-radius: 999px; padding: 3px; box-shadow: 0 2px 10px rgba(58,31,62,.12); }
.pd-toggle button { border: 0; background: none; padding: .45rem 1rem; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--ink); }
.pd-toggle button[aria-pressed=true] { background: var(--ink); color: var(--light); }
.pd-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pd-feats { margin: 0 0 1.3rem; padding: 0; list-style: none; display: grid; gap: .4rem; }
.pd-feats li { position: relative; padding-inline-start: 1.2rem; }
.pd-feats li::before { content: ''; position: absolute; inset-inline-start: 0; top: .55em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--mustard); }
.pd-view .drag-hint { position: absolute; bottom: 1rem; inset-inline-start: 1.2rem; }
.pd-info { position: relative; padding: 2.2rem 2rem 2rem; overflow-y: auto; max-height: 92vh; }
.pd-close { position: absolute; top: 1rem; inset-inline-end: 1rem; background: var(--stone-2); color: var(--ink); }
.pd-cat { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.pd-name { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: .95; margin: .3rem 0 .6rem; padding-inline-end: 3rem; }
:lang(ar) .pd-name { line-height: 1.3; }
.pd-price { margin: 0 0 1rem; font-size: 1.35rem; font-weight: 700; color: var(--mustard-deep); }
.pd-price s { color: var(--ink-soft); font-weight: 400; font-size: 1rem; margin-inline-start: .5rem; }
.pd-desc { margin: 0 0 1.4rem; }
.pd-info h3 { font-size: .9rem; font-weight: 500; color: var(--ink-soft); margin: 0 0 .5rem; }
.pd-fabrics, .pd-dims { margin-bottom: 1.3rem; }
.pd-fabrics .swatch[aria-pressed=true] { box-shadow: inset 0 -6px 10px rgba(0,0,0,.25), 0 0 0 2px var(--stone), 0 0 0 4px var(--velvet); }
.pd-fabric-name { margin: .5rem 0 0; font-size: .92rem; }
.pd-dims p { margin: 0; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.pd-actions { display: grid; gap: .6rem; }
.pd-ar-note { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- fit / photo tools ---------- */
.btn-link { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 4px; min-height: 2.4rem; font-weight: 500; }
.tooldlg { width: min(720px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 22px; background: var(--light); color: var(--ink); }
.tooldlg::backdrop { background: rgba(58,31,62,.5); backdrop-filter: blur(6px); }
.tool { position: relative; padding: 1.6rem 1.6rem 1.4rem; display: grid; gap: .9rem; }
.tool h2 { margin: 0; font-family: var(--display); font-size: 2.4rem; line-height: 1; padding-inline-end: 3rem; }
:lang(ar) .tool h2 { line-height: 1.3; }
.tool-sub { margin: -.4rem 0 0; color: var(--ink-soft); }
.tool-close { position: absolute; top: 1rem; inset-inline-end: 1rem; background: var(--stone-2); }
.tool-note { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.fit-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.fit-inputs label, .ph-ctrls label { display: grid; gap: .3rem; font-size: .9rem; color: var(--ink-soft); }
.fit-inputs input { font: inherit; font-size: 1.3rem; padding: .7rem .9rem; border: 1.5px solid var(--stone-2); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.seg { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.seg span { color: var(--ink-soft); font-size: .9rem; margin-inline-end: .3rem; }
.seg button { border: 1.5px solid var(--stone-2); background: #fff; border-radius: 999px; padding: .4rem 1rem; cursor: pointer; font-weight: 600; color: var(--ink); }
.seg button[aria-pressed=true] { background: var(--ink); color: var(--light); border-color: var(--ink); }
.fit-svg { width: 100%; height: auto; background: #fff; border-radius: 14px; border: 1px solid var(--stone-2); direction: ltr; }
.fit-svg .svg-t { font: 600 12px var(--body); fill: var(--ink); }
.fit-verdict { margin: 0; font-size: 1.15rem; font-weight: 700; min-height: 1.5em; }
.fit-verdict.good { color: #1E7A47; } .fit-verdict.warn { color: #A0661A; } .fit-verdict.bad { color: #A12A1F; }
.ph-stage { position: relative; background: #fff; border-radius: 14px; border: 1.5px dashed var(--stone-2); overflow: hidden; }
.ph-pick { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; display: grid; justify-items: center; gap: .3rem; padding: 3rem 1rem; cursor: pointer; text-align: center; }
.ph-pick svg { width: 3rem; height: 3rem; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.ph-pick b { font-size: 1.15rem; } .ph-pick span { color: var(--ink-soft); font-size: .9rem; }
.ph-stage canvas { display: block; width: 100%; height: auto; touch-action: none; cursor: grab; }
.ph-ctrls { display: grid; gap: .7rem; }
.ph-ctrls input[type=range] { width: 100%; accent-color: var(--ink); }
.ph-steps { margin: 0; padding-inline-start: 1.3rem; display: grid; gap: .55rem; }
.ph-steps li::marker { font-weight: 700; color: var(--mustard-deep); }
.ph-len { display: grid; gap: .3rem; }
.ph-len input { font: inherit; font-size: 1.3rem; padding: .6rem .9rem; border: 1.5px solid var(--stone-2); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; max-width: 12rem; }
.ph-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 640px) { .tooldlg { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; } .fit-inputs { grid-template-columns: 1fr; } }

/* ---------- a11y ---------- */
.a11y { position: fixed; z-index: 50; top: 50%; inset-inline-end: 0; transform: translateY(-50%); }
.a11y-toggle { background: var(--mustard); color: var(--ink); border-radius: 0; border-start-start-radius: 12px; border-end-start-radius: 12px; width: 2.6rem; }
[dir=ltr] .a11y-toggle { border-radius: 12px 0 0 12px; }
[dir=rtl] .a11y-toggle { border-radius: 0 12px 12px 0; }
.a11y-panel { position: absolute; top: 0; inset-inline-end: 3rem; display: grid; gap: .3rem; background: var(--light); padding: .5rem; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); min-width: 12rem; }
.a11y-panel button { border: 0; background: none; text-align: start; padding: .6rem .7rem; border-radius: 8px; cursor: pointer; color: var(--ink); }
.a11y-panel button[aria-pressed=true] { background: var(--ink); color: var(--light); }
html.contrast { --on-dark-soft: #1C0E20; --ink-soft: #1C0E20; --ink: #1C0E20; --stone-2: #6E5D73; }
html.contrast .marquee { background: none; color: rgba(28,14,32,.3); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .card, .card.wide { grid-column: span 6; }
  .card.wide .card-pic { aspect-ratio: 4/3; }
  .visit { grid-template-columns: 1fr; }
  .pd[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .pd-view { min-height: 46vh; }
  .pd-info { max-height: none; overflow: visible; }
}
@media (max-width: 640px) {
  .top { gap: .8rem; padding-block: .7rem; }
  .wm-sub, .btn-wa span { display: none; }
  .btn-wa { padding-inline: .8rem; }
  .marquee { bottom: 46vh; font-size: 22vw; line-height: .85; white-space: normal; }
  :lang(ar) .marquee, :lang(ru) .marquee { font-size: 15vw; }
  .hero-copy { inset-inline-end: var(--pad); bottom: 1.2rem; }
  .hero-line { font-size: 1rem; margin-bottom: .9rem; }
  .playbill { top: 4.6rem; bottom: auto; inset-inline-start: var(--pad); justify-items: start; text-align: start; grid-template-columns: 1fr auto; align-items: center; }
  .pb-now, .drag-hint { display: none; }
  .pb-name { font-size: 1.9rem; text-align: start; }
  .playbill .swatches { grid-column: 1 / -1; }
  .scene { top: auto; bottom: 1.4rem; transform: none; inset-inline-end: var(--pad); max-width: none; background: rgba(247,243,248,.88); padding: 1rem 1.2rem; border-radius: 16px; backdrop-filter: blur(6px); }
  .scene-n { display: none; }
  .scene h2 { font-size: 2.6rem; margin-top: 0; }
  .scene p { font-size: 1rem; margin-bottom: .8rem; }
  .progress { top: 3.9rem; }
  .cat-head { grid-template-columns: 1fr; }
  .card, .card.wide { grid-column: span 12; }
  .pd { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
html.still *, html.still *::before { animation: none !important; transition: none !important; }

/* ---------- compliance additions ---------- */
.req { color: #8A1F2B; }
.form-note { margin: 0 0 .6rem; color: var(--ink-soft); font-size: .92rem; }
.consent-row { display: flex; gap: .6rem; align-items: flex-start; margin: .4rem 0; }
.consent-row input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; flex: none; accent-color: var(--ink); }
.consent-row label { font-size: .92rem; line-height: 1.45; }
.consent-row a, .form-note a { color: var(--ink); text-decoration: underline; }
[aria-invalid=true] { border-color: #8A1F2B !important; box-shadow: 0 0 0 2px rgba(138,31,43,.25); }
.form-msg .btn { margin-inline-start: .4rem; margin-top: .4rem; }
.pd-source { font-size: .85rem; color: var(--ink-soft); margin: .6rem 0 0; }
.consent { position: fixed; z-index: 70; inset-inline: 1rem; bottom: 1rem; max-width: 34rem; margin-inline: auto; background: var(--light); color: var(--ink); border-radius: 16px; box-shadow: 0 12px 40px rgba(58,31,62,.28); padding: 1rem 1.2rem; border: 1px solid var(--stone-2); }
.consent p { margin: 0 0 .8rem; font-size: .95rem; }
.consent-btns { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.consent-btns a { color: var(--ink); text-decoration: underline; }
.a11y-panel a { padding: .6rem .7rem; color: var(--ink); text-decoration: underline; }
html.links a { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; }
.foot :focus-visible { outline-color: var(--mustard); box-shadow: none; }
.lead .consent-row input { min-height: 0; padding: 0; border-radius: 4px; }
.a11y-toggle { box-shadow: 0 0 0 2px var(--ink); }
.ph-pick .ph-local { margin-top: .4rem; font-size: .85rem; }
/* ---------- legal page ---------- */
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem var(--pad); border-bottom: 1px solid var(--stone-2); background: var(--stone); position: sticky; top: 0; z-index: 10; }
.legal { max-width: 48rem; margin: 0 auto; padding: 2.5rem var(--pad) 4rem; color: var(--ink); line-height: 1.7; }
.legal h1 { font-family: var(--display); font-size: clamp(3rem, 8vw, 4.5rem); line-height: 1; margin: 0 0 .4rem; }
.legal h2 { font-size: 1.6rem; margin: 3rem 0 .8rem; padding-top: .6rem; border-top: 2px solid var(--stone-2); scroll-margin-top: 5rem; }
.legal h3 { font-size: 1.12rem; margin: 1.6rem 0 .4rem; }
.legal p, .legal li { font-size: 1.02rem; }
.legal ul { padding-inline-start: 1.3rem; }
.legal li { margin: .3rem 0; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal section { scroll-margin-top: 5rem; }
.legal-date { color: var(--ink-soft); margin: 0 0 1.4rem; }
.legal-lang { background: var(--light); border: 1px solid var(--stone-2); border-radius: 14px; padding: .8rem 1.1rem; margin-bottom: 1.6rem; }
.legal-lang p { margin: .4rem 0; font-size: .95rem; }
.legal-toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.legal-toc a { display: inline-block; padding: .45rem .9rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--stone-2); text-decoration: none; }
.legal-dl { display: grid; gap: .6rem; margin: 0; }
.legal-dl div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; }
.legal-dl dt { font-weight: 600; } .legal-dl dd { margin: 0; }
.legal-table-wrap { overflow-x: auto; }
.legal-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal-table caption { text-align: start; font-weight: 600; margin-bottom: .4rem; }
.legal-table th, .legal-table td { border: 1px solid var(--stone-2); padding: .5rem .7rem; text-align: start; vertical-align: top; }
.legal-table th { background: var(--light); }
@media (max-width: 640px) { .legal-dl div { grid-template-columns: 1fr; gap: 0; } }
.playbill .drag-hint { max-width: 22rem; }
@media (max-width: 640px) { .hero-copy { max-width: none; } }
/* ---------- colour catalogue ---------- */
.fab { max-width: 72rem; margin: 0 auto; padding: 2.5rem var(--pad) 4rem; color: var(--ink); }
.fab h1 { font-family: var(--display); font-size: clamp(3rem, 8vw, 5rem); line-height: 1; margin: 0 0 .8rem; }
.fab-lead { max-width: 40rem; margin: 0 0 .4rem; font-size: 1.08rem; }
.fab-other { font-size: .92rem; color: var(--ink-soft); }
.fab-col { margin-top: 2.6rem; }
.fab-col h2 { font-size: 1.7rem; margin: 0; }
.fab-count { color: var(--ink-soft); margin: .2rem 0 1rem; }
.fab-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 1rem; }
.fab-sw { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--light); border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 2px 10px rgba(58,31,62,.08); transition: transform .2s var(--ease), box-shadow .2s; font: inherit; color: var(--ink); }
.fab-sw:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(58,31,62,.16); }
.fab-sw img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--sw); }
.fab-code { display: block; padding: .5rem .6rem .6rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; }
.fab-new { position: absolute; top: .5rem; inset-inline-start: .5rem; background: var(--mustard); color: var(--ink); font-size: .78rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; }
.fab-note { margin-top: 2.5rem; color: var(--ink-soft); font-size: .92rem; }
.fab-dlg { border: 0; padding: 0; border-radius: 22px; background: var(--light); color: var(--ink); width: min(22rem, 92vw); overflow: hidden; }
.fab-dlg::backdrop { background: rgba(58,31,62,.5); backdrop-filter: blur(6px); }
.fab-dlg img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.fab-dlg-info { padding: 1.2rem 1.4rem 1.5rem; display: grid; gap: .6rem; }
.fab-dlg-col { margin: 0; color: var(--ink-soft); }
.fab-dlg h2 { margin: 0; font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.fab-close { position: absolute; top: .8rem; inset-inline-end: .8rem; background: var(--light); }
.pd-text h3 { font-size: .95rem; margin: .9rem 0 .3rem; color: var(--ink-soft); }
.pd-text ul { margin: 0; padding-inline-start: 1.1rem; display: grid; gap: .2rem; font-size: .95rem; }
.card-pic.fit { background: #fff; } .card-pic.fit img { object-fit: contain; padding: 4%; }
.cat-search { margin: 0 0 1rem; max-width: 30rem; }
.cat-search input { width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1.5px solid var(--stone-2); border-radius: 999px; padding: .75rem 1.2rem; }
.cat-search input:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; box-shadow: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pd-ship { margin: .8rem 0 0; font-weight: 600; color: var(--ink); }
/* ---------- favorites & quiz ---------- */
.fav { position: absolute; top: .7rem; inset-inline-end: .7rem; z-index: 2; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(58,31,62,.18); cursor: pointer; display: grid; place-items: center; }
.fav svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.fav[aria-pressed=true] svg { fill: #C0394F; stroke: #C0394F; }
.fav-inline { position: static; flex: none; }
.pd-titlerow { display: flex; gap: .8rem; align-items: flex-start; justify-content: space-between; }
.fav-open { position: fixed; z-index: 45; bottom: 1rem; inset-inline-start: 1rem; display: flex; align-items: center; gap: .4rem; border: 0; border-radius: 999px; padding: .65rem 1rem; background: var(--ink); color: var(--light); font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 22px rgba(58,31,62,.3); }
.fav-open svg { width: 1.2rem; height: 1.2rem; fill: #E36A80; }
.fav-n { background: var(--mustard); color: var(--ink); border-radius: 999px; padding: 0 .5rem; font-size: .85rem; }
.fav-list { list-style: none; padding: 0; margin: .4rem 0; display: grid; gap: .5rem; max-height: 55vh; overflow-y: auto; }
.fav-list li { display: flex; gap: .4rem; align-items: center; }
.fav-item { flex: 1; display: flex; gap: .8rem; align-items: center; text-align: start; border: 1px solid var(--stone-2); background: #fff; border-radius: 14px; padding: .4rem; font: inherit; color: var(--ink); cursor: pointer; }
.fav-item img { width: 5rem; height: 3.75rem; object-fit: contain; border-radius: 10px; background: #fff; flex: none; }
.fav-rm { border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--ink-soft); cursor: pointer; padding: .3rem .6rem; }
.quiz-step { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.quiz-opts { display: grid; gap: .6rem; }
.quiz-opt { font: inherit; font-size: 1.05rem; text-align: start; padding: .9rem 1.1rem; border-radius: 14px; border: 1.5px solid var(--stone-2); background: #fff; color: var(--ink); cursor: pointer; }
.quiz-opt:hover { border-color: var(--ink); }
.cat-tools { margin: 0 0 .8rem; }
.consent:not([hidden]) ~ .fav-open { bottom: 9rem; }
/* about page */
.ab-top { display: flex; gap: .6rem; align-items: center; }
.ab-lang { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.ab-lang button { background: none; border: 0; padding: .35rem .7rem; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); min-height: 36px; }
.ab-lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.about .ab-lead { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 600; margin: .4rem 0 1.4rem; }
.ab-what { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .6rem; list-style: none; padding: 0 !important; }
.ab-what li { background: var(--stone-2); border-radius: 14px; padding: .9rem 1rem; margin: 0 !important; font-weight: 600; }
.ab-how { list-style: none; counter-reset: s; padding: 0 !important; display: grid; gap: .8rem; }
.ab-how li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: .8rem; margin: 0 !important; }
.ab-how li::before { content: counter(s); grid-row: span 2; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.ab-how strong { font-size: 1.08rem; }
.ab-note { background: var(--stone-2); border-radius: 12px; padding: .8rem 1rem; }
.ab-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.about .ab-cta a { text-decoration: none; }
html.contrast .ab-what li, html.contrast .ab-note { background: #fff; border: 2px solid var(--ink); }
/* filters, recent, compare, share */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: -.4rem 0 1.2rem; }
.chip-f[aria-pressed="true"]::before { content: '✓ '; }
.flt-w { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; }
.flt-sel { font: inherit; padding: .45rem .7rem; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--light, #fff); color: var(--ink); min-height: 40px; }
.flt-clear { background: none; border: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; padding: .4rem; min-height: 40px; }
.recent { margin: 0 0 1.2rem; }
.recent-head { display: flex; align-items: center; justify-content: space-between; }
.recent-head h3 { margin: 0; font-size: 1.05rem; }
.recent-list { display: flex; gap: .6rem; overflow-x: auto; list-style: none; padding: .4rem 0 .6rem; margin: 0; scroll-snap-type: x mandatory; }
.recent-list li { flex: 0 0 9.5rem; scroll-snap-align: start; }
.recent-item { width: 100%; background: var(--light, #fff); border: 1.5px solid var(--stone-2); border-radius: 14px; padding: .4rem; cursor: pointer; font: inherit; color: var(--ink); text-align: start; }
.recent-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; background: var(--stone-2); }
.recent-item span { display: block; font-size: .85rem; font-weight: 600; margin-top: .3rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.float-bar { position: fixed; z-index: 45; bottom: 1rem; inset-inline-start: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.float-bar .fav-open { position: static; }
body:has(.consent:not([hidden])) .float-bar { bottom: 9rem; }
.cmp-open svg { fill: none; stroke: currentColor; stroke-width: 2; }
.pd-msg { min-height: 1.2em; margin: .4rem 0 0; font-weight: 600; }
.tool-wide { max-width: 56rem; }
.cmp-scroll { overflow-x: auto; margin: .6rem 0 1rem; }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 30rem; }
.cmp-table th, .cmp-table td { padding: .55rem .6rem; border-bottom: 1px solid var(--stone-2); text-align: start; vertical-align: top; }
.cmp-table tbody th { font-weight: 600; white-space: nowrap; }
.cmp-table thead th { position: relative; }
.cmp-prod { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: start; display: block; width: 100%; }
.cmp-prod img { width: 100%; max-width: 12rem; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; }
.cmp-prod span { display: block; font-weight: 700; margin-top: .3rem; }
.cmp-table thead .fav-rm { position: absolute; top: .3rem; inset-inline-end: .3rem; }
.cmp-table thead .fav-rm { background: #fff; border-radius: 50%; width: 2rem; height: 2rem; padding: 0; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
/* cart */
.cart-open svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-open svg circle { fill: currentColor; stroke: none; }
.cart-open { background: var(--mustard, #C9A24A); color: var(--ink); }
.cart-list { list-style: none; padding: 0; margin: .8rem 0; display: grid; gap: .8rem; }
.cart-row { position: relative; display: grid; grid-template-columns: 1fr auto; gap: .5rem .8rem; padding: .7rem; border: 1.5px solid var(--stone-2); border-radius: 14px; }
.cart-prod { display: flex; align-items: center; gap: .7rem; background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: start; padding-inline-end: 2rem; }
.cart-prod img { width: 5.5rem; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; flex: none; }
.cart-prod span { font-weight: 700; }
.cart-side { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.cart-price { margin: 0; font-weight: 600; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; }
.qty-btn { background: none; border: 0; font: inherit; font-size: 1.2rem; width: 2.4rem; height: 2.4rem; cursor: pointer; color: var(--ink); }
.qty-n { min-width: 1.6rem; text-align: center; font-weight: 700; }
.cart-note { grid-column: 1 / -1; display: grid; gap: .2rem; font-size: .9rem; }
.cart-note input { font: inherit; padding: .5rem .7rem; border: 1.5px solid var(--stone-2); border-radius: 10px; background: #fff; color: var(--ink); }
.cart-row > .fav-rm { position: absolute; top: .3rem; inset-inline-end: .3rem; }
.cart-total { font-size: 1.15rem; font-weight: 700; margin: .4rem 0; }
.cart-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }
@media (max-width: 520px) { .cart-row { grid-template-columns: 1fr; } .cart-side { flex-direction: row; justify-content: space-between; align-items: center; } }
.nf-search { margin: 1.4rem 0; display: grid; gap: .4rem; font-weight: 600; }
.nf-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.nf-row input { flex: 1 1 14rem; font: inherit; padding: .7rem 1rem; border: 1.5px solid var(--stone-2); border-radius: 999px; background: #fff; color: var(--ink); }
.added-dlg { border: 0; border-radius: 20px; padding: 0; max-width: min(24rem, calc(100vw - 2rem)); background: var(--light, #F7F3F8); color: var(--ink); box-shadow: 0 20px 60px rgba(30,10,35,.35); }
.added-dlg::backdrop { background: rgba(30,10,35,.45); }
.added { padding: 1.4rem; text-align: center; display: grid; gap: .5rem; justify-items: center; }
.added img { width: 9rem; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.added h2 { margin: .3rem 0 0; font-size: 1.4rem; }
.added p { margin: 0 0 .6rem; font-weight: 600; }
.added-btns { display: grid; gap: .5rem; width: 100%; }
.fab-name { display: block; margin-top: -.45rem; padding: 0 .4rem .55rem; font-size: .82rem; text-align: center; color: var(--ink-soft); }
.fab-jump { margin: 1rem 0 .5rem; flex-wrap: wrap; } .fab-jump .chip { text-decoration: none; } .fab-col h2 { scroll-margin-top: 1rem; }
.pd-colors h3 { font-size: .95rem; margin: .9rem 0 .2rem; color: var(--ink-soft); }
.pd-colors .wc-note { margin: 0 0 .5rem; font-size: .85rem; color: var(--ink-soft); }
.wc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .45rem; max-height: 260px; overflow-y: auto; padding: 2px; }
.wc { display: grid; gap: .15rem; justify-items: center; padding: 3px; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; font: inherit; color: inherit; }
.wc img { width: 100%; aspect-ratio: 3/4; height: auto; object-fit: cover; border-radius: 6px; border: 1px solid rgba(0,0,0,.12); }
.wc span { font-size: .72rem; line-height: 1.2; text-align: center; }
.wc[aria-checked="true"] { border-color: var(--velvet); background: rgba(107,63,122,.08); }
.wc:focus-visible { outline: 2px solid var(--velvet); outline-offset: 2px; }
.wc-chosen { margin: .4rem 0 0; font-weight: 700; min-height: 1.2em; }
