h1 {
    height: 61px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 64px;
    font-weight: 400;
    font-family: 'Bookman Old Style';
    color: #FFFFFF;
    margin-bottom: 10px;
}

@media (max-width: 1130px) {
    h1 {
        margin-bottom: 0px !important;
        margin-block-start: 0.67em !important;
        margin-block-end: 0.67em !important;
    }
}

/* Мобильные стили  */
@media (max-width: 767px) {

    /* Важные базовые стили */
    html,
    body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }

    h1 {
        font-size: 26px !important;
        width: 200px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        z-index: 1;
    }

    .containerMarginHeaderMain {
        margin: 0px 20px !important;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header {
        width: 100%;
    }

    /* Хеддер */
    .headerContainer {
        margin-top: 46px !important;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;

    }

    .headLogo {
        width: 184px !important;
        height: 18px !important;
        font-size: 14px !important;
        font-weight: 700;
        color: #000000;
        font-family: 'PT Sans', sans-serif;
        padding: 10px 1px !important;
    }

    /* Скрываем обычное меню и кнопку */
    .headerMenuContainer,
    .headerButtonBooking {
        display: none !important;
    }

    /* Бургер-кнопка */
    .burger-menu {
        display: block !important;
        position: relative;
        width: 25px;
        /* height: 25px; */
        cursor: pointer;
        z-index: 1001;
    }

    .menuDivider {
        display: none !important;
    }
}

@media (max-width: 1224px) {
    .burger-menu span {
        display: block;
        width: 25px;
        height: 2px;
        border-radius: 5px !important;
        background: #000;
        margin: 6px 0;
        transition: all 0.3s ease;
    }

    /* Мобильное меню */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -340px;
        width: 300px;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        padding: 70px 20px 20px;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .mobile-menu.active {
        right: 0;
    }

    /* Стили для контейнера меню */
    .mobile-menu .headerMenuContainer {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        height: auto;
        padding: 0;
        background: transparent;
    }

    /* Стили для списка меню */
    .mobile-menu .headerMenuList {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        padding: 0;
        margin: 0;
        list-style: none !important;
    }

    /* Стили для пунктов меню - ОСНОВНЫЕ ИЗМЕНЕНИЯ */
    .mobile-menu .headerMenuItem {
        display: block !important;
        padding: 12px 15px !important;
        border-bottom: 1px solid #eee;
        font-size: 18px !important;
        color: #000 !important;
        /* Явно задаем цвет текста */
        font-family: 'PT Sans', sans-serif !important;
        /* Явно задаем шрифт */
        font-weight: 400 !important;
        text-decoration: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: transparent !important;
        text-align: left !important;
        margin: 0 !important;
    }

    /* Убираем возможные наследуемые стили */
    .mobile-menu .headerMenuItem:hover,
    .mobile-menu .headerMenuItem:focus,
    .mobile-menu .headerMenuItem:active {
        color: #000 !important;
        background: transparent !important;
    }

    /* Оверлей */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .menu-overlay.active {
        display: block;
    }

    /* Анимация бургера в крестик */
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* стили ПК хедера */
.headerContainer {
    display: flex;
    align-items: center;
    gap: 61px;
    max-width: 1808px;
    /* или нужная вам максимальная ширина */
    margin: 0 auto;
    /* padding: 0 20px; */
    box-sizing: border-box;
    justify-content: space-between;
}

.headLogo {
    flex: 0 0 auto;
    /* Не растягивается и не сжимается */
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    font-family: 'PT Sans', sans-serif;
    white-space: nowrap;
    padding: 10px 61px;
}

@media(max-width:1440px) {
    .headLogo {
        flex: 0 0 auto;
        /* Не растягивается и не сжимается */
        font-size: 24px;
        font-weight: 700;
        color: #000000;
        font-family: 'PT Sans', sans-serif;
        white-space: nowrap;
        padding: 10px 1px;
    }
}

.headerMenuContainer {
    flex: 1 1 auto;
    /* Занимает всё доступное пространство */
    height: 71px;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    min-width: 0;
    /* Важно для flex-элементов */
}

.headerMenuList {
    width: 100%;
    height: 31px;
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    user-select: none;
    padding: 0;
    margin: 0;
}

.headerMenuItem {

    font-size: 18px;
    padding: 5px 10px;
    font-family: 'PT Sans', sans-serif;
    white-space: nowrap;
    text-align: center;
    flex: 1 1 auto;

}

.menuDivider {
    color: #F2F3ED;
    font-size: 24px;
    font-weight: 400;
    /* flex: 0 0 auto;
   padding: 0 5px; */
    display: flex;
    justify-content: center;
    align-items: center;

}

.headerButtonBooking {
    /* display: flex;
  justify-content: center;
  align-items: center;
  width: 282px;
  height: 70px;
  border-radius: 20px;
  color: #FFFFFF;
  background-color: #272F07;
  font-weight: 700;
  font-size: 20px;
  font-family: 'PT Sans', sans-serif;
  cursor: pointer; */
    flex: 0 0 auto;
    min-width: 282px;
    height: 70px;
    border-radius: 20px;
    color: #FFFFFF;
    background-color: #272F07;
    font-weight: 700;
    font-size: 20px;
    font-family: 'PT Sans', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    padding: 0 15px;
}

.popup {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 57%;
    height: 98%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    padding: 63px 7% 50px 7%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 40px;
}

@media (max-width: 767px) {
    .popup-content {
        width: 100%;
    }
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.form-container {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    gap: 1vh;
    font-family: 'PT Sans', sans-serif;
}

.date-input-container {
    position: relative;
    width: 100%;
    height: 7vh;
    background-color: #FFFFFF;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    /*  Текст сверху, дата снизу */
    justify-content: center;
    padding: 0 20px;
    text-transform: uppercase;
    resize: none;
    font-size: 18px;
    font-weight: 400;
    font-family: 'PT Sans', sans-serif;
}

.date-input-container .calendarIcon {
    right: 7%;
    position: absolute;
}

.form-container .inputFlex {
    flex-direction: column;
    gap: 1vh;
    width: 100%;
}

@media (max-width: 767px) {
    .form-container .inputFlex {
        flex-direction: column !important;
        gap: 1vh !important;
        width: 100% !important;
        margin-bottom: 0px !important;
        height: fit-content !important;
    }
}

.popup-form input, .popup-form textarea {
    width: 100%;
    height: 7vh;
    background: rgb(233 233 233);
    border-radius: 20px;
    border: none;
    padding: 16px 0 16px 42px;
    box-sizing: border-box;
    text-transform: uppercase;
    resize: none;
    font-size: 2.5vh;
    font-weight: 400;
    font-family: 'PT Sans', sans-serif;
}

.popup-form input[type=checkbox] {
    width: 15px !important;
    height: 15px !important;
}

.popup-form textarea {
    height: 13vh;
}

.popup-booking-button,
.popup-form input[type=submit] {
    flex: 0 0 auto;
    width: 100%;
    height: 70px;
    border-radius: 20px;
    color: #FFFFFF;
    background-color: #272F07;
    font-weight: 700;
    font-size: 20px;
    font-family: 'PT Sans', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    padding: 0 15px;
    margin-top: 1vh;
    text-transform: uppercase;
    box-sizing: border-box;
}