/**
 * Villa Black Sea — страница бронирования
 */

.booking-page {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px 40px;
    box-sizing: border-box;
}

.booking-page__menu--mob {
    display: block;
}

.booking-page__menu--pc {
    display: none;
}

.booking-page__title--mob {
    display: block;
}

.booking-page__title--pc {
    display: none;
}

.booking-page__rules,
.booking-page__contacts {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #231f37;
    text-align: left;
}

.booking-page__list {
    margin: 0 0 20px;
    padding: 0 0 0 18px;
}

.booking-page__list li {
    margin-bottom: 10px;
}

.booking-page__list li:last-child {
    margin-bottom: 0;
}

.booking-page__contacts p {
    margin: 0 0 10px;
}

.booking-page__contacts p:last-child {
    margin-bottom: 16px;
}

.booking-page__notice {
    margin: 0 0 20px;
    padding: 16px 18px;
    border-radius: 12px;
    background-color: #f02232;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
    box-sizing: border-box;
}

.booking-page__notice-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
}

.booking-page__notice p {
    margin: 0;
}

.booking-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 16px;
    border-radius: 12px;
    background: #fff2d0;
    box-sizing: border-box;
    display: block;
}

/* Перебить глобальные label/input из styles.css (шапка, футер) */
.booking-form label,
.booking-form .booking-form__label {
    display: block;
    width: auto !important;
    height: auto !important;
    min-height: 0;
    margin: 0 0 6px;
    padding: 0;
    color: #231f37 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: normal;
    text-align: left;
}

.booking-form input[type='text'],
.booking-form input[type='tel'],
.booking-form input[type='email'],
.booking-form select,
.booking-form textarea,
.booking-form .booking-form__input,
.booking-form .booking-form__select,
.booking-form .booking-form__textarea {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    min-height: 44px;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal;
    color: #231f37;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) inset;
}

.booking-form textarea,
.booking-form .booking-form__textarea {
    min-height: 88px;
    resize: vertical;
}

.booking-form select,
.booking-form .booking-form__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23231f37' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px !important;
    cursor: pointer;
}

.booking-form__error {
    display: block;
    margin-top: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1.35;
    color: #c62828;
}

.booking-form__input--invalid,
.booking-form__select.booking-form__input--invalid {
    border-color: #c62828 !important;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.15) inset !important;
}

.booking-form button.booking-form__submit,
.booking-form input[type='submit'] {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 48px;
    margin: 0;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #ff5b3f !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: normal;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

.booking-form button.booking-form__submit:hover,
.booking-form input[type='submit']:hover {
    background: #ff6b4f !important;
}

.booking-form__field {
    margin-bottom: 14px;
}

.booking-form__field:last-of-type {
    margin-bottom: 18px;
}

.booking-form input:hover,
.booking-form select:hover,
.booking-form textarea:hover {
    border-color: #7eb4ea;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #7eb4ea;
    box-shadow: 0 0 0 3px rgba(55, 152, 243, 0.2);
}

.booking-page .pattern-parg h2 {
    height: auto;
    min-height: 0;
    line-height: 1.22;
    padding-bottom: 14px;
}

@media screen and (min-width: 780px) {
    .booking-page__menu--mob,
    .booking-page__title--mob {
        display: none;
    }

    .booking-page__menu--pc,
    .booking-page__title--pc {
        display: block;
    }

    .booking-page {
        max-width: 800px;
        padding: 0 20px 48px;
    }

    .booking-form {
        padding: 24px 28px;
    }

    .booking-form button.booking-form__submit,
    .booking-form input[type='submit'] {
        width: auto;
        min-width: 280px;
        margin-left: auto;
        margin-right: 0;
    }
}

@media screen and (max-width: 779px) {
    .booking-page .h2-mob {
        padding-bottom: 12px;
    }
}
