/* Тема «Твой дом». Белый и красный из логотипа, шрифт Onest, сначала телефон. */
@font-face { font-family: 'Onest'; font-weight: 100 900; font-display: swap; src: url('fonts/onest-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-weight: 100 900; font-display: swap; src: url('fonts/onest-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --red: #e3241b;
    --red-btn: #d41e15;
    --red-deep: #b3160f;
    --red-soft: #fdeceb;
    --orange: #f28c00;
    --yellow: #ffc400;
    --ink: #17171a;
    --ink-2: #4f4d55;
    --ink-3: #6e6b74;
    --paper: #f5f4f2;
    --white: #fff;
    --line: rgba(23, 23, 26, .09);
    --surface: #fff;
    --paper-2: #e9e7e3;
    --glass: rgba(255, 255, 255, .9);
    --night: #17171a;
    --dot: #d9d6d2;
    --red-text: #b3160f;
    --shadow: 0 1px 2px rgba(23, 23, 26, .04), 0 12px 32px -12px rgba(23, 23, 26, .14);
    --shadow-lg: 0 2px 4px rgba(23, 23, 26, .04), 0 28px 60px -20px rgba(23, 23, 26, .22);
    --r-xl: 32px;
    --r-lg: 24px;
    --r-md: 18px;
    --r-sm: 12px;
    --ease: cubic-bezier(.32, .72, 0, 1);
    --wrap: 1240px;
    --pad: 16px;
    --top-h: 112px;
    --dock-h: 68px;
    color-scheme: light;
}

/* Тёмная тема: включается кнопкой в шапке, первый раз по настройке устройства */
:root[data-theme="dark"] {
    color-scheme: dark;
    --ink: #f2f1ee;
    --ink-2: #bdbac2;
    --ink-3: #918e98;
    --paper: #1d1d21;
    --paper-2: #2a2a30;
    --surface: #26262b;
    --white: #131316;
    --line: rgba(255, 255, 255, .09);
    --glass: rgba(19, 19, 22, .86);
    --night: #0a0a0c;
    --dot: #3a3a41;
    --red-soft: rgba(227, 36, 27, .18);
    --red-text: #ff7a70;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 28px 60px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
    margin: 0;
    font: 400 16px/1.55 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(26px, 6.4vw, 44px); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Кнопки */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 22px; border-radius: 999px; border: 0;
    font-weight: 700; font-size: 16px; white-space: nowrap;
    transition: transform .4s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-sm .ic { width: 18px; height: 18px; }
.btn-red { background: var(--red-btn); color: #fff; box-shadow: 0 10px 24px -10px rgba(212, 30, 21, .7); }
.btn-red:hover { background: var(--red-deep); }
.btn-soft { background: var(--paper); color: var(--ink); }
.btn-soft:hover { background: var(--paper-2); }
.pill {
    display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
    min-height: 48px; padding: 4px 4px 4px 20px; border-radius: 999px;
    background: var(--red-btn); color: #fff; font-weight: 700; font-size: 15px;
}
.pill-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: transform .5s var(--ease); }
.pill-ic .ic { width: 18px; height: 18px; }
a:hover .pill-ic { transform: translateX(3px) rotate(-8deg); }
.pill-light { background: #fff; color: #17171a; }
.pill-light .pill-ic { background: var(--red-btn); color: #fff; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
    padding: 6px 12px; border-radius: 999px; background: var(--red-soft); color: var(--red-text);
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.eyebrow-light { background: rgba(255, 255, 255, .16); color: #fff; }
.eyebrow-light::before { background: var(--yellow); }

/* Шапка */
.top {
    position: sticky; top: 0; z-index: 20;
    background: var(--glass);
    -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
    border-bottom: 1px solid var(--line);
}
.top-bar {
    display: grid; grid-template-columns: 1fr auto auto auto; grid-template-areas: 'logo theme tel burger' 'search search search search';
    align-items: center; gap: 10px 8px; padding-top: 10px; padding-bottom: 12px;
}
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 10px; min-width: 0; flex: none; white-space: nowrap; }
.logo-mark { width: 52px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 19px; font-weight: 900; letter-spacing: -.01em; padding-bottom: 5px; border-bottom: 3px solid var(--red); }
.logo-text i { font-style: normal; font-size: 11.5px; color: var(--ink-3); margin-top: 5px; white-space: nowrap; }
.cat-btn { display: none; }
.top-nav { display: none; }
.top-tel { grid-area: tel; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red-soft); color: var(--red-text); }
.top-tel span { display: none; }
.theme-btn { grid-area: theme; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); transition: background-color .3s var(--ease), transform .5s var(--ease); }
.theme-btn:hover { background: var(--paper-2); }
.theme-btn:active { transform: rotate(-30deg) scale(.94); }
.theme-btn .i-moon, :root[data-theme="dark"] .theme-btn .i-sun { display: block; }
.theme-btn .i-sun, :root[data-theme="dark"] .theme-btn .i-moon { display: none; }
.burger { grid-area: burger; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); }
.search {
    grid-area: search; position: relative; display: flex; align-items: center;
    height: 48px; padding: 0 4px 0 14px; border-radius: 999px; background: var(--paper);
    border: 1.5px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.search:focus-within { border-color: var(--red); background: var(--surface); }
.search > .ic { color: var(--ink-3); }
.search input {
    flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0 10px;
    font: inherit; font-size: 16px; color: var(--ink); outline: none;
}
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search-go { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--red-btn); color: #fff; }
.search-go .ic { width: 18px; height: 18px; }

/* Меню каталога */
.menu { position: fixed; inset: 0; z-index: 40; background: rgba(23, 23, 26, .42); }
.menu[hidden] { display: none; }
.menu-panel {
    position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--surface);
    animation: menu-in .45s var(--ease);
}
@keyframes menu-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--pad); border-bottom: 1px solid var(--line); }
.menu-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.menu-x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); }
.menu-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--pad) 32px; }
.menu-cats { display: flex; flex-direction: column; }
.mc {
    display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 0;
    border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16.5px; cursor: pointer; list-style: none;
}
.mc::-webkit-details-marker { display: none; }
.mc img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.mc span { flex: 1; }
.mc-go { color: var(--ink-3); transition: transform .4s var(--ease); }
.mc-group[open] .mc-go { transform: rotate(45deg); color: var(--red); }
.mc-subs { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 18px 58px; }
.mc-subs a { padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 14.5px; }
.mc-subs a:hover { background: var(--red-soft); color: var(--red-text); }
.mc-subs .mc-all { background: var(--red-soft); color: var(--red-text); font-weight: 700; }
.menu-side { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.menu-links { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-links a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; }
.menu-call { align-self: stretch; }
.menu-social { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 15px; }
body.menu-open { overflow: hidden; }

/* Баннеры */
.showcase { padding: 16px 0 8px; }
.bn-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scroll-padding: 0 var(--pad);
}
.bn-track::-webkit-scrollbar { display: none; }
.bn {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 440px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
    scroll-snap-align: start; background: var(--paper); color: #fff;
}
.bn-img, .bn picture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.bn-img { object-fit: cover; transition: transform 1.2s var(--ease); }
a.bn:hover .bn-img { transform: scale(1.04); }
.bn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 23, 26, 0) 30%, rgba(23, 23, 26, .72) 100%); }
.bn-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.bn-eyebrow { align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: var(--red-btn); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bn-title { font-size: clamp(28px, 7.6vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.bn-text { font-size: 16px; color: rgba(255, 255, 255, .88); max-width: 34ch; }
.bn .pill { margin-top: 6px; }
.bn-main::after { background: linear-gradient(180deg, rgba(23, 23, 26, 0) 25%, rgba(23, 23, 26, .78) 100%); }
.bn-dots { display: flex; justify-content: center; gap: 6px; padding-top: 12px; }
.bn-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--dot); transition: width .45s var(--ease), background-color .3s var(--ease); }
.bn-dot.is-on { width: 24px; background: var(--red); }

/* Секции */
.section { padding: 48px 0; }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.lead { color: var(--ink-2); font-size: 16.5px; max-width: 46ch; }

/* Каталог: два столбика */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cat { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--paper); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s var(--ease); }
.cat[hidden] { display: none; }
.cat-link { display: flex; flex-direction: column; flex: 1; padding: 8px 8px 14px; }
.cat-pic { display: block; aspect-ratio: 1; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; background: var(--paper-2); }
.cat-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 6px 0; }
.cat-title { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; overflow-wrap: anywhere; }
.cat-count { font-size: 13px; color: var(--ink-3); }
.cat-go { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--glass); color: var(--red); transition: transform .5s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.cat-go .ic { width: 16px; height: 16px; }
.cat-subs { display: none; }
.cat:hover { background: var(--surface); box-shadow: var(--shadow-lg); }
.cat:hover .cat-img { transform: scale(1.06); }
.cat:hover .cat-go { background: var(--red-btn); color: #fff; transform: rotate(-35deg); }
.cat-empty { padding: 18px 20px; margin-bottom: 16px; border-radius: var(--r-md); background: var(--red-soft); color: var(--red-text); font-weight: 600; }

/* Плашки скидок и хитов */
.deals { padding-top: 0; }
.deals-grid { display: grid; gap: 12px; }
.pr { position: relative; display: flex; align-items: center; gap: 16px; min-height: 180px; padding: 22px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: #fff; transition: transform .5s var(--ease); }
a.pr:hover { transform: translateY(-3px); }
.pr-red { background: var(--red-btn); }
.pr-red::before { content: ''; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .09); z-index: -1; }
.pr-ink { background: var(--night); box-shadow: inset 0 0 0 1px var(--line); }
.pr-ic { align-self: flex-start; display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .14); }
.pr-ic .ic { width: 26px; height: 26px; }
.pr-ink .pr-ic { background: var(--red-btn); }
.pr-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pr-title { font-size: clamp(22px, 5.6vw, 30px); }
.pr-text { color: rgba(255, 255, 255, .82); font-size: 15px; }
.pr .pill { margin-top: 6px; }
.pr-img { position: absolute; right: -30px; bottom: -30px; width: 46%; max-width: 220px; aspect-ratio: 1; object-fit: cover; border-radius: 28px; opacity: .2; transform: rotate(-8deg); z-index: 0; }

/* О сети */
.about { background: var(--paper); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.about-grid { display: grid; gap: 28px; }
.about-copy p { color: var(--ink-2); font-size: 16.5px; margin-top: 16px; max-width: 58ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 28px 0 0; }
.fact { padding: 18px; border-radius: var(--r-md); background: var(--surface); }
.fact dt { font-size: clamp(30px, 8vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--red); }
.fact dd { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.about-pic { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; }
.about-img { width: 100%; height: 100%; object-fit: cover; }

/* Адреса: тоже два столбика на широком экране */
.stores { background: var(--paper); padding-top: 8px; }
.store-list { display: grid; gap: 12px; }
.store { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.store-num { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red-soft); color: var(--red-text); font-weight: 800; }
.store-town { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red-text); padding-right: 44px; }
.store-addr { font-size: 21px; padding-right: 44px; }
.store-place { color: var(--ink-2); font-size: 15px; }
.store-hours { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
.store-hours .ic { grid-row: 1 / span 3; width: 18px; height: 18px; margin-top: 2px; color: var(--ink-3); }
.store-hours li { grid-column: 2; }
.store-act { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; padding-top: 14px; }

/* Мессенджеры */
.social { background: var(--paper); padding-top: 0; }
.social-box { position: relative; }
.social-box::before { content: ''; position: absolute; inset: 0 var(--pad); z-index: 0; border-radius: var(--r-xl); background: var(--red-btn); }
.social-copy, .soc-list { position: relative; z-index: 1; }
.social-copy { padding: 32px 22px 4px; color: #fff; }
.social-copy p { margin-top: 12px; color: rgba(255, 255, 255, .86); max-width: 46ch; }
.soc-list { display: grid; gap: 10px; padding: 20px 10px 10px; }
.soc { display: flex; align-items: center; gap: 14px; border-radius: var(--r-lg); background: var(--surface); }
.soc-link { flex: 1; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; }
.soc-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 16px; color: #fff; }
.soc-ic .ic { width: 24px; height: 24px; }
.soc-max .soc-ic { background: linear-gradient(135deg, #2b6bff, #9b4dff); }
.soc-tg .soc-ic { background: #2aa3e0; }
.soc-ig .soc-ic { background: linear-gradient(135deg, #ff9a2e, #e8336b 55%, #8a3ab9); }
.soc-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.soc-title { font-weight: 700; font-size: 17px; }
.soc-handle { color: var(--ink-3); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc-go { color: var(--ink-3); }
.soc-qr { display: none; }
.social + .section, .social { padding-bottom: 56px; }

/* Текстовые страницы */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(28px, 6vw, 44px); margin-bottom: 20px; }
.prose p { margin-top: 14px; color: var(--ink-2); }

/* Подвал */
.foot { background: var(--night); color: rgba(255, 255, 255, .78); padding: 44px 0 24px; }
.foot-grid { display: grid; gap: 28px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.logo-foot .logo-text b { color: #fff; }
.logo-foot .logo-text i { color: rgba(255, 255, 255, .6); }
.foot-phone { font-size: 22px; font-weight: 800; color: #fff; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 15px; }
.foot-nav a:hover { color: #fff; }
.foot-legal { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .55); }

/* Нижняя панель на телефоне */
.dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
}
.dock-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border: 0; border-radius: 16px; background: transparent; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.dock-btn .ic { width: 22px; height: 22px; }
.dock-btn:active { background: var(--paper); }
.dock-call { background: var(--red-btn); color: #fff; }
.dock-call:active { background: var(--red-deep); }

/* Появление при прокрутке */
.reveal.wait { opacity: 0; transform: translateY(18px); }
.reveal.wait.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* Планшет */
@media (min-width: 640px) {
    :root { --pad: 24px; }
    .cats { gap: 16px; }
    .cat-title { font-size: 17px; }
    .deals-grid { grid-template-columns: 1fr 1fr; }
    .store-list { grid-template-columns: 1fr 1fr; gap: 16px; }
    .soc-list { grid-template-columns: repeat(3, 1fr); padding: 24px; }
    .soc { flex-direction: column; align-items: stretch; }
    .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .foot-nav { grid-template-columns: 1fr; }
}

/* Компьютер */
@media (min-width: 1024px) {
    :root { --top-h: 80px; --pad: 32px; }
    body { padding-bottom: 0; }
    .dock { display: none; }
    .top-bar { grid-template-columns: auto auto minmax(220px, 1fr) auto auto; grid-template-areas: 'logo cat search nav tel'; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
    .logo-mark { width: 60px; height: 30px; }
    .logo-text b { font-size: 21px; }
    .cat-btn {
        grid-area: cat; display: inline-flex; align-items: center; gap: 10px;
        height: 48px; padding: 0 20px 0 16px; border: 0; border-radius: 999px;
        background: var(--red-btn); color: #fff; font-weight: 700;
        transition: background-color .3s var(--ease), transform .4s var(--ease);
    }
    .cat-btn:hover { background: var(--red-deep); }
    .cat-btn:active { transform: scale(.97); }
    .top-bar { grid-template-columns: max-content max-content minmax(200px, 1fr) max-content max-content; grid-template-areas: 'logo cat search tel theme'; }
    .top-nav { display: none; }
    .top-nav a { padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
    .top-nav a:hover { background: var(--paper); color: var(--ink); }
    .top-tel { width: auto; height: 48px; padding: 0 16px; border-radius: 999px; display: inline-flex; gap: 8px; font-weight: 700; color: var(--ink); background: var(--paper); }
    .top-tel .ic { color: var(--red); }
    .top-tel span { display: inline; white-space: nowrap; }
    .burger { display: none; }

    .menu { top: var(--top-h); background: rgba(23, 23, 26, .28); }
    .menu-panel { inset: 0 auto auto 50%; transform: translateX(-50%); width: min(var(--wrap) - 2 * var(--pad), 100% - 2 * var(--pad)); max-height: calc(100dvh - var(--top-h) - 24px); margin-top: 12px; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); animation: menu-drop .45s var(--ease); }
    @keyframes menu-drop { from { opacity: 0; margin-top: 0; } to { opacity: 1; margin-top: 12px; } }
    .menu-bar { display: none; }
    .menu-body { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding: 24px; }
    .menu-cats { display: block; columns: 2; column-gap: 24px; }
    .menu-cats > * { break-inside: avoid; }
    .menu-side { margin-top: 0; padding: 20px; border-radius: var(--r-lg); background: var(--paper); align-self: start; }
    .menu-links a { background: var(--surface); border: 0; }
    .menu-social a { background: var(--surface); }

    .showcase { padding-top: 24px; }
    .bn-track { grid-auto-flow: row; grid-template-columns: 1.7fr 1fr; grid-template-rows: 1fr 1fr; grid-auto-columns: auto; gap: 16px; overflow: visible; margin: 0; padding: 0; }
    .bn { min-height: 260px; }
    .bn-main { grid-row: 1 / span 2; min-height: 560px; }
    .bn-main .bn-card { padding: 40px; max-width: 640px; }
    .bn:not(.bn-main) .bn-card { padding: 26px; }
    .bn:not(.bn-main) .bn-title { font-size: 30px; }
    .bn:not(.bn-main) .bn-text { font-size: 15px; }
    .bn:not(.bn-main) .pill { display: none; }
    .bn-dots { display: none; }

    .section { padding: 88px 0; }
    .head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
    .head .lead { text-align: right; }

    .cats { gap: 18px; }
    .cat { display: grid; grid-template-columns: 168px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 20px; padding: 10px; }
    .cat-link { display: contents; }
    .cat-pic { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
    .cat-body { grid-column: 2; grid-row: 1; padding: 14px 56px 0 0; }
    .cat-title { font-size: 21px; }
    .cat-go { top: 20px; right: 20px; }
    .cat-subs { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; padding: 12px 8px 10px 0; }
    .cat-subs li a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 14px; color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
    .cat:hover .cat-subs li a { background: var(--paper); }
    .cat-subs li a:hover { background: var(--red-soft) !important; color: var(--red-text); }
    .cat-subs .cat-more { color: var(--red-text); font-weight: 700; }

    .catalog { padding-bottom: 32px; }
    .pr { min-height: 220px; padding: 32px; }
    .about-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
    .about-pic { aspect-ratio: 4 / 5; max-height: 560px; }
    .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stores { padding-top: 0; }
    .store { padding: 28px; }
    .store-act { display: flex; flex-wrap: wrap; }
    .social-copy { padding: 48px 48px 8px; }
    .social-copy h2 { max-width: 24ch; }
    .soc-list { padding: 28px 32px 32px; gap: 16px; }
    .soc { padding-bottom: 18px; }
    .soc { padding-bottom: 22px; }
    .soc-qr { display: block; width: min(220px, 80%); height: auto; aspect-ratio: 1; margin: 6px auto 0; border-radius: 16px; object-fit: contain; background: #fff; }
    .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1500px) {
    .top-bar { grid-template-columns: max-content max-content minmax(240px, 1fr) max-content max-content max-content; grid-template-areas: 'logo cat search nav tel theme'; }
    .top-nav { grid-area: nav; display: flex; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal.wait { opacity: 1; transform: none; }
}
