/* Шрифты локально (Google Fonts, OFL): Cormorant Garamond, Inter — кириллица и латиница */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../themes/maxima/assets/fonts/inter-normal-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../themes/maxima/assets/fonts/inter-normal-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; }
/* Cormorant тоньше и мельче прежнего шрифта: веса 300–400 из CSS берут файл 500, вес 500 — файл 600; size-adjust подравнивает размер */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 400; font-display: swap; size-adjust: 112%; src: url(../themes/maxima/assets/fonts/cormorant-normal-500-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 400; font-display: swap; size-adjust: 112%; src: url(../themes/maxima/assets/fonts/cormorant-normal-500-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; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; size-adjust: 112%; src: url(../themes/maxima/assets/fonts/cormorant-normal-600-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; size-adjust: 112%; src: url(../themes/maxima/assets/fonts/cormorant-normal-600-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; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap; size-adjust: 112%; src: url(../themes/maxima/assets/fonts/cormorant-italic-500-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 400; font-display: swap; size-adjust: 112%; src: url(../themes/maxima/assets/fonts/cormorant-italic-500-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; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; size-adjust: 112%; src: url(../themes/maxima/assets/fonts/cormorant-italic-600-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; size-adjust: 112%; src: url(../themes/maxima/assets/fonts/cormorant-italic-600-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; }

/* Токены сайта: цвета, шрифты, размеры — из эталона B «Классика». В блоках — только эти переменные. */
:root {
    --brand: #b0135f;          /* малиновый: кнопки, акценты */
    --brand-dark: #860c48;
    --pink: #f7dbe8;
    --pink-2: #fcf0f5;
    --plum: #3d0f2c;           /* тёмные блоки: первый экран, консультация */
    --plum-dark: #2b0a1f;      /* подвал */
    --topbar: #2b1824;
    --ink: #1c1519;
    --ink-2: #51474e;
    --muted: #6f646b;
    --line: #ebe5e9;
    --surface: #fff;
    --surface-2: #f6f4f5;
    --on-brand: #fff;
    --viber: #7360f2;
    --telegram: #29a9eb;
    --whatsapp: #25d366;

    --font-head: "Cormorant Garamond", Georgia, serif;
    --font-body: "Inter", system-ui, sans-serif;
    --fs-body: 15px;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;

    --container: 1600px;       /* вместе с полями */
    --gutter: 48px;
    --section: 88px;           /* отступ между блоками главной */

    --shadow: 0 18px 40px rgba(28, 21, 25, .12);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1024px) {
    :root { --gutter: 24px; }
}

@media (max-width: 760px) {
    :root { --gutter: 16px; --section: 56px; --fs-body: 14.5px; }
}

*, *::before, *::after { box-sizing: border-box; font-feature-settings: "lnum" 1 !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 var(--fs-body)/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 400; }
em { font-style: italic; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
svg { flex: none; }
/* Системные стили браузера: подсветка автозаполнения, стрелки number, крестик search, тень iOS */
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { -webkit-appearance: none; appearance: none; border-radius: 0; }
input[type="checkbox"], input[type="radio"] { -webkit-appearance: auto; appearance: auto; }
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    -webkit-text-fill-color: var(--ink); caret-color: var(--ink);
    -webkit-box-shadow: 0 0 0 1000px var(--surface) inset; box-shadow: 0 0 0 1000px var(--surface) inset;
    transition: background-color 9999s ease-out 0s; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
::-ms-reveal, ::-ms-clear { display: none; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Общие элементы: кнопки, заголовки блоков, метки, вкладки, логотип. В блоках свои не рисовать. */

/* Кнопки */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 30px; border: 0; border-radius: 27px;
    font: 600 14.5px/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { background: var(--brand-dark); }
.btn--white { background: var(--surface); color: var(--ink); }
.btn--white:hover { background: var(--pink); }
.btn--pink { background: var(--pink); color: var(--plum); }
.btn--pink:hover { background: var(--surface); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }   /* на тёмном фоне */
.btn--ghost:hover { border-color: #fff; }
.btn:disabled { opacity: .5; cursor: default; }

/* Заголовок блока: «Категории … Весь каталог →» */
.section { padding-top: var(--section); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.section__title { font: 400 44px/1.1 var(--font-head); }
/* выделенное *словом* в заголовках — без курсива и цвета: заголовки ровные, классические */
.section__title em, .accent em { font-style: normal; color: inherit; }
.more { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.more:hover { color: var(--brand); }

/* Стрелки ленты */
.arrows { display: flex; gap: 8px; }
.arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; }
.arrows button:hover { border-color: var(--ink); }

/* Вкладки-пилюли */
.pills { display: flex; gap: 6px; }
.pills button { height: 40px; padding: 0 20px; border-radius: 20px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.pills button:hover { border-color: var(--ink); }
.pills button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Метки товара */
.tag { height: 26px; padding: 0 12px; border-radius: 13px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; }
.tag--new { background: var(--surface); color: var(--plum); }
.tag--sale { background: var(--brand); color: var(--on-brand); }

/* Логотип */
.logo { display: block; line-height: 1; flex: none; }
.logo__name { display: block; font: italic 500 40px/1 var(--font-head); color: var(--brand); }
.logo__sub { display: block; font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* Аватар-буква консультанта */
.ava { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 600 24px/1 var(--font-body); flex: none; }

/* Иконки из спрайта (partials/site/icons) */
.i { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.5; }

@media (max-width: 760px) {
    .section__head { margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
    .section__title { font-size: 30px; }
    .arrows { display: none; }
    .pills { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
    .pills button { height: 36px; padding: 0 14px; font-size: 13px; }
}

/* Поля форм: корзина, кабинет. .fields — сетка в две колонки, .fld — подпись + поле + подсказка/ошибка [data-error] */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields--dlv { margin-top: 16px; }
.fields .full { grid-column: 1 / -1; }
.fld { min-width: 0; margin: 0; padding: 0; border: 0; }
.fld > label, .fld > legend { display: block; padding: 0; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.fld label em { font-style: normal; color: var(--brand); }
.fld input, .fld textarea { width: 100%; height: 52px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; font: inherit; font-size: 15px; outline: 0; background: #fff; color: var(--ink); }
.fld textarea { display: block; height: 88px; padding: 14px 18px; resize: vertical; }
.fld input:focus, .fld textarea:focus { border-color: var(--brand); }
.fld small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.fld input[aria-invalid="true"] { border-color: #d1243c; background: #fff6f7; }
.fld small[data-error] { color: #d1243c; }
.fld:has([aria-invalid="true"]) small:not([data-error]) { display: none; }

@media (max-width: 760px) {
    .fields { grid-template-columns: 1fr; }
}

/* Строка над шапкой */
.topbar { background: var(--topbar); color: rgba(255, 255, 255, .78); font-size: 12.5px; }
.topbar__in { display: flex; align-items: center; gap: 32px; height: 38px; }
.topbar__msg { display: flex; align-items: center; gap: 10px; color: #fff; }
.topbar__msg em { font-style: normal; font-weight: 600; color: var(--pink); }
.topbar__msg .i { width: 18px; height: 18px; stroke: var(--pink); }
.topbar__links { display: flex; gap: 24px; margin-left: auto; }
.topbar__links a:hover, .topbar__phone:hover b { color: var(--pink); }
.topbar__phone b { font-weight: 600; color: #fff; margin-right: 8px; }

/* Шапка */
.header { background: var(--surface); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--line); }
.header__row { display: flex; align-items: center; gap: 40px; height: 84px; }
.header__burger { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; flex: none; }
.header__burger .i { stroke-width: 1.7; }
.header__right { display: flex; align-items: center; gap: 4px; flex: none; }

/* Поиск */
.search { flex: 1; max-width: 620px; margin: 0 auto; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 5px 0 18px;
    border-radius: 24px; border: 1.5px solid var(--line); background: var(--surface); font-size: 14.5px; transition: border-color .2s; }
.search:focus-within, .search:hover { border-color: var(--brand); }
.search .i { width: 19px; height: 19px; stroke: var(--ink-2); stroke-width: 1.7; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; }
.search__go { height: 38px; padding: 0 20px; border-radius: 19px; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 600; }
.search__go:hover { background: var(--brand-dark); }

/* Мой размер */
.mysize { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 5px; margin-right: 12px; border-radius: 24px; background: var(--pink-2); transition: background .2s; }
.mysize:hover { background: var(--pink); }
.mysize__v { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font: 600 15px/1 var(--font-body); white-space: nowrap; }
.mysize__t { font-size: 13px; font-weight: 600; line-height: 1.2; }
.mysize__t small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }

/* Значки: кабинет, избранное, корзина */
.hicon { min-width: 64px; height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative; border-radius: var(--radius); }
.hicon .i { width: 23px; height: 23px; stroke: var(--ink); transition: stroke .15s; }
.hicon__t { font-size: 11.5px; color: var(--ink-2); transition: color .15s; }
.hicon:hover .i { stroke: var(--brand); }
.hicon:hover .hicon__t { color: var(--brand); }
.hicon__n { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }

/* Меню каталога */
.nav { display: flex; align-items: stretch; height: 50px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.nav__it { position: relative; display: flex; }
.nav__it--sale { margin-left: auto; }
.nav__link { display: flex; align-items: center; padding: 0 16px; white-space: nowrap; transition: color .15s; }
.nav__it:first-child .nav__link { padding-left: 0; }
.nav__link:hover, .nav__it:hover > .nav__link { color: var(--brand); }
.nav__link[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px var(--brand); }
.nav__link--sale { align-self: center; height: 34px; padding: 0 16px; border-radius: 17px; background: var(--pink-2); color: var(--brand); font-weight: 600; box-shadow: none; }
.nav__it .nav__link--sale:hover { background: var(--brand); color: #fff; }
.nav__chev { width: 11px; height: 11px; margin-left: 6px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .5; transition: transform .2s, opacity .2s; }
.nav__it:hover .nav__chev, .nav__it:focus-within .nav__chev { transform: rotate(180deg); opacity: 1; }

/* Выпадающие подразделы */
.dd { position: absolute; top: 100%; left: -8px; z-index: 30; display: none; grid-template-columns: 220px 150px; gap: 20px; min-width: 410px; padding: 22px 24px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); }
.nav__it:hover .dd, .nav__it:focus-within .dd { display: grid; }
.nav__it:nth-last-child(-n+3) .dd { left: auto; right: -8px; }
.dd a { display: block; padding: 8px 0; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.dd a:hover { color: var(--brand); }
.dd .dd__all { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; color: var(--brand); }
.dd img { width: 150px; height: 190px; object-fit: cover; object-position: 50% 25%; border-radius: 10px; }

/* Шторка-меню (телефон) */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer[aria-hidden="false"] { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(28, 21, 25, .45); opacity: 0; transition: opacity .25s; }
.drawer[aria-hidden="false"] .drawer__bg { opacity: 1; }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 380px); background: var(--surface); transform: translateX(-100%); transition: transform .25s; display: flex; flex-direction: column; overflow-y: auto; }
.drawer[aria-hidden="false"] .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__top .logo__name { font-size: 30px; }
.drawer__x { width: 44px; height: 44px; font-size: 28px; line-height: 1; color: var(--ink-2); }
.drawer__it { border-bottom: 1px solid var(--line); }
.drawer__h { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 20px; font-size: 16px; font-weight: 600; text-align: left; }
.drawer__h img { width: 40px; height: 48px; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-sm); }
.drawer__h span { flex: 1; }
.drawer__h i { width: 9px; height: 9px; border-right: 1.6px solid var(--ink-2); border-bottom: 1.6px solid var(--ink-2); transform: rotate(45deg); margin: -4px 4px 0; transition: transform .2s; }
.drawer__h[aria-expanded="true"] i { transform: rotate(-135deg); margin-top: 4px; }
.drawer__it--sale .drawer__h { color: var(--brand); }
.drawer__subs { padding: 0 20px 14px 74px; }
.drawer__subs a { display: block; padding: 9px 0; font-size: 15px; color: var(--ink-2); }
.drawer__subs .drawer__all { font-weight: 600; color: var(--brand); }
.drawer__foot { margin-top: auto; padding: 20px; background: var(--surface-2); }
.drawer__tel { display: block; font: 600 24px/1.2 var(--font-body); }
.drawer__foot small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.drawer__msg { display: flex; gap: 8px; margin-top: 14px; }
.drawer__msg a { flex: 1; height: 42px; display: grid; place-items: center; border-radius: 21px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.drawer__cab { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; }

@media (max-width: 1280px) {
    .topbar__links { display: none; }
    .topbar__phone { margin-left: auto; }
    .header__row { gap: 24px; }
    .mysize__t { display: none; }
    .mysize { padding: 0 5px; margin-right: 4px; }
    .hicon__t { display: none; }
    .hicon { min-width: 44px; height: 44px; border-radius: 50%; }
    .hicon__n { top: 3px; left: auto; right: 1px; }
    .nav { font-size: 14px; }
    .nav__link { padding: 0 10px; }
    .nav__chev { margin-left: 4px; }
}

@media (max-width: 1024px) {
    .search__go { display: none; }
    .nav { overflow-x: auto; scrollbar-width: none; }
    .nav::-webkit-scrollbar { display: none; }
    .nav__it--sale { margin-left: 0; }
    .dd, .nav__chev { display: none !important; }
    .header__burger { display: grid; margin-right: -12px; }
}

@media (max-width: 760px) {
    .topbar { font-size: 11.5px; }
    .topbar__in { height: auto; padding-top: 8px; padding-bottom: 8px; justify-content: center; text-align: center; }
    .topbar__msg .i, .topbar__phone { display: none; }
    .header__row { height: 64px; gap: 4px; }
    .search { order: 1; flex: none; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; justify-content: center; }
    .search input { display: none; }
    .header__row .logo { order: 2; flex: 1; text-align: center; }
    .header__row .logo__name { font-size: 30px; }
    .header__row .logo__sub { font-size: 8px; letter-spacing: .26em; margin-top: 4px; }
    .header__right { order: 3; gap: 0; }
    .mysize, .hicon--cabinet { display: none; }
    .hicon { min-width: 40px; width: 40px; height: 40px; }
    .nav { height: 46px; font-size: 13.5px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
    .nav__link { padding: 0 11px; }
    .nav__link--sale { height: 30px; }
}

/* Подсказки поиска под полем в шапке (search-suggest.js) */
.search { position: relative; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; padding: 8px; border-radius: var(--radius-lg);
    background: var(--surface); box-shadow: var(--shadow); font-size: 14px; }
.suggest__item { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 6px 10px 6px 6px; border-radius: var(--radius); }
.suggest__item:hover, .suggest__item[aria-selected="true"] { background: var(--surface-2); }
.suggest__item img { width: 44px; height: 55px; border-radius: var(--radius-sm); object-fit: cover; }
.suggest__name { font-weight: 600; line-height: 1.3; }
.suggest__name small { display: block; font-weight: 400; color: var(--muted); }
.suggest__price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.suggest__price s { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); text-align: right; }
.suggest__all { display: block; margin-top: 4px; padding: 12px 10px; border-top: 1px solid var(--line); font-weight: 600; color: var(--brand); }
.suggest__all:hover, .suggest__all[aria-selected="true"] { color: var(--brand-dark); }
.suggest__none { padding: 14px 10px; color: var(--muted); }

@media (max-width: 760px) {
    .suggest { display: none; }   /* на телефоне поля в шапке нет — поиск на странице /search */
}

/* Первый экран: подбор по размеру */
.hero { padding-top: 24px; }
.hero__box { display: grid; grid-template-columns: minmax(0, 1fr) 560px; min-height: 640px; border-radius: var(--radius-lg); overflow: hidden; background: var(--plum); color: #fff; }
.hero__body { padding: 56px 64px 52px; display: flex; flex-direction: column; }
.hero__kick { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); }
.hero__title { font: 400 54px/1.08 var(--font-head); margin-top: 18px; max-width: 720px; }
.hero__title em { font-style: normal; color: inherit; }
.hero__lead { margin-top: 16px; max-width: 560px; font-size: 16px; opacity: .82; }

/* Строка чашек A–N */
.cups { margin-top: 22px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cups__label { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); }
.cups__row { display: flex; gap: 4px; flex-wrap: wrap; }
.cups__row span { width: 34px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-sm); background: rgba(247, 219, 232, .12); font: 600 22px/1 var(--font-body); color: #fff; }
.cups__row span:first-child, .cups__row span:last-child { background: var(--pink); color: var(--plum); }

/* Сетка размеров */
.hero__fit { margin-top: auto; padding-top: 28px; display: grid; gap: 20px; }
.sz-wrap { min-width: 0; }
.sz { display: grid; grid-template-columns: 36px repeat(14, minmax(0, 1fr)); gap: 4px; }
.sz__h { height: 30px; display: grid; place-items: center; font: 600 17px/1 var(--font-body); color: var(--pink); }
.sz__r { height: 30px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.sz__cell { height: 30px; border-radius: 5px; background: rgba(255, 255, 255, .07); font-size: 10.5px; letter-spacing: -.02em; font-weight: 700; color: transparent; transition: background .15s; }
.sz__cell[data-cross] { background: rgba(255, 255, 255, .14); }
button.sz__cell:hover { background: rgba(247, 219, 232, .45); color: #fff; }
.sz__cell[aria-pressed="true"] { background: var(--pink); color: var(--plum); }
.sz__cell--none { background: none; border: 1px dashed rgba(255, 255, 255, .14); }
.sz__note { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }

/* Выбранный размер */
.pick { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 24px; align-items: center; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; }
.pick__label { grid-column: 2; align-self: end; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.pick__size { grid-row: 1 / 3; grid-column: 1; font: 500 64px/1 var(--font-body); }
.pick__size small { font-size: .5em; color: var(--pink); margin-left: 6px; }
.pick__count { grid-column: 2; align-self: start; font-size: 14.5px; opacity: .85; }
.pick .btn { grid-row: 1 / 3; grid-column: 3; }

/* Фото с плашкой товара */
.hero__ph { position: relative; }
.hero__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__tag { position: absolute; right: 24px; bottom: 24px; width: 300px; background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 16px 20px; font-size: 13px; line-height: 1.4;
    display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; }
.hero__tag b { font-size: 14.5px; font-weight: 600; }
.hero__tag em { grid-row: 1 / 3; grid-column: 2; font: 600 26px/1 var(--font-body); color: var(--brand); }
.hero__tag:hover b { color: var(--brand); }

@media (max-width: 1024px) {
    .hero__box { grid-template-columns: 1fr; }
    .hero__ph { order: -1; height: 420px; }
    .hero__body { padding: 40px; }
    .hero__fit { gap: 28px; }
}

@media (max-width: 760px) {
    .hero { padding-top: 12px; }
    .hero__box { min-height: 0; border-radius: 14px; }
    .hero__ph { height: 300px; }
    .hero__tag { right: 12px; bottom: 12px; width: auto; left: 12px; padding: 12px 14px; }
    .hero__tag em { font-size: 21px; }
    .hero__body { padding: 28px 20px; }
    .hero__kick { font-size: 11px; }
    .hero__title { font-size: 34px; }
    .hero__lead { font-size: 14.5px; }
    .hero__fit { padding-top: 24px; gap: 20px; }
    .cups { gap: 10px; margin-top: 18px; }
    .cups__row { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; flex: 0 0 100%; }
    .cups__row span { width: auto; height: 30px; font-size: 15px; border-radius: 5px; }
    .sz-wrap { overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
    .sz-wrap::-webkit-scrollbar { display: none; }
    .sz { grid-template-columns: 28px repeat(14, 30px); gap: 3px; width: max-content; }
    .sz__h { font-size: 15px; height: 26px; }
    .sz__r { font-size: 12px; height: 32px; }
    .sz__cell { height: 32px; font-size: 9px; }
    .pick { grid-template-columns: auto 1fr; column-gap: 16px; }
    .pick__size { font-size: 56px; }
    .pick .btn { grid-row: auto; grid-column: 1 / -1; justify-content: center; margin-top: 16px; }
}

/* Преимущества — сразу под первым экраном */
.perks-block { padding-top: 20px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); }
.perk { display: flex; align-items: center; gap: 16px; padding: 22px 26px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk .i { width: 30px; height: 30px; stroke: var(--brand); stroke-width: 1.4; }
.perk b { display: block; font-weight: 600; font-size: 14.5px; }
.perk span { font-size: 13px; color: var(--muted); }

@media (max-width: 760px) {
    .perks-block { padding-top: 12px; }
    .perks { grid-template-columns: 1fr 1fr; }
    .perk { padding: 14px; gap: 10px; align-items: flex-start; }
    .perk + .perk { border-left: 0; }
    .perk:nth-child(even) { border-left: 1px solid var(--line); }
    .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
    .perk .i { width: 24px; height: 24px; }
    .perk b { font-size: 13px; }
    .perk span { font-size: 12px; }
}

/* Категории — фото в арках */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat { display: block; text-align: center; }
.cat__ph { aspect-ratio: 3 / 4.2; overflow: hidden; background: var(--pink); isolation: isolate; border-radius: 200px 200px 12px 12px; clip-path: inset(0 round 200px 200px 12px 12px); }
.cat__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; mix-blend-mode: multiply; transition: transform .6s; }
.cat:hover img { transform: scale(1.04); }
.cat__name { margin-top: 16px; font: 400 21px/1.2 var(--font-head); }
.cat:hover .cat__name { color: var(--brand); }
.cat__sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

@media (max-width: 1024px) {
    .cats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
    .cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 38%; overflow-x: auto; scrollbar-width: none; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
    .cats::-webkit-scrollbar { display: none; }
    .cat__name { font-size: 17px; margin-top: 10px; }
    .cat__sub { font-size: 11.5px; }
}

/* Лента товаров: 4 карточки на экране, прокрутка стрелками */
.products__tabs { margin-left: 44px; margin-right: auto; align-self: center; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }

@media (max-width: 1024px) {
    .products__tabs { margin-left: 0; }
}

@media (max-width: 760px) {
    .products__tabs { margin: 0; }
    .rail { grid-auto-columns: 72%; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); }
}

/* Консультация по размеру */
.consult { display: grid; grid-template-columns: 5fr 7fr; border-radius: var(--radius-lg); overflow: hidden; min-height: 600px; background: var(--plum); color: #fff; }
.consult__ph { position: relative; }
.consult__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.consult__note { position: absolute; left: 28px; right: 28px; bottom: 28px; background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 14px; align-items: center; font-size: 13.5px; line-height: 1.45; }
.consult__note b { display: block; font-size: 14.5px; }
.consult__body { padding: 56px 64px; display: flex; flex-direction: column; }
.consult__kick { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.consult__title { font: 400 44px/1.1 var(--font-head); margin-top: 44px; }
.consult__title em { font-style: normal; color: inherit; }
.consult__text { margin-top: 10px; font-size: 15px; opacity: .7; }
.consult__list { list-style: none; display: grid; gap: 12px; margin-top: 30px; }
.consult__list li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 14px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.consult__list li::before { content: ""; grid-row: 1 / 3; width: 28px; height: 28px; border-radius: 50%;
    background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d0f2c' stroke-width='2.4'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.consult__list b { font-weight: 600; font-size: 16px; }
.consult__list span { font-size: 14px; opacity: .7; }
.consult__call { margin-top: auto; padding-top: 28px; display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.consult__tel { font: 500 44px/1 var(--font-body); color: #fff; }
.consult__tel:hover { color: var(--pink); }
.consult__time { font-size: 14px; opacity: .65; }
.consult__via { margin-top: 20px; }

@media (max-width: 1024px) {
    .consult { grid-template-columns: 1fr; }
    .consult__ph { display: none; }
}

@media (max-width: 760px) {
    .consult { border-radius: 14px; min-height: 0; }
    .consult__body { padding: 28px 20px; }
    .consult__title { font-size: 30px; margin-top: 28px; }
    .consult__text { font-size: 13.5px; }
    .consult__tel { font-size: 32px; }
    .consult__via .contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Большие размеры */
.big { display: grid; grid-template-columns: 1fr 1.35fr 1fr; border-radius: var(--radius-lg); overflow: hidden; height: 560px; }
.big__ph { position: relative; overflow: hidden; }
.big__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.big__mid { background: var(--pink); padding: 48px 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.big__kick { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); }
.big__nums { display: flex; align-items: flex-end; gap: 28px; margin-top: 22px; }
.big__num { white-space: nowrap; font: 500 104px/.85 var(--font-body); color: var(--brand); }
.big__num small { display: block; font: 500 12.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 14px; }
.big__plus { font: 300 48px/1 var(--font-body); color: var(--brand); opacity: .5; padding-bottom: 40px; }
.big__text { margin-top: 30px; font-size: 16px; color: var(--ink-2); max-width: 380px; }
.big__sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.big__sizes a { height: 36px; min-width: 56px; padding: 0 12px; border-radius: 18px; background: var(--surface); font-size: 13.5px; font-weight: 600; display: grid; place-items: center; }
.big__sizes a:hover { background: var(--brand); color: #fff; }
.big .btn { margin-top: 30px; }

@media (max-width: 1024px) {
    .big { grid-template-columns: 1fr 1.4fr; }
    .big__ph:last-child { display: none; }
}

@media (max-width: 760px) {
    .big { grid-template-columns: 1fr; height: auto; border-radius: 14px; }
    .big__ph:first-child { height: 260px; }
    .big__mid { padding: 32px 20px; }
    .big__num { font-size: 56px; }
    .big__num small { font-size: 10px; letter-spacing: .08em; }
    .big__nums { gap: 10px; }
    .big__plus { font-size: 32px; padding-bottom: 28px; }
    .big__text { font-size: 14.5px; margin-top: 22px; }
}

/* Как заказать */
.how { display: grid; grid-template-columns: 440px 1fr; gap: 72px; align-items: stretch; }
.how__lead { margin-top: 16px; color: var(--ink-2); font-size: 16px; max-width: 400px; }
.steps { list-style: none; margin-top: 36px; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; padding: 20px 0; border-top: 1px solid var(--line); counter-increment: step; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before { content: "0" counter(step); font: 600 30px/1 var(--font-body); color: var(--brand); }
.step b { font-size: 16px; font-weight: 600; }
.step p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Видеообзоры */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr auto; gap: 20px; }
.reel { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); display: block; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .6s; }
.reel:hover img { transform: scale(1.04); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(28, 10, 22, .75)); }
.reel__play { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; z-index: 2; }
.reel__play .i { width: 20px; height: 20px; fill: var(--brand); stroke: none; margin-left: 3px; }
.reel__cap { position: absolute; left: 18px; right: 18px; bottom: 18px; color: #fff; z-index: 2; font-size: 14px; font-weight: 600; line-height: 1.35; }
.reel__cap small { display: block; font-weight: 500; font-size: 12px; opacity: .8; margin-top: 4px; }
.reels__more { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; font-size: 14px; color: var(--ink-2); }

@media (max-width: 1024px) {
    .how { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
    .how { gap: 28px; }
    .how__lead { font-size: 14.5px; }
    .reels { display: flex; overflow-x: auto; scrollbar-width: none; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
    .reels::-webkit-scrollbar { display: none; }
    .reel { min-height: 0; aspect-ratio: 9 / 16; flex: 0 0 62%; }
    .reels__more { flex: 0 0 46%; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 0 8px; font-size: 13.5px; }
}

/* Карточка товара */
.card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; }
.card__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); display: block; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: opacity .35s; }
.card__img img + img { opacity: 0; }
.card:hover .card__img img + img { opacity: 1; }
.card__tags { position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.card__fav { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(28, 21, 25, .12); }
.card__fav .i { width: 19px; height: 19px; stroke: var(--ink); stroke-width: 1.6; }
.card__fav:hover .i { stroke: var(--brand); }
.card__fav[aria-pressed="true"] .i { stroke: var(--brand); fill: var(--brand); }
.card__name { margin-top: 16px; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.card__name:hover { color: var(--brand); }
.card__attr { margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.card__sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.card__sizes span { height: 26px; min-width: 40px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; display: grid; place-items: center; color: var(--ink-2); }
.card__sizes span[aria-current="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }   /* размер посетителя */
.card__price { margin-top: auto; padding-top: 14px; display: flex; align-items: baseline; gap: 10px; }
.card__price b { font-size: 19px; font-weight: 700; }
.card__price .card__price--sale { color: var(--brand); }
.card__price s { color: var(--muted); font-size: 14px; }

@media (max-width: 760px) {
    .card__name { margin-top: 12px; font-size: 14px; }
    .card__attr { font-size: 12.5px; }
    .card__price b { font-size: 17px; }
}

/* Кнопки связи: позвонить + мессенджеры */
.contacts { display: flex; flex-wrap: wrap; gap: 10px; }
.contacts__btn { height: 54px; padding: 0 24px; border-radius: 27px; border: 1px solid var(--line); background: var(--surface); display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.contacts__btn:hover { border-color: var(--ink); }
.contacts__btn--tel { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.contacts__btn--tel:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.contacts__btn .i { width: 20px; height: 20px; }
.contacts__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); flex: none; }
.contacts__dot--telegram { background: var(--telegram); }
.contacts__dot--viber { background: var(--viber); }
.contacts__dot--whatsapp { background: var(--whatsapp); }

/* на тёмном фоне */
.contacts--dark .contacts__btn { background: none; border-color: rgba(255, 255, 255, .3); color: #fff; }
.contacts--dark .contacts__btn:hover { border-color: #fff; color: #fff; }
.contacts--dark .contacts__btn--tel { background: #fff; border-color: #fff; color: var(--ink); }
.contacts--dark .contacts__btn--tel:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }

/* телефон во всю ширину, мессенджеры — в ряд под ним */
@media (max-width: 760px) {
    .contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .contacts__btn { justify-content: center; padding: 0 8px; gap: 8px; font-size: 14px; }
    .contacts__btn--tel { grid-column: 1 / -1; font-size: 16px; }
}

/* Раздел каталога: крошки, шапка с подразделами, фильтр, товары, «Как подобрать», звонок */
.crumbs { display: flex; gap: 10px; padding-top: 24px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }

/* шапка раздела */
.ch { padding-top: 20px; }
.ch__top { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: end; }
.ch__title { font: 400 56px/1 var(--font-head); }
.ch__title sup { font: 500 15px/1 var(--font-body); color: var(--muted); vertical-align: top; margin-left: 6px; }
.ch__lead { max-width: 560px; color: var(--ink-2); font-size: 15.5px; justify-self: end; }
.subs { display: grid; grid-template-columns: repeat(max(6, var(--subs)), 1fr); gap: 16px; margin-top: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.sub { display: flex; align-items: center; gap: 14px; padding: 8px 18px 8px 8px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; font-size: 14px; line-height: 1.25; }
.sub:hover { border-color: var(--ink); }
.sub[aria-current] { border-color: var(--brand); color: var(--brand); }
.sub__ph { width: 52px; height: 64px; flex: none; border-radius: 40px 40px 6px 6px; overflow: hidden; background: var(--pink); }
.sub__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* сетка: фильтр + товары */
.cl { padding-top: 36px; }
.cl__grid { display: grid; grid-template-columns: 336px 1fr; gap: 48px; align-items: start; }
.cl__main { min-width: 0; transition: opacity .2s; }
.cl__main[aria-busy="true"] { opacity: .45; }

/* фильтр */
.flt { position: sticky; top: 150px; max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: none; }
.flt::-webkit-scrollbar { display: none; }
.flt__size { border: 0; background: var(--plum); color: #fff; border-radius: var(--radius-lg); padding: 24px; }
.flt__label { float: left; width: 100%; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.flt__mine { clear: both; display: flex; align-items: baseline; gap: 12px; padding-top: 8px; }
.flt__mine b { font: 500 52px/1 var(--font-body); color: var(--pink); }
.flt__mine span { font-size: 13px; opacity: .7; }
.flt__mine b:empty::before { content: "не выбран"; font-size: 26px; opacity: .55; }
.flt__sub { font-size: 13px; opacity: .75; margin: 18px 0 8px; }
.flt__how { display: block; margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--pink); }
.flt__how:hover { color: #fff; }
.chips { display: grid; grid-template-columns: repeat(var(--chips, 7), 1fr); gap: 4px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { height: 34px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .25); font-size: 13px; font-weight: 600; display: grid; place-items: center; cursor: pointer; }
.chips span:hover { border-color: #fff; }
.chips input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.chips [data-empty] span { opacity: .3; }
.chips [data-empty] span:hover { border-color: rgba(255, 255, 255, .25); }
.chips [data-empty] input:checked + span { opacity: .6; }
.flt__hint { margin: 8px 0 0; font-size: 12.5px; opacity: .7; }
.chips input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }
.flt__more { display: none; width: 100%; height: 48px; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; background: none; }
.flt__grp { border-bottom: 1px solid var(--line); padding: 20px 0; }
.flt__grp summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; }
.flt__grp summary::-webkit-details-marker { display: none; }
.flt__grp summary::after { content: "–"; color: var(--muted); }
.flt__grp:not([open]) summary::after { content: "+"; }
.flt__grp > :not(summary):first-of-type { margin-top: 14px; }
.flt__submit { width: 100%; justify-content: center; margin-top: 20px; }
.chk { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 14.5px; cursor: pointer; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.chk i { width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid #cfc6cc; flex: none; display: grid; place-items: center; }
.chk input:checked + i { background: var(--brand); border-color: var(--brand); }
.chk input:checked + i::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.chk input:focus-visible + i { outline: 2px solid var(--brand); outline-offset: 2px; }
.chk small { margin-left: auto; color: var(--muted); font-size: 13px; }
.sw { display: flex; flex-wrap: wrap; gap: 10px; }
.sw__item { position: relative; cursor: pointer; }
.sw__item input { position: absolute; opacity: 0; pointer-events: none; }
.sw__item span { display: block; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .14); box-shadow: 0 0 0 3px var(--surface); }
.sw__item input:checked + span { box-shadow: 0 0 0 3px var(--surface), 0 0 0 4.5px var(--ink); }
.sw__item input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 5px; }
.range { position: relative; height: 24px; margin: 4px 10px 14px; }
.range::before, .range::after { content: ""; position: absolute; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; }
.range::before { left: 0; right: 0; background: var(--line); }
.range::after { left: var(--from); right: calc(100% - var(--to)); background: var(--brand); }
.range input { position: absolute; inset: 0 -10px; width: calc(100% + 20px); margin: 0; background: none; appearance: none; -webkit-appearance: none; pointer-events: none; z-index: 1; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); pointer-events: auto; cursor: grab; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.range input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); pointer-events: auto; cursor: grab; }
.range input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--brand); outline-offset: 2px; }
.price { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; color: var(--muted); }
.price input { height: 44px; border-radius: var(--radius); border: 1px solid var(--line); padding: 0 14px; font: inherit; width: 100%; outline: 0; color: var(--ink); }
.price input:focus { border-color: var(--brand); }

/* над товарами */
.bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; min-height: 36px; }
.bar__act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 6px 0 14px; border-radius: 18px; background: var(--pink-2); color: var(--brand-dark); font-size: 13.5px; font-weight: 600; }
.pill span { width: 24px; height: 24px; border-radius: 50%; font-size: 16px; line-height: 1; display: grid; place-items: center; }
.pill:hover span { background: var(--pink); }
.bar__reset { font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.bar__reset:hover { color: var(--brand); }
.bar__right { display: flex; align-items: center; gap: 24px; font-size: 14px; white-space: nowrap; margin-left: auto; }
.bar__n { color: var(--muted); }
.bar__n b { color: var(--ink); }
.sort select { font: inherit; font-weight: 600; border: 0; background: none; outline: 0; cursor: pointer; color: var(--ink); }

/* товары */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.empty { padding: 48px; border-radius: var(--radius-lg); background: var(--surface-2); color: var(--ink-2); }
.empty__title { font: 400 28px/1.2 var(--font-head); color: var(--ink); margin-bottom: 8px; }
.empty a { color: var(--brand); text-decoration: underline; }
.promo-tile { border-radius: var(--radius); background: var(--plum); color: #fff; display: flex; flex-direction: column; overflow: hidden; }
.promo-tile__ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.promo-tile__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.promo-tile__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.promo-tile__kick { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.promo-tile__title { font: 400 30px/1.1 var(--font-head); margin-top: 12px; }
.promo-tile__title em { font-style: normal; color: inherit; }
.promo-tile p { font-size: 14px; opacity: .8; margin-top: 10px; margin-bottom: 20px; }
.promo-tile .btn { margin-top: auto; align-self: flex-start; }
.more2 { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: 56px; }
.btn--line { border: 1px solid var(--ink); color: var(--ink); background: none; }
.btn--line:hover { background: var(--ink); color: #fff; }
.pages { display: flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; }
.pages a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.pages a:hover { background: var(--surface-2); }
.pages a[aria-current] { background: var(--ink); color: #fff; }
.pages span { color: var(--muted); padding: 0 4px; }

/* как подобрать — описание раздела из админки: заголовок, абзацы, таблица */

/* звонок */
.call { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; background: var(--surface-2); border-radius: var(--radius-lg); padding: 40px 48px; }
.call .ava { width: 84px; height: 84px; font-size: 40px; }
.call__title { font: 400 32px/1.15 var(--font-head); }
.call__title em { font-style: normal; color: inherit; display: inline; }
.call__text { margin-top: 6px; color: var(--ink-2); font-size: 15px; max-width: 720px; }
.call__who { margin-top: 10px; font-size: 13px; color: var(--muted); }
.call__side { width: 440px; }
.call__side .contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.call__side .contacts__btn { justify-content: center; padding: 0 16px; }
.call__side .contacts__btn--tel { grid-column: 1 / -1; }

@media (max-width: 1280px) {
}

@media (max-width: 1024px) {
    .cl__grid { grid-template-columns: 1fr; gap: 24px; }
    .flt { position: static; max-height: none; overflow: visible; }
    .flt__more { display: flex; }
    .flt__groups[data-collapsed] { display: none; }
    .bar { flex-wrap: wrap; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .subs { grid-template-columns: repeat(3, 1fr); }
    .call { grid-template-columns: auto 1fr; gap: 20px 28px; }
    .call__side { grid-column: 1 / -1; width: auto; max-width: 560px; }
}

@media (max-width: 760px) {
    .crumbs { padding-top: 14px; font-size: 12px; flex-wrap: wrap; gap: 6px; }
    .ch__top { grid-template-columns: 1fr; gap: 10px; }
    .ch__title { font-size: 36px; }
    .ch__lead { justify-self: start; font-size: 14px; }
    .subs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; margin: 20px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 20px; }
    .subs::-webkit-scrollbar { display: none; }
    .sub { flex: 0 0 auto; padding: 6px 14px 6px 6px; font-size: 13px; white-space: nowrap; }
    .sub__ph { width: 36px; height: 44px; }
    .cl { padding-top: 20px; }
    .cl__grid { gap: 20px; }
    .flt__size { padding: 18px; }
    .flt__mine b { font-size: 40px; }
    .chips span { height: 38px; }
    .bar { flex-direction: column; align-items: stretch; gap: 12px; }
    .bar__right { justify-content: space-between; margin-left: 0; }
    .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
    .card__sizes span { min-width: 0; height: 24px; padding: 0 6px; font-size: 11px; }
    .promo-tile { grid-column: 1 / -1; flex-direction: row; }
    .promo-tile__ph { aspect-ratio: auto; flex: 0 0 38%; }
    .promo-tile__body { padding: 20px; }
    .promo-tile__title { font-size: 22px; margin-top: 8px; }
    .promo-tile p { font-size: 12.5px; margin-bottom: 14px; }
    .promo-tile .btn { height: 44px; padding: 0 18px; font-size: 13px; }
    .more2 { margin-top: 36px; }
    .call { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 20px; }
    .call .ava { width: 56px; height: 56px; font-size: 26px; }
    .call__title { font-size: 24px; }
}

/* Страница товара (partials/product/product.htm) — по эталону design/variants/B-product.html */
.pd { display: grid; grid-template-columns: 58fr 42fr; gap: 72px; align-items: start; padding-top: 24px; }
.pd__gallery { display: grid; grid-template-columns: 88px 1fr; gap: 16px; }
.pd__gallery:not(:has(.pd__thumbs)) { grid-template-columns: 1fr; }
.pd__thumbs { display: flex; flex-direction: column; gap: 12px; }
.pd__thumb { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); padding: 0; background: var(--surface-2); opacity: .7; transition: .2s; cursor: pointer; }
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.pd__thumb:hover { opacity: 1; }
.pd__thumb[aria-current="true"] { opacity: 1; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.pd__stage { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); }
.pd__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.pd__arr { position: absolute; top: 50%; margin-top: -26px; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); cursor: pointer; }
.pd__arr svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.pd__arr:hover { background: var(--brand); }
.pd__arr:hover svg { stroke: #fff; }
.pd__arr--prev { left: 16px; }
.pd__arr--next { right: 16px; }
.pd__fav { position: absolute; right: 16px; top: 16px; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.pd__fav .i { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 1.6; }
.pd__fav:hover .i { stroke: var(--brand); }
.pd__fav[aria-pressed="true"] .i { stroke: var(--brand); fill: var(--brand); }
.pd__count { position: absolute; left: 16px; bottom: 16px; height: 30px; padding: 0 14px; border-radius: 15px; background: #fff; font-size: 12.5px; font-weight: 600; display: flex; align-items: center; }

.pd__info { position: sticky; top: 140px; }
.pd__brand { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.pd__title { font: 400 42px/1.12 var(--font-head); margin-top: 10px; }
.pd__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-top: 18px; }
.pd__price b { font-size: 30px; font-weight: 700; }
.pd__price--sale { color: var(--brand); }
.pd__price s { color: var(--muted); font-size: 17px; }
.pd__price span { font-size: 14px; color: var(--muted); }
.pd__row { margin: 28px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.pd__label { display: block; padding: 0; font-size: 13px; color: var(--muted); }
legend.pd__label { float: left; width: 100%; }   /* без float рамка fieldset рвётся под legend */
fieldset.pd__row > :not(legend) { clear: both; }
.pd__label b { color: var(--ink); font-weight: 600; font-size: 14px; margin-left: 4px; }
.pd__error { margin-top: 8px; font-size: 13px; color: var(--brand); }

.swatches { display: flex; gap: 12px; margin-top: 14px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; padding: 4px; border: 1px solid var(--line); transition: .2s; }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .06); }
.swatch:hover { border-color: var(--ink-2); }
.swatch[aria-current="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }

/* размеры: бюстгальтер — сетка обхват × чашка, остальное — ряд кнопок */
.size { display: grid; grid-template-columns: 44px repeat(var(--cups, 4), minmax(0, 64px)); gap: 8px; margin-top: 14px; align-items: center; }
.size--list { display: flex; flex-wrap: wrap; }
.size--list .size__btn { min-width: 64px; padding: 0 14px; }
.size__head { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.size__band { font: 600 20px/1 var(--font-body); color: var(--ink-2); }
.size__btn { position: relative; height: 48px; border-radius: var(--radius); border: 1px solid var(--line); font-weight: 600; font-size: 15px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: .15s; }
.size__btn input { position: absolute; opacity: 0; pointer-events: none; }
.size__btn:hover { border-color: var(--ink); }
.size__btn:has(:checked) { background: var(--brand); border-color: var(--brand); color: #fff; }
.size__btn:has(:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.size__btn:has(:disabled) { color: #b3aab0; background: var(--surface-2); border-color: var(--surface-2); text-decoration: line-through; cursor: not-allowed; }
/* вариант A: обхват, потом чашка */
.sz2__cap { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sz2__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; min-height: 44px; align-items: center; }
.sz2__band, .sz2__cup { position: relative; min-width: 56px; height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--line); background: #fff; font: 600 15px/1 var(--font-body); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: .15s; }
.sz2__cup[hidden] { display: none; }
.sz2__cup input { position: absolute; opacity: 0; pointer-events: none; }
.sz2__band:hover, .sz2__cup:hover { border-color: var(--ink); }
.sz2__band[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sz2__cup:has(:checked) { background: var(--brand); border-color: var(--brand); color: #fff; }
.sz2__cup:has(:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.sz2__band:disabled, .sz2__cup:has(:disabled) { color: #b3aab0; background: var(--surface-2); border-color: var(--surface-2); text-decoration: line-through; cursor: not-allowed; }
.sz2__empty { font-size: 14px; color: var(--muted); }

/* по умолчанию: компактный ряд размеров «75B» */
.szl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.szl__btn { position: relative; min-width: 58px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: grid; place-items: center; cursor: pointer; transition: .15s; }
.szl__btn input { position: absolute; opacity: 0; pointer-events: none; }
.szl__btn span { font: 600 15px/1 var(--font-body); }
.szl__btn small { font-size: inherit; font-weight: inherit; }
.szl__btn:hover { border-color: var(--ink); }
.szl__btn:has(:checked) { background: var(--brand); border-color: var(--brand); color: #fff; }
.szl__btn:has(:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.szl__btn:has(:disabled) { color: #b3aab0; background: var(--surface-2); border-color: var(--surface-2); text-decoration: line-through; cursor: not-allowed; }

/* вариант C: таблица обхват × чашка */
.szt { display: grid; grid-template-columns: auto repeat(var(--cups, 4), minmax(56px, 76px)); margin-top: 14px; width: max-content; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; }
.szt > * { background: #fff; height: 46px; display: grid; place-items: center; }
.szt__corner { padding: 0 14px; font-size: 11.5px; color: var(--muted); background: var(--surface-2) !important; }
.szt__head { font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--surface-2) !important; }
.szt__band { padding: 0 14px; font-weight: 700; font-size: 15px; color: var(--ink-2); background: var(--surface-2) !important; }
.szt__none { color: #d4ccd0; font-size: 14px; }
.szt__cell { position: relative; cursor: pointer; font-size: 14.5px; font-weight: 600; transition: .15s; }
.szt__cell input { position: absolute; opacity: 0; pointer-events: none; }
.szt__cell:hover { background: #fbf3f6; color: var(--brand); }
.szt__cell:has(:checked) { background: var(--brand); color: #fff; }
.szt__cell:has(:focus-visible) { outline: 2px solid var(--ink); outline-offset: -3px; }
.szt__cell:has(:disabled) { color: #c4bbc0; text-decoration: line-through; cursor: not-allowed; background: #fff; }

.size__hint { margin-top: 12px; font-size: 13px; color: var(--muted); }
.size__hint a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.size__hint a:hover { color: var(--brand); }

.pd__buy { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 28px; }
.pd__buy .btn { justify-content: center; padding: 0 24px; }
/* пока размер не в корзине — одна кнопка «В корзину» на всю ширину; после добавления рядом счётчик количества (cart.js) */
form:not(.is-in-cart) .pd__buy { grid-template-columns: 1fr; }
form:not(.is-in-cart) .pd__qty { display: none; }
.pd__buy .btn .i { width: 20px; height: 20px; stroke-width: 1.6; }
.pd__buy .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.pd__qty { display: inline-flex; align-items: center; height: 54px; padding: 0 6px; border: 1px solid var(--line); border-radius: 27px; }
.pd__qty button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.pd__qty button:hover:not(:disabled) { background: var(--pink-2); color: var(--brand); }
.pd__qty button:disabled { color: #c9bfc5; cursor: default; }
.pd__qty input { width: 40px; border: 0; background: none; text-align: center; font: 600 16px/1 var(--font-body); color: var(--ink); -moz-appearance: textfield; }
.pd__qty input::-webkit-inner-spin-button, .pd__qty input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.pd__qty input:focus { outline: none; }
.pd__qty:focus-within { border-color: var(--ink-2); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }

.svc { list-style: none; margin: 28px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); }
.svc li { display: flex; align-items: center; gap: 16px; padding: 16px 22px; font-size: 14.5px; }
.svc li + li { border-top: 1px solid var(--line); }
.svc svg { width: 28px; height: 28px; stroke: var(--brand); fill: none; stroke-width: 1.4; flex: none; }
.svc b { font-weight: 600; }

/* о товаре */
.det { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; align-items: start; }
.pacc { border-bottom: 1px solid var(--line); }
.pacc__item { border-top: 1px solid var(--line); }
.pacc__head { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font: 400 26px/1.2 var(--font-head); cursor: pointer; list-style: none; }
.pacc__head::-webkit-details-marker { display: none; }
.pacc__head:hover { color: var(--brand); }
.pacc__head svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .25s; flex: none; }
.pacc__item[open] .pacc__head svg { transform: rotate(45deg); }
.pacc__body { padding: 0 0 28px; color: var(--ink-2); font-size: 15.5px; max-width: 760px; }
.pacc__body p + p { margin-top: 12px; }
.pacc__body ul { margin-top: 14px; padding-left: 20px; }
.pacc__body li { margin-top: 6px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 13px 0; border-top: 1px solid var(--line); vertical-align: top; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 0; padding-top: 0; }
.spec th { width: 220px; font-weight: 400; color: var(--muted); }
.spec td { color: var(--ink); font-weight: 500; }

/* видео от Вероники */
.vid { display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: center; background: var(--pink); border-radius: var(--radius-lg); padding: 48px 56px; }
.vid__who { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.vid .ava { width: 96px; height: 96px; font-size: 46px; }
.vid__kick { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); }
.vid__title { font: 400 36px/1.15 var(--font-head); margin-top: 8px; }
.vid__text { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; max-width: 560px; }
.vid__sign { margin-top: 12px; font-size: 13.5px; font-weight: 600; }
.vid__steps { list-style: none; counter-reset: st; display: grid; gap: 10px; margin: 0; padding: 0; }
.vid__steps li { counter-increment: st; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 12px 16px; font-size: 14.5px; }
.vid__steps li::before { content: counter(st); width: 36px; height: 36px; border-radius: 50%; background: var(--pink-2); color: var(--brand); display: grid; place-items: center; font: 600 18px/1 var(--font-body); }
.vid__steps b { font-weight: 600; }
.vid .btn { margin-top: 16px; justify-content: center; width: 100%; }

@media (max-width: 1024px) {
    .pd { grid-template-columns: 1fr; gap: 32px; }
    .pd__info { position: static; }
    .det { grid-template-columns: 1fr; gap: 12px; }
    .vid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
    .pd { gap: 24px; padding-top: 14px; }
    .pd__gallery { grid-template-columns: 1fr; gap: 12px; }
    .pd__stage { order: -1; border-radius: var(--radius); }
    .pd__thumbs { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 8px; }
    .pd__thumb { width: 64px; flex: none; }
    .pd__arr { width: 44px; height: 44px; margin-top: -22px; }
    .pd__arr--prev { left: 10px; }
    .pd__arr--next { right: 10px; }
    .pd__count { left: 10px; bottom: 10px; }
    .pd__fav { width: 44px; height: 44px; right: 10px; top: 10px; }
    .pd__title { font-size: 30px; }
    .pd__price b { font-size: 26px; }
    .pd__row { margin-top: 22px; padding-top: 20px; }
    .size { grid-template-columns: 36px repeat(var(--cups, 4), minmax(0, 1fr)); gap: 6px; }
    .svc li { padding: 14px 16px; font-size: 14px; }
    .pacc__head { font-size: 22px; padding: 20px 0; }
    .pacc__body { font-size: 14.5px; }
    .vid { padding: 28px 20px; gap: 24px; }
    .vid__who { grid-template-columns: 1fr; gap: 16px; }
    .vid .ava { width: 64px; height: 64px; font-size: 32px; }
    .vid__title { font-size: 28px; }
}

/* Корзина и оформление заказа (partials/cart/*) — по эталону design/variants/B-cart.html */
.co-head { padding-top: 20px; }
.co__title { font: 400 44px/1.1 var(--font-head); margin-bottom: 8px; }
.co__title em, .done h2 em { font-style: normal; color: inherit; }   /* курсив-акценты в заголовках клиенту не нравятся */
.co__lead { color: var(--ink-2); font-size: 15.5px; max-width: 720px; }
.co__login { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.co__login a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.co__error { margin-top: 12px; font-size: 14px; color: #d1243c; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: start; margin-top: 36px; }

.box { border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; }
.box + .box { margin-top: 20px; }
.box__h { display: flex; align-items: center; gap: 14px; font: 400 26px/1.2 var(--font-head); margin-bottom: 20px; }
.box__h i { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font: 600 17px/1 var(--font-body); flex: none; }

/* позиции */
[data-co-items] { transition: opacity .2s; }
[data-co-items][aria-busy="true"] { opacity: .5; pointer-events: none; }
.ci { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 16px 0; }
.ci + .ci { border-top: 1px solid var(--line); }
.ci__img { display: block; width: 96px; height: 120px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.ci__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.ci__brand { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.ci__name { display: block; font-weight: 600; font-size: 15px; margin-top: 2px; }
.ci__name:hover { color: var(--brand); }
.ci__opt { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.ci__opt b { font-weight: 600; color: var(--ink); }
.ci__ctl { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 20px; height: 36px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; color: var(--ink-2); cursor: pointer; }
.qty button:hover:not(:disabled) { color: var(--brand); }
.qty button:disabled { color: #c9bfc5; cursor: default; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; }
.ci__del { border: 0; background: none; padding: 0; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ci__del:hover { color: var(--brand); }
.ci__price { font: 600 22px/1 var(--font-body); white-space: nowrap; text-align: right; }
.ci__price small { font: 400 13px var(--font-body); color: var(--muted); }
.ci__price s { display: block; margin-top: 6px; font: 400 13px var(--font-body); color: var(--muted); }

/* доставка */
.dlv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dlv label { position: relative; display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 52px; cursor: pointer; transition: .15s; }
.dlv label:hover { border-color: var(--ink-2); }
.dlv input { position: absolute; opacity: 0; }
.dlv label::before { content: ""; position: absolute; left: 20px; top: 21px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c9bfc5; background: #fff; }
.dlv label:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--pink-2); }
.dlv label:has(input:checked)::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3.5px #fff; }
.dlv label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.dlv b { display: block; font-weight: 600; font-size: 15px; }
.dlv span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

.msgr { display: flex; flex-wrap: wrap; gap: 8px; }
.msgr label { position: relative; cursor: pointer; }
.msgr input { position: absolute; opacity: 0; }
.msgr span { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 21px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: .15s; }
.msgr label:hover span { border-color: var(--ink-2); }
.msgr input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.msgr input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* оплата */
.pay { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: var(--pink-2); }
.pay svg { width: 28px; height: 28px; stroke: var(--brand); fill: none; stroke-width: 1.4; flex: none; }
.pay b { display: block; font-weight: 600; }
.pay span { font-size: 13.5px; color: var(--ink-2); }

/* итого */
.sum { position: sticky; top: 160px; background: var(--surface-2); border-radius: 16px; padding: 28px 30px; }
.sum__h { font: 400 26px/1.2 var(--font-head); margin-bottom: 16px; }
.sum__row { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; padding: 7px 0; color: var(--ink-2); }
.sum__row b { color: var(--ink); font-weight: 600; text-align: right; }
.sum__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid #e3dce0; margin-top: 10px; padding-top: 16px; }
.sum__total span { font-weight: 600; }
.sum__total b { font: 600 34px/1 var(--font-body); white-space: nowrap; }
.sum__total small { font: 400 15px var(--font-body); }
.sum .btn { width: 100%; justify-content: center; margin-top: 20px; height: 58px; font-size: 15.5px; }
.sum .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.sum__note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.sum__note a { text-decoration: underline; }
.next { margin-top: 20px; border-top: 1px solid #e3dce0; padding-top: 20px; }
.next__h { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 14.5px; }
.next__h .ava { width: 40px; height: 40px; font-size: 20px; }
.next ol { list-style: none; counter-reset: n; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.next li::before { content: counter(n); width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--brand); font-weight: 700; font-size: 12px; display: grid; place-items: center; }

/* заказ принят, пустая корзина */
.done { text-align: center; max-width: 640px; margin: 40px auto 0; padding: 56px 40px; border-radius: var(--radius-lg); background: var(--pink-2); }
.done[hidden] { display: none; }
.done .ava { width: 80px; height: 80px; font-size: 38px; margin: 0 auto 20px; }
.done h2 { font: 400 38px/1.15 var(--font-head); }
.done p { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; }
.done .btn { margin-top: 24px; }

@media (max-width: 1024px) {
    .co { grid-template-columns: 1fr; }
    .sum { position: static; }
}

@media (max-width: 760px) {
    .co__title { font-size: 30px; }
    .co__lead { font-size: 14.5px; }
    .co { margin-top: 20px; gap: 20px; }
    .box { padding: 20px 16px; border-radius: 14px; }
    .box__h { font-size: 21px; margin-bottom: 14px; }
    .box__h i { width: 30px; height: 30px; font-size: 15px; }
    .ci { grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
    .ci__img { width: 76px; height: 96px; }
    .ci__price { grid-column: 2; text-align: left; font-size: 19px; }
    .dlv { grid-template-columns: 1fr; }
    .sum { padding: 22px 18px; }
    .done { padding: 40px 20px; margin-top: 20px; }
    .done h2 { font-size: 28px; }
}

/* Личный кабинет (partials/account/*): вход и регистрация двумя панелями, кабинет — заказы слева, мои данные справа.
   Поля — .fld из ui.css */
.acc { padding-bottom: var(--section); }
.acc__title { margin-top: 20px; font: 400 44px/1.1 var(--font-head); }
.acc__lead { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; max-width: 720px; }
.acc__h { font: 400 26px/1.2 var(--font-head); }
.acc__h span { color: var(--muted); }

.acc__enter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; max-width: 1040px; margin-top: 36px; }
.acc__panel { display: grid; gap: 18px; padding: 28px 32px; border-radius: 16px; background: var(--pink-2); }
.acc__panel--light { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.acc__panel--narrow { max-width: 560px; margin-top: 28px; }
.acc__body { display: grid; gap: 18px; }
.acc__body[hidden] { display: none; }
.acc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.acc__link { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.acc__link:hover { color: var(--brand); }
.acc__note { font-size: 13.5px; color: var(--muted); }
.acc__note a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.acc__error { font-size: 14px; color: #d1243c; }
.acc__saved { font-size: 14px; font-weight: 600; color: var(--brand); }
.acc__done { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); line-height: 1.5; }
[data-account-form][aria-busy="true"] { opacity: .7; transition: opacity .2s; }

.acc__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.acc__layout { display: grid; grid-template-columns: minmax(0, 1fr) 460px; align-items: start; gap: 48px; margin-top: 36px; }
.acc__orders { display: grid; gap: 12px; }
.acc__orders .acc__h { margin-bottom: 8px; }
.acc__profile { position: sticky; top: 24px; }
.acc__empty { padding: 32px; border-radius: 16px; background: var(--surface-2); }
.acc__empty p { margin-bottom: 20px; color: var(--ink-2); }

/* заказ: строка-итог, по клику — состав */
.ord { border: 1px solid var(--line); border-radius: 16px; }
.ord[open] { border-color: var(--pink); }
.ord__head { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; }
.ord__head::-webkit-details-marker { display: none; }
.ord__head:hover .ord__num { color: var(--brand); }
.ord__num { font-weight: 600; }
.ord__date { color: var(--muted); font-size: 14px; }
.ord__status { justify-self: start; padding: 4px 12px; border-radius: 13px; background: var(--surface-2); color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.ord__status--new, .ord__status--in_progress { background: var(--pink); color: var(--plum); }
.ord__total, .ord__sum { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ord__total { font-size: 18px; }
.ord__total small, .ord__sum small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.ord__lines { margin: 0 24px; border-top: 1px solid var(--line); }
.ord__line { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; padding: 12px 0; }
.ord__line + .ord__line { border-top: 1px solid var(--line); }
.ord__img { width: 48px; height: 60px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.ord__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.ord__name { display: block; font-weight: 600; font-size: 14.5px; }
a.ord__name:hover { color: var(--brand); }
.ord__opt { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.ord__opt b { font-weight: 600; color: var(--ink); }

@media (max-width: 1024px) {
    .acc__layout { grid-template-columns: 1fr; }
    .acc__profile { position: static; }
}
@media (max-width: 760px) {
    .acc__title { font-size: 30px; }
    .acc__lead { font-size: 14.5px; }
    .acc__enter, .acc__layout { grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }
    .acc__panel { padding: 20px 16px; border-radius: 14px; }
    .acc__h { font-size: 21px; }
    .acc__top { align-items: flex-start; }
    .ord__head { grid-template-columns: auto 1fr auto; gap: 8px 12px; padding: 16px; }
    .ord__status { grid-column: 1 / -1; grid-row: 2; }
    .ord__lines { margin: 0 16px; }
    .acc__actions .btn { width: 100%; justify-content: center; }
}

/* Поиск: страница /search */
.srch { grid-template-columns: auto minmax(0, 520px); justify-content: space-between; align-items: center; }
.srch .ch__title { overflow-wrap: anywhere; }
.srch__form { display: none; width: 100%; max-width: none; margin: 0; }
.srch__form--always { display: flex; }
.srch__hint { margin-top: 24px; padding-bottom: 48px; color: var(--ink-2); font-size: 15px; }
.srch__examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.srch__examples .pill { padding: 0 14px; }
.srch__examples .pill:hover { background: var(--pink); }

@media (max-width: 1024px) {
    .srch { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 760px) {
    .srch__form { display: flex; height: 48px; padding: 0 5px 0 18px; border: 1.5px solid var(--line); justify-content: flex-start; }
    .srch__form input { display: block; }
    .srch__form .search__go { display: block; }
    .srch__examples { margin-top: 10px; }
}

/* Избранное: страница /favorites и кнопка-сердечко (shared/fav-btn) */
.fav-form { display: contents; }   /* форма — только запасной путь без JS, на вёрстку не влияет */

.fv { padding-bottom: 80px; }
.fv__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 20px 0 32px; }
.fv__head[hidden] { display: none; }
.fv__title { font: 400 44px/1.1 var(--font-head); }
.fv__title sup { font: 600 15px/1 var(--font-body); color: var(--muted); vertical-align: super; margin-left: 4px; }
.fv__clear { font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.fv__clear:hover { color: var(--brand); }
.fv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
.fv__grid .card[aria-busy="true"] { opacity: .5; transition: opacity .2s; }

@media (max-width: 1024px) {
    .fv__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
    .fv { padding-bottom: 56px; }
    .fv__head { padding: 12px 0 20px; }
    .fv__title { font-size: 30px; }
    .fv__grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
}

/* Текстовые страницы (pages/info.htm): доставка, возврат, контакты, политика. Текст — из визуального редактора админки */
.info { padding-bottom: var(--section); }
.info > * { max-width: 820px; }
.info__title { margin-top: 20px; font: 400 44px/1.1 var(--font-head); }
.info__lead { margin-top: 12px; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.info__lead em { font-style: italic; color: var(--brand); }

.info__text { margin-top: 32px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.info__text > * + * { margin-top: 14px; }
.info__text h2 { margin-top: 36px; font: 400 28px/1.2 var(--font-head); color: var(--ink); }
.info__text h3 { margin-top: 26px; font-size: 17px; font-weight: 600; color: var(--ink); }
.info__text h2 + *, .info__text h3 + * { margin-top: 10px; }
.info__text ul, .info__text ol { padding-left: 22px; }
.info__text li + li { margin-top: 6px; }
.info__text ul li::marker { color: var(--brand); }
.info__text b, .info__text strong { font-weight: 600; color: var(--ink); }
.info__text a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.info__text a:hover { color: var(--brand-dark); }
.info__text table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.info__text th, .info__text td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info__text th { font-weight: 600; color: var(--ink); background: var(--surface-2); }

.info__help { display: grid; gap: 14px; margin-top: 48px; padding: 28px 32px; border-radius: 16px; background: var(--pink-2); }
.info__h { font: 400 26px/1.2 var(--font-head); }
.info__note { margin-top: -6px; font-size: 14px; color: var(--muted); }

@media (max-width: 760px) {
    .info__title { font-size: 30px; }
    .info__lead { font-size: 15.5px; }
    .info__text { margin-top: 24px; font-size: 15px; }
    .info__text h2 { margin-top: 28px; font-size: 24px; }
    .info__text table { display: block; overflow-x: auto; }
    .info__help { padding: 22px 18px; }
    .info__h { font-size: 22px; }
}

/* Всплывающее уведомление справа сверху (site/toast.js): «Добавлено в корзину», «Удалено из корзины», «Добавлено в избранное», «Удалено из избранного».
   Как на zorg-shop.by: фото товара со значком, ссылка, полоска-таймер 4 с, при наведении не закрывается */
.toast { position: fixed; top: 96px; right: var(--gutter); z-index: 50; width: 384px; max-width: calc(100vw - 32px); overflow: hidden;
    border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px rgba(28, 21, 25, .06), var(--shadow);
    opacity: 0; transform: translateX(24px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.toast.is-shown { opacity: 1; transform: none; }
.toast::before, .toast::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; }
.toast::before { background: var(--pink-2); }
.toast::after { background: var(--brand); transform-origin: left; animation: toast-timer 4s linear forwards; }
.toast:hover::after { animation: none; }
@keyframes toast-timer { to { transform: scaleX(0); } }
.toast__body { display: flex; align-items: center; gap: 18px; padding: 20px 52px 20px 20px; color: inherit; text-decoration: none; }
.toast__media { position: relative; flex: none; width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--surface-2); }
.toast__media img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.toast__mark { position: absolute; right: -8px; bottom: -8px; display: grid; place-items: center; width: 26px; height: 26px;
    border-radius: 50%; background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 3px var(--surface); }
.toast__mark svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.toast__content { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.toast__heading { font-size: 16px; font-weight: 700; line-height: 1.25; }
.toast__name { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--muted); font-size: 14px; line-height: 1.4; }
.toast__link { align-self: flex-start; margin-top: 6px; border-bottom: 1.5px solid var(--brand); font-size: 14px; font-weight: 600; line-height: 1.3; transition: color .2s var(--ease); }
.toast__body:hover .toast__link { color: var(--brand); }
.toast__close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
    border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.toast__close:hover { background: var(--surface-2); color: var(--ink); }
.toast__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 640px) {
    .toast { top: 72px; right: 12px; left: 12px; width: auto; max-width: none; transform: translateY(-16px); }
    .toast__body { gap: 14px; padding: 16px 48px 16px 16px; }
    .toast__media { width: 60px; height: 60px; }
    .toast__heading { font-size: 15px; }
}
/* удалено: значок и полоска серые, фото блёклое */
.toast--removed::after { background: var(--ink-2); }
.toast--removed .toast__mark { background: var(--ink-2); color: #fff; }
.toast--removed .toast__media img { opacity: .55; filter: grayscale(1); }
@media (prefers-reduced-motion: reduce) {
    .toast { transition: none; }
    .toast::after { animation: none; }
}

.footer { background: var(--plum-dark); color: rgba(255, 255, 255, .72); margin-top: 110px; font-size: 14.5px; }
.footer a:hover { color: #fff; }

/* Колонки */
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 56px 0; }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: rgba(255, 255, 255, .5); }
.footer__about { margin-top: 20px; max-width: 320px; line-height: 1.6; }
.footer h4 { color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer__phone { font: 600 26px/1 var(--font-body); color: #fff; display: block; }
.footer__msg { display: flex; gap: 8px; margin-top: 18px; }
.footer__msg a { height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .25); display: flex; align-items: center; font-weight: 600; font-size: 13.5px; color: #fff; }
.footer__msg a:hover { background: #fff; color: var(--ink); }
.footer__pay { margin-top: 18px; font-size: 13.5px; line-height: 1.5; }
.footer__bot { display: flex; justify-content: space-between; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .62); }

/* Плавающая кнопка связи */
.fab { position: fixed; right: 28px; bottom: 28px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__list { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.fab:has([aria-expanded="true"]) .fab__list { opacity: 1; visibility: visible; transform: none; }
.fab__list a { height: 46px; padding: 0 20px; border-radius: 23px; background: var(--surface); box-shadow: 0 8px 24px rgba(40, 10, 30, .16); display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.fab__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.fab__dot--viber { background: var(--viber); }
.fab__dot--telegram { background: var(--telegram); }
.fab__dot--whatsapp { background: var(--whatsapp); }
.fab__btn { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(176, 19, 95, .4); }
.fab__btn .i { width: 28px; height: 28px; stroke: #fff; stroke-width: 1.6; }
.fab__btn:hover { background: var(--brand-dark); }

/* Окно «Позвоните или напишите» */
.ask { margin: auto; width: min(520px, calc(100% - 32px)); padding: 36px; border: 0; border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.ask::backdrop { background: rgba(28, 21, 25, .5); }
.ask[open] { animation: ask-in .25s var(--ease); }
@keyframes ask-in { from { opacity: 0; transform: translateY(12px); } }
.ask__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.ask__close:hover { background: var(--surface-2); }
.ask__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ask__head { display: flex; align-items: center; gap: 16px; padding-right: 32px; }
.ask__head .ava { width: 60px; height: 60px; font-size: 28px; }
.ask__title { font: 600 30px/1.1 var(--font-head); }
.ask__who { margin-top: 6px; font-size: 14px; color: var(--muted); }
.ask__text { margin: 20px 0 24px; line-height: 1.55; color: var(--ink-2); }

@media (max-width: 1024px) {
    .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .footer__cols > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .footer { margin-top: 72px; }
    .footer__cols { gap: 32px 20px; padding: 40px 0; }
    .footer__cols > div:last-child { grid-column: 1 / -1; }
    .footer__bot { flex-direction: column; gap: 8px; }
    .ask { padding: 28px 20px 20px; }
    .ask__title { font-size: 26px; }
    .fab { right: 16px; bottom: 16px; }
    .fab__btn { width: 56px; height: 56px; }
}

/* Появление блоков: reveal.js ставит data-reveal="in". ?reveal=0 — показать всё (для скриншотов). */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal]:not([data-reveal="in"]) { opacity: 0; transform: translateY(24px); }
    [data-reveal] { transition: opacity .6s var(--ease), transform .6s var(--ease); }
}
