/* =========================================================
   KOBONA HOUSE
   Основные стили сайта
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background: #f6f6f3;
    color: #202622;

    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.site-header .container {
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;

    font-size: 27px;
    line-height: 1.1;
    font-weight: 800;

    color: #164f3b;

    white-space: nowrap;
}

.logo img {
    max-height: 58px;
    width: auto;
}

.main-menu ul {
    display: flex;
    align-items: center;

    gap: 30px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-menu li {
    margin: 0;
    padding: 0;
}

.main-menu a {
    font-size: 16px;
    font-weight: 600;

    color: #26332d;

    transition: color 0.25s ease;
}

.main-menu a:hover {
    color: #0f844d;
}

.booking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 27px;

    border-radius: 14px;

    background: #0f8750;
    color: #fff;

    font-size: 16px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.booking-button:hover {
    background: #096c3e;
    transform: translateY(-2px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    /*
     * ВАЖНО:
     * Hero занимает оставшуюся высоту экрана,
     * а не 100vh + высоту шапки.
     */
    height: calc(100vh - 82px);

    min-height: 680px;

    margin-top: 82px;

    overflow: hidden;

    display: flex;
    align-items: center;

    color: #fff;

    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.47) 38%,
            rgba(0, 0, 0, 0.18) 72%,
            rgba(0, 0, 0, 0.10) 100%
        ),
        url("../img/hero.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.16) 0%,
            transparent 25%,
            transparent 75%,
            rgba(0, 0, 0, 0.20) 100%
        );
}

.hero-inner {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 48px));

    display: flex;
    align-items: center;
}

.hero-content {
    width: 700px;

    padding-top: 0;
    padding-bottom: 0;
}


/* Badge */

.hero-badge {
    display: inline-flex;
    align-items: center;

    margin-bottom: 22px;

    padding: 10px 18px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 100px;

    background: rgba(40, 45, 41, 0.60);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #fff;

    font-size: 16px;
    font-weight: 600;

    white-space: nowrap;
}


/* Заголовок */

.hero h1 {
    margin: 0 0 20px;

    max-width: 720px;

    color: #fff;

    font-size: clamp(48px, 5.2vw, 72px);
    line-height: 0.99;

    letter-spacing: -2px;

    font-weight: 800;
}


/* Описание */

.hero p {
    max-width: 700px;

    margin: 0 0 24px;

    color: rgba(255, 255, 255, 0.94);

    font-size: 19px;
    line-height: 1.55;

    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   HERO INFO
========================================================= */

.hero-info {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 24px;
}

.hero-info div {
    display: inline-flex;
    align-items: center;

    min-height: 46px;

    padding: 0 17px;

    border: 1px solid rgba(255, 255, 255, 0.22);

    border-radius: 13px;

    background: rgba(45, 52, 47, 0.58);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #fff;

    font-size: 15px;
    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   PRICE
========================================================= */

.hero-price {
    display: flex;
    align-items: baseline;

    gap: 12px;

    margin-bottom: 23px;
}

.hero-price strong {
    color: #fff;

    font-size: 42px;
    line-height: 1;

    font-weight: 800;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-price span {
    color: rgba(255, 255, 255, 0.90);

    font-size: 17px;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 28px;

    border-radius: 14px;

    font-size: 16px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #0f8750;
    color: #fff;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
    background: #096d3e;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.45);

    background: rgba(255, 255, 255, 0.13);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.24);
}


/* =========================================================
   FEATURES
========================================================= */

#features {
    padding: 90px 0;
}

#features h2 {
    margin: 0 0 50px;

    text-align: center;

    color: #1c2923;

    font-size: 42px;
    line-height: 1.15;

    font-weight: 800;
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.features-grid article {
    padding: 30px;

    border-radius: 20px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.features-grid article:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.10);
}

.features-grid h3 {
    margin: 0 0 12px;

    color: #0f7d46;

    font-size: 20px;
}

.features-grid p {
    margin: 0;

    color: #606762;

    font-size: 16px;
}


/* =========================================================
   BOOKING
========================================================= */

#booking {
    padding: 90px 0;

    text-align: center;

    background: #eef2ed;
}

#booking h2 {
    margin: 0 0 18px;

    font-size: 42px;
    line-height: 1.15;
}

#booking p {
    max-width: 650px;

    margin: 0 auto 30px;

    color: #5e665f;

    font-size: 19px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: 0;

    padding: 65px 0 25px;

    background: #18201c;

    color: #fff;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 50px;
}

.footer-col h3 {
    margin: 0 0 18px;

    font-size: 19px;
}

.footer-col p {
    margin: 0 0 10px;

    color: rgba(255, 255, 255, 0.72);
}

.footer-col ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);

    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.50);

    font-size: 14px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .container {
        width: min(100% - 36px, 1100px);
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        width: 650px;
    }

    .hero h1 {
        font-size: clamp(44px, 6vw, 62px);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .site-header {
        height: 70px;
    }

    .site-header .container {
        height: 70px;
    }

    .logo {
        font-size: 21px;
    }

    .main-menu {
        display: none;
    }

    .booking-button {
        min-height: 44px;

        padding: 0 16px;

        border-radius: 11px;

        font-size: 14px;
    }


    /*
     * На телефоне Hero не должен быть огромным.
     */
    .hero {
        height: auto;

        min-height: calc(100svh - 70px);

        margin-top: 70px;

        padding: 55px 0 50px;

        align-items: center;

        background-position: center center;
    }

    .hero-inner {
        width: calc(100% - 30px);
    }

    .hero-content {
        width: 100%;
    }

    .hero-badge {
        max-width: 100%;

        margin-bottom: 18px;

        padding: 8px 13px;

        font-size: 13px;

        white-space: normal;
    }

    .hero h1 {
        margin-bottom: 17px;

        font-size: clamp(39px, 11vw, 54px);

        line-height: 1.0;

        letter-spacing: -1.2px;
    }

    .hero p {
        margin-bottom: 20px;

        font-size: 16px;

        line-height: 1.45;
    }

    .hero-info {
        gap: 8px;

        margin-bottom: 20px;
    }

    .hero-info div {
        min-height: 40px;

        padding: 0 12px;

        font-size: 13px;
    }

    .hero-price {
        margin-bottom: 20px;
    }

    .hero-price strong {
        font-size: 34px;
    }

    .hero-price span {
        font-size: 15px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn {
        min-height: 50px;

        padding: 0 21px;

        font-size: 15px;
    }


    #features {
        padding: 65px 0;
    }

    #features h2 {
        margin-bottom: 35px;

        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .features-grid article {
        padding: 24px;
    }


    #booking {
        padding: 65px 0;
    }

    #booking h2 {
        font-size: 32px;
    }

    #booking p {
        font-size: 16px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

}


/* =========================================================
   VERY SMALL SCREENS
========================================================= */

@media (max-width: 430px) {

    .logo {
        font-size: 18px;
    }

    .booking-button {
        padding: 0 12px;

        font-size: 13px;
    }

    .hero {
        min-height: calc(100svh - 70px);

        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 37px;
    }

    .hero-info div {
        font-size: 12px;
    }

    .hero-price strong {
        font-size: 31px;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn {
        flex: 1;

        min-width: 0;
    }

}

/* =========================================================
   HERO — УБИРАЕМ БЕЛУЮ И СЕРУЮ ПОЛОСЫ СВЕРХУ
   ========================================================= */

/* Header становится прозрачным и располагается поверх Hero */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: transparent;
    border-bottom: none;
    box-shadow: none;

    backdrop-filter: none;
}

/* Оставляем шапку компактной */
.site-header .container {
    height: 80px;
}

/* Hero начинается сразу сверху */
.hero {
    margin-top: 0 !important;
    padding-top: 100px !important;
    min-height: 100vh;
}

/* Если перед Hero есть дополнительный пустой блок */
main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Убираем возможные отступы у первого элемента */
main > section:first-child {
    margin-top: 0 !important;
}

/* На случай, если старые правила создают серую полосу */
.hero::before {
    margin-top: 0 !important;
}

/* Header поверх фотографии */
.site-header .container {
    position: relative;
    z-index: 1001;
}

/* Логотип делаем белым поверх фотографии */
.site-header .logo {
    color: #ffffff;
}

/* Ссылки меню */
.site-header .main-menu a {
    color: #ffffff;
}

/* Кнопка остаётся зелёной */
.site-header .booking-button {
    background: #0f7d46;
    color: #ffffff;
}

/* =========================================================
   WORDPRESS ADMIN BAR
   ========================================================= */

/* Для обычных посетителей ничего не меняется.
   Для администратора учитываем верхнюю панель WordPress. */

body.admin-bar .site-header {
    top: 32px;
}

body.admin-bar .hero {
    padding-top: 100px !important;
}

@media (max-width: 782px) {

    body.admin-bar .site-header {
        top: 46px;
    }

}

/* =========================================================
   УБИРАЕМ ВОЗМОЖНЫЙ БЕЛЫЙ ЗАЗОР МЕЖДУ HEADER И HERO
   ========================================================= */

.site-header + main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hero должен быть первым визуальным блоком */
.hero {
    display: flex;
    align-items: center;
}

/* =========================================
   ФИНАЛЬНАЯ НАСТРОЙКА HERO — ПО ВЫСОТЕ ЭКРАНА
========================================= */

.hero {
    height: calc(100vh - 32px);
    min-height: 620px;
    max-height: 900px;
    overflow: hidden;
}

.hero-inner {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-height: 100%;
}

/* Немного уменьшаем вертикальные расстояния */
.hero-badge {
    margin-bottom: 18px;
}

.hero-content h1 {
    margin-bottom: 18px;
}

.hero-content > p {
    margin-bottom: 22px;
}

.hero-info {
    margin-bottom: 18px;
}

.hero-price {
    margin-bottom: 18px;
}

/* На небольших экранах */
@media (max-height: 800px) {

    .hero {
        height: calc(100vh - 32px);
        min-height: 0;
    }

    .hero-badge {
        margin-bottom: 12px;
    }

    .hero-content h1 {
        font-size: clamp(42px, 5vw, 64px);
        line-height: 0.98;
        margin-bottom: 14px;
    }

    .hero-content > p {
        font-size: 17px;
        line-height: 1.45;
        margin-bottom: 16px;
    }

    .hero-info {
        margin-bottom: 14px;
    }

    .hero-price {
        margin-bottom: 14px;
    }
}

/* Очень низкие экраны */
@media (max-height: 700px) {

    .hero-content h1 {
        font-size: 46px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .hero-badge {
        padding: 8px 14px;
    }

    .hero-info {
        gap: 8px;
    }

    .hero-info div {
        padding: 8px 12px;
    }

    .hero-price strong {
        font-size: 36px;
    }

    .hero-buttons .btn {
        padding: 12px 24px;
    }
}

/* =========================================================
   ========================================================= */


/* =========================================================
   Чистая версия
   ========================================================= */

/* =========================================================
   KOBONA HOUSE — КАЛЕНДАРЬ БРОНИРОВАНИЯ
   ЧИСТАЯ ВЕРСИЯ
========================================================= */

.kobona-booking-calendar {
    width: 100%;
    padding: 30px 0 50px;
}

.kobona-booking-calendar .container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* Заголовок */

.booking-calendar-header {
    text-align: center;
    margin-bottom: 28px;
}

.booking-calendar-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: #edf8f2;
    color: #138b58;
    font-size: 13px;
    font-weight: 700;
}

.booking-calendar-header h2 {
    margin: 14px 0 10px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    color: #26332d;
}

.booking-calendar-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #68756e;
    font-size: 16px;
    line-height: 1.6;
}

/* Легенда */

.booking-calendar-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-bottom: 22px;
}

.booking-calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #59665f;
    font-size: 14px;
}

.calendar-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.calendar-dot-free {
    background: #15945d;
}

.calendar-dot-booked {
    background: #df5d55;
}

/* Навигация */

.kobona-calendar-navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin-bottom: 20px;
}

.kobona-calendar-period {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #26332d;
    white-space: nowrap;
}

.kobona-calendar-arrow {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 1px solid #d8e4dd;
    border-radius: 50%;

    background: #fff;
    color: #15945d;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 5px 18px rgba(25, 50, 38, .06);

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.kobona-calendar-arrow:hover:not(:disabled) {
    background: #15945d;
    color: #fff;
    border-color: #15945d;
    transform: scale(1.05);
}

.kobona-calendar-arrow:active:not(:disabled) {
    transform: scale(.96);
}

.kobona-calendar-arrow:disabled {
    opacity: .3;
    cursor: default;
}

/* Область календаря */

.kobona-calendar-viewport {
    width: 100%;
    overflow: hidden;
}

.kobona-calendar-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

/* Месяц */

.kobona-calendar-month {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    padding: 22px;

    background: #fff;

    border: 1px solid #e0e9e4;
    border-radius: 18px;

    box-shadow: 0 8px 28px rgba(25, 50, 38, .06);
}

.kobona-calendar-month.kobona-calendar-hidden {
    display: none !important;
}

.kobona-calendar-month h3 {
    margin: 0 0 17px;

    text-align: center;

    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;

    color: #26332d;
}

/* Дни недели */

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 7px;
}

.calendar-weekdays span {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    color: #8a9790;
}

/* Дни */

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.calendar-day {
    min-width: 0;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.calendar-day-empty {
    background: transparent;
    border: 1px solid transparent;
}

.calendar-day-free {
    background: #edf8f2;
    border: 1px solid #d2eddf;
    color: #138b58;
}

.calendar-day-booked {
    background: #fff0ee;
    border: 1px solid #f4c9c5;
    color: #df5d55;
    text-decoration: line-through;
}

.calendar-day-free:hover {
    transform: scale(1.05);
}

/* Примечание */

.booking-calendar-note {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 20px;
    padding: 15px 18px;

    background: #f8faf8;
    border: 1px solid #dfe9e3;
    border-radius: 13px;

    color: #68756e;
    font-size: 14px;
    line-height: 1.5;
}

.booking-calendar-note strong {
    flex: 0 0 auto;
    color: #26332d;
}

/* Планшет */

@media (max-width: 900px) {

    .kobona-booking-calendar .container {
        width: min(760px, calc(100% - 30px));
    }

    .kobona-calendar-track {
        gap: 14px;
    }

    .kobona-calendar-month {
        padding: 18px 14px;
    }

    .kobona-calendar-month h3 {
        font-size: 18px;
    }

    .calendar-days,
    .calendar-weekdays {
        gap: 5px;
    }

    .calendar-day {
        font-size: 11px;
    }
}

/* Телефон */

@media (max-width: 680px) {

    .kobona-booking-calendar {
        padding: 20px 0 35px;
    }

    .kobona-booking-calendar .container {
        width: calc(100% - 24px);
    }

    .booking-calendar-header h2 {
        font-size: 30px;
    }

    .booking-calendar-header p {
        font-size: 15px;
    }

    .booking-calendar-legend {
        gap: 18px;
    }

    .kobona-calendar-navigation {
        min-height: 46px;
    }

    .kobona-calendar-period {
        font-size: 13px;
    }

    .kobona-calendar-arrow {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 22px;
    }

    .kobona-calendar-track {
        display: block;
    }

    .kobona-calendar-month {
        width: 100%;
        padding: 20px 14px;
    }

    .kobona-calendar-month h3 {
        font-size: 21px;
    }

    .calendar-days,
    .calendar-weekdays {
        gap: 5px;
    }

    .calendar-day {
        font-size: 13px;
    }

    .booking-calendar-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        font-size: 13px;
    }
}

/* Маленький телефон */

@media (max-width: 380px) {

    .kobona-calendar-month {
        padding: 16px 10px;
    }

    .calendar-days,
    .calendar-weekdays {
        gap: 4px;
    }

    .calendar-day {
        font-size: 12px;
    }

    .kobona-calendar-period {
        font-size: 11px;
    }
}


/* =========================================================
   KOBONA HOUSE — ВЫБОР ПЕРИОДА БРОНИРОВАНИЯ
========================================================= */

.calendar-day-free {
    cursor: pointer;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.calendar-day-free:hover {
    transform: scale(1.05);
}

.calendar-day-selected {
    background: #15945d !important;
    border-color: #15945d !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(21, 148, 93, .20);
}

.calendar-day-range {
    background: #e2f4eb !important;
    border-color: #c2e7d3 !important;
    color: #138b58 !important;
}

.calendar-day-booked {
    cursor: not-allowed;
}

.kobona-booking-selection {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 0;
    padding: 14px 18px;
    background: #f8faf8;
    border: 1px solid #dfe9e3;
    border-radius: 13px;
    color: #68756e;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.kobona-booking-selection strong {
    color: #26332d;
}

@media (max-width: 680px) {

    .kobona-booking-selection {
        flex-direction: column;
        gap: 4px;
        font-size: 13px;
    }

}

/* =========================================================
   ИТОГИ БРОНИРОВАНИЯ
   ========================================================= */

.kobona-booking-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: stretch;
    gap: 12px;
    margin: 20px 0 0;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dfe9e3;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(38, 51, 45, .05);
}

.kobona-booking-summary-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 10px 14px;
    background: #f7faf8;
    border-radius: 11px;
    text-align: center;
}

.kobona-booking-summary-item span {
    margin-bottom: 4px;
    color: #718078;
    font-size: 12px;
}

.kobona-booking-summary-item strong {
    color: #26332d;
    font-size: 15px;
    font-weight: 700;
}

.kobona-booking-continue {
    align-self: stretch;
    padding: 0 22px;
    border: 0;
    border-radius: 11px;
    background: #15945d;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(21, 148, 93, .18);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.kobona-booking-continue:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(21, 148, 93, .24);
}

.kobona-booking-continue:disabled {
    background: #cbd5cf;
    color: #ffffff;
    cursor: not-allowed;
    box-shadow: none;
}


/* =========================================================
   ФОРМА БРОНИРОВАНИЯ
   ========================================================= */

.kobona-booking-form {
    margin: 24px 0 0;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #dfe9e3;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(38, 51, 45, .07);
}

.kobona-booking-form-header {
    margin-bottom: 24px;
    text-align: center;
}

.kobona-booking-form-header h3 {
    margin: 0 0 7px;
    color: #26332d;
    font-size: 24px;
    line-height: 1.25;
}

.kobona-booking-form-header p {
    margin: 0;
    color: #68756e;
    font-size: 14px;
    line-height: 1.5;
}

.kobona-booking-form-inner {
    max-width: 820px;
    margin: 0 auto;
}


/* Выбранные даты */

.kobona-booking-form-dates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.kobona-booking-form-dates > div {
    padding: 14px 16px;
    background: #f5faf7;
    border: 1px solid #dcebe2;
    border-radius: 12px;
    text-align: center;
}

.kobona-booking-form-dates span {
    display: block;
    margin-bottom: 5px;
    color: #718078;
    font-size: 12px;
}

.kobona-booking-form-dates strong {
    display: block;
    color: #26332d;
    font-size: 15px;
    font-weight: 700;
}


/* Поля */

.kobona-booking-form-inner label {
    display: block;
    margin-bottom: 16px;
}

.kobona-booking-form-inner label > span {
    display: block;
    margin-bottom: 7px;
    color: #26332d;
    font-size: 14px;
    font-weight: 600;
}

.kobona-booking-form-inner input,
.kobona-booking-form-inner textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 15px;
    border: 1px solid #d5e1da;
    border-radius: 11px;
    background: #ffffff;
    color: #26332d;
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.kobona-booking-form-inner input::placeholder,
.kobona-booking-form-inner textarea::placeholder {
    color: #9aa59f;
}

.kobona-booking-form-inner input:focus,
.kobona-booking-form-inner textarea:focus {
    border-color: #15945d;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(21, 148, 93, .10);
}

.kobona-booking-form-inner textarea {
    min-height: 110px;
    resize: vertical;
}


/* Кнопки */

.kobona-booking-form-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.kobona-booking-submit,
.kobona-booking-cancel {
    min-height: 46px;
    padding: 12px 24px;
    border: 0;
    border-radius: 11px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.kobona-booking-submit {
    background: #15945d;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(21, 148, 93, .18);
}

.kobona-booking-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(21, 148, 93, .24);
}

.kobona-booking-cancel {
    background: #f0f4f1;
    color: #52605a;
}

.kobona-booking-cancel:hover {
    background: #e5ece8;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 850px) {

    .kobona-booking-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .kobona-booking-continue {
        min-height: 48px;
        grid-column: 1 / -1;
    }

}


@media (max-width: 680px) {

    .kobona-booking-summary {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .kobona-booking-continue {
        grid-column: auto;
    }

    .kobona-booking-form {
        margin-top: 18px;
        padding: 20px 16px;
        border-radius: 15px;
    }

    .kobona-booking-form-header h3 {
        font-size: 21px;
    }

    .kobona-booking-form-dates {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .kobona-booking-form-actions {
        flex-direction: column;
    }

    .kobona-booking-submit,
    .kobona-booking-cancel {
        width: 100%;
    }

}


/* =========================================================
   РЕЗУЛЬТАТ ОТПРАВКИ ЗАЯВКИ
   ========================================================= */

.kobona-booking-result {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 0 22px;
    padding: 16px 18px;
    border-radius: 13px;
    font-size: 14px;
    line-height: 1.5;
}

.kobona-booking-result strong {
    font-size: 15px;
}

.kobona-booking-result-success {
    background: #eaf7f0;
    border: 1px solid #c7e8d6;
    color: #25734f;
}

.kobona-booking-result-success strong {
    color: #168653;
}

.kobona-booking-result-error {
    background: #fff3f1;
    border: 1px solid #f0d2cd;
    color: #8a5148;
}

.kobona-booking-result-error strong {
    color: #a43d31;
}

