﻿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;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    /* overflow-x: hidden переносим сюда, но осторожно */
    overflow-x: clip; /* Современный аналог, который меньше ругается со sticky */
    background: #F5F5DC;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    min-height: 100%;
}
/* ШАПКА */
.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;
    gap: 20px;
    box-sizing: border-box; /* Это критично, чтобы padding не "ужимал" контент внутри */
}

.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: 1000;
    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-nav .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%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.side-ad span {
    font-size: 13px;
    color: #0057b7;
    font-weight: bold;
    display: block;
    line-height: 1.4;
}

/* КОНТЕНТ */
.content-area {
    flex: 1;
    max-width: 1200px;
}

.store-info {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.store-info-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 22px;
}

.store-info-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.14);
    color: #0a4d8f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.35px;
    text-transform: uppercase;
}

.store-info-intro h2 {
    margin: 14px 0 10px;
    color: #20324a;
    font-size: 34px;
}

.store-info-intro p {
    margin: 0;
    color: #566274;
    line-height: 1.7;
    font-size: 16px;
}

.store-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.store-info-grid--hours-dense {
    align-items: start;
}

.opening-hours-card-home {
    margin-top: 0;
    max-width: none;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.store-info-grid--hours-dense .opening-hours-card-home {
    height: auto;
    align-self: start;
}

.store-info-grid--hours-dense .home-service-copy {
    gap: 10px;
}

.store-info-grid--hours-dense .home-service-list {
    line-height: 1.65;
}

.store-info-grid--hours-dense .home-service-support {
    gap: 8px;
    padding: 12px;
}

.store-info-grid--hours-dense .home-service-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.store-info-grid--hours-dense .home-service-point {
    padding: 10px 12px;
}

.store-info-grid--hours-dense .home-service-point--static {
    grid-column: 1 / -1;
}

.store-info-grid--hours-dense .home-service-link {
    margin-top: auto;
}

.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;
}

.closed {
    color: #cc0000;
    font-weight: bold;
}

.curr-closed {
    color: #cc0000 !important;
    opacity: 0.8;
    font-weight: 700;
}

.home-service-card {
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #dbe7fb;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
}

.home-service-card--expanded {
    height: 100%;
    justify-content: space-between;
}

.home-service-copy {
    display: grid;
    gap: 14px;
}

.home-service-list {
    margin: 0;
    padding-left: 20px;
    color: #4d5a6c;
    line-height: 1.8;
}

.home-service-support {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(242,247,255,0.96) 100%);
    border: 1px solid #d9e5f7;
}

.home-service-support-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6e7f9a;
}

.home-service-points {
    display: grid;
    gap: 10px;
}

.home-service-point {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #dce7f8;
    background: #fff;
    color: #244062;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(28, 56, 99, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-service-point:hover {
    transform: translateY(-1px);
    border-color: #c5d8f3;
    box-shadow: 0 12px 22px rgba(28, 56, 99, 0.09);
}

.home-service-point strong {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7a92;
}

.home-service-point span {
    color: #18345c;
    line-height: 1.45;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.home-service-point--static:hover {
    transform: none;
    border-color: #dce7f8;
    box-shadow: 0 8px 18px rgba(28, 56, 99, 0.05);
}

.home-service-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #0057b7;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.home-service-link:hover {
    background: #00438d;
}

.ads-banner {
    background: linear-gradient(95deg, #FFD700, #FFA500);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.ads-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-banner-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    text-align: center;
}

.home-banner-layout.has-image {
    grid-template-columns: 220px minmax(0, 1fr) 220px;
}

.home-banner-media,
.home-banner-spacer {
    width: 220px;
    display: flex;
    justify-content: center;
}

.home-banner-image {
    max-width: 220px;
    max-height: 120px;
    object-fit: contain;
    border-radius: 12px;
}

.home-banner-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-banner-copy h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.home-banner-copy p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.content-area .news-public-section {
    margin-bottom: 34px;
    border-radius: 20px;
    border: 1px solid #f0d98f;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 236, 170, 0.6), transparent 42%),
        radial-gradient(circle at 100% 100%, rgba(255, 217, 124, 0.35), transparent 38%),
        linear-gradient(135deg, #fff9e6, #fffef8);
    box-shadow: 0 14px 34px rgba(109, 88, 25, 0.15);
    padding: 22px;
}

.content-area .news-public-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #69510c;
    background: #ffe9a9;
    border: 1px solid #ebcb6a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.content-area .news-public-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.content-area .news-public-head h2 {
    margin: 0;
    font-size: 30px;
    color: #252525;
    letter-spacing: 0.2px;
}

.content-area .news-public-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.content-area .news-public-showcase.has-side-news {
    grid-template-columns: 1fr;
}

.content-area .news-featured-card {
    background: linear-gradient(170deg, #fffef8 0%, #ffffff 66%);
    border-radius: 18px;
    border: 1px solid #efdeae;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(76, 61, 18, 0.12);
    position: relative;
    overflow: hidden;
    min-height: 0;
    animation: newsFadeIn 360ms ease;
}

.content-area .news-featured-card::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    width: 120px;
    height: 5px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, #ffd900, #ffab2e);
}

.content-area .news-featured-title {
    margin: 8px 0 8px;
    font-size: 19px;
    line-height: 1.3;
    color: #253241;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.content-area .news-featured-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: #4a5560;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-area .news-side-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.content-area .news-featured-card,
.content-area .news-side-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.content-area .news-side-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #efdfb0;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 14px rgba(76, 61, 18, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-area .news-side-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 61, 18, 0.14);
}

.content-area .news-side-title {
    margin: 8px 0 8px;
    font-size: 19px;
    line-height: 1.3;
    color: #253241;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.content-area .news-side-text {
    margin: 0;
    line-height: 1.45;
    color: #4a5560;
    font-size: 15px;
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-area .news-public-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
    color: #7f6830;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

@keyframes newsFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-reviews-section {
    margin-bottom: 34px;
    border-radius: 22px;
    padding: 24px;
    border: 1px solid #d8e7ff;
    background:
        radial-gradient(circle at top right, rgba(0, 87, 183, 0.12), transparent 30%),
        radial-gradient(circle at bottom left, rgba(255, 215, 0, 0.2), transparent 35%),
        linear-gradient(135deg, #fffdf6, #ffffff 55%, #f4f9ff);
    box-shadow: 0 16px 36px rgba(38, 80, 124, 0.12);
}

.home-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.home-reviews-head h2 {
    margin: 10px 0 0;
    font-size: 30px;
    color: #20324a;
}

.home-reviews-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #0a4d8f;
    background: rgba(0, 87, 183, 0.1);
    border: 1px solid rgba(0, 87, 183, 0.14);
}

.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-review-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(216, 231, 255, 0.95);
    box-shadow: 0 10px 24px rgba(38, 80, 124, 0.09);
}

.home-review-stars {
    color: #d69a00;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 700;
}

.home-review-text {
    margin: 0;
    color: #35465d;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.home-review-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #6a7686;
    font-size: 13px;
}

.home-review-meta strong {
    color: #1f2f46;
    font-size: 15px;
}

/* ТОВАРЫ */
.section-header {
    display: flex;
    justify-content: space-between; /* Заголовок слева, кнопка справа */
    align-items: center;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3); /* Легкая золотистая линия подзаголовка */
}
    .section-header h2 {
        margin: 0;
        font-size: 24px;
        color: #333;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.product-grid.limited-view .product-card:nth-child(n+5) {
    display: none;
}

.product-grid.expanded .product-card {
    display: block;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

.product-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 10px;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 10px 0;
}

.price {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #0057b7;
    margin: 0;
}

.price-old {
    font-size: 18px;
    color: #b00020;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.price-sale {
    color: #178a3f;
}

.price-out-of-stock {
    font-size: 18px;
    color: #8b0000;
}

.order-btn {
    width: 100%;
    padding: 12px;
    background: #FFD700;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.product-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: white;
}

.available {
    background: #28a745;
}

.preorder {
    background: #ffc107;
    color: #333;
}

/* ФУТЕР */
.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;
}

/* --- СТИЛЬ КНОПКИ "СМОТРЕТЬ БОЛЬШЕ" --- */
.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: white;
        box-shadow: 0 4px 12px rgba(0, 87, 183, 0.2);
        transform: translateY(-2px); /* Легкий подъем */
    }

/* КОНТАКТЫ В ФУТЕРЕ */
.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;
    }

.mobile-menu-btn {
    display: none; /* Скрыта на ПК */
}

.mobile-menu-logo {
    display: none;
}

/* ГЛАВНЫЙ КОНТЕЙНЕР */
.main-container {
    display: flex;
    align-items: flex-start;
    padding: 30px 20px;
    gap: 30px;
}

/* КОНТЕНТ */
.content-area {
    flex: 1;
    max-width: 1200px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

/* ФУТЕР */
.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;
}

/* ————— МОБИЛЬНАЯ ВЕРСИЯ ————— */
@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%;
        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: 2;
        margin: 0; /* Убираем авто-отступы */
    }

    .logofoto {
        width: 100px;
    }

    .header-lang-switcher {
        display: flex;
        align-items: center;
        order: 3;
        justify-self: auto;
    }

    .search-wrapper {
        order: 4;
    }

    .search-bar {
        order: 4;
        flex: 1 1 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);
    }

    .category-nav {
        display: flex !important;
        flex-direction: column;
        padding: 0;
    }

    .panel {
        box-shadow: none;
        background: transparent;
        padding: 10px 0;
    }

        .menu-item, .category-nav a {
            font-size: 17px;
            padding: 15px 25px;
            border-bottom: 1px solid rgba(0,0,0,0.03);
        }

    .main-container {
        display: block;
        padding: 15px;
        box-sizing: border-box;
    }

    .content-area .news-public-section {
        padding: 14px;
        border-radius: 12px;
    }

    .content-area .news-public-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 12px;
    }

    .content-area .news-public-head h2 {
        font-size: 25px;
    }

    .content-area .news-public-showcase,
    .content-area .news-public-showcase.has-side-news {
        grid-template-columns: 1fr;
    }

    .content-area .news-featured-card {
        min-height: 0;
        padding: 16px;
    }

    .content-area .news-featured-title {
        font-size: 28px;
    }

    .content-area .news-featured-text {
        font-size: 16px;
        max-width: 100%;
    }

    .content-area .news-side-title {
        font-size: 18px;
    }

    .opening-hours-card-home {
        max-width: none;
    }

    .store-info-intro h2 {
        font-size: 28px;
    }

    .store-info-grid {
        grid-template-columns: 1fr;
    }

    .home-banner-layout.has-image {
        grid-template-columns: 1fr;
    }

    .home-banner-media,
    .home-banner-spacer {
        width: 100%;
    }

    .home-banner-spacer {
        display: none;
    }

    .home-reviews-section {
        padding: 16px;
        border-radius: 14px;
    }

    .home-reviews-head {
        align-items: flex-start;
    }

    .home-reviews-head h2 {
        font-size: 24px;
    }

    .home-reviews-grid {
        grid-template-columns: 1fr;
    }

    .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;
        width: 100%;
    }

    .product-card {
        width: 100%;
        box-sizing: border-box;
    }

    .product-img {
        width: 100% !important;
        height: 140px;
        object-fit: contain;
    }

    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px 0 15px;
    }
}