h1 {
    font-size: 24px;
    font-weight: 600;
    padding: 0;
    margin: 0;
    /*margin-bottom: 20px;*/
}

button {
    transition: all .2s;
}

body.shop-box {
    padding-top: 90px;
}

@media (max-width: 768px) {
    .desktop {
        display: none;
    }
    .mobile {
    }
}
@media (min-width: 768px) {
    .desktop {
    }
    .mobile {
        display: none;
    }
}

.shop-chef-by {
    display: none;
}

.header-header {
    padding: 0;
    z-index: 2;
}
.header-cart.active .value {
    color: #fff;
    right: -5px;
    left: unset;
}
.header-offset {
    margin-top: 0;
}
.shop-chef-header-photo-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.7));
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;

}
.header-logo {
    color: var(--color1-4) !important;
    font-family: "Nunito";
    /*text-transform: lowercase;*/
    font-size: 30px;
    font-weight: 800;
}
.footer {
    background-color: #CEDAE0;
    padding: 80px 0 20px 0;
    border-top: 1px solid var(--color3-3);
    color: var(--color3-4);
}
.footer-column ul li a {
    color: var(--color3-4);
}
.footer-logo {
    font-family: "Nunito";
    color: var(--color1-1);
}

.footer-bottom {
    border-top: 1px solid var(--color3-3);
}

.nav-sidebar-body {
    padding-top: 0;
    padding-bottom: 0;
}

.nav-sidebar {
    transition: none;
}

.nav-sidebar-header {
    display: none;
}

.primary-btn,
.dish-cart-add-to-cart-button,
.cart-panel-checkout-button {
    background-color: var(--color1-4);
}
.dish-cart-add-to-cart-button:hover,
.primary-btn:hover,
.cart-panel-checkout-button:hover {
    background-color: var(--color1-3);
}


.dish-cart-selector ul>li.active {
    border-color: var(--color4-5);
    background-color: var(--color4-2);
}

.dish-cart-portion-option.active {
    border-color: #aaaaaa;
    background-color: #eeeeee;
    /*border-color: var(--color4-5);*/
    /*background-color: var(--color4-2);*/
}

/*div,p,h1,h2,h3,h4,h5,h6,a,button {*/
/*    user-select: none; !* Запрещает выделение текста *!*/
/*    -webkit-user-select: none; !* Для браузера Chrome *!*/
/*    -moz-user-select: none; !* Для Firefox *!*/
/*    -ms-user-select: none; !* Для IE/Edge *!*/
/*}*/


.category-sidebar-container {
    position: relative;
    z-index: 1000;
}
.category-sidebar-menu-icon {
    flex-shrink: 0;
    cursor: pointer;
    width: 25px;
    height: 19px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 10px;
}
.category-sidebar-menu-icon .bar {
    width: 100%;
    height: 3px;
    background-color: #000000;
    transition: all 0.3s ease;
}
.category-sidebar-menu-icon:hover .bar {
    background-color: var(--color1-4);
}
.category-sidebar-menu-icon.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 8px);
    background-color: #000;
}
.category-sidebar-menu-icon.open .bar:nth-child(2) {
    opacity: 0;
}
.category-sidebar-menu-icon.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -4px);
    background-color: #000;
}
.category-sidebar {
    position: fixed;
    top: 114px;
    left: 0;
    width: 350px;
    height: 100%;
    background-color: #fff;
    /*box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);*/
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: scroll;
    border-top: 1px solid #dddddd;
}
.category-sidebar.open {
    transform: translateX(0);
}
.category-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
.category-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}
.category-sidebar-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}
.category-sidebar-header h2 {
    margin: 0;
    font-size: 18px;
}
.category-sidebar-header .category-sidebar-close {
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}
.category-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-sidebar-menu li {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.category-sidebar-menu li span {
    visibility: hidden;
}
.category-sidebar-menu li.active {
    background-color: var(--color4-1);
}
.category-sidebar-menu li.active span {
    visibility: visible;
}
.category-sidebar-submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-sidebar-submenu li {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}
.category-sidebar-submenu a {
    text-decoration: none;
    color: #000;
}
.category-sidebar-submenu-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}
.category-sidebar-submenu {
    position: fixed;
    top: 114px;
    left: 300px;
    width: 350px;
    background-color: #fff;
    box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, top 0.3s ease;
    transform: translateX(100%);
    overflow-y: auto;
    display: none;
    height: 100%; /* Максимальная высота по умолчанию */
    border-top: 1px solid #dddddd;
}
.category-sidebar-submenu.open {
    transform: translateX(0);
    display: block;
}
.category-sidebar-menu li:hover .category-sidebar-submenu {
    display: block; /* Показать подменю при наведении */
}
.category-sidebar-submenu li:hover  {
    background-color: var(--color4-1);
}
.category-sidebar-submenu .desktop {
    display: block;
}
.category-sidebar-submenu .mobile {
    display: none;
}

body.shop-box {
    padding-top: 100px;
}

@media (max-width: 768px) {
    body.shop-box {
        padding-top: 0;
        padding-bottom: 50px;
    }
    .header-offset {
        margin-top: 0;
    }
    .category-sidebar {
        top: 0;
        left: 0;
        right: 0;
        width: unset;
        bottom: 50px;
        height: unset;
    }
    .category-sidebar-submenu {
        top: 0;
        left: 0;
        right: 0;
        width: unset;
        bottom: 50px;
        height: unset;
    }
    .category-sidebar-submenu .desktop {
        display: none;
    }
    .category-sidebar-submenu .mobile {
        display: block;
    }

    .category-sidebar-menu li span {
        visibility: visible;
    }
}


.shop-box .shop-main-content {
    /*max-width: 1280px;*/
    max-width: 1400px;
    padding: 10px 20px;
    /*margin-bottom: 100px;*/
}
.shop-box .deals-section {
    padding: 0;
}

.shop-box h1 {
    margin-top: 20px;
}

.shop-box .deal-card {
    width: 240px;
}
.shop-box .deal-card>img {
    /*height: 280px;*/
}
.shop-box .deal-avatar {
    top: 190px;
}
.shop-box .deal-card h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: calc(2 * 1.2em);
    line-height: 1.2em;
    max-height: calc(2 * 1.2em);
    white-space: normal;
}
.shop-box .deal-list {
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 7px 0;
}
.shop-box .scroll-item {
    margin-right: 0;
    width: unset;
}
.shop-box .deal-cart-dish-weight {
    display: none;
}
.shop-box.no-city .deal-badge {
}
.shop-box .deal-avatar {
    display: none;
}
.shop-box .deal-stat-panel {
    color: #f0f0f0;
    text-shadow: rgba(0, 0, 0, 1) 0 0 25px;
}
.shop-box .deal-price {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 5px 10px;
}

@media (max-width: 768px) {
    .shop-box .deal-list {
        gap: 10px;
    }
    .shop-box .shop-main-content {
        padding: 10px 10px;
    }
    .shop-box .deal-card>img {
        height: 230px;
    }
    .shop-box .deal-card {
        width: calc(50vw - 15px);
        height: 285px;
    }
    .shop-box .deal-avatar {
        top: 155px;
    }
    .deal-info {
        padding: 0 7px;
    }
    .deal-day {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 10px;
    }
}


.dish-cart-image {
    height: 500px;
}
.dish-cart-image img {
    height: 500px;
    object-fit: contain;
}
.image-slider-wrapper {
    background-color: #f7f5f0;
}

.day-selector-day-weekend-available {
    border-color: var(--color1-3);
    color: var(--color1-4);
}
.day-selector-day-weekend-selected {
    background-color: var(--color1-4);
    border-color: var(--color1-4);
    color: #ffffff;
}
.dish-cart-variant-item.active img {
    border-color: var(--color1-4);
}

.detail .dish-cart-variants img {
    width: 60px;
    height: 80px;

}


.flex-row {
    display: flex;
    gap: 10px;
    width: 100%;
}
.flex-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}



.gdpr-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* по умолчанию скрыто */
    z-index: 10000;
}
.gdpr-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
    z-index: 10001;
}
.gdpr-dialog a {
    text-decoration: underline;
}
.gdpr-dialog-text {
    margin-bottom: 16px;
    /*font-size: 14px;*/
    line-height: 1.5;
    color: #333333;
}
.gdpr-dialog-link {
    color: #0066cc;
    text-decoration: none;
}
.gdpr-dialog-link:hover {
    text-decoration: underline;
}
.gdpr-dialog-accept-button {
    display: inline-block;
    padding: 10px 16px;
    font-size: 18px;
    color: #ffffff;
    background-color: var(--color1-4);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.gdpr-dialog-accept-button:hover {
    background-color: var(--color1-3);
}

/* Адаптив для мобильных: отступ 10px от границ */
@media (max-width: 600px) {
    .gdpr-dialog {
        width: calc(100% - 20px);
        padding: 16px;
    }
}



/*   BANNERS   */

.main-banner-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 40px;
    padding: 0 25px;
}
.main-banner {
    max-width: 1400px;
    position: relative;
}
.main-banner img {
    width: 100%;
}
.main-banner-title {
    position: absolute;
    top: 20px;
    bottom: 20px;
    right: 0;
    left: 0;
    margin: auto;
    font-size: 30px;
    font-weight: bold;
    color: #ffffff;
    /*transform: rotateZ(-25deg);*/
}
.main-banner-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

@media (max-width: 768px) {
    .main-banner {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }
    .main-banner-section {
        margin-top: 0;
        padding: 0;
    }
}


.cards-slider-section {
    width: 100%;
    /*padding: 40px 0;*/
    background-color: #fff;
    padding: 0 25px;
}

.cards-slider {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    /*padding: 0 40px;*/
}

.cards-slider-categories {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    /*padding: 0 40px;*/
}

.swiper-slide {
    /*width: 216px; !* фиксированная ширина *!*/
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.1);*/
}

.swiper-slide.small {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.swiper-slide.small p {
    font-size: 12px;
    text-align: center;
    font-weight: 600;
    max-width: 90%;
    margin: auto;
}
.swiper-slide.small img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

/* Стрелки */
.swiper-button-prev,
.swiper-button-next {
    color: #333;
}


@media (max-width: 768px) {
    .cards-slider-section {
        padding: 10px 10px;
    }

    .cards-slider img {
        /*width: 100%;*/
        margin: 0 20px;
    }

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 20px;
    }

    .cards-slider-categories {
        padding-left: 10px;
    }
    .swiper-slide.small p {
        font-size: 10px;
        max-width: 100%;
    }
    .swiper-slide.small p {
        margin-left: -25%;
        font-size: 10px;
        max-width: 150%;
        width: 150%;
        /*position: absolute;*/
        /*bottom: 0;*/
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

}
