/* =========================
   ОСНОВНЫЕ НАСТРОЙКИ
========================= */

html {
    scroll-behavior: smooth;
}

/* Финальные переопределения расширенной карточки товара */
body .modifier-modal { padding: 24px; }
body .modifier-window { width: min(1120px,96vw); max-width: none; max-height: 92vh; padding: 0; overflow: auto; border-radius: 28px; }
body .modifier-window .modifier-close { top: 18px; right: 18px; }
body .product-detail-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(390px,.9fr); min-height: 620px; }
body .product-detail-media { min-height: 620px; }
body .product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
body .product-detail-content { padding: 44px 38px 32px; }
body .product-detail-content .modifier-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
body .product-detail-content .modifier-option { min-height: 118px; margin: 0; flex-direction: column; align-items: center; justify-content: space-between; }
body .product-detail-content .modifier-add-button { width: 100%; }

@media (max-width: 800px) {
    body .product-detail-grid { grid-template-columns: 1fr; }
    body .product-detail-media { min-height: 280px; max-height: 360px; }
    body .product-detail-content { padding: 26px 20px; }
    body .product-detail-content .modifier-list { grid-template-columns: 1fr; }
    body .product-detail-content .modifier-option { min-height: 78px; flex-direction: row; text-align: left; }
}

@media (max-width: 500px) {
    body .modifier-modal { padding: 0; }
    body .modifier-window { width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; }
}

/* Финальная адаптивность единой сетки меню */
.menu-section .menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
}

@media (max-width: 900px) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .menu-section .menu-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Единые каталожные сетки */
.services,
.sales-section {
    height: auto;
    min-height: 0;
}

.menu-section .menu-grid,
.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    gap: 20px;
    width: 100%;
}

.catalog-offer-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.menu-section .menu-card > img,
.catalog-product-grid .menu-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.catalog-product-grid .menu-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 16px 16px;
}

.catalog-product-grid .menu-card-content > p {
    flex: 1;
    margin-bottom: 18px;
}

.catalog-card-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #d80d31;
    color: #fff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .04em;
}

@media (min-width: 1600px) {
    .catalog-product-grid--featured {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .menu-section .menu-grid,
    .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .menu-section .menu-grid,
    .catalog-product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .catalog-product-grid .menu-card-content {
        padding: 16px 14px 14px;
    }
}

/* ===== Категории под баннером ===== */
.catalog-strip { position: sticky; top: 72px; z-index: 30; margin-top: 14px; padding: 12px 0; background: rgba(255,255,255,.96); border-bottom: 1px solid #ececec; backdrop-filter: blur(12px); }
.catalog-strip .category-panel { margin: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.catalog-strip .category-panel::-webkit-scrollbar { display: none; }
.catalog-strip .category-button { flex: 0 0 auto; white-space: nowrap; }

/* ===== Приложение и подвал ===== */
.app-promo { padding: 42px 0 24px; background: #fff; }
.app-promo-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 24px 30px; border-radius: 24px; background: linear-gradient(115deg,#ffd728,#ffbd12); color: #191919; }
.app-promo-icon { font-size: 54px; transform: rotate(-8deg); }
.app-promo strong { display: block; font-size: 23px; text-transform: uppercase; }
.app-promo span { display: block; margin-top: 5px; color: #4a3a00; }
.app-promo-button { min-width: 140px; padding: 15px 24px; border: 0; border-radius: 999px; background: #fff; color: #171717; font-weight: 800; cursor: pointer; }
.site-footer { padding: 30px 0 24px; background: #fff; border-top: 1px solid #eee; color: #292929; }
.footer-top { display: flex; align-items: center; gap: 38px; padding-bottom: 24px; }
.footer-brand img { width: 145px; max-height: 58px; object-fit: contain; }
.footer-phone { color: #171717; font-size: 24px; font-weight: 800; text-decoration: none; }
.footer-phones { display: grid; gap: 6px; }
.footer-phones .footer-phone { font-size: 18px; }
.footer-socials { margin-left: auto; display: flex; gap: 10px; }
.footer-socials span { padding: 10px 14px; border-radius: 12px; background: #f2f4f7; color: #c8102e; font-weight: 800; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; padding: 28px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.footer-links > div { display: grid; align-content: start; gap: 12px; }
.footer-links a,.footer-links button { padding: 0; border: 0; background: none; color: #333; text-align: left; text-decoration: none; font: inherit; cursor: pointer; }
.footer-links span { color: #666; line-height: 1.5; }
.footer-note { margin: 22px 0 0; color: #777; font-size: 13px; line-height: 1.55; }
.footer-social-shell { width: min(430px,100%); margin-left: auto; padding: 16px; border: 1px solid rgba(17,17,17,.08); border-radius: 12px; background: #111; }
.footer-social-list .about-social-item { text-decoration: none; }
.footer-addresses a { display: flex; align-items: flex-start; gap: 7px; }
.footer-addresses a span { flex: 0 0 auto; color: #c8102e; }
.footer-links .footer-link-disabled { color: #999; cursor: default; opacity: .72; }

/* ===== О компании ===== */
.company-modal { position: fixed; inset: 0; z-index: 2200; display: grid; place-items: center; padding: 20px; background: rgba(15,15,15,.62); opacity: 0; visibility: hidden; transition: .2s ease; }
.company-modal.is-open { opacity: 1; visibility: visible; }
.company-window { position: relative; width: min(680px,96vw); max-height: 92vh; overflow: auto; padding: 42px; border-radius: 26px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.3); transform: translateY(18px); transition: .2s ease; }
.company-modal.is-open .company-window { transform: none; }
.company-window .modal-x { position: absolute; top: 18px; right: 18px; }
.company-window h2 { padding-right: 48px; font-size: clamp(28px,4vw,38px); line-height: 1.15; }
.company-window > p { margin-top: 18px; color: #555; line-height: 1.7; }
.company-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 26px; }
.company-details > div { display: grid; gap: 5px; padding: 18px; border-radius: 16px; background: #f5f5f3; }
.company-details span { color: #666; }
.company-details a { color: #c8102e; font-weight: 800; text-decoration: none; }
.company-close-button { min-height: 52px; margin-top: 26px; padding: 0 28px; border: 0; border-radius: 999px; background: #c8102e; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }

/* ===== Условия доставки ===== */
.delivery-conditions-modal { position: fixed; inset: 0; z-index: 2200; display: grid; place-items: center; padding: 20px; background: rgba(15,15,15,.62); opacity: 0; visibility: hidden; transition: .2s ease; }
.delivery-conditions-modal.is-open { opacity: 1; visibility: visible; }
.delivery-conditions-window { position: relative; width: min(820px,96vw); max-height: 92vh; overflow: auto; padding: 40px; border-radius: 26px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.3); transform: translateY(18px); transition: .2s ease; }
.delivery-conditions-modal.is-open .delivery-conditions-window { transform: none; }
.delivery-conditions-window > .modal-x { position: absolute; top: 18px; right: 18px; }
.delivery-conditions-window h2 { padding-right: 48px; font-size: clamp(28px,4vw,38px); line-height: 1.15; }
.delivery-city-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-top: 24px; padding: 5px; border-radius: 15px; background: #f1eff0; }
.delivery-city-tabs button { min-height: 46px; border: 0; border-radius: 11px; background: transparent; color: #666; font: inherit; font-weight: 800; cursor: pointer; }
.delivery-city-tabs button[aria-selected="true"] { background: #fff; color: #c8102e; box-shadow: 0 3px 12px rgba(0,0,0,.1); }
.delivery-city-tabs button:focus-visible { outline: 2px solid #c8102e; outline-offset: 2px; }
.delivery-conditions-content { min-height: 150px; margin-top: 22px; }
.delivery-conditions-state { display: grid; min-height: 150px; place-items: center; padding: 28px; border-radius: 16px; background: #f6f5f3; color: #666; line-height: 1.55; text-align: center; }
.delivery-conditions-state--error { color: #a30d27; background: #fff0f2; }
.delivery-zone-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.delivery-zone-card { min-width: 0; padding: 20px; border: 1px solid #e5e3e1; border-radius: 17px; background: #fff; }
.delivery-zone-card h3 { font-size: 20px; line-height: 1.25; }
.delivery-zone-details { display: grid; gap: 9px; margin-top: 16px; }
.delivery-zone-detail { display: flex; justify-content: space-between; gap: 16px; color: #666; font-size: 14px; line-height: 1.4; }
.delivery-zone-detail strong { color: #222; text-align: right; }
.delivery-zone-note { margin-top: 15px; padding-top: 14px; border-top: 1px solid #eee; color: #555; font-size: 14px; line-height: 1.55; }

@media (max-width: 600px) {
    .delivery-conditions-modal { padding: 0; align-items: end; }
    .delivery-conditions-window { width: 100%; max-height: 92vh; padding: 34px 16px 24px; border-radius: 22px 22px 0 0; }
    .delivery-zone-list { grid-template-columns: 1fr; }
    .delivery-zone-card { padding: 17px; }
}

/* ===== Карточка блюда ===== */
.modifier-modal { padding: 24px; }
.modifier-window { width: min(1120px,96vw); max-height: 92vh; padding: 0; overflow: auto; border-radius: 28px; }
.modifier-close,.modal-x { z-index: 5; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(0,0,0,.12); font-size: 28px; cursor: pointer; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(390px,.9fr); min-height: 620px; }
.product-detail-media { min-height: 620px; background: #f5f5f5; }
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-content { padding: 44px 38px 32px; background: #f3f3f3; }
.product-detail-content h2 { padding-right: 34px; font-size: clamp(26px,3vw,38px); line-height: 1.08; }
.product-weight,.product-description { margin-top: 12px; color: #6a6a6a; line-height: 1.5; }
.nutrition { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 24px 0; }
.nutrition span { color: #555; font-size: 13px; }
.nutrition b { display: block; margin-bottom: 4px; color: #252525; }
.modifier-heading { margin: 24px 0 12px; }
.modifier-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.modifier-option { min-height: 118px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 16px 10px; border-radius: 18px; background: #fff; text-align: center; cursor: pointer; }
.modifier-option input { width: 22px; height: 22px; accent-color: #c8102e; }
.modifier-total { margin-top: 18px; }
.modifier-add-button { width: 100%; min-height: 56px; border-radius: 18px; }
.menu-card { cursor: pointer; }

/* ===== Общие модальные окна ===== */
.address-modal,.spice-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; background: rgba(15,15,15,.62); opacity: 0; visibility: hidden; transition: .2s ease; }
.address-modal.is-open,.spice-modal.is-open { opacity: 1; visibility: visible; }
.modal-lock { overflow: hidden; }
.address-window,.spice-window { position: relative; width: min(1120px,96vw); max-height: 92vh; overflow: auto; border-radius: 26px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.3); transform: translateY(18px); transition: .2s ease; }
.is-open > .address-window,.is-open > .spice-window { transform: none; }
.address-window { display: grid; grid-template-columns: 430px 1fr; min-height: 650px; }
.address-window .modal-x,.spice-window .modal-x { position: absolute; top: 18px; right: 18px; }
.address-form-panel { display: flex; flex-direction: column; padding: 34px 24px 22px; }
.address-form-panel h2 { margin-bottom: 24px; font-size: 27px; }
.delivery-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 15px; background: #f1eff0; }
.delivery-tabs button { padding: 14px 10px; border: 0; border-radius: 11px; background: transparent; color: #666; font-weight: 700; cursor: pointer; }
.delivery-tabs button.active { background: #fff; color: #c8102e; box-shadow: 0 3px 12px rgba(0,0,0,.1); }
#deliveryFields { margin-top: 22px; }
.address-form-panel input,.address-form-panel textarea { width: 100%; min-height: 54px; padding: 14px 16px; border: 1px solid #ddd; border-radius: 12px; font: inherit; }
.address-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.address-form-panel textarea { min-height: 80px; margin-top: 10px; resize: vertical; }
.pickup-option { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 16px; border: 1px solid #ddd; border-radius: 12px; }
.pickup-option input { width: 20px; min-height: 20px; }
.save-address { margin-top: auto; min-height: 56px; border: 0; border-radius: 16px; background: #ffd329; color: #222; font-weight: 800; cursor: pointer; }
.delivery-map { position: relative; display: grid; place-items: center; align-content: center; overflow: hidden; background-color: #ccefe1; background-image: linear-gradient(32deg,transparent 47%,rgba(108,139,168,.8) 48%,rgba(108,139,168,.8) 51%,transparent 52%),linear-gradient(90deg,rgba(255,255,255,.28) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.28) 1px,transparent 1px); background-size: auto,100px 100px,100px 100px; }
.delivery-map::after { content:""; position:absolute; right:-8%; top:-5%; width:36%; height:110%; background:#83d5e8; border-radius:55% 0 0 50%; }
.delivery-map strong,.delivery-map small,.map-pin { z-index: 1; }
.map-pin { font-size: 52px; }
.delivery-map strong { font-size: 26px; text-transform: uppercase; }
.delivery-map small { margin-top: 8px; color: #41625a; }
.checkout-address-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.checkout-form .address-select-button { padding-inline: 15px; background: #ffd329; color: #222; }

/* ===== Специи ===== */
.spice-window { padding: 38px 38px 30px; }
.spice-window > p { margin: 8px 0 24px; color: #777; }
.spice-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.spice-card { position: relative; display: grid; justify-items: center; align-content: start; gap: 7px; min-height: 250px; padding: 20px 14px; border: 2px solid transparent; border-radius: 20px; background: #f7f7f7; text-align: center; cursor: pointer; }
.spice-card:has(input:checked) { border-color: #ffd329; background: #fff9df; }
.spice-card input { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; accent-color: #c8102e; }
.spice-icon { width: 110px; height: 110px; display: grid; place-items: center; border-radius: 22px; background: #fff; font-size: 54px; }
.spice-card small { color: #777; line-height: 1.35; }
.spice-card b { margin-top: auto; font-size: 18px; }
.spice-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; }
.spice-actions button { min-height: 52px; padding: 0 24px; border: 0; border-radius: 16px; font-weight: 800; cursor: pointer; }
#skipSpices { background: #eee; } #addSpices { background: #ffd329; }

@media (max-width: 800px) {
    .catalog-strip { top: 66px; margin-top: 8px; }
    .app-promo-inner { grid-template-columns: auto 1fr; padding: 20px; }
    .app-promo-button { grid-column: 1 / -1; width: 100%; }
    .footer-top { flex-wrap: wrap; gap: 18px; }
    .footer-phone { font-size: 20px; }.footer-social-shell { margin-left: 0; }
    .footer-links { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-detail-media { min-height: 280px; max-height: 360px; }
    .product-detail-content { padding: 26px 20px; }
    .nutrition { grid-template-columns: repeat(2,1fr); }
    .modifier-list { grid-template-columns: 1fr; }
    .modifier-option { min-height: 78px; flex-direction: row; text-align: left; }
    .address-window { grid-template-columns: 1fr; min-height: auto; }
    .delivery-map { min-height: 240px; order: -1; }
    .address-form-panel { min-height: 520px; }
    .spice-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 500px) {
    .address-modal,.spice-modal,.modifier-modal { padding: 0; }
    .address-window,.spice-window,.modifier-window { width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; }
    .delivery-map { min-height: 180px; }
    .spice-window { padding: 58px 16px 24px; }
    .spice-grid { gap: 8px; }
    .spice-card { min-height: 220px; padding: 14px 8px; }
    .spice-icon { width: 82px; height: 82px; font-size: 40px; }
    .spice-actions { position: sticky; bottom: 0; padding-top: 12px; background: #fff; }
    .spice-actions button { flex: 1; padding: 0 10px; }
    .company-modal { padding: 0; }
    .company-window { width: 100%; max-height: 100vh; min-height: 100vh; padding: 64px 20px 28px; border-radius: 0; }
    .company-details { grid-template-columns: 1fr; }
    .company-close-button { width: 100%; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #111;
    line-height: 1.6;
    background: #fff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 18px 0;
    background: rgba(0, 0, 0, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 115px;
    height: auto;
    display: block;
    transition: 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: #c8102e;
    transition: 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 720px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 20px;
    color: #ffd700;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
}

.hero-content h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 25px;
    color: #fff;
}

.hero-content p {
    max-width: 600px;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-block;
    padding: 16px 34px;
    background: #c8102e;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s ease;
}

.hero-button:hover {
    background: #e51b3e;
    transform: translateY(-3px);
}

.hero-button-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-button-outline:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}


/* =========================
   ОБЩИЕ ЗАГОЛОВКИ
========================= */

.section-label {
    display: block;
    text-align: center;
    margin-bottom: 12px;
    color: #c8102e;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
}

.section-description {
    text-align: center;
    color: #666;
    font-size: 17px;
    margin: 0 auto 45px;
}


/* =========================
   ХИТЫ ПРОДАЖ
========================= */

.services {
    padding: 100px 0;
    background: #f5f5f5;
}

.services h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
    color: #111;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 25px;
}

.service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.popular-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    background: #c8102e;
    color: #fff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #111;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

.service-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.price {
    font-size: 24px;
    color: #111;
}

.card-button {
    display: inline-block;
    padding: 12px 24px;
    background: #c8102e;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s ease;
}

.card-button:hover {
    background: #111;
    transform: translateY(-2px);
}


/* =========================
   О НАС
========================= */

.about {
    padding: 120px 0;
    background: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1;
}

.about-label {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #c8102e;
}

.about-text h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 25px;
    max-width: 600px;
    color: #111;
}

.about-description {
    max-width: 580px;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* =========================
   МЕНЮ
========================= */

.menu-section {
    padding: 120px 0;
    background: #111;
    color: #fff;
}

.menu-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
    color: #fff;
}

.menu-section .section-description {
    max-width: 600px;
    margin: 0 auto 50px;
    color: #aaa;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.menu-card {
    overflow: hidden;
    background: #1a1a1a;
    border-radius: 18px;
    border: 1px solid #2a2a2a;
    transition: 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    border-color: #c8102e;
}

.menu-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.menu-card-content {
    padding: 25px;
}

.menu-card-content h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #fff;
}

.menu-card-content p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 25px;
}

.menu-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.menu-card-bottom strong {
    font-size: 22px;
    color: #ffd700;
}

.menu-card-bottom a,
.menu-card-bottom button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    background: #c8102e;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.menu-card-bottom a:hover,
.menu-card-bottom button:hover {
    background: #e51b3e;
}


/* =========================
   АКЦИИ
========================= */

.sales-section {
    padding: 120px 0;
    background: #f5f5f5;
}

.sales-section h2 {
    text-align: center;
    font-size: 42px;
    color: #111;
    margin-bottom: 20px;
}

.sales-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.sale-card {
    position: relative;
    padding: 35px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.sale-card:hover {
    transform: translateY(-8px);
}

.sale-card.featured {
    border: 2px solid #c8102e;
}

.sale-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 12px;
    background: #c8102e;
    color: #fff;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.sale-card h3 {
    font-size: 28px;
    color: #111;
    margin-bottom: 15px;
}

.sale-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.sale-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 16px;
}

.sale-price strong {
    font-size: 30px;
    color: #c8102e;
}

.sale-button {
    display: inline-block;
    padding: 13px 24px;
    border: none;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.sale-button:hover {
    background: #c8102e;
}


/* =========================
   КОНТАКТЫ
========================= */

.contact {
    padding: 120px 0;
    background: #f5f5f5;
}

.contact-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.contact-info {
    flex: 1;
}

.contact-label {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #c8102e;
}

.contact-info h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 25px;
    max-width: 550px;
    color: #111;
}

.contact-info > p {
    max-width: 520px;
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item strong {
    font-size: 16px;
    color: #111;
}

.contact-item span {
    color: #666;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

/* =========================
   ТОВАРЫ В КОРЗИНЕ
========================= */

.cart-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.cart-product > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.cart-product strong {
    font-size: 16px;
    color: #111;
}

.cart-product > div:first-child span {
    color: #777;
    font-size: 14px;
}

.cart-product-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-product-controls button {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    transition: 0.2s ease;
}

.quantity-minus,
.quantity-plus {
    background: #f1f1f1;
    color: #111;
}

.quantity-minus:hover,
.quantity-plus:hover {
    background: #c8102e;
    color: #fff;
}

.cart-product-controls .quantity {
    min-width: 25px;
    text-align: center;
    font-weight: 700;
}

.cart-product-controls .remove-cart-item {
    background: transparent;
    color: #999;
    font-size: 17px;
    margin-left: 5px;
}

.cart-product-controls .remove-cart-item:hover {
    color: #c8102e;
}


/* =========================
   АДАПТИВ
========================= */

@media (max-width: 768px) {

    .container {
        width: 92%;
    }

    .menu-toggle {
        display: block;
    }

    .header .container {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 210px;
        padding: 20px;
        background: #111;
        border-radius: 12px;
        gap: 5px;
    }

    .nav a {
        padding: 10px 0;
    }

    .nav.menu-open {
        display: flex;
    }

    .logo img {
        width: 100px;
    }

    .hero {
        min-height: 100vh;
        padding: 120px 0 70px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-button {
        text-align: center;
    }

    .services-grid,
    .menu-grid,
    .sales-grid {
        grid-template-columns: 1fr;
    }

    .services,
    .menu-section,
    .sales-section,
    .about,
    .contact {
        padding: 80px 0;
    }

    .services h2,
    .menu-section h2,
    .sales-section h2 {
        font-size: 32px;
    }

    .about-content,
    .contact-content {
        flex-direction: column;
        gap: 50px;
    }

    .about-text h2,
    .contact-info h2 {
        font-size: 36px;
    }

    .service-card-bottom,
    .menu-card-bottom {
        flex-wrap: wrap;
    }
}
/* =========================
   КОРЗИНА
========================= */

.cart {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    background: #fff;
    z-index: 1000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart.cart-open {
    right: 0;
}

.cart-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    background: #111;
    color: #fff;
}

.cart-scroll-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: max(36px, env(safe-area-inset-bottom));
    scrollbar-gutter: stable;
}

.cart-scroll-content:focus-visible {
    outline: 2px solid #c8102e;
    outline-offset: -2px;
}

.cart-header h2 {
    font-size: 24px;
    margin: 0;
}

.cart-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: 0.3s ease;
}

.cart-close:hover {
    color: #c8102e;
}

.cart-items {
    flex: none;
    overflow: visible;
    padding: 25px;
}

.cart-empty {
    text-align: center;
    padding: 70px 20px;
    color: #777;
}

.cart-empty span {
    display: block;
    font-size: 50px;
    margin-bottom: 15px;
}

.cart-empty p {
    font-size: 17px;
}

/* =========================
   ПРОМОКОД
========================= */

.cart-bottom {
    padding: 25px;
    border-top: 1px solid #eee;
    background: #fff;
    max-height: none;
    overflow: visible;
}

body.cart-lock {
    overflow: hidden;
}

/* =========================
   СПЕЦИАЛЬНЫЕ ПРЕДЛОЖЕНИЯ
========================= */

.cart-offers {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cart-offers h3 {
    margin-bottom: 15px;
    font-size: 17px;
    color: #111;
}

.cart-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
}

.offer-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.offer-info strong {
    font-size: 14px;
    color: #111;
}

.offer-info span {
    font-size: 13px;
    color: #777;
}

.offer-add {
    flex-shrink: 0;
    padding: 8px 13px;
    border: 1px solid #c8102e;
    border-radius: 50px;
    background: #fff;
    color: #c8102e;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.offer-add:hover {
    background: #c8102e;
    color: #fff;
}
/* =========================
   КРАСИВЫЙ ПРОМОКОД
========================= */

.promo-box {
    margin-bottom: 22px;
}

.promo-box label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.promo-input {
    display: flex;
    gap: 8px;
}

.promo-input input {
    flex: 1;
    min-width: 0;
    height: 46px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.promo-input input:focus {
    border-color: #c8102e;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}

.promo-input button {
    height: 46px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.promo-input button:hover {
    background: #c8102e;
}

.promo-message {
    min-height: 20px;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}

.promo-message.success {
    color: #198754;
}

.promo-message.error {
    color: #c8102e;
}


/* =========================
   ИТОГО
========================= */

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    margin-top: 5px;
    border-top: 1px solid #eee;
}

/* =========================
   ИТОГИ КОРЗИНЫ
========================= */

.cart-summary {
    margin-top: 20px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
    color: #666;
}

.summary-row strong {
    color: #111;
    font-weight: 700;
}

.discount-row {
    color: #198754;
}

.discount-row strong {
    color: #198754;
}

.cart-total {
    padding-top: 18px;
    margin-top: 15px;
    border-top: 1px solid #eee;
}

.cart-total span {
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

.cart-total strong {
    font-size: 28px;
    font-weight: 800;
    color: #c8102e;
}

.cart-total span {
    font-size: 16px;
    color: #666;
}

.cart-total strong {
    font-size: 26px;
    color: #111;
}


/* =========================
   КНОПКА ОФОРМЛЕНИЯ
========================= */

.checkout-button {
    width: 100%;
    margin-top: 18px;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    background: #c8102e;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.checkout-button:hover {
    background: #111;
    transform: translateY(-2px);
}

.checkout-button:disabled,
.checkout-button:disabled:hover {
    background: #d8d8d8;
    color: #8b8b8b;
    cursor: not-allowed;
    opacity: 0.82;
    transform: none;
}
.promo-box {
    margin-bottom: 25px;
}

.promo-box label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.promo-input {
    display: flex;
    gap: 8px;
}

.promo-input input {
    flex: 1;
    min-width: 0;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.promo-input input:focus {
    border-color: #c8102e;
}

.promo-input button {
    padding: 13px 16px;
    border: none;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.promo-input button:hover {
    background: #c8102e;
}

.promo-message {
    margin-top: 8px;
    font-size: 13px;
}

.quote-retry-button {
    margin-top: 10px;
    padding: 10px 14px;
    border: 1px solid #c8102e;
    border-radius: 8px;
    background: #fff;
    color: #c8102e;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.quote-retry-button:hover {
    background: #c8102e;
    color: #fff;
}

.quote-retry-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

/* =========================
   ИТОГ КОРЗИНЫ
========================= */

.cart-summary {
    margin-bottom: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
}

.discount-row {
    color: #c8102e;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid #eee;
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.checkout-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 50px;
    background: #c8102e;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.checkout-button:hover {
    background: #111;
    transform: translateY(-2px);
}

/* =========================
   КНОПКА КОРЗИНЫ
========================= */

.cart-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #c8102e;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    z-index: 900;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease;
}

.cart-button:hover {
    background: #111;
    transform: translateY(-3px);
}

#cartCount {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 23px;
    height: 23px;
    padding: 2px 6px;
    border-radius: 50%;
    background: #ffd700;
    color: #111;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   МОБИЛЬНАЯ КОРЗИНА
========================= */

@media (max-width: 600px) {

    .cart {
        width: 100%;
        right: -100%;
    }

    .cart.cart-open {
        right: 0;
    }

    .cart-header {
        padding: 20px;
    }

    .cart-items {
        padding: 20px;
    }

    .cart-bottom {
        padding: 20px;
    }

    .cart-button {
        right: 18px;
        bottom: 18px;
    }
}/* =========================
   ПРОМОКОД
========================= */

.promo-box {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.promo-box h3 {
    margin-bottom: 12px;
    font-size: 17px;
    color: #111;
}

.promo-input {
    display: flex;
    gap: 10px;
}

.promo-input input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}

.promo-input input:focus {
    border-color: #c8102e;
}

.promo-input button {
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    background: #c8102e;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.promo-input button:hover {
    background: #111;
}

#promoMessage {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
}

#promoMessage.success {
    color: #16803c;
}

#promoMessage.error {
    color: #c8102e;
}
/* =========================
   ФОРМА ОФОРМЛЕНИЯ ЗАКАЗА
========================= */

.checkout-form {
    display: none;
    margin-top: 25px;
    padding: 30px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.checkout-form.checkout-open {
    display: block;
}

.checkout-form h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #111;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: #c8102e;
}

.checkout-form textarea {
    min-height: 100px;
    resize: vertical;
}

.checkout-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: #c8102e;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.checkout-form button:hover {
    background: #111;
}
/* Исправление отображения формы заказа */

.checkout-form {
    height: auto;
    max-height: none;
    overflow: visible;
}
/* =========================
   ЦВЕТА ИТОГОВ КОРЗИНЫ
========================= */

.cart-summary .summary-row span,
.cart-summary .summary-row strong,
.cart-summary .cart-total span,
.cart-summary .cart-total strong {
    color: #111 !important;
}

.cart-summary .discount-row span,
.cart-summary .discount-row strong {
    color: #198754 !important;
}
/* =========================
   ОКНО МОДИФИКАТОРОВ
========================= */

.modifier-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
}

.modifier-modal.modifier-open {
    display: flex;
}

.modifier-window {
    position: relative;
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modifier-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f1f1f1;
    color: #111;
    font-size: 26px;
    cursor: pointer;
}

.modifier-close:hover {
    background: #c8102e;
    color: #fff;
}

.modifier-window h2 {
    margin: 0 40px 10px 0;
    font-size: 24px;
    color: #111;
}

.modifier-base-price {
    margin-bottom: 25px;
    color: #777;
}

.modifier-base-price strong {
    color: #111;
}

.modifier-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modifier-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

.modifier-option:hover {
    border-color: #c8102e;
    background: #fff8f9;
}

.modifier-option span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modifier-option strong {
    color: #111;
    font-size: 14px;
}

.modifier-option small {
    color: #c8102e;
    font-size: 13px;
    font-weight: 700;
}

.modifier-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #c8102e;
    cursor: pointer;
}

.modifier-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modifier-total span {
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

.modifier-total strong {
    font-size: 25px;
    color: #111;
}

.modifier-add-button {
    width: 100%;
    margin-top: 18px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #c8102e;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.modifier-add-button:hover {
    background: #111;
}
/* =========================
   HERO СЛАЙДЕР
========================= */

.hero-slider {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.hero-label {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 19px;
    line-height: 1.6;
    max-width: 600px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

.hero-prev {
    left: 25px;
}

.hero-next {
    right: 25px;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
}

.hero-dot.active {
    opacity: 1;
}
.hero-slide:nth-child(2) .hero-content {
    transform: translateY(30px);
}
/* Положение текста на третьем слайде */

.hero-slide:nth-child(3) .hero-content {
    transform: translateY(40px);
}
/* =========================
   ФОТОГРАФИИ HERO-СЛАЙДЕРА
========================= */

.hero-slide:nth-child(1) {
    background-image: url("images/philadelphia.jpg");
}

.hero-slide:nth-child(2) {
    background-image: url("images/california.jpg");
}

.hero-slide:nth-child(3) {
    background-image: url("images/topovy.jpg");
}
/* =========================
   ПРОДАЮЩИЕ КАРТОЧКИ БЛЮД
========================= */

.menu-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


/* ФОТО */

.menu-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.menu-card:hover img {
    transform: scale(1.05);
}


/* НАЗВАНИЕ */

.menu-card h3 {
    margin: 15px 18px 8px;
    font-size: 20px;
}


/* ОПИСАНИЕ */

.menu-card p {
    margin: 0 18px 12px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}


/* ЦЕНА */

.menu-card .price {
    margin: 0 18px 15px;
    font-size: 22px;
    font-weight: 800;
}


/* КНОПКА */

.menu-card .add-to-cart {
    width: calc(100% - 36px);
    margin: 0 18px 18px;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: #c8102e;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.menu-card .add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(200, 16, 46, 0.3);
}


/* БЕЙДЖ */

.menu-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 20px;
    background: #c8102e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
/* =========================
   КАРТОЧКИ БЛЮД
========================= */

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.service-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.06);
}


/* БЕЙДЖ ХИТ */

.popular-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    padding: 7px 12px;
    border-radius: 20px;
    background: #c8102e;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}


/* ЭФФЕКТ ПРИ НАВЕДЕНИИ */

.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-image:hover::after {
    opacity: 1;
}
/* =========================
   ЦЕНА И СКИДКА
========================= */

.service-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
}

.price-block {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.old-price {
    color: #999;
    font-size: 14px;
    text-decoration: line-through;
}

.price {
    color: #111;
    font-size: 22px;
    font-weight: 800;
}

.discount-badge {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 6px;
    background: #c8102e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}


/* =========================
   КНОПКА В КОРЗИНУ
========================= */

.card-button {
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    background: #c8102e;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(200, 16, 46, 0.3);
}

.card-button:active {
    transform: scale(0.97);
}
/* =========================
   ОБЛАСТЬ ТОВАРОВ В КОРЗИНЕ
========================= */

.cart-items {
    min-height: 0;
    max-height: none;
    overflow: visible;
}

/* =========================
   VISUAL 1 — HEADER И HERO
========================= */

body.menu-lock {
    overflow: hidden;
}

.header {
    position: sticky;
    top: 0;
    left: auto;
    height: 84px;
    padding: 0;
    background: rgba(8, 8, 8, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(16px);
}

.header .container {
    position: relative;
    width: 94%;
    max-width: 1400px;
    height: 100%;
    gap: 28px;
}

.logo {
    flex: 0 0 auto;
    text-decoration: none;
}

.logo img {
    width: 180px;
    max-height: 64px;
    object-fit: contain;
    border-radius: 10px;
}

.city-picker {
    position: relative;
    flex: 0 0 auto;
    color: #fff;
}

.city-picker-current {
    min-width: 180px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
}

.city-picker-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.city-picker-name {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.city-picker-arrow {
    color: #d80d31;
    font-size: 19px;
    line-height: 1;
    transition: transform .2s ease;
}

.city-picker-toggle[aria-expanded="true"] .city-picker-arrow { transform: rotate(180deg); }
.city-picker-toggle:focus-visible { outline: 2px solid #d80d31; outline-offset: 5px; border-radius: 4px; }

.city-picker-phone {
    grid-column: 1 / -1;
    width: fit-content;
    margin-top: 2px;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    line-height: 1.25;
    text-decoration: none;
}

.city-picker-phone:hover,
.city-picker-phone:focus-visible { color: #fff; text-decoration: underline; }

.city-picker-list {
    position: absolute;
    z-index: 110;
    top: calc(100% + 14px);
    left: 0;
    width: 270px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(14,14,14,.98);
    box-shadow: 0 20px 55px rgba(0,0,0,.45);
}

.city-picker-list[hidden] { display: none; }
.city-picker-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 13px; border-radius: 11px; cursor: pointer; outline: none; }
.city-picker-option > span:first-child { display: grid; gap: 3px; }
.city-picker-option strong { color: #fff; font-size: 16px; line-height: 1.2; }
.city-picker-option small { color: rgba(255,255,255,.65); font-size: 12px; }
.city-picker-option:hover,
.city-picker-option:focus-visible { background: rgba(255,255,255,.08); }
.city-picker-option[aria-selected="true"] { background: rgba(216,13,49,.18); }
.city-picker-option[aria-selected="true"] strong,
.city-picker-option[aria-selected="true"] .city-picker-check { color: #ef3153; }
.city-picker-check { color: transparent; font-size: 18px; font-weight: 900; }

.nav {
    justify-content: center;
    gap: 4px;
    margin-left: auto;
}

.nav a {
    padding: 11px 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 650;
}

.nav-delivery-link { display: none; }

.nav a::after {
    display: none;
}

.nav a:hover,
.nav a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-contact-link {
    min-height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: 0.25s ease;
    font-family: inherit;
    cursor: pointer;
}

.header-contact-link:hover,
.header-contact-link:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.menu-toggle,
.menu-backdrop {
    display: none;
}

.hero-slider {
    width: min(89%, 1580px);
    max-width: 1580px;
    min-height: 0;
    aspect-ratio: 3.4 / 1;
    margin: 18px auto 0;
    padding-top: 0;
    border-radius: 28px;
    scroll-margin-top: 84px;
    overflow: hidden;
    background: #080808;
}

.hero-slide {
    background-color: #080808;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hero-slide::before {
    background: linear-gradient(
        90deg,
        #080808 0%,
        #080808 23%,
        rgba(8, 8, 8, 0.72) 31%,
        rgba(8, 8, 8, 0.24) 39%,
        rgba(8, 8, 8, 0) 45%
    );
}

.hero-slide.active {
    animation: heroReveal 0.6s ease both;
}

@keyframes heroReveal {
    from { opacity: 0.55; }
    to { opacity: 1; }
}

.hero-slide .container {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    align-items: center;
    padding: 32px clamp(52px, 5vw, 80px);
}

.hero-content,
.hero-slide:nth-child(1) .hero-content,
.hero-slide:nth-child(2) .hero-content,
.hero-slide:nth-child(3) .hero-content {
    width: min(48%, 610px);
    max-width: 610px;
    transform: none;
}

.hero-label {
    margin-bottom: 16px;
    color: #ff3154;
    font-size: 13px;
    letter-spacing: 0.18em;
}

.hero-content h1 {
    max-width: 600px;
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(38px, 3.5vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.hero-content p {
    max-width: 560px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    line-height: 1.55;
}

.hero-content h1,
.hero-content p,
.hero-label {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.hero-buttons {
    gap: 12px;
}

.hero-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 1px solid #d80d31;
    border-radius: 12px;
    background: #d80d31;
    box-shadow: 0 12px 28px rgba(216, 13, 49, 0.24);
    font-size: 15px;
    transition: 0.25s ease;
}

.hero-button:hover,
.hero-button:focus-visible {
    background: #f0183e;
    border-color: #f0183e;
    transform: translateY(-2px);
    outline: none;
}

.hero-button-outline {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    color: #fff;
}

.hero-button-outline:hover,
.hero-button-outline:focus-visible {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hero-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 8, 8, 0.52);
    font-size: 28px;
    line-height: 1;
    backdrop-filter: blur(10px);
    transition: 0.25s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
    border-color: rgba(255, 255, 255, 0.42);
    background: #d80d31;
    outline: none;
}

.hero-prev {
    left: 22px;
}

.hero-next {
    right: 22px;
}

.hero-dots {
    bottom: 24px;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: 0.25s ease;
}

.hero-dot.active {
    width: 28px;
    border-radius: 999px;
    background: #d80d31;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .hero-slider {
        aspect-ratio: 2.4 / 1;
        margin-top: 14px;
    }

    .hero-slide::before {
        background: linear-gradient(
            90deg,
            #080808 0%,
            #080808 28%,
            rgba(8, 8, 8, 0.68) 38%,
            rgba(8, 8, 8, 0.2) 49%,
            rgba(8, 8, 8, 0) 55%
        );
    }

    .hero-slide .container {
        padding-block: 20px;
        padding-inline: clamp(44px, 6vw, 64px);
    }

    .hero-content,
    .hero-slide:nth-child(1) .hero-content,
    .hero-slide:nth-child(2) .hero-content,
    .hero-slide:nth-child(3) .hero-content {
        width: min(58%, 560px);
    }

    .hero-label { margin-bottom: 9px; font-size: 11px; }
    .hero-content h1 { margin-bottom: 12px; font-size: clamp(32px, 4vw, 46px); }
    .hero-content p { margin-bottom: 16px; font-size: clamp(14px, 1.65vw, 17px); line-height: 1.4; }
    .hero-button { min-height: 44px; padding-inline: 20px; }
    .hero-dots { bottom: 14px; }
}

@media (max-width: 767px) {
    .hero-slider {
        width: calc(100% - 20px);
        height: clamp(420px, 120vw, 470px);
        min-height: 0;
        aspect-ratio: auto;
        margin-top: 10px;
        border-radius: 22px;
        scroll-margin-top: 70px;
    }

    .hero-slide {
        background-position: center;
        background-size: cover;
    }

    .hero-slide::before {
        background: linear-gradient(
            180deg,
            rgba(8, 8, 8, 0.98) 0%,
            rgba(8, 8, 8, 0.86) 42%,
            rgba(8, 8, 8, 0.42) 72%,
            rgba(8, 8, 8, 0.6) 100%
        );
    }

    .hero-slide .container {
        height: 100%;
        min-height: 0;
        align-items: center;
        padding: 30px 34px 50px;
    }

    .hero-content,
    .hero-slide:nth-child(1) .hero-content,
    .hero-slide:nth-child(2) .hero-content,
    .hero-slide:nth-child(3) .hero-content {
        width: 100%;
        max-width: 520px;
        text-align: left;
    }

    .hero-label { margin-bottom: 10px; font-size: 11px; }
    .hero-content h1 { margin-bottom: 16px; font-size: clamp(32px, 9vw, 40px); line-height: 1.06; }
    .hero-content p { max-width: 100%; margin-bottom: 20px; font-size: 15px; line-height: 1.45; }
    .hero-buttons { justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
    .hero-button { min-height: 44px; padding: 0 16px; font-size: 13px; }
    .hero-arrow { width: 38px; height: 38px; font-size: 24px; }
    .hero-prev { left: 8px; }
    .hero-next { right: 8px; }
    .hero-dots { bottom: 16px; }
}

@media (max-width: 1050px) {
    .logo img {
        width: 164px;
    }

    .header .container {
        gap: 14px;
    }

    .nav a {
        padding-inline: 8px;
        font-size: 13px;
    }

    .header-contact-link {
        padding-inline: 15px;
    }

}

@media (max-width: 900px) {
    .header {
        height: 70px;
    }

    .header .container {
        width: 92%;
        justify-content: space-between;
        gap: 12px;
    }

    .logo img {
        width: 118px;
        max-height: 52px;
    }

    .city-picker { margin-left: auto; }
    .city-picker-current { min-width: 142px; }
    .city-picker-name { font-size: 14px; }
    .city-picker-phone { font-size: 11px; }
    .city-picker-list { right: 0; left: auto; width: min(270px, calc(100vw - 24px)); }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 104;
        width: 46px;
        height: 46px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
    }

    .menu-toggle span {
        width: 21px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
        transition: 0.25s ease;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav {
        position: fixed;
        z-index: 103;
        top: 82px;
        right: 4%;
        left: 4%;
        width: auto;
        max-height: calc(100vh - 98px);
        margin: 0;
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 18px;
        background: rgba(12, 12, 12, 0.98);
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
    }

    .nav.menu-open {
        display: flex;
    }

    .nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 0 16px;
        border-radius: 11px;
        font-size: 16px;
    }

    .nav-delivery-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        padding: 0 16px;
        border: 0;
        border-radius: 11px;
        background: transparent;
        color: rgba(255,255,255,.82);
        font: inherit;
        font-size: 16px;
        font-weight: 650;
        cursor: pointer;
    }

    .nav-delivery-link:hover,
    .nav-delivery-link:focus-visible { color: #fff; background: rgba(216,13,49,.18); outline: none; }

    .nav a:hover,
    .nav a:focus-visible {
        background: rgba(216, 13, 49, 0.18);
    }

    .menu-backdrop {
        position: fixed;
        z-index: 102;
        inset: 70px 0 0;
        border: 0;
        background: rgba(0, 0, 0, 0.64);
        backdrop-filter: blur(3px);
    }

    .menu-backdrop.menu-open {
        display: block;
    }

}

@media (max-width: 420px) {
    .header .container { width: calc(100% - 20px); gap: 8px; }
    .logo img { width: 86px; }
    .city-picker-current { min-width: 137px; }
    .city-picker-list { right: -52px; }
}

@media (max-width: 520px) {
    .header {
        height: 66px;
    }

    .logo img {
        width: 132px;
        max-height: 46px;
        border-radius: 8px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .nav {
        top: 76px;
        max-height: calc(100vh - 90px);
    }

    .menu-backdrop {
        inset-block-start: 66px;
    }

    .hero-arrow {
        top: auto;
        bottom: 16px;
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .hero-prev {
        left: 18px;
    }

    .hero-next {
        right: 18px;
    }

    .hero-dots {
        bottom: 31px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide.active {
        animation: none;
    }
}

/* =========================
   VISUAL 2 — ХИТЫ И МЕНЮ
========================= */

.services,
.menu-section {
    padding: 112px 0 120px;
    scroll-margin-top: 84px;
    background: #f5f5f3;
    color: #111;
}

.services > .container,
.menu-section > .container {
    width: 92%;
    max-width: 1400px;
}

.services .section-label,
.menu-section .section-label {
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: 0.22em;
}

.services h2,
.menu-section h2 {
    margin-bottom: 16px;
    color: #111;
    font-size: clamp(38px, 3.4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.services .section-description,
.menu-section .section-description {
    max-width: 620px;
    margin-bottom: 52px;
    color: #6b6b6b;
    font-size: 17px;
    line-height: 1.65;
}

.services-grid,
.menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 2vw, 32px);
}

.service-card,
.menu-card {
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20, 20, 20, 0.06);
    text-align: left;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card {
    padding: 18px;
}

.service-image {
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
    margin-bottom: 22px;
    border-radius: 16px;
}

.service-image img,
.menu-card > img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
}

.menu-card > img {
    flex: 0 0 auto;
    height: auto;
}

.service-card h3,
.menu-card-content h3 {
    margin: 0 4px 10px;
    color: #111;
    font-size: clamp(23px, 1.55vw, 28px);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.service-card > p,
.menu-card-content > p {
    margin: 0 4px 24px;
    color: #696969;
    font-size: 15px;
    line-height: 1.55;
}

.menu-card-content {
    min-height: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 22px 22px;
}

.service-card-bottom,
.menu-card-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
}

.service-card-bottom {
    padding: 0 4px 2px;
}

.price-block {
    gap: 6px 9px;
}

.service-card [data-product-price],
.menu-card [data-product-price] {
    margin: 0;
    color: #111;
    font-size: 25px;
    font-weight: 850;
    line-height: 1.1;
    white-space: nowrap;
}

.service-card .old-price,
.menu-card .old-price {
    color: #989898;
    font-size: 13px;
}

.popular-badge,
.service-card .discount-badge,
.menu-card .discount-badge {
    border-radius: 999px;
    background: #d80d31;
    color: #fff;
    font-weight: 800;
}

.popular-badge {
    top: 14px;
    left: 14px;
    padding: 7px 11px;
    font-size: 11px;
    letter-spacing: 0.06em;
}

.service-card .discount-badge,
.menu-card .discount-badge {
    padding: 4px 7px;
    font-size: 10px;
}

.service-card .card-button,
.menu-card .menu-order-button {
    min-width: 124px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 22px;
    border: 1px solid #d80d31;
    border-radius: 12px;
    background: #d80d31;
    box-shadow: 0 10px 22px rgba(216, 13, 49, 0.16);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover,
    .menu-card:hover {
        transform: translateY(-5px);
        border-color: rgba(216, 13, 49, 0.2);
        box-shadow: 0 20px 48px rgba(20, 20, 20, 0.11);
    }

    .service-card:hover .service-image img,
    .menu-card:hover > img {
        transform: scale(1.035);
    }

    .service-card .card-button:hover,
    .menu-card .menu-order-button:hover {
        border-color: #f0183e;
        background: #f0183e;
        box-shadow: 0 12px 26px rgba(216, 13, 49, 0.25);
        transform: translateY(-2px);
    }
}

.service-card .card-button:active,
.menu-card .menu-order-button:active {
    transform: scale(0.98);
}

@media (min-width: 641px) and (max-width: 900px) {
    .services,
    .menu-section {
        scroll-margin-top: 70px;
    }

    .services-grid,
    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services,
    .menu-section {
        padding: 78px 0 84px;
        scroll-margin-top: 66px;
    }

    .services > .container,
    .menu-section > .container {
        width: calc(100% - 30px);
    }

    .services h2,
    .menu-section h2 {
        font-size: 36px;
    }

    .services .section-description,
    .menu-section .section-description {
        margin-bottom: 34px;
        font-size: 15px;
    }

    .services-grid,
    .menu-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .service-card {
        padding: 14px;
        border-radius: 19px;
    }

    .service-image {
        margin-bottom: 20px;
        border-radius: 14px;
    }

    .menu-card {
        border-radius: 19px;
    }

    .menu-card-content {
        padding: 22px 18px 18px;
    }

    .service-card h3,
    .menu-card-content h3 {
        font-size: 24px;
    }

    .service-card-bottom,
    .menu-card-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .service-card .card-button,
    .menu-card .menu-order-button {
        width: 100%;
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-card,
    .menu-card,
    .service-image img,
    .menu-card > img,
    .service-card .card-button,
    .menu-card .menu-order-button {
        transition: none;
    }
}

/* =========================
   VISUAL 3 — АКЦИИ
========================= */

.sales-section {
    padding: 108px 0 116px;
    scroll-margin-top: 84px;
    background: #ececea;
    color: #111;
}

.sales-section > .container {
    width: 92%;
    max-width: 1400px;
}

.sales-section .section-label {
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: 0.22em;
}

.sales-section h2 {
    margin-bottom: 16px;
    color: #111;
    font-size: clamp(38px, 3.4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.sales-section .section-description {
    max-width: 620px;
    margin-bottom: 50px;
    color: #686868;
    font-size: 17px;
    line-height: 1.65;
}

.sales-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 2vw, 32px);
    margin-top: 0;
}

.sale-card[hidden] {
    display: none;
}

.sales-grid.sales-grid--single {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
}

.sale-card {
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 24px 24px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20, 20, 20, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.sale-card.featured {
    border: 1px solid rgba(216, 13, 49, 0.4);
}

.sale-card::before {
    content: "ФОТО АКЦИИ";
    width: calc(100% + 48px);
    height: 230px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -24px 24px;
    background:
        radial-gradient(circle at 18% 22%, rgba(216, 13, 49, 0.3), transparent 30%),
        radial-gradient(circle at 82% 78%, rgba(216, 13, 49, 0.18), transparent 34%),
        linear-gradient(135deg, #151515, #292929);
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.sale-card.featured::before {
    content: "";
    background-image:
        linear-gradient(rgba(8, 8, 8, 0.08), rgba(8, 8, 8, 0.08)),
        url("images/topovy.jpg");
    background-position: center;
    background-size: cover;
}

.sale-badge {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    margin: 0;
    padding: 7px 11px;
    border-radius: 999px;
    background: #d80d31;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.sale-card h3 {
    margin: 0 4px 10px;
    color: #111;
    font-size: clamp(25px, 1.7vw, 30px);
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.sale-card p {
    margin: 0 4px 22px;
    color: #686868;
    font-size: 15px;
    line-height: 1.55;
}

.sale-price {
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 3px 12px;
    margin: auto 4px 20px;
}

.sale-price .old-price {
    grid-column: 1;
    grid-row: 1;
    color: #999;
    font-size: 13px;
    line-height: 1.2;
}

.sale-price strong {
    grid-column: 1;
    grid-row: 2;
    color: #111;
    font-size: 31px;
    font-weight: 850;
    line-height: 1.05;
    white-space: nowrap;
}

.sale-price::after {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: start;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(216, 13, 49, 0.1);
    color: #c90c2d;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.sale-card:nth-child(1) .sale-price::after {
    content: "Выгода 600 ₽";
}

.sale-card:nth-child(2) .sale-price::after {
    content: "Выгода 1 500 ₽";
}

.sale-card:nth-child(3) .sale-price::after {
    content: "Выгода 281 ₽";
}

.sale-button {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 22px;
    border: 1px solid #d80d31;
    border-radius: 12px;
    background: #d80d31;
    box-shadow: 0 10px 22px rgba(216, 13, 49, 0.16);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

@media (hover: hover) and (pointer: fine) {
    .sale-card:hover {
        transform: translateY(-5px);
        border-color: rgba(216, 13, 49, 0.22);
        box-shadow: 0 20px 48px rgba(20, 20, 20, 0.12);
    }

    .sale-button:hover {
        border-color: #f0183e;
        background: #f0183e;
        box-shadow: 0 12px 26px rgba(216, 13, 49, 0.25);
        transform: translateY(-2px);
    }
}

.sale-button:active {
    transform: scale(0.98);
}

@media (min-width: 641px) and (max-width: 900px) {
    .sales-section {
        scroll-margin-top: 70px;
    }

    .sales-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sales-section {
        padding: 78px 0 84px;
        scroll-margin-top: 66px;
    }

    .sales-section > .container {
        width: calc(100% - 30px);
    }

    .sales-section h2 {
        font-size: 36px;
    }

    .sales-section .section-description {
        margin-bottom: 34px;
        font-size: 15px;
    }

    .sales-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .sale-card {
        padding: 0 18px 18px;
        border-radius: 19px;
    }

    .sale-card::before {
        width: calc(100% + 36px);
        height: 210px;
        margin: 0 -18px 21px;
    }

    .sale-card h3 {
        font-size: 25px;
    }

    .sale-price strong {
        font-size: 29px;
    }

    .sale-button {
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sale-card,
    .sale-button {
        transition: none;
    }
}

/* =========================
   КАТЕГОРИИ И КОМПАКТНОЕ МЕНЮ
========================= */

.category-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: -12px auto 38px;
}

.category-button {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 999px;
    background: #fff;
    color: #3d3d3d;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: color 0.22s ease, background 0.22s ease,
                border-color 0.22s ease, box-shadow 0.22s ease,
                transform 0.22s ease;
}

.category-button:not([aria-pressed="true"]):hover {
    border-color: rgba(216, 13, 49, 0.42);
    color: #a90b27;
    box-shadow: 0 7px 18px rgba(216, 13, 49, 0.2);
    transform: translateY(-4px) scale(1.02);
}

.category-button:focus-visible {
    border-color: rgba(216, 13, 49, 0.7);
    box-shadow: 0 0 0 3px rgba(216, 13, 49, 0.16),
                0 6px 16px rgba(216, 13, 49, 0.16);
    outline: none;
}

.category-button[aria-pressed="true"] {
    border-color: #d80d31;
    background: #d80d31;
    color: #fff;
}

.category-button[aria-pressed="true"]:hover {
    box-shadow: 0 8px 20px rgba(216, 13, 49, 0.3);
    transform: translateY(-3px);
}

.category-button:active,
.category-button[aria-pressed="true"]:active {
    box-shadow: 0 3px 10px rgba(216, 13, 49, 0.18);
    transform: translateY(-1px) scale(0.99);
}

.menu-section .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 250px));
    justify-content: center;
    gap: 20px;
}

.menu-section .menu-grid[hidden] {
    display: none;
}

.menu-section .menu-card-content {
    padding: 18px 16px 16px;
}

.menu-section .menu-card-content h3 {
    margin-inline: 0;
    font-size: 21px;
}

.menu-section .menu-card-content > p {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.45;
}

.menu-section .menu-card [data-product-price] {
    font-size: 22px;
}

.menu-section .menu-card .old-price {
    font-size: 11px;
}

.menu-section .menu-card .discount-badge {
    font-size: 9px;
}

.menu-section .menu-card .menu-order-button {
    min-width: 104px;
    min-height: 44px;
    padding-inline: 14px;
    font-size: 13px;
}

.menu-empty-state {
    max-width: 520px;
    margin: 0 auto;
    padding: 44px 24px;
    border: 1px dashed rgba(17, 17, 17, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
    color: #777;
    text-align: center;
}

@media (min-width: 641px) and (max-width: 900px) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .category-panel {
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: calc(100% + 15px);
        margin: -5px 0 30px;
        padding-right: 15px;
        padding-bottom: 5px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .category-panel::-webkit-scrollbar {
        display: none;
    }

    .category-button {
        min-height: 42px;
        flex: 0 0 auto;
        padding-inline: 15px;
    }

    .menu-section .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .menu-section .menu-card-content {
        padding: 14px 12px 12px;
    }

    .menu-section .menu-card-content h3 {
        font-size: 18px;
    }

    .menu-section .menu-card-content > p {
        font-size: 12px;
    }

    .menu-section .menu-card-bottom {
        gap: 10px;
    }

    .menu-section .menu-card [data-product-price] {
        font-size: 20px;
    }

    .menu-section .menu-card .menu-order-button {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-button {
        transition: color 0.2s ease, background 0.2s ease,
                    border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .category-button:hover,
    .category-button:active,
    .category-button[aria-pressed="true"]:hover,
    .category-button[aria-pressed="true"]:active {
        transform: none;
    }
}

/* =========================
   КОНТАКТЫ В СЕКЦИИ «О НАС»
========================= */

.about {
    scroll-margin-top: 84px;
}

.about-image {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-contact-block {
    max-width: 580px;
    margin-bottom: 30px;
    padding: 22px;
    border: 1px solid rgba(17, 17, 17, 0.09);
    border-radius: 18px;
    background: #f5f5f3;
}

.about-contact-block h3 {
    margin-bottom: 16px;
    color: #111;
    font-size: 22px;
    line-height: 1.2;
}

.about-contact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.about-contact-links a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 14px;
    border-radius: 12px;
    background: #fff;
    color: #111;
    text-decoration: none;
}

.about-contact-links span {
    color: #777;
    font-size: 12px;
}

.about-contact-links strong {
    overflow-wrap: anywhere;
    font-size: 14px;
}

.about-socials {
    margin-top: 10px;
    padding: 16px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 12px;
    background: #111;
}

.about-socials h4 {
    margin-bottom: 12px;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
}

.about-social-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.about-social-item {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 0;
    outline: none;
    transition: border-color 0.24s ease, background 0.24s ease,
                box-shadow 0.24s ease, transform 0.24s ease;
}

.about-social-item[data-url=""] {
    cursor: default;
}

.about-social-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #c8102e;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.about-social-icon svg {
    width: 17px;
    height: 17px;
    fill: #fff;
}

@media (hover: hover) {
    .about-social-item:hover {
        border-color: rgba(229, 37, 70, 0.82);
        background: rgba(200, 16, 46, 0.16);
        box-shadow: 0 9px 22px rgba(200, 16, 46, 0.28);
        transform: translateY(-4px) scale(1.015);
    }

    .about-social-item:hover .about-social-icon {
        box-shadow: 0 5px 13px rgba(200, 16, 46, 0.35);
        transform: translateY(-1px) scale(1.08);
    }
}

.about-social-item:focus-visible {
    border-color: #e52546;
    background: rgba(200, 16, 46, 0.16);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.24),
                0 9px 22px rgba(200, 16, 46, 0.22);
}

.about-social-item:active {
    border-color: rgba(229, 37, 70, 0.78);
    background: rgba(200, 16, 46, 0.2);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.2);
    transform: translateY(-1px) scale(1.005);
}

@media (prefers-reduced-motion: reduce) {
    .about-social-item,
    .about-social-icon {
        transition: border-color 0.2s ease, background 0.2s ease,
                    box-shadow 0.2s ease;
    }

    .about-social-item:hover,
    .about-social-item:active,
    .about-social-item:hover .about-social-icon {
        transform: none;
    }
}

@media (max-width: 900px) {
    .about {
        scroll-margin-top: 70px;
    }
}

@media (max-width: 640px) {
    .about {
        scroll-margin-top: 66px;
    }

    .about-contact-block {
        padding: 18px;
    }

    .about-contact-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-socials {
        padding: 14px;
    }

    .about-social-list {
        gap: 6px;
    }

    .about-social-item {
        min-height: 46px;
        gap: 6px;
        padding: 8px 6px;
        font-size: 12px;
    }

    .cart-button {
        right: 10px;
        top: 76px;
        bottom: auto;
        width: 48px;
        height: 48px;
        font-size: 20px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    }

    body:has(.nav.menu-open) .cart-button {
        opacity: 0;
        pointer-events: none;
    }

    #cartCount {
        top: -4px;
        right: -4px;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        font-size: 11px;
    }
}

/* Финальный слой стилей новых интерфейсов */
body .modifier-modal { padding: 24px; }
body .modifier-window { width: min(1120px,96vw); max-width: none; max-height: 92vh; padding: 0; overflow: auto; border-radius: 28px; }
body .modifier-window .modifier-close { top: 18px; right: 18px; }
body .product-detail-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(390px,.9fr); min-height: 620px; }
body .product-detail-media { min-height: 620px; }
body .product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
body .product-detail-content { padding: 44px 38px 32px; }
body .product-detail-content .modifier-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
body .product-detail-content .modifier-option { min-height: 118px; margin: 0; flex-direction: column; align-items: center; justify-content: space-between; }
body .product-detail-content .modifier-add-button { width: 100%; }

@media (max-width: 800px) {
    body .product-detail-grid { grid-template-columns: 1fr; }
    body .product-detail-media { min-height: 280px; max-height: 360px; }
    body .product-detail-content { padding: 26px 20px; }
    body .product-detail-content .modifier-list { grid-template-columns: 1fr; }
    body .product-detail-content .modifier-option { min-height: 78px; flex-direction: row; text-align: left; }
}

@media (max-width: 500px) {
    body .modifier-modal { padding: 0; }
    body .modifier-window { width: 100%; max-height: 100vh; min-height: 100vh; border-radius: 0; }
}

.menu-section .menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
}

@media (max-width: 900px) {
    .menu-section .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .menu-section .menu-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Общие контрольные точки каталожных секций */
@media (min-width: 1600px) {
    .menu-section .menu-grid,
    .catalog-product-grid--featured {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .menu-section .menu-grid,
    .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .menu-section .menu-grid,
    .catalog-product-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Актуальные контрольные точки всех каталогов: 5 / 3 / 1 */
.menu-section .menu-grid,
.catalog-product-grid {
    align-items: stretch;
}

.menu-section .menu-card,
.catalog-product-grid .menu-card {
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.menu-section .menu-card-content,
.catalog-product-grid .menu-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-section .menu-card-content > p,
.catalog-product-grid .menu-card-content > p {
    flex: 1;
}

@media (min-width: 1100px) {
    .menu-section .menu-grid,
    .catalog-product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (min-width: 600px) and (max-width: 1099px) {
    .menu-section .menu-grid,
    .catalog-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .menu-section .menu-card-bottom,
    .catalog-product-grid .menu-card-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-section .menu-order-button,
    .catalog-product-grid .menu-order-button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 599px) {
    .menu-section .menu-grid,
    .catalog-product-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}
