/* Соблазн — витрина. Серая гамма, без акцентного цвета. */
:root {
  --paper: #fafafa;
  --g-50: #f3f3f3;
  --g-100: #ebebeb;
  --g-150: #e2e2e2;
  --g-200: #d4d4d4;
  --g-300: #bdbdbd;
  --g-500: #8a8a8b;
  --g-600: #6b6b6c;
  --g-700: #4d4d4e;
  --g-800: #333334;
  --ink: #1b1b1c;
  --line: #d4d4d4;
  --line-strong: #1b1b1c;
  --focus: #1b1b1c;

  --ff: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);

  --gutter: clamp(16px, 3.2vw, 48px);
  --maxw: 1520px;
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "lnum";
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
input, select, textarea { caret-color: var(--ink); }
html { scrollbar-color: var(--g-300) var(--g-50); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */
.h-display, .h1, .h2, .h3, .label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-wrap: balance;
  margin: 0;
}
.h-display { font-size: var(--step-4); line-height: 1.02; letter-spacing: 0.01em; font-weight: 600; }
.h1 { font-size: var(--step-3); line-height: 1.08; letter-spacing: 0.02em; }
.h2 { font-size: var(--step-2); line-height: 1.15; }
.h3 { font-size: var(--step-1); line-height: 1.25; }
.label { font-size: var(--step--1); letter-spacing: 0.09em; font-weight: 500; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--g-700); max-width: 34em; margin: 0; }
.muted { color: var(--g-600); }
p { margin: 0 0 1em; max-width: 68ch; }

/* ---------- Buttons & links ---------- */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--b-bg); color: var(--b-fg);
  border: 1px solid var(--b-bd); border-radius: 0;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { --b-bg: var(--g-700); --b-bd: var(--g-700); }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn--light:hover { --b-bg: var(--g-100); --b-bd: var(--g-100); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
.btn--ghost:hover { --b-bg: var(--ink); --b-fg: #fff; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { --b-bg: var(--g-200); --b-bd: var(--g-200); --b-fg: var(--g-600); cursor: not-allowed; }
.link { font-weight: 600; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 0.35em; }
.link:hover { text-decoration-thickness: 2px; }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border: 0; background: transparent; color: inherit; padding: 0;
}
.icon-btn:hover { background: var(--g-100); }
.badge-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
.badge-count:empty, .badge-count[data-n="0"] { display: none; }

/* ---------- Promo line ---------- */
.promo {
  background: var(--ink); color: #fff; font-size: 0.8125rem; letter-spacing: 0.04em;
  text-align: center; padding: 9px var(--gutter);
}
.promo a { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 250, 250, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-header__row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  height: var(--header-h);
}
.logo { display: block; color: var(--ink); width: 150px; line-height: 0; }
.logo svg { width: 100%; height: auto; }
.nav { display: flex; justify-content: center; gap: clamp(14px, 2vw, 34px); }
.nav a {
  position: relative; text-decoration: none; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 26px 0; white-space: nowrap;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 2px; justify-self: end; grid-column: -2 / -1; }
.burger { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .site-header__row { grid-template-columns: auto 1fr auto; }
  .logo { width: 126px; }
}
@media (max-width: 560px) {
  :root { --header-h: 60px; }
  .tools .hide-sm { display: none; }
  .logo { width: 112px; }
}

/* ---------- Drawers & overlays ---------- */
.scrim { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(27, 27, 28, 0.42); z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 70; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.45s var(--ease);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.08);
}
.drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.drawer:not(.is-open) { visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s; }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--line); min-height: var(--header-h); }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px 24px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 20px 24px 24px; background: #fff; }
.mnav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9375rem; }
.mnav__meta { margin-top: 28px; font-size: 0.9375rem; }

.search-panel {
  position: fixed; left: 0; right: 0; top: 0; z-index: 70; background: var(--paper);
  transform: translateY(-100%); transition: transform 0.45s var(--ease); border-bottom: 1px solid var(--line);
}
.search-panel:not(.is-open) { visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s; }
.search-panel.is-open { transform: none; }
.search-panel form { display: flex; align-items: center; gap: 12px; height: 96px; }
.search-panel input { flex: 1; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: var(--step-2); padding: 8px 0; min-width: 0; border-radius: 0; }
.search-panel input:focus { outline: none; border-bottom-width: 2px; }
.search-hints { padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); background: #fff; font-size: 0.875rem; text-decoration: none; white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); min-height: min(calc(100vh - var(--header-h) - 36px), 860px); min-height: min(calc(100svh - var(--header-h) - 36px), 860px); background: var(--g-100); }
.hero__media { position: relative; overflow: hidden; background: var(--g-150); }
.hero__media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform-origin: 50% 40%; animation: heroIn 1.6s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.06); filter: blur(6px); } to { transform: none; filter: none; } }
.hero__panel { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4.5vw, 72px) clamp(24px, 4vw, 64px); gap: 40px; }
.hero__sign { width: min(100%, 360px); color: var(--ink); }
.hero__sign svg { width: 100%; height: auto; }
.hero__copy { display: grid; gap: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__since { display: flex; flex-wrap: wrap; gap: 16px 36px; border-top: 1px solid var(--g-300); padding-top: 20px; font-size: 0.9375rem; }
.hero__since b { white-space: nowrap; display: block; font-size: var(--step-2); font-weight: 600; letter-spacing: 0.02em; }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__media { aspect-ratio: 4 / 5; }
  .hero__media img { object-position: 50% 35%; }
  .hero__panel { padding: 28px var(--gutter) 36px; gap: 28px; }
  .hero__sign { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head p { margin: 10px 0 0; color: var(--g-600); }

/* Category mosaic */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--g-150); color: #fff; text-decoration: none; }
.cat img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transition: transform 1.2s var(--ease); }
.cat::after { content: ""; position: absolute; top: 45%; right: 0; bottom: 0; left: 0; background: linear-gradient(to top, rgba(20, 20, 21, 0.62), rgba(20, 20, 21, 0)); }
.cat:hover img { transform: scale(calc(var(--z, 1) * 1.04)); }
.cat__cap { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.cat__cap .h3 { color: #fff; }
.cat__cap span { font-size: 0.875rem; opacity: 0.92; }
@media (min-width: 961px) { .cats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .cats--5 .cat__cap { left: 16px; right: 16px; bottom: 16px; } .cats--5 .cat__cap .h3 { font-size: clamp(0.95rem, 1.3vw, 1.2rem); hyphens: manual; } }
@media (max-width: 960px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .cats--5 > :last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; } .cats--5 > :last-child img { height: 100%; } }
@media (max-width: 420px) { .cat__cap { left: 14px; right: 14px; bottom: 14px; flex-direction: column; align-items: start; gap: 2px; } }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 12px; }
.grid--scroll { grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.grid--scroll > * { scroll-snap-align: start; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--scroll { grid-template-columns: none; grid-auto-columns: calc((100% - 24px) / 3); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 8px; } .grid--scroll { grid-template-columns: none; grid-auto-columns: 62%; gap: 8px; } }

.card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.card__media { position: relative; display: block; aspect-ratio: 316 / 478; background: var(--g-150); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.4s; }
.card__media img.is-loading { opacity: 0; }
.card:hover .card__media img { transform: scale(1.03); }
.card__media .card__alt { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; transition: opacity 0.55s var(--ease), transform 0.9s var(--ease); }
@media (hover: hover) { .card:hover .card__alt.is-ready { opacity: 1; } }
.card__tag { position: absolute; left: 10px; top: 10px; background: #fff; padding: 4px 8px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.card__fav { position: absolute; right: 6px; top: 6px; background: rgba(255, 255, 255, 0.88); }
.card__fav[aria-pressed="true"] .icon { fill: var(--ink); }
.card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 4px; justify-content: center;
  background: rgba(255, 255, 255, 0.95); padding: 10px; opacity: 0; transform: translateY(8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
.card__quick-title { width: 100%; text-align: center; font-size: 0.75rem; color: var(--g-600); margin-bottom: 2px; }
.size-mini { min-width: 38px; height: 34px; border: 1px solid var(--line); background: #fff; font-size: 0.8125rem; }
.size-mini:hover { border-color: var(--ink); }
@media (hover: none) { .card__quick { display: none; } }
.card__body { display: grid; gap: 4px; }
.card__name { font-size: 0.9375rem; line-height: 1.35; text-decoration: none; }
.card__name:hover { text-decoration: underline; }
.card__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.sw { display: block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.18); background: var(--c); }
.sw--lg { width: 30px; height: 30px; }

/* Service band */
.service { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.service__item { padding: 36px 32px 36px 0; display: grid; gap: 12px; align-content: start; }
.service__item + .service__item { padding-left: 32px; border-left: 1px solid var(--line); }
.service__item .icon { width: 32px; height: 32px; stroke-width: 1.25; }
.service__item p { margin: 0; color: var(--g-700); }
@media (max-width: 860px) { .service { grid-template-columns: minmax(0, 1fr); } .service__item, .service__item + .service__item { padding: 28px 0; border-left: 0; } .service__item + .service__item { border-top: 1px solid var(--line); } }

/* Editorial split */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); background: var(--g-800); color: #fff; }
.split__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.split__media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.split__text { padding: clamp(40px, 6vw, 96px); display: grid; gap: 24px; align-content: center; }
.split__text p { color: var(--g-200); }
.split .btn--light:hover { --b-bg: var(--g-150); }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 44px; margin-top: 8px; }
.facts b { display: block; font-size: var(--step-3); font-weight: 600; line-height: 1; letter-spacing: 0; }
.facts span { font-size: 0.875rem; color: var(--g-300); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split__media { aspect-ratio: 4 / 5; max-height: 80vh; max-height: 80svh; width: 100%; } .facts { gap: 12px 28px; } }

/* Stores */
.stores-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.store-list { list-style: none; margin: 0; padding: 0; }
.store { border-bottom: 1px solid var(--line); }
.store:last-child { border-bottom: 0; }
.store__btn { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; width: 100%; text-align: left; padding: 22px 24px; border: 0; background: transparent; }
.store__btn:hover { background: var(--g-50); }
.store[aria-current="true"] .store__btn { background: var(--g-100); box-shadow: inset 2px 0 0 var(--ink); }
.store__addr { font-weight: 600; font-size: 1.0625rem; }
.store__rate { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-variant-numeric: tabular-nums; }
.store__rate .icon { width: 15px; height: 15px; fill: var(--ink); stroke: none; }
.store__meta { grid-column: 1 / -1; color: var(--g-600); font-size: 0.9375rem; }
.store__more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; font-size: 0.9375rem; }
.store__more a { font-weight: 500; }
.map { position: relative; min-height: 520px; background: var(--g-150); }
.map iframe { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.02); }
@media (max-width: 900px) { .stores-layout { grid-template-columns: minmax(0, 1fr); } .map { min-height: 360px; order: -1; } .store-list { max-height: none; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--g-200); margin-top: clamp(56px, 8vw, 112px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding: 64px 0 48px; }
.footer-top h2 { color: #fff; margin-bottom: 18px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.footer-logo { width: 190px; color: #fff; margin-bottom: 20px; }
.footer-bottom { border-top: 1px solid var(--g-700); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--g-300); }
@media (max-width: 1100px) { .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Page head / breadcrumbs */
.page-head { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(20px, 3vw, 32px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8125rem; color: var(--g-600); margin-bottom: 16px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--g-300); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Catalog */
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(250, 250, 250, 0.97); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.toolbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; min-height: 64px; padding-top: 14px; padding-bottom: 14px; }
.toolbar__group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.toolbar__label { font-size: 0.8125rem; color: var(--g-600); margin-right: 4px; }
.toolbar__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.select { position: relative; }
.select select { appearance: none; min-height: 40px; padding: 0 40px 0 14px; border: 1px solid var(--line); background: #fff; border-radius: 0; font-size: 0.875rem; }
.select::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.count { font-size: 0.875rem; color: var(--g-600); white-space: nowrap; }
.empty { border: 1px solid var(--line); background: #fff; padding: clamp(32px, 5vw, 64px); display: grid; gap: 18px; justify-items: start; }
.empty p { margin: 0; color: var(--g-700); }
@media (max-width: 720px) { .toolbar { position: static; } .toolbar__end { margin-left: 0; width: 100%; justify-content: space-between; } }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.pdp__price { font-size: var(--step-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.opt-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 0.9375rem; }
.opt-title b { font-weight: 600; }
.sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.size { min-height: 48px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.size:hover { border-color: var(--ink); }
.size[aria-pressed="true"] { color: #fff; border-color: var(--ink); }
.size[disabled] { color: var(--g-300); background: var(--g-50); text-decoration: line-through; cursor: not-allowed; }
.field-error { color: var(--ink); font-size: 0.875rem; margin-top: 8px; display: flex; gap: 6px; align-items: center; font-weight: 500; }
.field-error[hidden] { display: none; }
.sw-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sw-btn { display: inline-block; padding: 3px; border: 1px solid transparent; background: transparent; border-radius: 50%; }
.sw-btn[aria-pressed="true"] { border-color: var(--ink); }
.buy-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.buy-row .icon-btn { width: 52px; height: 52px; border: 1px solid var(--ink); }
.buy-row .icon-btn[aria-pressed="true"] .icon { fill: var(--ink); }
.avail { border-top: 1px solid var(--line); }
.avail details { border-bottom: 1px solid var(--line); }
.avail summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; }
.avail summary::-webkit-details-marker { display: none; }
.avail summary .icon { transition: transform 0.3s var(--ease); }
.avail details[open] summary .icon { transform: rotate(45deg); }
.avail .inner { padding: 0 0 20px; color: var(--g-700); font-size: 0.9375rem; }
.avail .inner ul { margin: 0; padding-left: 18px; }
.store-mini { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.store-mini li { display: flex; justify-content: space-between; gap: 12px; }
.store-mini a { white-space: nowrap; }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); } .pdp__info { position: static; } }

/* Basket */
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; aspect-ratio: 316 / 478; object-fit: cover; background: var(--g-150); }
.line__name { font-size: 0.9375rem; line-height: 1.35; text-decoration: none; }
.line__meta { font-size: 0.875rem; color: var(--g-600); margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 34px; height: 34px; border: 0; background: #fff; }
.qty button:hover { background: var(--g-100); }
.qty span { min-width: 30px; text-align: center; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.line__side { display: flex; flex-direction: column; justify-content: space-between; align-items: end; }
.line__remove { border: 0; background: none; font-size: 0.8125rem; color: var(--g-600); text-decoration: underline; text-underline-offset: 0.2em; padding: 4px 0; }
.total { display: flex; justify-content: space-between; font-weight: 600; font-size: var(--step-1); margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.note { font-size: 0.8125rem; color: var(--g-600); margin: 0 0 16px; }

/* Forms */
.form { display: grid; gap: 16px; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--g-300); background: #fff; border-radius: 0; font-size: 1rem; }
.field input:hover, .field select:hover { border-color: var(--g-600); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field input::placeholder { color: var(--g-600); }
.field--error input, .field--error select { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--g-50); }
.field .hint { font-size: 0.8125rem; color: var(--g-600); margin-top: 6px; }
.field .err { font-size: 0.8125rem; font-weight: 600; margin-top: 6px; display: none; }
.field--error .err { display: block; }
.check { display: flex; gap: 10px; align-items: start; font-size: 0.875rem; color: var(--g-700); }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 2px; flex: none; }

/* Size guide */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table.sizes-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.sizes-t th, .sizes-t td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sizes-t thead th { font-size: 0.75rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--g-600); font-weight: 600; background: var(--g-50); }
.sizes-t tbody tr:last-child td { border-bottom: 0; }
.sizes-t tbody th { font-weight: 600; }
.sizes-t tr.is-hit td, .sizes-t tr.is-hit th { background: var(--ink); color: #fff; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.calc__form { padding: clamp(24px, 3.5vw, 48px); display: grid; gap: 18px; align-content: start; }
.calc__out { padding: clamp(24px, 3.5vw, 48px); background: var(--g-100); display: grid; gap: 14px; align-content: center; min-height: 280px; }
.calc__result { font-size: var(--step-4); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 820px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .calc__row { grid-template-columns: minmax(0, 1fr); } }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: how; }
.how li { list-style: none; background: #fff; border: 1px solid var(--line); padding: 24px; display: grid; gap: 10px; align-content: start; }
.how svg { width: 100%; max-width: 150px; height: auto; color: var(--g-700); }
.how p { margin: 0; color: var(--g-700); font-size: 0.9375rem; }
@media (max-width: 820px) { .how { grid-template-columns: minmax(0, 1fr); } }

/* Toast */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 14px 18px; display: flex; gap: 16px; align-items: center; font-size: 0.9375rem; transition: transform 0.45s var(--ease); max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.toast.is-open { visibility: visible; transform: translate(-50%, 0); }
.toast button { background: none; border: 0; color: #fff; text-decoration: underline; text-underline-offset: 0.2em; font-weight: 600; padding: 4px; white-space: nowrap; }

.spacer-top { margin-top: clamp(40px, 6vw, 80px); }
.stack { display: grid; gap: 16px; align-content: start; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
@media (max-width: 820px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

/* Logo as image: invert on dark grounds */
.logo img, .hero__sign img, .footer-logo img { width: 100%; height: auto; }
.footer-logo img { filter: invert(1) brightness(1.1); }

.footer-stores li { display: grid; gap: 2px; }
.footer-top .footer-contacts__title { margin-top: 32px; }
/* Focus on dark grounds */
.promo :focus-visible, .site-footer :focus-visible, .split :focus-visible, .toast :focus-visible { outline-color: #fff; }
.qty .icon { width: 16px; height: 16px; }

/* ---------- Checkout ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(24px, 4vw, 64px); align-items: start; }
.co__form { display: grid; gap: 12px; }
.co__step { margin: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); background: #fff; display: grid; gap: 18px; min-width: 0; }
.co__step legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; }
.co__step legend + * { clear: both; }
.co__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.opts { display: grid; gap: 8px; }
.opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.opt:hover { border-color: var(--g-600); }
.opt input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--g-600); border-radius: 50%; background: #fff; display: grid; place-items: center; }
.opt input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform 0.2s var(--ease); }
.opt input:checked { border-color: var(--ink); }
.opt input:checked::after { transform: scale(1); }
.opt input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.opt.is-checked, .opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--g-50); }
.opt__body { display: grid; gap: 3px; flex: 1; min-width: 0; }
.opt__title { font-weight: 600; font-size: 0.9375rem; }
.opt__meta { font-size: 0.8125rem; color: var(--g-600); }
.opt__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--g-300); background: #fff; border-radius: 0; font-size: 1rem; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.check.field--error span { font-weight: 600; }
.check.field--error input { outline: 2px solid var(--ink); outline-offset: 2px; }
.co__sum { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--line); padding: clamp(20px, 3vw, 28px); display: grid; gap: 18px; }
.sum-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sum-line { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: start; font-size: 0.875rem; }
.sum-line img { width: 48px; aspect-ratio: 316 / 478; object-fit: cover; background: var(--g-150); }
.sum-line > span:nth-child(2) { display: grid; gap: 2px; }
.sum-line__name { line-height: 1.35; }
.sum-dl { margin: 16px 0 0; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.9375rem; }
.sum-dl > div { display: flex; justify-content: space-between; gap: 12px; }
.sum-dl dt { color: var(--g-700); }
.sum-dl dd { margin: 0; }
.sum-dl__total { font-weight: 600; font-size: var(--step-1); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.sum-dl__total dt { color: var(--ink); }
.co__sum .note { margin: 10px 0 0; }
@media (max-width: 980px) { .co { grid-template-columns: minmax(0, 1fr); } .co__sum { position: static; } .opts--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .co__row, .opts--2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Order status ---------- */
.lookup { max-width: 720px; display: grid; gap: 18px; }
.lookup__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 640px) { .lookup__form { grid-template-columns: minmax(0, 1fr); } }
.order { display: grid; gap: 28px; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 2px solid var(--g-200); }
.steps li { position: relative; padding: 16px 12px 0 0; font-size: 0.875rem; color: var(--g-600); }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 2px; background: transparent; }
.steps li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--g-300); }
.steps li.is-done::before, .steps li.is-now::before { background: var(--ink); }
.steps li.is-done::after { background: var(--ink); border-color: var(--ink); }
.steps li.is-now { color: var(--ink); font-weight: 600; }
.steps li.is-now::after { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px var(--g-200); }
.steps li.is-now::before { right: auto; width: 12px; }
@media (max-width: 720px) { .steps { grid-auto-flow: row; border-top: 0; border-left: 2px solid var(--g-200); margin-left: 6px; } .steps li { padding: 0 0 18px 22px; } .steps li::before { display: none; } .steps li::after { top: 3px; left: -7px; } }
.status-cancel { padding: 18px 20px; border: 1px solid var(--ink); background: #fff; font-weight: 500; margin: 0; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); background: #fff; border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
@media (max-width: 820px) { .order-grid { grid-template-columns: minmax(0, 1fr); } }
.kv { margin: 0; display: grid; gap: 16px; }
.kv dt { font-size: 0.8125rem; color: var(--g-600); margin-bottom: 2px; }
.kv dd { margin: 0; }
.prose { max-width: 760px; display: grid; gap: 4px; }
.prose h2 { margin-top: 24px; }

.sizes-t--wrap th, .sizes-t--wrap td { white-space: normal; }
.sizes-t--wrap td.num { white-space: nowrap; }

/* ---------- Выбор пункта выдачи ---------- */
.pvz { display: grid; gap: 10px; }
.pvz__label { font-size: 0.875rem; font-weight: 500; }
.pvz__open { justify-self: start; }
.pvz__chosen { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 16px; border: 1px solid var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--g-50); }
.pvz__chosen > div { display: grid; gap: 2px; }
.pvz__chosen .muted { font-size: 0.8125rem; }
.pvz__chosen .link { font-size: 0.75rem; background: none; border: 0; padding: 4px 0; white-space: nowrap; }
.pvz__map { border: 1px solid var(--ink); background: #fff; }
.pvz__bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 4px 16px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.875rem; }
.pvz__widget { min-height: 520px; }
.pvz__loading { margin: 0; padding: 20px 16px; color: var(--g-700); }
.pvz__manual summary { cursor: pointer; font-size: 0.875rem; color: var(--g-700); text-decoration: underline; text-underline-offset: 0.2em; width: max-content; max-width: 100%; }
.pvz__manual[open] summary { margin-bottom: 10px; }
.pvz__manual input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--g-300); background: #fff; border-radius: 0; font-size: 1rem; }
.pvz__manual input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field--error .pvz__open { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pvz__chosen b { overflow-wrap: anywhere; }

/* ---------- СДЭК: список + карта ---------- */
.cp { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; height: 520px; }
.cp__side { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-height: 0; }
.cp__q { margin: 10px; min-height: 42px; padding: 0 12px; border: 1px solid var(--g-300); border-radius: 0; background: #fff; font-size: 0.9375rem; }
.cp__q:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cp__count { margin: 0 12px 8px; font-size: 0.75rem; color: var(--g-600); }
.cp__list { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; border-top: 1px solid var(--line); }
.cp__list li { padding: 10px 12px; border-bottom: 1px solid var(--line); cursor: pointer; display: grid; gap: 2px; font-size: 0.875rem; }
.cp__list li span { color: var(--g-600); font-size: 0.8125rem; }
.cp__list li:hover, .cp__list li:focus-visible { background: var(--g-50); outline: none; box-shadow: inset 2px 0 0 var(--ink); }
.cp__list li[aria-selected="true"] { background: var(--ink); color: #fff; }
.cp__list li[aria-selected="true"] span { color: var(--g-300); }
.cp__list li.is-off b { color: var(--g-600); font-weight: 500; }
.cp__map { min-height: 0; background: var(--g-150); }
.cp__card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--ink); background: var(--g-50); }
.cp__card > div { display: grid; gap: 3px; font-size: 0.875rem; }
.cp__card .note { margin: 0; max-width: 260px; }
.cp__tags { font-size: 0.8125rem; }
@media (max-width: 720px) {
  .cp { grid-template-columns: minmax(0, 1fr); grid-template-rows: 280px auto; height: auto; }
  .cp__map { order: -1; height: 280px; }
  .cp__side { border-right: 0; border-top: 1px solid var(--line); }
  .cp__list { max-height: 300px; }
  .cp__card { flex-direction: column; align-items: stretch; }
}
.pvz__widget[data-w="cdek"] { min-height: 0; }
.cp__map [class*="ground-pane"] { filter: grayscale(1) contrast(1.05); }
.pvz__map { scroll-margin-top: calc(var(--header-h) + 12px); }
/* ---------- Ozon: мини-карта пунктов и подсказки ---------- */
.oz { display: grid; gap: 8px; margin-top: 4px; }
.oz__search { position: relative; }
.oz__q { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--g-300); border-radius: 0; background: #fff; font-size: 1rem; }
.oz__q:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.oz__sug { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--ink); border-top: 0; max-height: 320px; overflow: auto; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.oz__sug-item { display: grid; gap: 2px; padding: 10px 14px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 0.9375rem; }
.oz__sug-item span { font-size: 0.8125rem; }
.oz__sug-item:hover, .oz__sug-item:focus-visible { background: var(--g-50); outline: none; box-shadow: inset 2px 0 0 var(--ink); }
.oz__sug-msg { padding: 12px 14px; font-size: 0.875rem; }
.oz__map { height: 300px; background: var(--g-150); border: 1px solid var(--line); }
.oz__map [class*="ground-pane"] { filter: grayscale(1) contrast(1.05); }
.oz__note { margin: 0; font-size: 0.8125rem; }
.oz__bl { display: grid; gap: 4px; max-width: 240px; font-size: 0.875rem; }
.oz__bl .btn { margin-top: 6px; justify-self: start; min-height: 36px; padding: 0 14px; font-size: 0.75rem; }
@media (max-width: 560px) { .oz__map { height: 260px; } }
.gift-phones { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gift-phones li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ---------- СДЭК: перечень пунктов в городе ---------- */
.cl { border: 1px solid var(--line); background: #fff; }
.cl__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.9375rem; }
.cl__head .link { font-size: 0.75rem; background: none; border: 0; padding: 2px 0; white-space: nowrap; }
.cl__q { display: block; width: calc(100% - 28px); margin: 12px 14px; min-height: 44px; padding: 0 12px; border: 1px solid var(--g-300); border-radius: 0; background: #fff; font-size: 0.9375rem; }
.cl__q:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cl__list { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow: auto; border-top: 1px solid var(--line); }
.cl__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.cl__item:hover { background: var(--g-50); }
.cl__item input { appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0; border: 1.5px solid var(--g-600); border-radius: 50%; display: grid; place-items: center; background: #fff; }
.cl__item input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform 0.2s var(--ease); }
.cl__item input:checked { border-color: var(--ink); }
.cl__item input:checked::after { transform: scale(1); }
.cl__item input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.cl__item.is-checked, .cl__item:has(input:checked) { background: var(--g-50); box-shadow: inset 2px 0 0 var(--ink); }
.cl__item > span { display: grid; gap: 2px; min-width: 0; }
.cl__item b { font-weight: 600; font-size: 0.9375rem; overflow-wrap: anywhere; }
.cl__item small { color: var(--g-600); font-size: 0.8125rem; }
.cl__msg { margin: 0; padding: 14px; color: var(--g-700); font-size: 0.875rem; }
.cl__offline { padding: 16px; font-size: 0.9375rem; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.cl__offline p, .cl__offline ol { margin: 0; }
.cl__offline ol { padding-left: 1.2em; display: grid; gap: 4px; color: var(--g-700); }
.cl__offline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cl__offline .note { margin: 0; }
.cl.is-offline .cl__tabs, .cl.is-offline [data-cl-pane], .cl.is-offline [data-cl-msg] { display: none; }
.field .cl__item { display: flex; margin: 0; font-size: inherit; font-weight: 400; }
.field .cl__item input { width: 18px; height: 18px; min-height: 0; padding: 0; }
.field .cl__q { width: calc(100% - 28px); min-height: 44px; }
.cl__head { flex-wrap: wrap; }
.geo-hint { color: var(--g-700); }

/* ---------- СДЭК: переключатель «Списком / На карте» ---------- */
.cl__tabs { display: inline-flex; border: 1px solid var(--ink); }
.cl__tabs button { min-height: 36px; padding: 0 14px; border: 0; background: #fff; color: var(--ink); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.cl__tabs button + button { border-left: 1px solid var(--ink); }
.cl__tabs button:hover { background: var(--g-100); }
.cl__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.cl__head { align-items: center; }
.pvz__map.is-inline { border: 0; border-top: 1px solid var(--line); }
.pvz__map.is-inline .pvz__bar { display: none; }
@media (max-width: 560px) { .cl__tabs { width: 100%; } .cl__tabs button { flex: 1; } }
.pvz__map.is-inline .cp { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; height: 480px; }
.pvz__map.is-inline .cp__side { display: none; }
.pvz__map.is-inline .cp__map { height: 480px; order: 0; }
@media (max-width: 720px) { .pvz__map.is-inline .cp, .pvz__map.is-inline .cp__map { height: 400px; } }



/* ---------- Галерея товара ---------- */
.gal { --gal-w: min(100%, calc((100svh - var(--header-h) - 200px) * 0.6605)); display: grid; grid-template-columns: 72px var(--gal-w); gap: 12px; justify-content: center; align-items: start; }
.gal.is-single { grid-template-columns: var(--gal-w); }
.gal__thumbs { display: grid; gap: 8px; grid-auto-rows: max-content; max-height: calc(var(--gal-w) * 1.514); overflow-y: auto; scrollbar-width: none; }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumb { position: relative; display: block; padding: 0; border: 0; background: var(--g-150); aspect-ratio: 1000 / 1514; cursor: pointer; overflow: hidden; }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: opacity 0.25s var(--ease), transform 0.5s var(--ease); }
.gal__thumb:hover img { opacity: 0.85; }
.gal__thumb[aria-selected="true"] img { opacity: 1; }
.gal__thumb::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; box-shadow: inset 0 0 0 0 var(--ink); transition: box-shadow 0.25s var(--ease); }
.gal__thumb[aria-selected="true"]::after { box-shadow: inset 0 0 0 1.5px var(--ink); }
.gal__thumbs { order: -1; }
.gal__stage { position: relative; aspect-ratio: 1000 / 1514; background: var(--g-150); overflow: hidden; }
.gal__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.gal__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.gal__slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.gal__nav, .gal__zoom { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: rgba(250, 250, 250, 0.86); color: var(--ink); cursor: pointer; opacity: 0; transition: opacity 0.25s var(--ease), background-color 0.2s; }
.gal__nav:hover, .gal__zoom:hover { background: #fff; }
.gal__nav { top: 50%; margin-top: -22px; }
.gal__nav--prev { left: 12px; } .gal__nav--prev .icon { transform: rotate(180deg); }
.gal__nav--next { right: 12px; }
.gal__zoom { top: 12px; right: 12px; }
.gal__zoom .icon { width: 20px; height: 20px; }
.gal__stage:hover .gal__nav, .gal__stage:hover .gal__zoom, .gal__nav:focus-visible, .gal__zoom:focus-visible { opacity: 1; }
.gal.is-single .gal__nav { display: none; }
@media (hover: none) { .gal__nav { display: none; } .gal__zoom { opacity: 1; } }
/* Полоски слайд-шоу: текущая заполняется, пока фото на экране */
.gal__bars { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 4px; pointer-events: none; }
.gal__bars span { flex: 1; height: 2px; background: rgba(255, 255, 255, 0.45); overflow: hidden; }
.gal__bars i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.gal__bars .is-done i { transform: scaleX(1); }
.gal__bars .is-now i { animation: galBar 5.5s linear forwards; }
.gal.is-manual .gal__bars .is-now i { animation: none; transform: scaleX(1); }
.gal.is-manual .gal__bars .is-done i { transform: scaleX(0); }
.gal[class*="is-paused-"] .gal__bars .is-now i { animation-play-state: paused; }
@keyframes galBar { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .gal, .gal.is-single { grid-template-columns: minmax(0, 1fr); margin: 0 calc(var(--gutter) * -1); --gal-w: 100%; }
  .gal__thumbs { display: none; }
}

/* ---------- Просмотр фото на весь экран ---------- */
.lb { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 120; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(20, 20, 21, 0); color: #fff; transition: background-color 0.3s var(--ease); }
.lb.is-open { background: rgba(20, 20, 21, 0.96); }
.lb[hidden] { display: none; }
.lb__top, .lb__nav, .lb__thumbs { opacity: 0; transition: opacity 0.25s var(--ease); }
.lb.is-open .lb__top, .lb.is-open .lb__nav, .lb.is-open .lb__thumbs { opacity: 1; transition-delay: 0.12s; }
.lb__top { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px var(--gutter); }
.lb__count { font-size: 0.875rem; letter-spacing: 0.08em; min-width: 3em; }
.lb__hint { flex: 1; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.62); text-align: center; }
.lb__close { color: #fff; }
.lb__close:hover { background: rgba(255, 255, 255, 0.1); }
.lb__stage { position: relative; min-height: 0; overflow: hidden; }
.lb__stage img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto; display: block; max-width: calc(100% - 144px); max-height: 100%; width: auto; height: auto; cursor: zoom-in; user-select: none; touch-action: none; transition: transform 0.45s var(--ease); will-change: transform; }
.lb__stage.is-zoomed img { transform: scale(2.2); cursor: zoom-out; transition-duration: 0.35s; }
.lb__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 1px solid rgba(255, 255, 255, 0.28); background: transparent; color: #fff; cursor: pointer; }
.lb__nav:hover { background: rgba(255, 255, 255, 0.1); }
.lb__nav--prev { left: 12px; } .lb__nav--prev .icon { transform: rotate(180deg); }
.lb__nav--next { right: 12px; }
.lb.is-single .lb__nav, .lb.is-single .lb__thumbs { display: none; }
.lb__thumbs { display: flex; justify-content: center; gap: 8px; padding: 14px var(--gutter) 18px; overflow-x: auto; }
.lb__thumbs button { flex: 0 0 auto; width: 46px; aspect-ratio: 1000 / 1514; padding: 0; border: 0; background: #333; cursor: pointer; opacity: 0.45; transition: opacity 0.2s; }
.lb__thumbs button[aria-current="true"], .lb__thumbs button:hover { opacity: 1; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .lb__stage img { max-width: 100%; } .lb__nav { display: none; } .lb__hint { display: none; } .lb__top { justify-content: space-between; } }

/* =================================================================
   Движение. Тезис: «примерочная».
   Один авторский момент — первый экран: шторка примерочной раздвигается,
   открывая фотографию, и подпись «Соблазн» пишется от руки.
   Остальное — короткая обратная связь: покупка улетает в корзину,
   выбранный пункт выдачи подтверждается, панели оформления появляются
   на месте. Всё движение: одна кривая --ease, выход быстрее входа.
   ================================================================= */
:root { --ease-curtain: cubic-bezier(0.7, 0, 0.2, 1); }

/* Первый экран: шторка → подпись → текст */
.hero__media { animation: curtain 1.15s var(--ease-curtain) both; }
@keyframes curtain { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
.hero__sign img {
  -webkit-mask-image: linear-gradient(90deg, #000 42%, transparent 58%); mask-image: linear-gradient(90deg, #000 42%, transparent 58%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-position: 0 0; mask-position: 0 0;
  animation: signature 1.2s cubic-bezier(0.45, 0, 0.2, 1) 0.45s both;
}
@keyframes signature { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.hero__copy > *, .hero__since { animation: rise 0.7s var(--ease) both; }
.hero__copy > :nth-child(1) { animation-delay: 0.6s; }
.hero__copy > :nth-child(2) { animation-delay: 0.72s; }
.hero__copy > :nth-child(3) { animation-delay: 0.84s; }
.hero__since { animation-delay: 1s; }
@media (max-width: 860px) { .hero__copy > :nth-child(1) { animation-delay: 0.55s; } .hero__copy > :nth-child(2) { animation-delay: 0.65s; } .hero__copy > :nth-child(3) { animation-delay: 0.75s; } .hero__since { animation-delay: 0.85s; } }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Нажатия */
.btn:active, .size:active, .size-mini:active, .chip:active { transform: scale(0.97); }
.btn, .size, .size-mini, .chip { transition-property: background-color, color, border-color, transform; transition-duration: 0.25s, 0.25s, 0.25s, 0.12s; }

/* Корзина: значок «принимает» покупку */
.badge-count.is-bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
.fly { position: fixed; z-index: 95; pointer-events: none; object-fit: cover; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }

/* Каталог: карточки появляются списком после фильтра (задержка ограничена) */
.grid.is-refresh > .card { animation: appear 0.4s var(--ease) both; animation-delay: calc(min(var(--i, 0), 8) * 35ms); }

/* Оформление: панели и способы появляются на месте, а не «прыгают» */
[data-panel]:not([hidden]), .field[data-f]:not([hidden]), [data-cl-pane]:not([hidden]), .cl:not([hidden]), .pvz__map:not([hidden]), .geo-hint:not([hidden]) { animation: appear 0.28s var(--ease) both; }
[data-modes] .opt, [data-services] .opt { animation: appear 0.24s var(--ease) both; }
.cl__list li { animation: appear 0.26s var(--ease) both; animation-delay: calc(min(var(--i, 0), 10) * 18ms); }
.cl__tabs button { transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }

/* Выбранный пункт выдачи: подтверждение — рамка «затягивается» к карточке */
.pvz__chosen:not([hidden]) { animation: confirm 0.5s var(--ease) both; }
@keyframes confirm {
  from { opacity: 0; box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 10px rgba(27, 27, 28, 0.14); }
  to { opacity: 1; box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 0 rgba(27, 27, 28, 0); }
}


/* Второй авторский мотив — та же «шторка»: плитки разделов и крупные фото раскрываются, когда доходят до экрана */
.cat.rv, .split__media.rv { clip-path: inset(0 50% 0 50%); }
.cat.rv.is-in, .split__media.rv.is-in { animation: curtain 1s var(--ease-curtain) both; animation-delay: calc(var(--i, 0) * 110ms); }
.cat.rv img, .split__media.rv img { transform: scale(calc(var(--z, 1) * 1.12)); }
.cat.rv.is-in img, .split__media.rv.is-in img { animation: settle 1.4s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms); }
@keyframes settle { from { transform: scale(calc(var(--z, 1) * 1.12)); } to { transform: scale(var(--z, 1)); } }
.cat.rv.is-in:hover img { animation: none; transform: scale(calc(var(--z, 1) * 1.04)); }
.service__item.rv { opacity: 0; }
.service__item.rv.is-in { animation: rise 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }

/* Заголовки разделов: Reveal — строка выезжает из-под маски */
.ml { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.ml__in { display: inline-block; }
.section-head.rv .ml__in { transform: translateY(110%); }
.section-head.rv.is-in .ml__in { transform: none; transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1); }
.section-head.rv p, .section-head.rv > .link { opacity: 0; }
.section-head.rv.is-in p, .section-head.rv.is-in > .link { opacity: 1; transition: opacity 0.6s var(--ease) 0.25s; }

/* «Новинки и скидки»: Stagger из Scale in */
[data-news].rv > .card, [data-sale].rv > .card { opacity: 0; transform: translateY(18px) scale(0.96); }
[data-news].rv.is-in > .card, [data-sale].rv.is-in > .card { animation: cardIn 0.7s var(--ease) both; animation-delay: calc(min(var(--i, 0), 7) * 75ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }

/* Иконки сервисов: Line drawing — контур рисуется пером */
.service__item.rv .icon { stroke-dasharray: 140; stroke-dashoffset: 140; }
.service__item.rv.is-in .icon { animation: draw 1.4s cubic-bezier(0.45, 0, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 0.15s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Цифры: Number ticker, моноширинные, чтобы строка не прыгала */
.hero__since b, .facts b { font-variant-numeric: tabular-nums; }
.is-ticking { display: inline-block; }

/* Фото «Магазины, где вам помогут выбрать»: Parallax, привязанный к прокрутке (Chrome, Edge, Safari 26+) */
@supports (animation-timeline: view()) {
  .split__media img { animation: parallax linear both; animation-timeline: view(); animation-range: cover; }
  .split__media.rv img, .split__media.rv.is-in img { transform: none; animation: parallax linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes parallax { from { transform: translateY(-7%) scale(1.14); } to { transform: translateY(7%) scale(1.14); } }
}

/* Избранное: сердце «отзывается» на нажатие */
[data-fav].is-pop .icon { animation: heartPop 0.42s var(--ease); }
[data-fav][aria-pressed="true"] .icon { fill: currentColor; }
@keyframes heartPop { 0% { transform: scale(1); } 30% { transform: scale(0.78); } 65% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* Выбор размера: заливка «набегает» снизу */
.size { background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 0; transition: background-size 0.28s var(--ease), color 0.2s, border-color 0.2s, transform 0.12s; }
.size[aria-pressed="true"] { background-size: 100% 100%; }

/* Переходы между страницами (браузеры с View Transitions): шапка остаётся на месте,
   фото из карточки перелетает на страницу товара */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: 0.2s var(--ease) both vtOut; }
::view-transition-new(root) { animation: 0.32s var(--ease) both vtIn; }
::view-transition-group(pimg) { animation-duration: 0.5s; animation-timing-function: var(--ease); }
::view-transition-old(pimg), ::view-transition-new(pimg) { animation-duration: 0.5s; height: 100%; object-fit: cover; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }

/* Окно о cookie: выезжает снизу, уходит быстрее */
.cookie { position: fixed; z-index: 110; left: 16px; bottom: 16px; width: min(460px, calc(100% - 32px)); display: grid; gap: 14px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(20, 20, 21, 0.14); transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; transition: transform 0.26s cubic-bezier(0.5, 0, 0.75, 0), opacity 0.2s, visibility 0s 0.26s; }
.cookie.is-open { transform: none; opacity: 1; visibility: visible; transition: transform 0.5s var(--ease), opacity 0.3s, visibility 0s; }
.cookie__text { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--g-700); }
.cookie__text a { color: var(--ink); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 560px) { .cookie { left: 0; bottom: 0; width: 100%; border-width: 1px 0 0; padding: 16px; } .cookie__actions .btn { flex: 1; } }

/* Документ (согласие) */
.doc__meta { color: var(--g-600); font-size: 0.875rem; }
.doc__sign { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc__sign div { display: grid; gap: 4px; }
.doc__sign span { color: var(--g-600); font-size: 0.875rem; }
@media print { .site-header, .promo, .site-footer, .crumbs, .cookie, .doc__meta, .scrim, .drawer, .search-panel, .toast { display: none !important; } body { background: #fff; } .prose { max-width: none; } }

/* Уменьшенное движение: без сдвигов и шторки, остаются мягкие появления и подтверждения */
@media (prefers-reduced-motion: reduce) {
  .hero__media { animation: fadeOnly 0.4s linear both; }
  .hero__media img { animation: none; }
  .hero__sign img { animation: none; -webkit-mask-image: none; mask-image: none; }
  .hero__copy > *, .hero__since { animation-delay: 0s !important; }
  @keyframes rise { from { opacity: 0; } to { opacity: 1; } }
  @keyframes appear { from { opacity: 0; } to { opacity: 1; } }
  @keyframes bump { from { opacity: 0.4; } to { opacity: 1; } }
  .btn:active, .size:active, .size-mini:active, .chip:active { transform: none; }
  .card__media img, .cat img { transition: none; }
  .drawer, .search-panel, .toast { transition-duration: 0.01ms; }
  @view-transition { navigation: none; }
  .lb__stage img { transition-duration: 0.01ms; }
  .size { transition: none; }
  .cookie, .cookie.is-open { transform: none; transition: opacity 0.2s, visibility 0s; }
  .split__media img { animation: none !important; }
}
@keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
.cookie__actions .btn { width: auto; flex: 0 0 auto; }
@media (max-width: 560px) { .cookie__actions .btn { flex: 1 1 auto; } }
/* Магазины-партнёры */
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; border-top: 1px solid var(--line); }
.partner { position: relative; border-bottom: 1px solid var(--line); }
.partner__btn { display: grid; gap: 4px; width: 100%; padding: 18px 110px 18px 20px; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: background-color 0.2s; }
.partner__btn:hover { background: var(--g-50); }
.partner[aria-current="true"] .partner__btn { background: var(--g-100); box-shadow: inset 3px 0 0 var(--ink); }
.partner__btn b { font-weight: 600; }
.partner__btn .muted { font-size: 0.875rem; }
.partner__route { position: absolute; right: 20px; top: 20px; font-size: 0.8125rem; }
.footer-partners .muted { color: rgba(255, 255, 255, 0.62); font-size: 0.875rem; }

/* ---------- Фильтр каталога ---------- */
.filter-btn { gap: 8px; }
.filter-btn .icon { width: 18px; height: 18px; }
.filter-btn__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; background: var(--ink); color: #fff; font-size: 0.75rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.filter-btn__n[hidden] { display: none; }
.active-filters { flex: 1; min-width: 0; }
.tag-f { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px 0 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 0.8125rem; color: var(--ink); cursor: pointer; animation: appear 0.24s var(--ease) both; transition: border-color 0.2s; }
.tag-f:hover { border-color: var(--ink); }
.tag-f .icon { width: 14px; height: 14px; }
.tag-f__all { font: inherit; font-size: 0.75rem; margin-left: 4px; padding: 6px 2px; border: 0; background: none; cursor: pointer; }
.filters .drawer__body { display: grid; align-content: start; gap: 0; padding-top: 0; }
.f-sec { padding: 22px 0; border-bottom: 1px solid var(--line); }
.f-sec[hidden] { display: none; }
.f-sec__t { margin: 0 0 14px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--size { min-width: 52px; justify-content: center; font-variant-numeric: tabular-nums; }
.f-price { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; }
.f-price label { display: grid; gap: 6px; font-size: 0.8125rem; color: var(--g-600); }
.f-price input { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid var(--g-300); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.f-price input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.f-price__dash { padding-bottom: 12px; color: var(--g-500); }
.f-check { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.f-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.f-foot { display: grid; gap: 8px; }
.f-foot .btn { width: 100%; justify-content: center; }
@media (max-width: 720px) { .active-filters { order: 3; width: 100%; flex: none; } }

/* ---------- Соцсети ---------- */
.social { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 40px 0; border-bottom: 1px solid var(--g-700); }
.social__title { margin: 0 0 6px; color: #fff; font-size: var(--step-2); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.15; }
.social__text p { margin: 0; color: var(--g-300); font-size: 0.9375rem; }
.social__links { display: flex; flex-wrap: wrap; gap: 12px; }
.social__link { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 16px; border: 1px solid var(--g-600); color: #fff; text-decoration: none; transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease); }
.social__link .icon { width: 26px; height: 26px; stroke-width: 1.5; transition: transform 0.35s var(--ease); }
.social__link span { display: grid; line-height: 1.25; }
.social__link b { font-weight: 600; font-size: 0.9375rem; }
.social__link small { color: var(--g-300); font-size: 0.8125rem; transition: color 0.25s; }
.social__link:hover { background: #fff; border-color: #fff; color: var(--ink); }
.social__link:hover small { color: var(--g-600); }
.social__link:hover .icon { transform: rotate(-8deg) scale(1.08); }
.social__links--menu { margin: 4px 0 8px; }
.social__links--menu .social__link { color: var(--ink); border-color: var(--line); flex: 1 1 140px; }
.social__links--menu .social__link small { color: var(--g-600); }
.social__links--menu .social__link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social__links--menu .social__link:hover small { color: var(--g-300); }
.footer-note { flex-basis: 100%; font-size: 0.75rem; color: var(--g-500); }
@media (max-width: 560px) { .social__links { width: 100%; } .social__link { flex: 1 1 140px; } }
@media (prefers-reduced-motion: reduce) { .social__link:hover .icon { transform: none; } }
.social__links--menu { gap: 8px; }
.social__links--menu .social__link { padding: 8px 12px; gap: 10px; min-width: 0; flex: 1 1 0; }
.social__links--menu .social__link .icon { width: 22px; height: 22px; }
.mnav__meta .btn { white-space: normal; text-align: center; line-height: 1.3; min-height: 48px; padding-top: 10px; padding-bottom: 10px; letter-spacing: 0.04em; }

/* Таблица в документах */
.table-wrap { overflow-x: auto; margin: 16px 0 20px; }
.tbl-doc { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.875rem; }
.tbl-doc th, .tbl-doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl-doc th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g-600); font-weight: 600; background: var(--g-50); }
.prose .link[data-cookie-reset] { font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: inherit; letter-spacing: 0; text-transform: none; }

/* Главная: последний блок (фото «Примерочная») примыкает к подвалу без белой полосы */
.main--flush + .site-footer, main:has(> .split:last-child) + .site-footer { margin-top: 0; }

/* Каталог: разделы, фильтр и сортировка — одна строка */
.toolbar__main { flex-wrap: nowrap; gap: 16px; }
.toolbar__main .cat-tabs { flex: 1 1 auto; min-width: 0; padding-bottom: 0; }
.toolbar__main .toolbar__end { flex: none; margin-left: auto; gap: 10px; }
.toolbar__main .toolbar__end[hidden] { display: none; }
.toolbar__main .filter-btn { min-height: 40px; }
.toolbar__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 0 0 16px; min-height: 0; }
.toolbar__sub[hidden] { display: none; }
.toolbar__sub .count { font-size: 0.8125rem; color: var(--g-600); white-space: nowrap; }
.toolbar__sub .active-filters { flex: 1; min-width: 0; order: 0; width: auto; }
@media (max-width: 900px) {
  .toolbar__main { flex-wrap: wrap; }
  .toolbar__main .cat-tabs { flex: 1 1 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .toolbar__main .toolbar__end { width: 100%; margin-left: 0; }
  .toolbar__main .filter-btn { flex: 0 0 auto; }
  .toolbar__main .select { flex: 1; }
  .toolbar__main .select select { width: 100%; }
}
@media (max-width: 900px) {
  .toolbar__main .filter-btn, .toolbar__main .select { flex: 1 1 0; min-width: 0; }
  .toolbar__main .filter-btn { padding: 0 10px; }
  .toolbar__main .select select { padding: 0 30px 0 10px; font-size: 0.8125rem; text-overflow: ellipsis; }
  .toolbar__main .select::after { right: 12px; }
  .toolbar__sub .active-filters { flex: 1 1 100%; }
}

/* ================= Полировка (октябрь 2026) ================= */
/* Первый экран: подпись скромнее, цифры в одну строку — всё помещается над сгибом */
.hero__sign { width: min(100%, 280px); }
.hero__since { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 12px clamp(20px, 3vw, 40px); line-height: 1.35; }
.hero__since > div { min-width: 0; }
/* Плитки разделов: название и подпись друг под другом, длинные названия не наезжают на счётчик */
.cat__cap { flex-direction: column; align-items: start; justify-content: end; gap: 4px; }
.cat__cap .h3 { text-wrap: balance; }
/* Ссылка «Все новинки» не переносится и не сжимается */
.section-head > .link { flex: none; white-space: nowrap; }
@media (max-width: 560px) { .section-head { flex-wrap: wrap; align-items: start; } .section-head > .link { order: 2; } }
/* Карточка товара: фото крупнее, колонка покупки собранная */
@media (min-width: 901px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(340px, 500px); }
  .gal { --gal-w: min(100%, calc((100svh - var(--header-h) - 56px) * 0.6605)); }
}
.pdp-perks { list-style: none; margin: -8px 0 0; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; color: var(--g-700); }
.pdp-perks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.pdp-perks .icon { width: 22px; height: 22px; stroke-width: 1.4; margin-top: 1px; }
/* Мобильная панель «В корзину», когда основная кнопка ушла за экран */
.buybar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: none; align-items: center; gap: 14px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 250, 250, 0.97); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform 0.35s var(--ease); }
.buybar.is-on { transform: none; }
.buybar__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.buybar__price small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--g-600); }
.buybar .btn { flex: 1; min-height: 48px; }
@media (max-width: 900px) { .buybar { display: flex; } body.has-buybar { padding-bottom: 72px; } }
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }
/* Каталог на телефоне: сортировка занимает остаток строки и не обрезается */
@media (max-width: 720px) { .toolbar__main .toolbar__end .select { flex: 1; min-width: 0; } .toolbar__main .toolbar__end select { width: 100%; } }
/* Окно cookie на карточке товара встаёт над панелью «В корзину», а не перекрывает её */
@media (max-width: 900px) { body.has-buybar .cookie { bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (max-width: 560px) { body.has-buybar .cookie { border-width: 1px 0; } }

/* ================= Бонусная программа ================= */
/* Значок кабинета в шапке: точка, когда покупательница вошла */
.lk-link { position: relative; }
.lk-link__dot { position: absolute; top: 10px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--paper); transform: scale(0); transition: transform 0.3s var(--ease); }
.lk-link.is-in .lk-link__dot { transform: scale(1); }
@media (max-width: 560px) { .tools .lk-link { order: -1; } }

/* Полоса на главной */
.club { background: var(--ink); color: #fff; }
.club__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr) auto; align-items: center; gap: clamp(24px, 4vw, 64px); padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.club__copy { display: grid; gap: 12px; }
.club__copy .h2 { color: #fff; }
.club__copy p { margin: 0; color: var(--g-300); max-width: 34em; }
.club__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-left: 1px solid var(--g-700); }
.club__facts > div { padding: 0 clamp(14px, 2vw, 28px); border-right: 1px solid var(--g-700); }
.club__facts dt { font-size: var(--step-3); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.club__facts dd { margin: 8px 0 0; font-size: 0.875rem; color: var(--g-300); line-height: 1.35; }
.club__act { display: grid; gap: 14px; justify-items: start; }
.link--light { color: #fff; }
@media (max-width: 1100px) { .club__row { grid-template-columns: 1fr 1fr; } .club__act { grid-column: 1 / -1; grid-auto-flow: column; align-items: center; justify-content: start; gap: 24px; } }
@media (max-width: 720px) { .club__row { grid-template-columns: minmax(0, 1fr); } .club__facts { border-left: 0; border-top: 1px solid var(--g-700); padding-top: 20px; } .club__facts > div { padding: 0 12px 0 0; border-right: 0; } .club__facts > div + div { padding-left: 12px; border-left: 1px solid var(--g-700); } .club__act { grid-auto-flow: row; justify-items: center; justify-content: stretch; text-align: center; } }

/* Карточка товара: «+325 бонусов» */
.pdp__bonus { margin: -14px 0 0; font-size: 0.875rem; color: var(--g-700); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.pdp__bonus span { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pdp__bonus .link { font-size: 0.75rem; }

/* Оформление: блок бонусов в итоге */
.co-bonus { border: 1px solid var(--line); background: var(--g-50); padding: 14px 16px; display: grid; gap: 12px; justify-items: start; }
.co-bonus__text { margin: 0; display: grid; gap: 2px; font-size: 0.9375rem; line-height: 1.4; }
.co-bonus__text small { font-size: 0.8125rem; color: var(--g-600); }
.co-bonus__switch { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; cursor: pointer; width: 100%; }
.co-bonus__switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.co-bonus__track { position: relative; width: 40px; height: 22px; border: 1px solid var(--ink); background: #fff; transition: background-color 0.2s var(--ease); }
.co-bonus__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: var(--ink); transition: transform 0.25s var(--ease), background-color 0.2s; }
.co-bonus__switch input:checked + .co-bonus__track { background: var(--ink); }
.co-bonus__switch input:checked + .co-bonus__track::after { transform: translateX(18px); background: #fff; }
.co-bonus__switch input:focus-visible + .co-bonus__track { outline: 2px solid var(--focus); outline-offset: 2px; }
.sum-dl__bonus dd { font-weight: 600; }
.sum-earn { margin: 10px 0 0; }

/* ---------- Личный кабинет ---------- */
.lk { padding-bottom: clamp(56px, 8vw, 112px); }
.lk__loading { min-height: 40vh; }
.lk-in { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 420px); justify-content: space-between; gap: clamp(32px, 6vw, 96px); align-items: start; }
.lk-in__form { display: grid; gap: 20px; }
.lk-in__form .lead { margin-top: -8px; }
.lk-step { display: grid; gap: 16px; }
.lk-step__sent { margin: 0; font-size: 0.9375rem; color: var(--g-700); }
.lk-code { font-size: 1.75rem !important; letter-spacing: 0.6em; font-variant-numeric: tabular-nums; text-align: center; padding-left: calc(14px + 0.6em) !important; min-height: 60px !important; }
.lk-dev { margin: 0; padding: 10px 12px; background: var(--g-100); font-size: 0.8125rem; color: var(--g-700); }
.lk-step__more { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lk-step__more .link { background: none; border: 0; padding: 0; cursor: pointer; font-size: 0.75rem; color: var(--ink); }
.lk-step__more .link[disabled] { color: var(--g-600); text-decoration: none; cursor: default; }
.lk-in__why { border-top: 1px solid var(--ink); padding-top: 24px; display: grid; gap: 20px; justify-items: start; }
.lk-perks { list-style: none; margin: 0; padding: 0; display: grid; width: 100%; }
.lk-perks li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--g-700); }
.lk-perks b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .lk-in { grid-template-columns: minmax(0, 1fr); } .lk-perks li { grid-template-columns: 8em 1fr; } }

.lk-home { display: grid; gap: clamp(24px, 3vw, 36px); }
.lk-home__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.lk-home__head p { margin: 8px 0 0; }
.lk-home__head .link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }
.bcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 56px); align-items: end; background: var(--ink); color: #fff; padding: clamp(24px, 4vw, 44px); }
.bcard__main { display: grid; gap: 6px; }
.bcard__label { font-size: 0.8125rem; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 500; color: var(--g-300); }
.bcard__sum { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.01em; }
.bcard__eq { color: var(--g-300); font-size: 0.9375rem; }
.bcard__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; color: var(--g-200); align-self: end; }
.bcard__notes li { padding-left: 16px; position: relative; }
.bcard__notes li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 1px; background: var(--g-300); }
.bcard__notes b { color: #fff; font-weight: 600; }
.bcard__act { display: grid; gap: 12px; justify-items: start; }
.bcard__hint { font-size: 0.8125rem; color: var(--g-300); max-width: 16em; }
@media (max-width: 960px) { .bcard { grid-template-columns: minmax(0, 1fr); align-items: start; } }

.lk-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.lk-tabs::-webkit-scrollbar { display: none; }
.lk-tabs button { flex: none; border: 0; background: none; padding: 14px 0; margin-right: 32px; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g-600); box-shadow: inset 0 -2px 0 transparent; cursor: pointer; transition: color 0.2s, box-shadow 0.25s var(--ease); }
.lk-tabs button:hover { color: var(--ink); }
.lk-tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.lk-pane { min-height: 200px; }
.hist, .lk-orders { list-style: none; margin: 0; padding: 0; }
.hist__row { display: grid; grid-template-columns: minmax(0, 1fr) 11em 7em; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hist__what { display: grid; gap: 3px; }
.hist__what span { font-size: 0.875rem; color: var(--g-600); }
.hist__when { font-size: 0.875rem; color: var(--g-600); font-variant-numeric: tabular-nums; }
.hist__sum { text-align: right; font-weight: 600; font-size: var(--step-1); }
.hist__row.is-wait .hist__sum { color: var(--g-600); }
.hist__row.is-off .hist__what b, .hist__row.is-off .hist__sum { color: var(--g-600); text-decoration: line-through; }
.hist__empty { padding: 28px 0; color: var(--g-600); }
@media (max-width: 640px) { .hist__row { grid-template-columns: minmax(0, 1fr) auto; } .hist__when { grid-row: 2; grid-column: 1; } .hist__sum { grid-row: 1 / span 2; grid-column: 2; align-self: center; } }
.lk-orders a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.lk-orders a:hover .lk-orders__n { text-decoration: underline; text-underline-offset: 0.3em; }
.lk-orders__n { font-weight: 600; }
.lk-orders .num { font-weight: 600; }
@media (max-width: 640px) { .lk-orders a { grid-template-columns: 1fr auto; } .lk-orders a .muted { grid-row: 2; } }
.lk-prof { display: grid; gap: 18px; max-width: 480px; padding-top: 24px; justify-items: start; }
.lk-prof .field { width: 100%; }
.lk-prof input:disabled { background: var(--g-50); color: var(--g-700); }
.lk-off { padding: 24px 0 40vh; display: grid; gap: 16px; }

/* ---------- Страница программы ---------- */
.bterms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.bterms > div { padding: clamp(20px, 3vw, 32px) clamp(16px, 2vw, 28px) clamp(20px, 3vw, 32px) 0; }
.bterms > div + div { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.bterms dt { font-size: var(--step-4); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.bterms dd { margin: 12px 0 0; color: var(--g-700); max-width: 14em; }
@media (max-width: 860px) { .bterms { grid-template-columns: 1fr 1fr; } .bterms > div:nth-child(3) { padding-left: 0; border-left: 0; } .bterms > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.bhow { padding: clamp(48px, 7vw, 96px) 0 0; display: grid; gap: 28px; }
.bsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: st; }
.bsteps li { counter-increment: st; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.bsteps li::before { content: counter(st); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; color: var(--g-600); font-variant-numeric: tabular-nums; }
.bsteps b { font-size: var(--step-1); font-weight: 600; }
.bsteps span { color: var(--g-700); }
@media (max-width: 860px) { .bsteps { grid-template-columns: minmax(0, 1fr); } }
.bhow__act { display: flex; }
.bfaq { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); max-width: 860px; display: grid; gap: 12px; }
.bfaq h2 { margin-bottom: 8px; }
.bfaq details { border-bottom: 1px solid var(--line); }
.bfaq details:first-of-type { border-top: 1px solid var(--line); }
.bfaq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; }
.bfaq summary::-webkit-details-marker { display: none; }
.bfaq summary .icon { flex: none; transition: transform 0.3s var(--ease); }
.bfaq details[open] summary .icon { transform: rotate(45deg); }
.bfaq details p { margin: 0 0 20px; color: var(--g-700); max-width: 68ch; }
#rules { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 112px); scroll-margin-top: calc(var(--header-h) + 16px); }
#rules ul { margin: 0 0 8px; padding-left: 20px; }
[data-sum] > .co-bonus { margin-top: 16px; }
@media (max-width: 600px) {
  .lk-tabs button { flex: 1 1 auto; margin-right: 0; padding: 14px 6px; letter-spacing: 0.04em; font-size: 0.75rem; text-align: center; }
}
/* Правила — по одной левой линии со всей страницей, строка не шире 760px */
#rules.wrap { max-width: var(--maxw); }
#rules > * { max-width: 760px; }
.hist__empty .link { color: var(--ink); margin-top: 6px; }
.lk-leave { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 16px; max-width: 480px; }
.lk-leave summary { cursor: pointer; font-size: 0.875rem; color: var(--g-600); text-decoration: underline; text-underline-offset: 3px; }
.lk-leave summary:hover { color: var(--ink); }
.lk-leave form { display: grid; gap: 14px; margin-top: 14px; justify-items: start; }
.lk-leave p { margin: 0; font-size: 0.875rem; color: var(--g-700); line-height: 1.5; }

/* ---------- Возврат товара ---------- */
.ret { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(56px, 8vw, 112px); }
.ret__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); counter-reset: ret; }
.ret__list li { display: grid; gap: 4px; padding: 16px 0 16px 36px; border-bottom: 1px solid var(--line); position: relative; counter-increment: ret; }
.ret__list li::before { content: counter(ret); position: absolute; left: 0; top: 16px; font-weight: 600; font-size: 0.8125rem; color: var(--g-600); font-variant-numeric: tabular-nums; }
.ret__list b { font-weight: 600; }
.ret__list span { color: var(--g-700); font-size: 0.9375rem; line-height: 1.5; }
.ret__note { margin-top: 16px; font-size: 0.875rem; }
.ret__form { border: 1px solid var(--line); background: #fff; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.ret__step { display: grid; gap: 16px; justify-items: stretch; }
.ret__step > .btn { justify-self: start; }
.ret__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ret__order { margin: 0; font-weight: 600; }
.ret__items, .ret__method { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.ret__items legend, .ret__method legend { margin-bottom: 8px; padding: 0; }
.ret__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ret__item .check span { display: grid; gap: 2px; }
.ret__item .check .muted { font-size: 0.8125rem; }
.ret__qty select { min-height: 40px; padding: 0 28px 0 10px; }
.ret__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ret__done { display: grid; gap: 8px; outline: none; }
.ret__done p { margin: 0; }
@media (max-width: 900px) { .ret { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .ret__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Почему «Соблазн», история, «О нас» ---------- */
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.why__list li { display: grid; gap: 8px; align-content: start; padding: 20px 24px 8px 0; }
.why__list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.why__list b { font-weight: 600; font-size: 1.0625rem; }
.why__list span { color: var(--g-700); line-height: 1.55; }
@media (max-width: 900px) { .why__list { grid-template-columns: 1fr 1fr; } .why__list li:nth-child(3) { padding-left: 0; border-left: 0; } .why__list li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .why__list { grid-template-columns: minmax(0, 1fr); } .why__list li, .why__list li + li { padding: 16px 0; border-left: 0; } .why__list li + li { border-top: 1px solid var(--line); } }

.ph-slot { margin: 0; position: relative; display: grid; place-items: center; background: var(--g-100, #ececec); border: 1px dashed var(--g-300, #c8c8c8); aspect-ratio: 4 / 5; color: var(--g-600); font-size: 0.875rem; text-align: center; padding: 16px; }
@supports not (aspect-ratio: 1) { .ph-slot { padding-top: 125%; height: 0; } .ph-slot > span { position: absolute; top: 50%; left: 16px; right: 16px; transform: translateY(-50%); } }
.ph-slot figcaption { position: absolute; left: 0; right: 0; bottom: -28px; font-size: 0.8125rem; color: var(--g-700); text-align: left; }
.ph-slot img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

.about-teaser__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.about-teaser__photo { max-width: 420px; aspect-ratio: 4 / 3; }
.about-teaser__copy { display: grid; gap: 14px; justify-items: start; max-width: 52ch; }
.about-teaser__copy p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--g-700); }
@media (max-width: 760px) { .about-teaser__row { grid-template-columns: minmax(0, 1fr); } .about-teaser__photo { max-width: none; } }

.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(56px, 8vw, 112px); }
.about__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; padding-bottom: 32px; }
.about__text { gap: 14px; max-width: 60ch; }
.about__text p { margin: 0; line-height: 1.65; }
.about__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); } }
.cat-lead { margin: 8px 0 0; max-width: 60ch; }


/* ---------- Совместимость с браузерами ---------- */
/* Единицы svh (Safari до 15.4, Chrome до 108): галерея считает ширину от обычной высоты окна */
@supports not (height: 1svh) { .gal { --gal-w: min(100%, calc((100vh - var(--header-h) - 200px) * 0.6605)); } }
/* aspect-ratio (Safari до 15, iOS 14): пропорции через отступ, иначе фото схлопываются в ноль */
@supports not (aspect-ratio: 1) {
  .card__media, .cat, .split__media, .gal__stage, .gal__thumb { height: 0; }
  .card__media, .gal__stage, .gal__thumb { padding-top: 151.4%; }
  .cat, .split__media { padding-top: 133.3%; }
  .card__media img, .gal__stage img, .gal__thumb img { position: absolute; top: 0; left: 0; }
}
/* Текст: длинные слова переносятся, а не вылезают за край на узких экранах */
body { overflow-wrap: break-word; }
h1, h2, h3, .h1, .h2, .h3, .h-display { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.num, .btn, .chip, .label, nav a { -webkit-hyphens: none; hyphens: none; }
/* Фото: пропорции не искажаются, ориентация по данным снимка, сломанная картинка не показывает значок */
img { height: auto; image-orientation: from-image; }
img.is-broken { visibility: hidden; }
/* Мобильные: без синей подсветки при нажатии, без масштабирования страницы при фокусе в поле (iOS: шрифт не меньше 16px) */
a, button, label, summary, [role="button"] { -webkit-tap-highlight-color: transparent; }
@media (pointer: coarse) { input, select, textarea, .select select, .ret__qty select { font-size: max(16px, 1em) !important; } }
/* Поля ввода одинаково во всех браузерах: без скруглений и теней iOS/Safari, дата не схлопывается */
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select, .search-panel input { -webkit-appearance: none; appearance: none; border-radius: 0; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231b1b1c' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input[type="date"] { display: block; min-width: 0; line-height: 48px; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.6; cursor: pointer; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
/* Firefox: убираем пунктирную рамку у кнопок, Safari: кнопки без системного вида */
button::-moz-focus-inner { border: 0; padding: 0; }
button, [type="button"], [type="submit"] { -webkit-appearance: none; appearance: none; border-radius: 0; }
/* Печать: без шапки, меню и окна cookie */
@media print { .site-header, .site-footer, .cookie, .drawer, .scrim, .buybar { display: none !important; } body { background: #fff; } }
/* iPhone с вырезом: в альбомной ориентации текст не уходит под вырез, окно cookie — над полосой «домой» */
.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
@media (max-width: 560px) { .cookie { padding-bottom: calc(16px + env(safe-area-inset-bottom)); } }
/* Узкие телефоны (320–374 px, iPhone SE 1-го поколения и старые Android): шапка помещается в одну строку */
@media (max-width: 374px) {
  .site-header__row { gap: 8px; }
  .logo { width: 96px; }
  .tools .icon-btn { width: 40px; height: 40px; }
  :root { --gutter: 12px; }
}
@media (max-width: 420px) {
  .search-panel form { gap: 8px; }
  .search-panel form > .icon { display: none; }
  .search-panel .btn { padding-left: 14px; padding-right: 14px; }
  .partner__btn { padding-right: 96px; }
  .partner__btn > * { min-width: 0; overflow-wrap: anywhere; }
}
@media (max-width: 420px) { .facts { gap: 12px 20px; } .facts span { overflow-wrap: anywhere; } }
/* Числа не разрываются переносом: «1500» не превращается в «150 / 0» */
.club__facts dt, .bterms dt, .facts b, .bcard__num, .hero__since b, [data-lk-balance] { white-space: nowrap; overflow-wrap: normal; }
.club__facts { grid-template-columns: repeat(3, minmax(min-content, 1fr)); }
.bterms { grid-template-columns: repeat(4, minmax(min-content, 1fr)); }
@media (max-width: 860px) { .bterms { grid-template-columns: repeat(2, minmax(min-content, 1fr)); } }
/* Текстовые кнопки-ссылки выглядят как ссылки во всех браузерах */
button.link { border: 0; background: none; padding: 0; color: inherit; cursor: pointer; }
button.link:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 420px) { .club__facts { grid-template-columns: minmax(0, 1fr); } .club__facts > div { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-right: 0; border-bottom: 1px solid var(--g-700); } .club__facts dt { font-size: 1.75rem; min-width: 3.2em; } .club__facts dd { margin: 0; } }
@media (max-width: 420px) { .club__facts { border-left: 0; } .club__facts > div, .club__facts > div + div { padding-left: 0; padding-right: 0; border-left: 0; } }

/* =========================================================================
   Пластика и типографика «дороже» (октябрь 2026)
   Медленные, мягкие движения с длинным затуханием; у каждого типа блока свой приём.
   ========================================================================= */
:root { --ease-lux: cubic-bezier(0.22, 1, 0.36, 1); }

/* Слова заголовков поднимаются из-под маски по одному */
.wm { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.wm > span { display: inline-block; }
.js-motion .wm-host .wm > span { transform: translateY(108%); }
.js-motion .wm-host.is-in .wm > span { transform: none; transition: transform 1s var(--ease-lux); transition-delay: calc(var(--w, 0) * 55ms); }
.js-motion .hero .h-display { animation: none; }
.js-motion .hero .h-display.is-in .wm > span { transition-duration: 1.15s; transition-delay: calc(var(--w, 0) * 70ms); }
/* Шапка страницы: хлебные крошки и подзаголовок проявляются следом за заголовком */
.js-motion .ph-in .crumbs { animation: fadeOnly 0.8s var(--ease-lux) both; }
.js-motion .ph-in .lead, .js-motion .ph-in .cat-lead { animation: rise 0.9s var(--ease-lux) 0.35s both; }

/* Списки с тонкой линией: линия прочерчивается, пункты проявляются лесенкой */
.js-motion .m-rl { position: relative; border-top-color: transparent !important; }
.js-motion .m-rl::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line-strong); transform: scaleX(0); transform-origin: left; }
.js-motion .club__facts.m-rl::before, .js-motion .bterms.m-rl::before { background: currentColor; opacity: 0.5; }
.js-motion .m-rl.is-in::before { transform: scaleX(1); transition: transform 1.2s var(--ease-lux); }
.js-motion .m-rl > * { opacity: 0; transform: translateY(16px); }
.js-motion .m-rl.is-in > * { opacity: 1; transform: none; transition: opacity 0.8s var(--ease-lux), transform 0.9s var(--ease-lux); transition-delay: calc(0.25s + var(--i, 0) * 110ms); }

/* Места под фото: «шторка» снизу вверх */
.js-motion .m-ps { clip-path: inset(100% 0 0 0); }
.js-motion .m-ps.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease-curtain); }

/* Текстовые блоки: мягкий подъём */
.js-motion .m-fu > * { opacity: 0; transform: translateY(20px); }
.js-motion .m-fu.is-in > * { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-lux), transform 1s var(--ease-lux); transition-delay: calc(var(--i, 0) * 90ms); }
.js-motion .bhow > .h2.m-fu, .js-motion .bfaq > .h2.m-fu { opacity: 0; transform: translateY(16px); }
.js-motion .bhow > .h2.m-fu.is-in, .js-motion .bfaq > .h2.m-fu.is-in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-lux), transform 1s var(--ease-lux); }

/* Подвал: колонки лесенкой */
.js-motion .m-ft > * { opacity: 0; transform: translateY(14px); }
.js-motion .m-ft.is-in > * { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-lux), transform 1s var(--ease-lux); transition-delay: calc(var(--i, 0) * 100ms); }

/* Фото проявляются после загрузки */
.js-motion .card__media img:not(.card__alt), .js-motion .cat img { opacity: 0; }
.js-motion .card__media img.is-loaded:not(.card__alt), .js-motion .cat img.is-loaded { opacity: 1; transition: opacity 0.7s var(--ease-lux), transform 1.2s var(--ease-lux); }
.card:hover .card__media img:not(.card__alt) { transition: opacity 0.7s var(--ease-lux), transform 1.6s var(--ease-lux); }

/* Шапка: тонкая тень после прокрутки */
.site-header { transition: box-shadow 0.4s var(--ease-lux), background-color 0.4s var(--ease-lux); }
.site-header.is-scrolled { box-shadow: 0 6px 28px rgba(27, 27, 28, 0.06); background: rgba(250, 250, 250, 0.985); }

/* Контурные и светлые кнопки: заливка поднимается снизу */
.btn--ghost, .btn--light { position: relative; isolation: isolate; overflow: hidden; }
.btn--ghost::before, .btn--light::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease-lux); }
.btn--ghost::before { background: var(--ink); }
.btn--light::before { background: var(--g-150); }
@media (hover: hover) {
  .btn--ghost:hover { --b-bg: transparent; --b-fg: #fff; }
  .btn--light:hover { --b-bg: #fff; --b-bd: #fff; }
  .btn--ghost:hover::before, .btn--light:hover::before { transform: scaleY(1); transform-origin: top; }
}
.btn { transition-property: background-color, color, border-color, transform, letter-spacing; transition-duration: 0.35s, 0.35s, 0.35s, 0.12s, 0.5s; }

/* Ссылки-подписи: линия уходит вправо и прочерчивается заново */
.link { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%; padding-bottom: 4px; }
@media (hover: hover) { .link:hover { animation: lineSweep 0.75s var(--ease-lux) both; text-decoration: none; } }
@keyframes lineSweep { 0% { background-size: 100% 1px; background-position: 100% 100%; } 45% { background-size: 0 1px; background-position: 100% 100%; } 46% { background-size: 0 1px; background-position: 0 100%; } 100% { background-size: 100% 1px; background-position: 0 100%; } }

/* Частые вопросы: ответ мягко проявляется */
.bfaq details[open] > p { animation: rise 0.6s var(--ease-lux) both; }

@media (prefers-reduced-motion: reduce) {
  .link:hover { animation: none; }
  .btn--ghost::before, .btn--light::before { transition: none; }
}

/* ---------- Типографика: воздух, ритм, длина строки ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--g-600); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--g-300); }
.h-display, .h1, .h2, .h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.h-display { letter-spacing: 0; line-height: 1; }
.h1 { letter-spacing: 0.015em; }
.lead { line-height: 1.65; max-width: 40ch; letter-spacing: 0.003em; }
.hero__copy { gap: 28px; }
.hero__copy .lead { max-width: 36ch; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { max-width: 46ch; line-height: 1.6; }
.why__list li { padding-top: 28px; padding-bottom: 12px; }
.why__list b { letter-spacing: 0.01em; }
.why__list span { max-width: 32ch; }
.about-teaser__copy p, .about__text p { max-width: 54ch; }
.about__text .lead { font-size: var(--step-2); line-height: 1.45; color: var(--ink); max-width: 30ch; margin-bottom: 8px; }
.club__copy p { max-width: 38ch; line-height: 1.6; }
.page-head .lead { margin-top: 4px; }
.ret__list span, .bsteps span { max-width: 44ch; }
.hero__copy > :nth-child(4) { animation-delay: 0.96s; }
@media (max-width: 860px) { .hero__copy > :nth-child(4) { animation-delay: 0.85s; } }
@media (prefers-reduced-motion: reduce) { .hero__copy > :nth-child(4) { animation-delay: 0s !important; } }
.link { width: fit-content; max-width: 100%; }

/* Фото в рамке-заглушке появляется само, когда файл из data-photo загружен на сервер */
.ph-slot.has-photo { border-color: transparent; background: var(--g-150); }
.ph-slot.has-photo > span { visibility: hidden; }

/* «О нас» без фото основателей: текст одной колонкой */
.about--solo { grid-template-columns: minmax(0, 1fr); }
.about--solo .about__text { max-width: 64ch; }

/* Вход в кабинет: два способа и ожидание звонка на наш номер */
.lk-callto { display: block; margin: 6px 0 10px; font-size: 1.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
.lk-callto:hover { text-decoration: underline; text-underline-offset: 4px; }
.lk-wait__status { margin: 0 0 14px; font-size: 0.9375rem; }
.lk-fallback { display: grid; gap: 10px; padding: 14px 16px; margin-bottom: 14px; background: var(--g-50); border: 1px solid var(--line); }
.lk-fallback p { margin: 0; font-size: 0.9375rem; }

/* =================================================================
   Телефоны и встроенные браузеры (Instagram, Telegram, VK, Safari, Chrome, Яндекс Браузер).
   Свойство inset заменено на top/right/bottom/left — его не понимают Safari до 14.1 и старые WebView Android.
   ================================================================= */
/* «Чёлка» и полоска «домой» на iPhone, нижние панели встроенных браузеров */
.toast { bottom: calc(24px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); }
.drawer__foot { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.drawer__body { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.drawer__head { padding-top: calc(14px + env(safe-area-inset-top)); }
.search-panel { padding-top: env(safe-area-inset-top); }
.lb__top { padding-top: calc(12px + env(safe-area-inset-top)); }
.lb__thumbs { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
/* Пока открыта корзина, меню или фото на весь экран — страница под ними не прокручивается (iOS и WebView) */
html.is-locked, html.is-locked body { overflow: hidden; }
/* Касания: без задержки двойного нажатия и без «прилипшей» подсветки */
a, button, label, summary, input, select, textarea, [role="button"] { touch-action: manipulation; }
/* Плашка для встроенных браузеров (Instagram, Telegram и т. п.) на оформлении заказа */
.inapp { display: grid; gap: 10px; margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; font-size: 0.9375rem; line-height: 1.45; }
.inapp[hidden] { display: none; }
.inapp__row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.inapp__how { color: var(--g-700); font-size: 0.875rem; }
.inapp__how[hidden] { display: none; }
.inapp input { width: 100%; font-size: 16px; padding: 8px 10px; border: 1px solid var(--line); background: var(--paper); }

/* «О нас»: ссылки на условия для покупательниц */
.about__links { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: none; }
.about__links a { display: grid; gap: 6px; height: 100%; padding: 18px 20px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; transition: border-color 0.2s var(--ease); }
.about__links a:hover { border-color: var(--ink); }
.about__links b { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.about__links span { font-size: 0.9375rem; line-height: 1.5; color: var(--g-700); }
@media (max-width: 760px) { .about__links { grid-template-columns: minmax(0, 1fr); } }

/* Телефоны: страница никогда не шире экрана — длинный ряд цветов или таблица не растягивают её вбок */
html, body { overflow-x: clip; } /* clip, а не hidden: hidden ломает «прилипающую» шапку */
