
body {
    margin: 0px;
    padding: 0;
    background: #1f1a20;
    
}

*::selection {
    background: #C0259B;
}

* {
    box-sizing: border-box;
    font-family: "Nunito", sans-serif;
    color: #F4F2F5;
    font-size: 30px;
}

a {
    text-decoration: none;
    
}






.wrapper {
    max-width: 1760px;
    margin: 0px 80px;
    margin-top: 80px;
}

.header_wrap {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.leftt {
    display: flex;
    width: 322px;
    height: 141px;
}

.streetAndTel {
    display: flex;
    gap: 29px;
    top: 0px;
}




.box {
    display: flex;
    gap: 29px;
    align-items: center;
}

.full-time {
    position: absolute; 
    display: flex;
    align-items: center;
    gap: 29px;
    bottom: 0px;
}


.header-icon {
    max-height: 30px;
    max-width: 30px;
}


.full-time br,
.full-time_map br {
    display: none;
}







 









.title_section {
    display: flex;
    justify-content: center;
}






.soc_items_icon {
    display: flex;
    height: 50px;
    width: 50px;
}

.soc-seti {
    display: flex;
    justify-content: center;
}

.soc {
    display: flex;
    gap: 29px;
    padding: 49px 54px;
    border: green solid 1px;
}


.details_button {
    background: #c02528;
    border: none;
    border-radius: 20px;
}


.details_button_df {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.minus_df_a {
    display: flex;
}



.outside_section_item_center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.item_scroll {
    position: absolute;
    bottom: 40px;
    opacity: 0;
}


/* обертка wrapper для слайда */
.wrapper_cliders {
    margin-top: 80px;
}

/* размер слайдиков */
.preim_top_size {
    height: 400px;
    width: 596px;
}

.swiper-slide {
    width: auto!important;
    height: auto!important;
}


.swiper {
    width: 100%;
    height: 100%;
}






.swiper-button-next,
.swiper-button-prev {
    color: #C0259B;
    padding: 50px;
    display: flex;
    width: 100px;
    height: 100px;

}



















.likeeee_proz_item {
    display: flex;
    gap: 8px;
    align-items: center;
}

.likeSvg_proz {
    display: flex;
    gap: 2px;
    justify-content: center;
    align-items: center;
}

 
.like_svg {
    max-height: 35px;
    max-width: 37px;
}

.img_review {
    max-width: 96px;
    max-height: 96px;
}




.star {
    max-width: 50px;
    max-height: 45px;
}


.stars {
    display: flex;
}

.review_top_left {
    display: flex;
    align-items: center;
    
}

.name_stars {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.full_item_review {
    background: #CB86BB;
    border-radius: 10px;
    padding: 49px 89px;
    display: flex;
    flex-direction: column;
    gap: 49px;
}



.review_top_long {
    display: flex;
    justify-content: space-between;
}

.review_bottom_text {
    display: flex;    
}

.full_item_review {
    max-width: 1000px;
}


.boy_color_blue {
    background: #72ACD2;
}
.men_color_blue {
    background: #3C92CA;
}
.women_color_pink {
    background: #CB86BB;
}



.Menu_full {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px; 
}

.grid_menu {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, 210px);
    grid-template-rows: repeat(4, 298px);
    grid-template-areas: 
    "num_1 num_2 num_4 num_3"
    "num_5 num_6 num_7 num_8"
    "num_9 num_10 num_11 num_12"
    "num_13 num_14 num_15 num_16";
    
}

.item_img_menu_number_1 { grid-area: num_1;}
.item_img_menu_number_2 { grid-area: num_2;}
.item_img_menu_number_3 { grid-area: num_3;}
.item_img_menu_number_4 { grid-area: num_4;}
.item_img_menu_number_5 { grid-area: num_5;}
.item_img_menu_number_6 { grid-area: num_6;}
.item_img_menu_number_7 { grid-area: num_7;}
.item_img_menu_number_8 { grid-area: num_8;}
.item_img_menu_number_9 { grid-area: num_9;}
.item_img_menu_number_10 { grid-area: num_10;}
.item_img_menu_number_11 { grid-area: num_11;}
.item_img_menu_number_12 { grid-area: num_12;}
.item_img_menu_number_13 { grid-area: num_13;}
.item_img_menu_number_14 { grid-area: num_14;}
.item_img_menu_number_15 { grid-area: num_15;}
.item_img_menu_number_16 { grid-area: num_16;}




.img_right_menu-inside {
    width: 100%;
    height: 100%;
}

.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed; /* Оставаться на месте */
    z-index: 1; /* Сидеть на вершине */
    padding-top: 100px; /* Расположение коробки */
    left: 0;
    top: 0;
    width: 100%; /* Полная ширина */
    height: 100%; /* Полный высота */
    overflow: auto; /* Включите прокрутку, если это необходимо */
    background-color: rgb(0,0,0); /* Цвет запасной вариант */
    background-color: rgba(0,0,0,0.9); /* Черный с непрозрачностью */
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}
.polocinki_shauma {
    animation: kach 2s infinite alternate-reverse ease-in;
}
@keyframes kach {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(10deg)
    }
}
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #C0259B;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}


.open_full {
    font-size: 15px;
}
.munu_button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #C0259B;
    color: #ffffff;
    border: none;
}





.pokaz_img {
    display: none;
    gap: 22px;
}

#myImg16,
#myImg17,
#myImg18, 
#myImg19 {
    width: 210px;
    height: 123px;
}








.map_contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 29px;
}
.streetAndTel_map {
    display: flex;
    gap: 29px;
}


.full-time_map {
    display: flex;
    align-items: center;
    gap: 29px;
}

.map_center_size {
    display: flex;
    justify-content: center;
}



.mapka {
    width: 100%;
}

iframe {
    border: none;
    border-radius: 10px;
}

.FUUUUUL_Map, 
.FUUUUUL_Menu,
.about_us_Full,
.review_section {
    background: #322834;
}

.section_contact_map {
    padding-bottom: 10px;
}

.review_section {
    padding: 10px;
}

.about_us_Full {
    padding: 0.25px;
}















.outside_image {
    position: relative;
    width: 594px;
    height: 788px;
}









.green_free_text {
    color: #00FF41;
}
.purple_free_text,
.name_review_client_purple {
    color: #C0259B;
}

.boxes_details {
    display: flex;
    gap: 30px;
    
}

.box_details {
    display: flex;
    gap: 15px;
    align-items: center;
}


.boxes_details__ {
    justify-content: center;
}



.frame_details {
    width: 100px;
}


* {
    scroll-behavior: smooth;
}


.adaptiv_center_Hooka {
    display: flex;
    justify-content: center;
}

.footer {
    background-color: #1f1a20;
}

.footer_place {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background-color: #1f1a20;
}



.box_footer {
    display: flex;
    align-items: center;
    gap: 29px;
}

.soc_footer {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.soc_items_icon_footer {
    display: flex;
    height: 35px;
    width: 35px;
}

.para_icon_footer {
    display: flex;
    gap: 10px;
}

.tel_street_footer {
    display: flex;
    flex-direction: column;
}

.footer_icon_tel,
.footer_icon_placeholder {
    height: 30px;
    width: 30px;
}



.strelka_topovaya {
    position: fixed;
    right: 5vh;
    bottom: 20vh;
    display: flex;
    z-index: 20000;
}


.btn-up_hide {
    display: none;
}

.strelka_top {
    max-width: 50px;
}


.mda {
    border-radius: 29px;
}




/* неважные приколы */
/* ничего нет */











@media (max-width: 1787px) {
    

    /* изменение слайдов */
    .preim_top_size {
        height: 351px;
        width: 522px;
    }
    
}

@media (max-width: 1650px) {

    /* изменение слайдов */
    .preim_top_size {
        height: 310px;
        width: 462px;
    }   
}

@media (max-width: 1588px) {
    
}


@media (max-width: 1400px) {

     /* изменение слайдов */
     .preim_top_size {
        height: 237px;
        width: 354px;
    } 
}



@media (max-width: 1356px) {

    /* изменение соц-топ */
    .soc {
        gap: 20px;
        padding: 30px 30px;
    }
    .full_item_review {
        padding: 30px 40px;
        gap: 30px;
    }
}

@media (max-width: 1252px) {
    .leftt {
        width: 277px;
        height: 111px;
    }

    /* изменение соц-топ */
    .soc {
        padding: 25px 25px;
    }
    .full_item_review {
        max-width: 750px;
    }

}

@media (max-width: 1186px) {
    .leftt {
        width: 229px;
        height: 92px;
    }
    * {
        font-size: 24px;
    }

    .outside_image {
        width: 510px;
        height: 677px;
    }
}

@media (max-width: 1100px) {
    .box_footer {
        gap: 15px;
    }

    .footer_icon_placeholder,
    .footer_icon_tel {
        height: 20px;
        width: 20px;    
    }

}

@media (max-width: 952px) {
    .grid_menu {
        grid-template-columns: repeat(4, 158px);
        grid-template-rows: repeat(4, 224px);
        gap: 10px;
    }
    #myImg16, #myImg17, #myImg18, #myImg19 {
        height: 224px;
        width: 158px;
    }
    .pokaz_img {
        gap: 10px;
    }
    .Menu_full {
        gap: 10px;
    }
    .like_svg {
        max-height: 23px;
        max-width: 25px;
    }
    .full_item_review {
        padding: 20px 30px;
        gap: 20px;
        max-width: 600px; 
    }
    .star {
        max-width: 20px;
    }
    .img_review {
        max-width: 45px;
    }
    .leftt {
        width: 197px;
        height: 79px;
    }
    * {
        font-size: 15px;
    }
    .header-icon {
        max-height: 20px;
        max-width: 20px;
    }
    .wrapper {
        max-width: 1840px;
        margin: 0px 40px;
        margin-top: 40px;
    }
    .wrapper_cliders {
        margin-top: 40px 
    }



    .mapka {
        height: 450px;
    }

    .outside_image {
        width: 354px;
        height: 471.56px;
    }

    .icon_details {
        height: 60px;
    }

}
 
@media (max-width: 800px) {
    .box_footer {
        gap: 5px;
    }
    .soc_footer {
        gap: 5px;
    }

    .para_icon_footer {
        gap: 5px;
    }
}


@media (max-width: 754px) {
    /* изменение менюхи грид */
    .grid_menu {
        grid-template-columns: repeat(4, 112px);
        grid-template-rows: repeat(4, 158px);
        gap: 10px;
    }
    #myImg16, #myImg17, #myImg18, #myImg19 {
        height: 158px;
        width: 112px;
    }
    .pokaz_img {
        gap: 10px;
    }
    /* contacts_before_map */

    .map_contacts {
        flex-direction: column;
    }
}

@media (max-width: 710px) {
    /* header */
    .leftt {
        width: 149px;
        height: 60px;
    }
    
    .header-icon {
        max-height: 15px;
        max-width: 15px;
    }
    .box {
        gap: 15px;
    }
    .full-time {
        gap: 15px;
    }
    .streetAndTel {
        gap: 15px;
    }
    .full-time_map {
        gap: 15px;
    }
    .map_contacts {
        gap: 15px;
    }

    /*  */
    .soc_items_icon {
        display: flex;
        height: 35px;
        width: 35px;
    }

    .outside_image {
        width: 300px;
        height: 399.63px;
    } 

    .soc_items_icon_footer {
        width: 20px;
        height: 20px;
    }
    
    .footer_icon_tel,
    .footer_icon_placeholder {
        height: 15px;
        width: 15px;
    }


}
@media (max-width: 664px) {
    .boxes_details {
        flex-direction: column;
    }
    .icon_details {
        width: 100px;
    }
    .full_item_review {
        max-width: 450px;
    }
}




@media (max-width: 616px) {
    .leftt {
        width: 123px;
        height: 49px;
    }
    
    .header-icon {
        max-height: 17px;
        max-width: 17px;
    }

    .footer_icon_tel,
    .footer_icon_placeholder {
        max-height: 17px;
        max-width: 17px;
    }

    * {
        font-size: 18px;
    }

    /* стрелки в слайдере */
    .swiper-button-next,
    .swiper-button-prev {
        padding: 25px;
        width: 50px;
        height: 50px;
    }

    .mapka {
        height: 237px;
    }

}




@media (max-width: 578px) {
    /* изменение менюхи грид */
    .grid_menu {
        grid-template-columns: repeat(4, 80px);
        grid-template-rows: repeat(4, 115px);
    }
    #myImg16, #myImg17, #myImg18, #myImg19 {
        height: 115px;
        width: 80px;
    } 
    .header_wrap {
        flex-direction: column;
        gap: 25px; 
    }
    .open_full {
        font-size: 10px;
    }
    .leftt {
        width: 170px;
        height: 68px;
    }
    .footer_img {
        width: 123px;
        height: 49px;
    }

    
    .rightt {
        display: flex;
        flex-direction: column;
        align-items:flex-start;
        gap: 10px;
        
    }
    .streetAndTel {
        flex-direction: column;
        gap: 10px;

    }
    .full-time {
        position: relative;
    }

    .header-icon {
        max-width: 17px;
        max-height: 17px;
    }
    
    
}






@media (max-width: 482px) {
    .preim_top_size {
        height: 202px;
        width: 300px;
    }
    .mapka {
        height: 202px; 
    }
    .soc_items_icon {
        display: flex;
        height: 25px;
        width: 25px;
    }

    .footer_img {
        width: 98px;
        height: 39px;
    }


}

@media (max-width: 420px) {
    .grid_menu {
        grid-template-columns: repeat(4, 66px);
        grid-template-rows: repeat(4, 94px);
    }
    .adaptiv_center_Hooka {
        display: flex;
        justify-content: start;
    } 
    #myImg16, #myImg17, #myImg18, #myImg19 {
        height: 94px;
        width: 66px;
    } 
    :root {
        --swiper-navigation-size: 20px;
    }

    .strelka_top {
        max-width: 25px;
    }
    

    .icon_details {
        width: 70px;
        height: 50px;
    }
    
    .footer_img {
        width: 72px;
        height: 29px;
    }

    .soc_items_icon_footer {
        width: 15px;
        height: 15px;
    }

    .full-time br,
    .full-time_map br {
        display: initial;
    }
    .full_item_review {
        max-width: 350px;
    }
    .star {
        max-width: 15px;
    }
    .wrapper_sliders_review {
        margin: 40px 10px;
    }
    /* два wrapper */
    .full_item_review {
        padding: 15px 20px;
        gap: 20px;
    }
    .name_stars {
        gap: 0px;
    }
    .review_top_right {
        font-size: 10px;
    }
}


@media (max-width: 374px) {
    .adaptiv_center_Hooka {
        display: flex;
        justify-content: center;
    }

}


@media (max-width: 360px) {
    

    .icon_details {
        width: 60px;
        height: 50px;
    }
    .footer_img {
        width: 60px;
        height: 24px;
    }

}

.modal-content {
    overscroll-behavior: none;
    
}

@media (hover:hover) {
    .hover_active:hover {
        opacity: 0.6;
    }
}

@media (hover:none) {
    .hover_active:active {
        opacity: 0.6;
    }
}



/* меню новое попробовать */
/* ===== НОВОЕ МЕНЮ (21 ФОТО) - ИСПРАВЛЕННЫЙ КОД ===== */

/* Заголовок меню */
.title_section_menu_full .title_section {
    color: #F4F2F5;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Сетка карточек меню - ПРОСТАЯ И НАДЕЖНАЯ */
.grid_menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 0 15px;
}

.menu_card {
    background: #1f1a20;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    width: calc(50% - 10px); /* 2 карточки в ряд на мобильных */
    max-width: 280px;
    height: 300px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu_card:hover {
    transform: translateY(-5px);
    border-color: #C0259B;
    box-shadow: 0 8px 20px rgba(192, 37, 155, 0.3);
}

.menu_card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu_card:hover img {
    transform: scale(1.05);
}

.menu_card_info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(31, 26, 32, 0.95);
}

.menu_card_title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    text-align: center;
}

.menu_card_count {
    font-size: 13px;
    color: #C0259B;
    font-weight: 600;
    text-align: center;
}

/* Категории меню */
.menu_categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.menu_category_btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid #C0259B;
    color: #F4F2F5;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.menu_category_btn:hover {
    background: rgba(192, 37, 155, 0.1);
}

.menu_category_btn.active {
    background: #C0259B;
    color: white;
}

/* Кнопка открытия меню */
.menu_button_wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding: 0 15px;
}

.munu_button#openAllMenu {
    padding: 15px 40px;
    background: #C0259B;
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
}

.munu_button#openAllMenu:hover {
    background: #a02080;
    transform: translateY(-2px);
}

/* ===== МОДАЛЬНОЕ ОКНО МЕНЮ ===== */
.menu_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
}

.menu_modal_container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Шапка модального окна */
.menu_modal_header {
    padding: 15px;
    background: rgba(31, 26, 32, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(192, 37, 155, 0.3);
}

.menu_modal_close {
    background: transparent;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.menu_modal_close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu_modal_close svg {
    width: 20px;
    height: 20px;
}

.menu_modal_counter {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.current_slide {
    color: #C0259B;
}

.total_slides {
    color: #00FF41;
}

/* Слайдер в модальном окне */
.menu_slider_wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.menu_main_slider {
    width: 100%;
    height: 100%;
}

.menu_main_slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.menu_slide_img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu_slide_img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

/* Кнопки навигации */
.menu_slider_prev,
.menu_slider_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(31, 26, 32, 0.8);
    border: 2px solid rgba(192, 37, 155, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: white;
}

.menu_slider_prev {
    left: 10px;
}

.menu_slider_next {
    right: 10px;
}

.menu_slider_prev:hover,
.menu_slider_next:hover {
    background: #C0259B;
    border-color: #C0259B;
}

.menu_slider_prev svg,
.menu_slider_next svg {
    width: 24px;
    height: 24px;
}

/* Пагинация (точки) */
.menu_pagination {
    padding: 15px;
    background: rgba(31, 26, 32, 0.95);
    display: flex;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid rgba(192, 37, 155, 0.3);
}

.menu_pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.menu_pagination .swiper-pagination-bullet-active {
    background: #C0259B;
}

/* ===== АДАПТИВНОСТЬ ===== */

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .menu_card {
        width: calc(33.333% - 14px); /* 3 карточки в ряд */
        height: 280px;
    }
    
    .menu_card img {
        height: 180px;
    }
    
    .menu_card_info {
        padding: 12px;
    }
    
    .menu_card_title {
        font-size: 15px;
    }
}

/* Мобильные устройства (480px - 768px) */
@media (max-width: 768px) {
    .title_section_menu_full .title_section {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .menu_categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .menu_category_btn {
        padding: 8px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    .menu_card {
        width: calc(50% - 10px); /* 2 карточки в ряд */
        height: 240px;
        max-width: none;
    }
    
    .menu_card img {
        height: 150px;
    }
    
    .menu_card_info {
        padding: 10px;
    }
    
    .menu_card_title {
        font-size: 14px;
    }
    
    .menu_card_count {
        font-size: 12px;
    }
    
    .munu_button#openAllMenu {
        padding: 12px 30px;
        font-size: 15px;
        min-width: 200px;
    }
    
    /* Модальное окно меню */
    .menu_modal_header {
        padding: 12px 15px;
    }
    
    .menu_modal_close svg {
        width: 18px;
        height: 18px;
    }
    
    .menu_modal_counter {
        font-size: 15px;
    }
    
    .menu_slider_prev,
    .menu_slider_next {
        width: 40px;
        height: 40px;
    }
    
    .menu_slider_prev svg,
    .menu_slider_next svg {
        width: 20px;
        height: 20px;
    }
    
    .menu_slider_prev {
        left: 5px;
    }
    
    .menu_slider_next {
        right: 5px;
    }
    
    .menu_pagination {
        padding: 12px;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .title_section_menu_full .title_section {
        font-size: 24px;
    }
    
    .grid_menu {
        gap: 15px;
    }
    
    .menu_card {
        width: 100%; /* 1 карточка в ряд */
        max-width: 280px;
        height: 260px;
        margin: 0 auto;
    }
    
    .menu_card img {
        height: 160px;
    }
    
    .munu_button#openAllMenu {
        padding: 12px 25px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
    }
    
    .menu_modal_counter {
        font-size: 14px;
    }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
    .menu_card {
        height: 240px;
        max-width: 260px;
    }
    
    .menu_card img {
        height: 140px;
    }
    
    .menu_category_btn {
        padding: 7px 14px;
        font-size: 12px;
    }
}

/* Десктоп (больше 1024px) */
@media (min-width: 1025px) {
    .menu_card {
        width: calc(25% - 15px); /* 4 карточки в ряд */
    }
}

/* Большие экраны (больше 1200px) */
@media (min-width: 1200px) {
    .grid_menu {
        max-width: 1400px;
        margin: 0 auto 40px;
    }
    
    .menu_card {
        height: 320px;
    }
    
    .menu_card img {
        height: 220px;
    }
}

/* Для тач-устройств */
@media (hover: none) and (pointer: coarse) {
    .menu_card:hover {
        transform: none;
    }
    
    .menu_card:active {
        transform: scale(0.98);
    }
    
    .munu_button#openAllMenu:active {
        transform: scale(0.98);
    }
}

/* Фиксы для совместимости */
.menu_card[data-index] {
    display: flex !important;
}

.grid_menu:not(:empty) {
    display: flex !important;
}

.menu_card:not([data-index]) {
    display: none !important;
}

.munu_button:not(#openAllMenu) {
    display: none !important;
}