/* ============================================================
   Публичный сайт: тёмная тема «чёрный + жёлтый + красный».
   Главная, страница заказа, документы, вход и ошибки.
   Админка остаётся на index.css.
   ============================================================ */
:root {
    --bg: #0a0a0a;
    --bg-2: #111111;
    --card: #151515;
    --card-2: #1c1c1c;
    --line: #2b2b2b;
    --line-2: #3a3a3a;
    --text: #f6f3ee;
    --muted: #a7a29b;
    --muted-2: #77726b;
    --yellow: #ffc81f;
    --yellow-dark: #e5ab00;
    --red: #d8261c;
    --red-dark: #a8170f;
    --green: #4cc274;

    --font-display: 'Oswald', 'Arial Narrow', sans-serif;
    --font-script: 'Caveat', cursive;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius: 10px;
    --radius-sm: 6px;
    --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    padding-top: var(--nav-h);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--yellow); }
a:hover { color: var(--yellow-dark); }
::selection { background: var(--yellow); color: #000; }

.container { max-width: 1240px; }

/* ---------- Типографика ---------- */
.display, h1, h2 {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .01em;
    line-height: 1;
}
.script {
    font-family: var(--font-script);
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
}
.text-yellow { color: var(--yellow) !important; }
.text-red { color: var(--red) !important; }
.text-muted-2 { color: var(--muted) !important; }

.sec { padding: 72px 0; position: relative; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.sec-head .kicker { display: block; font-size: 30px; transform: rotate(-3deg); transform-origin: left bottom; margin-bottom: 2px; }
.sec-head h2 { font-size: clamp(36px, 5vw, 60px); margin: 0; color: var(--text); }
.sec-head .more { color: var(--text); font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: none; border: none; padding: 0; }
.sec-head .more:hover { color: var(--yellow); }
.sec-divider { border: 0; border-top: 1px solid var(--line); margin: 0; opacity: 1; }

/* ---------- Кнопки ---------- */
.btn-y, .btn-r, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
    font-family: var(--font-body);
}
.btn-y { background: var(--yellow); color: #0a0a0a; }
.btn-y:hover { background: var(--yellow-dark); color: #0a0a0a; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 200, 31, .25); }
.btn-r { background: var(--red); color: #fff; }
.btn-r:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.btn-y:disabled, .btn-r:disabled, .btn-ghost:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm-pill { padding: 8px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* Старые имена кнопок — их подставляет cart.js и шаблоны заказа */
.btn-primary-custom, .btn-outline-custom {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 999px; font-weight: 800; font-size: 15px;
    text-decoration: none; cursor: pointer; transition: all .2s; font-family: var(--font-body);
}
.btn-primary-custom { background: var(--yellow); color: #0a0a0a; border: 2px solid var(--yellow); }
.btn-primary-custom:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: #0a0a0a; transform: translateY(-2px); }
.btn-primary-custom:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-outline-custom { background: transparent; color: var(--text); border: 2px solid var(--line-2); }
.btn-outline-custom:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------- Логотип ---------- */
.logo-badge {
    width: 58px; height: 58px; flex: 0 0 58px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 3px var(--red), 0 6px 18px rgba(216, 38, 28, .35);
}
.logo-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1; letter-spacing: .02em; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--yellow); margin-top: 4px; }

/* ---------- Шапка ---------- */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
    min-height: var(--nav-h);
    background: rgba(10, 10, 10, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
}
.site-nav .container { display: flex; align-items: center; gap: 18px; min-height: 60px; flex-wrap: wrap; }
.site-nav .nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 auto; padding: 0; }
.site-nav .nav-links a {
    display: block; padding: 8px 12px;
    color: var(--text); text-decoration: none;
    font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
    position: relative; transition: color .2s;
}
.site-nav .nav-links a::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
    background: var(--yellow); transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.site-nav .nav-links a:hover, .site-nav .nav-links a.active { color: var(--yellow); }
.site-nav .nav-links a:hover::after, .site-nav .nav-links a.active::after { transform: scaleX(1); }
.site-nav .nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-nav .nav-links + .nav-actions { margin-left: 0; }
.nav-back { color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.nav-back:hover { color: var(--yellow); }

/* Нижняя панель разделов: на узких экранах заменяет меню в шапке */
.tabbar { display: none; }
@media (max-width: 1099.98px) {
    :root { --tabbar-h: 62px; }
    .site-nav .nav-links { display: none; }
    .site-nav .nav-actions { margin-left: auto; }

    .tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
        display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
        min-height: var(--tabbar-h);
        padding-bottom: env(safe-area-inset-bottom);
        background: rgba(10, 10, 10, .95);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--line);
    }
    .tabbar-item {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        padding: 8px 2px;
        background: none; border: 0;
        color: var(--muted); text-decoration: none;
        font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .02em;
        transition: color .2s;
    }
    .tabbar-item i { font-size: 21px; line-height: 1; }
    .tabbar-item:hover, .tabbar-item.active { color: var(--yellow); }

    /* «Заказать» — акцентная кнопка корзины по центру панели, вместо кнопки в шапке */
    body:has(.tabbar) .site-nav .cart-btn { display: none; }
    .tabbar-cart { color: var(--yellow); }
    .tabbar-cart-icon {
        position: relative;
        display: grid; place-items: center;
        width: 44px; height: 44px; margin-top: -18px;
        border-radius: 50%;
        background: var(--yellow); color: #0a0a0a;
        box-shadow: 0 0 0 4px var(--bg), 0 6px 16px rgba(255, 200, 31, .3);
    }
    .tabbar-cart-icon i { font-size: 20px; }
    .tabbar-cart .cart-count {
        position: absolute; top: -4px; right: -6px;
        min-width: 20px; height: 20px; padding: 0 5px;
        border-radius: 10px;
        background: var(--red); color: #fff;
        font-size: 11px; font-weight: 800; line-height: 1;
        display: inline-grid; place-items: center;
    }
    .tabbar-cart .cart-count[hidden] { display: none; }
    .tabbar-cart.bump .tabbar-cart-icon { animation: cartBump .4s ease; }

    /* Контент и нижние всплывашки не прячем под панелью */
    body:has(.tabbar) { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
    body:has(.tabbar) .cookie-bar { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 12px); }
    body:has(.tabbar) .cart-toast { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px); }
}
@media (max-width: 575.98px) {
    :root { --nav-h: 68px; }
    .logo-badge { width: 48px; height: 48px; flex-basis: 48px; }
    .brand-name { font-size: 18px; }
    .site-nav .brand-name small { display: none; }
}

/* ---------- Мазки краской и корона ---------- */
.brush {
    position: absolute; pointer-events: none;
    background: var(--red);
    clip-path: polygon(2% 38%, 9% 18%, 22% 22%, 36% 6%, 52% 14%, 66% 2%, 80% 12%, 94% 4%, 100% 30%, 96% 56%, 99% 78%, 86% 94%, 70% 84%, 54% 98%, 38% 86%, 22% 96%, 8% 82%, 0 64%);
    opacity: .95;
}
.crown { width: 34px; height: 26px; color: var(--yellow); display: inline-block; }
.crown svg { width: 100%; height: 100%; display: block; }

/* ---------- Герой ---------- */
/* Баннер во всю ширину (по образцу uploads/пример.png): слева наклонный заголовок с красным мазком,
   справа фото burgers.jpg целиком, его левый край растворяется в фон.
   Высота баннера = высота фото (16:9). На узком экране — заголовок, под ним фото на всю ширину. */
.hero {
    --hero-img-w: 60vw;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center;
    min-height: calc(var(--hero-img-w) * 9 / 16);
    padding: 28px 0;
    background:
        radial-gradient(ellipse 40% 60% at 18% 45%, rgba(216, 38, 28, .14), transparent 70%),
        linear-gradient(180deg, #0d0d0d, var(--bg));
}
.hero .container { position: relative; z-index: 2; }
.hero-text { position: relative; display: inline-block; padding-left: clamp(0px, 2vw, 32px); }
.hero-city { font-size: 28px; transform: rotate(-4deg); display: inline-block; margin-bottom: 6px; }
.hero h1 {
    font-size: clamp(34px, 5vw, 84px); line-height: .98; margin: 0;
    transform: rotate(-5deg) skewX(-7deg); transform-origin: left bottom;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .75);
}
.hero h1 span { display: block; }
.hero h1 .l1, .hero h1 .l3 { color: var(--text); }
.hero h1 .l2 { color: var(--yellow); }
.hero-underline {
    position: relative; display: block;
    width: 82%; height: clamp(14px, 1.6vw, 26px);
    margin: clamp(12px, 1.4vw, 22px) 0 0 4%;
    transform: rotate(-5deg);
}
.hero-media {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%); z-index: 1;
    width: var(--hero-img-w); aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 10%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 10%, #000 88%, transparent 100%);
    mask-composite: intersect;
}
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 991.98px) {
    /* текст сверху, фото под ним */
    .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 36px 0 0; }
    .hero-text { padding-left: 22px; }
    .hero h1 { font-size: clamp(28px, 8.2vw, 60px); }
    .hero-media {
        order: 2;
        position: relative; top: auto; transform: none;
        width: 100%; margin-top: 4px;
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
        -webkit-mask-composite: source-over;
        mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
        mask-composite: add;
    }
}

/* ---------- Полоса преимуществ ---------- */
.perks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 26px 14px; position: relative; }
.perk + .perk::before { content: ''; position: absolute; left: 0; top: 26%; bottom: 26%; border-left: 1px solid var(--line-2); }
.perk i { font-size: 34px; color: var(--yellow); line-height: 1; }
.perk span { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: 1.3; }
@media (max-width: 767.98px) {
    .perks-grid { grid-template-columns: repeat(2, 1fr); }
    .perk { justify-content: flex-start; padding: 18px 10px; }
    .perk:nth-child(3)::before { display: none; }
    .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
    .perk i { font-size: 28px; }
    .perk span { font-size: 12px; }
}

/* ---------- Меню: вкладки ---------- */
.cat-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; max-width: 100%; }
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: 13.5px; font-weight: 700;
    cursor: pointer; white-space: nowrap;
    transition: all .2s;
    font-family: var(--font-body);
}
.cat-pill:hover { border-color: var(--yellow); color: var(--yellow); }
.cat-pill.active { background: var(--yellow); border-color: var(--yellow); color: #0a0a0a; }
.cat-pill .icon { font-size: 16px; }
.menu-head { align-items: flex-end; }
@media (max-width: 767.98px) {
    .menu-head { display: block; }
    .menu-head .cat-pills { margin-top: 18px; margin-right: -12px; padding-right: 12px; }
}

/* ---------- Карточка товара ---------- */
.product-card {
    position: relative;
    display: flex; flex-direction: column;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: 0 16px 36px rgba(0, 0, 0, .5); }
.product-card .image-wrap {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden;
    background: radial-gradient(circle at 50% 60%, #262626, #0e0e0e);
}
.product-card .image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.product-card:hover .image-wrap img { transform: scale(1.06); }
.p-badge {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    padding: 4px 10px; border-radius: 4px;
    font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
    background: var(--yellow); color: #0a0a0a;
}
.p-badge.red { background: var(--red); color: #fff; }
.p-badge + .p-badge { top: 42px; }
.product-card .body { flex: 1; display: flex; flex-direction: column; padding: 16px 16px 18px; }
.product-card .body h5 {
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: 19px; line-height: 1.2; margin: 0 0 6px; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card .body .desc {
    color: var(--muted); font-size: 13.5px; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: calc(2 * 1.45em); margin-bottom: 14px;
}
.product-card .body .bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-size-wrapper { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.price-block { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price, .price-new { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--yellow); line-height: 1; white-space: nowrap; }
.price-old { font-size: 14px; color: var(--muted-2); text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; white-space: nowrap; }
.size, .size-block { font-size: 12.5px; color: var(--muted); }
.size-block { display: flex; gap: 6px; }
.size-old { text-decoration: line-through; opacity: .6; }
.size-new { color: var(--yellow); font-weight: 700; }

.btn-cart-add {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--yellow); color: #0a0a0a;
    border: 0; border-radius: 999px;
    padding: 9px 16px;
    font-size: 13px; font-weight: 800; white-space: nowrap;
    transition: background .2s, transform .2s;
    font-family: var(--font-body);
}
.btn-cart-add:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-cart-add:disabled { background: var(--card-2); color: var(--muted-2); cursor: not-allowed; transform: none; }

.product-card.is-soldout .image-wrap img { filter: grayscale(.8); opacity: .55; }
.product-card.is-soldout .body { opacity: .7; }
.product-card.is-soldout:hover { transform: none; border-color: var(--line-2); }
.soldout-badge {
    position: absolute; top: 50%; left: 50%; z-index: 3;
    transform: translate(-50%, -50%) rotate(-7deg);
    padding: .15em .7em;
    border: 3px solid var(--red); border-radius: 4px;
    background: rgba(10, 10, 10, .78); color: var(--red);
    font-family: var(--font-display); font-weight: 700; font-size: 26px;
    letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; pointer-events: none;
}
.empty-cat { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---------- Баннер акций ---------- */
.promo {
    display: grid;
    margin: 0 auto;
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line);
}
.promo-main {
    position: relative; overflow: hidden;
    background: var(--yellow); color: #0a0a0a;
    padding: 24px 30px;
    display: flex; flex-direction: column; justify-content: center;
}
.promo-main::after {
    content: ''; position: absolute; right: -60px; bottom: -80px;
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 38, 28, .28), transparent 70%);
}
.promo-slide { display: none; position: relative; z-index: 1; cursor: pointer; }
.promo-slide:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 6px; border-radius: 4px; }
.promo-slide:hover .btn-r { background: var(--red-dark); }
.promo-slide.active { display: block; animation: promoIn .45s ease; }
@keyframes promoIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.promo-slide .tag { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .1em; color: var(--red); }
.promo-slide h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 3vw, 36px); line-height: 1.05; margin: 6px 0 16px; overflow-wrap: anywhere; }
.promo-slide p { font-weight: 600; font-size: 15px; line-height: 1.5; margin: 0 0 18px; max-width: 560px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.promo-dots { display: flex; gap: 6px; margin-top: 16px; position: relative; z-index: 1; }
.promo-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(0, 0, 0, .25); }
.promo-dots button.active { background: var(--red); width: 26px; border-radius: 5px; }
.promo-side {
    position: relative; overflow: hidden;
    background: #0d0d0d;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 32px;
}
.promo-side .brush-label {
    position: relative; display: inline-block;
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; color: #fff;
    padding: 16px 26px; transform: rotate(-4deg); margin-bottom: 22px;
}
.promo-side .brush-label .brush { inset: 0; z-index: -1; }
.promo-side .brush-label { z-index: 0; }
.promo-side a { color: var(--text); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.promo-side a:hover { color: var(--yellow); }
@media (max-width: 767.98px) {
    .promo { grid-template-columns: 1fr; }
    .promo-main, .promo-side { padding: 26px 22px; }
}

/* ---------- О нас ---------- */
.about-card {
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.about-photo { position: relative; min-height: 380px; overflow: hidden; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.05) 50%, var(--card) 100%), linear-gradient(0deg, rgba(0,0,0,.55), transparent 50%); }
.about-photo .script { position: absolute; z-index: 1; right: 10%; top: 12%; font-size: clamp(30px, 3.4vw, 44px); transform: rotate(-12deg); text-align: center; text-shadow: 0 3px 14px rgba(0, 0, 0, .8); }
.about-body { padding: 40px 40px 36px; }
.about-body h2 { font-size: clamp(36px, 4.6vw, 56px); margin: 0 0 16px; }
.about-body .about-text { color: var(--text); opacity: .9; font-size: 16px; line-height: 1.7; white-space: pre-line; }
.about-body .about-text b { color: var(--yellow); }
.about-body .about-more { margin-top: 24px; }

/* Модалка «Узнать больше» */
.about-more-body p { color: var(--text); opacity: .88; line-height: 1.7; margin-bottom: 18px; }
.about-more-body .about-lead { font-size: 17px; opacity: 1; }
.about-more-body h6 {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
    font-size: 18px; color: var(--text); margin: 24px 0 8px;
}
.about-more-body h6 i { color: var(--yellow); font-size: 20px; }
.about-more-cta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.about-more-cta .script { font-size: 32px; transform: rotate(-3deg); }
.about-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 28px; }
.about-feat { display: flex; align-items: center; gap: 10px; }
.about-feat .num { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--yellow); line-height: 1; }
.about-feat span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
@media (max-width: 991.98px) {
    .about-card { grid-template-columns: 1fr; }
    .about-photo { min-height: 260px; }
    .about-photo::after { background: linear-gradient(0deg, var(--card), transparent 60%); }
    .about-body { padding: 28px 22px; }
}
@media (max-width: 480px) { .about-feats { grid-template-columns: 1fr; } }

/* Команда */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.team-card { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.team-photo { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; overflow: hidden; border: 2px solid var(--yellow); background: var(--card-2); position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo.no-photo img { display: none; }
.team-photo.no-photo::after { content: '👤'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; opacity: .5; }
.team-card h5 { font-size: 15px; font-weight: 800; margin: 0; }
.team-card .role { color: var(--yellow); font-size: 12px; font-weight: 700; display: block; margin: 2px 0 4px; }
.team-card p { color: var(--muted); font-size: 12.5px; line-height: 1.4; margin: 0; }
@media (max-width: 991.98px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Отзывы ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 991.98px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
    display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; transition: border-color .2s;
}
.review-card:hover { border-color: var(--line-2); }
.review-stars { color: var(--yellow); font-size: 15px; letter-spacing: 3px; }
.review-stars .off { color: var(--line-2); }
.review-card .review-name { font-weight: 700; margin: 8px 0 8px; }
.review-card .review-text { color: var(--text); opacity: .88; font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; overflow-wrap: anywhere; }
.review-card .review-text.expanded { -webkit-line-clamp: unset; display: block; }
.review-card .review-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.review-card .review-foot .src { display: inline-flex; align-items: center; gap: 6px; }
.review-card .review-foot .src i { color: var(--red); }
.review-toggle { background: none; border: 0; padding: 0; color: var(--yellow); font-weight: 700; font-size: 13px; text-align: left; margin: -8px 0 14px; }
.reviews-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.no-reviews { text-align: center; padding: 48px 20px; color: var(--muted); grid-column: 1 / -1; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.no-reviews .icon { font-size: 48px; opacity: .5; }
.no-reviews h4 { font-family: var(--font-display); text-transform: uppercase; color: var(--text); margin: 8px 0 4px; }
.reviews-list { display: flex; flex-direction: column; gap: 14px; }

.stars-rating { display: flex; justify-content: center; gap: 12px; font-size: 32px; cursor: pointer; }
.stars-rating i { color: var(--line-2); transition: all .2s; user-select: none; }
.stars-rating i.active, .stars-rating i.hover { color: var(--yellow); }
.stars-rating i:hover { transform: scale(1.15); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
@media (max-width: 767.98px) { .faq-list { grid-template-columns: 1fr; } }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; cursor: pointer; transition: border-color .2s; }
.faq-item:hover { border-color: var(--line-2); }
.faq-item.open { border-color: var(--yellow); }
.faq-item .question { display: flex; justify-content: space-between; gap: 14px; align-items: center; font-weight: 700; }
.faq-item .question .icon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--yellow); font-size: 12px; transition: transform .3s, background .2s; }
.faq-item.open .question .icon { transform: rotate(180deg); background: var(--yellow); color: #000; }
.faq-item .answer { display: none; padding-top: 12px; color: var(--muted); line-height: 1.65; white-space: pre-line; }
.faq-item.open .answer { display: block; }

/* ---------- Доставка ---------- */
.delivery-sec {
    position: relative; overflow: hidden; margin-top: 40px;
    background: linear-gradient(90deg, var(--bg-2), #0d0d0d);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.delivery-card { display: grid; grid-template-columns: 2.4fr .9fr; align-items: center; }
.delivery-intro { padding: 44px 32px 44px 0; }
.delivery-intro .kicker, .contact-addr .kicker, .contact-ask .kicker { font-size: 28px; display: inline-block; transform: rotate(-3deg); margin-bottom: 4px; }
.delivery-intro h2 { font-size: clamp(36px, 4.4vw, 54px); margin: 0 0 14px; }
.delivery-intro p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 22px; max-width: 640px; }
.delivery-art { position: relative; height: 100%; min-height: 300px; display: grid; place-items: center; }
.delivery-art .glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 31, .28), transparent 68%); }
.delivery-art .big-logo { position: relative; width: 210px; height: 210px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 6px var(--yellow), 0 20px 50px rgba(0, 0, 0, .6); transform: rotate(-6deg); }
.delivery-art .big-logo img { width: 100%; height: 100%; object-fit: cover; }
.delivery-art .script { position: absolute; right: -6%; top: 2%; font-size: 36px; transform: rotate(-14deg); text-align: center; line-height: .95; }
@media (max-width: 991.98px) {
    .delivery-card { grid-template-columns: 1fr; }
    .delivery-intro { padding: 40px 0 10px; }
    .delivery-art { min-height: 260px; }
}

/* ---------- Адрес и контакты ---------- */
.contact-band { display: grid; grid-template-columns: 1.15fr 1fr 1fr; border-bottom: 1px solid var(--line); background: var(--bg); }
.contact-map { position: relative; min-height: 320px; background: #161616; overflow: hidden; }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.9); }
.contact-map .script { position: absolute; z-index: 1; right: 8%; top: 14%; font-size: 40px; transform: rotate(-12deg); pointer-events: none; text-shadow: 0 3px 10px rgba(0, 0, 0, .9); }
.contact-addr, .contact-ask { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.contact-addr .kicker, .contact-ask .kicker { font-size: 26px; transform: rotate(-3deg); display: inline-block; margin-bottom: 4px; }
.contact-addr h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 34px; margin: 0 0 12px; }
.contact-addr p { margin: 0 0 6px; font-weight: 600; }
.contact-addr .hours { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.contact-addr .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-addr .btns a { gap: 8px; }
/* в какой карте откроется маршрут — мелко, после основной подписи */
.btn-map-name { font-size: 11px; font-weight: 700; opacity: .65; text-transform: uppercase; letter-spacing: .04em; }
.contact-ask { border-left: 1px solid var(--line); }
.contact-ask .phone { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--text); text-decoration: none; margin: 6px 0 16px; }
.contact-ask .phone:hover { color: var(--yellow); }
.round-icons { display: flex; gap: 14px; }
.round-icon { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--yellow); color: var(--yellow); display: grid; place-items: center; font-size: 20px; text-decoration: none; transition: all .2s; }
.round-icon:hover { background: var(--yellow); color: #000; }
.round-icon .vk { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
@media (max-width: 991.98px) {
    .contact-band { grid-template-columns: 1fr 1fr; }
    .contact-map { grid-column: 1 / -1; min-height: 280px; }
}
@media (max-width: 575.98px) {
    .contact-band { grid-template-columns: 1fr; }
    .contact-addr, .contact-ask { padding: 30px 16px; }
    .contact-ask { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Подвал ---------- */
.site-footer { background: #070707; padding: 30px 0 26px; border-top: 1px solid var(--line); }
.site-footer .row-1 { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.site-footer .foot-links { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.site-footer .foot-links a { color: var(--text); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.site-footer .foot-links a:hover { color: var(--yellow); }
.site-footer .socials { display: flex; gap: 10px; }
.site-footer .socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text); display: grid; place-items: center; text-decoration: none; font-weight: 800; font-size: 13px; }
.site-footer .socials a:hover { border-color: var(--yellow); color: var(--yellow); }
.site-footer .row-2 { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted-2); }
.site-footer .row-2 a { color: var(--muted); text-decoration: none; }
.site-footer .row-2 a:hover { color: var(--yellow); }
.site-footer .logo-badge { width: 46px; height: 46px; flex-basis: 46px; }

/* ---------- Bootstrap-модалки в тёмной теме ---------- */
.modal-content {
    background: var(--card); color: var(--text);
    border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
}
.modal-header, .modal-footer { border-color: var(--line) !important; }
.modal-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.modal .btn-close, .offcanvas .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .8; }
.modal-backdrop.show { opacity: .75; }
.form-label { font-weight: 600; font-size: 13px; color: var(--muted); }
.form-control, .form-select {
    background: var(--bg-2); color: var(--text);
    border: 1px solid var(--line-2); border-radius: 8px;
    padding: 11px 14px; font-size: 15px;
}
.form-control::placeholder { color: var(--muted-2); }
.form-control:focus, .form-select:focus { background: var(--bg-2); color: var(--text); border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 200, 31, .15); }
.form-check-input { background-color: var(--bg-2); border-color: var(--line-2); }
.form-check-input:checked { background-color: var(--yellow); border-color: var(--yellow); }
.form-check-input:checked[type=checkbox] { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(255, 200, 31, .15); border-color: var(--yellow); }
.text-muted { color: var(--muted) !important; }

/* Модалка товара */
#productModal .modal-body img.p-modal-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #0e0e0e; }
#productModal .btn-close { background-color: rgba(0, 0, 0, .7); border-radius: 50%; width: 34px; height: 34px; padding: 0; opacity: 1; filter: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e"); background-size: 12px; }
#productModal .btn-close:hover { background-color: var(--red); }
.news-modal-text { line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }

.modal-info { padding: 22px 24px 24px; }
.modal-info h4 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 28px; margin: 0 0 8px; }
.modal-info .desc { color: var(--muted); line-height: 1.6; white-space: pre-line; }
.modal-info .ingredients-block { background: var(--bg-2); border-left: 3px solid var(--yellow); border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 14px 0; }
.modal-info .ingredients-block .lbl { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 4px; }
.modal-info .nutrition-block { margin: 14px 0; }
.modal-info .nutrition-block .lbl { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.nutrition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nutrition-item { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 6px; text-align: center; line-height: 1.15; }
.nutrition-item b { font-size: 20px; font-weight: 800; color: var(--text); }
.nutrition-item span { font-size: 12px; color: var(--muted); margin-left: 2px; }
.nutrition-item small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 400px) { .nutrition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-card .body .kcal { margin: -8px 0 12px; font-size: 12px; font-weight: 700; color: var(--muted-2); }
.modal-info .price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.modal-info .price-row .price, .modal-info .price-row .price-new { font-size: 34px; }
.modal-info .price-row .price-old { font-size: 18px; }
.modal-info .p-badges { display: flex; gap: 6px; margin-bottom: 10px; }
.modal-info .p-badges .p-badge { position: static; }

/* ---------- Простые страницы (заказ, документы, вход, ошибки) ---------- */
body.page-plain { display: flex; flex-direction: column; min-height: 100vh; }
body.page-plain > main, body.page-plain > .order-page { flex: 1 0 auto; }
.legal-doc ul { padding-left: 20px; }
.legal-doc a { color: var(--yellow); }
.center-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(216, 38, 28, .18), transparent 70%), var(--bg); }
.panel {
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    padding: 36px 32px; width: 100%; box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.panel h1 { font-size: 34px; margin: 0 0 8px; }
.panel .lead-text { color: var(--muted); }
.panel-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.panel-logo .logo-badge { width: 84px; height: 84px; flex-basis: 84px; }
@media (max-width: 480px) { .panel { padding: 26px 20px; } }

/* ---------- Онлайн-заказ выключен в админке: сайт — меню-витрина ---------- */
body.cart-off .order-ui,
body.cart-off .btn-cart-add,
body.cart-off .modal-cart-row,
body.cart-off .cart-toast { display: none !important; }
.order-cancel-note { width: 100%; text-align: center; font-size: 13px; color: var(--muted); margin: 0; }
