:root {
    --accent: #ff5722;
    --accent-dark: #e64a19;
    --dark: #1f2430;
    --light-text: #adb5bd;
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    color: #2b2b2b;
    background: #f7f7f9;
}

/* ===================== ШАПКА ===================== */
.site-header {
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.header-top {
    background: #fff;
    color: var(--dark);
    font-size: .9rem;
    border-bottom: 1px solid #f0ede9;
}

.header-contact {
    color: var(--dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    transition: color .2s;
}

.header-contact-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 87, 34, .12);
    color: var(--accent);
    font-size: 1.1rem;
    transition: background .2s, color .2s;
}

.header-contact:hover .header-contact-icon {
    background: var(--accent);
    color: #fff;
}

.header-contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.header-contact-label {
    font-size: .72rem;
    color: #9a9a9a;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.header-contact-value {
    font-weight: 700;
    color: var(--dark);
}

a.header-contact:hover .header-contact-value { color: var(--accent); }

.logo {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--dark);
    text-decoration: none;
}

.logo-icon { font-size: 1.6rem; }
.logo-text { color: var(--accent); }
.logo--light .logo-text { color: var(--accent); }
.logo--light { color: #fff; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-img--light { filter: brightness(0) invert(1); }

.navbar .nav-link {
    font-weight: 500;
    color: var(--dark);
    margin: 0 .2rem;
    transition: color .2s;
}

.navbar .nav-link:hover { color: var(--accent); }

/* ===================== КНОПКИ ===================== */
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.btn-cart {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: .5rem 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.btn-cart:hover { background: var(--accent-dark); color: #fff; }

.cart-badge {
    background: #fff;
    color: var(--accent);
    font-size: .75rem;
    position: absolute;
    top: -6px;
    right: -6px;
}

/* ===================== СЛАЙДЕР ===================== */
.rounded-banner {
    /* Изображение во всю ширину контента; снизу поле под индикаторы */
    padding: 0 0 40px;
    position: relative;
}

.rounded-banner .carousel-inner {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
}

.banner-slide {
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}

/* Стрелки — в боковых полях, за пределами картинки */
.rounded-banner .carousel-control-prev,
.rounded-banner .carousel-control-next {
    width: 56px;
    height: 56px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    margin-top: -20px; /* компенсация поля под индикаторы */
    opacity: 1;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 4px 14px rgba(255, 87, 34, .35);
    transition: background .2s, transform .2s;
}

.rounded-banner .carousel-control-prev { left: -68px; }
.rounded-banner .carousel-control-next { right: -68px; }

.rounded-banner .carousel-control-prev:hover,
.rounded-banner .carousel-control-next:hover {
    background: var(--accent-dark);
}

.rounded-banner .carousel-control-prev-icon,
.rounded-banner .carousel-control-next-icon {
    width: 1.4rem;
    height: 1.4rem;
}

/* Индикаторы — под изображением */
.rounded-banner .carousel-indicators {
    position: absolute;
    bottom: 0;
    margin: 0;
}

.rounded-banner .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background-color: #d4d4d8;
    opacity: 1;
    transition: background-color .2s, transform .2s;
}

.rounded-banner .carousel-indicators .active {
    background-color: var(--accent);
    transform: scale(1.25);
}

@media (max-width: 1199px) {
    /* Недостаточно места снаружи — стрелки на краю изображения */
    .rounded-banner .carousel-control-prev { left: 8px; }
    .rounded-banner .carousel-control-next { right: 8px; }
}

@media (max-width: 576px) {
    .rounded-banner {
        padding: 0 0 32px;
    }
    .rounded-banner .carousel-control-prev,
    .rounded-banner .carousel-control-next {
        width: 40px;
        height: 40px;
        margin-top: -16px;
    }
    .rounded-banner .carousel-control-prev { left: 8px; }
    .rounded-banner .carousel-control-next { right: 8px; }
}

/* ===================== СЕКЦИИ ===================== */
.section-title {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: .5rem;
    position: relative;
    padding-bottom: .75rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 4px;
}

.section-subtitle {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Быстрые ссылки на категории (липкие при прокрутке) */
.category-tabs-bar {
    position: sticky;
    top: 112px;
    z-index: 1020;
    background: #f7f7f9;
    padding: .75rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ececef;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

@media (max-width: 991px) {
    /* На мобильных не закрепляем всю шапку (телефон/адрес прокручиваются) */
    .site-header.sticky-top { position: static; }

    /* Липким остаётся только навбар с логотипом, фиксированной высоты */
    .site-header .navbar {
        position: sticky;
        top: 0;
        z-index: 1030;
        min-height: 56px;
        padding-top: .35rem;
        padding-bottom: .35rem;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    }

    /* Категории — прижаты вплотную к навбару, одной строкой со свайпом */
    .category-tabs-bar {
        top: 56px;
        margin-top: 0;
        margin-bottom: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .04);
    }
    .category-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding-bottom: .25rem;
        /* прячем полосу прокрутки */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .category-tabs::-webkit-scrollbar { display: none; }
    .category-tab {
        white-space: nowrap;
        scroll-snap-align: start;
    }

    /* Якоря категорий приземляются под липкой лентой (навбар + табы) */
    .category-block { scroll-margin-top: 120px; }
}

.category-tab {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 50px;
    padding: .45rem 1rem;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all .2s;
}

.category-tab:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.category-block { padding-top: 3.5rem; margin-top: 2.5rem; border-top: 1px solid #ececef; scroll-margin-top: 185px; }
.category-block:first-child { padding-top: 1rem; margin-top: 0; border-top: 0; }

/* Фильтр роллов по ингредиентам */
.roll-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1px solid #ececef;
    border-radius: 14px;
    padding: .85rem 1rem;
    margin-bottom: 1.5rem;
}

.roll-filters-label {
    font-weight: 600;
    color: var(--dark);
    margin-right: .25rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.roll-filters-label i { color: var(--accent); }

.roll-filter-chip {
    border: 1px solid #e0e0e0;
    background: #f7f7f9;
    color: var(--dark);
    border-radius: 50px;
    padding: .35rem .9rem;
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}

.roll-filter-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.roll-filter-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.category-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.category-icon { font-size: 1.6rem; }

/* ===================== НАВИГАЦИЯ ПО КАТЕГОРИЯМ (каталог) ===================== */
.catalog-cats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.75rem;
}

.catalog-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .9rem;
    border-radius: 50px;
    border: 2px solid #f0f0f0;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    transition: border-color .2s, background .2s, color .2s;
    white-space: nowrap;
}

.catalog-cat-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.catalog-cat-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.catalog-cat-icon { font-size: 1.1rem; }

/* ===================== КАРТОЧКА БЛЮДА ===================== */
.dish-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}

.dish-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.dish-img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
}

.dish-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.dish-card:hover .dish-img-wrap img { transform: scale(1.06); }

.dish-body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dish-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .4rem;
    cursor: pointer;
}

.dish-name:hover { color: var(--accent); }

.dish-desc {
    font-size: .88rem;
    color: #6c757d;
    margin-bottom: .75rem;
    flex: 1;
}

.dish-meta { margin-bottom: .75rem; }

.dish-weight {
    font-size: .8rem;
    color: #9aa0a6;
    background: #f1f3f5;
    padding: .15rem .5rem;
    border-radius: 6px;
}

.dish-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.dish-price {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--dark);
}

/* ===================== КОНТРОЛ «В КОРЗИНЕ» / КОЛИЧЕСТВО ===================== */
.cart-control {
    flex: 0 0 auto;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #1f9d55;
    border-radius: 50px;
    padding: 2px;
    box-shadow: 0 3px 10px rgba(31, 157, 85, .3);
}

.qty-stepper .qty-btn {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s;
}

.qty-stepper .qty-btn:hover {
    background: rgba(255, 255, 255, .2);
}

.qty-stepper .qty-val {
    min-width: 30px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    user-select: none;
}

.qty-stepper.btn-sm .qty-btn {
    width: 30px;
    height: 30px;
    font-size: .9rem;
}

.qty-stepper.btn-sm .qty-val {
    min-width: 26px;
    font-size: .95rem;
}

/* Весовой степпер шире — вмещает «200 г» */
.qty-stepper--weight .qty-val {
    min-width: 56px;
}

.qty-stepper--weight.btn-sm .qty-val {
    min-width: 52px;
}

/* Подпись единицы цены и примечание весовой категории */
.dish-price-unit {
    font-size: .8rem;
    font-weight: 600;
    color: var(--light-text);
}

.weight-cat-note {
    background: #fff6f2;
    border: 1px solid #ffd9c9;
    color: #b1471f;
    border-radius: 12px;
    padding: .6rem .9rem;
    font-size: .9rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

/* ===================== МОДАЛКА БЛЮДА ===================== */
.dish-modal {
    border-radius: 18px;
    overflow: hidden;
    border: none;
    position: relative;
}

.modal-dish-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background-color: rgba(255, 255, 255, .85);
    border-radius: 50%;
    padding: .6rem;
}

#dishModal .modal-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#dishModal .dish-buy-row {
    margin-top: auto;
    padding-top: 1rem;
}

/* ===================== СЕТЫ ===================== */
.sets-section { background: #fff; }

.set-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    cursor: pointer;
}

.set-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 24px rgba(255, 87, 34, .12);
    transform: translateY(-4px);
}

.set-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .5rem;
}

.set-name {
    font-weight: 800;
    font-size: 1.35rem;
    margin: 0;
}

.set-weight {
    font-size: .82rem;
    color: #6c757d;
    white-space: nowrap;
}

.set-desc {
    color: #6c757d;
    font-size: .9rem;
    margin-bottom: 1rem;
}

/* ===== Форматирование текстовых описаний (rich_text) ===== */
.rich-list {
    margin: .35rem 0;
    padding-left: 1.15rem;
}

.rich-list li {
    margin-bottom: .2rem;
}

.set-desc p,
.promo-card-desc p {
    margin-bottom: .5rem;
}

.set-desc p:last-child,
.promo-card-desc p:last-child,
.rich-list:last-child {
    margin-bottom: 0;
}

.set-composition {
    background: #f9f9fb;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: .75rem;
    flex: 1;
}

.set-composition-title {
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #868e96;
    margin-bottom: .6rem;
}

/* Группа блюд внутри сета (Пиццы, Роллы и т.д.) */
.set-group + .set-group {
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px dashed #e3e3e8;
}

.set-group-title {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--accent);
    margin-bottom: .4rem;
}

.set-group-icon { font-size: 1rem; }

.set-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.set-list li {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    padding: .2rem 0;
    font-size: .92rem;
}

.set-item-qty {
    font-weight: 700;
    color: var(--dark);
}

.set-item-weight {
    color: #adb5bd;
    font-size: .82rem;
    margin-left: auto;
    white-space: nowrap;
}

.set-list-cat {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--accent);
    margin-top: .6rem;
    padding-bottom: .15rem;
    border-bottom: 1px solid #f0f0f0;
}

.set-list-cat:first-child { margin-top: 0; }

.set-more {
    font-size: .82rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.set-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: auto;
}

.set-prices { display: flex; flex-direction: column; }

.set-old-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: .9rem;
}

.set-price {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent);
}

/* ===================== МОДАЛКА СЕТА ===================== */
.set-modal { border-radius: 18px; border: none; }

.set-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
}

.set-modal-group + .set-modal-group { margin-top: 1.25rem; }

.set-modal-group-title {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: .75rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid #f3f3f5;
}

.set-cat-heading {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-weight: 800;
    color: var(--accent);
    margin: 1.1rem 0 .6rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid #f3f3f5;
}

.set-cat-heading:first-child { margin-top: 0; }

.set-dish {
    background: #f9f9fb;
    border-radius: 10px;
    padding: .7rem .9rem;
    margin-bottom: .6rem;
}

.set-dish-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
}

.set-dish-name { font-weight: 700; }

.set-dish-ingredients {
    font-size: .88rem;
    color: #6c757d;
    margin-top: .25rem;
}

.set-modal-footer { justify-content: space-between; }

/* ===================== КНОПКА «НАВЕРХ» ===================== */
.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s, visibility .25s, background .2s;
    z-index: 1500;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover { background: var(--dark); }

@media (max-width: 575.98px) {
    .scroll-top-btn { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ===================== ПОДВАЛ ===================== */
.site-footer {
    background: var(--dark);
    color: #fff;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.site-footer i { color: var(--accent); }
.text-muted-light { color: var(--light-text); }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
    padding: .25rem 0;
}

.footer-links a:hover { color: var(--accent); }
.footer-divider { border-color: rgba(255, 255, 255, .1); margin: 2rem 0 1.5rem; }

/* Плавная прокрутка с учётом залипающей шапки */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 130px; }

/* ======================= Доп. элементы (PHP-версия) ======================= */

/* Лейблы «Новинка» / «Популярное» */
.dish-img-wrap { position: relative; }
.dish-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.dish-label {
    display: inline-block;
    padding: .25rem .6rem;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.dish-label--new { background: #2e7d32; }
.dish-label--popular { background: var(--accent); }

/* Блок акций */
.promos-section { background: #fff7f3; }
.promo-card {
    background: #fff;
    border: 1px solid #ffe0d3;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
    transition: transform .2s, box-shadow .2s;
}
.promo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0, 0, 0, .1); }
.promo-card-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--accent); color: #fff;
    font-size: 1.4rem; margin-bottom: 1rem;
}
.promo-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.promo-card-desc { color: #6c757d; font-size: .95rem; }
.promo-card-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.promo-badge {
    background: #fff1ea; color: var(--accent-dark);
    border-radius: 50px; padding: .25rem .75rem;
    font-size: .82rem; font-weight: 600;
}

/* Доп. ингредиенты в модалке */
.dish-extras {
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}
.dish-extra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .35rem 0;
    cursor: pointer;
    font-size: .95rem;
}

/* Корзина / оформление */
.cart-table img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.qty-control { display: inline-flex; align-items: center; gap: .35rem; }
.qty-control button {
    width: 30px; height: 30px; border: 1px solid #ddd; background: #fff;
    border-radius: 8px; line-height: 1; font-weight: 700; cursor: pointer;
}
.summary-card {
    background: #fff; border: 1px solid #eee; border-radius: 18px;
    padding: 1.5rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}
.gift-line { color: #2e7d32; font-weight: 600; }
.auth-card {
    max-width: 460px; margin: 3rem auto;
    background: #fff; border-radius: 18px; padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* ===================== ЗУМ ФОТО БЛЮДА ===================== */
.modal-dish-img-wrap {
    position: relative;
    height: 100%;
    cursor: zoom-in;
}
.modal-dish-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    pointer-events: none;
    transition: background .2s;
}
.modal-dish-img-wrap:hover .modal-dish-zoom { background: var(--accent); }

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .85);
    padding: 24px;
    cursor: zoom-out;
}
.image-lightbox.is-open { display: flex; }
.image-lightbox-img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.image-lightbox-close {
    position: absolute;
    top: 18px;
    right: 26px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
}

/* ===================== БЛЮДО ВНУТРИ МОДАЛКИ СЕТА ===================== */
.set-dish--clickable {
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
}
.set-dish--clickable:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}
.set-dish-info { color: var(--accent); font-size: .85rem; margin-left: .25rem; }

/* ===================== КОНТРОЛ КОЛИЧЕСТВА + В КОРЗИНУ ===================== */
.cart-control-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.cart-control-row .qty-stepper { flex: 0 0 auto; }
.cart-control-row .js-go-cart { flex: 1 1 auto; white-space: nowrap; }

