/* Lux Room — «Чорний шовк» (24.11.2026). Правила ясності: одна головна кнопка одного вигляду, ціна — найбільше число,
   кожна акція — одне речення з числом, кошик-коробка завжди внизу, тап ≥48 px, текст ≥16 px. */
:root {
  --bg: #08070a; --p1: #151318; --p2: #1d1b21; --p3: #1c1513; --metal: linear-gradient(140deg, #2a282e, #111013);
  --hi: #f3eee8; --ink: #e9e4df; --mute: #aaa3a9; --rg: #e3a18a; --neon: #e8539b; --ok: #9fd8b0; --bad: #ff8a80;
  --line: rgba(243, 238, 232, .1); --line2: rgba(243, 238, 232, .18);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r: 20px; --top: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); background: var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 16.5px/1.55 var(--sans); overflow-x: hidden; }
/* шовк: одна легка текстура (≈28 КБ) під усім сайтом, не прокручується */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: url(/img/site/silk.webp) center / cover no-repeat; opacity: .5; pointer-events: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; color: var(--hi); text-align: center; letter-spacing: -.005em; }
:focus-visible { outline: 2px solid var(--rg); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main { display: block; }
.blk { max-width: 1080px; margin: 0 auto; padding: 44px 16px 8px; }
.head { margin-bottom: 20px; text-align: center; }
.head h2 { font-size: clamp(28px, 7.4vw, 40px); }
.head p { margin: 8px auto 0; max-width: 520px; color: var(--mute); }

/* кнопка: одна для всього сайту — світла слонова кістка, темний текст */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border: 0; border-radius: 15px;
  background: linear-gradient(180deg, #fbf8f4, #e9e2da); color: #141216; font-weight: 700; font-size: 17px; letter-spacing: .01em; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 10px 24px -12px rgba(0, 0, 0, .9); transition: transform .15s, filter .2s; }
.btn:active { transform: scale(.98); }
.btn:hover { filter: brightness(1.04); }
.btn.sm { min-height: 48px; padding: 0 16px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn.ghost { background: transparent; color: var(--hi); box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; }
.chips span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(243, 238, 232, .07); border: 1px solid var(--line2); font-size: 15px; font-weight: 600; color: var(--hi); }
.chips span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* смуга + шапка: «Меню» і «Кошик» підписані словами */
.strip { margin: 0; padding: 7px 12px; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--hi); background: #120f13; border-bottom: 1px solid var(--line); }
.top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--top); padding: 0 8px;
  background: rgba(8, 7, 10, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.menu summary, .cartbtn { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 10px; border-radius: 14px; border: 0; background: none; color: var(--hi); font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg, .cartbtn svg { color: var(--rg); }
.menu[open] summary { background: var(--p2); }
.logo img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(227, 161, 138, .35), 0 0 22px -4px rgba(232, 83, 155, .55); }
.cartbtn { justify-self: end; position: relative; }
.cartbtn b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--neon); color: #1a0a12; font-size: 13px; line-height: 22px; text-align: center; }
.cartbtn b:empty { display: none; }
.cartbtn.hop svg { animation: hop .45s ease-out; }
.mpanel { position: absolute; left: 0; right: 0; top: var(--top); padding: 8px 12px 14px; background: var(--p1); border-bottom: 1px solid var(--line2); box-shadow: 0 30px 50px -20px #000; animation: drop .2s ease-out; }
.mpanel a { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; min-height: 64px; padding: 10px 12px; border-radius: 14px; text-decoration: none; max-width: 560px; margin: 0 auto; }
.mpanel a + a { margin-top: 4px; }
.mpanel a b { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--hi); }
.mpanel a span { grid-row: 2; font-size: 15px; color: var(--mute); }
.mpanel a svg { grid-row: 1 / 3; grid-column: 2; color: var(--rg); }
.mpanel a[aria-current] { background: var(--p2); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* головна: герой */
.hero { max-width: 560px; margin: 0 auto; }
.hph { position: relative; overflow: hidden; }
.hph::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hph .ph0 { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(circle, rgba(255, 196, 128, .5), rgba(255, 150, 90, .16) 42%, transparent 70%); }
.g-l { left: 9%; top: 31%; width: 34%; aspect-ratio: 1; animation: breathe 7s ease-in-out infinite; }
.g-c { left: 11%; top: 49%; width: 16%; aspect-ratio: 1; animation: candle 2.6s ease-in-out infinite; }
/* вивіска-логотип на стіні: вмикається, як неон */
.sign { position: absolute; right: 5%; top: 4%; width: 34%; mix-blend-mode: screen; opacity: 0; -webkit-mask: radial-gradient(circle closest-side, #000 90%, transparent 100%); mask: radial-gradient(circle closest-side, #000 90%, transparent 100%);
  animation: sign-on 1.8s .5s forwards; filter: drop-shadow(0 0 14px rgba(232, 83, 155, .45)); }
@keyframes sign-on { 0% { opacity: 0; } 8% { opacity: .75; } 12% { opacity: .1; } 20% { opacity: .9; } 25% { opacity: .25; } 40%, 100% { opacity: 1; } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes candle { 0%, 100% { opacity: .8; transform: scale(1); } 30% { opacity: 1; transform: scale(1.08); } 60% { opacity: .7; transform: scale(.96); } }
.hero-t { position: relative; margin-top: -54px; padding: 0 18px; text-align: center; }
.hero-t h1 { font-size: clamp(27px, 7.6vw, 40px); }

/* плитки каталогів: великі, по одній у колонку (як на HotBar); однакові опис і кнопка */
.tiles { display: grid; gap: 18px; max-width: 560px; margin: 0 auto; padding: 28px 16px 0; scroll-margin-top: calc(var(--top) + 8px); }
.tile { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--p1); border: 1px solid var(--line2); text-decoration: none; color: var(--hi); box-shadow: 0 24px 40px -26px #000; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tl { padding: 14px 14px 0; text-align: center; font-weight: 700; font-size: 20px; line-height: 1.25; }
.tl small { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--rg); }
.tile .btn { margin: 12px 14px 14px; }

/* чому обирають */
.why ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 860px) { .why ul { grid-template-columns: repeat(4, 1fr); } }
.why li { padding: 18px 14px; border-radius: 18px; background: var(--p2); border: 1px solid var(--line); text-align: center; }
.why li i { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; background: rgba(227, 161, 138, .12); color: var(--rg); }
.why b { display: block; color: var(--hi); font-size: 17px; line-height: 1.25; }
.why span { display: block; margin-top: 4px; font-size: 15px; color: var(--mute); line-height: 1.35; }

/* відгуки: телефон на тумбочці біля ліжка */
.stand { position: relative; max-width: 360px; margin: 0 auto; padding-top: 6px; perspective: 1100px; }
.lamp { position: absolute; left: -10%; top: -6%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 186, 120, .22), transparent 65%); pointer-events: none; }
.phone3d { position: relative; z-index: 1; width: min(262px, 74vw); margin: 0 auto; padding: 9px; border-radius: 40px; background: linear-gradient(150deg, #403c45, #141317 60%, #26232a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 36px 50px -18px rgba(0, 0, 0, .95), 0 0 70px -18px rgba(232, 83, 155, .35); transform: rotateX(9deg) rotateY(-9deg) rotateZ(1.2deg); }
.scr { position: relative; overflow: hidden; border-radius: 32px; background: #0c0b0e; aspect-ratio: 9 / 16.5; }
.ntf { position: absolute; z-index: 2; left: 8px; right: 8px; top: 10px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 15px; background: rgba(44, 41, 48, .92); font-size: 13px; font-weight: 600; color: var(--hi); line-height: 1.2; animation: ntf .6s .4s both; }
.ntf img { width: 22px; height: 22px; border-radius: 6px; flex: none; }
@keyframes ntf { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.reviews { position: absolute; left: 0; right: 0; top: 60px; bottom: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.reviews button { flex: 0 0 100%; display: flex; align-items: flex-start; justify-content: center; padding: 0 6px; border: 0; background: none; scroll-snap-align: center; overflow: hidden; }
.reviews img { width: 100%; border-radius: 12px; }
.table { position: relative; display: block; width: 94%; height: 30px; margin: -16px auto 0; border-radius: 10px 10px 6px 6px; background: linear-gradient(180deg, #3a2a22, #1a120e 70%); box-shadow: inset 0 1px 0 rgba(255, 220, 190, .18), 0 24px 30px -12px #000; }
.rnav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.rarr { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line2); background: var(--p2); color: var(--hi); }
.rdots { display: flex; gap: 6px; }
.rdots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 5px; background: rgba(243, 238, 232, .25); transition: width .2s, background .2s; }
.rdots button[aria-current] { width: 22px; background: var(--rg); }
#rev { width: min(520px, 94vw); background: transparent; }
#rev img { border-radius: 16px; max-height: 88vh; margin: 0 auto; }

/* як замовити */
.warm .steps { list-style: none; counter-reset: s; margin: 0 auto 18px; padding: 0; display: grid; gap: 8px; max-width: 560px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--p3); border: 1px solid rgba(227, 161, 138, .16); color: var(--hi); font-weight: 600; line-height: 1.35; }
.steps li::before { content: counter(s); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(227, 161, 138, .16); color: var(--rg); font-family: var(--serif); font-size: 18px; }

/* питання */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { margin-bottom: 8px; border-radius: 16px; background: var(--p1); border: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 16px; cursor: pointer; list-style: none; font-weight: 600; color: var(--hi); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { flex: 1; }
.faq summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 1px; background: var(--rg); transition: transform .2s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: none; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--mute); }

/* підвал */
.foot { margin-top: 44px; padding: 30px 16px 40px; text-align: center; border-top: 1px solid var(--line); background: rgba(8, 7, 10, .7); }
body:has(.boxbar:not([hidden])) .foot { padding-bottom: 120px; }
.flogo { display: inline-block; }
.flogo img { width: 120px; border-radius: 50%; box-shadow: 0 0 40px -10px rgba(232, 83, 155, .5); }
.flinks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 16px 0 10px; }
.flinks a { display: inline-flex; align-items: center; min-height: 48px; color: var(--hi); font-weight: 600; }
.flinks a[aria-current] { color: var(--rg); }
.fnote, .fcopy { margin: 4px 0; font-size: 15px; color: var(--mute); }

/* каталог: банер (назва сторінки — прихована, для пошуку й читалок) */
.cban { max-width: 560px; margin: 0 auto; position: relative; }
.cban img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cban::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(transparent, var(--bg)); }

/* підбір за 3 відповіді */
.quizb { padding-top: 32px; }
.quiz { max-width: 560px; margin: 0 auto; padding: 18px 16px; border-radius: 22px; background: var(--p2); border: 1px solid var(--line2); box-shadow: 0 24px 40px -26px #000; }
.qprog { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--mute); }
.qprog span { flex: 1; height: 6px; border-radius: 3px; background: rgba(243, 238, 232, .1); overflow: hidden; }
.qprog i { display: block; height: 100%; width: var(--w, 33%); border-radius: 3px; background: var(--rg); transition: width .35s; }
.qq { margin: 14px 0 4px; text-align: center; font-family: var(--serif); font-size: 23px; color: var(--hi); line-height: 1.25; }
.qa { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; margin-top: 10px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line2); background: var(--p1); color: var(--hi); text-align: left; font-size: 17px; font-weight: 600; transition: border-color .2s, transform .15s; animation: qin .3s both; }
.qa:active { transform: scale(.99); border-color: var(--rg); }
.qa .ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(227, 161, 138, .14); color: var(--rg); }
.qa small { display: block; font-size: 14.5px; font-weight: 500; color: var(--mute); }
.qa::after { content: ''; flex: none; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--rg); border-top: 2px solid var(--rg); transform: rotate(45deg); }
.qa:nth-of-type(2) { animation-delay: .06s; } .qa:nth-of-type(3) { animation-delay: .12s; }
@keyframes qin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.qback { display: block; min-height: 48px; margin: 8px auto 0; padding: 0 12px; border: 0; background: none; color: var(--mute); font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.res { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; margin-top: 10px; padding: 8px 12px 8px 8px; border-radius: 16px; border: 1px solid var(--line2); background: var(--p1); color: var(--hi); text-align: left; animation: qin .3s both; }
.res img { width: 64px; height: 80px; object-fit: cover; border-radius: 11px; background: #f3eee8; }
.res b { display: block; font-size: 16px; line-height: 1.3; }
.res small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--mute); }
.res .rp { font-size: 18px; font-weight: 700; white-space: nowrap; }
.res:nth-of-type(2) { animation-delay: .08s; } .res:nth-of-type(3) { animation-delay: .16s; }

.sec { padding-top: 34px; scroll-margin-top: var(--top); }
.sech { text-align: center; margin-bottom: 16px; }
.sech h2 { font-size: clamp(28px, 7vw, 38px); }
.sech p { margin: 6px 0 0; font-weight: 600; color: var(--rg); }

/* картка-вітрина */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--p1); border: 1px solid var(--line); box-shadow: 0 20px 34px -24px #000; }
.card .ph { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #f3eee8; aspect-ratio: 4 / 5; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.save { position: absolute; z-index: 1; left: 8px; top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--neon); color: #1a0a12; font-size: 14px; font-weight: 800; }
.gift { position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 18, 22, .86); color: var(--hi); font-size: 13.5px; font-weight: 600; }
.tx { display: flex; flex-direction: column; flex: 1; gap: 3px; padding: 12px; }
.nm { padding: 0; border: 0; background: none; text-align: left; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--hi); }
.sh { font-size: 14.5px; line-height: 1.35; color: var(--mute); }
.pr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: auto; padding-top: 8px; }
.pr b { font-size: 22px; color: var(--hi); }
.pr s { font-size: 15px; color: var(--mute); }
.card .btn { width: 100%; margin-top: 8px; }

/* коробка-кошик знизу */
.boxbar { position: fixed; z-index: 25; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px;
  border-radius: 20px; background: var(--metal); border: 1px solid var(--line2); box-shadow: 0 20px 40px -10px #000; animation: up .35s ease-out; }
.boxbar[hidden] { display: none; }
@keyframes up { from { transform: translateY(120%); } to { transform: none; } }
.bb-m { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0; border: 0; background: none; text-align: left; }
.bb-t { min-width: 0; }
.bb-t b { display: block; font-size: 15.5px; line-height: 1.25; color: var(--hi); }
.bb-t small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--mute); }
.bb-t small em { font-style: normal; font-weight: 700; color: var(--hi); display: inline-block; }
.bb-t small em.roll { animation: roll .45s ease-out; }
.boxbar.ok .bb-t b { color: var(--ok); }
.bb-go { flex: none; min-height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: linear-gradient(180deg, #fbf8f4, #e9e2da); color: #141216; font-weight: 700; font-size: 16px; }
.bb-go[hidden] { display: none; }
.mbox { position: relative; flex: none; width: 44px; height: 44px; }
.mbox .b { position: absolute; left: 5px; right: 5px; bottom: 3px; height: 25px; border-radius: 4px; background: linear-gradient(180deg, #8a2f55, #4d1830); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.mbox .b::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 5px; margin-left: -2.5px; background: linear-gradient(90deg, #f0c3ad, #c98a73); }
.mbox .l { position: absolute; left: 2px; right: 2px; top: 9px; height: 10px; border-radius: 3px; background: linear-gradient(180deg, #a03a66, #66203f); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transform-origin: 8% 100%; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.mbox .l::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 5px; margin-left: -2.5px; background: linear-gradient(90deg, #f0c3ad, #c98a73); }
.mbox[data-n]::after { content: attr(data-n); position: absolute; right: -4px; top: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--neon); color: #1a0a12; font-size: 12.5px; font-weight: 800; line-height: 20px; text-align: center; }
.boxbar.open .mbox .l { transform: translate(-1px, -4px) rotate(-26deg); }
.boxbar.hop .mbox { animation: hop .45s ease-out; }
.bb-fly { position: absolute; left: 18px; top: -8px; padding: 4px 10px; border-radius: 999px; background: var(--neon); color: #1a0a12; font-weight: 800; font-size: 15px; opacity: 0; pointer-events: none; }
.boxbar.win .bb-fly { animation: bbfly 1.6s ease-out; }
@keyframes bbfly { 0% { opacity: 0; transform: translateY(8px) scale(.6); } 15% { opacity: 1; transform: translateY(-16px) scale(1.12); } 70% { opacity: 1; transform: translateY(-34px) scale(1); } 100% { opacity: 0; transform: translateY(-50px); } }
@keyframes roll { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hop { 0% { transform: scale(1); } 35% { transform: scale(1.2) rotate(-6deg); } 65% { transform: scale(.94); } 100% { transform: none; } }
.fly { position: fixed; z-index: 60; border-radius: 16px; object-fit: cover; box-shadow: 0 14px 30px -10px #000; pointer-events: none; will-change: transform; background: #f3eee8; }

/* вікна: товар, кошик */
dialog { padding: 0; border: 0; color: var(--ink); background: var(--bg); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(0, 0, 0, .7); }
body:has(dialog[open]) { overflow: hidden; }
.x { position: absolute; z-index: 3; right: 12px; top: 12px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(21, 19, 24, .92); color: var(--hi); font-size: 26px; line-height: 1; }
#pop { width: 100%; height: 100%; }
#pop .in { position: relative; min-height: 100%; display: flex; flex-direction: column; }
#pop .x { position: fixed; }
.gal .fr { position: relative; background: #f3eee8; }
.gal .tr { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal .tr::-webkit-scrollbar { display: none; }
.gal .tr img { flex: 0 0 100%; width: 100%; aspect-ratio: 800 / 1071; object-fit: cover; scroll-snap-align: center; }
.gal .n { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(20, 18, 22, .8); color: var(--hi); font-size: 14px; font-weight: 600; }
.gal .ar { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(20, 18, 22, .72); color: var(--hi); }
.gal .ar.l { left: 8px; } .gal .ar.r { right: 8px; }
.gal.one .ar, .gal.one .n, .gal.one .th { display: none; }
.gal .th { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px; scrollbar-width: none; }
.gal .th button { flex: none; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #f3eee8; opacity: .55; box-shadow: inset 0 0 0 2px transparent; }
.gal .th button[aria-current] { opacity: 1; box-shadow: 0 0 0 2px var(--rg); }
.gal .th img { width: 100%; height: 100%; object-fit: cover; }
.info { padding: 14px 16px 120px; }
.info h2 { font-size: 30px; text-align: left; }
.info .code { margin-top: 4px; font-size: 14.5px; color: var(--mute); }
.info .pr { padding-top: 10px; margin: 0; }
.info .pr b { font-size: 30px; }
.prm { margin: 10px 0 0; padding: 10px 14px; border-radius: 14px; background: rgba(232, 83, 155, .1); border: 1px solid rgba(232, 83, 155, .3); color: var(--hi); font-weight: 600; }
.opt { margin: 18px 0 0; padding: 0; border: 0; }
.opt legend { margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--hi); }
.opt label { display: inline-block; margin: 0 6px 8px 0; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 13px; background: var(--p1); box-shadow: inset 0 0 0 1.5px var(--line2); font-weight: 600; font-size: 15.5px; }
.opt input:checked + span { background: var(--hi); color: #141216; box-shadow: none; }
.opt input:focus-visible + span { outline: 2px solid var(--rg); outline-offset: 2px; }
.perks { margin: 18px 0 0; padding: 14px 16px; list-style: none; display: grid; gap: 6px; border-radius: 16px; background: var(--p2); font-size: 15.5px; font-weight: 600; color: var(--hi); }
.perks li::before { content: '✓'; margin-right: 8px; color: var(--ok); }
.descr { margin-top: 18px; color: var(--ink); overflow-wrap: anywhere; }
.descr * { color: inherit !important; background: none !important; font-family: inherit !important; }
.descr ul { margin: 6px 0; padding-left: 20px; }
.descr img { display: none; }
.buy { position: fixed; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(21, 19, 24, .96); border-top: 1px solid var(--line2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.buy b { font-size: 24px; color: var(--hi); white-space: nowrap; }
.buy .btn { flex: 1; }
@media (min-width: 900px) {
  #pop { width: min(1020px, 94vw); height: auto; max-height: 92vh; border-radius: 24px; overflow: auto; border: 1px solid var(--line2); }
  #pop .in { flex-direction: row; align-items: flex-start; }
  #pop .x { position: absolute; }
  .gal { width: 52%; position: sticky; top: 0; padding: 20px; }
  .info { width: 48%; padding: 30px 30px 30px; }
  .buy { position: sticky; margin-top: 22px; border-radius: 16px; border: 1px solid var(--line2); }
}
.v1 { margin: 16px 0 4px; padding: 12px; border-radius: 16px; background: var(--p1); border: 1px solid var(--line); }
.v1-b { width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--p2); color: var(--hi); font-size: 16px; font-weight: 700; }
.v1-b[aria-expanded="true"] { background: var(--hi); color: #141216; }
.v1-r { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.v1-r button { min-height: 48px; border: 0; border-radius: 11px; background: var(--p2); box-shadow: inset 0 0 0 1.5px var(--line2); color: var(--hi); font-weight: 650; font-size: 15px; }
.v1-r button[aria-pressed="true"] { background: var(--rg); color: #1a0a12; box-shadow: none; }
.v1-w { display: flex; align-items: center; justify-content: center; gap: 6px; height: 56px; margin-top: 10px; }
.v1-w i { width: 8px; height: 100%; border-radius: 4px; background: linear-gradient(180deg, #f6d2bd, var(--rg) 55%, var(--neon)); transform: scaleY(var(--h, .18)); transition: transform .12s; }
.v1-n { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--mute); text-align: center; }

#cart { width: 100%; height: 100%; margin: 0 0 0 auto; background: var(--p1); }
@media (min-width: 640px) { #cart { width: 460px; border-left: 1px solid var(--line2); } }
#cart .in { position: relative; padding: 18px 16px 30px; }
#cart h2 { font-size: 30px; text-align: left; padding-right: 56px; }
.pay { margin: 6px 0 12px; font-size: 14.5px; font-weight: 700; color: var(--rg); }
.ln { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ln img { width: 60px; height: 75px; object-fit: cover; border-radius: 10px; background: #f3eee8; }
.ln .t { font-weight: 650; line-height: 1.3; color: var(--hi); }
.ln .o { font-size: 14px; color: var(--mute); }
.ln .p { margin-top: 2px; font-weight: 700; font-size: 17px; color: var(--hi); }
.qty { display: flex; align-items: center; border-radius: 12px; background: var(--p2); border: 1px solid var(--line2); }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 20px; color: var(--hi); }
.qty span { min-width: 18px; text-align: center; font-weight: 700; }
.sum { display: flex; justify-content: space-between; padding: 14px 0 4px; font-size: 18px; font-weight: 700; color: var(--hi); }
.trust { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.trust span { padding: 6px 11px; border-radius: 999px; background: var(--p2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.promo { margin: 10px 0; padding: 13px 14px; border-radius: 14px; background: rgba(232, 83, 155, .1); border: 1px solid rgba(232, 83, 155, .3); color: var(--hi); font-weight: 600; }
.promo.ok { background: rgba(159, 216, 176, .1); border-color: rgba(159, 216, 176, .35); color: var(--ok); }
.promo.ok b { color: var(--hi); }
.promo a, .promo button { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--rg); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.bumpc { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 10px 0; padding: 10px 12px; border-radius: 14px; background: var(--p2); border: 1px solid rgba(227, 161, 138, .4); }
.bumpc img { width: 54px; height: 64px; object-fit: cover; border-radius: 8px; background: #f3eee8; }
.bumpc .t { font-weight: 650; font-size: 15px; line-height: 1.3; color: var(--hi); }
.bumpc .t s { color: var(--mute); font-weight: 500; }
.bumpc .o { font-size: 14px; color: var(--mute); }
.bumpc button { min-height: 44px; padding: 0 12px; border: 0; border-radius: 11px; background: var(--hi); color: #141216; font-weight: 700; font-size: 15px; }
.form { margin-top: 18px; }
.form h3 { margin-bottom: 10px; font-size: 22px; text-align: left; }
.f { position: relative; margin-bottom: 10px; }
.f label { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--hi); }
.f input { width: 100%; height: 52px; padding: 0 14px; border-radius: 13px; border: 1.5px solid var(--line2); background: var(--bg); color: var(--hi); font: inherit; font-size: 16.5px; }
.f input::placeholder { color: #6f6870; }
.f input:focus { outline: none; border-color: var(--rg); }
.f .e { display: none; margin-top: 4px; font-size: 15px; color: var(--bad); }
.f.bad input { border-color: var(--bad); }
.f.bad .e { display: block; }
.sug { list-style: none; margin: 4px 0 0; padding: 4px; max-height: 248px; overflow: auto; border-radius: 13px; background: var(--p2); border: 1px solid var(--line2); box-shadow: 0 18px 30px -16px #000; }
.sug:empty { display: none; }
.sug button { display: block; width: 100%; min-height: 48px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--hi); text-align: left; font-size: 15.5px; line-height: 1.3; }
.sug button:hover, .sug button:focus-visible { background: rgba(243, 238, 232, .08); }
.rad { display: grid; gap: 8px; margin: 6px 0 16px; }
.rad label { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 13px; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line2); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--hi); }
.rad input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--rg); }
.rad label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--rg); }
.hp { position: absolute; left: -9999px; }
.err { margin: 8px 0; font-weight: 650; color: var(--bad); }
.empty { padding: 40px 0 24px; text-align: center; color: var(--mute); }
.empty + .btn + .btn { margin-top: 10px; }
.done { text-align: center; padding-top: 6px; }
.done > img { width: 168px; height: 168px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(227, 161, 138, .4), 0 0 50px -10px rgba(232, 83, 155, .55); animation: pop-in .5s ease-out both; }
.done h3 { font-size: 26px; }
.done p { color: var(--ink); }
@keyframes pop-in { from { transform: scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.receipt { margin: 16px 0; padding: 14px 16px; border-radius: 14px; background: var(--p2); border: 1px solid var(--line); text-align: left; font-size: 15px; }
.receipt div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.receipt .tot { margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line2); font-weight: 750; color: var(--hi); }
.next { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; text-align: left; font-size: 15.5px; }
.next li { padding: 11px 13px; border-radius: 12px; background: var(--p2); }

/* правові сторінки, 404 */
.legal { max-width: 760px; }
.legal h1 { margin: 6px 0 18px; font-size: clamp(30px, 8vw, 44px); }
.legal .lead { margin: 0 0 16px; text-align: center; font-weight: 700; color: var(--rg); }
.legal h2 { margin: 26px 0 10px; font-size: 24px; text-align: left; }
.legal h3 { margin: 22px 0 8px; font-family: var(--sans); font-size: 17.5px; font-weight: 700; text-align: left; color: var(--hi); }
.legal p, .legal li { line-height: 1.6; overflow-wrap: anywhere; }
.legal p { margin: 0 0 10px; }
.legal ol, .legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin: 0 0 6px; }
.legal a { color: var(--rg); }
.legal .eyebrow { text-align: center; color: var(--rg); font-weight: 600; }
.legal .note { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--p2); }
.legal .cards { display: grid; gap: 10px; max-width: 440px; margin: 0 auto; }
.legal .ccard { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: var(--p1); border: 1px solid var(--line2); text-decoration: none; text-align: center; }
.legal .ccard span { font-size: 15px; color: var(--mute); }
.legal .ccard b { font-size: 18px; color: var(--hi); overflow-wrap: anywhere; }
.nf { text-align: center; padding-top: 60px; }
.nf h1 { font-size: 36px; }
.nf p { color: var(--mute); }
.nf-b { display: grid; gap: 10px; max-width: 360px; margin: 18px auto 0; }

/* сцена «у відділенні»: кольори під темну тему */
.pk { --plum: #e3a18a; --plum2: #e3a18a; --rose: #e3a18a; --muted: #aaa3a9; --blush: #2a2228; }
   отримує посилку і йде з нею; знизу — 3 кроки, підсвічуються синхронно. Цикл 10 с, стартує, коли сцена на екрані */
.pk { margin: 4px auto 0; max-width: 520px; }
.pk svg { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 24px 44px -24px #000; font-family: inherit; }
.pk svg * { transform-box: fill-box; }
.pk:not(.in) *, .pk:not(.in) li::before { animation-play-state: paused !important; }
.pk-w { animation: pk-walk 10s linear infinite; }
.pk-wf { transform-origin: center; animation: pk-flip 10s step-end infinite; }
.pk-leg { transform-origin: 50% 0; }
.pk-l1 { animation: pk-leg1 10s linear infinite; } .pk-l2 { animation: pk-leg2 10s linear infinite; }
.pk-arm { transform-origin: 50% 3px; animation: pk-arm 10s ease-in-out infinite; }
.pk-phone { animation: pk-phone 10s step-end infinite; }
.pk-wv path { fill: none; stroke: #e3a18a; stroke-width: 2.2; stroke-linecap: round; transform-origin: 100% 50%; opacity: 0; animation: pk-wave 10s ease-out infinite; }
.pk-wv path:nth-child(2) { animation-delay: .12s; } .pk-wv path:nth-child(3) { animation-delay: .24s; }
.pk-ok { opacity: 0; animation: pk-ok 10s step-end infinite; }
.pk-paid { opacity: 0; transform-origin: 50% 100%; animation: pk-paid 10s ease-out infinite; }
.pk-hold { opacity: 0; animation: pk-hold 10s step-end infinite; }
.pk-clerk { animation: pk-clerk 10s ease-in-out infinite; }
.pk-heart { opacity: 0; transform-origin: 50% 100%; animation: pk-heart 10s ease-out infinite; }
@keyframes pk-walk { 0% { transform: translate(-150px, 0); } 3% { transform: translate(-125px, -2px); } 6% { transform: translate(-100px, 0); } 9% { transform: translate(-75px, -2px); }
  12% { transform: translate(-50px, 0); } 15% { transform: translate(-25px, -2px); } 18%, 80% { transform: translate(0, 0); } 83% { transform: translate(-30px, -2px); }
  86% { transform: translate(-60px, 0); } 89% { transform: translate(-90px, -2px); } 92% { transform: translate(-120px, 0); } 95%, 100% { transform: translate(-165px, 0); } }
@keyframes pk-flip { 0% { transform: none; } 80% { transform: scaleX(-1); } }
@keyframes pk-leg1 { 0%, 18%, 80%, 95%, 100% { transform: none; } 1.5%, 7.5%, 13.5%, 81.5%, 87.5%, 93.5% { transform: rotate(14deg); } 4.5%, 10.5%, 16.5%, 84.5%, 90.5% { transform: rotate(-14deg); } }
@keyframes pk-leg2 { 0%, 18%, 80%, 95%, 100% { transform: none; } 1.5%, 7.5%, 13.5%, 81.5%, 87.5%, 93.5% { transform: rotate(-14deg); } 4.5%, 10.5%, 16.5%, 84.5%, 90.5% { transform: rotate(14deg); } }
@keyframes pk-arm { 0%, 21% { transform: none; } 27%, 40% { transform: rotate(-68deg); } 46%, 100% { transform: none; } }
@keyframes pk-phone { 0% { opacity: 1; } 47% { opacity: 0; } 95% { opacity: 1; } }
@keyframes pk-wave { 0%, 27% { opacity: 0; transform: scale(.6); } 29% { opacity: 1; } 32% { opacity: 0; transform: scale(1.3); } 32.5% { transform: scale(.6); } 34% { opacity: 1; } 37%, 100% { opacity: 0; transform: scale(1.3); } }
@keyframes pk-ok { 0% { opacity: 0; } 36% { opacity: 1; } 95% { opacity: 0; } }
@keyframes pk-paid { 0%, 36% { opacity: 0; transform: translateY(8px) scale(.7); } 39% { opacity: 1; transform: translateY(0) scale(1.06); } 41%, 56% { opacity: 1; transform: none; } 59%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes pk-box { 0%, 46% { transform: translate(262px, 172px); } 52% { transform: translate(262px, 140px); } 60% { transform: translate(198px, 140px); }
  63% { transform: translate(152px, 108px); } 66%, 100% { transform: translate(104px, 132px); } }
@keyframes pk-hold { 0% { opacity: 0; } 66% { opacity: 1; } 95% { opacity: 0; } }
@keyframes pk-clerk { 0%, 44% { transform: none; } 50%, 58% { transform: translate(-6px, -3px); } 64%, 100% { transform: none; } }
@keyframes pk-heart { 0%, 66% { opacity: 0; transform: scale(.3); } 70% { opacity: 1; transform: scale(1.15); } 73% { transform: scale(1); } 78% { opacity: 1; transform: translateY(-6px); } 84%, 100% { opacity: 0; transform: translateY(-18px); } }
/* у pk-box непрозорість: ховаємо літаючу коробку, щойно її взяла покупниця */
.pk-box { transform: translate(262px, 172px); animation: pk-box 10s ease-in-out infinite, pk-boxo 10s step-end infinite; }
@keyframes pk-boxo { 0% { opacity: 1; } 66% { opacity: 0; } }
.pk-steps { list-style: none; counter-reset: pk; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; padding: 0; }
.pk-steps li { counter-increment: pk; position: relative; padding: 30px 6px 10px; border-radius: 14px; background: var(--p1); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 650; line-height: 1.25; text-align: center; color: var(--muted); }
.pk-steps li::before { content: counter(pk); position: absolute; top: 7px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--blush); color: var(--plum2); }
.pk-steps li:nth-child(1) { animation: pk-s1 10s step-end infinite; } .pk-steps li:nth-child(2) { animation: pk-s2 10s step-end infinite; } .pk-steps li:nth-child(3) { animation: pk-s3 10s step-end infinite; }
.pk-steps li:nth-child(1)::before { animation: pk-n1 10s step-end infinite; } .pk-steps li:nth-child(2)::before { animation: pk-n2 10s step-end infinite; } .pk-steps li:nth-child(3)::before { animation: pk-n3 10s step-end infinite; }
@keyframes pk-s1 { 0% { color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--rose), 0 8px 18px -12px rgba(74, 31, 51, .6); } 22% { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); } }
@keyframes pk-s2 { 0% { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); } 22% { color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--rose), 0 8px 18px -12px rgba(74, 31, 51, .6); } 46% { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); } }
@keyframes pk-s3 { 0% { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); } 46% { color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--rose), 0 8px 18px -12px rgba(74, 31, 51, .6); } 95% { color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); } }
@keyframes pk-n1 { 0% { background: var(--plum); color: #1a0a12; } 22% { background: var(--blush); color: var(--plum2); } }
@keyframes pk-n2 { 0% { background: var(--blush); color: var(--plum2); } 22% { background: var(--plum); color: #1a0a12; } 46% { background: var(--blush); color: var(--plum2); } }
@keyframes pk-n3 { 0% { background: var(--blush); color: var(--plum2); } 46% { background: var(--plum); color: #1a0a12; } 95% { background: var(--blush); color: var(--plum2); } }
@media (prefers-reduced-motion: reduce) { .pk *, .pk li::before { animation: none !important; } .pk-ok, .pk-hold { opacity: 1; } .pk-box, .pk-phone { opacity: 0; } }

.pk-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pk-steps li { hyphens: auto; overflow-wrap: break-word; }

/* спокійний режим системи: без руху */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sign { opacity: 1; }
}
