﻿html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    /* overflow-x: clip скрывает горизонтальную прокрутку, но не блокирует sticky */
    overflow-x: clip;
    position: static;
    background: #F5F5DC;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    min-height: 100%;
}

html {
    --scrollbar-size: 10px;
    --scrollbar-thumb: rgba(155, 125, 42, 0.42);
    --scrollbar-thumb-hover: rgba(184, 145, 34, 0.72);
    --scrollbar-thumb-active: rgba(0, 87, 183, 0.78);
    scrollbar-width: thin;
    scrollbar-color: rgba(155, 125, 42, 0.42) transparent;
}

* {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

*:hover {
    scrollbar-color: rgba(155, 125, 42, 0.42) transparent;
}

*::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: transparent;
    border: 3px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

*:hover::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

*::-webkit-scrollbar-thumb:active {
    background: var(--scrollbar-thumb-active);
}

*::-webkit-scrollbar-corner {
    background: transparent;
}
/* ОБЩИЕ СТИЛИ */

html, body {
    margin: 0;
    padding: 0;
    background: #F5F5DC;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    color: #333;
}
/* ШАПКА */

.schapka {
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    background: #FFF8DC;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.inschapka {
    display: grid;
    grid-template-columns: auto minmax(320px, 450px) auto;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box; /* <--- ДОБАВИТЬ ВОТ ЭТО */
    gap: 20px;
}

.header-lang-switcher {
    justify-self: end;
    gap: 8px;
    flex-wrap: wrap;
}

.logofoto {
    width: 170px;
    height: auto;
    display: block;
}
/* ПОИСК */

.search-bar {
    display: flex;
    width: 100%;
    max-width: 450px;
    border: 2px solid #FFD700;
    border-radius: 25px;
    overflow: hidden;
    background: white;
    margin: 0;
    justify-self: center;
}



    .search-bar input {
        border: none;
        padding: 10px 15px;
        width: 100%;
        outline: none;
        font-size: 16px;
    }



    .search-bar button {
        background: #FFD700;
        border: none;
        padding: 0 20px;
        cursor: pointer;
        font-size: 18px;
    }

    .search-clear-btn {
        background: #fff3b0 !important;
        color: #333 !important;
        border: none !important;
        padding: 0 15px !important;
        cursor: pointer !important;
        font-size: 16px !important;
    }

    .search-clear-btn:hover {
        background: #ffe680 !important;
    }

/* ЯЗЫКИ */

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-item {
    cursor: pointer;
    color: #888;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #e7dcc3;
    background: #fffaf0;
    border-radius: 999px;
    padding: 8px 12px;
    line-height: 1;
}

.header-lang-switcher .lang-item {
    font-size: 12px;
    color: #8a6d1f;
}

    .lang-item.active {
        color: #0057b7;
        border-color: rgba(0, 87, 183, 0.22);
        background: rgba(0, 87, 183, 0.08);
    }
/* ГЛАВНЫЙ КОНТЕЙНЕР */

.main-container {
    display: flex;
    align-items: flex-start;
    padding: 30px 20px;
    gap: 30px;
}
/* БОКОВАЯ ПАНЕЛЬ */

.leftpanel {
    position: sticky;
    top: 110px;
    width: 250px;
    z-index: 900;
    flex-shrink: 0;
    background: transparent; /* Убираем общий фон, чтобы блоки разделились */
}
/* Блок с навигацией */

.panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    padding: 10px 0;
    margin-bottom: 20px; /* Отступ между меню и рекламой */
}

.menu-item, .category-nav a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #444;
    font-size: 17px;
    transition: 0.2s;
}



    .menu-item:hover, .category-nav a:hover {
        background-color: #f8f8f0;
        color: #0057b7;
        padding-left: 25px;
    }



    .menu-item.active {
        background-color: #0057b7;
        color: white !important;
        font-weight: bold;
    }

    .category-nav a.active {
        background-color: #0057b7;
        color: white !important;
        font-weight: bold;
    }

.category-nav .category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.category-count {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 215, 0, 0.18);
    color: #7a6100;
    font-size: 13px;
    font-weight: 700;
}

.category-nav .category-link-drinks:hover,
.category-nav .category-link-drinks.active {
    background-color: #f0faff;
    color: #008fd6 !important;
    border-left-color: #00aaff;
}

.category-nav .category-link-snacks:hover,
.category-nav .category-link-snacks.active {
    background-color: #fffaf0;
    color: #d98b00 !important;
    border-left-color: #ffaa00;
}

.category-nav .category-link-sweets:hover,
.category-nav .category-link-sweets.active {
    background-color: #fff0fa;
    color: #e03b98 !important;
    border-left-color: #ff44aa;
}

.category-nav .category-link-other:hover,
.category-nav .category-link-other.active {
    background-color: #f3f3f3;
    color: #666666 !important;
    border-left-color: #888888;
}

.separator {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.category-title {
    font-size: 12px;
    font-weight: bold;
    color: #bbb;
    text-transform: uppercase;
    margin-left: 20px;
    letter-spacing: 1px;
}
/* РЕКЛАМА В ПАНЕЛИ */

.side-ad {
    padding: 15px;
    background: white; /* Делаем белый фон как у меню */

    border: 2px dashed #FFD700; /* Золотистая пунктирная рамка для акцента */

    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: 0.3s;
}



    .side-ad:hover {
        transform: scale(1.02); /* Легкий эффект при наведении */
    }

.ad-label {
    font-size: 10px;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.side-ad img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.side-ad span {
    font-size: 13px;
    color: #0057b7;
    font-weight: bold;
    display: block;
    line-height: 1.4;
}
/* КОНТЕНТ */ /* ФУТЕР */

.main-footer {
    background: #333;
    color: #fff;
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}



    .footer-column h4 {
        color: #FFD700;
        margin-bottom: 20px;
        text-transform: uppercase;
    }



    .footer-column p, .footer-column a {
        color: #ccc;
        text-decoration: none;
        display: block;
        margin-bottom: 10px;
        font-size: 14px;
    }

.footer-logo {
    width: 150px;
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 20px;
    color: #777;
    font-size: 12px;
}
/* КОНТАКТЫ В ФУТЕРЕ */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-icon {
    width: 24px;
    min-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    margin-top: 1px;
}

.contact-text {
    font-style: normal;
    color: #ccc;
    line-height: 1.5;
}



    .contact-text a {
        color: #FFD700 !important;
    }


/* Основной контейнер */
.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #333;
    line-height: 1.6;
}

/* Заголовок */
.about-hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero-badge {
    display: inline-block;
    background: #fff9e6;
    color: #d4a017;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    border: 1px solid #ffeeba;
}

.about-hero h1 {
    font-size: 2.5rem;
    color: #0057b7; /* Синий цвет бренда */
    margin-bottom: 15px;
}

/* Сетка истории */
.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.story-text h2 {
    color: #0057b7;
    margin-bottom: 20px;
}

.story-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Рамка для фото */
.image-placeholder {
    width: 100%;
    height: 350px;
    background: #fdfdfd;
    border: 2px dashed #eee;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Карточки ценностей */
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-reviews-section {
    margin-top: 38px;
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(255, 215, 0, 0.18), transparent 26%),
        radial-gradient(circle at bottom right, rgba(0, 87, 183, 0.10), transparent 28%),
        linear-gradient(135deg, #fffef8, #ffffff 58%, #f6faff);
    border: 1px solid #ecdfb6;
    box-shadow: 0 16px 34px rgba(78, 64, 23, 0.10);
}

.about-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.about-reviews-head h2 {
    margin: 10px 0 0;
    color: #20324a;
    font-size: 30px;
    line-height: 1.22;
}

.about-reviews-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 87, 183, 0.08);
    border: 1px solid rgba(0, 87, 183, 0.12);
    color: #0a4d8f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.about-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-reviews-grid.limited-view .about-review-card:nth-child(n+4) {
    display: none;
}

.about-reviews-grid.expanded .about-review-card {
    display: flex;
}

.about-reviews-toggle {
    flex-shrink: 0;
}

.more-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #f0f0f0;
    color: #0057b7;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.more-btn:hover {
    background: #0057b7;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 87, 183, 0.2);
    transform: translateY(-2px);
}

.about-review-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(236, 223, 182, 0.9);
    box-shadow: 0 10px 24px rgba(78, 64, 23, 0.08);
}

.about-review-stars {
    color: #d69a00;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 700;
}

.about-review-text {
    margin: 0;
    color: #35465d;
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.about-review-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #6a7686;
    font-size: 13px;
}

.about-review-meta strong {
    color: #1f2f46;
    font-size: 15px;
}

.value-card {
    background: white;
    padding: 40px 25px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-bottom: 4px solid #ffd700; /* Желтый акцент */
    transition: transform 0.3s ease;
}

    .value-card:hover {
        transform: translateY(-10px);
    }

.value-emoji {
    font-size: 45px;
    display: block;
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.about-reviews-grid::-webkit-scrollbar {
    display: none;
}
/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 2rem;
        padding: 24px 24px 22px;
    }

    .about-reviews-section {
        margin-top: 26px;
        padding: 14px;
        border-radius: 12px;
    }

    .about-reviews-head {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 14px;
    }

    .about-reviews-chip {
        padding: 6px 10px;
        font-size: 11px;
    }

    .about-reviews-head h2 {
        margin-top: 8px;
        font-size: 21px;
        line-height: 1.22;
    }

    .about-reviews-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        align-items: stretch;
        min-height: 248px;
        overflow-x: auto;
        overflow-y: visible;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        touch-action: pan-x;
        gap: 12px;
        padding: 2px 0 10px;
        margin: 0;
    }

    .about-review-stars {
        font-size: 16px;
    }

    .about-review-card {
        scroll-snap-align: start;
        min-height: 248px;
        height: 100%;
        box-sizing: border-box;
        gap: 12px;
        padding: 16px;
        border-radius: 15px;
    }

    .about-review-text {
        font-size: 13.5px;
        line-height: 1.55;
    }

    .about-reviews-toggle {
        width: 100%;
        justify-content: center;
    }

    .about-review-meta {
        font-size: 12px;
    }

    .about-review-meta strong {
        font-size: 14px;
    }
}

/* Обновленные стили для фото в разделе "О нас" */
.story-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo {
    width: 100%; /* Фото занимает всю ширину колонки */
    height: auto; /* Высота подстраивается автоматически, сохраняя пропорции */
    max-height: 400px; /* Ограничим максимальную высоту, чтобы фото не было огромным */
    object-fit: cover; /* Если фото не пропорционально, оно аккуратно обрежется, не растягиваясь */
    border-radius: 20px; /* Красивые закругленные углы */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Мягкая, глубокая тень для объема */
    border: 5px solid white; /* Белая рамка, как у старого фото, добавляет уюта */
    transition: transform 0.3s ease; /* Плавный эффект при наведении */
}

.about-photo:hover {
    transform: scale(1.02) rotate(1deg); /* Фото чуть увеличивается и наклоняется */
}

/* 1. Секция (без лишних фонов) */
/* 1. Основная секция */
.contact-section {
    width: 100%;
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: stretch;
}

.contact-info {
    background: #ffffff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f2f2f2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
}

.contact-intro {
    margin-bottom: 0;
}

    .contact-info h2 {
        font-size: 26px;
        margin: 0 0 10px 0;
        color: #222;
    }

.contact-lead {
    margin: 0;
    color: #5a5a5a;
    line-height: 1.7;
}

.contact-card-title {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9a8552;
}

.opening-hours-card {
    margin-bottom: 0;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
    border: 1px solid #f4ead0;
}

/* Стилизация графика работы */
.opening-hours {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14.5px;
    padding: 10px 0;
    color: #555;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hours-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hours-row:first-child {
    padding-top: 0;
}

    .hours-row span:first-child {
        color: #888;
        font-weight: 700;
    }

.curr-closed {
    color: #cc0000 !important;
    opacity: 0.8;
    font-weight: 700;
}

/* Пункты инфо */
.contact-details {
    display: grid;
    gap: 14px;
}

.contact-socials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 12px;
    align-items: stretch;
}

.contact-social-link {
    min-height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    border: 1px solid #e5edf9;
    box-shadow: 0 8px 18px rgba(28, 56, 99, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-social-link:hover {
    transform: translateY(-2px);
    border-color: #cbdcf5;
    box-shadow: 0 12px 24px rgba(28, 56, 99, 0.12);
}

.contact-social-icon {
    width: 26px;
    height: 26px;
    display: block;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

.info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-content {
    min-width: 0;
}

.info-label {
    display: block;
    margin-bottom: 6px;
    color: #7d7d7d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.info-value {
    color: #2f2f2f;
    line-height: 1.6;
    word-break: break-word;
}

.info-value a {
    color: #0057b7;
    text-decoration: none;
    font-weight: 700;
}

.info-value a:hover {
    text-decoration: underline;
}

/* Кнопки */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 52px; /* Фиксированная высота для всех кнопок */
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: white !important;
    transition: 0.3s;
}

    .social-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.whatsapp-btn {
    background: #25D366;
}

.instagram-btn {
    background: #E1306C;
}

.telegram-btn {
    background: #27A7E7;
}

.facebook-btn {
    background: #1877F2;
}

.tiktok-btn {
    background: #111111;
}

.phone-btn {
    background: #0057b7;
}

.social-icon-img {
    width: 20px;
    height: 20px;
}

.contact-map {
    width: 100%;
    height: auto;
    flex: 1 1 auto;
    min-height: 320px;
    border-radius: 30px;
    overflow: hidden; /* Чтобы углы карты были скругленными */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    background: #eee;
}

    .contact-map iframe {
        border: 0;
        width: 100%;
        height: 100%;
        display: block;
    }

.contact-side-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 100%;
    align-self: stretch;
}

.contact-followup {
    display: block;
    margin-top: auto;
}

    .followup-note {
        position: relative;
        overflow: hidden;
        background:
            radial-gradient(circle at top right, rgba(255, 213, 79, 0.18), transparent 34%),
            linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
    }

    .followup-note::before {
        content: '';
        position: absolute;
        top: 0;
        left: 22px;
        width: 112px;
        height: 5px;
        border-radius: 0 0 999px 999px;
        background: linear-gradient(90deg, #f1c84a 0%, #ffd96f 100%);
        opacity: 0.9;
    }

    .followup-note > * {
        position: relative;
        z-index: 1;
    }

    .followup-card {
        background: #fff;
        border-radius: 28px;
        padding: 24px 24px 22px;
        border: 1px solid #f1efe8;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
        width: 100%;
        box-sizing: border-box;
    }

    .followup-badge {
        display: inline-flex;
        align-items: center;
        padding: 6px 12px;
        border-radius: 999px;
        background: #fff7da;
        color: #9a7b1e;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.7px;
        text-transform: uppercase;
    }

    .followup-card h3 {
        margin: 12px 0 14px;
        color: #1f2b3d;
        font-size: 22px;
        line-height: 1.25;
        max-width: 14ch;
    }

    .followup-list {
        margin: 0;
        padding-left: 0;
        list-style: none;
        color: #555;
        line-height: 1.65;
        font-size: 15px;
        display: grid;
        gap: 8px;
    }

    .followup-list li {
        position: relative;
        padding-left: 18px;
    }

    .followup-list li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0.68em;
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: linear-gradient(180deg, #f1c84a 0%, #d8a816 100%);
        box-shadow: 0 0 0 4px rgba(241, 200, 74, 0.14);
        transform: translateY(-50%);
    }

.mobile-menu-btn {
    display: none; /* Скрыта на ПК */
}

.mobile-menu-logo {
    display: none;
}

@media (max-width: 768px) {

    html, body {
        overflow-x: clip; /* Меняем на clip, как и в основной части */
        position: static;
    }

    /* Шапка под мобилку */
    .inschapka {
        display: flex;
        flex-wrap: wrap;
        padding: 8px 15px;
        row-gap: 8px;
        justify-content: space-between;
        align-items: center;
        width: 100% !important;
        padding: 8px 15px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    /* Кнопка-бургер */
    .mobile-menu-btn {
        display: flex;
        background: #0057b7;
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        order: 1;
    }

    .hamburger-icon {
        width: 20px;
        height: 14px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .hamburger-icon span {
            display: block;
            width: 100%;
            height: 2px;
            background: white;
            border-radius: 2px;
            transition: 0.3s;
        }

    /* Анимация бургера в крестик */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .logo-link {
        order: 3;
        margin: 0;
    }

    .logofoto {
        width: 100px;
    }

    .header-lang-switcher {
        display: flex;
        align-items: center;
        order: 2;
        justify-self: auto;
    }

    .search-wrapper {
        order: 4;
    }

    .search-bar {
        order: 4;
        flex: 1 1 100%; /* Вместо 0 0 100% — даем гибкость */
        width: 100%; /* Занимает всю ширину */
        margin: 0 !important; /* Расстояние до поиска задает row-gap у шапки */
        height: 36px;
        box-sizing: border-box; /* Чтобы рамка не расширяла поиск */
        max-width: none;
    }

    /* ВЫЕЗЖАЮЩАЯ ПАНЕЛЬ */
    .leftpanel {
        display: block !important;
        position: fixed;
        top: 0;
        left: -85%; /* Спрятана за экраном */
        width: 80%;
        height: 100vh;
        background: #F5F5DC;
        z-index: 10001;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
        padding: 0;
        overflow-y: auto;
    }

        .leftpanel.active {
            left: 0;
        }
    /* Выезд шторки */

    .mobile-menu-logo {
        display: block;
        text-align: center;
        padding: 25px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        background: #FFF8DC;
    }

        .mobile-menu-logo img {
            width: 130px;
        }

    /* Затемнение фона */
    .menu-overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 10000;
        backdrop-filter: blur(2px);
    }

    /* Категории и ссылки в меню */
    .panel {
        box-shadow: none;
        background: transparent;
        padding: 10px 0;
    }

    .category-nav {
        display: flex !important;
        flex-direction: column;
        padding: 0;
    }

        .menu-item, .category-nav a {
            font-size: 17px;
            padding: 15px 25px;
            border-bottom: 1px solid rgba(0,0,0,0.03);
        }

    /* Реклама в шторке */
    .side-ad {
        width: 75%;
        margin: 30px auto 50px;
        padding: 10px;
        background: white;
    }

        .side-ad img {
            max-height: 110px;
            object-fit: contain;
        }

    /* Сетка товаров на мобилке */
    .main-container {
        display: block;
        padding: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    /* ЦЕНТРИРОВАНИЕ ФУТЕРА */
    .footer-content {
        flex-direction: column; /* Элементы в колонку */
        align-items: center; /* Центрируем колонки */
        text-align: center; /* Центрируем текст внутри */
        gap: 35px; /* Расстояние между блоками */
    }

    .footer-column {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Центрируем содержимое каждой колонки */
    }

    /* Иконки и контакты тоже в центр */
    .contact-item {
        justify-content: center; /* Центрируем иконку + текст */
        text-align: center;
        width: 100%;
    }

    .contact-text {
        text-align: center;
    }

    /* Убираем лишние отступы у заголовков на мобилке */
    .footer-column h4 {
        margin-bottom: 15px;
    }

    /* Делаем так, чтобы инфо и карта шли друг под другом */
    .contact-grid {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
        padding: 0;
    }

    .contact-info {
        order: 1; /* Сначала текст */
        padding: 24px 20px;
    }

    .contact-map {
        order: 2; /* Потом карта */
        display: block !important;
        height: 350px !important;
        min-height: 350px !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        border-radius: 20px;
    }

        /* Исправляем iframe внутри */
        .contact-map iframe {
            width: 100% !important;
            height: 100% !important;
            min-height: 350px !important;
        }

    .contact-side-column {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .contact-followup {
        gap: 0;
    }

    .followup-card {
        padding: 18px 20px;
        border-radius: 18px;
    }

    .followup-note::before {
        left: 18px;
        width: 92px;
        height: 4px;
    }

    .followup-badge {
        padding: 5px 10px;
        font-size: 10px;
        letter-spacing: 0.45px;
    }

    .followup-card h3 {
        margin: 10px 0 12px;
        font-size: 19px;
        line-height: 1.3;
        max-width: none;
    }

    .followup-list {
        font-size: 14px;
        line-height: 1.5;
        gap: 9px;
    }

    .followup-list li {
        padding-left: 16px;
    }

    .followup-list li::before {
        width: 6px;
        height: 6px;
    }

    .opening-hours-card,
    .info-item {
        border-radius: 18px;
    }
}