/* Silk Waves — стили витрины (редакционный минимализм) */
:root {
  --ink: #111111;
  --bg: #FFFFFF;
  --muted: #8A8A8A;
  --line: #E6E6E6;
  --soft: #F4F4F4;
  --sale: #C1121C;
  --focus: #2F5BD3;
  --header-h: 72px;
  --pad: 32px;
  --font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --emoji: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --brand: #FFFFFF;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 13px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 8px; }
.muted { color: var(--muted); }
.text-btn { font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; }
.icon-btn:hover { opacity: .6; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 28px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: background .2s, color .2s; }
.btn:hover { background: #333; border-color: #333; }
.btn.ghost { background: #fff; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.wide { width: 100%; }

/* ---------- Шапка ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
  color: #fff; background: transparent; transition: background .25s, color .25s; }
.header.solid { background: #fff; color: var(--ink); }
.h-left { display: flex; align-items: center; gap: 28px; }
.burger, .mb-burger { display: grid; gap: 5px; width: 22px; padding: 8px 0; }
.burger i, .mb-burger i { display: block; width: 22px; height: 1px; background: currentColor; }
.logo { display: block; line-height: 0; }
.logo img { display: block; height: 54px; width: auto; }
.logo .logo-white { display: none; }
.header:not(.solid) .logo .logo-red { display: none; }
.header:not(.solid) .logo .logo-white { display: block; }
.h-right { display: flex; align-items: center; gap: 24px; }
.h-right a, .h-right button { font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.h-right a:hover, .h-right button:hover { text-decoration: underline; text-underline-offset: 3px; }
.h-right sup, .mobile-bar sup { margin-left: 2px; font-size: 9px; }
.h-right .bell { display: inline-flex; align-items: flex-start; }
.h-right .bell svg { width: 17px; height: 17px; }
.bell sup { min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 9px; line-height: 14px; text-align: center; }
.bell.ring svg { animation: ring .9s ease-in-out 2; transform-origin: 50% 15%; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .bell.ring svg { animation: none; } }
.notices { list-style: none; margin: 0; padding: 0; }
.notices li { border-top: 1px solid var(--line); }
.notices a, .notices .nt { display: block; padding: 16px 0; }
.notices b { display: block; font-size: 13px; font-weight: 500; }
.notices p { margin: 4px 0 0; font-size: 13px; }
.notices time { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.notices .unread b::before { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--sale, #c00); }
.notices .nt-tag { display: inline-block; margin-bottom: 4px; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

main { padding-top: var(--header-h); min-height: 60vh; }
body.is-home main { padding-top: 0; }

.mobile-bar { display: none; }

/* ---------- Студийный «кадр» из эмодзи ---------- */
.art { position: absolute; inset: 0; overflow: hidden; container-type: size;
  background: linear-gradient(180deg, var(--wall) 0 69%, var(--floor) 69% 100%); }
.art::before { content: ''; position: absolute; left: 0; right: 0; top: 69%; height: 6%; transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.06), transparent); }
.art::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 35%, rgba(255,255,255,.22), transparent 60%), radial-gradient(140% 120% at 50% 50%, transparent 55%, rgba(0,0,0,.12)); }
.art-e { position: absolute; left: var(--x); top: var(--y); z-index: 1; font-family: var(--emoji); line-height: 1;
  font-size: calc(var(--s) * 52cqmin); transform: translate(-50%, -50%) rotate(var(--r));
  filter: drop-shadow(0 2.4cqmin 2.2cqmin rgba(0,0,0,.28)); transition: transform .8s var(--ease); }

/* ---------- Главная ---------- */
.home { background: var(--brand); }
.hb { position: relative; display: block; }
.ph { position: relative; display: block; overflow: hidden; }
.cap { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); color: #fff; white-space: nowrap;
  font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 0 14px rgba(0,0,0,.35); pointer-events: none; }
.cap.dark { color: var(--ink); text-shadow: none; }
.cap-link { pointer-events: auto; }
.cap-link:hover { text-decoration: underline; text-underline-offset: 3px; }
a.hb:hover .art-e, a.ph:hover .art-e { transform: translate(-50%, -50%) rotate(var(--r)) scale(1.04); }

.hb-pair { padding: calc(var(--header-h) - 4px) 0 52px; background: var(--brand); }
.hb-pair-row { display: flex; justify-content: center; gap: 3.3vw; }
.ph-portrait { width: min(31vw, 560px); aspect-ratio: 2 / 3; }
.hb-wide { display: flex; justify-content: center; padding: 68px 0; background: var(--brand); }
.ph-wide { width: 70vw; aspect-ratio: 16 / 9.4; }
.ph-full { width: 100%; height: min(100vh, 62vw); }
.hb-split { display: grid; grid-template-columns: 1fr 1fr; }
.ph-half { aspect-ratio: 8 / 9; }
.hb-slider { position: relative; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: 50%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
.sl-btn { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 44px; height: 64px; display: grid; place-items: center; color: #fff; }
.sl-btn svg { width: 26px; height: 26px; stroke-width: 1; filter: drop-shadow(0 0 6px rgba(0,0,0,.3)); }
.sl-btn.prev { left: 16px; }
.sl-btn.next { right: 16px; }
.hb-sections { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; }
.ph-third { aspect-ratio: 3 / 4; }
.ph-third.current .cap { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Каталог ---------- */
.listing { padding: 34px var(--pad) 80px; }
.list-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.list-title { font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.list-tools { display: flex; align-items: center; gap: 18px; }
.list-tools svg { width: 20px; height: 20px; }
.lead { max-width: 520px; margin: -12px 0 28px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: -14px 0 28px; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; text-transform: uppercase; }
.chip svg { width: 12px; height: 12px; }
.chip.clear { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }

.editorial { display: flex; flex-direction: column; gap: 56px; }
.erow { display: flex; justify-content: center; gap: 10px; }
.erow-1 .card { width: 32%; }
.erow-2 .card { width: 33%; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 8px; }

.card { position: relative; min-width: 0; }
.card-img { position: relative; aspect-ratio: 2 / 3; overflow: hidden; }
.card-img > a { position: absolute; inset: 0; }
.card:hover .art-e { transform: translate(-50%, -50%) rotate(var(--r)) scale(1.05); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; pointer-events: none; }
.plus { position: absolute; left: 12px; bottom: 12px; z-index: 2; width: 22px; height: 22px; display: grid; place-items: center; background: rgba(255,255,255,.75); }
.plus svg { width: 12px; height: 12px; stroke-width: 1.4; }
.plus:hover { background: #fff; }
.quick { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; background: #fff;
  transform: translateY(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
.card.quick-on .quick { transform: none; visibility: visible; }
.card.quick-on .plus { visibility: hidden; }
.quick button { flex: 1 0 20%; height: 40px; font-size: 11px; text-transform: uppercase; }
.quick button:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 3px; }
.quick button:disabled { color: #bbb; text-decoration: line-through; cursor: default; }
.card-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 10px; }
.card-name { font-size: 11px; font-weight: 500; line-height: 1.35; letter-spacing: .03em; text-transform: uppercase;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.fav { display: grid; place-items: center; margin-top: -3px; }
.fav svg { width: 18px; height: 18px; }
.fav.is-active svg { fill: var(--ink); }
.card-price { margin-top: 3px; font-size: 11px; font-weight: 500; }
.price-now.sale { color: var(--sale); }
.price-old { color: var(--muted); font-weight: 400; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; margin-top: 72px; }
.pager button { min-width: 26px; height: 26px; font-size: 11px; color: var(--muted); }
.pager button.current { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.pager button:hover { color: var(--ink); }
.empty { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 80px 16px; text-align: center; }
.empty p { margin: 0; text-transform: uppercase; font-size: 11px; }
.collection-hero .ph-full { height: min(70vh, 48vw); }

/* ---------- Карточка товара ---------- */
.pdp { display: grid; grid-template-columns: 170px minmax(0, 1fr) 340px; gap: 0 40px; padding-right: var(--pad); }
.pdp-thumbs { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; display: grid; justify-items: end; padding-top: 28px; }
.pdp-thumbs button { position: relative; width: 80px; aspect-ratio: 2 / 3; overflow: hidden; opacity: .9; }
.pdp-thumbs button:hover { opacity: 1; }
.pdp-images { display: grid; gap: 4px; }
.pdp-img { position: relative; aspect-ratio: 2 / 3; overflow: hidden; scroll-margin-top: var(--header-h); }
.drawer, .search-panel { padding-top: env(safe-area-inset-top, 0px); }
.pdp-info { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; padding: 28px 0 40px; }
.pdp-title { font-size: 20px; font-weight: 400; line-height: 1.15; letter-spacing: .01em; text-transform: uppercase; }
.pdp-price { margin: 8px 0 22px; font-size: 18px; }
.pdp-colors { display: flex; gap: 8px; margin-bottom: 16px; }
.sw { width: 20px; height: 20px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); outline-offset: 3px; }
.sw.selected { outline: 1px solid var(--ink); }
.pdp-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pdp-sizes.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.sz { min-width: 42px; height: 32px; padding: 0 8px; border: 1px solid var(--line); font-size: 11px; text-transform: uppercase; }
.sz:hover { border-color: var(--ink); }
.sz.selected { border-color: var(--ink); background: var(--ink); color: #fff; }
.sz.out { color: #bbb; text-decoration: line-through; }
.pdp-actions { display: flex; gap: 10px; align-items: center; }
.pdp-actions .btn { min-height: 36px; }
.fav.big { width: 36px; height: 36px; margin: 0; }
.fav.big svg { width: 22px; height: 22px; }
.pdp-note { margin: 22px 0 0; font-size: 9.5px; line-height: 1.6; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.pdp-desc { margin: 20px 0 0; font-size: 13px; line-height: 1.55; }
.pdp-links { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; }
.pdp-links a, .pdp-links button { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.pdp-links svg { width: 13px; height: 13px; stroke-width: 1.4; }
.pdp-links a:hover, .pdp-links button:hover { text-decoration: underline; text-underline-offset: 3px; }
.more-block { padding: 72px var(--pad) 0; }
.mini-title { margin: 0 0 20px; font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }

/* ---------- Страницы ---------- */
.page { padding: 40px var(--pad) 80px; }
.narrow { max-width: 560px; margin-inline: auto; }
.page-title { margin: 0 0 16px; font-size: 20px; font-weight: 400; text-transform: uppercase; }
.info-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; }
.info-nav { display: grid; gap: 6px; align-content: start; position: sticky; top: calc(var(--header-h) + 40px); }
.info-nav a { font-size: 11px; font-weight: 500; text-transform: uppercase; color: var(--muted); }
.info-nav a.active, .info-nav a:hover { color: var(--ink); }
.prose { max-width: 640px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 18px; }
.steps { display: grid; gap: 10px; }
.stores { display: grid; gap: 18px; }
.store { display: grid; gap: 2px; }
.store b { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.account-links { margin-bottom: 40px; }
.orders { display: grid; gap: 1px; margin-bottom: 32px; background: var(--line); border-block: 1px solid var(--line); }
.order { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 14px 0; background: #fff; }
.order > div { display: grid; }
.order-emos { font: 20px/1 var(--emoji); display: block !important; }
.status { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 16px; }
.table th, .table td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.table thead th { font-size: 10px; font-weight: 500; text-transform: uppercase; color: var(--muted); }

/* ---------- Подвал ---------- */
.footer { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px 56px; padding: 56px var(--pad) 28px; border-top: 1px solid var(--line); background: #fff; }
.newsletter .nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; min-width: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols a { display: block; padding: 3px 0; font-size: 11px; text-transform: uppercase; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.f-head { margin: 0 0 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; text-transform: uppercase; color: var(--muted); }

/* ---------- Формы ---------- */
.form { display: grid; gap: 14px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-size: 11px; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input:not([type]) {
  height: 40px; padding: 0 12px; border: 1px solid var(--line); background: #fff; border-radius: 0; outline: none; font-size: 13px; }
input:focus { border-color: var(--ink); }
input.invalid { border-color: var(--sale); }
.check { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--ink); }
.radio-cards { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.radio-cards.two { grid-template-columns: 1fr 1fr; }
.radio-cards legend, .radio-cards .legend { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; }
.radio-cards label { position: relative; display: block; cursor: pointer; }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards span, .static-card { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); }
.static-card { border-color: var(--ink); }
.radio-cards b, .static-card b { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.radio-cards small, .static-card small { color: var(--muted); font-size: 11px; }
.radio-cards input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-cards input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; text-transform: uppercase; font-size: 11px; }
.checkout-total b { font-size: 18px; font-weight: 500; }

/* ---------- Панели ---------- */
.backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.3); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.backdrop.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 60; width: min(440px, 100%); display: flex; flex-direction: column; background: #fff;
  visibility: hidden; transition: transform .4s var(--ease), visibility .4s; }
.drawer.right { right: 0; transform: translateX(100%); }
.drawer.left { left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 28px; }
.drawer-head h2 { font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 28px 24px; }
.drawer-foot { padding: 18px 28px 24px; border-top: 1px solid var(--line); }
.drawer-foot.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }

/* Меню */
#menu-drawer { width: min(460px, 100%); }
.menu-head { display: flex; align-items: center; gap: 28px; padding: 20px 32px; }
.menu-tabs { display: flex; gap: 22px; }
.menu-tabs button { font-size: 11px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); padding: 4px 0; border-bottom: 1px solid transparent; }
.menu-tabs button.active { color: var(--ink); border-color: var(--ink); }
.menu-body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; align-items: flex-start; padding: 14px 32px 32px 92px; }
.menu-body > a { padding: 3px 0; font-size: 13px; font-weight: 500; letter-spacing: .01em; text-transform: uppercase; }
.menu-body > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.menu-body sup { margin-left: 4px; font-size: 8px; font-weight: 500; text-transform: none; color: var(--muted); }
.menu-gap { height: 18px; }
.menu-small { display: grid; gap: 4px; }
.menu-small a, .menu-small button { justify-self: start; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.sale-link { color: var(--sale); }

/* Фильтры */
.f-group { margin: 0 0 26px; padding: 0; border: 0; }
.f-group legend { margin-bottom: 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.opt-list { display: grid; gap: 2px; justify-items: start; }
.opt { display: inline-flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 12px; text-transform: uppercase; }
.opt.selected { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.dot { width: 12px; height: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }

/* Корзина */
.ship-line { margin: 0; padding: 0 28px 12px; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.cart-items { display: grid; gap: 20px; align-content: start; }
.cart-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; }
.cart-thumb { position: relative; aspect-ratio: 2 / 3; overflow: hidden; }
.cart-info p { margin: 2px 0; font-size: 12px; }
.cart-name { font-size: 11px; font-weight: 500; text-transform: uppercase; }
.cart-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; }
.qty button:disabled { opacity: .3; }
.qty svg { width: 14px; height: 14px; }
.qty span { min-width: 22px; text-align: center; font-size: 12px; }
.promo-form { display: flex; gap: 8px; margin-bottom: 14px; }
.promo-form input { flex: 1; min-width: 0; }
.promo-ok { margin: 0; font-size: 11px; text-transform: uppercase; }
.totals { margin: 0 0 14px; display: grid; gap: 4px; font-size: 12px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt, .totals dd { margin: 0; }
.totals .sale { color: var(--sale); }
.totals .total { padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 600; text-transform: uppercase; }

/* Поиск */
.search-panel { position: fixed; top: 0; left: 0; right: 0; z-index: 60; max-height: 90vh; overflow-y: auto; background: #fff; padding: 0 var(--pad) 32px;
  transform: translateY(-100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
.search-panel.open { transform: none; visibility: visible; }
.search-form { display: flex; align-items: center; gap: 16px; height: 96px; border-bottom: 1px solid var(--ink); margin-bottom: 24px; }
.search-form input { flex: 1; height: 56px; border: 0; padding: 0; font-size: 24px; text-transform: uppercase; background: transparent; }
.search-words { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.grid4.small { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 8px; margin-bottom: 20px; }

/* Модалка */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; pointer-events: none; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-box { position: relative; width: min(600px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 36px clamp(20px, 4vw, 44px); background: #fff;
  pointer-events: auto; opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .3s var(--ease); }
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.modal-title { margin-bottom: 8px; padding-right: 36px; font-size: 15px; font-weight: 500; text-transform: uppercase; }
.region-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 16px; }
.region-opt { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; text-transform: uppercase; text-align: left; }
.region-opt small { color: var(--muted); }
.region-opt.selected, .region-opt:hover { font-weight: 600; }
.success { text-align: center; padding-block: 12px; }
.success .modal-title { padding: 0; }
.two-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }

/* Баннер региона (как cookie-плашка) */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: 26px var(--pad); background: rgba(245,245,245,.97); backdrop-filter: blur(6px); }
.consent-text { max-width: 900px; }
.consent-title { margin: 0 0 8px; font-size: 15px; text-transform: uppercase; }
.consent p { margin: 0; font-size: 12px; }
.consent-btns { display: flex; gap: 8px; flex: none; }
.consent-btns .btn { width: 200px; }

/* Уведомления */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: grid; gap: 8px; justify-items: end; }
.toast { display: flex; align-items: center; gap: 16px; max-width: min(420px, calc(100vw - 32px)); padding: 14px 18px; background: var(--ink); color: #fff;
  font-size: 11px; text-transform: uppercase; letter-spacing: .02em; animation: toastIn .35s var(--ease); transition: opacity .3s, transform .3s; }
.toast.out { opacity: 0; transform: translateY(8px); }
.toast .text-btn { color: #fff; text-decoration: underline; flex: none; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .pdp { grid-template-columns: 110px minmax(0, 1fr) 300px; gap: 0 28px; }
  .pdp-thumbs button { width: 64px; }
}
@media (max-width: 900px) {
  :root { --pad: 16px; --header-h: 0px; }
  .header { display: none; }
  main, body.is-home main { padding-top: calc(56px + env(safe-area-inset-top, 0px)); padding-bottom: 0; }
  .mobile-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 42; display: grid; grid-template-columns: 44px 44px 1fr 44px 44px; align-items: center;
    height: calc(56px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 8px 0; background: #fff; border-bottom: 1px solid var(--line); }
  .mobile-bar > * { display: grid; place-items: center; height: 44px; position: relative; }
  .mobile-bar .mb-burger { width: 22px; justify-self: center; align-content: center; gap: 6px; padding: 0; }
  .mobile-bar .logo img { height: 40px; }
  .mobile-bar sup { position: absolute; top: 6px; right: 6px; }
  .mobile-bar.has-bell { grid-template-columns: 44px 44px 1fr 44px 44px 44px; }
  .mobile-bar .bell sup { top: 4px; right: 2px; }
  .hb-pair { padding: 24px 0 32px; }
  .hb-pair-row { gap: 8px; }
  .ph-portrait { width: 44vw; }
  .hb-wide { padding: 36px 0; }
  .ph-wide { width: 88vw; aspect-ratio: 4 / 3; }
  .ph-full { height: 120vw; }
  .hb-split { grid-template-columns: 1fr; }
  .ph-half { aspect-ratio: 4 / 5; }
  .slider-track { grid-auto-columns: 86%; }
  .hb-sections { grid-template-columns: 1fr; }
  .ph-third { aspect-ratio: 16 / 9; }
  .listing { padding-top: 18px; }
  .editorial { gap: 40px; }
  .erow { gap: 4px; }
  .erow-1 .card { width: 66%; }
  .erow-2 .card { width: 50%; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 4px; }
  .pdp { grid-template-columns: 1fr; padding: 0; }
  .pdp-thumbs { display: none; }
  .pdp-images { grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pdp-img { scroll-snap-align: start; }
  .pdp-info { position: static; padding: 20px var(--pad) 32px; }
  .pdp-actions { position: sticky; bottom: 0; z-index: 4; padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); background: #fff; }
  .more-block { padding-top: 48px; }
  .footer { grid-template-columns: 1fr; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
  .info-layout { grid-template-columns: 1fr; gap: 20px; }
  .info-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .menu-body { padding: 14px 24px 32px; }
  .menu-head { padding: 16px 20px; gap: 16px; }
  .consent { flex-direction: column; align-items: stretch; padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .consent-btns { flex-direction: column; }
  .consent-btns .btn { width: 100%; }
  .toasts { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .drawer { width: 100%; }
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .radio-cards.two, .form-row, .region-list { grid-template-columns: 1fr; }
  .nl-row { flex-direction: column; }
  .order { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Загруженные фото */
.art.photo { background: #EEE; }
.art.photo::before, .art.photo::after { display: none; }
.art.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.ph:hover .art.photo img, .card:hover .art.photo img { transform: scale(1.03); }
.form-error { margin: 0; padding: 10px 12px; background: #FDECEC; color: var(--sale); font-size: 12px; }
.f-text { display: block; padding: 3px 0; font-size: 11px; text-transform: uppercase; }

/* Страница заказа */
.order-status { display: inline-block; margin: 0 0 12px; padding: 4px 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: var(--soft); }
.order-status.st-paid, .order-status.st-delivered { background: #E7F4EC; color: #1F7A3E; }
.order-status.st-awaiting_payment { background: #FFF3E0; color: #B26A00; }
.order-status.st-cancelled { background: #FDECEC; color: var(--sale); }
.status a { text-decoration: underline; text-underline-offset: 3px; }
