/* ALBAKOV: белый (фон, панели, окна), светло-серые подложки с холодным оттенком, чёрный (текст, главные кнопки)
   и холодный графит (вторичный текст, акценты, линии). Контраст текста по WCAG не ниже 4,8:1.
   Шрифты читаемые и свои (без загрузки с чужих серверов): весь сайт набран Montserrat (переменная насыщенность 300–600). */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../fonts/montserrat-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 600; font-display: swap; src: url('../fonts/montserrat-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #ffffff;          /* белый */
  --bg-rgb: 255, 255, 255; /* тот же фон для полупрозрачных подложек */
  --art-hi: #f9fafb;      /* фон заглушек товаров без фото */
  --art-lo: #e4e7eb;
  --surface: #f3f4f6;     /* светло-серый с холодным оттенком — подложки фото и блоков */
  --surface-2: #e8eaed;
  --paper: #ffffff;       /* белый */
  --line: #e3e6ea;
  --line-strong: #c2c7cd;
  --text: #121417;        /* чёрный */
  --muted: #464b52;       /* холодный графит */
  --dim: #666c74;
  --accent: #2a3036;      /* холодный графит */
  --accent-ink: #ffffff;
  --on-photo: #ffffff;
  --danger: #9e3b30;
  --ok: #3e6847;
  --warn: #7a5c16;
  --serif: 'Montserrat', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sans: 'Montserrat', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display-w: 400;
  --radius: 0;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1440px;
  --header-h: 76px;
  color-scheme: light;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.7; font-weight: 400; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
/* Лёгкое зерно поверх всего сайта — фактура дорогой бумаги */
body::after { content: ""; position: fixed; inset: 0; z-index: 400; pointer-events: none; opacity: .025; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2, h3 { font-weight: var(--display-w); }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.serif { font-family: var(--serif); }
.eyebrow { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 18px; letter-spacing: 0; color: var(--muted); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Кнопки и поля ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 34px; border: 1px solid var(--text); background: var(--text); color: var(--bg);
  font-size: 14px; letter-spacing: .06em; font-weight: 500; border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s, opacity .2s; white-space: nowrap;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--text); background: transparent; color: var(--text); }
.btn.block { width: 100%; }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.link { border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; font-size: 14px; letter-spacing: .03em; transition: border-color .3s, color .3s; }
.link:hover { border-color: var(--accent); color: var(--accent); }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; letter-spacing: .02em; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; background: color-mix(in srgb, var(--surface) 60%, transparent); border: 1px solid var(--line-strong);
  border-radius: var(--radius); outline: none; transition: border-color .2s; font-size: 15px;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.select option { background: var(--surface); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--text); }
.input::placeholder, .textarea::placeholder { color: var(--dim); opacity: 1; }
.input.invalid { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 14px; min-height: 0; }
.form-error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--line-strong); flex: none; margin: 1px 0 0; border-radius: 1px; display: grid; place-content: center; cursor: pointer; }
.check input:checked { background: var(--text); border-color: var(--text); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 1.5px solid var(--bg); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check a { color: var(--text); border-bottom: 1px solid var(--line-strong); }

/* ---------- Шапка ---------- */
.topbar { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: .03em; color: var(--muted); text-align: center; }
.topbar .wrap { padding-block: 10px; }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: background .45s, box-shadow .45s, border-color .45s; }
.header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); gap: 16px; transition: height .35s var(--ease); }
.nav { display: flex; gap: clamp(14px, 1.9vw, 32px); font-size: 14px; letter-spacing: .03em; }
.nav a { color: var(--muted); transition: color .2s; padding-block: 8px; position: relative; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--text); }
.logo { display: inline-flex; align-items: center; justify-content: center; min-width: 0; max-width: 100%; line-height: 1; color: var(--text); justify-self: center; }
/* Логотип: знак + надпись. Размеры от высоты знака (--mh), надпись — 42% от неё */
.brand { --mh: calc(34px * var(--bs, 1)); display: inline-flex; align-items: center; gap: calc(var(--mh) * .4); min-width: 0; max-width: 100%; transition: opacity .2s; }
.brand-mark { height: var(--mh); width: auto; flex: none; }
.brand-word { width: calc(var(--mh) * .42 * var(--r)); height: auto; max-width: 100%; min-width: 0; flex: 0 1 auto; }
.brand.show-word { --mh: calc(30px * var(--bs, 1)); }
.brand.show-word .brand-word { width: calc(var(--mh) * .56 * var(--r)); }
.brand-tm { align-self: flex-start; margin-left: calc(var(--mh) * -.28); font: 400 calc(var(--mh) * .34)/1 var(--sans, -apple-system, 'Segoe UI', sans-serif); letter-spacing: 0; opacity: .85; position: relative; top: -.15em; }
.brand-text { font-family: var(--serif); font-size: calc(var(--mh) * .85); letter-spacing: .32em; padding-left: .32em; font-weight: 500; white-space: nowrap; }
.brand-mob { display: none; --mh: calc(28px * var(--bs, 1)); }
.brand-mob.show-word { --mh: calc(24px * var(--bs, 1)); }
.brand-drawer { --mh: calc(26px * var(--bs, 1)); }
.brand-foot { --mh: calc(44px * var(--bs, 1)); }
.brand-foot.show-word { --mh: calc(38px * var(--bs, 1)); }
a.logo:hover .brand { opacity: .85; }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; position: relative; color: var(--text); border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.2; }
.badge-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.burger { display: none; }
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header .wrap { grid-template-columns: auto 1fr auto; }
  .brand-desk { display: none; }
  .brand-mob { display: inline-flex; }
  .tools .hide-m { display: none; }
}

/* ---------- Выезжающие панели ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 20, 22, .32); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 90; width: min(440px, 100vw); background: var(--paper); box-shadow: 0 0 60px rgba(20, 20, 22, .12);
  display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.7,.2,1);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drawer.right { right: 0; transform: translateX(100%); border-left: 1px solid var(--line); padding-right: env(safe-area-inset-right, 0px); }
.drawer.left { left: 0; transform: translateX(-100%); border-right: 1px solid var(--line); padding-left: env(safe-area-inset-left, 0px); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.mnav { display: grid; padding-block: 12px; }
.mnav a { font-family: var(--serif); font-weight: 400; font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mnav-sub { display: grid; gap: 10px; padding-top: 24px; color: var(--muted); font-size: 14px; }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; pointer-events: none; opacity: 0; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(20, 20, 22, .16); width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: clamp(20px, 4vw, 40px); position: relative; }
.modal-close { position: absolute; top: 10px; right: 10px; }

/* ---------- Главная ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(78vh, 760px); border-bottom: 1px solid var(--line); }
.hero-text { display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding: clamp(32px, 6vw, 88px) var(--gutter); padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); }
.hero h1 { font-family: var(--serif); font-size: clamp(54px, 8.4vw, 136px); line-height: .98; letter-spacing: -.025em; font-weight: 400; white-space: pre-line; }
.hero h1 em { font-style: normal; color: inherit; }
.hero p { max-width: 38ch; color: var(--muted); font-size: 16px; }
.hero-media { position: relative; overflow: hidden; background: var(--surface); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0, transparent 18%); pointer-events: none; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 4/4.4; max-height: 70vh; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 0, transparent 30%); }
  .hero-text { padding-top: 0; margin-top: -90px; position: relative; z-index: 1; padding-bottom: 48px; padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
}
.section { padding-block: clamp(72px, 10vw, 152px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4.5vw, 64px); flex-wrap: wrap; }
.section-head h2 { font-family: var(--serif); font-size: clamp(40px, 5.2vw, 76px); line-height: 1; letter-spacing: -.015em; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 40px 16px; }
.cat { position: relative; display: flex; flex-direction: column; color: var(--text); }
.cat-ph { display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--surface); }
.cat-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.cat:hover .cat-ph img { transform: scale(1.04); }
/* Подпись категории — под фото: название и стрелка */
.cat-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px 0; }
.cat-name { font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: .01em; overflow-wrap: anywhere; }
.cat-go { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.2; color: var(--muted); transition: transform .45s var(--ease), color .3s; }
.cat:hover .cat-go { transform: translateX(5px); color: var(--text); }
/* Телефон: категории — лента, которую листают пальцем */
@media (max-width: 600px) {
  .cats { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 44%; scroll-snap-align: start; }
  .cat-cap { padding-top: 10px; gap: 8px; }
  .cat-name { font-size: 14px; letter-spacing: 0; }
  .cat-go { width: 16px; height: 16px; }
}
.promo-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: clamp(32px, 5vw, 72px); background: linear-gradient(120deg, var(--surface-2), var(--surface) 60%); border-top: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.promo-band h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; }
.promo-band p { color: var(--muted); margin-top: 10px; }
.promo-band .pct { font-family: var(--serif); font-weight: 400; font-size: clamp(72px, 10vw, 150px); line-height: .8; color: var(--accent); font-style: normal; transition: scale .6s var(--ease); animation: spin3d 9s ease-in-out infinite; }
@media (max-width: 700px) { .promo-band { grid-template-columns: 1fr; } }
/* Преимущества: светлые карточки, объёмная иконка с цветным ореолом, лёгкое парение */
.benefits-title { display: grid; gap: 14px; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.benefit {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: auto 1fr; gap: 18px;
  padding: clamp(24px, 2.6vw, 36px); background: var(--surface); border: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s, transform .55s var(--ease), box-shadow .55s var(--ease);
}
.benefit::before {
  content: ""; position: absolute; z-index: -1; left: -14%; top: -22%; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow, var(--line)) 24%, transparent), transparent);
  transition: transform .7s var(--ease);
}
.benefit:hover { background: var(--paper); border-color: var(--line); transform: translateY(-4px); box-shadow: 0 28px 56px -32px rgba(20, 20, 22, .3); }
.benefit:hover::before { transform: scale(1.18); }
.benefit-ico { width: clamp(120px, 11vw, 168px); aspect-ratio: 1; margin: -12px 0 -4px -14px; animation: bnFloat 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -2s); }
.benefit-ico img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.benefit:hover .benefit-ico img { transform: translateY(-4px) rotate(-4deg) scale(1.06); }
@keyframes bnFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.benefit-body { display: grid; gap: 8px; align-content: start; }
.benefit h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.15; letter-spacing: -.01em; }
.benefit p { color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 34ch; }
.benefit.no-ico { grid-template-rows: none; }
/* Бенто: 4 колонки, первая карточка на две — с крупной иконкой сбоку */
.benefits.bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefits.bento .benefit:first-child { grid-column: span 2; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: clamp(12px, 2vw, 28px); background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--glow, var(--surface)) 10%, var(--surface))); }
.benefits.bento .benefit:first-child .benefit-ico { width: clamp(150px, 15vw, 220px); margin: -10px 0 -10px -10px; }
.benefits.bento .benefit:first-child h3 { font-size: clamp(26px, 2.4vw, 36px); }
.benefits.bento .benefit:first-child p { font-size: 16px; max-width: 40ch; }
.benefits.bento .benefit-ico { width: clamp(104px, 8.5vw, 132px); }
.benefits.bento .benefit h3 { font-size: clamp(20px, 1.6vw, 24px); }
.benefits.bento .benefit p { font-size: 14px; }
.benefits.bento .benefit:last-child:not(:first-child) { grid-column: span var(--span-lg, 1); }
.benefit-more { margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; letter-spacing: .02em; color: var(--text); border-bottom: 1px solid var(--line-strong); justify-self: start; padding-bottom: 2px; transition: gap .3s var(--ease), border-color .3s; }
.benefit-more:hover { gap: 10px; border-color: var(--text); }
@media (max-width: 1100px) { .benefits.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .benefits.bento .benefit:last-child:not(:first-child) { grid-column: span var(--span-md, 1); } }
@media (max-width: 600px) {
  .benefits.bento { grid-template-columns: 1fr; }
  .benefits.bento .benefit:last-child:not(:first-child) { grid-column: auto; }
  .benefits.bento .benefit:first-child { grid-column: auto; grid-template-columns: 88px minmax(0, 1fr); }
  .benefits.bento .benefit:first-child .benefit-ico, .benefits.bento .benefit-ico { width: 88px; margin: 0; }
  .benefits.bento .benefit:first-child h3 { font-size: 22px; }
  .benefits.bento .benefit:first-child p { font-size: 14px; }
  .benefits { gap: 10px; }
  .benefit { grid-template-columns: 88px minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: 14px; padding: 14px 18px 14px 10px; }
  .benefit.no-ico { grid-template-columns: minmax(0, 1fr); padding-left: 18px; }
  .benefit::before { left: -18%; top: 50%; width: 46%; translate: 0 -50%; }
  .benefit-ico { width: 88px; margin: 0; }
  .benefit p { font-size: 14px; }
}

/* ---------- Карточки товаров ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 14px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid, .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 8px; } }
.card { display: grid; gap: 18px; min-width: 0; align-content: start; }
.card .ph { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--surface); }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card .ph img.alt { opacity: 0; }
.card:hover .ph img.alt { opacity: 1; }
.card:hover .ph img { transform: scale(1.03); }
.card .meta { display: grid; gap: 5px; padding: 0 12px 0 2px; }
.card .name { font-size: 15px; line-height: 1.4; letter-spacing: .01em; transition: color .3s; }
.card .sub { font-size: 13px; color: var(--dim); }
/* Плашки: Новинка, Скидка, Хит — яркие, цвет задаётся в настройках */
.tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 1; pointer-events: none; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 12px 3px; border-radius: 999px; background: var(--b, var(--text)); color: var(--bi, #fff); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .05em; line-height: 1.2; white-space: nowrap; box-shadow: 0 6px 16px -10px rgba(20, 20, 22, .55); }
.badge-out { background: rgba(255, 255, 255, .9); color: var(--muted); box-shadow: none; }
.badges-row { display: flex; flex-wrap: wrap; gap: 6px; }
.badges-row .badge { min-height: 28px; font-size: 13px; }
@media (max-width: 600px) { .tags { top: 10px; left: 10px; gap: 5px; } .badge { min-height: 23px; padding: 3px 10px 2px; font-size: 11px; } }
.price { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-variant-numeric: tabular-nums; font-size: 15px; letter-spacing: .02em; }
.price s { color: var(--muted); }
.price .now.sale { color: var(--accent); }

/* ---------- Каталог ---------- */
.page-head { padding-block: clamp(44px, 7vw, 104px) clamp(28px, 3.5vw, 48px); display: grid; gap: 16px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(42px, 7.4vw, 112px); line-height: 1; letter-spacing: -.02em; overflow-wrap: anywhere; hyphens: auto; }
.crumbs { font-size: 14px; color: var(--dim); letter-spacing: .03em; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.catalog { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding-bottom: 96px; }
.filters { display: grid; gap: 32px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.filters h4 { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 20px; color: var(--text); margin-bottom: 14px; }
.fl-list { display: grid; gap: 2px; }
.fl-item { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 9px 12px 9px 14px; text-align: left; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.fl-item::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.fl-item em { font-style: normal; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; transition: color .2s; }
@media (hover: hover) { .fl-item:hover { color: var(--text); background: color-mix(in srgb, var(--surface-2) 55%, transparent); } }
.fl-item.on { color: var(--text); background: var(--surface-2); font-weight: 500; }
.fl-item.on::before { transform: scaleY(1); }
.fl-item.on em { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-width: 48px; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); font-size: 14px; letter-spacing: .04em; display: inline-grid; place-items: center; transition: all .25s; border-radius: var(--radius); }
.chip:hover { border-color: var(--text); }
.chip.on { background: var(--surface-2); color: var(--text); border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
/* Фильтр размеров: группы «Буквенный» и «Цифровой» */
.sz-groups { display: grid; gap: 18px; }
.sz-group { display: grid; gap: 10px; }
.sz-label { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--dim); }
.sz-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 6px; }
.sz { position: relative; height: 42px; border: 1px solid var(--line-strong); font-size: 14px; letter-spacing: .04em; color: var(--muted); display: grid; place-items: center; transition: color .25s, border-color .25s, background .25s; }
.sz.wide { grid-column: span 2; }
.sz::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 14px; height: 1px; margin-left: -7px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease, ease); }
.sz.on { color: var(--text); border-color: var(--accent); background: var(--surface-2); }
.sz.on::after { transform: scaleX(1); }
@media (hover: hover) { .sz:not(.on):hover { color: var(--text); border-color: var(--muted); } }
.chip[disabled] { color: var(--dim); border-color: var(--line-strong); border-style: dashed; cursor: not-allowed; opacity: .7; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range .input { min-height: 40px; padding: 8px 10px; font-size: 14px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.toolbar .select { width: auto; min-height: 40px; padding-top: 8px; padding-bottom: 8px; background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px; font-size: 14px; }
.only-m { display: none; }
@media (max-width: 960px) {
  .catalog { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .catalog > .filters { display: none; }
  .only-m { display: inline-flex; }
}
.empty { padding: 72px 0; text-align: center; display: grid; gap: 18px; justify-items: center; color: var(--muted); }
.empty h3 { font-family: var(--serif); font-weight: 400; font-size: 38px; color: var(--text); }

/* ---------- Товар ---------- */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); padding-bottom: 80px; }
.gallery { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; position: sticky; top: calc(var(--header-h) + 16px); }
.thumbs { display: grid; gap: 8px; }
.thumbs button { aspect-ratio: 3/4; overflow: hidden; opacity: .45; transition: opacity .2s; border: 1px solid transparent; }
.thumbs button.on { opacity: 1; border-color: var(--line-strong); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { aspect-ratio: 3/4; overflow: hidden; background: var(--surface); position: relative; }
.main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .18s ease; }
.slides { display: none; }
.pinfo { display: grid; gap: 28px; align-content: start; padding-top: 8px; }
.pinfo h1 { font-family: var(--serif); font-size: clamp(38px, 4.2vw, 62px); line-height: 1.04; letter-spacing: -.015em; }
.pinfo .price { font-size: 19px; }
.promo-note { font-size: 14px; color: var(--accent); }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 12px; }
.opt-head span { font-size: 14px; letter-spacing: .02em; color: var(--muted); }
.stock-note { font-size: 14px; color: var(--muted); min-height: 20px; }
.stock-note.low { color: var(--warn); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); height: 50px; }
.qty button { width: 44px; height: 100%; font-size: 18px; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty span { min-width: 32px; text-align: center; font-variant-numeric: tabular-nums; }
.buy-row { display: flex; gap: 10px; }
.buy-row .btn { flex: 1; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; font-size: 15px; letter-spacing: .02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--muted); line-height: 1; letter-spacing: 0; transition: transform .4s var(--ease, ease); }
.acc details[open] summary::after { transform: rotate(180deg); content: "−"; }
.acc .body { padding-bottom: 20px; color: var(--muted); font-size: 14px; white-space: pre-line; }
@media (max-width: 860px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .buy-row .btn { padding: 0 16px; min-width: 0; }
  .gallery { position: static; grid-template-columns: 1fr; margin-left: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(var(--gutter), env(safe-area-inset-right, 0px))); }
  .thumbs, .main-img { display: none; }
  .slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .slides::-webkit-scrollbar { display: none; }
  .slides img { flex: 0 0 100%; aspect-ratio: 3/4; object-fit: cover; scroll-snap-align: start; max-width: 100%; }
  .dots { display: flex; justify-content: center; gap: 6px; padding-top: 12px; }
  .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
  .dots i.on { background: var(--text); }
  .sticky-buy { position: sticky; bottom: 0; background: var(--bg); padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 5; border-top: 1px solid var(--line); }
}
@media (min-width: 861px) { .dots { display: none; } }

/* ---------- Таблица размеров ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.sizes { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; min-width: 480px; }
table.sizes th, table.sizes td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.sizes th { font-size: 14px; letter-spacing: .02em; color: var(--muted); font-weight: 400; background: var(--surface-2); }
table.sizes td:first-child { font-weight: 600; }
table.sizes tr:last-child td { border-bottom: 0; }
table.sizes tr:hover td { background: var(--surface-2); }
.how-measure { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; margin-top: 28px; }
.how-measure div { border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; color: var(--muted); }
.how-measure b { display: block; color: var(--text); font-weight: 500; margin-bottom: 4px; }

/* ---------- Корзина и оформление ---------- */
.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line .ph { aspect-ratio: 3/4; overflow: hidden; background: var(--surface-2); }
.cart-line .ph img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .info { display: grid; gap: 4px; font-size: 14px; min-width: 0; }
.cart-line .info .sub { font-size: 13px; color: var(--muted); }
.cart-line .info .problem { font-size: 13px; color: var(--danger); }
.cart-line .side { display: grid; gap: 10px; justify-items: end; }
.cart-line .qty { height: 34px; }
.cart-line .qty button { width: 30px; font-size: 15px; }
.remove { font-size: 13px; color: var(--dim); }
.remove:hover { color: var(--danger); }
.sum-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; font-variant-numeric: tabular-nums; }
.sum-row.total { font-size: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.sum-row.disc span:last-child { color: var(--accent); }
.promo-form { display: flex; gap: 8px; }
.promo-form .input { min-height: 44px; min-width: 0; }
#co-code { text-transform: uppercase; }
.promo-form .btn { min-height: 44px; padding: 0 20px; flex: none; }
.promo-msg { font-size: 14px; }
.promo-msg.ok { color: var(--ok); }
.promo-msg.bad { color: var(--danger); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(24px, 5vw, 72px); padding-bottom: 96px; align-items: start; }
.checkout .summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); border: 1px solid var(--line); padding: 28px; display: grid; gap: 14px; }
/* Шаги оформления: карточки с номером, который превращается в галочку */
.co-login { display: flex; gap: 14px; align-items: center; padding: 14px 18px; margin-bottom: 20px; background: var(--surface); }
.co-login p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.co-login b { color: var(--text); font-weight: 500; }
.co-login-ic { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--paper); font-size: 13px; font-weight: 600; }
.csteps { display: grid; gap: 16px; counter-reset: none; }
.cstep { background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; position: relative; transition: border-color .3s; }
.cstep::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--text); transform: scaleY(0); transform-origin: top; transition: transform .45s ease; }
.cstep:focus-within::before { transform: scaleY(1); }
.cstep-head { display: flex; gap: 16px; align-items: center; }
.cstep-head h3 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.1; letter-spacing: -.01em; }
.cstep-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.cstep-n { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 15px; font-weight: 500; transition: background-color .3s, border-color .3s; }
.cstep-n i { font-style: normal; transition: opacity .2s, transform .3s; }
.cstep-n svg { position: absolute; width: 20px; height: 20px; fill: none; stroke: var(--paper); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s ease .1s; }
.cstep:focus-within .cstep-n { border-color: var(--text); }
.cstep.done .cstep-n { background: var(--ok); border-color: var(--ok); }
.cstep.done .cstep-n i { opacity: 0; transform: scale(.4); }
.cstep.done .cstep-n svg { stroke-dashoffset: 0; }
.cstep-body { display: grid; gap: 16px; }
.cstep .field > span { font-size: 13px; }
.cstep .input { height: 50px; }
.co-addr { padding: 18px; background: var(--surface); }
.co-addr[hidden] { display: none; }
.co-addr .input { background: var(--paper); }
.co-comment summary { cursor: pointer; font-size: 14px; color: var(--muted); list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.co-comment summary::-webkit-details-marker { display: none; }
.co-comment summary::before { content: "+"; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 15px; line-height: 1; color: var(--text); transition: transform .25s; }
.co-comment[open] summary::before { transform: rotate(45deg); }
.co-comment summary:hover { color: var(--text); }
.co-comment .textarea { margin-top: 12px; width: 100%; }
.co-secure { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.co-secure[hidden] { display: none; }
.co-secure svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ok); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
@media (max-width: 560px) {
  .cstep { padding: 18px 16px; gap: 18px; }
  .cstep-head h3 { font-size: 22px; }
  .cstep-n { width: 34px; height: 34px; font-size: 14px; }
  .option.ico { grid-template-columns: auto 44px minmax(0, 1fr); padding: 12px 14px; gap: 12px; }
  .option.ico .opt-price { grid-column: 3; justify-self: start; }
  .opt-ic { width: 44px; height: 44px; }
  .co-addr { padding: 14px; }
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.options { display: grid; gap: 8px; }
.option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.option:hover { border-color: var(--line-strong); }
.option.on { border-color: var(--text); box-shadow: 0 0 0 1px var(--text) inset, 0 14px 30px -24px rgba(18, 20, 23, .45); }
.option input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--line-strong); border-radius: 50%; margin: 0; transition: border .15s; }
.option input:checked { border: 6px solid var(--text); }
.option input:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.option b { font-weight: 500; display: block; font-size: 15px; }
.option small { color: var(--muted); font-size: 13px; line-height: 1.45; display: block; margin-top: 2px; }
.option .num { font-size: 14px; }
.option.ico { grid-template-columns: auto 52px minmax(0, 1fr) auto; padding: 14px 18px; }
.opt-ic { width: 52px; height: 52px; display: block; transition: transform .3s ease; }
.option.on .opt-ic { transform: scale(1.06) rotate(-3deg); }
.opt-price { white-space: nowrap; padding: 5px 10px; background: var(--surface); font-size: 13px !important; font-weight: 500; }
.option.on .opt-price { background: var(--text); color: var(--paper); }
.pay-marks { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.pay-marks i { font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; padding: 3px 7px; border: 1px solid var(--line); color: var(--muted); background: var(--paper); }
.opt-ic img { width: 100%; height: 100%; display: block; object-fit: contain; }
@media (max-width: 960px) { .checkout { grid-template-columns: minmax(0, 1fr); } .checkout .summary { position: static; } }
.mini-lines { display: grid; gap: 12px; max-height: 300px; overflow: auto; padding-bottom: 6px; }
.mini-line { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-line img { aspect-ratio: 3/4; object-fit: cover; width: 52px; }
.mini-line .sub { color: var(--muted); font-size: 13px; }

/* ---------- Кабинет ---------- */
.auth { max-width: 460px; margin: 0 auto; padding-bottom: 96px; display: grid; gap: 24px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); gap: 28px; }
.tabs button { padding: 12px 0; font-size: 15px; letter-spacing: .02em; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--text); border-color: var(--text); }
.form { display: grid; gap: 16px; }
.account { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-bottom: 96px; }
.account nav { display: grid; gap: 4px; align-content: start; }
.account nav button { text-align: left; padding: 8px 0; color: var(--muted); font-size: 14px; }
.account nav button.on { color: var(--text); }
.account nav button.on::before { content: "— "; color: var(--accent); }
@media (max-width: 760px) { .account { grid-template-columns: 1fr; gap: 24px; } .account nav { display: flex; gap: 20px; overflow-x: auto; border-bottom: 1px solid var(--line); } .account nav button { white-space: nowrap; } }
.order-card { border: 1px solid var(--line); padding: 22px; display: grid; gap: 14px; }
.order-card + .order-card { margin-top: 12px; }
.order-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.order-top b { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .08em; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status.new::before { background: var(--accent); }
.status.processing::before { background: var(--warn); }
.status.shipped::before { background: #4f6f88; }
.status.done::before, .status.paid::before { background: var(--ok); }
.status.canceled::before { background: var(--danger); }
.thumbs-row { display: flex; gap: 6px; overflow-x: auto; }
.thumbs-row img { width: 54px; aspect-ratio: 3/4; object-fit: cover; flex: none; }

/* ---------- Текстовые страницы ---------- */
.prose { max-width: 66ch; padding-bottom: 112px; font-size: 16px; line-height: 1.8; color: #2a3036; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 38px; color: var(--text); margin: 1.4em 0 .5em; }
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--text); margin: 1.2em 0 .4em; }
.prose ul { padding-left: 1.1em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose a { border-bottom: 1px solid var(--line-strong); }

/* ---------- Подвал ---------- */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg)); margin-top: 0; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-block: clamp(64px, 8vw, 112px) 56px; }
.footer .logo { justify-self: start; justify-content: flex-start; }
.footer h4 { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 20px; color: var(--muted); margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 14px; letter-spacing: .02em; }
.footer ul a { color: #2a3036; }
.footer ul a:hover { color: var(--accent); }
.socials { margin-top: 32px; }
.footer .socials-title { margin-bottom: 16px; }
.drawer .socials-title { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.socials ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.socials a { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .02em; color: var(--text); transition: color .25s; }
.soc-ic { display: inline-grid; width: 28px; height: 28px; flex: none; transition: transform .35s var(--ease); }
.soc-ic svg { width: 100%; height: 100%; display: block; }
.socials a:hover { color: var(--accent); }
.socials a:hover .soc-ic { transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.footer-bottom a:hover { color: var(--text); }
.foot-legal { display: grid; gap: 4px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--muted); font-variant-numeric: tabular-nums; }
.foot-legal span { overflow-wrap: anywhere; }
.foot-legal span:not(.foot-legal-t) { white-space: nowrap; }
@media (max-width: 340px) { .foot-legal span:not(.foot-legal-t) { white-space: normal; } }
.foot-legal-t { margin-bottom: 4px; font-size: 12px; letter-spacing: .04em; color: var(--dim); }
.copyable { user-select: all; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child, .footer-top > :last-child { grid-column: 1 / -1; } }

/* ---------- Уведомления ---------- */
.toast-wrap { position: fixed; z-index: 120; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.toast { background: var(--text); color: var(--paper); padding: 16px 20px; font-size: 14px; box-shadow: 0 18px 50px rgba(20, 20, 22, .22); animation: tin .3s ease; transition: opacity .35s ease, transform .35s ease; position: relative; overflow: hidden; }
.toast.bad { background: var(--danger); color: #fff; }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }
.demo-note { border: 1px dashed var(--line-strong); padding: 14px 16px; font-size: 14px; color: var(--muted); }
.success { max-width: 640px; margin: 0 auto; text-align: center; padding: 72px 0 96px; display: grid; gap: 20px; justify-items: center; }
.success h1 { font-family: var(--serif); font-size: clamp(46px, 6.4vw, 84px); line-height: 1; letter-spacing: -.015em; }
.offline { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 32px 20px; text-align: center; }
.offline img { width: min(220px, 60vw); height: auto; margin-bottom: 18px; }
.offline h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.offline p { color: var(--muted); max-width: 42ch; }
.loader { min-height: 60vh; display: grid; place-items: center; font-family: var(--serif); font-size: 32px; letter-spacing: .3em; color: var(--dim); }


/* ================= Панель управления ================= */
.adm { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); border-bottom: 1px solid var(--line); }
.adm-side { border-right: 1px solid var(--line); background: var(--surface); padding: 28px 0 24px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); height: calc(100vh - var(--header-h)); overflow-y: auto; padding-left: env(safe-area-inset-left, 0px); }
.adm-brand { padding: 0 24px; display: grid; gap: 4px; }
.adm-brand b { font-size: 26px; font-weight: 500; letter-spacing: .12em; }
.adm-side nav { display: grid; }
.adm-side nav a { padding: 9px 24px; font-size: 14px; color: var(--muted); border-left: 2px solid transparent; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.adm-side nav a:hover { color: var(--text); background: var(--surface-2); }
.adm-side nav a.on { color: var(--text); border-left-color: var(--accent); background: var(--surface-2); }
.adm-badge { background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; padding: 1px 7px; border-radius: 10px; }
.adm-side-foot { margin-top: auto; padding: 0 24px; display: flex; justify-content: space-between; font-size: 14px; }
.adm-main { padding: 32px clamp(16px, 3vw, 44px) 80px; min-width: 0; padding-right: max(clamp(16px, 3vw, 44px), env(safe-area-inset-right, 0px)); }
.adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 8px 0 24px; }
.adm-head h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.adm-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.adm-card { background: var(--paper); border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.adm-h3 { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 19px; color: var(--muted); margin-bottom: 4px; }
.adm-two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .adm-two { grid-template-columns: 1fr; } }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 2px; margin-bottom: 20px; }
.adm-stat { background: var(--surface); border: 1px solid var(--line); padding: 18px 20px; display: grid; gap: 10px; transition: border-color .2s; }
.adm-stat:hover { border-color: var(--line-strong); }
.adm-stat b { font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1; }
.adm-list { display: grid; }
.adm-li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.warn { color: var(--warn); } .bad { color: var(--danger); }
.adm-table table.sizes { min-width: 640px; }
.adm-table tr[data-href] { cursor: pointer; }
.adm-table td { vertical-align: middle; }
.adm-thumb { width: 40px; aspect-ratio: 3/4; object-fit: cover; }
.adm-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.adm-filter .chip { height: 34px; font-size: 13px; }
.adm-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; align-items: start; }
@media (max-width: 640px) { .adm-form { grid-template-columns: 1fr; } }
.adm-sub { grid-column: 1 / -1; font-family: var(--serif); font-size: 24px; margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line); margin-bottom: 12px; }
.adm-form > .adm-sub:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.adm-multi { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 10px 0; }
.adm-imgs { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-imgs.busy { opacity: .5; pointer-events: none; }
.adm-img { width: 120px; aspect-ratio: 3/4; position: relative; border: 1px solid var(--line-strong); overflow: hidden; background: var(--surface-2); }
.adm-img img { width: 100%; height: 100%; object-fit: cover; }
.adm-img-tools { position: absolute; top: 4px; right: 4px; display: flex; gap: 4px; }
.adm-img-tools button { width: 26px; height: 26px; background: rgba(0,0,0,.7); color: #fff; font-size: 13px; }
.adm-img-main { position: absolute; left: 0; right: 0; bottom: 0; font-size: 13px; letter-spacing: .04em; background: rgba(0,0,0,.65); color: #fff; padding: 4px 6px; text-align: center; }
.adm-img.add { display: grid; place-items: center; cursor: pointer; border-style: dashed; color: var(--muted); font-size: 14px; text-align: center; padding: 8px; }
.adm-img.add:hover { color: var(--text); border-color: var(--muted); }
.adm-size-rows, .adm-rows-body { display: grid; gap: 8px; margin-bottom: 12px; }
.adm-size-row { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 120px) auto auto; gap: 8px; align-items: center; justify-content: start; }
.adm-size-row .input, .adm-row .input { min-height: 40px; padding: 8px 10px; font-size: 14px; }
.adm-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.adm-row .input { min-width: 0; flex-basis: 120px; }
.adm-row .select { min-height: 40px; padding: 8px 32px 8px 10px; font-size: 14px; min-width: 0; flex-basis: 170px; background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px; }
.adm-row .check { white-space: nowrap; }
.adm-row-tools { display: flex; gap: 2px; }
.adm-row-tools button, .adm-x { width: 32px; height: 32px; color: var(--muted); border: 1px solid var(--line); font-size: 14px; display: inline-grid; place-items: center; }
.adm-row-tools button:hover, .adm-x:hover { color: var(--text); border-color: var(--muted); }
.adm-grid { border-collapse: collapse; }
.adm-grid th, .adm-grid td { padding: 3px; }
.adm-grid .input { min-height: 38px; padding: 6px 8px; font-size: 14px; min-width: 110px; }
.adm-grid th .input { font-weight: 600; color: var(--text); background: var(--surface-2); }
.adm-cell { display: flex; gap: 3px; }
.adm-bar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 16px 0 calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(0deg, var(--bg) 70%, transparent); margin-top: 8px; }
@media (max-width: 640px) { .adm-bar .btn { min-height: 42px; padding: 0 14px; } }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
@media (max-width: 860px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: static; height: auto; padding: 16px 0 0; border-right: 0; border-bottom: 1px solid var(--line); gap: 12px; }
  .adm-side nav { display: flex; overflow-x: auto; scrollbar-width: none; }
  .adm-side nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; padding: 10px 14px; }
  .adm-side nav a.on { border-bottom-color: var(--accent); }
  .adm-brand, .adm-side-foot { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .adm-side-foot { padding-bottom: 12px; }
  .adm-main { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Цвета ---------- */
.color-name { font-weight: 500; color: var(--text); letter-spacing: .04em; text-transform: none; font-size: 14px; }
.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; display: grid; place-items: center; transition: border-color .2s; position: relative; }
.swatch-btn:hover { border-color: var(--line-strong); }
.swatch-btn.on { border-color: var(--text); }
.swatch-btn .sw { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .14); }
.swatch-btn.out .sw { opacity: .4; }
.swatch-btn.out::after { content: ""; position: absolute; width: 34px; height: 1px; background: var(--muted); transform: rotate(-45deg); }
.card-swatches { display: flex; gap: 5px; align-items: center; margin: 2px 0 2px; }
.card-swatches i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .16); }
.card-swatches em { font-style: normal; font-size: 13px; color: var(--dim); }
.color-filter { display: grid; gap: 2px; }
.cf { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--muted); font-size: 14px; text-align: left; transition: color .2s; }
.cf:hover, .cf.on { color: var(--text); }
.cf .sw { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .16); flex: none; }
.cf.on .sw { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--text); }
.adm-colors { grid-column: 1 / -1; display: grid; gap: 12px; }
#colorBlocks { display: grid; gap: 12px; }
.adm-color { border: 1px solid var(--line-strong); padding: 16px; display: grid; gap: 14px; background: var(--bg); }
.adm-color.busy { opacity: .5; pointer-events: none; }
.adm-color-head { display: flex; gap: 10px; align-items: center; }
.adm-color-head .input { min-height: 42px; padding: 8px 12px; flex: 1; min-width: 0; }
.adm-hex { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-strong); flex: none; cursor: pointer; position: relative; }
.adm-hex input { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); border: 0; padding: 0; cursor: pointer; background: none; }
.adm-color .adm-img { width: 96px; }

/* ---------- Сообщить о поступлении ---------- */
.chip.out { color: var(--dim); border-style: dashed; border-color: var(--line-strong); }
.chip.out:hover { color: var(--muted); border-color: var(--muted); }
.chip.out.on { color: var(--text); border-color: var(--text); background: transparent; }
.notify { display: grid; gap: 16px; max-width: 460px; }
.notify h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1.08; }
.notify-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notify-item img { width: 64px; aspect-ratio: 3/4; object-fit: cover; }
.notify-item div { display: grid; gap: 6px; }
.notify-item b { font-weight: 500; }
.notify-item span { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.notify-item .sw { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .16); }
.notify-size { font-size: 14px; color: var(--muted); }
.notify-size b { color: var(--text); font-weight: 500; }
.notify-done { justify-items: start; padding-block: 8px; }
.notify-check { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent); position: relative; }
.notify-check::after { content: ""; position: absolute; left: 15px; top: 12px; width: 12px; height: 7px; border: 1.5px solid var(--accent); border-top: 0; border-right: 0; transform: rotate(-45deg); }

/* ---------- Админка: уведомления о поступлении ---------- */
.adm-steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.adm-steps li { counter-increment: st; background: var(--paper); border: 1px solid var(--line); padding: 16px 18px 16px 54px; position: relative; display: grid; gap: 4px; font-size: 14px; }
.adm-steps li::before { content: counter(st); position: absolute; left: 18px; top: 15px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-size: 13px; display: grid; place-items: center; }
.adm-steps span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .adm-steps { grid-template-columns: 1fr; } }
.adm-stat-sm { font-family: var(--sans) !important; font-size: 15px !important; }
.adm-alert { border: 1px solid var(--warn); color: var(--text); padding: 14px 18px; font-size: 14px; margin-bottom: 20px; background: color-mix(in srgb, var(--warn) 8%, transparent); }
.adm-tabs { margin: 24px 0 20px; overflow-x: auto; }
.tabs a { padding: 12px 0; font-size: 15px; letter-spacing: .02em; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--text); border-color: var(--text); }
.adm-letter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1200px) { .adm-letter { grid-template-columns: 1fr; } }
.adm-letter .adm-form { grid-template-columns: 1fr; }
.adm-ph { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.adm-ph .chip { height: auto; padding: 6px 10px; display: grid; justify-items: start; gap: 1px; font-family: monospace; font-size: 14px; }
.adm-ph .chip small { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.adm-test { margin-top: 8px; }
.adm-preview { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--line); background: var(--surface); }
.adm-preview-head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.adm-preview-subj { font-size: 14px; }
.adm-preview-subj b { font-weight: 500; }
.adm-preview-box { max-height: 76vh; overflow: auto; }
.adm-wait-note { grid-column: 1 / -1; border: 1px solid var(--accent); padding: 14px 16px; font-size: 14px; color: var(--muted); margin-top: 18px; }
.adm-wait-note b { color: var(--text); font-weight: 500; }
.adm-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .16); }
.adm-badge.muted-badge { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); }

/* ---------- Админка: логотип ---------- */
.adm-brand-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .adm-brand-grid { grid-template-columns: 1fr; } }
.adm-logo-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .adm-logo-slots { grid-template-columns: 1fr; } }
.adm-logo-slot { display: grid; gap: 12px; align-content: start; }
.adm-logo-slot.busy { opacity: .5; pointer-events: none; }
.adm-logo-tile { height: 110px; background: var(--bg); border: 1px solid var(--line-strong); display: grid; place-items: center; padding: 16px; font-size: 14px; }
.adm-logo-tile img { max-height: 70px; max-width: 100%; width: auto; }
.adm-logo-opts { display: grid; gap: 10px; }
.adm-logo-slot label.btn { cursor: pointer; }
.adm-logo-preview { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.pv-bar { background: var(--bg); border: 1px solid var(--line-strong); height: 68px; display: grid; align-items: center; gap: 12px; padding: 0 18px; }
.pv-desk .pv-bar { grid-template-columns: 1fr auto 1fr; }
.pv-mob { width: min(390px, 100%); }
.pv-mob .pv-bar { grid-template-columns: auto minmax(0, 1fr) auto; padding: 0 16px; }
.pv-bar > span:nth-child(2) { display: flex; justify-content: center; min-width: 0; }
.pv-nav { font-size: 13px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; overflow: hidden; }
.pv-icons { color: var(--muted); font-size: 14px; letter-spacing: .4em; justify-self: end; }
.pv-mob .pv-icons:first-child { justify-self: start; }
.pv-desk small, .pv-mob small { display: block; margin-top: 6px; font-size: 13px; }
.brand-pv-mob { --mh: calc(28px * var(--bs, 1)); }
.brand-pv-mob.show-word { --mh: calc(24px * var(--bs, 1)); }
input[type="range"] { accent-color: var(--accent); width: 100%; }

/* ---------- Знак бренда: водяной знак в подвале ---------- */
.footer > .wrap { position: relative; z-index: 1; }
.footer-mark { position: absolute; z-index: 0; right: -2%; bottom: -18%; height: 120%; width: auto; max-width: none; opacity: .05; pointer-events: none; }
@media (max-width: 860px) { .footer-mark { height: 260px; bottom: 70px; right: -40px; opacity: .04; } }

/* ---------- Раздел: женщинам / мужчинам ---------- */
.gtabs { display: flex; gap: 22px; }
.gtab { position: relative; font-size: 14px; letter-spacing: .04em; color: var(--muted); padding: 10px 0; transition: color .2s; white-space: nowrap; }
.gtab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.gtab:hover { color: var(--text); }
.gtab.on { color: var(--text); }
.gtab.on::after { transform: scaleX(1); }
.gtabs-head { margin-right: 18px; padding-right: 22px; border-right: 1px solid var(--line-strong); }
.gbar { display: none; }
.gtabs-drawer { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--line); margin: 0 0 4px; }
.gtabs-drawer .gtab { padding: 18px 0 16px; font-size: 15px; text-align: center; }
.gtabs-drawer .gtab::after { bottom: -1px; }
@media (max-width: 960px) {
  .gtabs-head { display: none; }
  .gbar { display: block; border-top: 1px solid var(--line); }
  .gtabs-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .gtabs-bar .gtab { text-align: center; padding: 12px 0 11px; font-size: 14px; }
  .gtabs-bar .gtab::after { bottom: -1px; left: 22%; right: 22%; }
}
.h-sub { font-style: normal; color: var(--muted); font-size: .6em; margin-left: .25em; letter-spacing: 0; }

/* Экран выбора раздела */
.gate { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); animation: gateIn .6s ease both; overflow-x: clip; }
.gate.leaving { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
@keyframes gateIn { from { opacity: 0; } }
.gate-head { display: grid; justify-items: center; gap: 14px; padding: clamp(22px, 4vh, 40px) 16px clamp(18px, 3vh, 28px); }
.brand-gate { --mh: calc(30px * var(--bs, 1)); }
.gate-panels { display: flex; gap: 2px; min-height: 0; padding-inline: max(16px, min(3vw, 40px)); }
.gate-panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--surface); text-align: left; transition: flex-grow .9s cubic-bezier(.2,.7,.2,1); animation: panelIn 1s cubic-bezier(.2,.7,.2,1) both; }
.gate-panel + .gate-panel { animation-delay: .12s; --gr: -14deg; }
@keyframes panelIn { from { opacity: 0; transform: perspective(1400px) rotateY(var(--gr, 14deg)) translateZ(-120px); } }
.gate-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.94); transition: transform 1.6s cubic-bezier(.2,.7,.2,1), filter .6s; }
.gate-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 20, 22, .6) 0%, rgba(20, 20, 22, .16) 30%, rgba(20, 20, 22, 0) 50%); pointer-events: none; }
.gate-copy { position: absolute; z-index: 1; left: clamp(20px, 4vw, 56px); right: 20px; bottom: clamp(22px, 5vh, 56px); display: grid; gap: 12px; justify-items: start; }
.gate-title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 120px); line-height: .95; color: var(--on-photo); letter-spacing: -.02em; }
.gate-text { font-size: 14px; color: rgba(255, 255, 255, .82); }
.gate-go { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; letter-spacing: .05em; color: var(--on-photo); margin-top: 6px; }
.gate-go i { display: block; width: 28px; height: 1px; background: var(--accent); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.gate-foot { text-align: center; padding: clamp(14px, 2.6vh, 24px) 16px clamp(18px, 3vh, 28px); font-size: 14px; color: var(--muted); }
@media (hover: hover) and (min-width: 761px) {
  .gate-panel:hover { flex-grow: 1.35; }
  .gate-panel:hover img { transform: scale(1.04); filter: brightness(1); }
  .gate-panels:hover .gate-panel:not(:hover) img { filter: brightness(.8) saturate(.7); }
  .gate-panel:hover .gate-go i { width: 56px; }
}
.gate-panel:focus-visible { outline: 1px solid var(--accent); outline-offset: -6px; }
@media (max-width: 760px) {
  .gate-panels { flex-direction: column; }
  .gate-title { font-size: clamp(46px, 13vw, 64px); }
  .gate-copy { bottom: 20px; gap: 8px; }
  .gate-text { font-size: 14px; }
}

/* ---------- Слайдер на первом экране ---------- */
/* Слайдер — контейнер: раскладка зависит от его ширины, поэтому так же работает предпросмотр в панели */
.slider { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; container: slider / inline-size; }
.sl-track, .slider-ui { --sg: clamp(16px, 4cqi, 48px); }
.sl-track { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(88vh, 900px); opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease; }
.slide-media { position: relative; overflow: hidden; background: var(--surface); transition: transform 1.4s var(--ease); }
.slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s cubic-bezier(.2,.6,.3,1); }
.slide.is-active .slide-media img { transform: scale(1); }
.slide.layout-split .slide-media { order: 2; }
.slide.layout-split .slide-media img { object-position: 68% center; }
.slide.layout-split .slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0, transparent 20%); pointer-events: none; }
.slide-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 22px; padding-top: clamp(32px, 6cqi, 88px); padding-bottom: clamp(104px, 10cqi, 140px); padding-left: max(var(--sg), env(safe-area-inset-left, 0px)); padding-right: var(--sg); }
.slide-body > * { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.slide.is-active .slide-body > * { opacity: 1; transform: none; }
.slide.is-active .slide-body > :nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide-body > :nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide-body > :nth-child(4) { transition-delay: .24s; }
.slide.is-active .slide-body > :nth-child(5) { transition-delay: .32s; }
.slide.is-active .slide-body > :nth-child(6) { transition-delay: .4s; }
.slide-title { font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 7.4cqi, 128px); line-height: .98; letter-spacing: -.025em; white-space: pre-line; }
.slide-title em { font-style: normal; color: inherit; }
.slide-text { max-width: 38ch; color: var(--muted); font-size: 17px; line-height: 1.7; }
.slide-badge { font-family: var(--serif); font-style: normal; font-weight: 400; color: var(--accent); font-size: clamp(56px, 7cqi, 112px); line-height: .85; }
/* Фото на весь экран, текст поверх слева */
.slide.layout-full { grid-template-columns: minmax(0, 1fr); }
.slide.layout-full .slide-media { position: absolute; inset: 0; }
.slide.layout-full .slide-media img { object-position: 72% center; }
.slide.layout-full .slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--bg-rgb), .95) 0%, rgba(var(--bg-rgb), .72) 34%, rgba(var(--bg-rgb), 0) 68%), linear-gradient(0deg, rgba(var(--bg-rgb), .55), transparent 40%); }
.slide.layout-full .slide-body { max-width: min(760px, 62%); }
/* Промокод */
.slide-code { display: inline-flex; align-items: center; gap: 16px; padding: 12px 18px; border: 1px dashed var(--accent); color: var(--text); transition: background .2s, border-color .2s; }
.slide-code span { font-size: 14px; letter-spacing: .02em; color: var(--muted); }
.slide-code b { font-size: 18px; letter-spacing: .18em; font-weight: 600; }
.slide-code i { font-style: normal; font-size: 13px; color: var(--accent); border-bottom: 1px solid currentColor; }
.slide-code:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.slide-code.copied { border-style: solid; }
/* Кнопки */
.slide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 6px; }
.sbtn { display: inline-flex; align-items: center; gap: 18px; min-height: 58px; font-size: 15px; letter-spacing: .05em; font-weight: 500; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.sbtn-primary { padding: 0 36px; background: var(--text); color: var(--bg); }
.sbtn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.sbtn-line { position: relative; padding: 0 2px; color: var(--text); }
.sbtn-line::before { content: ""; position: absolute; left: 2px; right: 2px; bottom: 15px; height: 1px; background: var(--line-strong); transition: background .3s; }
.sbtn-line:hover { color: var(--accent); }
.sbtn-line:hover::before { background: var(--accent); }
.sbtn-arrow { position: relative; width: 22px; height: 1px; background: currentColor; transition: width .45s cubic-bezier(.2,.7,.2,1); }
.sbtn-arrow::after { content: ""; position: absolute; right: 0; top: -3.5px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.sbtn:hover .sbtn-arrow { width: 34px; }
/* Управление */
.slider-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(26px, 3.2cqi, 44px); display: flex; align-items: center; gap: 22px; padding-left: max(var(--sg), env(safe-area-inset-left, 0px)); padding-right: max(var(--sg), env(safe-area-inset-right, 0px)); pointer-events: none; }
.slider-ui > * { pointer-events: auto; }
.sl-count { font-family: var(--serif); font-size: 18px; font-weight: 400; letter-spacing: .04em; color: var(--muted); }
.sl-count b { color: var(--text); font-weight: 500; }
.sl-dots { display: flex; gap: 8px; }
.sl-dot { width: 46px; height: 24px; display: grid; align-items: center; position: relative; }
.sl-dot::before { content: ""; height: 1px; background: var(--line-strong); }
.sl-dot i { position: absolute; left: 0; top: 50%; height: 1px; width: 0; background: var(--text); }
.sl-dot.on i { width: 100%; }
.slider.autoplay .sl-dot.on i { animation: slFill var(--dur, 7s) linear forwards; }
.slider.paused .sl-dot.on i, .slider.hidden-tab .sl-dot.on i { animation-play-state: paused; }
@keyframes slFill { from { width: 0; } to { width: 100%; } }
.sl-arrows { margin-left: auto; display: flex; gap: 8px; }
.sl-arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text); background: color-mix(in srgb, var(--paper) 70%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .25s, background .25s; }
.sl-arrow:hover { border-color: var(--text); background: color-mix(in srgb, var(--bg) 80%, transparent); }
.sl-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; }
@container slider (max-width: 860px) {
  .slide, .slide.layout-full { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .slide-media, .slide.layout-full .slide-media, .slide.layout-split .slide-media { position: relative; inset: auto; order: -1; aspect-ratio: 4 / 4.2; max-height: 64vh; }
  .slide.layout-split .slide-media::after, .slide.layout-full .slide-media::after { background: linear-gradient(0deg, var(--bg) 0, transparent 34%); }
  .slide.layout-full .slide-media img { object-position: 64% center; }
  .slide-body, .slide.layout-full .slide-body { max-width: none; margin-top: -84px; padding-top: 0; padding-bottom: 84px; padding-right: max(var(--sg), env(safe-area-inset-right, 0px)); gap: 18px; }
  .slide-title { font-size: clamp(46px, 13cqi, 64px); }
  .slide-badge { font-size: 56px; }
  .slide-text { font-size: 15px; }
  .sbtn { min-height: 52px; }
  .sl-arrows { display: none; }
  .slider-ui { bottom: 28px; }
  .sl-dots { flex: 1; }
  .sl-dot { flex: 1; width: auto; }
}

/* Телефон: слайд — один компактный блок в одну строку: текст слева, картинка справа */
@container slider (max-width: 600px) {
  .slide, .slide.layout-full, .slide.layout-split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); min-height: 0; height: clamp(330px, 92cqi, 380px); }
  .slide-media, .slide.layout-full .slide-media, .slide.layout-split .slide-media { position: relative; inset: auto; order: 2; aspect-ratio: auto; max-height: none; }
  .slide-media img, .slide.layout-full .slide-media img, .slide.layout-split .slide-media img { object-position: 62% 38%; }
  .slide.layout-split .slide-media::after, .slide.layout-full .slide-media::after { background: linear-gradient(90deg, var(--bg) 0, transparent 28%); }
  .slide-body, .slide.layout-full .slide-body { max-width: none; justify-content: center; margin-top: 0; padding-top: 20px; padding-bottom: 56px; padding-right: 4px; gap: 10px; }
  .slide .eyebrow { font-size: 11px; letter-spacing: .06em; line-height: 1.35; }
  .slide-title { font-size: clamp(22px, 6.6cqi, 28px); line-height: 1.08; letter-spacing: -.01em; }
  .slide-badge { font-size: clamp(26px, 8cqi, 32px); }
  .slide-text { display: none; }
  .slide-actions { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 4px; }
  .sbtn { min-height: 40px; font-size: 13px; letter-spacing: .03em; gap: 10px; }
  .sbtn-primary { padding: 0 16px; }
  .sbtn-primary .sbtn-arrow { display: none; }
  .sbtn-arrow { width: 16px; }
  .sbtn-line::before { bottom: 9px; }
  .slide-code { padding: 6px 10px; gap: 8px; flex-wrap: wrap; }
  .slide-code span { display: none; }
  .slide-code b { font-size: 13px; letter-spacing: .12em; }
  .slide-code i { font-size: 11px; }
  .slider-ui { bottom: 18px; gap: 14px; }
  .sl-count { font-size: 14px; }
}

/* ---------- Админка: слайдер ---------- */
.adm-tpl { margin-bottom: 16px; }
.adm-tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 8px; }
.adm-tpl-item { border: 1px solid var(--line-strong); padding: 16px; display: grid; gap: 6px; font-size: 14px; transition: border-color .2s, background .2s; }
.adm-tpl-item b { font-size: 15px; font-weight: 500; }
.adm-tpl-item:hover { border-color: var(--accent); background: var(--surface-2); }
.adm-sl-opts { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; margin-bottom: 16px; }
.adm-sl-opts small { font-size: 13px; color: var(--dim); }
.adm-sl-int { width: 200px; }
.adm-sl-int .input { min-height: 40px; }
.adm-sl-list { display: grid; gap: 8px; }
.adm-sl-row { display: grid; grid-template-columns: 28px 150px minmax(0, 1fr) auto auto auto; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: 12px 16px 12px 14px; transition: opacity .2s; }
.adm-sl-row.off .adm-sl-thumb, .adm-sl-row.off .adm-sl-info b { opacity: .45; }
.adm-sl-num { font-size: 13px; color: var(--dim); }
.adm-sl-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.adm-sl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-sl-info { display: grid; gap: 4px; min-width: 0; font-size: 14px; }
.adm-sl-info b { font-size: 16px; font-weight: 500; }
.adm-sl-pills { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin-top: 4px; }
.adm-sl-pills em { font-style: normal; font-size: 13px; color: var(--muted); border: 1px solid var(--line-strong); padding: 2px 8px; }
.adm-sl-acts { display: flex; gap: 6px; }
.adm-switch { position: relative; width: 44px; height: 24px; flex: none; cursor: pointer; }
.adm-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.adm-switch span { position: absolute; inset: 0; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-strong); transition: background .2s, border-color .2s; }
.adm-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .25s, background .2s; }
.adm-switch input:checked + span { background: var(--accent); border-color: var(--accent); }
.adm-switch input:checked + span::after { transform: translateX(20px); background: var(--accent-ink); }
.adm-switch input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1100px) {
  .adm-sl-row { grid-template-columns: 110px minmax(0, 1fr) auto; }
  .adm-sl-num { display: none; }
  .adm-sl-row .adm-row-tools { grid-column: 3; grid-row: 2; justify-self: end; }
  .adm-sl-acts { grid-column: 1 / -1; flex-wrap: wrap; }
}
.adm-sl-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
@media (max-width: 1200px) { .adm-sl-edit { grid-template-columns: 1fr; } }
.adm-sl-preview { position: sticky; top: calc(var(--header-h) + 16px); }
.adm-sl-pvhead { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 10px; }
.adm-sl-pvhead .tabs { border: 0; gap: 18px; }
.adm-sl-pvhead .tabs button { padding: 4px 0; }
.slpv { position: relative; overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg); }
.slpv-stage { position: absolute; top: 0; left: 0; transform-origin: top left; pointer-events: none; }
.slpv-stage.desk .slide { min-height: 640px; }

/* ---------- Плашка промокода ---------- */
.promo-plaque { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line-strong); background: var(--surface-2); margin-top: 4px; }
.promo-plaque b { display: block; font-weight: 500; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.promo-plaque p { font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.promo-plaque .link { font-size: 14px; color: var(--text); }
.pp-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent); position: relative; }
.pp-icon::before { content: ""; position: absolute; left: 16px; top: 9px; width: 1.5px; height: 10px; background: var(--accent); }
.pp-icon::after { content: ""; position: absolute; left: 15px; top: 22px; width: 3.5px; height: 3.5px; border-radius: 50%; background: var(--accent); }
.pp-login { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-strong)); }
.pp-used, .pp-first { border-color: color-mix(in srgb, var(--danger) 45%, var(--line-strong)); }
.pp-used .pp-icon, .pp-first .pp-icon { border-color: var(--danger); }
.pp-used .pp-icon::before, .pp-used .pp-icon::after, .pp-first .pp-icon::before, .pp-first .pp-icon::after { background: var(--danger); }

/* ---------- Раздел закрыт: «скоро появится» ---------- */
.soon { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); }
.soon-media { position: absolute; inset: 0; }
.soon-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; filter: saturate(.75); }
.soon-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--bg-rgb), .96) 0%, rgba(var(--bg-rgb), .76) 40%, rgba(var(--bg-rgb), .15) 80%), linear-gradient(0deg, rgba(var(--bg-rgb), .8), transparent 50%); }
.soon-in { position: relative; z-index: 1; display: grid; justify-items: start; gap: 22px; max-width: 780px; padding-block: clamp(48px, 8vw, 120px); padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); animation: panelIn 1s cubic-bezier(.2,.7,.2,1) both; }
.soon-title { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 112px); line-height: .98; letter-spacing: -.02em; white-space: pre-line; }
.soon-title em { font-style: normal; color: inherit; }
.soon-text { max-width: 44ch; color: var(--muted); font-size: 16px; }
.soon .slide-actions { margin-top: 8px; }
.soon-tag { display: inline-block; margin-left: 6px; font-size: 12px; letter-spacing: .04em; color: var(--accent); vertical-align: super; }
.gate-panel.is-soon img { filter: brightness(.82) saturate(.4); }
.gate-panel.is-soon .gate-go { color: #ffffff; }
@media (max-width: 760px) { .soon { min-height: 72vh; } .soon-media img { object-position: 60% center; } .soon-media::after { background: linear-gradient(0deg, rgba(var(--bg-rgb), .97) 25%, rgba(var(--bg-rgb), .35) 75%); } }

/* ================= Движение и отклик ================= */
/* Смена страницы */
#view.view-in { animation: viewIn .45s ease both; }
@keyframes viewIn { from { opacity: 0; } }
/* Шапка: при прокрутке становится ниже и плотнее */
.header.scrolled { background: color-mix(in srgb, var(--bg) 96%, transparent); box-shadow: 0 10px 30px rgba(20, 20, 22, .07); }
.header.scrolled .wrap { height: 58px; }
/* Кнопка наверх */
.to-top { position: fixed; z-index: 40; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--paper) 85%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); display: grid; place-items: center; animation: fadeUp .4s var(--ease); transition: border-color .2s, transform .3s var(--ease); }
.to-top:hover { border-color: var(--accent); transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
@media (max-width: 860px) { .to-top { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); width: 42px; height: 42px; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.btn.done { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
/* Счётчик корзины */
.badge-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } 60% { transform: scale(.9); } }
/* Карточки: мягкий подъём и быстрое добавление */
.card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 20, 22, .5), transparent 45%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.qa { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.qa-label { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 16px; color: var(--on-photo); }
.qa-label:empty { display: none; }
.qa-sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.qa-size { min-width: 38px; height: 34px; padding: 0 10px; display: inline-grid; place-items: center; font-size: 13px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(20, 20, 22, .14); color: var(--text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.qa-size:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.qa-size.added { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .ph::after { opacity: 1; }
  .card:hover .qa { opacity: 1; transform: none; }
  .card:hover .name { color: var(--accent); }
}
@media (hover: none) { .qa { display: none; } }
/* Категории: подпись со стрелкой */
/* Фото товара: лупа и плавная смена */
.main-img.zoom { cursor: zoom-in; }
.main-img.zoom img { transform: scale(1.9); }
.main-img img.swap { opacity: 0; }
/* Выбранные фильтры */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.active-filters:empty { display: none; }
.af-chip { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 14px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--text); animation: fadeUp .35s var(--ease); transition: border-color .2s, background .2s; }
.af-chip i { position: relative; width: 10px; height: 10px; }
.af-chip i::before, .af-chip i::after { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 10px; background: currentColor; }
.af-chip i::before { transform: rotate(45deg); } .af-chip i::after { transform: rotate(-45deg); }
.af-chip:hover { border-color: var(--accent); background: var(--surface-2); }
.af-clear { font-size: 14px; color: var(--muted); padding: 0 6px; border-bottom: 1px solid var(--line-strong); height: 22px; align-self: center; }
.af-clear:hover { color: var(--text); }
/* Уведомления */
.toast::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: currentColor; opacity: .25; transform-origin: left; animation: toastTime 3.4s linear forwards; }
.toast.out { opacity: 0; transform: translateY(8px); }
@keyframes toastTime { to { transform: scaleX(0); } }
/* Меню на телефоне: пункты выезжают по очереди */
.drawer.open .mnav a { animation: fadeUp .5s var(--ease) both; }
.drawer.open .mnav a:nth-child(2) { animation-delay: .04s; } .drawer.open .mnav a:nth-child(3) { animation-delay: .08s; }
.drawer.open .mnav a:nth-child(4) { animation-delay: .12s; } .drawer.open .mnav a:nth-child(5) { animation-delay: .16s; } .drawer.open .mnav a:nth-child(6) { animation-delay: .2s; }
/* Корзина: строки появляются мягко */
.drawer.open .cart-line { animation: fadeUp .45s var(--ease) both; }
/* Подчёркивание ссылок навигации */
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
/* Модальные окна */
.modal .modal-box { transform: translateY(14px) scale(.985); transition: transform .45s var(--ease); }
.modal.open .modal-box { transform: none; }

/* ================= Объём (3D) ================= */
/* Наклон за курсором: карточки, категории, акция, фото в журнале */
.tilting { will-change: transform; }
.promo-band { position: relative; }
.promo-band.tilting .pct { scale: 1.06; }
@keyframes spin3d { 0%, 100% { transform: perspective(600px) rotateY(-16deg); } 50% { transform: perspective(600px) rotateY(16deg); } }
/* Слайдер: кадр разворачивается в глубину, слой с текстом и фото расходятся за курсором */
.slide:not(.is-active) .slide-media { transform: perspective(1600px) rotateY(-18deg) translateZ(-180px) scale(1.04); }
.slide.is-active .slide-media { transform: perspective(1600px) translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -10px), 0); }
.slide.is-active .slide-body { transform: translate3d(calc(var(--px, 0) * 10px), calc(var(--py, 0) * 6px), 0); transition: transform 1.2s var(--ease); }
.slide.is-active .slide-badge { animation: spin3d 8s 1.1s ease-in-out infinite; }
/* Логотип в подвале медленно поворачивается, при наведении — полный оборот */
.brand-foot .brand-mark { animation: spin3d 10s ease-in-out infinite; }
.logo-foot:hover .brand-mark { animation: flip3d 1.4s var(--ease); }
@keyframes flip3d { from { transform: perspective(600px) rotateY(0); } to { transform: perspective(600px) rotateY(360deg); } }
/* Телефон: объёмное нажатие */
@media (hover: none) {
  .card .ph, .promo-band { transition: transform .35s var(--ease); }
  .card:active .ph, .promo-band:active { transform: perspective(800px) rotateX(5deg) scale(.97); transition-duration: .15s; }
}

/* ================= Первый экран под прозрачной шапкой ================= */
/* Компьютер: на главной со слайдером шапка лежит прямо на фото и становится плотной только при прокрутке.
   На телефоне шапка всегда плотная, а слайд начинается под ней — без полос и просвечивания */
@media (min-width: 961px) {
  .hero-under .header:not(.scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .hero-under .header:not(.scrolled) .gbar { border-top-color: transparent; background: rgba(255, 255, 255, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(20, 20, 22, .06); }
  .hero-under #view > .slider:first-child { margin-top: calc(-1 * var(--hdr-h, 76px)); }
  .slider::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 220px; background: linear-gradient(180deg, rgba(var(--bg-rgb), .78), rgba(var(--bg-rgb), 0)); pointer-events: none; opacity: 0; transition: opacity .6s; }
  .hero-under .slider::before { opacity: 1; }
}

@media (max-width: 760px) { .topbar { font-size: 13px; letter-spacing: .04em; } .topbar .wrap { padding-block: 8px; } }
.checkout.is-empty { grid-template-columns: minmax(0, 1fr); }

/* Читаемость текста поверх фото */
.gate-title, .gate-text, .gate-go, .qa-label { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.card .sub, .crumbs, .footer-bottom, .fl-item em, .sz-label { color: var(--muted); }

/* ---------- Админка: плашки товара ---------- */
.adm-badges { display: grid; gap: 12px; margin: 4px 0 6px; }
.adm-badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); }
.adm-badge-row .badge { box-shadow: none; transition: opacity .2s; }
.adm-badge-row .badge.is-off { opacity: .3; }
.adm-badge-row .input { flex: 1 1 200px; min-height: 42px; padding: 8px 12px; }
.adm-badge-row small { flex-basis: 100%; font-size: 13px; }
.adm-color-input { padding: 4px; height: 50px; cursor: pointer; }

/* ---------- Бонусы: 1 бонус = 1 ₽ ---------- */
/* Знак бонуса — чёрная монета с буквой «Б» */
.b-ic { display: inline-grid; place-items: center; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--text); color: var(--bg); font-family: var(--serif); font-style: normal; font-size: 10.5px; line-height: 1; font-weight: 600; letter-spacing: 0; margin-right: 7px; vertical-align: -3px; }
.b-ic.big { width: 40px; height: 40px; font-size: 20px; margin: 0; }
.card-bonus { display: inline-flex; align-items: center; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.p-bonus { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.p-bonus-n { display: inline-flex; align-items: center; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .p-bonus { grid-template-columns: 1fr; } }
.sum-row.bonus-earn { color: var(--muted); }
.sum-row.bonus-earn span:first-child { display: inline-flex; align-items: center; }
.sum-row.bonus-earn span:last-child { color: var(--text); font-weight: 600; }

/* Оформление: переключатель «Списать бонусы» */
.bonus-use { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .25s, background .25s; }
.bonus-use input { position: absolute; opacity: 0; pointer-events: none; }
.bonus-use.on { border-color: var(--text); background: var(--bg); }
.bonus-use:focus-within { outline: 2px solid var(--text); outline-offset: 2px; }
.bu-switch { width: 40px; height: 24px; border-radius: 12px; background: var(--line-strong); position: relative; transition: background .25s; }
.bu-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.bonus-use.on .bu-switch { background: var(--text); }
.bonus-use.on .bu-switch::after { transform: translateX(16px); }
.bu-text { display: grid; gap: 2px; line-height: 1.35; }
.bu-text b { font-weight: 600; font-size: 15px; }
.bu-text small { color: var(--muted); font-size: 13px; }
.bu-sum { font-size: 15px; font-weight: 600; white-space: nowrap; }
.bonus-guest { display: flex; align-items: center; gap: 4px; margin: 0; padding: 12px 14px; background: var(--bg); font-size: 14px; line-height: 1.45; }
.bonus-paid { margin: 0; border-style: solid; color: var(--text); }

/* Кабинет: бонусный счёт — чёрная карта */
.bonus-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px 48px; align-items: end; margin-bottom: 48px; padding: clamp(24px, 4vw, 40px); background: var(--text); color: var(--bg); position: relative; overflow: hidden; }
.bonus-card::before { content: "Б"; position: absolute; right: -0.08em; bottom: -0.32em; font-family: var(--serif); font-size: clamp(180px, 22vw, 300px); line-height: 1; color: rgba(var(--bg-rgb), .05); pointer-events: none; }
.bonus-card .eyebrow { color: rgba(var(--bg-rgb), .7); }
.bc-main { display: grid; gap: 6px; position: relative; }
.bc-sum { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bc-sum b { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 7vw, 84px); line-height: 1; letter-spacing: -.01em; }
.bc-sum span { font-size: 18px; }
.bc-rub { font-size: 14px; color: rgba(var(--bg-rgb), .72); }
.bc-side { display: grid; gap: 18px; position: relative; }
.bc-side p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(var(--bg-rgb), .85); max-width: 46ch; }
.bc-side p b { color: var(--bg); }
.bc-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.bonus-card .btn { background: var(--bg); color: var(--text); border-color: var(--bg); }
.bonus-card .btn.ghost { background: transparent; color: var(--bg); border-color: rgba(var(--bg-rgb), .45); }
@media (max-width: 760px) { .bonus-card { grid-template-columns: 1fr; margin-bottom: 28px; } }

.bonus-log { display: grid; border-top: 1px solid var(--line); }
.bl-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bl-row > div { display: grid; gap: 2px; min-width: 0; }
.bl-t { display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; }
.bl-row b { font-weight: 500; font-size: 15px; }
.bl-row .muted { font-size: 13px; }
.bl-new { display: inline-block; justify-self: start; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 1px 9px; border-radius: 999px; background: var(--text); color: var(--bg); }
.bl-amt { font-size: 17px; font-weight: 600; white-space: nowrap; }
.bl-amt.minus { color: var(--muted); font-weight: 400; }

/* Уведомление о начислении */
.bonus-notice { position: fixed; z-index: 119; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: min(380px, calc(100vw - 32px)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 18px 16px 18px 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(20, 20, 22, .18); animation: bnIn .6s var(--ease) both; transition: opacity .35s, transform .35s; }
.bonus-notice b { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }
.bonus-notice p { margin: 4px 0 8px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.bonus-notice .link { font-size: 14px; }
.bn-x { width: 30px; height: 30px; display: grid; place-items: center; margin: -6px -4px 0 0; color: var(--muted); }
.bn-x svg { width: 16px; height: 16px; }
.bonus-notice.out { opacity: 0; transform: translateY(10px); }
@keyframes bnIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .bonus-notice { left: 16px; right: 16px; width: auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
/* Точка на значке кабинета — есть новые бонусы */
.acc-link.has-dot::after { content: ""; position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 2px var(--bg); }
.bonus-card .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--text); }
.bonus-card .btn.ghost:hover { background: transparent; border-color: var(--bg); color: var(--bg); }
/* Админка: бонусный счёт покупателя */
.adm-bonus { display: grid; gap: 14px; align-content: start; }
.adm-bonus-sum { font-size: 16px; }
.adm-bonus-sum b { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; margin-right: 6px; }
.adm-bonus-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.adm-bonus-form .input { min-height: 42px; }
@media (max-width: 520px) { .adm-bonus-form .input { grid-column: 1 / -1; } }
.adm-bonus-calc { margin-top: 16px; }
.adm-bonus-calc p { margin: 0; font-size: 15px; line-height: 1.6; }

/* ---------- Главная: бонусная программа — карта клуба ---------- */
/* Слева — правила в три шага по одной линии, справа — бонусная карта в пропорциях настоящей (85,6 × 54 мм) */
.loyal { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding: clamp(36px, 5vw, 80px) clamp(24px, 5vw, 80px); background: var(--surface); }
.loyal-copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.loyal-copy h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.02em; }
.loyal-copy h2 em { font-style: normal; }
.loyal-rate { font-size: 15px; color: var(--muted); }
.loyal-steps { list-style: none; margin: 26px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.loyal-steps li { position: relative; display: grid; gap: 6px; align-content: start; padding: 26px 20px 0 0; border-top: 1px solid var(--line-strong); }
.ls-n { position: absolute; top: -12px; left: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--paper); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 6px var(--surface); }
.loyal-steps b { font-weight: 500; font-size: 16px; letter-spacing: .01em; }
.loyal-steps li > span:last-child { font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 26ch; }
.loyal-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.loyal-note { font-size: 13px; color: var(--muted); }
.loyal-visual { display: grid; place-items: center; min-width: 0; padding-block: 12px; perspective: 1200px; }
.loyal-card {
  --rx: 7deg; --ry: -15deg; --sx: 28%;
  position: relative; isolation: isolate; overflow: hidden; width: min(100%, 440px); aspect-ratio: 85.6 / 54;
  display: grid; grid-template-rows: auto 1fr auto; padding: clamp(18px, 2.2vw, 28px); border-radius: 18px; color: #fff;
  background: radial-gradient(130% 120% at 12% 0%, #4b525d 0%, #272b32 44%, #121417 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 50px 70px -40px rgba(18, 20, 23, .6), 0 18px 30px -18px rgba(18, 20, 23, .35);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 1s var(--ease);
  animation: lcFloat 7s ease-in-out infinite;
}
.loyal-card.live { transition: transform .15s linear; }
/* гильош — тонкая сетка линий, как на настоящих картах */
.loyal-card::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 7px), repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 11px); }
.lc-sheen { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, .17) 45%, rgba(178, 202, 255, .12) 52%, transparent 66%); background-size: 260% 100%; background-position: var(--sx) 0; transition: background-position 1s var(--ease); }
.loyal-card.live .lc-sheen { transition-duration: .15s; }
@keyframes lcFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.lc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lc-mark { height: clamp(22px, 2.2vw, 28px); width: auto; filter: brightness(0) invert(1); opacity: .92; }
.lc-word { font-size: 14px; letter-spacing: .32em; font-weight: 500; }
.lc-label { font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .62); }
.lc-pct { align-self: center; font-family: var(--serif); font-weight: 300; font-size: clamp(64px, 8vw, 112px); line-height: .9; letter-spacing: -.04em; }
.lc-pct span { font-size: .42em; letter-spacing: 0; margin-left: .06em; vertical-align: .95em; color: rgba(255, 255, 255, .7); }
.lc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 13px; }
.lc-holder { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .06em; color: rgba(255, 255, 255, .86); }
.lc-bal { white-space: nowrap; color: rgba(255, 255, 255, .7); }
.lc-bal b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .loyal { grid-template-columns: minmax(0, 1fr); padding: 28px 20px 32px; gap: 8px; }
  .loyal-visual { order: -1; padding: 8px 0 28px; }
  .loyal-card { width: min(100%, 360px); --rx: 8deg; --ry: -8deg; }
  .loyal-steps { grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
  .loyal-steps li { padding: 0 0 22px 30px; border-top: 0; border-left: 1px solid var(--line-strong); margin-left: 11px; }
  .loyal-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
  .ls-n { top: -2px; left: -12px; }
  .loyal-steps li > span:last-child { max-width: none; }
  .loyal-act .btn { width: 100%; }
}

/* ---------- Главная: акция — тёмная карточка с тёплым свечением, отсчётом и товарами (13.39) ---------- */
.deal { --acc: #ff5a3c; --acc2: #ff9a5c; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 5vw, 88px);
  padding: clamp(36px, 5.2vw, 80px); border-radius: clamp(22px, 2.4vw, 34px); background: #0d0e10; color: #f5f5f4; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(13, 14, 16, .55); }
.deal.no-items { grid-template-columns: minmax(0, 1fr); }
.deal-glow { position: absolute; z-index: -1; inset: auto; width: 70%; aspect-ratio: 1; left: -18%; top: -55%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 90, 60, .38), rgba(255, 90, 60, .12) 45%, transparent 72%); filter: blur(20px); animation: dealGlow 14s ease-in-out infinite alternate; }
.deal-glow::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: 120%; top: 95%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 154, 92, .16), transparent 70%); }
@keyframes dealGlow { to { transform: translate(8%, 10%) scale(1.08); } }
.deal-grain { position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.deal-copy { min-width: 0; display: grid; justify-items: start; }
.deal-when { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.deal-when i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(255, 90, 60, .6); animation: dealPulse 2.2s ease-out infinite; }
@keyframes dealPulse { 70% { box-shadow: 0 0 0 9px rgba(255, 90, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 60, 0); } }
.deal-off { font-family: var(--serif); font-weight: 200; font-size: clamp(110px, 13vw, 220px); line-height: .8; letter-spacing: -.06em; margin: clamp(26px, 3vw, 40px) 0 clamp(22px, 2.4vw, 32px) -.05em; white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, .58)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deal-off .do-sign { font-weight: 200; margin-right: .02em; }
.deal-off .do-pct { display: inline-block; font-size: .42em; letter-spacing: 0; margin-left: .06em; vertical-align: .95em; font-weight: 300;
  background: linear-gradient(135deg, var(--acc2), var(--acc)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deal-off.is-money { font-size: clamp(60px, 6.6vw, 108px); letter-spacing: -.04em; }
.deal-copy h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.015em; color: #fff; }
.deal-copy p { margin-top: 12px; max-width: 40ch; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .58); }
.deal-timer { display: flex; align-items: flex-start; gap: 4px; margin-top: clamp(28px, 3vw, 40px); }
.deal-timer.no-d [data-c="d"], .deal-timer.no-d [data-c="d"] + .st-sep { display: none; }
.st-cell { display: grid; justify-items: center; min-width: 66px; padding: 14px 8px 11px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); backdrop-filter: blur(8px); }
.st-cell b { font-weight: 300; font-size: 28px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.st-cell i { margin-top: 8px; font-style: normal; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
.st-sep { align-self: center; margin-top: -14px; padding: 0 2px; font-size: 20px; font-weight: 300; color: rgba(255, 255, 255, .25); }
.btn.deal-btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 8px 8px 8px 26px; background: #fff; border-color: #fff; color: #0d0e10; }
.btn.deal-btn .db-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #0d0e10; color: #fff; transition: transform .5s var(--ease), background .3s; }
.btn.deal-btn:hover { background: #fff; border-color: #fff; color: #0d0e10; }
.btn.deal-btn:hover .db-ic { transform: translateX(4px); background: var(--acc); }
.deal-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.deal.n1 .deal-items { grid-template-columns: minmax(0, 360px); justify-content: center; }
.deal.n2 .deal-items { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
.deal-item { position: relative; display: grid; gap: 0; min-width: 0; padding: 8px; border-radius: 24px; color: #fff; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .6s var(--ease), background .4s, box-shadow .4s; }
.deal-item:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -30px rgba(255, 90, 60, .35); }
.si-ph { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 17px; background: var(--surface); }
.si-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.deal-item:hover .si-ph img { transform: scale(1.05); }
.si-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--acc2), var(--acc)); box-shadow: 0 8px 20px -6px rgba(255, 90, 60, .6); }
.si-meta { display: grid; gap: 6px; padding: 16px 52px 10px 10px; min-width: 0; }
.si-name { font-size: 14px; color: rgba(255, 255, 255, .86); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.si-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 16px; }
.si-price b { font-weight: 500; color: #fff; }
.si-price s { font-size: 13px; color: rgba(255, 255, 255, .38); }
.si-go { position: absolute; right: 16px; bottom: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: background .3s, transform .5s var(--ease), box-shadow .3s; }
.deal-item:hover .si-go { background: #fff; color: #0d0e10; box-shadow: none; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .deal-glow, .deal-when i { animation: none; } }
@media (max-width: 860px) {
  .deal { grid-template-columns: minmax(0, 1fr); padding: 26px 18px 18px; gap: 28px; border-radius: 26px; }
  .deal-glow { width: 140%; left: -50%; top: -40%; }
  .deal-off { font-size: clamp(96px, 30vw, 136px); margin: 22px 0 18px -.04em; }
  .deal-copy h2 { font-size: 26px; }
  .deal-timer { width: 100%; margin-top: 24px; }
  .st-cell { flex: 1; min-width: 0; padding: 12px 4px 10px; border-radius: 14px; }
  .st-cell b { font-size: 24px; }
  .st-sep { display: none; }
  .btn.deal-btn { width: 100%; justify-content: space-between; margin-top: 14px; }
  .deal-items, .deal.n2 .deal-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .deal.n1 .deal-items { grid-template-columns: minmax(0, 1fr); }
  .deal.n3 .deal-items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .deal.n3 .si-go { display: none; } .deal.n3 .si-meta { padding: 10px 6px 6px; } .deal.n3 .deal-item { padding: 5px; border-radius: 18px; } .deal.n3 .si-ph { border-radius: 14px; }
  .deal.n3 .si-badge { top: 6px; left: 6px; padding: 4px 7px; font-size: 10px; }
  .si-name { font-size: 12px; }
  .si-price { font-size: 13px; }
}

/* ---------- Главная: «Ателье» — фото до левого края экрана, текст в своей колонке ---------- */
.atelier-sec { background: var(--bg); isolation: isolate; overflow: hidden; }
.atelier { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.atelier-media { position: relative; margin: 0; margin-left: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)) - max(0px, (100vw - var(--maxw)) / 2)); height: clamp(520px, 86vh, 880px); overflow: hidden; background: var(--surface); }
.atelier-media img { width: 100%; height: 100%; object-fit: cover; }
.atelier-copy { position: relative; display: grid; justify-items: start; min-width: 0; padding-block: clamp(32px, 4vw, 64px); padding-left: clamp(32px, 5vw, 88px); }
.atelier-copy h2 { max-width: 100%; margin: 20px 0 28px; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5vw, 84px); line-height: 1; letter-spacing: -.03em; color: var(--text); text-wrap: balance; overflow-wrap: break-word; }
.atelier-copy p { max-width: 40ch; font-size: 16px; line-height: 1.75; color: var(--muted); white-space: pre-line; }
/* шов: строчка пунктиром, «прошивается» при появлении */
.atelier-seam { display: block; width: min(100%, 280px); height: 2px; margin: 36px 0 24px; background: linear-gradient(90deg, var(--text) 0 7px, transparent 7px 12px) repeat-x; background-size: 12px 1px; background-position: 0 50%; }
.atelier-seam.rv-pre { clip-path: inset(0 100% 0 0); }
.atelier-seam.rv-pre.in { clip-path: inset(0); transition: clip-path 1.6s .5s cubic-bezier(.6, 0, .2, 1); }
@media (max-width: 860px) {
  .atelier { grid-template-columns: minmax(0, 1fr); }
  .atelier-media { margin-right: calc(-1 * max(var(--gutter), env(safe-area-inset-right, 0px))); height: auto; aspect-ratio: 4 / 5; }
  .atelier-copy { padding: 30px 0 0; }
  .atelier-copy h2 { margin: 14px 0 18px; font-size: clamp(38px, 11vw, 52px); }
  .atelier-seam { margin: 26px 0 20px; }
}

/* Montserrat: крупные заголовки — светлое начертание, чтобы шрифт не казался тяжёлым */
.hero h1, .slide-title, .gate-title, .soon-title, .section-head h2, .page-head h1, .pinfo h1, .success h1, .offline h1, .promo-band h3, .promo-band .pct, .loyal-copy h2, .empty h3, .prose h2, .drawer-head h3, .mnav a { font-weight: 300; }
.hero h1, .slide-title, .page-head h1, .section-head h2, .success h1 { letter-spacing: -.02em; }

/* Телефон: спокойные размеры заголовков — крупно, но не во весь экран */
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(34px, 9.6vw, 42px); line-height: 1.04; }
  .gate-title, .soon-title { font-size: clamp(36px, 10vw, 44px); }
  .section-head h2 { font-size: clamp(28px, 7.6vw, 32px); line-height: 1.08; }
  .page-head h1, .success h1 { font-size: clamp(30px, 8.4vw, 36px); line-height: 1.06; }
  .pinfo h1 { font-size: 26px; line-height: 1.12; }
  .promo-band h3 { font-size: 26px; }
  .promo-band .pct { font-size: 64px; }
  .offline h1, .empty h3, .notify h3 { font-size: 26px; }
  .prose h2 { font-size: 24px; } .prose h3 { font-size: 20px; }
  .benefit h3 { font-size: 19px; }
  .drawer-head h3 { font-size: 22px; }
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 24px; }
  .mnav a { font-size: 20px; font-weight: 400; padding: 14px 0; letter-spacing: .01em; }
  .bc-sum b { font-size: 44px; }
}

/* ---------- Приложение: значок на экране «Домой» ---------- */
/* Плашка на главной (только телефон) */
.inst-banner { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; margin-top: 20px; padding: 12px 6px 12px 12px; background: var(--paper); border: 1px solid var(--line); animation: fadeUp .4s var(--ease); }
.inst-banner[hidden] { display: none; }
.inst-banner img { width: 44px; height: 44px; border: 1px solid var(--line); }
.inst-banner-text { display: grid; gap: 2px; min-width: 0; line-height: 1.35; }
.inst-banner-text b { font-size: 14px; font-weight: 600; }
.inst-banner-text span { font-size: 12.5px; color: var(--muted); }
.inst-banner-btn { min-height: 38px; padding: 0 14px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.inst-banner-x { width: 34px; height: 38px; display: grid; place-items: center; color: var(--muted); }
.inst-banner-x svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.4; }
/* Меню на телефоне */
.mnav-app { display: grid; gap: 8px; padding-top: 28px; }
.mnav-app-btn { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: center; text-align: left; padding: 12px 14px; border: 1px solid var(--line-strong); transition: border-color .2s; }
.mnav-app-btn[hidden] { display: none; }
.mnav-app-btn:hover { border-color: var(--text); }
.mnav-app-btn img { width: 36px; height: 36px; border: 1px solid var(--line); }
.mnav-app-btn span:last-child { display: grid; gap: 1px; line-height: 1.35; }
.mnav-app-btn b { font-size: 14px; font-weight: 500; }
.mnav-app-btn small { font-size: 13px; color: var(--muted); }
.inst-btns svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; }
/* Подвал */
.foot-btn { color: #2a3036; font-size: 14px; letter-spacing: .02em; text-align: left; }
.foot-btn:hover { color: var(--accent); }
/* Окно с подсказкой */
.inst { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 460px; margin: 0 auto; padding-top: 8px; }
.inst-logo { width: 72px; height: 72px; border: 1px solid var(--line); }
.inst h3 { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; }
.inst p { font-size: 15px; line-height: 1.6; max-width: 40ch; }
.inst-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; width: 100%; text-align: left; counter-reset: ist; border-top: 1px solid var(--line); }
.inst-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.inst-steps b { font-weight: 600; }
.inst-ic { width: 40px; height: 40px; display: grid; place-items: center; background: var(--surface); }
.inst-ic svg { width: 20px; height: 20px; stroke: var(--text); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.inst-btns { display: grid; gap: 8px; width: 100%; margin-top: 8px; }
.inst-btns .btn { padding: 0 14px; min-width: 0; }

/* ---------- Админка: выбор нескольких товаров ---------- */
.adm-bulk-table .adm-pick-cell { width: 44px; padding-right: 0; }
.adm-pick { display: inline-flex; padding: 6px; margin: -6px; }
.adm-pick input { margin: 0; }
.adm-bulk-table input:indeterminate { background: var(--text); border-color: var(--text); }
.adm-bulk-table input:indeterminate::after { content: ""; width: 8px; height: 1.5px; background: var(--bg); }
.adm-bulk-table tr.picked td { background: var(--surface-2); }
.adm-bulk-bar { gap: 8px 10px; }
.adm-bulk-n { font-size: 14px; font-weight: 500; margin-right: 6px; }
@media (max-width: 640px) { .adm-bulk-bar .btn { flex: 1 1 auto; } .adm-bulk-n { flex-basis: 100%; } }

/* ---------- Главная: хиты продаж ---------- */
/* Телефон: лента карточек, которую листают пальцем */
@media (max-width: 760px) {
  .grid.hits { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px));
    margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .grid.hits::-webkit-scrollbar { display: none; }
  .grid.hits > .card { flex: 0 0 46%; scroll-snap-align: start; position: relative; } /* скрытые подписи внутри карточки не вылезают за ленту */
}

/* ---------- Приложение: «потянуть вниз — обновить» (js/ptr.js) ---------- */
.ptr { position: fixed; left: 50%; top: env(safe-area-inset-top, 0px); z-index: 70; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(20, 20, 22, .12); display: grid; place-items: center; transform: translate(-50%, -48px); opacity: 0; pointer-events: none; }
.ptr.back { transition: transform .25s ease, opacity .25s ease; }
.ptr-ic { display: grid; place-items: center; color: var(--muted); transition: color .15s; }
.ptr-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ptr.ready .ptr-ic, .ptr.busy .ptr-ic { color: var(--text); }
.ptr.busy .ptr-ic { animation: ptrSpin .7s linear infinite; }
@keyframes ptrSpin { to { transform: rotate(360deg); } }

/* ---------- Телефон: без автоувеличения ---------- */
/* iPhone увеличивает страницу, когда открывается поле со шрифтом мельче 16px, — на телефоне все поля 16px.
   Двойное нажатие тоже не увеличивает страницу; увеличение двумя пальцами остаётся */
html { touch-action: manipulation; }
@media (hover: none) and (pointer: coarse) {
  input, select, textarea, .input, .select, .textarea { font-size: 16px !important; }
}

/* ---------- Регистрация: код из письма ---------- */
.auth-note { font-size: 13px; line-height: 1.55; color: var(--muted); text-align: center; }
.auth-note a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.code-step { gap: 22px; }
.code-lead { text-align: center; color: var(--muted); font-size: 15px; line-height: 1.6; }
.code-lead b { color: var(--text); font-weight: 600; white-space: nowrap; }
#codeForm { display: grid; gap: 14px; }
.code-cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.code-cell { width: 100%; min-width: 0; height: 64px; padding: 0; text-align: center; font-family: var(--sans); font-size: 28px !important; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 0; outline: none; caret-color: var(--text); transition: border-color .15s, box-shadow .15s; }
.code-cell:focus { border-color: var(--text); box-shadow: inset 0 -2px 0 var(--text); }
.code-cells.shake { animation: codeShake .4s ease; }
.code-cells.shake .code-cell { border-color: var(--danger); }
@keyframes codeShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.code-more { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.code-more .link[disabled] { color: var(--muted); border-color: transparent; cursor: default; }
@media (max-width: 400px) { .code-cells { gap: 6px; } .code-cell { height: 56px; font-size: 24px !important; } }

/* ---------- Окно «Добро пожаловать» после регистрации ---------- */
.welcome { display: grid; justify-items: center; text-align: center; gap: 12px; max-width: 440px; margin: 0 auto; padding: 8px 0 4px; }
.wl-mark { width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 6px; animation: wlIn .7s var(--ease) both; }
.wl-mark img { width: 34px; height: auto; }
.welcome h3 { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1.1; }
.welcome p { font-size: 15px; line-height: 1.6; max-width: 36ch; }
.wl-perks { display: grid; gap: 10px; width: 100%; margin-top: 10px; }
.wl-perk { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; text-align: left; padding: 16px 18px; border: 1px solid var(--line); background: var(--bg); }
.wl-perk b { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1; }
.wl-perk span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.wl-code { grid-template-columns: 1fr; gap: 8px; justify-items: center; text-align: center; border-style: dashed; border-color: var(--line-strong); }
.wl-copy { display: inline-flex; align-items: baseline; gap: 12px; font-size: 22px; font-weight: 600; letter-spacing: .16em; color: var(--text); }
.wl-copy i { font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.wl-copy.copied i { color: var(--ok); border-color: transparent; }
.wl-code small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.wl-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 12px; }
.wl-btns .btn.block { grid-column: 1 / -1; }
.wl-btns .btn { padding: 0 12px; min-width: 0; }
@keyframes wlIn { from { opacity: 0; transform: scale(.85); } }
@media (max-width: 420px) { .wl-btns { grid-template-columns: 1fr; } }

/* ---------- Сообщение о cookie ---------- */
.cookie-note { position: fixed; z-index: 85; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(400px, calc(100vw - 32px)); display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(20, 20, 22, .14); animation: fadeUp .5s var(--ease) both; transition: opacity .35s, transform .35s; }
.cookie-note p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.cookie-note a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.cookie-note .btn { flex: none; }
.cookie-note.out { opacity: 0; transform: translateY(10px); }

/* ======================================================================
   Личный кабинет: приветствие с бонусной картой, вкладки, заказы со шкалой статуса
   ====================================================================== */
.acc { padding-bottom: clamp(72px, 9vw, 128px); }
.acc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: clamp(28px, 5vw, 80px); padding-block: clamp(40px, 6vw, 88px) clamp(28px, 3.5vw, 48px); }
.acc-hi { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.acc-hi h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 92px); line-height: 1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.acc-since { font-size: 14px; color: var(--muted); }
.acc-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; min-height: 64px; }
.acc-facts a { display: grid; gap: 2px; min-width: 132px; padding: 12px 18px 12px 16px; background: var(--surface); transition: background .3s; }
.acc-facts a:hover { background: var(--surface-2); }
.acc-facts b { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; }
.acc-facts span { font-size: 13px; color: var(--muted); }
.acc-card { display: grid; place-items: center; perspective: 1200px; padding-block: 10px; }
.acc-card .loyal-card { width: 100%; max-width: 420px; }
.lc-sum { font-size: 1em !important; vertical-align: baseline !important; margin: 0 !important; color: #fff !important; }
.acc-tabs { position: sticky; top: calc(var(--hdr-h, var(--header-h)) + env(safe-area-inset-top, 0px)); z-index: 5; display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); margin-bottom: clamp(24px, 3vw, 40px); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.acc-tabs::-webkit-scrollbar { display: none; }
.acc-tabs a { position: relative; flex: none; padding: 16px 0 15px; font-size: 15px; letter-spacing: .02em; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.acc-tabs a:hover { color: var(--text); }
.acc-tabs a.on { color: var(--text); border-color: var(--text); }
.acc-dot { position: absolute; top: 12px; right: -9px; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); }
.acc-out { flex: none; margin-left: auto; padding: 16px 0 15px; font-size: 14px; color: var(--muted); }
.acc-out:hover { color: var(--text); }
.acc-empty { display: grid; gap: 12px; justify-items: start; max-width: 46ch; padding: clamp(28px, 4vw, 48px); background: var(--surface); }
.acc-empty h3 { font-family: var(--serif); font-weight: 300; font-size: 30px; }
.acc-empty p { color: var(--muted); margin-bottom: 8px; }

/* Заказы */
.acc-orders { display: grid; border-top: 1px solid var(--line); }
.acc-order { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.acc-order:hover { background: linear-gradient(90deg, transparent, var(--surface) 12%, var(--surface) 88%, transparent); }
.ao-thumbs { display: flex; align-items: center; }
.ao-thumbs img { width: 56px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface); border: 2px solid var(--bg); flex: none; }
.ao-thumbs img + img { margin-left: -22px; }
.ao-thumbs em { margin-left: 8px; font-style: normal; font-size: 13px; color: var(--muted); }
.ao-main { display: grid; gap: 14px; min-width: 0; }
.ao-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.ao-top b { font-weight: 500; font-size: 16px; }
.ao-top > span { font-size: 14px; color: var(--muted); }
.ao-pay { font-size: 12px !important; padding: 2px 9px; border: 1px solid var(--warn); color: var(--warn) !important; }
.ao-track ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 520px; }
.ao-track li { position: relative; display: grid; gap: 8px; font-size: 12px; color: var(--dim); }
.ao-track li::before { content: ""; position: absolute; top: 5px; left: 12px; right: 0; height: 1px; background: var(--line-strong); }
.ao-track li:last-child::before { display: none; }
.ao-track li.is-done::before { background: var(--text); }
.ao-track i { position: relative; z-index: 1; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); }
.ao-track li.is-done i { background: var(--text); border-color: var(--text); }
.ao-track li.is-now i { border-color: var(--text); box-shadow: inset 0 0 0 2.5px var(--bg), inset 0 0 0 6px var(--text); }
.ao-track li.is-done, .ao-track li.is-now { color: var(--text); }
.ao-track li.is-now span { font-weight: 600; }
.ao-track.is-canceled { font-size: 13px; }
.ao-state { display: inline-flex; align-items: center; gap: 8px; color: var(--danger); }
.ao-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ao-sum { display: grid; gap: 4px; justify-items: end; text-align: right; }
.ao-sum b { font-weight: 500; font-size: 17px; }
.ao-sum span { font-size: 13px; color: var(--muted); }

/* Бонусы */
.acc-bonus { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ab-side { display: grid; gap: 26px; justify-items: start; padding: clamp(24px, 3vw, 40px); background: var(--surface); }
.ab-bal { display: grid; gap: 2px; }
.ab-bal span { font-size: 14px; color: var(--muted); }
.ab-bal b { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 6vw, 84px); line-height: 1; letter-spacing: -.03em; }
.ab-steps { grid-template-columns: minmax(0, 1fr); margin: 0; }
.ab-steps li { padding: 0 0 20px 30px; border-top: 0; border-left: 1px solid var(--line-strong); margin-left: 11px; }
.ab-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.ab-steps .ls-n { top: -2px; left: -12px; }
.ab-card { display: none; }
.ab-log h3 { font-family: var(--serif); font-weight: 300; font-size: 30px; margin-bottom: 14px; }
.ab-log .empty { padding: 0; }

/* Профиль */
.acc-profile { display: grid; gap: clamp(20px, 3vw, 32px); max-width: 760px; }
.acc-profile fieldset { margin: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); display: grid; gap: 14px; min-width: 0; }
.acc-profile legend { float: left; width: 100%; padding: 0; font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1.1; }
.acc-profile legend + p { clear: both; margin: -4px 0 6px; font-size: 14px; color: var(--muted); }
.acc-profile-act { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Поддержка: список обращений и переписка (кабинет и панель) ---------- */
.sup { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.sup-list { display: grid; gap: 14px; align-content: start; min-width: 0; }
.sup-list ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.sup-items { display: grid; border-top: 1px solid var(--line); max-height: 70vh; overflow-y: auto; }
.sup-item { position: relative; display: grid; gap: 4px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; transition: background .2s; min-width: 0; }
.sup-item:hover { background: var(--surface); }
.sup-item.on { background: var(--surface); border-left-color: var(--text); }
.sup-item.unread::after { content: ""; position: absolute; top: 18px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.si-top { display: flex; justify-content: space-between; gap: 10px; padding-right: 14px; }
.si-top b { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.si-top time { flex: none; font-size: 12px; color: var(--dim); }
.si-sub { font-size: 12px; color: var(--muted); }
.si-text { font-size: 13px; line-height: 1.45; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.si-state { justify-self: start; margin-top: 4px; font-size: 11px; letter-spacing: .02em; padding: 2px 8px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.si-state.s-answered { border-color: var(--ok); color: var(--ok); }
.si-state.s-open { border-color: var(--line-strong); color: var(--text); }
.sup-pane { min-width: 0; }
.sup-pick { display: grid; gap: 10px; align-content: center; min-height: 360px; padding: clamp(24px, 4vw, 48px); background: var(--surface); }
.sup-pick h3, .sup-new h3 { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.1; }
.sup-pick p { max-width: 44ch; color: var(--muted); }
.sup-thread { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; border: 1px solid var(--line); height: min(72vh, 720px); min-height: 460px; }
.st-head { display: flex; align-items: center; gap: 14px; padding: 16px clamp(16px, 2.4vw, 24px); border-bottom: 1px solid var(--line); }
.st-head > div { display: grid; gap: 2px; min-width: 0; flex: 1; }
.st-head b { font-weight: 500; font-size: 16px; }
.st-head span { font-size: 13px; color: var(--muted); }
.st-head a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.st-head .si-state { margin: 0; }
.st-back { display: none; font-size: 20px; line-height: 1; padding: 4px 8px 4px 0; }
.st-msgs { display: flex; flex-direction: column; gap: 14px; padding: clamp(16px, 2.4vw, 24px); overflow-y: auto; background: linear-gradient(180deg, var(--surface), var(--bg) 40%); }
.msg { display: grid; gap: 4px; max-width: min(80%, 560px); }
.msg-b { padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); }
.msg p { margin: 0; font-size: 15px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.msg-who { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.msg time { font-size: 11px; color: var(--dim); }
.msg.from-me { align-self: flex-end; justify-items: end; }
.msg.from-me .msg-b { background: var(--text); border-color: var(--text); color: var(--paper); }
.st-send { display: flex; gap: 10px; align-items: flex-end; padding: 14px clamp(16px, 2.4vw, 24px) 6px; border-top: 1px solid var(--line); }
.st-send .textarea { min-height: 52px; max-height: 180px; }
.st-send .btn { flex: none; }
.st-note { padding: 0 clamp(16px, 2.4vw, 24px) 14px; font-size: 12px; color: var(--dim); }
.sup-new { display: grid; gap: 18px; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); max-width: 680px; }
.sup-new .st-back { justify-self: start; }
.sup-topics { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sup-topics legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.sup-topics label { cursor: pointer; }
.sup-topics input { position: absolute; opacity: 0; pointer-events: none; }
.sup-topics span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid var(--line-strong); font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.sup-topics input:checked + span { background: var(--text); border-color: var(--text); color: var(--paper); }
.sup-topics input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 2px; }
@media (max-width: 860px) {
  .sup { grid-template-columns: minmax(0, 1fr); }
  .sup.has-pane .sup-list { display: none; }
  .sup:not(.has-pane) .sup-pane { display: none; }
  .st-back { display: inline-block; }
  .sup-thread { height: calc(100svh - 230px); min-height: 420px; }
  .msg { max-width: 88%; }
}

/* ---------- Вход и регистрация: форма и то, что даёт аккаунт ---------- */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: start; padding-bottom: clamp(64px, 8vw, 112px); }
.auth-main { min-width: 0; }
.auth-wrap .page-head h1 { font-size: clamp(40px, 5.4vw, 88px); hyphens: manual; overflow-wrap: normal; }
.auth-wrap .auth { margin: 0; max-width: 460px; padding-bottom: 0; }
.auth-switch { font-size: 14px; }
.auth-wrap .auth-note { text-align: left; }
.auth-aside { display: grid; gap: 32px; align-content: start; margin-top: clamp(40px, 7vw, 104px); padding: clamp(28px, 4vw, 56px); background: var(--surface); }
.auth-card { display: grid; place-items: center; perspective: 1200px; }
.auth-card .loyal-card { width: 100%; max-width: 400px; }
.auth-perks { list-style: none; margin: 0; padding: 0; display: grid; }
.auth-perks li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line-strong); }
.auth-perks b { font-weight: 500; font-size: 16px; }
.auth-perks span { font-size: 14px; line-height: 1.55; color: var(--muted); }

@media (max-width: 860px) {
  .acc-hero { grid-template-columns: minmax(0, 1fr); padding-top: 28px; gap: 18px; }
  .acc-card { display: none; }
  .acc-focus .acc-hero { display: none; }
  .acc-focus .acc-tabs { margin-top: 12px; }
  .ab-card { display: grid; place-items: center; perspective: 1200px; padding: 4px 0 8px; }
  .ab-card .loyal-card { width: 100%; max-width: 340px; }
  .acc-facts { margin-top: 6px; }
  .acc-facts a { min-width: 0; flex: 1 1 30%; padding: 10px 12px; }
  .acc-facts b { font-size: 24px; }
  .acc-facts span { font-size: 12px; }
  .acc-tabs { gap: 22px; margin-inline: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px))); padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); }
  .acc-order { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "th main" "th sum"; row-gap: 10px; align-items: start; }
  .ao-thumbs { grid-area: th; }
  .ao-thumbs img { width: 48px; }
  .ao-thumbs img + img { display: none; }
  .ao-thumbs em { display: none; }
  .ao-main { grid-area: main; }
  .ao-sum { grid-area: sum; justify-items: start; text-align: left; grid-template-columns: auto auto; align-items: baseline; gap: 10px; }
  .ao-track li span { font-size: 11px; }
  .acc-bonus { grid-template-columns: minmax(0, 1fr); }
  .auth-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .auth-wrap .auth { max-width: none; }
  .auth-aside { margin-top: 0; padding: 24px 20px; gap: 22px; }
  .auth-card .loyal-card { max-width: 320px; }
}
@media (max-width: 560px) { .ao-track li:not(.is-now) span { visibility: hidden; } .ao-track li.is-now span { white-space: nowrap; } .ao-track li:last-child.is-now span { justify-self: end; } }

/* ---------- Кнопка связи ---------- */
.fab { position: fixed; z-index: 45; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: end; gap: 12px; }
.fab-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--paper); box-shadow: 0 14px 30px -12px rgba(18, 20, 23, .55); transition: transform .3s var(--ease), background .3s; }
.fab-btn:hover { transform: translateY(-2px); background: var(--accent); }
.fab-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.fab.open .fab-btn { transform: rotate(-8deg); }
.fab-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--danger); border: 2px solid var(--paper); }
.fab-panel { width: min(320px, calc(100vw - 40px)); padding: 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(18, 20, 23, .4); transform-origin: 100% 100%; animation: fabIn .3s var(--ease); }
@keyframes fabIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.fp-head { display: grid; gap: 2px; padding: 12px 12px 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.fp-head b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.fp-head span { font-size: 13px; color: var(--muted); }
.fp-row { display: flex; align-items: center; gap: 14px; padding: 10px 12px; transition: background .2s; }
.fp-row:hover, .fp-row:focus-visible { background: var(--surface); }
.fp-row b { display: block; font-weight: 500; font-size: 15px; }
.fp-row small { display: block; font-size: 13px; color: var(--muted); }
.fp-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); }
.fp-row:first-of-type .fp-ic { background: var(--text); border-color: var(--text); color: var(--paper); }
.fp-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }
.to-top { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); right: calc(24px + env(safe-area-inset-right, 0px)); }
@media (max-width: 860px) {
  .fab { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .fab-btn { width: 50px; height: 50px; }
  .to-top { bottom: calc(146px + env(safe-area-inset-bottom, 0px)); right: calc(18px + env(safe-area-inset-right, 0px)); }
}

/* ---------- Панель: поддержка ---------- */
.adm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.adm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--muted); }
.adm-chip span { font-size: 12px; color: var(--dim); }
.adm-chip.on { background: var(--text); border-color: var(--text); color: var(--paper); }
.adm-chip.on span { color: rgba(255, 255, 255, .7); }
.adm-sup-grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
.adm-thread { background: var(--paper); }

/* ---------- Панель: фильтр заказов по статусу ---------- */
.ost { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-bottom: 20px; border: 1px solid var(--line); background: var(--paper); }
.ost-i { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px 18px 15px; min-width: 0; transition: background .2s; }
.ost-i + .ost-i { border-left: 1px solid var(--line); }
.ost-i:hover { background: var(--surface); }
.ost-i b { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1; letter-spacing: -.02em; }
.ost-i span { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ost-i i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.ost-i.s-new i { background: var(--accent); }
.ost-i.s-processing i { background: var(--warn); }
.ost-i.s-shipped i { background: #4f6f88; }
.ost-i.s-done i { background: var(--ok); }
.ost-i.s-canceled i { background: var(--danger); }
.ost-i.zero b { color: var(--dim); }
.ost-i.on { background: var(--surface); }
.ost-i.on::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; background: var(--text); }
.ost-i.on span { color: var(--text); font-weight: 500; }
.ost-i.s-new:not(.zero) b { color: var(--text); }
.ost-test { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: -6px 0 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .ost { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ost-i:nth-child(4n+1) { border-left: 0; }
  .ost-i:nth-child(n+5) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .ost { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ost-i:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .ost-i:nth-child(even) { border-left: 1px solid var(--line); }
  .ost-i:nth-child(-n+2) { border-top: 0; }
  .ost-i b { font-size: 26px; }
}

/* ---------- Панель: оплата и доставка ---------- */
.pm { display: grid; gap: 40px; }
.pm-sec { display: grid; gap: 16px; }
.pm-sec-h { display: grid; gap: 4px; }
.pm-sec-h h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.pm-sec-h p { font-size: 14px; color: var(--muted); max-width: 72ch; }
.pm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pm-card { display: grid; gap: 18px; align-content: start; padding: 22px; background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; min-width: 0; }
.pm-card.on { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.pm-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.pm-top-flat { grid-template-columns: minmax(0, 1fr) auto; }
.pm-top b { display: block; font-weight: 500; font-size: 16px; }
.pm-top span { display: block; font-size: 13px; color: var(--muted); }
.pm-ic, .dm-ic { width: 52px; height: 52px; display: block; flex: none; }
.pm-ic img, .dm-ic img { width: 100%; height: 100%; display: block; object-fit: contain; }
.pm-f { display: grid; gap: 6px; min-width: 0; }
.pm-f > span { font-size: 13px; color: var(--muted); }
.pm-f small, .dm-f small { font-size: 12px; color: var(--dim); }
.pm-f small.ok { color: var(--ok); } .pm-f small.warn { color: var(--warn); }
.pm-state { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.pm-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.pm-state.ok i { background: var(--ok); } .pm-state.ok { color: var(--ok); }
.pm-state.warn i { background: var(--warn); } .pm-state.warn { color: var(--warn); }
.pm-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pm-key { display: flex; gap: 8px; }
.pm-key .input { flex: 1; min-width: 0; }
/* переключатель */
.pm-switch, .dm-toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.pm-switch input, .dm-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pm-track { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--line-strong); transition: background .25s; flex: none; }
.pm-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); box-shadow: 0 1px 3px rgba(18, 20, 23, .3); transition: transform .25s var(--ease); }
input:checked + .pm-track { background: var(--text); }
input:checked + .pm-track::after { transform: translateX(18px); }
input:focus-visible + .pm-track { outline: 2px solid var(--accent); outline-offset: 2px; }
/* выбор режима */
.pm-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pm-seg label { cursor: pointer; }
.pm-seg input { position: absolute; opacity: 0; }
.pm-seg span { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line-strong); transition: border-color .2s, background .2s; }
.pm-seg b { font-weight: 500; font-size: 15px; }
.pm-seg small { font-size: 12px; color: var(--muted); }
.pm-seg input:checked + span { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); background: var(--surface); }
.pm-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
/* доставка */
.dm-list { display: grid; gap: 12px; }
.dm { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.dm-body { display: grid; gap: 14px; min-width: 0; }
.dm-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.dm-row-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.dm-f { display: grid; gap: 6px; min-width: 0; }
.dm-f > span { font-size: 13px; color: var(--muted); }
.dm-name .input { font-weight: 500; }
.dm-money { position: relative; display: block; }
.dm-money .input { padding-right: 34px; }
.dm-money i { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font-style: normal; color: var(--muted); pointer-events: none; }
.dm-toggle { min-height: 50px; }
.dm-toggle b { font-weight: 400; font-size: 14px; }
.dm-preview { margin: 0; padding: 10px 14px; background: var(--surface); font-size: 13px; color: var(--muted); }
.dm-preview b { color: var(--text); font-weight: 500; }
.dm-preview span { color: var(--text); }
.dm-tools { display: grid; gap: 4px; align-content: start; }
.dm-tools button { min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.dm-tools button:hover { color: var(--text); border-color: var(--muted); }
.dm-tools button.armed { color: #fff; background: var(--danger); border-color: var(--danger); font-size: 12px; }
.dm-add { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .pm-grid, .pm-two { grid-template-columns: minmax(0, 1fr); }
  .dm { grid-template-columns: minmax(0, 1fr); }
  .dm-ic { display: none; }
  .dm-row, .dm-row-main { grid-template-columns: minmax(0, 1fr); }
  .dm-tools { grid-auto-flow: column; justify-content: end; }
  .pm-key { flex-direction: column; }
}

/* ---------- Трек-номер ---------- */
.trk { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 20px 24px; border: 1px solid var(--text); text-align: left; }
.trk-l { display: grid; gap: 4px; }
.trk-l span { font-size: 13px; color: var(--muted); }
.trk-l b { font-size: 24px; font-weight: 500; letter-spacing: .08em; }
.trk-a { display: flex; gap: 8px; flex-wrap: wrap; }
.ao-trk { font-size: 12px; color: var(--muted); }
.ao-trk b { color: var(--text); font-weight: 500; letter-spacing: .04em; }
.trk-now { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 12px; padding: 14px 16px; background: var(--surface); }
.trk-now span { font-size: 13px; color: var(--muted); }
.trk-now b { font-size: 18px; font-weight: 500; letter-spacing: .06em; }
.trk-now small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .trk-a { width: 100%; } .trk-a .btn { flex: 1; } }

/* ---------- Возвраты: сразу видно, что это возврат, а не действующий заказ ---------- */
:root { --refund: #b4532a; --refund-bg: #fbf1ea; }
.status.returned::before, .status.refunded::before { background: var(--refund); }
.status.returned, .status.refunded { color: var(--refund); }
.ost-i.s-refund i { background: var(--refund); }
.rf-tag { display: inline-block; margin-left: 8px; padding: 2px 7px; font-size: 11px; letter-spacing: .04em; color: var(--refund); background: var(--refund-bg); white-space: nowrap; vertical-align: 1px; }
.rf-back { color: var(--refund); }
.adm-table tr.row-returned td { background: var(--refund-bg); }
.adm-table tr.row-returned td:first-child { box-shadow: inset 3px 0 0 var(--refund); }
.rf-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 20px; margin: 0 0 18px; border: 1px solid #efd3c2; background: var(--refund-bg); }
.rf-banner.full { border-color: var(--refund); }
.rf-banner-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--refund); color: #fff; font-size: 20px; }
.rf-banner b { display: block; font-weight: 500; font-size: 16px; color: var(--refund); }
.rf-banner span { font-size: 13px; color: var(--muted); }
.rf-banner .rf-banner-sum { font-size: 22px; font-weight: 500; white-space: nowrap; }
.rf-card { display: grid; gap: 16px; }
.rf-sum { display: grid; border: 1px solid var(--line); }
.rf-sum > div { padding: 10px 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rf-sum > div + div { border-top: 1px solid var(--line); }
.rf-sum span { font-size: 13px; color: var(--muted); }
.rf-sum b { font-size: 16px; font-weight: 500; white-space: nowrap; }
.rf-form .btn { white-space: normal; }
.rf-card { min-width: 0; }
.rf-meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 14px; }
.rf-meta dt { color: var(--muted); }
.rf-meta dd { margin: 0; overflow-wrap: anywhere; }
.rf-hist { display: grid; gap: 8px; font-size: 14px; }
.rf-row { display: grid; gap: 4px; padding: 10px 12px; background: var(--refund-bg); }
.rf-row > div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.rf-row small { color: var(--muted); font-size: 12px; }
.rf-row p { margin: 0; font-size: 13px; line-height: 1.5; }
.rf-form { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line-strong); }
.rf-form[hidden] { display: none; }
.rf-hint, .rf-to { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.rf-all { display: flex; justify-content: flex-end; font-size: 13px; }
.rf-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.rf-line:has(input:checked) { border-color: var(--text); }
.rf-line small { display: block; color: var(--muted); font-size: 12px; }
.rf-line.off { grid-template-columns: minmax(0, 1fr) auto; color: var(--dim); cursor: default; }
.rf-line .rf-qty { min-height: 36px; padding: 0 28px 0 10px; width: auto; }
.rf-one { font-size: 13px; }
.rf-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--line); }
.rf-total b { font-size: 22px; font-weight: 500; color: var(--refund); }
.rf-note { margin: 0; font-size: 13px; color: var(--muted); }
.rf-note.ok { color: var(--refund); }
.sum-row.refund-row span { color: var(--refund); }
.ao-track.is-returned .ao-state { color: var(--refund); }
@media (max-width: 560px) { .rf-banner { grid-template-columns: auto minmax(0, 1fr); } .rf-banner-sum { grid-column: 2; } }

/* ---------- Пункт выдачи СДЭК: город с областью и список пунктов ---------- */
.pvz { display: grid; gap: 12px; padding: 18px; background: var(--surface); }
.pvz[hidden] { display: none; }
.pvz.invalid { box-shadow: inset 0 0 0 1px var(--danger); }
.pvz .field > span { font-size: 13px; color: var(--muted); }
.pvz .input { background: var(--paper); }
.pvz-combo { position: relative; margin-top: 6px; }
.pvz-sug { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px 0; list-style: none; background: var(--paper); border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -24px rgba(18, 20, 23, .35); max-height: 320px; overflow: auto; }
.pvz-sug[hidden] { display: none; }
.pvz-sug li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 14px; cursor: pointer; font-size: 14px; }
.pvz-sug li span { color: var(--muted); font-size: 13px; text-align: right; }
.pvz-sug li.on, .pvz-sug li:hover { background: var(--surface); }
.pvz-sug li.none { cursor: default; color: var(--muted); font-size: 13px; }
.pvz-sug li.none:hover { background: none; }
.pvz-hint { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.co-addr .pvz-hint { margin-top: 10px; }
.pvz-hint[hidden] { display: none; }
.pvz-pick { display: grid; gap: 12px; }
.pvz-pick[hidden] { display: none; }
.pvz-cityc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); }
.pvz-cityc > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pvz-cityc b { font-weight: 500; font-size: 15px; }
.pvz-cityc span { font-size: 13px; color: var(--muted); }
.pvz-cityc .link { font-size: 13px; white-space: nowrap; }
.pvz-pin { width: 30px; height: 30px; flex: none; background: url(../img/benefits/pin.webp) center / contain no-repeat; }
.pvz-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pvz-tools b { font-weight: 500; font-size: 14px; }
.pvz-tools .input { width: min(240px, 100%); height: 42px; min-height: 42px; font-size: 14px; }
.pvz-list { display: grid; gap: 6px; max-height: 360px; overflow: auto; padding-right: 2px; overscroll-behavior: contain; }
.pvz-i { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); cursor: pointer; transition: border-color .15s; }
.pvz-i:hover { border-color: var(--line-strong); }
.pvz-i input { appearance: none; width: 16px; height: 16px; border: 1px solid var(--line-strong); border-radius: 50%; margin: 0; }
.pvz-i input:checked { border: 5px solid var(--text); }
.pvz-txt { display: grid; gap: 3px; min-width: 0; }
.pvz-txt b { font-weight: 500; font-size: 14px; }
.pvz-txt small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.pvz-tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.pvz-tags em { font-style: normal; font-size: 11px; padding: 2px 7px; background: var(--surface); color: var(--muted); white-space: nowrap; }
.pvz-chosen { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 16px; background: var(--paper); border: 1px solid var(--text); }
.pvz-chosen > div { display: grid; gap: 3px; }
.pvz-chosen small { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.pvz-chosen b { font-weight: 500; font-size: 15px; }
.pvz-chosen span { font-size: 13px; color: var(--muted); }
.pvz-chosen .pvz-note { font-size: 12.5px; }
.pvz-chosen .link { font-size: 13px; }
.pvz-ok { width: 28px; height: 28px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.pvz-ok svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pvz-load, .pvz-empty { margin: 0; padding: 14px; font-size: 14px; color: var(--muted); background: var(--paper); }
.pvz-load { animation: pvzp 1.2s ease-in-out infinite; }
@keyframes pvzp { 50% { opacity: .5; } }
@media (max-width: 560px) {
  .pvz { padding: 14px; }
  .pvz-i { grid-template-columns: auto minmax(0, 1fr); }
  .pvz-tags { grid-column: 2; justify-content: flex-start; }
  .pvz-chosen { grid-template-columns: auto minmax(0, 1fr); }
  .pvz-chosen .link { grid-column: 2; justify-self: start; }
  .pvz-tools .input { width: 100%; }
}
.dm-pvz { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--surface); cursor: pointer; }
.dm-pvz[hidden] { display: none; }
.dm-pvz input { margin-top: 3px; accent-color: var(--text); width: 16px; height: 16px; }
.dm-pvz b { display: block; font-weight: 500; font-size: 14px; }
.dm-pvz small { font-size: 12.5px; color: var(--muted); }
.pm-key-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pm-key-row small { font-size: 13px; color: var(--muted); }
.pm-key-row small.ok { color: var(--ok); }
.pm-key-row small.warn { color: var(--warn); }
.pvz-chosen .pvz-try { margin-top: 4px; font-size: 12.5px; color: var(--ok); }
.pvz-chosen .pvz-try.no { color: var(--muted); }
/* СДЭК в панели */
.cs-card { display: grid; gap: 16px; margin-top: 12px; }
.cs-now { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); margin-top: 6px; }
.cs-now[hidden], .cs-pick[hidden], #csPoints[hidden] { display: none; }
.cs-now > div { flex: 1; display: grid; gap: 2px; }
.cs-now b { font-weight: 500; }
.cs-now small { font-size: 12.5px; color: var(--muted); }
.cs-pick { display: grid; gap: 8px; margin-top: 6px; }
.cs-pkg { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cs-pkg label { position: relative; }
.cs-pkg .input { width: 72px; padding: 0 28px 0 10px; font-size: 14px; }
.cs-pkg label:first-child .input { width: 96px; margin-right: 6px; }
.cs-order .cs-pkg { gap: 4px; }
.cs-pkg i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12px; color: var(--dim); pointer-events: none; }
.cs-pkg > span { color: var(--dim); }
.cs-sv { display: grid; gap: 8px; }
.cs-sv-h { font-size: 13px; color: var(--muted); }
.cs-sv b { font-weight: 500; }
.cs-order { display: grid; gap: 14px; }
.cs-route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 14px; background: var(--surface); font-size: 13.5px; }
.cs-route > span { color: var(--dim); padding-top: 14px; }
.cs-route div { display: grid; gap: 2px; min-width: 0; }
.cs-route small { font-size: 11.5px; color: var(--muted); }
.cs-route b { font-weight: 500; overflow-wrap: anywhere; }
.cs-num { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cs-num small { display: block; font-size: 12px; color: var(--muted); }
.cs-num b { font-size: 22px; font-weight: 500; letter-spacing: .02em; }
.cs-st { font-size: 12.5px; padding: 5px 10px; background: var(--surface); }
.cs-st.ok { background: #e8f1ea; color: var(--ok); }
.cs-st.bad { background: var(--refund-bg); color: var(--refund); }
.cs-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-acts .btn { flex: 1 1 auto; }
.cs-acts.small { gap: 18px; font-size: 13px; }
.pvz-warn { margin: 0; padding: 10px 14px; font-size: 13px; color: var(--refund); background: var(--refund-bg); }
.cs-cod { margin: 0; padding: 10px 14px; font-size: 13.5px; background: #fdf6e3; }
.cs-cod.ok { background: #e8f1ea; color: var(--ok); }
.cs-cod b { font-weight: 600; }
.opt-price.calc { font-weight: 400 !important; color: var(--muted); background: transparent; border: 1px dashed var(--line-strong); }
.option.on .opt-price.calc { background: transparent; color: var(--muted); }
.pvz-chosen .pvz-deliv { margin-top: 4px; font-size: 13px; color: var(--text); font-weight: 500; }
.dm-auto { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 12px; align-items: start; }
.dm-auto[hidden] { display: none; }
@media (max-width: 700px) { .dm-auto { grid-template-columns: 1fr; } }
.dm-mode { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: center; cursor: default; }
.dm-mode .select { background: var(--paper); }
@media (max-width: 700px) { .dm-mode { grid-template-columns: 1fr; } }
.cs-packs { display: grid; gap: 6px; margin-top: 8px; }
.cs-pack { display: grid; grid-template-columns: minmax(140px, 1fr) auto auto; gap: 10px; align-items: center; }
.cs-pack .cs-pkg .input { width: 84px; }
.cs-pack > .input { min-height: 42px; height: 42px; font-size: 14px; }
.cs-pack .cs-pkg .input { height: 42px; min-height: 42px; }
.cs-pack [data-pk-rm] { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .cs-pack { grid-template-columns: 1fr auto; } .cs-pack .cs-pkg { grid-column: 1 / -1; } }
.pvz-door { display: grid; gap: 6px; }
.pvz-door-note { margin: 0; font-size: 13px; color: var(--muted); }
.pvz-door-note #pvzDeliv { color: var(--text); font-weight: 500; }
.ret-card { display: grid; gap: 12px; }
.ret-row { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); }
.ret-row.here { border-color: var(--warn); background: #fdf6e3; }
.ret-row.done { background: #e8f1ea; border-color: transparent; }
.ret-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.ret-top b { font-size: 17px; font-weight: 500; }
.ret-top span { font-size: 12.5px; color: var(--muted); }
.ret-row p { margin: 0; font-size: 13px; }
.ret-row small { font-size: 12px; color: var(--muted); }
.ret-row .link { justify-self: start; font-size: 12.5px; }
.ret-c .trk-l small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); max-width: 46ch; }
/* Письма в панели */
.ml-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.ml-a { display: grid; gap: 4px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.ml-a span { font-size: 12px; color: var(--muted); }
.ml-a b { font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }
.ml-a small { font-size: 12.5px; color: var(--muted); }
.ml-a small.ok { color: var(--ok); } .ml-a small.warn { color: var(--warn); }
.ml-list { display: grid; gap: 10px; }
.ml-i { display: grid; gap: 10px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); }
.ml-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.ml-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-size: 13px; font-weight: 500; }
.ml-h b { display: block; font-weight: 500; font-size: 15px; }
.ml-h small { font-size: 12.5px; color: var(--muted); }
.ml-to { font-size: 12px; padding: 4px 9px; background: var(--surface); color: var(--muted); white-space: nowrap; }
.ml-subj { font-size: 13.5px; } .ml-subj span { color: var(--muted); margin-right: 8px; font-size: 12px; }
.ml-acts { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.ml-st { font-size: 12.5px; color: var(--muted); } .ml-st.ok { color: var(--ok); } .ml-st.warn { color: var(--warn); }
.ml-prev iframe { width: 100%; min-height: 400px; border: 1px solid var(--line); background: #F3F4F6; display: block; }
@media (max-width: 900px) { .ml-top { grid-template-columns: 1fr; } .ml-h { grid-template-columns: auto minmax(0, 1fr); } .ml-to { grid-column: 2; justify-self: start; } }
.ml-send { display: inline-flex; gap: 8px; align-items: center; }
.ml-send .input { height: 36px; min-height: 36px; width: 230px; font-size: 13px; }

/* ---------- О бренде: герой с монограммой, главы истории, три опоры с объёмными иконками, слово основателя ---------- */
.about { overflow-x: clip; }
.about h1, .about h2 { font-family: var(--serif); font-weight: 300; color: var(--text); }
.ab-rv.rv-pre { opacity: 0; transform: translateY(28px); }
.ab-rv.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * .09s); }

.ab-hero { padding-block: clamp(28px, 4vw, 56px) clamp(48px, 7vw, 104px); }
.ab-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(28px, 4vw, 56px); }
.ab-hero-copy { display: grid; gap: 22px; align-content: center; }
.ab-hero h1 { font-size: clamp(54px, 10.5vw, 168px); line-height: .9; letter-spacing: -.035em; animation: abRise 1.1s var(--ease) both; }
.ab-motto { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: clamp(13px, 1.1vw, 15px); letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.ab-motto span { display: inline-flex; align-items: center; animation: abRise .9s var(--ease) both; animation-delay: calc(.25s + var(--i) * .14s); }
.ab-motto span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; margin: 0 16px; background: linear-gradient(135deg, #e8b84a, #7b61ff); }
.ab-lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.65; color: var(--muted); max-width: 46ch; animation: abRise 1s var(--ease) both; animation-delay: .5s; }
@keyframes abRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.ab-hero-art { display: grid; place-items: center; }
.ab-plate { position: relative; width: min(100%, 520px); aspect-ratio: 1; display: grid; place-items: center; isolation: isolate; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffffff, var(--surface) 62%, var(--surface-2)); box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -60px rgba(18, 20, 23, .35); animation: abRise 1.2s var(--ease) both .15s; }
.ab-plate::before, .ab-plate::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(42px); opacity: .55; animation: abDrift 14s ease-in-out infinite; }
.ab-plate::before { width: 46%; height: 46%; left: 4%; top: 8%; background: #f3c86a; }
.ab-plate::after { width: 42%; height: 42%; right: 2%; bottom: 6%; background: #8f7bff; animation-delay: -7s; }
.ab-plate img { width: 44%; height: auto; position: relative; filter: drop-shadow(0 18px 24px rgba(18, 20, 23, .18)); animation: abFloat 7s ease-in-out infinite; }
.ab-plate-ring { position: absolute; inset: 7%; border-radius: 50%; border: 1px solid rgba(18, 20, 23, .12); }
@keyframes abFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes abDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(14%, 10%) scale(1.15); } }

.ab-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(40px, 6vw, 88px); }
.ab-fact { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 12px; background: var(--surface); font-size: 15px; line-height: 1.4; color: var(--text); }
.ab-fact::before { content: ""; position: absolute; z-index: -1; left: -10%; top: 50%; width: 40%; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow, var(--line)) 30%, transparent), transparent); }
.ab-fact-ico { flex: none; width: 64px; height: 64px; }
.ab-fact-ico img { width: 100%; height: 100%; object-fit: contain; }

.ab-story { border-top: 1px solid var(--line); }
.ab-story-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding-block: clamp(48px, 7vw, 112px); }
.ab-story-head { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.ab-num { font-size: 13px; letter-spacing: .2em; color: var(--dim); display: inline-flex; align-items: center; gap: 12px; }
.ab-num::after { content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, #e8b84a, #7b61ff); }
.ab-story h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -.02em; }
.ab-story-body { display: grid; gap: 1.1em; font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 62ch; }
.ab-story-body p { margin: 0; }
.ab-lede { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.5; color: var(--text) !important; letter-spacing: -.005em; }
.ab-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ab-list li { position: relative; padding-left: 22px; }
.ab-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #e8b84a, #7b61ff); }

.ab-pillars-sec { padding-block: clamp(32px, 5vw, 72px); background: linear-gradient(180deg, var(--bg), var(--surface) 30%, var(--surface) 70%, var(--bg)); }
.ab-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.ab-pillar { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: clamp(26px, 3vw, 44px); background: var(--paper); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.ab-pillar::before { content: ""; position: absolute; z-index: -1; right: -20%; top: -24%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 26%, transparent), transparent); transition: transform .8s var(--ease); }
.ab-pillar:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -48px rgba(18, 20, 23, .4); border-color: color-mix(in srgb, var(--glow) 40%, var(--line)); }
.ab-pillar:hover::before { transform: scale(1.2); }
.ab-pillar-n { position: absolute; top: clamp(22px, 2.6vw, 36px); right: clamp(22px, 2.6vw, 36px); font-size: 13px; letter-spacing: .2em; color: var(--dim); }
.ab-pillar-ico { width: clamp(130px, 12vw, 176px); aspect-ratio: 1; margin: -14px 0 0 -16px; animation: bnFloat 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -2s); }
.ab-pillar-ico img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.ab-pillar:hover .ab-pillar-ico img { transform: rotate(-5deg) scale(1.07); }
.ab-pillar h2 { font-size: clamp(26px, 2.3vw, 38px); overflow-wrap: anywhere; line-height: 1.05; letter-spacing: -.02em; }
.ab-pillar p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin: 0; }

.ab-service { padding-block: clamp(40px, 6vw, 88px) 0; }
.ab-service-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border: 1px solid var(--line); }
.ab-serv { position: relative; isolation: isolate; overflow: hidden; display: flex; gap: 12px; align-items: center; padding: 18px 20px 18px 12px; }
.ab-serv + .ab-serv { border-left: 1px solid var(--line); }
.ab-serv::before { content: ""; position: absolute; z-index: -1; left: -8%; top: 50%; width: 38%; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 24%, transparent), transparent); }
.ab-serv-ico { flex: none; width: 60px; height: 60px; } .ab-serv-ico img { width: 100%; height: 100%; object-fit: contain; }
.ab-serv b { display: block; font-weight: 500; font-size: 15px; color: var(--text); }
.ab-serv small { display: block; font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 3px; }

.ab-founder-sec { padding-block: clamp(40px, 6vw, 88px); }
.ab-founder { position: relative; overflow: hidden; isolation: isolate; display: grid; justify-items: center; text-align: center; gap: 22px; padding: clamp(48px, 8vw, 120px) clamp(24px, 6vw, 96px); background: #121417; color: #fff; }
.ab-founder::before, .ab-founder::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .26; animation: abDrift 16s ease-in-out infinite; }
.ab-founder::before { width: 40%; aspect-ratio: 1; left: -6%; top: -20%; background: #e8b84a; }
.ab-founder::after { width: 44%; aspect-ratio: 1; right: -8%; bottom: -30%; background: #7b61ff; animation-delay: -8s; }
.ab-founder-mark { width: 64px; height: auto; filter: invert(1); opacity: .95; }
.ab-founder-q { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.02em; max-width: 18ch; }
.ab-founder-sign { display: grid; gap: 4px; }
.ab-founder-sign b { font-weight: 500; font-size: 17px; letter-spacing: .02em; }
.ab-founder-sign span { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.ab-founder .btn { margin-top: 10px; background: #fff; color: #121417; border-color: #fff; }
.ab-founder .btn:hover { background: transparent; color: #fff; }
.ab-contacts { padding-block: 0 clamp(56px, 8vw, 120px); }
.ac { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 5vw, 72px); background: linear-gradient(140deg, #f7f8fa, var(--surface) 55%, #eef0f4); border: 1px solid var(--line); }
.ac::before, .ac::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .45; animation: abDrift 15s ease-in-out infinite; pointer-events: none; }
.ac::before { width: 36%; aspect-ratio: 1; left: -8%; bottom: -30%; background: #9be3d9; }
.ac::after { width: 32%; aspect-ratio: 1; right: 6%; top: -26%; background: #b9c8ff; animation-delay: -7s; }
.ac-intro { display: grid; gap: 18px; align-content: center; }
.ac-intro h2 { font-size: clamp(38px, 4.6vw, 72px); line-height: .98; letter-spacing: -.025em; }
.ac-intro p { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.7; max-width: 38ch; margin: 0; }
.ac-hours { display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important; font-size: 14px !important; }
.ac-hours i { width: 8px; height: 8px; border-radius: 50%; background: #1ab248; box-shadow: 0 0 0 0 rgba(26, 178, 72, .5); animation: acPulse 2.4s ease-out infinite; }
@keyframes acPulse { 0% { box-shadow: 0 0 0 0 rgba(26, 178, 72, .45); } 100% { box-shadow: 0 0 0 10px rgba(26, 178, 72, 0); } }
.ac-cards { display: grid; gap: 12px; }
.ac-card { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; background: rgba(255, 255, 255, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 1px 0 var(--line), 0 24px 48px -36px rgba(18, 20, 23, .35); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ac-card::before { content: ""; position: absolute; z-index: -1; left: -6%; top: 50%; width: 30%; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 30%, transparent), transparent); transition: transform .7s var(--ease); }
.ac-card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 36px 64px -36px rgba(18, 20, 23, .45); }
.ac-card:hover::before { transform: scale(1.25); }
.ac-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); padding: 14px clamp(16px, 2vw, 26px) 14px 12px; }
.ac-ico { flex: none; width: clamp(68px, 6vw, 84px); aspect-ratio: 1; animation: bnFloat 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.6s); }
.ac-ico img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.ac-card:hover .ac-ico img { transform: rotate(-6deg) scale(1.08); }
.ac-text { flex: 1; min-width: 0; display: grid; gap: 4px; }
.ac-text small { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.ac-text b { font-weight: 400; font-size: clamp(17px, 1.5vw, 22px); color: var(--text); letter-spacing: -.005em; overflow-wrap: anywhere; }
.ac-go { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background .35s, border-color .35s, transform .45s var(--ease); }
.ac-go svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.ac-card:hover .ac-go { background: var(--text); border-color: var(--text); transform: translateX(3px); }
.ac-card:hover .ac-go svg { stroke: #fff; }
.ac-copy { flex: none; align-self: stretch; display: grid; place-items: center; gap: 4px; align-content: center; padding: 0 18px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11px; transition: color .3s, background .3s; }
.ac-copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ac-copy i { font-style: normal; letter-spacing: .02em; }
.ac-copy:hover { color: var(--text); background: rgba(255, 255, 255, .7); }
.ac-copy.copied { color: #1a8f43; }
.ac-socials { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px 0; }
.ac-socials > span { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.ac-socials > div { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); font-size: 13px; transition: transform .4s var(--ease), border-color .3s; }
.ac-socials a:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.ac-socials b { font-weight: 400; }
.ac-socials .soc-ic { width: 26px; height: 26px; display: block; } .ac-socials .soc-ic svg { width: 100%; height: 100%; display: block; }
@media (max-width: 900px) { .ac { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .ac { padding: 26px 14px 16px; margin-inline: calc(var(--gutter) * -1 + 8px); }
  .ac-intro { padding-inline: 4px; }
  .ac-link { padding: 10px 12px 10px 6px; gap: 10px; }
  .ac-ico { width: 60px; }
  .ac-go { width: 34px; height: 34px; }
  .ac-copy { padding: 0 12px; } .ac-copy i { display: none; }
  .ac-text b { font-size: 15.5px; overflow-wrap: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ac-card:has(.ac-copy) .ac-go { display: none; }
}

@media (max-width: 900px) {
  .ab-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-hero-art { order: -1; }
  .ab-plate { width: min(72vw, 340px); }
  .ab-story-in { grid-template-columns: 1fr; }
  .ab-story-head { position: static; }
  .ab-serv + .ab-serv { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .ab-hero h1 { font-size: clamp(48px, 15vw, 64px); }
  .ab-motto { letter-spacing: .12em; font-size: 11px; }
  .ab-motto span + span::before { margin: 0 9px; }
  .ab-pillar { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; padding: 18px 18px 22px 12px; }
  .ab-pillar-ico { width: 96px; margin: 0; }
  .ab-pillar h2 { font-size: 21px; align-self: center; min-width: 0; }
  .ab-pillar p, .ab-pillar .ab-list { grid-column: 1 / -1; padding-left: 6px; }
  .ab-pillar-n { display: none; }
  .ab-founder-q { font-size: 30px; }
}

/* Название бренда надписью-логотипом, как в шапке */
.ab-word { line-height: 0; animation: abRise 1.1s var(--ease) both; }
.ab-word img { display: block; width: min(100%, 680px); height: auto; }

/* ---------- Страницы для покупателей: доставка, возврат, уход ---------- */
.ip-title { font-size: clamp(44px, 7vw, 112px) !important; line-height: .95 !important; }
.ip-plate { width: min(100%, 440px); }
.ip-plate::before { background: color-mix(in srgb, var(--glow) 70%, #fff); }
.ip-plate::after { background: #b9c8ff; }
.ip-plate img { width: 62%; filter: drop-shadow(0 24px 30px rgba(18, 20, 23, .16)); }
.ip-sec { border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 96px); }
.ip-sec-head { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); margin-bottom: clamp(24px, 3.4vw, 44px); }
.ip-sec-head > div { display: grid; gap: 10px; }
.ip-sec-head h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1; letter-spacing: -.02em; }
.ip-sec-ico { position: relative; isolation: isolate; flex: none; width: clamp(76px, 7vw, 104px); aspect-ratio: 1; animation: bnFloat 6s ease-in-out infinite; }
.ip-sec-ico::before { content: ""; position: absolute; inset: -10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 28%, transparent), transparent); }
.ip-sec-ico img { width: 100%; height: 100%; object-fit: contain; }
.ip-sec-body { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.ip-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.ip-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); align-items: start;
  padding: clamp(18px, 2vw, 28px) clamp(18px, 2.2vw, 30px) clamp(18px, 2vw, 28px) clamp(10px, 1.2vw, 16px); background: var(--surface); border: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s, transform .55s var(--ease), box-shadow .55s var(--ease); }
.ip-card.no-ico { grid-template-columns: minmax(0, 1fr); padding-left: clamp(18px, 2.2vw, 30px); }
.ip-card::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 24%, transparent), transparent); transition: transform .7s var(--ease); }
.ip-card:hover { background: var(--paper); border-color: var(--line); transform: translateY(-3px); box-shadow: 0 28px 56px -34px rgba(18, 20, 23, .3); }
.ip-card:hover::before { transform: scale(1.2); }
.ip-card-ico { width: clamp(72px, 6.4vw, 92px); aspect-ratio: 1; margin-top: -6px; }
.ip-card-ico img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.ip-card:hover .ip-card-ico img { transform: rotate(-5deg) scale(1.07); }
.ip-card > div { display: grid; gap: 8px; align-content: start; padding-top: 4px; }
.ip-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.2; color: var(--text); }
.ip-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.ip-card b { font-weight: 500; color: var(--text); }
.ip-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(10px, 1.4vw, 16px); counter-reset: none; }
.ip-step { position: relative; display: grid; gap: 16px; align-content: start; padding: clamp(22px, 2.4vw, 32px); background: var(--paper); border: 1px solid var(--line); }
.ip-step-n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, #2a3036, #121417); box-shadow: 0 12px 24px -12px rgba(18, 20, 23, .6); }
.ip-step:nth-child(2) .ip-step-n { background: linear-gradient(135deg, #8f7bff, #5b46e8); }
.ip-step:nth-child(3) .ip-step-n { background: linear-gradient(135deg, #22c46a, #149a50); }
.ip-step:nth-child(4) .ip-step-n { background: linear-gradient(135deg, #f3c86a, #d99a2b); }
.ip-step:not(:last-child)::after { content: ""; position: absolute; top: calc(clamp(22px, 2.4vw, 32px) + 26px); left: calc(clamp(22px, 2.4vw, 32px) + 64px); right: clamp(22px, 2.4vw, 32px); height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.ip-step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.ip-p { margin: 0; max-width: 72ch; color: var(--muted); font-size: 15.5px; line-height: 1.75; padding-left: 18px; border-left: 2px solid; border-image: linear-gradient(180deg, #e8b84a, #7b61ff) 1; }
.info .ab-contacts { padding-top: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .ip-plate { width: min(60vw, 280px); } }
@media (max-width: 600px) {
  .ab-word img { width: 100%; }
  .ip-title { font-size: clamp(34px, 10vw, 44px) !important; }
  .ip-sec-head h2 { font-size: 28px; }
  .ip-sec-ico { width: 68px; }
  .ip-card { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 14px 16px 16px 6px; }
  .ip-card-ico { width: 64px; margin-top: -4px; }
  .ip-card h3 { font-size: 18px; }
  .ip-card p { font-size: 14px; }
  .ip-step { grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 14px; padding: 16px; }
  .ip-step-n { width: 44px; height: 44px; font-size: 17px; }
  .ip-step:not(:last-child)::after { display: none; }
}

/* Слово основателя с фотографией: фото слева, слова справа на графитовом фоне */
.ab-founder.has-photo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 0; text-align: left; justify-items: stretch; align-items: stretch; gap: 0; }
.ab-founder-ph { margin: 0; position: relative; min-height: 100%; overflow: hidden; }
.ab-founder-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.6s var(--ease); }
.ab-founder.has-photo:hover .ab-founder-ph img { transform: scale(1.03); }
.ab-founder-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(18, 20, 23, .55)); pointer-events: none; }
.ab-founder-copy { display: grid; gap: 22px; align-content: center; justify-items: start; padding: clamp(40px, 6vw, 96px) clamp(28px, 5vw, 80px); }
.ab-founder.has-photo .ab-founder-q { max-width: 14ch; }
@media (max-width: 760px) {
  .ab-founder.has-photo { grid-template-columns: minmax(0, 1fr); }
  .ab-founder-ph { aspect-ratio: 4 / 5; min-height: 0; }
  .ab-founder-ph::after { background: linear-gradient(180deg, transparent 65%, #121417); }
  .ab-founder-copy { padding: 8px 24px 36px; }
}

/* Портрет основателя в шапке «О бренде» */
.ab-portrait { position: relative; margin: 0; width: min(100%, 480px); aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; background: var(--surface);
  box-shadow: 0 60px 100px -60px rgba(18, 20, 23, .45); animation: abRise 1.2s var(--ease) both .15s; }
.ab-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1.6s var(--ease); }
.ab-portrait:hover > img { transform: scale(1.03); }
.ab-portrait::before { content: ""; position: absolute; inset: 14px; z-index: 1; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
.ab-portrait figcaption { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ab-portrait-mark { width: 34px; height: auto; flex: none; }
.ab-portrait figcaption span { display: grid; gap: 2px; }
.ab-portrait figcaption b { font-weight: 500; font-size: 15px; color: var(--text); }
.ab-portrait figcaption small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 900px) { .ab-portrait { width: min(100%, 420px); } }
@media (max-width: 600px) { .ab-portrait { width: 100%; aspect-ratio: 4 / 4.6; } }

/* Текст страницы с сервера (для поисковиков) — виден долю секунды, пока не загрузился магазин */
.pre-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 22px var(--gutter); border-bottom: 1px solid var(--line); font-size: 14px; }
.pre-nav a:first-child { font-weight: 600; letter-spacing: .2em; }
.pre { padding-block: 40px 80px; display: grid; gap: 16px; max-width: 900px; }
.pre h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 5vw, 56px); line-height: 1.05; }
.pre h2 { font-weight: 400; font-size: 22px; margin-top: 12px; }
.pre p, .pre li { color: var(--muted); line-height: 1.7; }
.pre img { max-width: 260px; height: auto; display: block; background: var(--surface); }
.pre-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.pre-grid a { display: grid; gap: 6px; } .pre-grid img { max-width: 100%; }

/* ---------- Подбор размера, гарантия размера, обмен и возврат (13.34) ---------- */
.fit-model { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.fit-model b { color: var(--text); font-weight: 500; }
.fit-tools { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 14px; }
.fit-find { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.fit-cmp, .fit-alt, .req-alt { font-size: 14px; color: var(--muted); }
.fit-guar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 16px; background: var(--surface); font-size: 13px; line-height: 1.55; color: var(--muted); }
.fit-guar svg { color: var(--text); }
.fit-guar b { display: block; margin-bottom: 2px; font-size: 14px; font-weight: 500; color: var(--text); }
.fit-modal, .req-modal { display: grid; gap: 18px; }
.fit-modal h3, .req-modal h3 { font-size: 34px; margin-top: -8px; }
.fit-range { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; }
.fit-range > label { font-size: 14px; color: var(--muted); }
.fit-range input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); height: 28px; }
/* Рост и вес цифрами: поле в форме таблетки, единица справа */
.fit-num { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 14px 4px 6px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); transition: border-color .2s; }
.fit-num:focus-within { border-color: var(--text); }
.fit-num i { font-style: normal; font-size: 15px; color: var(--muted); }
.fit-num-in { width: calc(3ch + 14px); box-sizing: content-box; border: 0; background: none; outline: none; padding: 4px 0 4px 6px; font: inherit; font-size: 20px !important; font-weight: 500; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.fit-num-in::-webkit-outer-spin-button, .fit-num-in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fit-pref { display: grid; gap: 8px; }
.fit-pref > span { font-size: 14px; color: var(--muted); }
.fit-pref > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fit-pref .chip { height: auto; min-height: 52px; padding: 6px 8px; font-size: 12px; line-height: 1.3; letter-spacing: 0; text-align: center; }
.fit-res { display: grid; gap: 12px; padding: 18px 20px; background: var(--surface); }
.fit-res > .muted { font-size: 13px; }
.fit-big { display: flex; align-items: baseline; gap: 16px; }
.fit-big b { font-size: 52px; font-weight: 500; line-height: 1; }
.fit-big span { font-size: 14px; line-height: 1.5; }
.fit-meas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.fit-meas div { display: grid; gap: 2px; }
.fit-meas span { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.fit-meas b { font-size: 14px; font-weight: 500; }
.fit-tip { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.fit-out { font-size: 13px; color: var(--warn); }
.fit-scheme { width: 100%; max-width: 280px; height: auto; justify-self: center; color: var(--text); background: var(--surface); padding: 12px; box-sizing: border-box; }
.fit-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fit-cmp-list { display: grid; }
.fit-cmp-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fit-cmp-row span { color: var(--muted); }
.fit-cmp-row.on { margin: 0 -10px; padding: 11px 10px; background: var(--text); color: var(--bg); border-bottom-color: var(--text); }
.fit-cmp-row.on span { color: var(--bg); }
.fit-hint { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 14px 16px; margin-bottom: 14px; border: 1px solid var(--text); font-size: 14px; line-height: 1.5; }
.fit-hint div { display: grid; gap: 6px; }
.fit-hint .link { font-weight: 500; justify-self: start; }
.pay-bonus { margin-left: 6px; padding: 2px 8px; background: var(--text); color: var(--bg); font-style: normal; font-size: 12px; font-weight: 500; white-space: nowrap; }
.req-box { width: 100%; display: grid; gap: 12px; text-align: left; }
.req-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 20px; background: var(--surface); font-size: 14px; line-height: 1.55; }
.req-card b { font-weight: 500; }
.req-card p { margin: 6px 0 0; color: var(--muted); }
.req-lines { display: block; margin-top: 4px; color: var(--muted); }
.req-open { display: flex; align-items: center; justify-content: center; gap: 8px 16px; flex-wrap: wrap; }
.req-open .btn { display: inline-flex; align-items: center; gap: 10px; }
.req-one, .req-item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; font-size: 14px; }
.req-one img, .req-item img { width: 56px; height: 70px; object-fit: cover; background: var(--surface); }
.req-one small, .req-item small { display: block; color: var(--muted); font-size: 13px; }
.req-items { display: grid; gap: 8px; }
.req-item { padding: 8px; border: 1px solid var(--line); background: var(--paper); }
.req-item.on { border-color: var(--text); box-shadow: 0 0 0 1px var(--text) inset; }
.req-step { display: grid; gap: 10px; }
.req-step > span { font-size: 14px; color: var(--muted); }
.req-exch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 16px 18px; background: var(--surface); font-size: 13px; line-height: 1.55; color: var(--muted); }
.req-exch svg { color: var(--text); }
.req-exch b { display: block; font-size: 16px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.req-exch .chips { margin-top: 12px; }
.req-alt { justify-self: center; }
@media (max-width: 520px) { .fit-big b { font-size: 44px; } .req-card { padding: 16px; } }
/* панель: мерки и заявки */
.adm-fit { grid-column: 1 / -1; margin-top: 8px; }
.adm-fit-t { width: 100%; border-collapse: collapse; min-width: 720px; }
.adm-fit-t th, .adm-fit-t td { padding: 6px 6px 6px 0; text-align: left; font-size: 13px; font-weight: 400; color: var(--muted); }
.adm-fit-t tbody th { font-size: 15px; font-weight: 500; color: var(--text); width: 64px; }
.adm-fit-t .input { width: 100%; min-width: 64px; height: 40px; padding: 0 8px; }
.adm-req-item { display: grid; gap: 6px; padding: 14px 16px; background: var(--surface); font-size: 14px; line-height: 1.5; }
.adm-req-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.adm-req-top b { font-weight: 500; }
.adm-req-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.adm-req-st { display: inline-block; padding: 2px 8px; font-size: 12px; border: 1px solid var(--line-strong); white-space: nowrap; }
.adm-req-st.s-new { background: var(--text); color: var(--bg); border-color: var(--text); }
.adm-req-st.s-received { border-color: var(--text); }
.adm-req-st.s-declined { color: var(--danger); border-color: currentColor; }
.adm-req-stat { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.req-modal #reqBody { display: grid; gap: 18px; }
.adm-req-item, .adm-req-item > * { min-width: 0; } .adm-req-act .btn { white-space: normal; text-align: left; height: auto; min-height: 40px; padding-top: 8px; padding-bottom: 8px; line-height: 1.35; }

/* ---------- Характеристики товара (js/specs.js) ---------- */
.spec-sum { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.spec-sum span { font-size: 13px; letter-spacing: .02em; color: var(--muted); padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.specs { display: grid; gap: 22px; white-space: normal; }
.spec-list { margin: 0; display: grid; }
.spec-list > div { display: grid; grid-template-columns: minmax(110px, 38%) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.spec-list > div:first-child { padding-top: 2px; }
.spec-list dt { color: var(--muted); font-size: 14px; }
.spec-list dd { margin: 0; color: var(--text); font-size: 14px; font-weight: 500; }
.spec-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spec-tags li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); padding: 7px 12px; background: var(--surface); border-radius: 999px; }
.spec-tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text); opacity: .55; }
.spec-care h4 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text); margin: 0 0 10px; }
.spec-care ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px; }
.spec-care li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13px; line-height: 1.35; color: var(--muted); }
.care-ic { width: 34px; height: 34px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--paper); }
.spec-care p { margin-top: 10px; font-size: 13px; }
/* Панель: характеристики товара */
.adm-specs { grid-column: 1 / -1; margin-top: 8px; }
.spec-group { border: 1px solid var(--line); background: var(--paper); padding: 16px 18px 6px; margin-bottom: 12px; }
.spec-group h5 { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.spec-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 16px; align-items: start; padding-bottom: 12px; }
.spec-label { font-size: 14px; padding-top: 8px; }
.spec-label small { display: block; font-size: 12px; color: var(--muted); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.spec-chip { height: 36px; font-size: 13px; padding: 0 12px; border-radius: 999px; gap: 6px; display: inline-flex; align-items: center; }
.spec-chip.on { background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: none; }
.spec-chip .care-ic { width: 22px; height: 22px; padding: 2px; border: 0; background: none; color: inherit; }
.spec-custom { min-height: 36px; padding: 6px 12px; font-size: 13px; flex: 1 1 220px; max-width: 360px; border-radius: 999px; }
@media (max-width: 640px) { .spec-row { grid-template-columns: 1fr; } .spec-label { padding-top: 0; } }


/* ---------- Скруглённые кнопки по всему сайту ---------- */
:root { --btn-radius: 999px; --ctl-radius: 14px; }
.btn, .sbtn, .sbtn-primary, .inst-banner-btn, .qa-size, .af-chip, .chip, .slide-code, .promo-form .btn, .mnav-app-btn, .wl-copy, .cookie-note .btn, .adm-x, .adm-row-tools button, .icon-btn, .sl-arrow, .to-top { border-radius: var(--btn-radius); }
.sz { border-radius: var(--btn-radius); }
.qty { border-radius: var(--btn-radius); overflow: hidden; }
.qty button:first-child { padding-left: 4px; } .qty button:last-child { padding-right: 4px; }
.option, .bonus-use, .gate-panel, .adm-tpl-item, .ticket { border-radius: var(--ctl-radius); }
.adm-img-tools button { border-radius: 50%; }
/* выбранный размер и фильтры — заливкой, без нижней черты: на скруглённой форме она смотрится чужой */
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: none; }
.sz::after, .chip.on::after { display: none; }
.sz.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.out.on { background: transparent; color: var(--text); }

/* ---------- Карточка товара: разделы «Описание», «Характеристики», «Доставка» — премиальный вид ---------- */
.pinfo .p-acc { border-top: 0; display: grid; gap: 10px; margin-top: 6px; }
.pinfo .p-acc details { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); transition: border-color .25s, box-shadow .25s; overflow: hidden; }
.pinfo .p-acc details[open] { border-color: color-mix(in srgb, var(--text) 14%, var(--line)); box-shadow: 0 18px 40px -28px rgba(20, 20, 22, .35); }
.pinfo .p-acc summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) 34px; align-items: center; gap: 14px; padding: 16px 16px 16px 16px; font-size: 16px; letter-spacing: .01em; border-radius: 18px; }
.pinfo .p-acc summary::after { display: none; }
.pinfo .p-acc summary:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.acc-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); display: grid; place-items: center; color: var(--text); }
.acc-ic svg { width: 20px; height: 20px; }
.acc-t { display: grid; gap: 2px; min-width: 0; font-weight: 500; }
.acc-t small { font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .01em; }
.acc-pm { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .45s var(--ease), background .25s, border-color .25s; }
.acc-pm::before, .acc-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--text); border-radius: 2px; transition: transform .45s var(--ease), background .25s; }
.acc-pm::after { transform: rotate(90deg); }
.p-acc details[open] .acc-pm { transform: rotate(180deg); background: var(--text); border-color: var(--text); }
.p-acc details[open] .acc-pm::before, .p-acc details[open] .acc-pm::after { background: var(--bg); }
.p-acc details[open] .acc-pm::after { transform: rotate(0); }
@media (hover: hover) { .pinfo .p-acc details:not([open]):hover { border-color: var(--line-strong); } .pinfo .p-acc summary:hover .acc-pm { border-color: var(--text); } }
.pinfo .p-acc .body { padding: 2px 20px 22px; animation: accIn .35s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-4px); } }
.p-desc { color: var(--text); font-size: 15px; line-height: 1.75; max-width: 62ch; }
.p-deliv { font-size: 14px; }
/* Характеристики: главное плитками */
.spec-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.spec-tile { display: grid; gap: 6px; align-content: start; padding: 14px 16px 16px; border-radius: 14px; background: var(--surface); }
.spec-tile span { font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.spec-tile b { font-size: 17px; font-weight: 500; line-height: 1.25; color: var(--text); }
.pinfo .spec-list > div { border-bottom: 1px solid var(--line); padding: 12px 2px; }
.pinfo .spec-list > div:last-child { border-bottom: 0; }
.pinfo .spec-tags li { background: var(--paper); border: 1px solid var(--line); }
.pinfo .spec-care { padding: 16px; border-radius: 14px; background: var(--surface); }
.pinfo .care-ic { border-color: transparent; }
@media (max-width: 400px) { .spec-tile b { font-size: 15px; } .pinfo .p-acc summary { grid-template-columns: 36px minmax(0, 1fr) 30px; gap: 12px; padding: 14px; } .acc-ic { width: 36px; height: 36px; } .acc-pm { width: 30px; height: 30px; } }

/* ---------- Оформление: количество и «Убрать» в блоке заказа ---------- */
.co-lines { max-height: none; }
.co-line { align-items: start; transition: opacity .22s, transform .22s; }
.co-line.leaving { opacity: 0; transform: translateX(14px); }
.co-line-acts { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.co-qty { display: inline-flex; align-items: center; height: 30px; border: 1px solid var(--line-strong); border-radius: 999px; }
.co-qty button { width: 30px; height: 100%; font-size: 15px; color: var(--muted); border-radius: 999px; }
.co-qty button:hover:not([disabled]) { color: var(--text); }
.co-qty button[disabled] { opacity: .35; cursor: default; }
.co-qty b { min-width: 18px; text-align: center; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.co-rm { font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.co-rm:hover { color: var(--danger); border-color: var(--danger); }

/* ---------- Главная: бонусная программа — светлая премиальная панель (13.39) ---------- */
.loyal-sec .loyal { --acc: #ff5a3c; --acc2: #ff9a5c; position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(22px, 2.4vw, 34px);
  background: radial-gradient(60% 90% at 85% 50%, rgba(255, 154, 92, .16), transparent 70%), radial-gradient(40% 60% at 100% 0%, rgba(150, 170, 255, .14), transparent 70%), linear-gradient(180deg, #f7f7f6, #eff0f2);
  box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .05); }
.loyal-sec .loyal-copy { gap: 16px; }
.loyal-eb { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .07), 0 6px 16px -10px rgba(18, 20, 23, .25); }
.loyal-eb i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--acc2), var(--acc)); }
.loyal-sec .loyal-copy h2 { font-weight: 200; font-size: clamp(40px, 4.8vw, 72px); letter-spacing: -.035em; line-height: .98; margin-top: 8px; }
.loyal-sec .loyal-rate { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.loyal-sec .loyal-rate::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5; }
.loyal-sec .loyal-steps { gap: 12px; margin-top: 22px; }
.loyal-sec .loyal-steps li { gap: 6px; padding: 18px 18px 20px; border: 0; border-radius: 20px; background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .06), 0 14px 30px -22px rgba(18, 20, 23, .35); backdrop-filter: blur(10px); transition: transform .5s var(--ease), box-shadow .4s; }
.loyal-sec .loyal-steps li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .08), 0 24px 40px -24px rgba(255, 90, 60, .35); }
.loyal-sec .ls-n { display: block; white-space: nowrap; top: 16px; left: auto; right: 16px; width: auto; height: auto; background: none; box-shadow: none; color: rgba(18, 20, 23, .28); font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.ls-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 10px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #2a2e35, #0d0e10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 8px 18px -8px rgba(13, 14, 16, .6); }
.ls-ic svg { width: 20px; height: 20px; }
.loyal-sec .loyal-steps li:first-child .ls-ic { background: linear-gradient(135deg, var(--acc2), var(--acc)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px -8px rgba(255, 90, 60, .7); }
.loyal-sec .loyal-steps b { font-size: 15px; }
.loyal-sec .loyal-steps li > span:last-child { font-size: 13px; }
.loyal-sec .loyal-act { margin-top: 18px; }
.btn.loyal-btn { display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 26px; background: #0d0e10; border-color: #0d0e10; color: #fff; }
.btn.loyal-btn .db-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #0d0e10; transition: transform .5s var(--ease), background .3s, color .3s; }
.btn.loyal-btn:hover { background: #0d0e10; border-color: #0d0e10; color: #fff; }
.btn.loyal-btn:hover .db-ic { transform: translateX(4px); background: var(--acc); color: #fff; }
.loyal-sec .loyal-visual { position: relative; }
.loyal-sec .loyal-visual::before { content: ""; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1.6; border-radius: 50%; filter: blur(40px); opacity: .55;
  background: conic-gradient(from 200deg, rgba(255, 90, 60, .7), rgba(255, 154, 92, .5), rgba(150, 170, 255, .5), rgba(255, 90, 60, .7)); animation: loyalHalo 12s linear infinite; }
@keyframes loyalHalo { to { transform: rotate(360deg); } }
.loyal-sec .loyal-card { border-radius: 22px; background: radial-gradient(130% 120% at 12% 0%, #3d424b 0%, #1d2026 44%, #0d0e10 100%); }
.loyal-sec .loyal-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .35), rgba(255, 154, 92, .45) 40%, rgba(255, 255, 255, .05) 60%, rgba(150, 170, 255, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.loyal-sec .lc-pct span { background: linear-gradient(135deg, var(--acc2), var(--acc)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: reduce) { .loyal-sec .loyal-visual::before { animation: none; } }
@media (max-width: 860px) {
  .loyal-sec .loyal { padding: 26px 18px 20px; border-radius: 26px; background: radial-gradient(90% 40% at 50% 12%, rgba(255, 154, 92, .18), transparent 70%), linear-gradient(180deg, #f7f7f6, #eff0f2); }
  .loyal-sec .loyal-steps { gap: 10px; }
  .loyal-sec .loyal-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 2px; padding: 14px 16px; border: 0; margin: 0; }
  .loyal-sec .loyal-steps li:last-child { padding-bottom: 14px; }
  .loyal-sec .ls-ic { grid-row: span 2; margin: 0; align-self: center; }
  .loyal-sec .ls-n { top: 14px; right: 14px; left: auto; }
  .loyal-sec .loyal-act .btn { justify-content: space-between; }
  .loyal-sec .loyal-copy h2 { font-size: clamp(40px, 12vw, 54px); }
}

/* ---------- Заголовки разделов и карточка товара — премиальный вид (13.39) ---------- */
.section-head h2 { font-weight: 200; letter-spacing: -.035em; }
.section-head .h-sub { position: relative; display: inline-flex; align-items: center; gap: .35em; margin-left: .35em; padding: .28em .7em .32em; border-radius: 999px; font-size: .3em; font-weight: 400; letter-spacing: .02em; vertical-align: .55em; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .06); }
.section-head .h-sub::before { content: ""; width: .45em; height: .45em; border-radius: 50%; background: linear-gradient(135deg, #ff9a5c, #ff5a3c); }
.link.sh-more { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 20px; border-radius: 999px; border: 0; font-size: 14px; color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .06); text-decoration: none; transition: background .3s, color .3s; }
.link.sh-more::after { display: none; }
.link.sh-more i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--text); color: #fff; transition: transform .5s var(--ease), background .3s; }
.link.sh-more:hover { background: var(--text); color: #fff; }
.link.sh-more:hover i { background: #ff5a3c; transform: translateX(3px); }

.card { gap: 14px; }
.card .ph { border-radius: clamp(16px, 1.6vw, 24px); background: linear-gradient(180deg, #f6f7f8, #eceef1); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .04); transform: translateZ(0); transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
@media (hover: hover) { .card:hover .ph { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .05), 0 30px 50px -30px rgba(18, 20, 23, .45); } }
.card .ph::after { border-radius: inherit; }
.tags { top: 12px; left: 12px; gap: 5px; }
.card .badge { gap: 7px; min-height: 26px; padding: 4px 11px 4px 9px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--text); background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .06), 0 6px 16px -10px rgba(20, 20, 22, .4); }
.card .badge::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--b, var(--text)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--b, #000) 18%, transparent); }
.card .badge-out::before { background: var(--dim); box-shadow: none; }
.card .meta { gap: 6px; padding: 0 4px; }
.card .name { font-size: 15px; font-weight: 500; letter-spacing: 0; }
.card .sub { font-size: 12.5px; }
.card-buy { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 2px; }
.card .price { gap: 8px; font-size: 16px; letter-spacing: 0; }
.card .price .now { font-weight: 600; }
.card .price .now.sale { color: #e5482c; }
.card .price s { font-size: 13px; color: var(--dim); }
.card-off { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #ff9a5c, #ff5a3c); box-shadow: 0 6px 14px -8px rgba(255, 90, 60, .8); font-variant-numeric: tabular-nums; }
.card .card-bonus { justify-self: start; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; font-size: 12px; background: var(--surface); }
.card .card-bonus .b-ic { width: 16px; height: 16px; font-size: 9px; }
.card-swatches i { width: 12px; height: 12px; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .16), 0 0 0 2px var(--bg); }
.qa { left: 10px; right: 10px; bottom: 10px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 30px -16px rgba(18, 20, 23, .5); }
.qa-label { font-family: var(--sans); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-shadow: none; }
.qa-size { height: 32px; min-width: 36px; border-color: rgba(18, 20, 23, .1); background: #fff; backdrop-filter: none; }
@media (hover: hover) { .card:hover .ph::after { opacity: .35; } }
@media (max-width: 600px) {
  .card { gap: 10px; }
  .card .badge { min-height: 22px; padding: 3px 9px 3px 7px; font-size: 10px; gap: 5px; }
  .card .badge::before { width: 6px; height: 6px; }
  .card .name { font-size: 13.5px; }
  .card .price { font-size: 14px; }
  .card-off { height: 20px; padding: 0 6px; font-size: 10.5px; }
  .section-head .h-sub { font-size: .42em; vertical-align: .3em; }
  .link.sh-more { padding: 4px 4px 4px 14px; font-size: 13px; }
  .link.sh-more i { width: 28px; height: 28px; }
}
.card .badge-sale { color: #fff; background: linear-gradient(135deg, #ff9a5c, #ff5a3c); box-shadow: 0 8px 18px -8px rgba(255, 90, 60, .7); }
.card .badge-sale::before { background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }

/* ---------- Слайдер на первом экране: нумерация 01 02 03, промокод-билет, кнопка со стрелкой (13.39) ---------- */
.slide-eb { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .07), 0 6px 16px -10px rgba(18, 20, 23, .25); }
.slide-eb i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #ff9a5c, #ff5a3c); animation: dealPulse 2.2s ease-out infinite; box-shadow: 0 0 0 0 rgba(255, 90, 60, .6); }
.slide-title { font-weight: 200; letter-spacing: -.04em; }
.slide-title em { font-weight: 300; }
.slide-title .st-off { display: inline-block; padding-right: .04em; background: linear-gradient(135deg, #ff9a5c 0%, #ff5a3c 60%, #e2412a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide-badge { background: linear-gradient(135deg, #ff9a5c, #ff5a3c); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 200; }
.slide-code { position: relative; gap: 14px; padding: 10px 12px 10px 20px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .08), 0 14px 30px -20px rgba(18, 20, 23, .45); }
.slide-code span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.slide-code b { position: relative; padding-left: 16px; font-size: 18px; letter-spacing: .2em; }
.slide-code b::before { content: ""; position: absolute; left: 0; top: -6px; bottom: -6px; border-left: 1px dashed rgba(18, 20, 23, .2); }
.slide-code i { display: none; }
.slide-code .sc-ic { display: block; box-sizing: content-box; padding: 9px; border-radius: 12px; color: #fff; background: #0d0e10; transition: background .3s; }
.slide-code:hover { background: #fff; }
.slide-code:hover .sc-ic, .slide-code.copied .sc-ic { background: linear-gradient(135deg, #ff9a5c, #ff5a3c); }
.sbtn-primary { gap: 16px; padding: 0 8px 0 30px; background: #0d0e10; color: #fff; box-shadow: 0 18px 34px -18px rgba(13, 14, 16, .6); }
.sbtn-primary:hover { background: #0d0e10; color: #fff; }
.sbtn-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0d0e10; transition: transform .5s var(--ease), background .3s, color .3s; }
.sbtn-primary:hover .sbtn-ic { transform: translateX(4px); background: #ff5a3c; color: #fff; }
.sl-dots { gap: 6px; }
.sl-dot { display: grid; justify-items: start; align-items: end; gap: 8px; width: 64px; height: auto; padding: 4px 0; text-align: left; }
.sl-dot b { font-size: 12px; font-weight: 500; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--dim); transition: color .3s; }
.sl-dot::before { grid-row: 2; grid-column: 1; width: 100%; height: 2px; border-radius: 2px; background: rgba(18, 20, 23, .12); }
.sl-dot i { position: static; grid-row: 2; grid-column: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #121417, #ff5a3c); }
.sl-dot.on b, .sl-dot:hover b { color: var(--text); }
.sl-arrow { background: rgba(255, 255, 255, .78); border-color: rgba(18, 20, 23, .1); box-shadow: 0 10px 24px -16px rgba(18, 20, 23, .5); }
.sl-arrow:hover { background: #0d0e10; border-color: #0d0e10; color: #fff; }
@container slider (max-width: 860px) {
  .sl-dot { flex: 1; width: auto; }
}
@container slider (max-width: 600px) {
  .slide-eb { padding: 5px 9px 5px 8px; font-size: 9px; gap: 6px; letter-spacing: .06em; }
  .slide-eb i { width: 5px; height: 5px; }
  .slide-code { padding: 5px 5px 5px 10px; gap: 8px; border-radius: 12px; }
  .slide-code b { padding-left: 0; font-size: 12px; letter-spacing: .12em; }
  .slide-code b::before { display: none; }
  .slide-code .sc-ic { width: 12px; height: 12px; padding: 6px; border-radius: 8px; }
  .sbtn-primary { padding: 0 4px 0 14px; gap: 10px; }
  .sbtn-primary .sbtn-ic { width: 30px; height: 30px; }
  .sbtn-ic svg { width: 13px; height: 13px; }
  .sl-dot b { font-size: 10px; }
  .sl-dot { gap: 5px; }
}

/* =====================================================================
   ЕДИНЫЙ ДИЗАЙН САЙТА (13.40): скругления, стеклянные плашки, тёплый акцент,
   тонкие заголовки, кнопки-капсулы. Одни правила для всех страниц магазина.
   ===================================================================== */
:root { --ink: #0d0e10; --acc: #ff5a3c; --acc2: #ff9a5c; --acc-grad: linear-gradient(135deg, #ff9a5c, #ff5a3c); --r-xl: clamp(22px, 2.4vw, 34px); --r-lg: 24px; --r-md: 18px; --r-sm: 14px;
  --ring: inset 0 0 0 1px rgba(18, 20, 23, .07); --lift: 0 24px 48px -30px rgba(18, 20, 23, .4); }

/* --- Полоса объявления и шапка --- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); border-bottom: 0; }
.topbar .wrap { display: flex; justify-content: center; align-items: center; gap: 10px; }
.topbar .wrap::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--acc-grad); box-shadow: 0 0 0 3px rgba(255, 90, 60, .22); }
.nav a { padding: 8px 14px; margin-inline: -8px; border-radius: 999px; transition: color .2s, background .25s; }
.nav a::after { display: none; }
.nav a:hover { background: var(--surface); }
.nav a.active { color: var(--text); background: var(--surface); box-shadow: var(--ring); }
.icon-btn:hover { background: var(--surface); box-shadow: var(--ring); }
.badge-count { background: var(--acc-grad); color: #fff; box-shadow: 0 4px 10px -4px rgba(255, 90, 60, .7); }

/* --- Заголовки: тонкие, плотные, с тёплой точкой в конце --- */
.section-head h2, .page-head h1, .pinfo h1, .empty h3, .prose h2, .drawer-head h3, .cstep-head h3, .benefit h3, .atelier-copy h2 { font-weight: 200; letter-spacing: -.035em; }
.pinfo h1 { letter-spacing: -.03em; }
.section-head h2::after, .page-head h1::after { content: ""; display: inline-block; width: .13em; height: .13em; margin-left: .08em; border-radius: 50%; background: var(--acc-grad); vertical-align: .02em; }
.section-head h2:has(.h-sub)::after { display: none; }
.benefits-title h2::after { display: inline-block; }
.prose h2, .prose h3 { letter-spacing: -.025em; }
.crumbs { gap: 6px; }
.crumbs a, .crumbs span { padding: 4px 10px; border-radius: 999px; }
.crumbs a { background: var(--surface); transition: background .2s, color .2s; }
.crumbs a:hover { background: var(--ink); color: #fff; }

/* --- Надзаголовок — плашка с точкой (как в бонусах и акции) --- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; justify-self: start; align-self: flex-start; width: fit-content; max-width: 100%; padding: 7px 14px 7px 12px; border-radius: 999px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: var(--text); background: rgba(255, 255, 255, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--ring), 0 6px 16px -10px rgba(18, 20, 23, .25); }
.eyebrow:not(.slide-eb):not(.loyal-eb)::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--acc-grad); }
.deal .eyebrow { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .8); }

/* --- Разделы: без серых линий между ними --- */
.section + .section { border-top: 0; }

/* --- Кнопки --- */
.btn { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 14px 28px -18px rgba(13, 14, 16, .65); transition: background .25s, color .25s, border-color .25s, box-shadow .3s, transform .3s var(--ease), opacity .2s; }
.btn:hover { background: #24272d; border-color: #24272d; color: #fff; transform: translateY(-1px); box-shadow: 0 18px 34px -18px rgba(13, 14, 16, .7); }
.btn.ghost { background: rgba(255, 255, 255, .7); color: var(--text); border-color: transparent; box-shadow: var(--ring); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.done { background: var(--acc-grad); border-color: transparent; color: #fff; }
.link { border-bottom-color: rgba(18, 20, 23, .2); }
.link:hover { border-color: var(--acc); color: var(--text); }

/* --- Поля ввода --- */
.input, .select, .textarea { border-radius: var(--r-sm); border-color: transparent; background-color: var(--surface); box-shadow: var(--ring); transition: box-shadow .2s, background-color .2s; }
.input:hover, .select:hover, .textarea:hover { box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .16); }
.input:focus, .select:focus, .textarea:focus { border-color: transparent; background-color: #fff; box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 4px rgba(255, 90, 60, .12); }
.input.invalid { box-shadow: inset 0 0 0 1px var(--danger), 0 0 0 4px rgba(158, 59, 48, .1); }
.select { background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; }

/* --- Чипы, размеры, количество --- */
.chip, .sz { border-radius: 999px; border-color: transparent; background: var(--surface); box-shadow: var(--ring); }
.chip:hover, .sz:not(.on):hover { border-color: transparent; box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .25); }
.chip.on, .sz.on { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 8px 18px -10px rgba(13, 14, 16, .7); }
.sz::after { display: none; }
.qty { border-color: transparent; background: var(--surface); box-shadow: var(--ring); }

/* --- Каталог: фильтры --- */
.filters h4 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.fl-item { border-radius: 12px; }
.fl-item::before { display: none; }
.fl-item.on { background: var(--ink); color: #fff; }
.fl-item.on em { color: rgba(255, 255, 255, .6); }

/* --- Категории --- */
.cat-ph { border-radius: var(--r-lg); background: linear-gradient(180deg, #f6f7f8, #eceef1); box-shadow: var(--ring); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
@media (hover: hover) { .cat:hover .cat-ph, a:hover > .cat-ph { transform: translateY(-4px); box-shadow: var(--ring), var(--lift); } }
.cat-cap { padding: 14px 4px 0; }
.cat-name { font-size: 15px; }
.cat-go { box-sizing: content-box; width: 14px; height: 14px; padding: 9px; border-radius: 50%; color: var(--text); background: var(--surface); box-shadow: var(--ring); transition: background .3s, color .3s, transform .5s var(--ease); }
a:hover .cat-go { background: var(--ink); color: #fff; transform: rotate(-45deg); }

/* --- «Покупать у нас спокойно» --- */
.benefit { border-radius: var(--r-lg); border: 0; box-shadow: var(--ring); background: linear-gradient(180deg, #f7f7f6, #eff0f2); }
.benefit:hover { background: #fff; box-shadow: var(--ring), var(--lift); }
.benefit-more { border: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: var(--ring); }
.benefit-more:hover { background: var(--ink); color: #fff; }

/* --- Ателье: фото со скруглением справа, ссылка-капсула --- */
.atelier-media { border-radius: 0 var(--r-xl) var(--r-xl) 0; }
.atelier-copy .link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); transition: background .3s, color .3s; }
.atelier-copy .link::after { content: "→"; font-size: 15px; transition: transform .4s var(--ease); }
.atelier-copy .link:hover { background: var(--ink); color: #fff; }
.atelier-copy .link:hover::after { transform: translateX(3px); }
@media (max-width: 760px) { .atelier-media { border-radius: 0; } }

/* --- Карточка товара (страница) --- */
.main-img { border-radius: var(--r-xl); background: linear-gradient(180deg, #f6f7f8, #eceef1); box-shadow: var(--ring); }
.thumbs button { border-radius: 12px; border: 0; }
.thumbs button.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pinfo .badge { gap: 7px; padding: 4px 11px 4px 9px; color: var(--text); background: rgba(255, 255, 255, .85); box-shadow: var(--ring); }
.pinfo .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--b, var(--text)); }
.pinfo .badge-sale { color: #fff; background: var(--acc-grad); box-shadow: 0 8px 18px -8px rgba(255, 90, 60, .7); }
.pinfo .badge-sale::before { background: #fff; }
.pinfo .price .now.sale { color: #e5482c; }
.p-bonus, .fit-guar, .promo-plaque, .bonus-notice { border-radius: var(--r-md); border-color: transparent; box-shadow: var(--ring); }
.table-wrap { border-radius: var(--r-md); }

/* --- Корзина, оформление, заказы --- */
.drawer-head, .drawer-foot { border-color: transparent; }
.drawer-foot { background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.cart-line { border-bottom-color: var(--line); }
.cart-line .ph { border-radius: 12px; }
.checkout .summary { border: 0; border-radius: var(--r-xl); background: linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: var(--ring); }
.cstep { border: 0; border-radius: var(--r-lg); box-shadow: var(--ring), 0 18px 40px -34px rgba(18, 20, 23, .35); }
.cstep::before { display: none; }
.cstep:focus-within { box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .18), 0 24px 48px -32px rgba(18, 20, 23, .4); }
.cstep:focus-within .cstep-n { background: var(--ink); color: #fff; border-color: var(--ink); }
.co-login, .co-addr { border-radius: var(--r-md); }
.co-login-ic { background: var(--acc-grad); }
.option { border: 0; border-radius: var(--r-md); box-shadow: var(--ring); }
.option:hover { box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .18); }
.option.on { box-shadow: inset 0 0 0 1.5px var(--ink), 0 14px 30px -24px rgba(18, 20, 23, .45); }
.opt-price { border-radius: 999px; }
.pay-marks i { border-radius: 6px; }
.order-card { border: 0; border-radius: var(--r-lg); box-shadow: var(--ring); }
.sum-row.disc span:last-child { color: #e5482c; }

/* --- Вход, кабинет --- */
.tabs { gap: 4px; padding: 4px; width: max-content; max-width: 100%; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); overflow-x: auto; }
.tabs button, .tabs a { padding: 9px 18px; margin: 0; border: 0; border-radius: 999px; transition: background .25s, color .25s; }
.tabs button.on, .tabs a.on { background: var(--ink); color: #fff; border: 0; }
.auth-aside, .ab-side { border-radius: var(--r-xl); background: radial-gradient(70% 60% at 50% 0%, rgba(255, 154, 92, .14), transparent 70%), linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: var(--ring); }
.account nav button { padding: 9px 14px; border-radius: 12px; transition: background .2s, color .2s; }
.account nav button:hover { background: var(--surface); }
.account nav button.on { background: var(--ink); color: #fff; }
.account nav button.on::before { content: none; }
.acc-profile fieldset, .acc-empty, .sup-thread, .ab-fact, .ab-pillar, .ab-service-row, .ip-step, .req-card, .spec-group, .pm-card, .trk-now, .rf-sum, .pvz, .cs-now { border-radius: var(--r-lg); }
.modal-box { border: 0; border-radius: var(--r-xl); box-shadow: 0 40px 90px -30px rgba(18, 20, 23, .35); }
.cookie-note { border-radius: var(--r-md); }
.empty .btn { margin-top: 6px; }

/* --- Подвал --- */
.footer { margin: clamp(24px, 4vw, 56px) clamp(8px, 1.4vw, 20px) 0; border: 0; border-radius: var(--r-xl) var(--r-xl) 0 0; background: radial-gradient(50% 70% at 0% 0%, rgba(255, 154, 92, .22), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(150, 170, 255, .14), transparent 70%), var(--ink); color: rgba(255, 255, 255, .72); }
.footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.footer ul a, .footer a { color: rgba(255, 255, 255, .78); }
.footer ul a:hover, .footer a:hover { color: #fff; }
.footer .logo img, .footer .logo svg { filter: brightness(0) invert(1); }
.footer-mark { filter: brightness(0) invert(1); opacity: .04; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .45); }
.footer-bottom a { color: rgba(255, 255, 255, .55); }
.footer p, .footer span, .footer li { color: inherit; }

@media (max-width: 600px) {
  .eyebrow { font-size: 10.5px; padding: 6px 11px 6px 10px; gap: 8px; }
  .nav a { margin-inline: 0; }
  .tabs button, .tabs a { padding: 8px 14px; }
  .footer { margin-inline: 6px; }
}
.footer .muted, .footer .foot-btn, .footer .foot-legal { color: rgba(255, 255, 255, .62); }
.footer .foot-btn:hover { color: #fff; }
.footer .foot-legal { border-top-color: rgba(255, 255, 255, .1); }
.footer .foot-legal-t { color: rgba(255, 255, 255, .4); }
.footer .socials a { color: rgba(255, 255, 255, .82); }

/* --- Информационные страницы и «О бренде» в общем стиле --- */
.ip-sec, .ab-story { border-top: 0; }
.ip-card, .ip-step, .ab-fact, .ab-pillar, .ab-serv, .ac, .ab-founder { border-radius: var(--r-lg); }
.ip-card { box-shadow: var(--ring); background: linear-gradient(180deg, #f7f7f6, #eff0f2); }
.ip-card:hover { border-color: transparent; background: #fff; box-shadow: var(--ring), var(--lift); }
.ip-step { border: 0; box-shadow: var(--ring); }
.ac, .ab-founder { border-radius: var(--r-xl); }
.ac { border: 0; box-shadow: var(--ring); }
.ab-service-row { border: 0; gap: 10px; }
.ab-serv { box-shadow: var(--ring); background: linear-gradient(180deg, #f7f7f6, #eff0f2); }
.ab-serv + .ab-serv { border-left: 0; }
.ab-pillar { border-color: transparent; box-shadow: var(--ring); }
.ab-plate { box-shadow: var(--ring), 0 40px 80px -50px rgba(18, 20, 23, .35); }
.ip-title, .ab-hero h1, .ab-story h2, .ip-sec-head h2, .ab-pillar h2, .ac-intro h2, .ab-founder-q, .ip-card h3 { font-weight: 200 !important; letter-spacing: -.035em; }
.ip-card h3 { letter-spacing: -.015em; }
.ip-p { border-image: linear-gradient(180deg, #ff9a5c, #ff5a3c) 1; }
.ab-num::after { background: var(--acc-grad); }
@media (max-width: 600px) {
  .topbar .wrap::before { display: none; }
  .crumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; font-size: 12px; gap: 4px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .crumbs::-webkit-scrollbar { display: none; }
  .crumbs a, .crumbs span { flex: none; white-space: nowrap; padding: 4px 9px; }
}

/* =====================================================================
   ПАНЕЛЬ УПРАВЛЕНИЯ в общем дизайне (13.40)
   ===================================================================== */
.adm { border-bottom: 0; background: linear-gradient(180deg, #fafafa, var(--bg) 240px); }
.adm-side { border-right: 0; padding: 24px 12px; background: radial-gradient(80% 30% at 0% 0%, rgba(255, 154, 92, .14), transparent 70%), linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: inset -1px 0 0 rgba(18, 20, 23, .05); }
.adm-brand { padding: 0 12px; gap: 10px; }
.adm-brand b { font-weight: 300; letter-spacing: .18em; }
.adm-side nav { gap: 2px; }
.adm-side nav a { padding: 9px 14px; border-left: 0; border-radius: 12px; transition: background .2s, color .2s; }
.adm-side nav a:hover { background: rgba(255, 255, 255, .8); box-shadow: var(--ring); }
.adm-side nav a.on { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -14px rgba(13, 14, 16, .8); }
.adm-side nav a.on .adm-badge { background: #fff; color: var(--ink); }
.adm-badge { background: var(--acc-grad); color: #fff; border-radius: 999px; padding: 1px 8px; }
.adm-side-foot { padding: 0 12px; }
.adm-head h1 { font-weight: 200; letter-spacing: -.035em; }
.adm-head h1::after { content: ""; display: inline-block; width: .14em; height: .14em; margin-left: .08em; border-radius: 50%; background: var(--acc-grad); }
.adm-card { border: 0; border-radius: var(--r-lg); box-shadow: var(--ring), 0 18px 40px -34px rgba(18, 20, 23, .35); }
.adm-h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.adm-sub { font-weight: 300; letter-spacing: -.02em; border-top-color: var(--line); }
.adm-stats { gap: 10px; }
.adm-stat { border: 0; border-radius: 20px; background: #fff; box-shadow: var(--ring); transition: transform .4s var(--ease), box-shadow .4s; }
.adm-stat:hover { transform: translateY(-3px); box-shadow: var(--ring), var(--lift); }
.adm-stat .eyebrow, .adm-sl-pvhead .eyebrow, .adm-logo-opts .eyebrow, .adm-logo-preview .eyebrow, .adm-preview-head .eyebrow { padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 11px; letter-spacing: .08em; color: var(--dim); gap: 8px; width: auto; white-space: normal; }
.adm-stat .eyebrow::before { width: 6px; height: 6px; }
.adm-stat b { font-weight: 300; letter-spacing: -.03em; }
.adm-alert { border-radius: var(--r-md); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 90, 60, .35); background: linear-gradient(135deg, rgba(255, 154, 92, .1), rgba(255, 90, 60, .06)); }
.adm-table .table-wrap, .adm .table-wrap { border: 0; border-radius: var(--r-lg); box-shadow: var(--ring); background: #fff; overflow: auto; }
.adm table.sizes th { background: #f6f7f8; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.adm table.sizes tr:hover td { background: #fafafa; }
.adm-thumb { border-radius: 8px; }
.adm-filter .chip { height: 36px; }
.adm-img { border: 0; border-radius: 14px; box-shadow: var(--ring); }
.adm-img.add { border: 1.5px dashed rgba(18, 20, 23, .18); box-shadow: none; }
.adm-img.add:hover { border-color: var(--acc); color: var(--text); }
.adm-img-tools button { border-radius: 50%; background: rgba(13, 14, 16, .72); backdrop-filter: blur(6px); }
.adm-img-main { background: rgba(13, 14, 16, .7); backdrop-filter: blur(6px); }
.adm-row-tools button, .adm-x { border-color: transparent; background: var(--surface); box-shadow: var(--ring); }
.adm-row-tools button:hover, .adm-x:hover { background: var(--ink); color: #fff; }
.adm-bar { margin-top: 8px; padding-inline: 14px; border-radius: 22px 22px 0 0; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -10px 30px -20px rgba(18, 20, 23, .35), var(--ring); }
.adm-preview, .adm-letter, .adm-test, .adm-sl-row, .adm-tpl-item, .adm-logo-slot, .adm-logo-tile, .adm-bonus, .adm-pick, .adm-bulk-bar, .adm-thread, .adm-req-item, .adm-fit, .adm-specs, .adm-sl-edit, .adm-sl-preview, .adm-badge-row, .adm-color { border-radius: var(--r-md); }
.adm-sl-thumb { border-radius: 10px; overflow: hidden; }
.adm-bulk-bar { background: var(--ink); color: #fff; }
.adm-tabs, .adm-sl-pvhead .tabs { border-radius: 999px; }
.adm-switch span { border-radius: 999px; }
@media (max-width: 860px) {
  .adm-side { padding: 14px 10px 10px; box-shadow: inset 0 -1px 0 rgba(18, 20, 23, .05); border-bottom: 0; }
  .adm-side nav a { white-space: nowrap; }
}
.adm-sl-pills em { border: 0; border-radius: 999px; padding: 3px 10px; background: var(--surface); box-shadow: var(--ring); }
.adm-steps { gap: 10px; }
.adm-steps li { border: 0; border-radius: 20px; box-shadow: var(--ring); }
.adm-steps li::before { border: 0; color: #fff; background: var(--ink); }
.adm-steps li:first-child::before { background: var(--acc-grad); }
.gate-head .eyebrow { justify-self: center; align-self: center; }

/* =====================================================================
   КАБИНЕТ ПОКУПАТЕЛЯ, ПОДДЕРЖКА, СТРАНИЦА ЗАКАЗА — общий дизайн (13.40)
   ===================================================================== */
.acc-hi h1 { font-weight: 200; letter-spacing: -.04em; }
.acc-hi h1::after { content: ""; display: inline-block; width: .13em; height: .13em; margin-left: .08em; border-radius: 50%; background: var(--acc-grad); }
.acc-since { display: inline-flex; align-items: center; gap: 8px; }
.acc-since::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5; }
.acc-facts a { min-width: 140px; padding: 14px 18px; border-radius: 20px; background: #fff; box-shadow: var(--ring); transition: transform .4s var(--ease), box-shadow .4s; }
.acc-facts a:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--ring), var(--lift); }
.acc-facts b { font-weight: 200; font-size: 32px; letter-spacing: -.03em; }
.acc-facts span { font-size: 12px; }
.acc-card .loyal-card { border-radius: 22px; background: radial-gradient(130% 120% at 12% 0%, #3d424b 0%, #1d2026 44%, #0d0e10 100%); }
.acc-card .loyal-card .lc-pct span { background: var(--acc-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.acc-tabs { gap: 4px; padding: 5px; width: max-content; max-width: 100%; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--ring), 0 12px 30px -22px rgba(18, 20, 23, .4); }
.acc-tabs a { padding: 10px 20px; margin: 0; border: 0; border-radius: 999px; font-size: 14px; transition: background .25s, color .25s; }
.acc-tabs a:hover { background: var(--surface); }
.acc-tabs a.on { background: var(--ink); color: #fff; border: 0; }
.acc-dot { top: 8px; right: 8px; background: var(--acc); box-shadow: 0 0 0 2px #fff; }
.acc-out { margin-left: 8px; padding: 10px 18px; border-radius: 999px; font-size: 13px; }
.acc-out:hover { background: var(--surface); }
.acc-empty { border-radius: var(--r-lg); background: linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: var(--ring); }
.acc-empty h3 { font-weight: 200; letter-spacing: -.03em; }

/* заказы */
.acc-orders { gap: 10px; border-top: 0; }
.acc-order { padding: 18px clamp(16px, 2vw, 24px); border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: var(--ring); transition: transform .4s var(--ease), box-shadow .4s; }
.acc-order:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--ring), var(--lift); }
.ao-thumbs img { border-radius: 10px; border-color: #fff; }
.ao-pay { border: 0; border-radius: 999px; background: rgba(122, 92, 22, .1); }
.ao-track li.is-done::before { background: var(--ink); }
.ao-track li.is-done i { background: var(--ink); border-color: var(--ink); }
.ao-track li.is-now i { border-color: var(--acc); background: var(--acc); box-shadow: 0 0 0 4px rgba(255, 90, 60, .18); }
.ao-sum b { font-weight: 600; }

/* бонусы */
.ab-bal b { font-weight: 200; letter-spacing: -.04em; }
.ab-log h3 { font-weight: 200; letter-spacing: -.03em; }
.ab-steps .ls-n { background: var(--ink); }
.ab-steps li:first-child .ls-n { background: var(--acc-grad); }

/* профиль */
.acc-profile fieldset { border: 0; box-shadow: var(--ring); background: #fff; }
.acc-profile legend, .acc-profile h3 { font-weight: 200; letter-spacing: -.02em; }

/* поддержка */
.sup-list ul, .sup-items { gap: 6px; border-top: 0; }
.sup-item { border: 0; border-radius: 16px; box-shadow: var(--ring); background: #fff; }
.sup-item:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .16); }
.sup-item.on { background: var(--ink); color: #fff; border: 0; }
.sup-item.on .si-sub, .sup-item.on .si-text, .sup-item.on time { color: rgba(255, 255, 255, .65); }
.sup-item.unread::after { background: var(--acc); }
.si-state { border: 0; border-radius: 999px; padding: 3px 10px; background: var(--surface); }
.si-state.s-answered { background: rgba(62, 104, 71, .12); }
.sup-item.on .si-state { background: rgba(255, 255, 255, .14); color: #fff; }
.sup-pick { border-radius: var(--r-xl); background: radial-gradient(70% 60% at 50% 0%, rgba(255, 154, 92, .14), transparent 70%), linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: var(--ring); }
.sup-pick h3, .sup-new h3 { font-weight: 200; letter-spacing: -.03em; }
.sup-new { border: 0; border-radius: var(--r-xl); box-shadow: var(--ring), 0 24px 50px -40px rgba(18, 20, 23, .4); background: #fff; }
.sup-topics span { border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); }
.sup-topics input:checked + span { background: var(--ink); box-shadow: 0 8px 18px -10px rgba(13, 14, 16, .7); }
.sup-thread { border: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--ring), 0 24px 50px -40px rgba(18, 20, 23, .4); background: #fff; }
.st-head, .st-send { border-color: var(--line); }
.st-msgs { background: linear-gradient(180deg, #f7f7f6, #fff 50%); }
.msg-b { border: 0; border-radius: 18px 18px 18px 6px; box-shadow: var(--ring); }
.msg.from-me .msg-b { border-radius: 18px 18px 6px 18px; background: var(--ink); box-shadow: 0 10px 22px -14px rgba(13, 14, 16, .7); }
.st-send .textarea { border-radius: 18px; }

/* страница заказа: статусы, трек, возвраты */
.ost { gap: 6px; }
.ost-i { border-radius: 16px; }
.ost-i.on { background: var(--ink); color: #fff; }
.trk-now, .rf-sum, .rf-form, .ret-row, .rf-row, .rf-banner, .cs-now, .cs-route, .pvz, .dm, .pm-card, .req-card, .req-exch { border-radius: var(--r-md); border-color: transparent; box-shadow: var(--ring); }
.rf-tag { border-radius: 999px; }
.success h1 { font-weight: 200; letter-spacing: -.04em; }
.success h1::after { content: ""; display: inline-block; width: .13em; height: .13em; margin-left: .06em; border-radius: 50%; background: var(--acc-grad); }
@media (max-width: 760px) {
  .acc-tabs { width: auto; }
  .acc-tabs a { padding: 9px 15px; }
  .acc-facts a { min-width: 0; flex: 1; }
}
.success .eyebrow, .empty .eyebrow { justify-self: center; }
.st-head .st-back { border: 0; }
@media (max-width: 760px) {
  .acc-tabs { display: flex; width: 100%; overflow: visible; }
  .acc-tabs a { flex: 1 1 auto; min-width: 0; padding: 9px 10px; font-size: 13px; text-align: center; }
  .acc-tabs .acc-out { display: none; }
  .acc-dot { top: 6px; right: 6px; }
}
@media (max-width: 360px) { .acc-tabs a { font-size: 12px; padding: 8px 2px; } }

/* --- Исправления узких экранов (аудит 13.40) --- */
.pinfo { grid-template-columns: minmax(0, 1fr); }
.toolbar > div { min-width: 0; max-width: 100%; }
.toolbar #sort { min-width: 0; width: auto; max-width: 100%; flex: 1 1 auto; }
@media (max-width: 380px) {
  .buy-row .btn { padding: 0 14px; font-size: 13px; letter-spacing: .02em; }
  .buy-row .qty button { width: 36px; }
}
.card .card-bonus { white-space: nowrap; }
@media (max-width: 380px) { .card .card-bonus { font-size: 11px; padding-right: 8px; } }
.ost { gap: 6px; border: 0; background: none; }
.ost-i { border-radius: 18px; background: #fff; box-shadow: var(--ring); }
.ost-i + .ost-i { border-left: 0; }
.ost-i.on, .ost-i.on.s-new:not(.zero) { background: var(--ink); }
.ost-i.on b, .ost-i.on span, .ost-i.on.s-new:not(.zero) b { color: #fff; }
.ost-i.on::after { display: none; }
.adm-chip { border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); }
.adm-chip.on { background: var(--ink); color: #fff; box-shadow: 0 8px 18px -10px rgba(13, 14, 16, .7); }
#sRes .sh-more { justify-self: start; width: fit-content; display: inline-flex; }
.auth-forgot { justify-self: center; margin-top: 4px; font-size: 14px; color: var(--muted); }

/* =====================================================================
   ИЗБРАННОЕ, «КУПИТЬ СЕЙЧАС», АДРЕСА (13.41)
   ===================================================================== */
.toast { border-radius: 18px; background: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.toast-undo { flex: none; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; font-weight: 500; }
.toast-undo:hover { background: #fff; color: var(--ink); }

/* сердечко */
.fav-btn { display: inline-grid; place-items: center; color: var(--text); transition: transform .3s var(--ease), background .25s, color .25s; }
.fav-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; transition: fill .25s, stroke .25s, transform .3s var(--ease); }
.fav-btn.on svg { fill: var(--acc); stroke: var(--acc); }
.fav-btn.pop svg { animation: favPop .45s var(--ease); }
@keyframes favPop { 30% { transform: scale(1.35); } 60% { transform: scale(.9); } }
.card .ph .fav-btn { position: absolute; z-index: 3; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--ring), 0 6px 16px -10px rgba(18, 20, 23, .45); }
.card .ph .fav-btn:hover { transform: scale(1.08); background: #fff; }
@media (max-width: 600px) { .card .ph .fav-btn { top: 8px; right: 8px; width: 32px; height: 32px; } .card .ph .fav-btn svg { width: 15px; height: 15px; } }
.tags { right: 56px; }
.fav-link svg { fill: none; }
.fav-count { background: var(--ink); box-shadow: none; }

/* карточка товара: «Купить сейчас» и «В избранное» */
.buy-more { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: -14px; }
.btn.buy-now { justify-content: space-between; gap: 12px; padding: 0 8px 0 24px; min-height: 52px; }
.btn.buy-now .bn-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .45s var(--ease), background .3s; }
.btn.buy-now:hover .bn-ic { background: var(--acc); transform: translateX(3px); }
.btn.buy-now[hidden] { display: none; }
.fav-btn.fav-wide { gap: 8px; grid-auto-flow: column; min-height: 52px; padding: 0 20px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: var(--ring); font-size: 14px; font-weight: 500; }
.fav-btn.fav-wide:hover { box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .2); }
.fav-btn.fav-wide.on { background: rgba(255, 90, 60, .08); box-shadow: inset 0 0 0 1px rgba(255, 90, 60, .35); color: #c83c22; }
@media (max-width: 860px) { .buy-more { margin-top: 0; } }
@media (max-width: 380px) { .fav-btn.fav-wide .fav-t { display: none; } .fav-btn.fav-wide { padding: 0 16px; } }
.chips.shake { animation: shake .45s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* быстрая покупка */
.buy-note { display: inline-flex; align-items: center; gap: 12px; justify-self: start; max-width: 60ch; padding: 12px 18px 12px 12px; border-radius: 18px; font-size: 14px; color: var(--muted); background: linear-gradient(135deg, rgba(255, 154, 92, .12), rgba(255, 90, 60, .06)); box-shadow: inset 0 0 0 1px rgba(255, 90, 60, .22); }
.buy-note span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--acc-grad); color: #fff; }
.buy-note svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* страница избранного */
.fav-box { padding-bottom: 96px; }
.acc .fav-box { padding-bottom: 0; }
.fav-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 24px; }
.fav-n { padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); font-size: 14px; font-weight: 500; }
.fav-hint { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.fav-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.fav-clear { margin-left: auto; font-size: 14px; color: var(--muted); }
.fav-empty { display: grid; justify-items: center; gap: 14px; max-width: 520px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) 24px; text-align: center; border-radius: var(--r-xl); background: radial-gradient(70% 60% at 50% 0%, rgba(255, 154, 92, .16), transparent 70%), linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: var(--ring); }
.fav-empty-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: var(--ring), 0 18px 34px -20px rgba(255, 90, 60, .55); color: var(--acc); }
.fav-empty-ic svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.fav-empty h3 { font-family: var(--serif); font-weight: 200; font-size: clamp(28px, 3vw, 36px); letter-spacing: -.03em; }
.fav-empty p { color: var(--muted); line-height: 1.6; }

/* адреса в кабинете */

/* адреса при оформлении */

/* кабинет: шесть вкладок — на телефоне листаются */
@media (max-width: 760px) {
  .acc-tabs { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .acc-tabs::-webkit-scrollbar { display: none; }
  .acc-tabs a { flex: none; padding: 9px 15px; }
}

/* ---------- Подвал 13.41: крупные кнопки связи, колонки, контакты со значками, продавец одной строкой ---------- */
.footer > .wrap { padding-block: clamp(40px, 5vw, 72px) 0; }
.f-hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 40px; padding-bottom: clamp(28px, 3.5vw, 44px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.f-brand { display: grid; gap: 14px; justify-items: start; }
.f-tag { font-size: 15px; color: rgba(255, 255, 255, .6); }
.f-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.f-pill { display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background .3s, transform .4s var(--ease); }
.f-pill:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.f-pill > span:last-child { display: grid; gap: 2px; }
.f-pill b { font-weight: 500; font-size: 15px; color: #fff; }
.f-pill small { font-size: 12px; color: rgba(255, 255, 255, .5); }
.f-pill-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.f-pill-main .f-pill-ic { background: var(--acc-grad); box-shadow: 0 10px 24px -10px rgba(255, 90, 60, .8); }
.f-pill-ic svg, .f-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.f-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; padding-block: clamp(32px, 4vw, 52px); }
.fcol summary { list-style: none; cursor: default; display: flex; align-items: center; justify-content: space-between; }
.fcol summary::-webkit-details-marker { display: none; }
.fcol summary i { display: none; }
.footer .fcol h4 { margin-bottom: 18px; }
.footer .fcol ul { gap: 11px; font-size: 14px; }
.footer .fcol a, .footer .foot-btn { color: rgba(255, 255, 255, .78); transition: color .2s, padding .3s var(--ease); }
.footer .fcol ul a:hover, .footer .foot-btn:hover { color: #fff; padding-left: 4px; }
.f-contacts li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255, 255, 255, .7); line-height: 1.45; }
.f-ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-top: -5px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .85); }
.f-ic svg { width: 16px; height: 16px; }
.f-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.f-socials a { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: #fff !important; transition: background .25s; }
.f-socials a:hover { background: rgba(255, 255, 255, .14); }
.f-socials .soc-ic { display: block; width: 26px; height: 26px; }
.f-socials .soc-ic svg { width: 100%; height: 100%; display: block; }
.f-seller { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 14px 18px; margin-bottom: 8px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); font-size: 12.5px; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.f-seller-t { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.f-seller i { font-style: normal; opacity: .4; }
.footer .footer-bottom { flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 20px calc(22px + env(safe-area-inset-bottom, 0px)); margin: 0; border-top: 0; }
.f-legal { display: flex; flex-wrap: wrap; gap: 6px; }
.f-legal a { padding: 5px 12px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .6) !important; transition: background .2s, color .2s; }
.f-legal a:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }
@media (max-width: 1100px) { .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .f-hero { flex-direction: column; align-items: stretch; }
  .f-cta { display: grid; }
  .f-pill { width: 100%; }
  .f-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 8px 20px; }
  .fcol { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .fcol summary { cursor: pointer; padding: 18px 0; }
  .fcol summary i { display: block; position: relative; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
  .fcol summary i::before, .fcol summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: #fff; transition: transform .3s var(--ease); }
  .fcol summary i::after { transform: rotate(90deg); }
  .fcol[open] summary i::after { transform: rotate(0); }
  .footer .fcol summary h4 { margin: 0; }
  .footer .fcol ul { padding-bottom: 18px; }
  .fcol-contacts { padding-block: 18px; }
  .fcol-contacts { border-bottom: 0; }
  .f-seller { flex-direction: column; align-items: flex-start; gap: 4px; }
  .f-seller i { display: none; }
  .footer .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Вы недавно смотрели (13.42) ---------- */
.rv-sec { padding-block: clamp(48px, 6vw, 88px); }
.rv-sec .section-head h2 { font-size: clamp(30px, 3.4vw, 48px); }
.rv-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 12px) / 6); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rv-row::-webkit-scrollbar { display: none; }
.rv-card { display: grid; gap: 8px; align-content: start; scroll-snap-align: start; min-width: 0; }
.rv-ph { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, #f6f7f8, #eceef1); box-shadow: var(--ring); }
.rv-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.rv-card:hover .rv-ph img { transform: scale(1.04); }
.rv-ph .fav-btn { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: var(--ring); }
.rv-ph .fav-btn svg { width: 14px; height: 14px; }
.rv-name { font-size: 13px; font-weight: 500; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rv-price { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; font-size: 13px; font-variant-numeric: tabular-nums; }
.rv-price b { font-weight: 600; } .rv-price b.sale { color: #d6492f; } .rv-price s { color: var(--dim); font-size: 12px; }
.rv-clear i svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
@media (max-width: 1024px) { .rv-row { grid-auto-columns: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 600px) { .rv-row { grid-auto-columns: 38%; gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }

/* ---------- Где мой заказ (13.42) ---------- */
.trk-page { padding-bottom: 96px; }
.trk-lead { max-width: 52ch; margin-top: 4px; }
.trk-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.trk-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--ring), 0 24px 50px -40px rgba(18, 20, 23, .4); }
.btn.trk-btn { justify-content: space-between; padding: 0 8px 0 26px; }
.btn.trk-btn .bn-ic, .btn .bn-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); }
.trk-aside { display: grid; gap: 10px; }
.trk-tip { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-lg); background: linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: var(--ring); }
.trk-tip-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: #fff; box-shadow: var(--ring); }
.trk-tip-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.trk-tip b { font-weight: 500; }
.trk-tip p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.mnav-sub-sm a { font-size: 14px; }
@media (max-width: 760px) { .trk-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Админка: Telegram и аналитика (13.42) ---------- */

.an-kpi .adm-stat b { font-size: 34px; }
.an-d { font-size: 12.5px; color: var(--muted); }
.an-d.up { color: #3e6847; } .an-d.down { color: #9e3b30; }
.an-funnel { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; }
.an-step { display: grid; gap: 8px; min-width: 0; }
.an-col { height: 150px; display: flex; align-items: flex-end; }
.an-col i { display: block; width: 100%; min-height: 4px; border-radius: 12px; background: linear-gradient(180deg, #3a3f47, #1a1d22); }
.an-step:nth-child(2) .an-col i { opacity: .86; } .an-step:nth-child(3) .an-col i { opacity: .72; } .an-step:nth-child(4) .an-col i { opacity: .6; }
.an-step:last-child .an-col i { background: #3e6847; opacity: 1; }
.an-step.is-worst .an-col i { background: linear-gradient(180deg, #ffb48a, #ff7a55); opacity: 1; }
.an-step b { font-weight: 500; font-size: 16px; }
.an-step b span { font-size: 13px; font-weight: 400; color: var(--muted); }
.an-step small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.an-step.is-worst small { color: #b4533a; }
.an-chart { display: flex; align-items: flex-end; gap: 4px; height: 170px; }
.an-day { flex: 1; display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; min-width: 0; }
.an-bar { position: relative; display: flex; align-items: flex-end; }
.an-bar i { display: block; width: 100%; min-height: 3px; border-radius: 6px 6px 3px 3px; background: #d9dce1; transition: background .2s; }
.an-day:hover .an-bar i { background: var(--ink); }
.an-bar em { position: absolute; left: 50%; transform: translate(-50%, -4px); font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 999px; background: var(--ink); color: #fff; }
.an-day span { font-size: 11px; text-align: center; color: var(--dim); }
.an-src { display: grid; gap: 12px; }
.an-src-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 54px; gap: 12px; align-items: center; font-size: 14px; }
.an-src-bar { height: 8px; border-radius: 8px; background: var(--surface); overflow: hidden; }
.an-src-bar i { display: block; height: 100%; border-radius: 8px; background: #2a2e35; }
.an-src-row b { font-weight: 500; text-align: right; }
.an-mini { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 16px 40px; align-items: end; margin-bottom: 16px; position: relative; transition: box-shadow .3s; }
.an-mini:hover { box-shadow: var(--ring), var(--lift); }
.an-mini b { display: block; font-weight: 200; font-size: 34px; letter-spacing: -.03em; }
.an-mini .an-col { height: 56px; }
.an-mini .an-pv { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.an-mini .an-step small, .an-mini .an-step b { display: none; }
.an-more { position: absolute; top: 18px; right: 22px; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .an-funnel { gap: 6px; } .an-col { height: 110px; } .an-step small { font-size: 11px; }
  .an-mini { grid-template-columns: 1fr 1fr; } .an-mini-f { grid-column: 1 / -1; }
  .tg-row { flex-direction: column; }
}

/* ---------- Соберите образ (13.42) ---------- */
.look-sec { padding-block: clamp(40px, 5vw, 72px) 0; }
.look-sec .section-head h2 { font-size: clamp(30px, 3.4vw, 48px); }
.look { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; padding: clamp(14px, 2vw, 22px); border-radius: var(--r-xl); background: linear-gradient(180deg, #f7f7f6, #f0f1f3); box-shadow: var(--ring); }
.look-items { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 14px; overflow-x: auto; scrollbar-width: none; }
.look-items::-webkit-scrollbar { display: none; }
.look-item { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; transition: opacity .3s; }
.look-item.off { opacity: .45; }
.look-plus { position: absolute; z-index: 2; left: -14px; top: calc(50% - 60px); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--ring); font-size: 15px; color: var(--muted); }
.look-ph { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 18px; background: linear-gradient(180deg, #fff, #eef0f2); box-shadow: var(--ring); }
.look-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.look-ph:hover img { transform: scale(1.04); }
.look-tag { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--ring); }
.look-item:first-child .look-tag { background: var(--ink); color: #fff; box-shadow: none; }
.look-meta { display: grid; gap: 6px; padding: 0 2px; }
.look-name { font-size: 14px; font-weight: 500; line-height: 1.35; }
.look-price { display: flex; gap: 8px; align-items: baseline; font-size: 14px; font-variant-numeric: tabular-nums; }
.look-price b { font-weight: 600; } .look-price b.sale { color: #d6492f; } .look-price s { font-size: 12.5px; color: var(--dim); }
.look-hint { font-size: 12.5px; color: var(--muted); }
.look-sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.look-sz { min-width: 34px; height: 30px; padding: 0 8px; border-radius: 999px; font-size: 12.5px; background: #fff; box-shadow: var(--ring); transition: background .2s, color .2s; }
.look-sz:hover { box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .25); }
.look-sz.on { background: var(--ink); color: #fff; box-shadow: none; }
.look-toggle { justify-self: start; font-size: 12px; color: var(--muted); border-bottom: 1px solid rgba(18, 20, 23, .15); }
.look-sum { display: grid; gap: 8px; align-content: center; padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--ring); }
.look-k { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.look-sum s { color: var(--dim); font-size: 14px; }
.look-sum > b { font-weight: 200; font-size: 38px; letter-spacing: -.03em; line-height: 1.05; }
.btn.look-add { justify-content: space-between; margin-top: 8px; padding: 0 8px 0 22px; white-space: normal; text-align: left; line-height: 1.25; }
.look-err { min-height: 0; font-size: 13px; color: #b4533a; }
.look-err:empty { display: none; }
@media (max-width: 860px) {
  .look { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .look-items { grid-auto-columns: 44%; margin-inline: -12px; padding-inline: 12px; }
  .look-sum { padding: 18px; }
}

/* ---------- Предзаказ (13.42) ---------- */
.badge-pre { color: var(--text); background: rgba(255, 255, 255, .9) !important; }
.badge-pre::before { background: #8a6f3a !important; box-shadow: 0 0 0 3px rgba(138, 111, 58, .18) !important; }
.chip.preo { background: #fff; box-shadow: inset 0 0 0 1px rgba(138, 111, 58, .35); color: var(--text); position: relative; }
.chip.preo::after { content: ""; position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: #b08a45; }
.chip.preo.on { background: var(--ink); color: #fff; box-shadow: none; }
.stock-note.pre { color: #7a5f2c; }
.pre-box { display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--r-md); background: linear-gradient(135deg, #fbf8f2, #f5f1e8); box-shadow: inset 0 0 0 1px rgba(138, 111, 58, .18); }
.pre-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; }
.pre-top b { font-weight: 500; }
.pre-top span { font-size: 13px; color: #7a5f2c; }
.pre-bar { height: 6px; border-radius: 6px; background: rgba(138, 111, 58, .14); overflow: hidden; }
.pre-bar i { display: block; height: 100%; border-radius: 6px; background: #b08a45; }
.pre-left { font-size: 12.5px; color: var(--muted); }
.pre-box p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.pre-tag { display: inline-flex; align-self: start; justify-self: start; width: fit-content; margin: 2px 0; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: #6e5526; background: rgba(176, 138, 69, .14); }
[data-multi="look"] .adm-multi { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); max-height: 240px; overflow: auto; padding: 10px 12px; border-radius: 14px; background: var(--surface); box-shadow: var(--ring); }


/* ---------- Подарочные сертификаты (13.42) ---------- */
.gift-page { padding-bottom: 96px; }
.gift-lead { max-width: 56ch; margin-top: 4px; }
.gift-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(24px, 4vw, 64px); align-items: start; }
.gift-visual { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 28px; padding: clamp(10px, 2vw, 28px) 0; perspective: 1200px; }
.gift-card { --rx: 6deg; --ry: -10deg; --sx: 30%; position: relative; isolation: isolate; overflow: hidden; width: min(100%, 500px); justify-self: center; aspect-ratio: 85.6 / 54; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(20px, 2.6vw, 30px); border-radius: 24px; color: #fff;
  background: radial-gradient(120% 120% at 10% 0%, #3d424b, #1d2026 45%, #0d0e10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 50px 70px -40px rgba(18, 20, 23, .6); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 1s var(--ease); }
.gift-card.live { transition: transform .15s linear; }
.gc-glow { position: absolute; z-index: -1; right: -18%; top: -38%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 170, 120, .28), transparent 70%); }
.gc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gc-word { font-size: 14px; letter-spacing: .32em; font-weight: 500; }
.gc-label { font-size: 12px; color: rgba(255, 255, 255, .6); }
.gc-amount { align-self: center; font-weight: 200; font-size: clamp(48px, 6vw, 78px); letter-spacing: -.04em; line-height: 1; }
.gc-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.gc-bottom > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-code { flex: none; letter-spacing: .14em; color: #fff; }
.gift-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: min(100%, 500px); justify-self: center; }
.gift-facts li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: var(--ring); }
.gift-facts b { font-weight: 500; font-size: 15px; } .gift-facts span { font-size: 12.5px; color: var(--muted); }
.gift-form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--ring), 0 30px 60px -48px rgba(18, 20, 23, .45); }
.gf-sec { display: grid; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.gf-k { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.gf-noms { display: flex; flex-wrap: wrap; gap: 6px; }
.gf-noms .chip { padding: 0 16px; }
.gf-custom[hidden], #gfDate[hidden] { display: none; }
.gf-when { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gf-when input { position: absolute; opacity: 0; pointer-events: none; }
.gf-when span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 12px; border-radius: 14px; text-align: center; font-size: 13.5px; line-height: 1.3; background: var(--surface); box-shadow: var(--ring); cursor: pointer; }
.gf-when input:checked + span { background: var(--ink); color: #fff; box-shadow: 0 8px 18px -10px rgba(13, 14, 16, .7); }
.btn.gf-pay { justify-content: space-between; padding: 0 8px 0 26px; }
.gf-note { font-size: 12.5px; color: var(--muted); text-align: center; }
.gf-soon { display: grid; gap: 8px; justify-items: start; padding: 18px 20px; border-radius: var(--r-md); background: linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: var(--ring); }
.gf-soon b { font-weight: 500; } .gf-soon p { font-size: 14px; color: var(--muted); }
.gift-check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 16px 48px; align-items: center; margin-top: clamp(48px, 6vw, 88px); padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: var(--ring); }
.gift-check h2 { font-weight: 200; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.03em; }
.gift-check p { margin-top: 6px; font-size: 14px; }
.gc-form { display: flex; gap: 8px; }
.gc-form .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; background-color: #fff; }
.gc-res { grid-column: 1 / -1; }
.gc-res:empty { display: none; }
.gc-card-res { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 22px; border-radius: 20px; background: #fff; box-shadow: var(--ring); }
.gc-card-res > div { display: grid; gap: 2px; }
.gc-card-res b { font-weight: 200; font-size: 36px; letter-spacing: -.03em; line-height: 1.1; }
.gc-card-res.off b { color: var(--dim); }
.gc-card-res p { font-size: 14px; color: #9e3b30; }
.co-gift summary { cursor: pointer; font-size: 14px; color: var(--muted); list-style: none; }
.co-gift summary::-webkit-details-marker { display: none; }
.co-gift summary:hover { color: var(--text); }
.co-gift .promo-form { margin-top: 10px; }
.co-gift #co-gift { text-transform: uppercase; letter-spacing: .06em; }
.gift-msg:empty { display: none; }
.gift-ok { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: var(--ring); }
.gift-ok > div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.gift-ok b { font-weight: 500; font-size: 14px; } .gift-ok small { font-size: 12.5px; color: var(--muted); }
.gift-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
@media (max-width: 960px) {
  .gift-grid, .gift-check { grid-template-columns: minmax(0, 1fr); }
  .gift-visual { position: static; }
}
@media (max-width: 480px) { .gift-facts { grid-template-columns: 1fr 1fr 1fr; } .gift-facts li { padding: 10px 12px; } .gift-facts b { font-size: 13px; } .gift-facts span { font-size: 11px; } .gf-when { grid-template-columns: 1fr; } .gc-form { flex-direction: column; } }
.g-log td { padding-top: 0 !important; font-size: 12.5px; color: var(--muted); border-top: 0 !important; }
.remind-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: var(--ring); cursor: pointer; }
.remind-opt input { margin-top: 3px; }
.remind-opt span { display: grid; gap: 2px; }
.remind-opt b { font-weight: 500; font-size: 14px; } .remind-opt small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.an-empty { margin-bottom: 16px; background: linear-gradient(180deg, #f7f7f6, #eff0f2); box-shadow: var(--ring); }

.an-kpi { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1280px) { .an-kpi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .an-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } .an-kpi .adm-stat:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.adm-card .copyable { white-space: nowrap; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; padding: 1px 6px; border-radius: 6px; background: rgba(13, 14, 16, .05); }

/* ---------- 13.43: телефон — ровная прокрутка без мельканий и зависаний ----------
   1) Прокрутку страницы двигаем сами и мгновенно (плавной остаётся только кнопка «Наверх»).
   2) Убран полноэкранный слой «зерна» с наложением: телефон перерисовывал его на каждом кадре.
   3) Шапка больше не меняет высоту при прокрутке на телефоне — из-за этого содержимое прыгало на 18 px,
      браузер поправлял прокрутку, шапка снова росла, и так по кругу.
   4) На сенсорных экранах нет размытия под «стеклом» и бесконечных декоративных анимаций с blur —
      они грузили видеочип и память, отсюда «замирающие» кнопки и перезагрузки страницы. */
html { scroll-behavior: auto; }
body::after { content: none; display: none; }
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .header .wrap { transition: none; }
  .header.scrolled .wrap { height: var(--header-h); }
  .header, .header.scrolled { background: var(--bg); }
  *, *::before, *::after { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .promo-band .pct, .benefit-ico, .slide.is-active .slide-badge, .brand-foot .brand-mark, .loyal-card, .deal-glow, .deal-when i,
  .ab-plate::before, .ab-plate::after, .ab-plate img, .ab-pillar-ico, .ab-founder::before, .ab-founder::after, .ac::before, .ac::after,
  .ac-hours i, .ac-ico, .ip-sec-ico, .loyal-sec .loyal-visual::before, .slide-eb i { animation: none !important; }
  .deal-glow, .ab-plate::before, .ab-plate::after, .ab-founder::before, .ab-founder::after, .ac::before, .ac::after, .loyal-sec .loyal-visual::before { filter: none; opacity: .35; }
  .qa, .card .ph .fav-btn, .slide-code, .acc-tabs, .loyal-sec .loyal-steps li, .ac-card { background-color: rgba(255, 255, 255, .94); }
  .st-cell { background-color: rgba(255, 255, 255, .08); } /* тёмное «стекло» таймера акции: без размытия, но цифры видны */
  .deal-rings i, .deal-tag i { animation: none !important; }
  .hero-under .header:not(.scrolled) { background: transparent; }
  #view.view-in { animation-duration: .2s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Подсказки адреса (13.43) */
.field .pvz-combo { margin-top: 0; }
.pvz-sug { border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(13, 14, 16, .35); border-color: rgba(13, 14, 16, .1); max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.pvz-sug li.on, .pvz-sug li:hover { background: var(--surface); }
.pvz-sug li b { font-weight: 500; }

/* ---------- Пустая корзина (13.43) ---------- */
.ec { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 14px; max-width: 640px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(22px, 4vw, 56px) clamp(36px, 5vw, 56px); text-align: center; border-radius: var(--r-xl); background: radial-gradient(80% 70% at 50% 0%, rgba(255, 154, 92, .14), transparent 70%), linear-gradient(180deg, #fff, #fafafa); box-shadow: var(--ring), 0 40px 80px -60px rgba(13, 14, 16, .35); }
.ec-visual { position: relative; display: grid; place-items: center; width: 132px; height: 132px; margin-bottom: 6px; }
.ec-ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0 52%, rgba(255, 90, 60, .07) 53% 100%); box-shadow: inset 0 0 0 1px rgba(255, 90, 60, .14); }
.ec-bag { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 28px; background: linear-gradient(160deg, #fff, #f4f4f5); box-shadow: 0 1px 0 #fff inset, 0 22px 34px -18px rgba(13, 14, 16, .45), 0 0 0 1px rgba(13, 14, 16, .05); transform: rotate(-6deg); animation: ecFloat 6s ease-in-out infinite; }
.ec-bag svg { width: 46px; height: 46px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ec-b1 { fill: rgba(255, 90, 60, .08); stroke: var(--ink); stroke-width: 1.6; }
.ec-b2 { stroke: var(--ink); stroke-width: 1.6; }
.ec-b3 { stroke: var(--acc); stroke-width: 1.8; }
.ec-dot { position: absolute; border-radius: 50%; background: var(--acc-grad, linear-gradient(135deg, #ff9a5c, #ff5a3c)); }
.ec-dot.d1 { width: 10px; height: 10px; top: 14px; right: 18px; }
.ec-dot.d2 { width: 6px; height: 6px; bottom: 22px; left: 12px; opacity: .6; }
.ec-dot.d3 { width: 4px; height: 4px; top: 30px; left: 22px; opacity: .4; }
@keyframes ecFloat { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-6px); } }
.ec .eyebrow { justify-self: center; }
.ec-title { font-family: var(--serif); font-weight: 200; font-size: clamp(32px, 4vw, 46px); line-height: 1.05; letter-spacing: -.035em; }
.ec-title::after { content: "."; color: var(--acc); }
.ec-text { max-width: 420px; color: var(--muted); line-height: 1.65; font-size: 15px; }
.ec-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.ec-acts .btn { min-height: 52px; }
.btn.ec-go { gap: 14px; padding-right: 7px; }
.btn.ec-go .bn-ic { width: 38px; height: 38px; transition: transform .4s var(--ease); }
.btn.ec-go:hover .bn-ic { transform: translateX(3px); }
.ec-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; padding-top: 20px; border-top: 1px solid var(--line); width: 100%; }
.ec-cats a { padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--text); background: #fff; box-shadow: var(--ring); transition: box-shadow .2s, color .2s; }
.ec-cats a:hover { color: var(--acc); box-shadow: inset 0 0 0 1px rgba(255, 90, 60, .4); }
.ec-compact { padding: 36px 20px 28px; box-shadow: none; background: radial-gradient(80% 60% at 50% 0%, rgba(255, 154, 92, .12), transparent 70%); border-radius: var(--r-lg); }
.ec-compact .ec-visual { width: 108px; height: 108px; }
.ec-compact .ec-bag { width: 70px; height: 70px; border-radius: 24px; }
.ec-compact .ec-bag svg { width: 38px; height: 38px; }
.ec-compact .ec-title { font-size: 32px; }
.ec-compact .ec-text { font-size: 14px; }
.ec-compact .ec-acts { flex-direction: column; width: 100%; }
.ec-compact .ec-acts .btn { width: 100%; justify-content: center; }
.ec-compact .btn.ec-go { justify-content: space-between; padding-left: 22px; }
@media (hover: none), (pointer: coarse), (max-width: 900px) { .ec-bag { animation: none; } }
@media (max-width: 560px) { .ec-acts { flex-direction: column; width: 100%; } .ec-acts .btn { width: 100%; justify-content: center; } .btn.ec-go { justify-content: space-between; padding-left: 22px; } }

/* Уведомления на почту (13.43) */
.al-card .field { margin-top: 4px; }
.al-hint { margin: 8px 0 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.al-test { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.al-tests { display: flex; flex-wrap: wrap; gap: 8px; }
.al-events { display: grid; gap: 4px; }
.al-ev { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.al-ev:last-child { border-bottom: 0; }
.al-ev > span:first-child { display: grid; gap: 3px; }
.al-ev b { font-weight: 500; font-size: 15px; }
.al-ev small { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* История заказа в панели (13.44) */
.o-hist { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.o-hist li { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; padding: 0 0 14px; }
.o-hist li:not(:last-child)::before { content: ""; position: absolute; left: 4px; top: 14px; bottom: 0; width: 1px; background: var(--line); }
.o-hist-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.o-hist li:first-child .o-hist-dot { background: var(--acc); }
.o-hist b { display: block; font-weight: 500; font-size: 14px; line-height: 1.45; }
.o-hist small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }

/* Таблица размеров на телефоне (13.44): компактнее, колонка «Размер» закреплена, подсказка про прокрутку */
.modal-box h3.serif { line-height: 1.06; letter-spacing: -.03em; }
.tw-hint { display: none; margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 600px) {
  .tw-hint { display: block; }
  .table-wrap { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  table.sizes th, table.sizes td { padding: 11px 12px; font-size: 13.5px; white-space: nowrap; }
  table.sizes th:first-child, table.sizes td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
  table.sizes thead th:first-child { background: var(--surface, #f3f3f4); }
}

/* =====================================================================
   ФИНАНСЫ в панели (13.46): отчёт о прибыли, операции, себестоимость
   ===================================================================== */
.fn { --fn-ok: #3e6847; --fn-ok-bg: #eef4ef; --fn-bad: #9e3b30; --fn-bad-bg: #f8eeec; --fn-warn: #7a5c16; --fn-warn-bg: #f8f2e4; }
.fn .adm-tabs { margin: 4px 0 16px; }
.fn-per { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.fn-pertabs { margin: 0; }
.fn-pertabs a { font-size: 13px; padding: 7px 15px; }
.fn-nav { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.fn-nav b { font-weight: 500; min-width: 150px; text-align: center; }
.fn-nav a, .fn-nav-off { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--ring); font-size: 20px; line-height: 1; transition: background .2s; }
.fn-nav a:hover { background: var(--surface); }
.fn-nav-off { opacity: .35; }
.fn-custom { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.fn-custom .input { min-height: 40px; width: 160px; padding: 6px 12px; border-radius: 12px; }
.fn-alert { display: block; font-size: 14px; line-height: 1.6; padding: 16px 20px; }
.fn-alert b { font-weight: 500; }
.fn-alert .link { margin-left: 4px; white-space: nowrap; }
.fn-card { margin-bottom: 16px; }
.fn-lead { font-size: 13.5px; color: var(--muted); margin: -4px 0 18px; max-width: 80ch; line-height: 1.6; }
.fn-note { font-size: 12.5px; color: var(--dim); margin: 12px 0 0; line-height: 1.6; }
.fn-d { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.fn-d.up { color: var(--fn-ok); } .fn-d.down { color: var(--fn-bad); }

/* Главное */
.fn-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.fn-big { position: relative; overflow: hidden; display: grid; gap: 14px; align-content: start; padding: 28px 30px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.fn-big::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--acc-grad); opacity: .22; filter: blur(30px); pointer-events: none; }
.fn-big.loss::after { background: #9e3b30; }
.fn-eb { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.fn-big > b { font-weight: 200; font-size: clamp(40px, 5vw, 64px); letter-spacing: -.04em; line-height: 1; }
.fn-big p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 46ch; }
.fn-big p strong { color: #fff; font-weight: 500; }
.fn-pill { display: inline-flex; width: max-content; max-width: 100%; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; background: rgba(62, 104, 71, .28); color: #b8dcbf; }
.fn-pill.bad { background: rgba(158, 59, 48, .3); color: #f0c2bb; }
.fn-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fn-kpis .fn-d { white-space: normal; }
.fn-kpis .adm-stat { padding: 16px 18px; gap: 6px; align-content: start; }
.fn-kpis .adm-stat b { font-size: 26px; line-height: 1.15; }

/* 100 рублей */
.fn-split { display: flex; height: 54px; gap: 3px; margin: 2px 0 16px; border-radius: 16px; overflow: hidden; }
.fn-split div { display: flex; align-items: center; justify-content: center; min-width: 0; font-size: 13px; font-weight: 500; color: #fff; white-space: nowrap; }
.fn-split .c3 { color: #2a3036; } .fn-split .c4 { color: #4a3608; }
.fn-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.fn-legend div { display: grid; gap: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.fn-legend b { font-size: 20px; font-weight: 400; letter-spacing: -.02em; color: var(--text); }
.fn-legend i { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 3px; }
.fn .c1 { background: #3a3f47; } .fn .c2 { background: #7d848d; } .fn .c3 { background: #b9bec5; } .fn .c4 { background: #d9b26a; } .fn .c5 { background: var(--acc-grad); }

/* Таблицы */
.fn-tw { border-radius: var(--r-md); box-shadow: var(--ring); overflow: auto; background: #fff; -webkit-overflow-scrolling: touch; }
.fn-t { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.fn-t th { padding: 12px 16px; background: #f6f7f8; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); text-align: left; white-space: nowrap; }
.fn-t td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.fn-t .r { text-align: right; white-space: nowrap; }
.fn-t tbody tr:hover td { background: #fafafa; }
.fn-t tfoot td { background: #f6f7f8; font-weight: 500; border-top: 1px solid var(--line-strong); }
.fn-pl td:first-child { min-width: 250px; }
.fn-lbl { display: grid; gap: 1px; }
.fn-lbl small { font-size: 12.5px; color: var(--dim); }
.fn-pl .minus .fn-lbl span, .fn-pl .minus .fn-lbl small { position: relative; padding-left: 18px; }
.fn-pl .minus .fn-lbl span::before { content: "−"; position: absolute; left: 0; color: var(--dim); }
.fn-pl .child .fn-lbl span { padding-left: 36px; }
.fn-pl .child .fn-lbl span::before { left: 18px; }
.fn-pl .child td { font-size: 13.5px; color: var(--muted); border-top-style: dashed; }
.fn-pl .sum td { background: #f6f7f8; font-weight: 500; }
.fn-pl .final td { background: var(--ink); color: #fff; font-weight: 500; font-size: 16px; border-top: 0; }
.fn-pl .final small { color: rgba(255, 255, 255, .6); }
.fn-pl .final .fn-d { color: rgba(255, 255, 255, .7); } .fn-pl .final .fn-d.up { color: #9fd3aa; } .fn-pl .final .fn-d.down { color: #f0a99f; }
.fn-pl tbody tr.final:hover td { background: var(--ink); }
.fn-bar { display: inline-block; width: 90px; height: 6px; margin-left: 10px; border-radius: 99px; background: #eceef1; overflow: hidden; vertical-align: middle; }
.fn-bar i { display: block; height: 100%; border-radius: 99px; background: #3a3f47; }
.fn-pl .final .fn-bar { background: rgba(255, 255, 255, .15); } .fn-pl .final .fn-bar i { background: var(--acc-grad); }
.fn-prod td:first-child { font-weight: 500; white-space: nowrap; }
.fn-best { margin-left: 8px; padding: 2px 7px; border-radius: 6px; background: var(--acc-grad); color: #fff; font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.fn-mg { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: #f0f1f3; color: var(--dim); white-space: nowrap; }
.fn-mg.hi { background: var(--fn-ok-bg); color: var(--fn-ok); } .fn-mg.mid { background: var(--fn-warn-bg); color: var(--fn-warn); } .fn-mg.lo { background: var(--fn-bad-bg); color: var(--fn-bad); }
.fn-empty { font-size: 14px; }
.fn-months td:first-child { white-space: nowrap; }
.fn-months .cur { background: #fff6f2; }
.fn-months tr.total td { font-weight: 500; }

/* Месяцы столбиками */
.fn-spark { display: grid; gap: 10px; align-items: end; height: 170px; margin: 0 0 18px; }
.fn-spark div { display: grid; grid-template-rows: auto 1fr auto; gap: 6px; height: 100%; text-align: center; min-width: 0; }
.fn-spark em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.fn-spark i { align-self: end; justify-self: center; width: min(46px, 70%); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #3a3f47, #1a1d22); }
.fn-spark .cur i { background: var(--acc-grad); }
.fn-spark .neg i { background: #d9a49c; }
.fn-spark span { font-size: 12px; color: var(--muted); }
.fn-spark .cur span, .fn-spark .cur em { color: var(--text); font-weight: 500; }

/* Деньги и склад */
.fn-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.fn-flow { display: grid; }
.fn-fl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.fn-fl:first-child { border-top: 0; padding-top: 0; }
.fn-fl b { font-weight: 500; text-align: right; }
.fn-fl b.up { color: var(--fn-ok); } .fn-fl b.down { color: var(--fn-bad); } .fn-fl b.warn { color: var(--fn-warn); }
.fn-fl small { grid-column: 1 / -1; font-size: 12.5px; color: var(--dim); }
.fn-fl.tot { border-top-color: var(--line-strong); padding-top: 14px; }
.fn-fl.tot span, .fn-fl.tot b { font-size: 17px; font-weight: 500; }
.fn-why { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #f6f7f8; font-size: 13px; line-height: 1.6; color: var(--muted); }
.fn-why b { font-weight: 500; color: var(--text); }
.fn-stock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.fn-stock .fn-d { white-space: normal; }
.fn-one { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
.fn-stock .adm-stat b { font-size: 24px; }

/* Выводы */
.fn-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fn-tip { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: var(--r-md); box-shadow: var(--ring); }
.fn-tip .t { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.fn-tip p { margin: 0; font-size: 14px; line-height: 1.55; }
.fn-tip small { font-size: 12.5px; line-height: 1.5; color: var(--dim); }
.fn-tip.g { background: var(--fn-ok-bg); } .fn-tip.g .t { color: var(--fn-ok); }
.fn-tip.w { background: var(--fn-warn-bg); } .fn-tip.w .t { color: var(--fn-warn); }
.fn-tip.n { background: #f6f7f8; } .fn-tip.n .t { color: var(--dim); }

/* Операции */
.fn-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fn-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fn-chip { padding: 7px 14px; border-radius: 999px; font-size: 13px; background: #fff; box-shadow: var(--ring); color: var(--muted); transition: background .2s, color .2s; }
.fn-chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.fn-search { min-height: 40px; width: 300px; max-width: 100%; border-radius: 999px; padding: 8px 18px; }
.fn-ops td { white-space: nowrap; }
.fn-click { cursor: pointer; }
.fn-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.fn-tag.in { background: var(--fn-ok-bg); color: var(--fn-ok); } .fn-tag.out { background: var(--fn-bad-bg); color: var(--fn-bad); }
.fn-desc { max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
.fn-rcpt { font-size: 12px; border-bottom: 1px solid var(--line-strong); color: var(--muted); }
.fn-src { font-size: 12.5px; color: var(--dim); }
.fn-src a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.fn-auto { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: #f0f1f3; color: var(--dim); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.fn-amt { font-weight: 500; font-variant-numeric: tabular-nums; }
.fn-amt.in { color: var(--fn-ok); } .fn-amt.out { color: var(--fn-bad); }
.fn-emptybox { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 48px 20px; border-radius: var(--r-md); background: #f6f7f8; color: var(--muted); font-size: 14px; }
.fn-emptybox b { font-weight: 500; font-size: 16px; color: var(--text); }

/* Окно операции */
.fn-modal { display: grid; gap: 16px; }
.fn-modal h3 { font-size: 30px; line-height: 1.1; }
.fn-dir { margin: 0; }
.fn-modal .form { display: grid; gap: 16px; }
.fn-form2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fn-kindhint { font-size: 12.5px; }
.fn-rc { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fn-rc img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; box-shadow: var(--ring); }
.fn-rc label.btn { cursor: pointer; }
.fn-mact { display: flex; gap: 10px; flex-wrap: wrap; }

/* Себестоимость */
.fn-cost-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; padding: 16px 18px; border-radius: var(--r-md); background: #f6f7f8; }
.fn-progress { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.fn-progress b { font-weight: 500; color: var(--text); }
.fn-progress .fn-bar { width: 140px; }
.fn-fill { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.fn-fill .input { width: 76px; min-height: 40px; padding: 6px 10px; border-radius: 12px; text-align: center; }
.fn-costs td:first-child b { display: block; font-weight: 500; }
.fn-costs td:first-child small { font-size: 12.5px; color: var(--dim); }
.fn-cost-in { position: relative; display: inline-block; }
.fn-cost-in .input { width: 130px; min-height: 40px; padding: 6px 30px 6px 12px; border-radius: 12px; text-align: right; }
.fn-cost-in i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; color: var(--dim); }
.fn-dim { color: var(--dim); }
.fn-savebar { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 12px 12px 12px 20px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: var(--ring), var(--lift); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; }
.fn-warn { color: var(--fn-warn); }

/* Настройки */
.fn-unit { position: relative; display: block; }
.fn-unit .input { padding-right: 36px; }
.fn-unit i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--dim); }
.fn-rates { display: grid; gap: 12px; }
.fn-rates > b { font-weight: 500; font-size: 14px; margin-top: 4px; }

@media (max-width: 1000px) {
  .fn-hero, .fn-two { grid-template-columns: minmax(0, 1fr); }
  .fn-tips { grid-template-columns: 1fr; }
  .fn-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fn-big { padding: 22px 20px; }
  .fn-kpis .adm-stat b { font-size: 21px; }
  .fn-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fn-bar { display: none; }
  .fn-progress .fn-bar { display: inline-block; }
  .fn-nav b { min-width: 0; }
  .fn-search { width: 100%; }
  .fn-kpis .adm-stat, .fn-stock .adm-stat { padding: 14px; }
  .fn-stock .adm-stat b { font-size: 19px; }
  .fn-big > b { font-size: 40px; }
  .fn-per { gap: 10px; }
  .fn-fl b { text-align: left; }
  .fn-form2 { grid-template-columns: 1fr; }
  .fn-t td, .fn-t th { padding: 11px 12px; }
  .fn-savebar { border-radius: 18px; }
}
/* PDF: печать отчёта без меню и кнопок */
@media print {
  .adm-side, .fn-noprint, .adm-actions, .topbar, header, footer, .site-header, .site-footer { display: none !important; }
  .adm { display: block !important; background: #fff !important; }
  .adm-main { padding: 0 !important; }
  .fn-card, .fn-hero, .fn-tw { break-inside: avoid; box-shadow: none !important; border: 1px solid #ddd; }
  .fn-big { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .fn-pl .final td, .fn-split div, .fn-spark i, .fn-pl .sum td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body::after, body::before { display: none !important; }
}

/* Поиск: Яндекс и Google (13.47) */
.seo-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.seo-facts > div { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: var(--r-md); background: #f6f7f8; font-size: 14px; min-width: 0; }
.seo-facts span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.seo-facts a { overflow-wrap: anywhere; justify-self: start; }
.seo-facts b { font-weight: 500; } .seo-facts b.ok { color: #3e6847; } .seo-facts b.warn { color: #7a5c16; }
.seo-facts small { font-size: 12.5px; color: var(--dim); }
.seo-steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 0; }
.seo-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); }
.seo-step:first-child { border-top: 0; }
.seo-step b { color: var(--text); font-weight: 500; }
.seo-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 500; background: #f0f1f3; color: var(--text); }
.seo-step.done .seo-n { background: #eef4ef; color: #3e6847; }
.seo-step .copyable { overflow-wrap: anywhere; }
@media (max-width: 900px) { .seo-facts { grid-template-columns: minmax(0, 1fr); } }

/* Почта (13.48): один раздел вместо трёх */
.mh-alert { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mh-alert b { font-weight: 500; }
.mh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.mh-card { display: grid; gap: 8px; align-content: start; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: var(--ring); transition: transform .4s var(--ease), box-shadow .4s; min-width: 0; }
.mh-card:hover { transform: translateY(-3px); box-shadow: var(--ring), var(--lift); }
.mh-card.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.mh-eb { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.mh-card b { font-weight: 400; font-size: 15px; }
.mh-card small { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-tabs { margin: 0 0 18px; }
.mh-tabs .adm-badge { margin-left: 6px; font-size: 11px; vertical-align: 1px; }
.mh-dot { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-radius: 50%; background: var(--acc); vertical-align: 2px; }
.mh-lead { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 75ch; margin: 0 0 18px; }
.mh-sub { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 16px; }
@media (max-width: 760px) { .mh-cards { grid-template-columns: minmax(0, 1fr); } }
.mh-alert { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 760px) { .mh-alert { grid-template-columns: minmax(0, 1fr); } }
.mh-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 16px 20px; border-radius: var(--r-md); background: #fff; box-shadow: var(--ring); cursor: pointer; }
.mh-toggle > span:first-child { display: grid; gap: 2px; }
.mh-toggle b { font-weight: 500; font-size: 15px; }
.mh-toggle small { font-size: 13px; color: var(--muted); }
.mh-body .ml-i, .mh-body .ml-a { border-radius: var(--r-md); }

/* Магазин не загрузился полностью — показываем текст страницы от сервера (13.49) */
.offline-bar { padding: 12px var(--gutter); background: #f6f7f8; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.offline-bar button { margin-left: 8px; border-bottom: 1px solid var(--line-strong); color: var(--text); }

/* Шапка на ноутбуке и планшете (961–1279 px): меню и вкладки «Женщинам / Мужчинам» не помещались вместе с логотипом,
   и логотип сжимался до нуля. Вкладки разделов уходят в полосу под шапкой, как на телефоне (13.48.2) */
@media (min-width: 961px) and (max-width: 1279px) {
  .gtabs-head { display: none; }
  .gbar { display: block; border-top: 1px solid var(--line); }
  .gtabs-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .gtabs-bar .gtab { text-align: center; padding: 11px 0 10px; font-size: 14px; }
  .gtabs-bar .gtab::after { bottom: -1px; left: 22%; right: 22%; }
  /* меню шире правой колонки — логотип ставим ровно посередине между меню и значками */
  .header .wrap { grid-template-columns: auto 1fr auto; }
}
/* Логотип в шапке никогда не сжимается до нуля */
.header .logo { min-width: max-content; }

/* ---------- 13.49: СДЭК пачкой, приход товара, состояние сайта ---------- */
.o-pickable td.adm-pick, .o-pickable th.adm-pick { width: 44px; padding-right: 0; }
.adm-pick input { width: 18px; height: 18px; accent-color: var(--ink); cursor: pointer; }
.o-cdek { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: #0f7a3a; background: #e8f6ee; vertical-align: middle; }
.o-bar { position: sticky; bottom: 16px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 12px 14px 12px 20px; border-radius: 20px; background: rgba(13, 14, 16, .96); color: #fff; box-shadow: 0 24px 48px -20px rgba(13, 14, 16, .6); }
.o-bar[hidden] { display: none; }
.o-bar-n { font-size: 14px; color: rgba(255, 255, 255, .75); }
.o-bar-n b { color: #fff; }
.o-bar-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.o-bar .btn.sm { min-height: 38px; }
.o-bar .btn:not(.ghost) { background: var(--acc); border-color: var(--acc); color: #fff; }
.o-bar .btn.ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.o-bar .btn:disabled { opacity: .4; }
.o-bar .link { color: rgba(255, 255, 255, .7); }
.o-intakes { display: grid; gap: 8px; margin: 0 0 16px; }
.o-intake { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: #f1f7ff; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .15); }
.o-intake > div { flex: 1; display: grid; gap: 2px; min-width: 0; }
.o-intake b { font-weight: 600; font-size: 14px; }
.o-intake small { font-size: 12.5px; color: var(--muted); }
.o-intake-ic svg { width: 26px; height: 26px; fill: none; stroke: #2563eb; stroke-width: 1.6; stroke-linejoin: round; }
.ob-list { display: grid; gap: 8px; max-height: 46vh; overflow: auto; margin-bottom: 14px; }
.ob-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: var(--surface); }
.ob-row b { display: block; font-weight: 500; font-size: 14px; }
.ob-row small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ob-msg { display: block; font-style: normal; font-size: 12.5px; margin-top: 4px; }
.ob-st { width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c9ccd2; }
.ob-row.run .ob-st { box-shadow: inset 0 0 0 2px var(--ink); border-top-color: transparent; animation: ptrSpin .8s linear infinite; background: conic-gradient(var(--ink) 0 25%, transparent 0); }
.ob-row.ok .ob-st { background: #16a34a; box-shadow: none; }
.ob-row.ok .ob-msg { color: #15803d; }
.ob-row.bad .ob-st { background: #dc2626; box-shadow: none; }
.ob-row.bad .ob-msg { color: #b91c1c; }
.ob-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ik-orders { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ik-orders span { padding: 5px 10px; border-radius: 999px; font-size: 12.5px; background: var(--surface); }
.ik-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.ik-grid.two { grid-template-columns: 1fr 1fr; }
.ik .field, .rcv .field { margin-bottom: 12px; }
.rcv-open { gap: 8px; }
.rcv-open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.rcv-lead { font-size: 14px; margin-bottom: 18px; line-height: 1.6; }
.rcv-top, .rcv-money { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; }
.rcv-grid { display: grid; gap: 10px; margin-bottom: 8px; }
.rcv-color { padding: 14px; border-radius: 16px; background: var(--surface); }
.rcv-ch { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.rcv-ch i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.rcv-ch b { font-weight: 500; }
.rcv-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.rcv-sz { display: grid; gap: 4px; text-align: center; }
.rcv-sz span { font-size: 12.5px; font-weight: 600; }
.rcv-sz .input { min-height: 42px; padding: 0 8px; text-align: center; background: #fff; }
.rcv-sz small { font-size: 11px; color: var(--muted); }
.rcv-now { font-size: 12.5px; margin: 4px 0 14px; }
.rcv-cost { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.rcv-cost label { position: relative; cursor: pointer; }
.rcv-cost input { position: absolute; opacity: 0; }
.rcv-cost span { display: grid; gap: 2px; height: 100%; padding: 10px 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; }
.rcv-cost b { font-weight: 500; font-size: 13.5px; }
.rcv-cost small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.rcv-cost input:checked + span { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.rcv-cost input:focus-visible + span { box-shadow: var(--ring); }
.rcv-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 10px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #fff6f1, #fff); box-shadow: inset 0 0 0 1px rgba(255, 90, 60, .15); }
.rcv-sum div { display: grid; gap: 2px; }
.rcv-sum span { font-size: 12px; color: var(--muted); }
.rcv-sum b { font-weight: 500; font-size: 17px; }
.rcv-hist { display: grid; gap: 6px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.rcv-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rcv-h span { display: grid; }
.rcv-h b { font-weight: 500; }
.rcv-h small { color: var(--muted); font-size: 12px; }
.site-prob { display: grid; gap: 4px; }
.site-prob span { font-size: 13.5px; }
@media (max-width: 600px) {
  .rcv-top, .rcv-money, .ik-grid.two { grid-template-columns: 1fr; }
  .ik-grid { grid-template-columns: 1fr 1fr; }
  .ik-grid > :first-child { grid-column: 1 / -1; }
  .rcv-cost, .rcv-sum { grid-template-columns: 1fr; }
  .o-bar { bottom: 8px; padding: 12px; }
  .o-bar-acts { width: 100%; }
}

/* ---------- 13.51: карточка товара — цвета, остаток, пакет на телефоне, выбор размера снизу ---------- */
.card .sub.low { color: #c2410c; font-weight: 500; }
.card-swatches { gap: 2px; margin-left: -4px; }
.card-swatches i { position: relative; cursor: pointer; margin: 4px; transition: transform .2s var(--ease), box-shadow .2s; }
.card-swatches i::before { content: ""; position: absolute; inset: -6px; } /* палец попадает в маленький кружок */
.card-swatches i:hover { transform: scale(1.2); }
.card-swatches i.on { box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .16), 0 0 0 2px var(--bg), 0 0 0 3px var(--text); }
.card-swatches i.none { opacity: .35; }
.card-swatches i:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.qa-btn { display: none; }
@media (hover: none) {
  .qa-btn { position: absolute; z-index: 3; right: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: #141619; box-shadow: 0 6px 16px -8px rgba(18, 20, 23, .45); -webkit-tap-highlight-color: transparent; }
  .qa-btn:active { transform: scale(.92); }
}
.p-sku { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.p-sku b { font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
/* Выбор размера */
.qs { display: grid; gap: 22px; }
.qs-top { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding-right: 36px; }
.qs-top img { width: 76px; height: 96px; object-fit: cover; border-radius: 12px; background: var(--surface); }
.qs-top > div { display: grid; gap: 6px; }
.qs-name { font-weight: 500; font-size: 16px; }
.qs-sku { font-size: 12px; color: var(--muted); }
.qs-row { display: grid; gap: 10px; }
.qs-l { font-size: 13px; color: var(--muted); } .qs-l b { color: var(--text); font-weight: 500; }
.qs-colors, .qs-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.qs-color { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid transparent; background: none; cursor: pointer; }
.qs-color i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(20, 20, 22, .16); }
.qs-color.on { border-color: var(--text); }
.qs-color:disabled { opacity: .35; cursor: default; }
.qs-size { min-width: 56px; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 15px; cursor: pointer; display: inline-grid; place-items: center; line-height: 1.1; color: var(--text); }
.qs-size small { font-size: 10px; color: #c2410c; }
.qs-size:hover:not(:disabled) { border-color: var(--text); }
.qs-size:disabled { color: var(--dim); text-decoration: line-through; background: var(--surface); cursor: default; }
.qs-more { font-size: 14px; justify-self: start; }
@media (max-width: 760px) {
  .modal:has(.qs) { align-items: end; padding: 0; }
  .modal:has(.qs) .modal-box { width: 100%; border-radius: 24px 24px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px)); max-height: 88vh; }
  .modal:has(.qs) .modal-box { transform: translateY(40px); }
  .modal.open:has(.qs) .modal-box { transform: none; }
}
/* Цены в одном ряду карточек — на одной линии, даже если у соседней нет кружков цвета */
.card { grid-template-rows: auto 1fr; align-content: stretch; }
.card .meta { display: flex; flex-direction: column; align-items: flex-start; }
.card .meta > .card-buy { margin-top: auto; }
/* Узкие телефоны (360 и меньше — многие Android): шапка помещается в экран, страница не шире экрана */
@media (max-width: 400px) {
  .header .wrap { gap: 6px; }
  .header .tools { gap: 0; }
  .header .tools .icon-btn, .header .burger { width: 38px; min-width: 38px; }
  .header .logo { min-width: 0; }
  .header .logo img, .header .logo svg { max-width: 100%; height: auto; }
}

/* ---------- 13.52: «Убедитесь, что размер ваш» — подбор размера под выбором ---------- */
.fc { position: relative; overflow: hidden; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; margin-top: 18px; padding: 20px 22px 20px 18px; border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, #f6f3ee 0%, rgba(246, 243, 238, 0) 55%), linear-gradient(180deg, #fbfbfa, #fff);
  box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .07), 0 18px 40px -32px rgba(18, 20, 23, .45); }
.fc::after { content: ""; position: absolute; right: -28px; top: 50%; width: 120px; height: 120px; transform: translateY(-50%); border-radius: 50%; border: 1px dashed rgba(18, 20, 23, .07); pointer-events: none; }
.fc-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .08), 0 8px 18px -12px rgba(18, 20, 23, .35); }
.fc-ic svg { width: 30px; height: 30px; }
.fc-body { display: grid; gap: 6px; min-width: 0; position: relative; z-index: 1; }
.fc-eye { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fc-title { font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; color: var(--text); }
.fc-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 46ch; }
.fc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 8px; }
.fc-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 20px; border: 0; border-radius: 999px; background: var(--text); color: #fff; font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .01em; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; box-shadow: 0 10px 22px -14px rgba(18, 20, 23, .7); }
.fc-btn i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: transform .3s var(--ease); }
.fc-btn i svg { width: 14px; height: 14px; }
.fc-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 28px -16px rgba(18, 20, 23, .75); }
.fc-btn:hover i { transform: translateX(3px); }
.fc-btn:focus-visible, .fc-link:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.fc-link { border: 0; padding: 4px 0; background: none; font: inherit; font-size: 14px; color: var(--text); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(18, 20, 23, .25); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.fc-link:hover { text-decoration-color: currentColor; }
.fc-typ { margin: 4px 0 0; font-size: 12px; color: var(--dim); }
.fc-out { font-weight: 400; color: #b45309; }
.fc.is-ok { background: radial-gradient(120% 140% at 0% 0%, #e9f5ee 0%, rgba(233, 245, 238, 0) 60%), linear-gradient(180deg, #fbfdfc, #fff); }
.fc-check { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #0f7a3a; color: #fff; }
.fc-check svg { width: 18px; height: 18px; }
.fc.is-ok .fc-ic { box-shadow: inset 0 0 0 1px rgba(15, 122, 58, .18), 0 8px 18px -12px rgba(15, 122, 58, .45); }
.fc.is-diff { background: radial-gradient(120% 140% at 0% 0%, #fbf1e4 0%, rgba(251, 241, 228, 0) 60%), linear-gradient(180deg, #fffdfa, #fff); }
.fc.is-diff .fc-ic { color: #9a5b13; }
.fc-in { animation: fcIn .55s var(--ease); }
@keyframes fcIn { from { opacity: .3; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .fc-in { animation: none; } }
@media (max-width: 480px) {
  .fc { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 18px 18px 14px; }
  .fc::after { display: none; }
  .fc-ic { width: 40px; height: 40px; } .fc-ic svg { width: 24px; height: 24px; }
  .fc-check { width: 26px; height: 26px; } .fc-title { font-size: 17px; }
  .fc-acts { margin-left: -54px; }
  .fc-acts .fc-btn { flex: 1 1 100%; justify-content: space-between; }
}
/* Результат подбора: пометка о типичной сетке */
.fit-typ { margin: 10px 0 0; font-size: 12px; color: var(--dim); }
/* Окно быстрого выбора размера: приглашение к подбору */
.qs-fit { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 16px; text-align: left; cursor: pointer; font: inherit; color: var(--text);
  background: radial-gradient(120% 160% at 0% 0%, #f6f3ee 0%, rgba(246, 243, 238, 0) 60%), #fff; box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .08); }
.qs-fit-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .08); }
.qs-fit-ic svg { width: 24px; height: 24px; }
.qs-fit-t { display: grid; gap: 2px; min-width: 0; }
.qs-fit-t b { font-size: 14px; font-weight: 500; }
.qs-fit-t span { font-size: 12px; color: var(--muted); }
.qs-fit > i { color: var(--muted); display: grid; }
.qs-size.rec { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.qs-size.rec small { color: #0f7a3a; }

/* ---------- 13.53: бонусы в карточке каталога — полупрозрачная графитовая плашка ---------- */
.card .card-bonus { align-self: flex-start; gap: 6px; margin-top: 2px; padding: 3px 10px 3px 3px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: .01em; color: var(--text); white-space: nowrap;
  background: linear-gradient(135deg, rgba(18, 20, 23, .10), rgba(18, 20, 23, .03)); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .10); }
.card .card-bonus .b-ic { width: 18px; height: 18px; font-size: 9.5px; color: #fff; background: linear-gradient(135deg, #3a3f46, #0d0e10); box-shadow: 0 3px 8px -3px rgba(13, 14, 16, .6); margin: 0; vertical-align: 0; }
@media (hover: hover) and (pointer: fine) { .card:hover .card-bonus { box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .2); } }
@media (max-width: 380px) { .card .card-bonus { font-size: 11px; padding-right: 8px; gap: 5px; } .card .card-bonus .b-ic { width: 16px; height: 16px; font-size: 8.5px; } }

/* ---------- 13.53: блок акции — один и тот же на главной и на странице «Акции» ---------- */
.deals { display: grid; gap: 16px; margin-bottom: 64px; }
.deal { background: radial-gradient(80% 120% at 0% 0%, #1d2126 0%, #0d0e10 62%); }
.deal-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.deal-tag { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.deal-tag i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--acc2), var(--acc)); box-shadow: 0 0 0 0 rgba(255, 90, 60, .6); animation: dealPulse 2.2s ease-out infinite; }
.deal-tag.soft { color: rgba(255, 255, 255, .7); background: transparent; }
.deal-rings { position: absolute; z-index: -1; left: clamp(-120px, -4vw, -40px); top: clamp(-160px, -9vw, -60px); width: clamp(300px, 34vw, 520px); aspect-ratio: 1; pointer-events: none; }
.deal-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .07); }
.deal-rings i:nth-child(2) { inset: 16%; border-style: dashed; border-color: rgba(255, 255, 255, .06); animation: dealSpin 48s linear infinite; }
.deal-rings i:nth-child(3) { inset: -20%; border-color: rgba(255, 255, 255, .035); }
@keyframes dealSpin { to { transform: rotate(360deg); } }
.deal-off { background: linear-gradient(170deg, #fff 30%, #ffc6a8 72%, #ff9a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: reduce) { .deal-rings i, .deal-tag i { animation: none; } }
@media (max-width: 760px) { .deal-rings { left: -90px; top: -90px; width: 300px; } }

/* ---------- 13.54: шкала «до бесплатной доставки» в корзине ---------- */
.fsb { display: grid; gap: 10px; margin-bottom: 16px; padding: 14px 16px 13px; border-radius: 18px; background: linear-gradient(135deg, rgba(18, 20, 23, .06), rgba(18, 20, 23, .02)); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .07); }
.fsb-top { display: flex; align-items: center; gap: 12px; }
.fsb-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .08), 0 6px 14px -10px rgba(18, 20, 23, .5); }
.fsb-t { font-size: 14px; line-height: 1.4; color: var(--muted); }
.fsb-t b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.fsb-bar { position: relative; height: 6px; border-radius: 999px; background: rgba(18, 20, 23, .08); overflow: hidden; }
.fsb-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #3a3f46, #0d0e10); transition: width .7s var(--ease); }
.fsb-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: translateX(-100%); animation: fsbShine 2.6s ease-in-out infinite; }
@keyframes fsbShine { 60%, 100% { transform: translateX(100%); } }
.fsb-note { font-size: 12px; color: var(--dim); }
.fsb.done { background: linear-gradient(135deg, rgba(15, 122, 58, .09), rgba(15, 122, 58, .02)); box-shadow: inset 0 0 0 1px rgba(15, 122, 58, .14); }
.fsb.done .fsb-ic { background: #0f7a3a; color: #fff; box-shadow: none; }
.fsb.done .fsb-ic svg { width: 16px; height: 16px; }
.fsb.done .fsb-t b { color: #0f7a3a; }
.fsb.done .fsb-bar i { background: linear-gradient(90deg, #22a35a, #0f7a3a); }
@media (prefers-reduced-motion: reduce) { .fsb-bar i::after { animation: none; } }
@media (hover: none), (pointer: coarse), (max-width: 900px) { .fsb-bar i::after { animation: none; display: none; } }

/* ---------- 13.54: страница 404 ---------- */
.nf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); min-height: min(72vh, 680px); padding: clamp(40px, 7vw, 110px) 0; }
.nf-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.nf-ring { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 154, 92, .22), rgba(255, 90, 60, .06) 60%, transparent 72%); }
.nf-ring::before, .nf-ring::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(18, 20, 23, .08); }
.nf-ring::before { inset: -4%; }
.nf-ring::after { inset: 16%; border-style: dashed; border-color: rgba(18, 20, 23, .1); animation: dealSpin 60s linear infinite; }
.nf-num { position: relative; font-weight: 200; font-size: clamp(120px, 17vw, 250px); line-height: .8; letter-spacing: -.07em; color: var(--text); }
.nf-num i { font-style: normal; background: linear-gradient(160deg, #ff9a5c, #ff5a3c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-copy { display: grid; gap: 16px; justify-items: start; max-width: 520px; }
.nf-title { margin: 0; font-weight: 300; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.04em; }
.nf-text { margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 44ch; }
.nf-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 8px; }
.nf-acts .btn { min-height: 52px; }
.btn.nf-go { gap: 14px; padding-right: 7px; }
.btn.nf-go .bn-ic { transition: transform .4s var(--ease); }
.btn.nf-go:hover .bn-ic { transform: translateX(3px); }
.nf-search { font-size: 14px; }
.nf-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); width: 100%; }
.nf-cats a { padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--text); background: #fff; box-shadow: var(--ring); transition: box-shadow .2s; }
.nf-cats a:hover { box-shadow: inset 0 0 0 1px var(--text); }
@media (max-width: 760px) {
  .nf { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding: 24px 0 72px; }
  .nf-art { max-width: 210px; } .nf-num { font-size: 96px; }
  .nf-acts .btn { flex: 1 1 100%; justify-content: space-between; }
  .nf-acts .btn.ghost { justify-content: center; }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) { .nf-ring::after { animation: none; } }

/* ---------- 13.55: срок и цена доставки на странице товара ---------- */
.pship { display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--r-md, 18px); background: var(--paper); box-shadow: inset 0 0 0 1px rgba(18, 20, 23, .08); }
.pship-head { display: flex; align-items: center; gap: 12px; }
.pship-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--text); }
.pship-t { font-size: 15px; font-weight: 500; }
.pship-city { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; color: var(--text); cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-decoration-color: rgba(18, 20, 23, .35); text-underline-offset: 4px; }
.pship-city:hover { text-decoration-color: currentColor; }
.pship-city:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
.pship-rows { display: grid; gap: 2px; }
.pship-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.pship-row:first-child { border-top: 0; padding-top: 2px; }
.pship-n, .pship-p { display: grid; gap: 2px; font-size: 14px; }
.pship-p { text-align: right; justify-items: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pship small { font-size: 12.5px; color: var(--muted); }
.pship .ok { color: #0f7a3a; font-weight: 600; }
.pship-note { margin: 0; font-size: 12px; color: var(--dim); }
.pship-skel { height: 18px; border-radius: 6px; background: linear-gradient(90deg, var(--surface), #fff, var(--surface)); background-size: 200% 100%; animation: pshipSk 1.2s linear infinite; }
.pship-skel + .pship-skel { width: 70%; margin-top: 10px; }
@keyframes pshipSk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .pship-skel { animation: none; } }
/* Выбор города */
.shipc { display: grid; gap: 14px; }
.shipc h3 { font-size: 34px; margin-top: -8px; }
.shipc-list { list-style: none; margin: -6px 0 0; padding: 0; display: grid; max-height: 280px; overflow: auto; }
.shipc-list li { display: grid; gap: 2px; padding: 11px 12px; border-radius: 12px; cursor: pointer; font-size: 15px; }
.shipc-list li span { font-size: 12.5px; color: var(--muted); }
.shipc-list li:hover { background: var(--surface); }
.shipc-list li.muted { cursor: default; background: none; font-size: 14px; }
.shipc-quick { display: flex; flex-wrap: wrap; gap: 8px; }
