.mobile-close-btn, .mobile-burger-btn, .title__mobile, .header-lang-mobile {
    display: none;
}
.menu-section-mobile {
    display: none;
}
.menu__display_mobile {
    display: none;
}
.mobile__img_map {
	display: none;
}

@media (max-width: 1023px) {
	  .mobile-only {
		display: block !important;
		width: 100%;
		margin-top: -60px;
	  }
	.space-slider-col .swiper-pagination {
		display: none!important;
	}
	.footer__block_social_icon {
		justify-content: center;
	}
	.map-bg-img {
		display: none;
	}
	.mobile__img_map {
		display:block;
	}
    .city-pin {
        display: none;
    }
    .map-card-isolated.card-pos-center-right {
        top: 20%;
        right: -2%;
    }
    .map-card-isolated.card-pos-bottom-right {
        bottom: 46%;
        right: 5%;
    }
    .map-card-isolated.card-pos-top-right {
        top: 32%;
        right: -32%;
    }
    .map-card-isolated.card-pos-center-left {
        top: 77%;
        left: 55%;
    }
    .map-card-isolated.card-pos-bottom-left {
        top: 25%;
        left: 12%;
    }
    .city-badge {
        font-size: 20px;
    }
    .city-desc {
        display: none;
    }
	.hero-buttons .btn-pill:nth-child(1) { 
		order: 1;
	}
	.hero-buttons .btn-pill:nth-child(2) { 
		order: 3;
		color: #12775D;
	}
	.hero-buttons .btn-pill:nth-child(3) { 
		order: 2;
		color: #263E8F;
		border: 1px solid #263E8F;
	}
	.hero-buttons .btn-pill:nth-child(4) { 
		order: 4;
	}
	
	.hero-buttons .btn-pill:nth-child(2) { 
		margin-right: 0px;
	}
/*     .menu__display_mobile {
        display: block;
        background-color: #E69298;
        border-color: #fff;
        color: #ffffff;
    } */
/*     .mobile_display {
        display: none!important;
    } */
    .menu-container {
        padding-bottom: 80px;
    }
    .header-lang-mobile {display: block;}
    .title__mobile {
        display: block;
        color: #263E8F;
        font-size: 40px;
        margin-bottom: 15px;
        font-family: 'brunch moment regular';
        text-transform: uppercase;
        font-style: italic;
    }
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
    .dish-item {
        margin-top: 40px;
    }
    .header-logo img { 
        max-height: 40px;
        margin-top: 15px;
    }
    .hero-buttons {
        display: flex;
        flex-wrap: wrap; /* Разрешаем перенос элементов на новую строку */
        justify-content: center; /* Центрируем кнопки */
        gap: 10px; /* Отступ между кнопками */
    }
    /* Кнопка REZERVÁCIA и ADRESA будут делить первую строку */
    .hero-buttons .btn {
        flex: 1 1 calc(50% - 10px); /* Занимают примерно по 50% ширины */
        text-align: center;
    }
    .hero-buttons .btn-pill:nth-child(3) {
        margin-right: 0px;
    }
    .hero-buttons .btn-pill:nth-child(1) {
        margin-right: 0px;
    }
    /* Кнопка OSLAVY уходит на вторую строку */
    .hero-buttons .btn-pink {
        flex: 1 1 100%; 
        width: 167px;
        max-width: 167px;
        padding-top: 4px; 
    }
    .btn-pill {
        font-size: 17px;
        width: 167px;
        max-width: 167px; 
		line-height: 34px;
        margin-top: 3px;
        padding-top: 4px;
    }
    .hero-section {
        min-height: 675px;
    }
    .site-header {
        padding-bottom: 20px;
        padding-top: 20px;
    }
    .mobile-close-btn, .mobile-burger-btn {
        display: block;
    }
    .dish-item-1, .dish-item-3 {
        display: none;
    }
/*     .menu__display {
        display: none!important;
    } */
    .hero-buttons .btn-pill {
        transform: rotate(0deg)!important;
    }
    .about-media img {
        width: 100%;
        height: 100%;
        max-height: 414px;
        object-fit: cover;
        height: 414px;
    }
    .about-container {
        flex-direction: column;
    }
    .about-content {
        max-width: 90%;
        order: 3;
        margin-top: -18px;
    }
    .about-deco-img {
        position: absolute;
        right: -50px;
        top: 8%;
        transform: translateY(-50%);
        max-width: 190px;
    }
    .about-header {
        margin-bottom: 10px;
    }
    .about-text {
        width: auto;
    }
    .about-media {
        flex: 1;
        width: 100%;
        margin-right: 0;
        order: 2;
    }
    .about-title {
        font-size: 45px;
    }
    .space-deco-img-3 {
        position: absolute;
        right: -6%;
        bottom: -15%;
        height: auto;
        pointer-events: none;
        z-index: 1;
        transform: rotate(-45deg);
        width: 180px;
    }
    .space-deco-img-4 {
        position: absolute;
        right: 0%;
        bottom: -17%;
        max-width: 140px;
    }
    .btn-reservation {
        height: 48px;
        width: 181px;
        padding-top: 5px;
        font-size: 20px;
    }
    /*.map-card-isolated, .map-point-isolated {
        display: none!important;
    }*/
    .space-container {
        flex-direction: column;
    }
    .space-section:not(.space-section-reversed) .space-slider-col,
    .space-section-reversed .space-slider-col {
        flex: 1;
        width: 100%;
        margin-left: 0;
    }
    .space-section:not(.space-section-reversed) .space-content,
    .space-section-reversed .space-content {
        flex: 1;
        max-width: 100%; 
    }
    .menu-cards-grid {
        flex-direction: column;
    }
    .contact-map-container {
        flex-direction: column;
    }
    .contact-card-col, .map-col {
        width: 100%;
    }
    .contact-card-col {max-width: 100%;}
    .footer-container {flex-direction: column;}
    .footer-nav {
        display: grid; 
        gap: 10px;
    }

    /* Третий (последний) блок растягиваем от первой до последней линии колонки */
    .footer-nav > *:nth-child(3) {
        grid-column: 1 / -1;
        justify-content: space-between;
    }
    .footer-nav > *:nth-child(1) {
        text-align: left;
      }
    
      /* Второй блок — текст вправо (к правому краю) */
      .footer-nav > *:nth-child(2) {
        text-align: center;
      }

    .contact-info-list li {flex-direction: column;}
    .contact-card {
        padding: 30px 25px 40px 25px;
        background-image: url('/wp-content/uploads/2026/07/Vector6.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        width: auto;
    }

    .contact-actions {
        flex-direction: column;
        gap: 10px;

    }
    .map-wrapper {
        height: 535px;
    }
    .menu-section-header-1-img, .menu-section-header-2-text {
        display: none;
    } 
    .menu-section-img {
        width: 170px;
    }
    .map-wrapper-text {display: none;}

    .map-wrapper-footer {
        position: absolute;
        width: 300px;
        bottom: 73%;
        right: -5%;
    }
    .map_bg_1 {
      height: 250px;
      bottom: -16%;
    }
    .italy-map-section {
        position: relative;
        padding-bottom: 150px;
    }
    .map-bg-img {
        width: 90%;
        left: -5% !important;
    }
    .about-section {padding-top: 0px; padding-bottom: 60px;}
    .about-container {
        padding: 0px;
    }
    .space-container {
        padding: 0px;
    }
    .space-content { order: 3;}
    .space-slider-col { order: 2;
        border-radius: 24px;
        max-height: 284px;
    }
    .kids-room-card {
        padding: 40px 25px;
    }
    .kids-room-section {
        position: relative;
        width: 100%;
        min-height: 734px;
        display: flex;
        align-items: start;
    }
    .kids-room-card {
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 30px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        color: #fff;
    }
    .kids-room-title {
        color: #F4E957;
    }
    .kids-room-text p{
        color: #fff;
        font-size: 13px;
    }
    .menu-card-title {
        font-size: 25px;
    }
    .menu-card-text {
        font-size: 13px;
        margin: 0 0 10px 0;
    }
    .promo-banner-section {
        height: 800px;
        max-height: 800px;
    }
    .promo-banner-container {
        height: 100%;
    }
    .promo-center-content {
        text-align: center;
        max-width: 320px;
    }
    .polaroid-right {
        margin-top: -67%;
        right: 0%;
        width: 225px;
        position: absolute;
    }
    .polaroid-left .polaroid-left-2 {
        max-width: 180px;
        margin-left: 66%;
    }
    .polaroid-left .polaroid-left-1 {
        max-width: 150px;
    }
    .promo-banner-footer-img{
        width: 200px;
		bottom: -9%;
    } 
    .promo-banner-container svg {
        position: absolute;
        right: 22%;
        bottom: 72%;
    }
    .polaroid-left {
        width: 78px;
        position: absolute;
        top: 75%;
    }
    .promo-banner-header-text {
        z-index: 999;
        font-family: 'DisruptorsScript-Regular';
        font-size: 53px;
        position: absolute;
        color: #F4E957;
        top: -19%;
        transform: rotate(-8deg);
        line-height: 77%;
        left: 9%;
    }
    .space-content {
        border: 1px solid #D9D9D9;
        border-radius: 24px;
        padding: 20px!important;
        margin-top: 0px;
        z-index: 99;
        background: #FEFBF4;
        margin-bottom: 50px;
    }
    .space-deco-img {
        position: absolute;
        right: 2%;
        bottom: -8%;
        max-width: 160px;
        height: auto;
        pointer-events: none;
        z-index: 1;
    }
    .space-description p, .space-details {
        width: auto;
        font-size: 13px;
    }
    .space-details {
        width: 290px;
    }
    .space-details li {
        font-size: 13px;
    }
    .space-deco-img-2 {
        position: absolute;
        left: 70%;
        bottom: 2%;
        height: 260px;
        pointer-events: none;
        z-index: 9999;
        transform: rotate(180deg);
    }
    /* 1. Делаем контейнер флексовым и разносим элементы по краям */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 2. Логотип уводим ВПРАВО */
    .header-logo {
        order: 2;
        margin-left: auto; /* Дополнительно прижимает логотип к правому краю */
    }
    .header-logo>a {
        display: none;
    }
    /* 3. Навигацию (где будет бургер) уводим ВЛЕВО */
    .header-navigation {
        order: 1;
    }

    /* 4. Переключатель языка (если он нужен справа или скрывается) */
    .header-lang {
        order: 3;
    }

/**/
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип уходит вправо */
.header-logo {
    order: 2;
}

/* Переключатель языка остаётся справа */
.header-lang {
    order: 3;
}

/* Навигация уходит влево и превращается в сайдбар */
.header-navigation {
    order: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    z-index: 1000;
    padding: 60px 30px 30px;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    
    /* Скрываем за левым краем */
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Открытый сайдбар */
.header-navigation.is-open {
    transform: translateX(0);
}

/* Вертикальное меню */
.menu-list {
    flex-direction: column;
    gap: 20px;
}

/* Стили для кастомной кнопки-бургера (генерируется в JS) */
.mobile-burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    order: 1;
    z-index: 10;
}

.mobile-burger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0E775D;
    border-radius: 2px;
    width: 51px;
}

/* Кнопка закрытия внутри сайдбара (генерируется в JS) */
.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

/* Оверлей (генерируется в JS) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
} 
.header-lang {display: none;}
.site-header {
    position: static; 
    z-index: auto;
}
.contact-map-section {
    width: 100%;
    padding: 0px 0;
}
.map-col {
    padding: 50px 0px;
}
.contact-actions .btn {
    width: 160px;
    margin: 0 auto;
}
.contact-map-container {
    height: auto;
}
.footer-menu li {
    text-align: center;
}
.footer-legal p { 
    text-align: center;
}
.btn-footer { 
    height: 48px;
    line-height: 48px;
}

.menu-section-img {
    margin-top: -80px;
}
.menu-section {
    padding-top: 80px;
}
.contact-title {font-size: 25px;}
.contact-info-list li {font-size: 13px;}

.contact-info-list li .info-value {
    font-family: "Giga Sans Medium";
}
.card-pin svg {
    height: 67px;
}
.contact-info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Гарантируем, что список не шире родителя */
    box-sizing: border-box;
    margin-bottom: 24px;
}

.contact-info-list li {
    display: flex;
    flex-direction: column;
    min-width: 0; /* ВАЖНО для Grid: позволяет ячейкам уменьшаться ниже размера контента */
}

.contact-info-list .info-label {
    font-weight: bold;
    margin-bottom: 2px;
}

.contact-info-list .info-value {
    text-decoration: none;
    color: inherit;
    
    /* ИСПРАВЛЕНИЕ: принудительный перенос длинного текста/email */
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Порядок элементов */
.contact-info-list li:nth-child(1) { order: 1; }
.contact-info-list li:nth-child(5) { order: 2; }
.contact-info-list li:nth-child(3) { order: 3; }
.contact-info-list li:nth-child(4) { order: 4; }
.contact-info-list li:nth-child(2) { 
    order: 5; 
    grid-column: span 2; 
}
.space-deco-img-5 {
    position: absolute;
    right: 0%;
    bottom: 3%;
    height: auto;
    pointer-events: none;
    z-index: 9999;
    width: 142px;
}
.space-deco-img-4 {
    position: absolute;
    left: 62%;
    bottom: 5%;
    max-width: 140px;
    z-index: 999;
}
.footer-bottom {
    flex-direction: column;
    border-top: 0px solid #fff;
}
.footer-company-info {
    text-align: center;
    margin-bottom: 15px;
}
.footer-legal-menu {
    flex-direction: column;
    gap: 10px;
}
.footer-legal-menu li {text-align: center;}
.menu-section-footer-left-img {
    position: absolute;
    right: 0;
    bottom: 56%;
    width: 131px;
}
.menu-section-footer-img {
    margin-left: 27%;
    left: 11%;
    position: absolute;
    bottom: 33%;
}
.menu-section-mobile {
    display: block;
    bottom: -1%;
    position: absolute;
    left: 8%;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}




}