/* =========================================
   GLOBAL
   ========================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #111111;
    color: white;
    font-family: Arial, sans-serif;
}


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

.header {
    width: 100%;
    min-height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    background-color: #0b0b0b;
    /*shapka kvua*/
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 48px;
    height: 48px;

    object-fit: contain;
    flex-shrink: 0;
}

.logo-title {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo-subtitle {
    margin-top: 3px;

    font-size: 8px;
    letter-spacing: 2px;

    color: #d6a84b;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.languages {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language {
    padding: 4px 0;

    border: 0;
    background: none;

    color: #888888;

    font-size: 13px;
}

.language.active {
    color: white;
    border-bottom: 2px solid #d6a84b;
}

.menu-button {
    padding: 0;

    border: 0;
    background: none;

    color: white;

    font-size: 27px;
}


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

.hero {
    position: relative;

    height: 290px;

    display: flex;
    align-items: flex-end;

    padding: 24px 20px;

    background-image:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.05)
        ),
        url("/static/images/hero.png");

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

    overflow: hidden;
}

.hero-content {
    position: relative;
}

.hero-small {
    margin-bottom: 8px;

    color: #d6a84b;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    margin: 0;

    color: white;

    font-family: Georgia, serif;
    font-size: 27px;
    line-height: 1.05;
}

.hero h1 span {
    color: #d6a84b;
}


/* =========================================
   GENERAL MENU
   ========================================= */

.menu {
    padding: 28px 20px 40px;
}

.menu-title {
    margin: 0 0 20px;

    color: #d6a84b;

    font-size: 22px;
    letter-spacing: 2px;
}

.back-button {
    display: inline-block;

    margin-bottom: 25px;

    color: #d6a84b;
    text-decoration: none;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}


/* =========================================
   HOME CATEGORY CARDS
   ========================================= */

.category-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.category-link {
    display: block;

    margin: 0;

    color: #ffffff;
    text-decoration: none;
}

.category-card {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    height: 110px;

    padding: 0 22px;

    overflow: hidden;

    border: 1px solid #8f7138;
    border-radius: 18px;

    background-color: #111111;
    background-size: cover;
    background-position: center;

    color: #ffffff;
}


/* FOOD */

.category-food {
    background-image:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.98) 0%,
            rgba(8, 8, 8, 0.88) 32%,
            rgba(8, 8, 8, 0.35) 62%,
            rgba(8, 8, 8, 0.08) 100%
        ),
        url("/static/images/categories/food.jpeg");
}


/* BEER */

.category-beer {
    background-image:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.98) 0%,
            rgba(8, 8, 8, 0.88) 32%,
            rgba(8, 8, 8, 0.35) 62%,
            rgba(8, 8, 8, 0.08) 100%
        ),
        url("/static/images/categories/beer.jpeg");
}


/* WINE */

.category-wine {
    background-image:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.98) 0%,
            rgba(8, 8, 8, 0.88) 32%,
            rgba(8, 8, 8, 0.35) 62%,
            rgba(8, 8, 8, 0.08) 100%
        ),
        url("/static/images/categories/wine.jpeg");
}


/* ALCOHOL */

.category-alcohol {
    background-image:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.98) 0%,
            rgba(8, 8, 8, 0.88) 32%,
            rgba(8, 8, 8, 0.35) 62%,
            rgba(8, 8, 8, 0.08) 100%
        ),
        url("/static/images/categories/alcohol.jpeg");
}


/* COCKTAILS */

.category-cocktails {
    background-image:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.98) 0%,
            rgba(8, 8, 8, 0.88) 32%,
            rgba(8, 8, 8, 0.35) 62%,
            rgba(8, 8, 8, 0.08) 100%
        ),
        url("/static/images/categories/cocktails.jpeg");
}


/* DRINKS */

.category-drinks {
    background-image:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.98) 0%,
            rgba(8, 8, 8, 0.88) 32%,
            rgba(8, 8, 8, 0.35) 62%,
            rgba(8, 8, 8, 0.08) 100%
        ),
        url("/static/images/categories/drinks.jpeg");
}


/* GOLD ICON */

.category-icon {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    margin-right: 20px;

    flex-shrink: 0;

    color: #d6a84b;

    font-size: 34px;
    text-align: center;
}

.category-icon svg {
    display: block;

    width: 100%;
    height: 100%;

    stroke: currentColor;
}


/* CATEGORY NAME */

.category-text {
    position: relative;
    z-index: 2;

    flex: 1;

    margin: 0;

    color: #ffffff;

    font-size: 23px;
    font-weight: 600;
    line-height: 1.15;
}


/*
   Пока старые HE / RU / EN оставляем,
   чтобы текущий HTML ничего не сломал.
   Позже JS будет показывать только выбранный язык.
*/

.category-he {
    font-size: 18px;
    font-weight: bold;
}

.category-ru {
    margin-top: 3px;

    font-size: 15px;

    color: #dddddd;
}

.category-en {
    margin-top: 2px;

    font-size: 13px;

    color: #888888;
}


/* CATEGORY ARROW */

.category-arrow {
    position: absolute;
    z-index: 2;

    right: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: #ffffff;

    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}


/* Press effect */

.category-card:active {
    transform: scale(0.985);
}


/* =========================================
   BEER PAGE
   ========================================= */

.beer-logo-box {
    width: 70px;
    height: 70px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.beer-logo {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.beer-prices {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.beer-section-title {
    margin: 32px 0 14px;

    color: #d6a84b;

    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.menu-title + .beer-section-title {
    margin-top: 0;
}


/* =========================================
   FOOD LIST
   ========================================= */

.food-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 44px;

    padding: 7px 4px;

    border-bottom: 1px solid #333333;

    cursor: pointer;
}

.food-name {
    padding-right: 15px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 500;
}

.food-price {
    margin-left: 15px;

    color: #d6a84b;

    font-size: 16px;
    font-weight: bold;

    white-space: nowrap;
}


/* =========================================
   FOOD CATEGORY TABS
   ========================================= */

.food-tabs {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-bottom: 30px;
}

.food-tab {
    width: 100%;

    padding: 11px 6px;

    border: 1px solid #444444;
    border-radius: 20px;

    background: #1a1a1a;
    color: #ffffff;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;

    cursor: pointer;
}

.food-tab.active {
    border-color: #d6a84b;

    background: #d6a84b;
    color: #111111;
}

.food-tab:active {
    transform: scale(0.97);
}


/* =========================================
   FOOD MODAL
   ========================================= */

.food-modal {
    position: fixed;
    inset: 0;

    display: none;
    align-items: safe center;
    justify-content: center;

    padding: 20px;

    overflow-y: auto;

    background: rgba(0, 0, 0, 0.8);

    z-index: 1000;
}

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

.food-modal-content {
    position: relative;

    width: 100%;
    max-width: 420px;

    /* Одинаковая высота окна для всех блюд */
    height: min(480px, calc(100vh - 120px));

    /* Если текста очень много — содержимое можно прокрутить */
    overflow-y: auto;

    padding: 28px 22px;

    border: 1px solid #444444;
    border-radius: 18px;

    background: #181818;
}

.food-modal-close {
    position: absolute;

    top: 10px;
    right: 14px;

    z-index: 10;

    border: 0;
    background: none;

    color: white;

    font-size: 30px;

    cursor: pointer;
}

.food-modal-content h2 {
    margin: 0 40px 8px 0;

    color: white;

    font-size: 24px;
}

.food-modal-price {
    margin-bottom: 18px;

    color: #d6a84b;

    font-size: 22px;
    font-weight: bold;
}

.food-modal-content p {
    margin: 0;

    color: #dddddd;

    font-size: 16px;
    line-height: 1.5;
}

.food-image-wrapper {
    position: relative;
}

.food-modal-image {
    display: block;

    width: 100%;
    height: 220px;

    margin-bottom: 20px;

    object-fit: cover;

    border-radius: 12px;
}

.food-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    border: 1px solid #d6a84b;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.65);

    color: #d6a84b;

    font-size: 30px;
    line-height: 38px;

    cursor: pointer;
}

.food-arrow-left {
    left: 5px;
}

.food-arrow-right {
    right: 5px;
}


/* =========================================
   WINE PAGE
   ========================================= */

.wine-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 18px 0;

    border-bottom: 1px solid #333333;
}

.wine-info {
    flex: 1;
    min-width: 0;
}

.wine-name {
    margin-bottom: 6px;

    color: #ffffff;

    font-size: 17px;
    font-weight: bold;
    line-height: 1.25;
}

.wine-description {
    color: #999999;

    font-size: 13px;
    line-height: 1.4;
}

.wine-prices {
    display: flex;

    gap: 18px;

    flex-shrink: 0;
}

.wine-price {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 55px;

    color: #ffffff;

    font-size: 16px;
    font-weight: bold;
}

.wine-volume {
    margin-bottom: 5px;

    color: #d6a84b;

    font-size: 10px;
    font-weight: normal;
    letter-spacing: 1px;
}


/* =========================================
   ALCOHOL PAGE
   ========================================= */

.alcohol-tabs {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-bottom: 30px;
}

.alcohol-tab {
    width: 100%;

    padding: 11px 6px;

    border: 1px solid #444444;
    border-radius: 20px;

    background: #1a1a1a;
    color: #ffffff;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;

    cursor: pointer;
}

.alcohol-tab.active {
    border-color: #d6a84b;

    background: #d6a84b;
    color: #111111;
}

.alcohol-tab:active {
    transform: scale(0.97);
}


/* =========================================
   ALCOHOL LIST
   ========================================= */

.alcohol-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 10px 0;

    border-bottom: 1px solid #333333;
}

.alcohol-name {
    flex: 1;
    min-width: 0;

    color: #ffffff;

    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
}

.alcohol-prices {
    display: flex;

    gap: 14px;

    flex-shrink: 0;
}

.alcohol-price {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 48px;

    color: #ffffff;

    font-size: 15px;
    font-weight: bold;
}

.alcohol-volume {
    margin-bottom: 5px;

    color: #d6a84b;

    font-size: 9px;
    font-weight: normal;
    letter-spacing: 0.7px;
}


/* =========================================
   ALCOHOL BOTTLES
   ========================================= */

.bottles-section {
    width: 100%;
}

.bottle-category-title {
    margin: 30px 0 8px;

    padding-bottom: 8px;

    border-bottom: 1px solid #d6a84b;

    color: #d6a84b;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.bottle-category-title:first-child {
    margin-top: 5px;
}

.bottle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 10px 0;

    border-bottom: 1px solid #333333;
}

.bottle-name {
    flex: 1;
    min-width: 0;

    color: #ffffff;

    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
}

.bottle-options {
    display: flex;
    align-items: center;

    gap: 16px;

    flex-shrink: 0;
}

.bottle-option {
    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 52px;
}

.bottle-volume {
    margin-bottom: 5px;

    color: #d6a84b;

    font-size: 10px;
    font-weight: normal;
    letter-spacing: 1px;
}

.bottle-price {
    color: #ffffff;

    font-size: 15px;
    font-weight: bold;
}


/* =========================================
   COCKTAIL LIST
   ========================================= */

.cocktail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 18px 0;

    border-bottom: 1px solid #333333;

    cursor: pointer;
}

.cocktail-name {
    flex: 1;
    min-width: 0;

    color: #ffffff;

    font-size: 17px;
    font-weight: bold;
    line-height: 1.3;
}

.cocktail-price {
    flex-shrink: 0;

    color: #d6a84b;

    font-size: 17px;
    font-weight: bold;
}

.cocktail-row:active {
    opacity: 0.7;
}


/* =========================================
   COCKTAIL MODAL
   ========================================= */

.cocktail-modal {
    position: fixed;
    inset: 0;

    display: none;
    align-items: safe center;
    justify-content: center;
    overflow-y: auto;

    z-index: 1000;

    padding: 60px 20px;

    background: rgba(0, 0, 0, 0.88);
}

.cocktail-modal.active {
    display: flex;
}

.cocktail-modal-content {
    position: relative;

    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 120px);

    overflow-y: auto;

    padding: 28px 22px;

    border: 1px solid #444444;
    border-radius: 18px;

    background: #151515;
}

.cocktail-modal-close {
    position: absolute;

    top: 10px;
    right: 12px;

    z-index: 20;

    width: 38px;
    height: 38px;

    padding: 0;

    border: none;
    background: transparent;

    color: #ffffff;

    font-size: 30px;
    line-height: 38px;

    cursor: pointer;
}

.cocktail-image-wrapper {
    position: relative;

    width: 100%;

    margin-top: 15px;
    margin-bottom: 20px;
}

.cocktail-modal-image {
    display: block;

    width: 100%;
    height: auto;

    max-height: 420px;

    object-fit: cover;

    border-radius: 14px;
}

.cocktail-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(214, 168, 75, 0.75);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);

    color: #d6a84b;

    font-size: 38px;
    line-height: 1;

    cursor: pointer;
}

.cocktail-arrow-left {
    left: 0;

    padding-right: 2px;
    padding-bottom: 4px;
}

.cocktail-arrow-right {
    right: 0;

    padding-left: 2px;
    padding-bottom: 4px;
}

.cocktail-modal-name {
    margin: 0 35px 8px;

    text-align: center;

    color: #ffffff;

    font-size: 23px;
    line-height: 1.25;
}

.cocktail-modal-price {
    margin-bottom: 16px;

    text-align: center;

    color: #d6a84b;

    font-size: 20px;
    font-weight: bold;
}

.cocktail-modal-description {
    margin: 0 25px;

    text-align: center;

    color: #bbbbbb;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 420px) {

    .wine-row {
        gap: 12px;
    }

    .wine-prices {
        gap: 10px;
    }

    .wine-name {
        font-size: 16px;
    }

    .wine-price {
        min-width: 48px;
        font-size: 15px;
    }

    .wine-volume {
        font-size: 9px;
    }


    .alcohol-row {
        gap: 8px;
    }

    .alcohol-prices {
        gap: 7px;
    }

    .alcohol-name {
        font-size: 15px;
    }

    .alcohol-price {
        min-width: 43px;
        font-size: 14px;
    }

    .alcohol-volume {
        font-size: 8px;
        letter-spacing: 0.3px;
    }


    .bottle-row {
        gap: 8px;
    }

    .bottle-name {
        font-size: 15px;
    }

    .bottle-options {
        gap: 9px;
    }

    .bottle-option {
        min-width: 48px;
    }

    .bottle-volume {
        font-size: 9px;
    }

    .bottle-price {
        font-size: 14px;
    }


    .cocktail-row {
        padding: 16px 0;
    }

    .cocktail-name {
        font-size: 16px;
    }

    .cocktail-price {
        font-size: 16px;
    }

    .cocktail-modal-content {
        padding: 25px 18px;
    }

    .cocktail-modal-image {
        max-height: 360px;
    }

    .cocktail-modal-name {
        font-size: 21px;
    }

    .cocktail-modal-description {
        font-size: 13px;
    }

    .cocktail-arrow {
        width: 46px;
        height: 46px;

        font-size: 36px;
    }
}


@media (max-width: 380px) {

    .food-tabs {
        gap: 7px;
    }

    .food-tab {
        padding: 10px 3px;

        font-size: 11px;
    }


    .alcohol-tabs {
        gap: 7px;
    }

    .alcohol-tab {
        padding: 10px 3px;

        font-size: 11px;
    }


    .category-card {
        height: 100px;

        padding: 0 17px;
    }

    .category-icon {
        width: 42px;
        height: 42px;

        margin-right: 16px;
    }

    .category-text {
        font-size: 21px;
    }

    .category-arrow {
        right: 15px;

        font-size: 38px;
    }
}
/* =========================================
   BEER CARDS - FINAL DESIGN
   Только карточки на странице Beer
   ========================================= */

.beer-card {
    /* Карточка немного компактнее */
    height: 96px;
    padding: 10px 16px;

    /* Тёмно-серый фон как на эталонном скрине */
    background: #181818;

    /* Тонкая серая рамка вместо золотой */
    border: 1px solid #383838;
    border-radius: 16px;

    /* Никакой фоновой картинки */
    background-image: none;
}

/* Немного уменьшаем расстояние между карточками */
.beer-card + .beer-card {
    margin-top: 8px;
}
/* Отступ между логотипом и текстом в карточке пива */
.beer-card .category-text {
    margin-left: 12px;
}
/* =========================================
   DRINKS PAGE
   ========================================= */

/* Список напитков */
.drinks-list {
    width: 100%;
}

/* Одна строка напитка */
.drink-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 12px 0;

    border-bottom: 1px solid #2f2f2f;
}

/* Левая часть: название + описание */
.drink-info {
    flex: 1;
    min-width: 0;

    /* Расстояние между текстом и ценой */
    padding-right: 20px;
}

/* Название напитка */
.drink-name {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
}

/* Дополнительная информация */
.drink-description {
    margin-top: 4px;

    font-size: 13px;
    line-height: 1.35;

    color: #888888;
}

/* Цена справа */
.drink-price {
    flex-shrink: 0;

    font-size: 17px;
    font-weight: 600;

    color: #d6a84b;
}

/* Расстояние перед HOT DRINKS */
.drinks-list + .beer-section-title {
    margin-top: 34px;
}
/* =========================================
   LANGUAGE SWITCHING
   По умолчанию показываем английский
   ========================================= */

.category-he,
.category-ru {
    display: none;
}

.category-en {
    display: block;
}
/* =========================================
   CATEGORY TEXT - SAME STYLE FOR ALL LANGUAGES
   ========================================= */

.category-he,
.category-ru,
.category-en {
    color: #ffffff;
    font-family: "Heebo", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}
/* =========================================
   BEER TEXT - RESTORE ORIGINAL DESIGN
   Пиво не зависит от переключения языков
   ========================================= */

/* Название пива */
.beer-card .beer-name {
    font-family: "Heebo", Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
    color: #ffffff;
}

/* Стиль пива + ABV */
.beer-card .beer-info {
    margin-top: 3px;

    font-family: "Heebo", Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;

    color: #dddddd;
}

/* Цены */
.beer-card .beer-prices {
    display: flex;

    margin-top: 2px;

    gap: 12px;
    flex-wrap: wrap;

    font-family: "Heebo", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;

    color: #888888;
}
/* =========================================
   FOOD - HEBREW RTL
   Только текст и расположение name / price
   ========================================= */


/* В списке блюд:
   название справа, цена слева */
.hebrew-mode .food-row {
    direction: rtl;

}


/* Название блюда начинается справа */
.hebrew-mode .food-name {
    text-align: right;
    direction: rtl;
    padding-right: 0;
}


/* Цена остаётся нормальной записью ₪69 */
.hebrew-mode .food-price {
    direction: ltr;
    text-align: left;
    transform: translateX(-12px);

}


/* =========================================
   FOOD MODAL - HEBREW
   ========================================= */


/* Название блюда */
.hebrew-mode #modalName {
    direction: rtl;
    text-align: right;
}


/* Описание блюда */
.hebrew-mode #modalDescription {
    direction: rtl;
    text-align: right;
}


/* Гарнир */
.hebrew-mode #modalSideDish {
    direction: rtl;
    text-align: right;
}


/* Цена в модальном окне — слева */
.hebrew-mode #modalPrice {
    direction: ltr;
    text-align: right;
}

/* =========================================
   DRINKS - HEBREW RTL
   Название и описание справа, цена слева
   ========================================= */


/* Разворачиваем только строку напитка */
.hebrew-mode .drink-row {
    direction: rtl;
}


/* Блок названия и описания справа */
.hebrew-mode .drink-info {
    direction: rtl;
    text-align: right;
    transform: translateX(12px);
}


/* Название справа налево */
.hebrew-mode .drink-name {
    direction: rtl;
    text-align: right;
}


/* Описание справа налево */
.hebrew-mode .drink-description {
    direction: rtl;
    text-align: right;
}


/* Цена слева */
.hebrew-mode .drink-price {
    direction: ltr;
    text-align: left;
}

/* =========================================
   BEER HOUSE PROMOTIONS
   Cinematic Reveal — оформление окна
   ========================================= */

/* Затемнённый фон поверх сайта */
.promotions-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Скрываем окно, пока оно не открыто */
.promotions-overlay[hidden] {
    display: none;
}

/* Основная рекламная карточка */
.promotions-modal {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 85dvh;
    max-height: 85dvh;

    display: flex;
    flex-direction: column;

    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 18px;

    background: #101010;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.8);

    animation: promotions-reveal 0.65s ease-out both;
}

/* Изображение акции */
/* Изображение заполняет доступное место,
   не обрезая содержимое рекламы */
.promotions-image {
    display: block;
    width: 100%;

    flex: 1 1 0;
    min-height: 0;
    height: 100%;
    max-height: none;

    object-fit: contain;
}

/* Кнопка закрытия */
.promotions-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(255, 215, 120, 0.6);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.7);
    color: #f5d78e;
    font-size: 28px;
    cursor: pointer;
}

/* Стрелки */
.promotions-prev,
.promotions-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 38px;
    height: 44px;

    border: none;
    border-radius: 8px;

    background: rgba(0, 0, 0, 0.55);
    color: #f5d78e;
    font-size: 26px;
    cursor: pointer;
}

.promotions-prev {
    left: 8px;
}

.promotions-next {
    right: 8px;
}

/* Точки переключения */
.promotions-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 8px;
    z-index: 5;
}

.promotions-dots button {
    width: 8px;
    height: 8px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.promotions-dots button.active {
    background: #d4af37;
}

/* Плавное появление карточки */
@keyframes promotions-reveal {
    from {
        opacity: 0;
        transform: translateY(35px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Учитываем пользователей с отключённой анимацией */
@media (prefers-reduced-motion: reduce) {
    .promotions-modal {
        animation: none;
    }
}
/* =========================================
   PROMOTIONS — TITLE & DESCRIPTION
   ========================================= */

/* Название акции над изображением */
.promotions-title {
    flex-shrink: 0;
    padding: 14px 52px 14px 20px;
    background: #101010;
    color: #d4af37;

    font-family: 'Heebo', sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

/* Описание акции под изображением */
.promotions-description {
    flex-shrink: 0;
    padding: 12px 18px;
    background: #101010;
    color: #f2e6cf;

    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

/* Точки перелистывания больше не перекрывают текст */
.promotions-dots {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;

    flex-shrink: 0;

    justify-content: center;
    padding: 0 0 14px;
    background: #101010;
}
/* =========================================
   PROMOTIONS — SLIDE TRANSITION
   Плавное переключение изображений
   ========================================= */

.promotions-image,
.promotions-title,
.promotions-description {
    transition:
        opacity 0.18s ease,
        translate 0.18s ease;
}

/* Исчезновение перед сменой акции */
.promotions-modal.promotion-changing .promotions-image,
.promotions-modal.promotion-changing .promotions-title,
.promotions-modal.promotion-changing .promotions-description {
    opacity: 0;
    translate: -12px 0;
}

/* =========================================
   PROMOTIONS — CINEMATIC GOLD SHIMMER
   Золотой отблеск при открытии окна
   ========================================= */

/* Дополнительный слой поверх карточки */
.promotions-modal::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;

    border-radius: inherit;
    pointer-events: none;

    /* Узкий диагональный золотой блик */
    background: linear-gradient(
        110deg,
        transparent 35%,
        rgba(255, 215, 120, 0.04) 43%,
        rgba(255, 215, 120, 0.20) 50%,
        rgba(255, 215, 120, 0.04) 57%,
        transparent 65%
    );

    background-size: 250% 100%;
    background-position: 150% 0;

    animation: promotions-gold-shimmer 1.4s ease-out 0.5s both;
}

/* Световой блик проходит один раз */
@keyframes promotions-gold-shimmer {
    from {
        background-position: 150% 0;
    }

    to {
        background-position: -150% 0;
    }
}

/* Отключаем анимацию при соответствующей настройке устройства */
@media (prefers-reduced-motion: reduce) {
    .promotions-modal::after {
        animation: none;
        background: none;
    }
}
/* =========================================
   BEER HOUSE — SIDE MENU
   Боковое меню в чёрно-золотом стиле
   ========================================= */

/* Скрываем меню, когда установлен атрибут hidden */
.side-menu[hidden] {
    display: none !important;
}

/* Основная панель */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 88vw);
    height: 100vh;
    height: 100dvh;
    z-index: 2000;

    background: #15110e;
    border-left: 1px solid rgba(212, 175, 95, 0.35);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.55);

    padding: 24px;
    box-sizing: border-box;
    overflow-y: auto;
    overscroll-behavior: contain;
    /* Плавное появление бокового меню справа */
    animation: sideMenuSlideIn 250ms ease-out;
}
    /* Анимация выдвижения меню справа */
    @keyframes sideMenuSlideIn {
        from {
            transform: translateX(100%);
        }

        to {
            transform: translateX(0);
        }
    }
    /* Плавное закрытие бокового меню вправо */
    .side-menu.closing {
        animation: sideMenuSlideOut 250ms ease-in forwards;
    }

    @keyframes sideMenuSlideOut {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(100%);
        }
    }
/* Верхняя часть меню */
.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 95, 0.3);
}

/* Название ресторана */
.side-menu-title {
    color: #d4af5f;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Кнопка закрытия */
.side-menu-close {
    background: transparent;
    border: none;
    color: #d4af5f;
    font-size: 32px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
}

/* Ссылки и кнопка Promotions */
.side-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-menu-links a,
.side-menu-promotions {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
    padding: 12px 14px;

    background: transparent;
    border: none;
    border-radius: 8px;

    color: #f2e8d6;
    font-family: 'Heebo', sans-serif;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    text-align: start;
    cursor: pointer;
}

/* Подсветка при наведении */
.side-menu-links a:hover,
.side-menu-promotions:hover {
    background: rgba(212, 175, 95, 0.12);
    color: #d4af5f;
}

/* Видимый фокус для клавиатуры */
.side-menu a:focus-visible,
.side-menu button:focus-visible,
.menu-button:focus-visible {
    outline: 3px solid #d4af5f;
    outline-offset: 3px;
}
/* =========================================
   BEER HOUSE — SIDE MENU OVERLAY
   Затемнение фона за боковым меню
   ========================================= */

.side-menu-overlay[hidden] {
    display: none !important;
}

.side-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1999;

    background: rgba(0, 0, 0, 0.65);
}
/* =========================================
   HEBREW — CATEGORY TITLES RTL
   Заголовки подразделов справа на иврите
   ========================================= */

.hebrew-mode .beer-section-title {
    text-align: right;
    direction: rtl;
}
/* ==========================================
   FOOD SOLD OUT STATUS
   ========================================== */

/* Label in the food list */
.food-sold-out {
    display: block;
    margin-top: 5px;
    color: #e54848;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

/* Label inside food modal */
.food-modal-sold-out {
    color: #e54848;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 12px;
    text-align: center;
}
/* Sold out labels from SQLite; shared across public menu sections */
.bh-soldout-badge{display:block;color:#e55757;font-weight:800;font-size:12px;letter-spacing:.035em;margin:6px 0;line-height:1.4}
.bh-soldout-badge[dir=rtl]{letter-spacing:0}
