.bh-booking,
.bh-booking * {
    box-sizing: border-box;
}

.bh-booking {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, .72fr);
    gap: 28px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    color: #17213d;
    font-family: inherit;
}

.bh-calendar-card,
.bh-summary-card {
    border: 1px solid #e1eaf1;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(23, 33, 61, .08);
}

.bh-calendar-card {
    padding: 30px;
}

.bh-summary-card {
    align-self: start;
    padding: 30px;
    position: sticky;
    top: 24px;
}

.bh-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.bh-kicker {
    display: block;
    margin-bottom: 6px;
    color: #2ea3f2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bh-booking h2,
.bh-booking h3 {
    margin: 0;
    padding: 0;
    color: #111936;
}

.bh-booking h2 {
    font-size: 28px;
    line-height: 1.25;
}

.bh-nav {
    display: flex;
    gap: 8px;
}

.bh-nav button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d8e4ed;
    border-radius: 50%;
    background: #fff;
    color: #17213d;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.bh-nav button:hover {
    border-color: #2ea3f2;
    background: #eef8fe;
}

.bh-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 20px 0 24px;
    padding: 11px 14px;
    border-radius: 13px;
    background: #f7fbfe;
    font-size: 13px;
    font-weight: 650;
}

.bh-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.bh-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
}

.bh-dot-free {
    border: 2px solid #2ea3f2;
    background: #fff;
}

.bh-dot-selected {
    background: #2ea3f2;
}

.bh-dot-booked {
    background: #d7dce2;
}

.bh-months {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.bh-month h3 {
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
    text-transform: capitalize;
}

.bh-weekdays,
.bh-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.bh-weekdays {
    margin-bottom: 7px;
}

.bh-weekdays span {
    padding: 5px 0;
    color: #8792a5;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.bh-empty,
.bh-day {
    aspect-ratio: 1 / 1;
    min-width: 0;
}

.bh-day {
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #fff;
    color: #17213d;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.bh-day:hover:not(:disabled) {
    border-color: #2ea3f2;
    background: #eef8fe;
}

.bh-day.is-today {
    border-color: #2ea3f2;
}

.bh-day.is-selected {
    border-radius: 0;
    background: #dff3ff;
}

.bh-day.is-start,
.bh-day.is-end {
    border-radius: 10px;
    background: #2ea3f2;
    color: #fff;
}

.bh-day.is-past,
.bh-day.is-booked {
    color: #a5acb5;
    cursor: not-allowed;
}

.bh-day.is-booked {
    background: #eceff2;
    text-decoration: line-through;
}

.bh-summary-card h2 {
    margin-bottom: 22px;
}

.bh-summary-row,
.bh-price-details > div,
.bh-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.bh-summary-row {
    padding: 13px 0;
    border-bottom: 1px solid #e9eef3;
    font-size: 14px;
}

.bh-summary-row span,
.bh-price-details span {
    color: #6f7b8d;
}

.bh-summary-row strong {
    text-align: right;
}

.bh-guests-label {
    display: block;
    margin: 20px 0;
    color: #17213d;
    font-size: 14px;
    font-weight: 750;
}

.bh-guests {
    width: 100%;
    height: 48px;
    margin-top: 8px;
    padding: 0 13px;
    border: 1px solid #d8e4ed;
    border-radius: 12px;
    background: #fff;
    color: #17213d;
    font: inherit;
}


.bh-pet-label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 20px;
    padding: 14px 15px;
    border: 1px solid #dcebf5;
    border-radius: 14px;
    background: #f7fbfe;
    cursor: pointer;
}

.bh-pet-label input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #2ea3f2;
    flex: 0 0 auto;
}

.bh-pet-label span {
    display: block;
    min-width: 0;
}

.bh-pet-label strong {
    display: block;
    color: #17213d;
    font-size: 14px;
    line-height: 1.3;
}

.bh-pet-label small {
    display: block;
    margin-top: 3px;
    color: #6f7b8d;
    font-size: 11px;
    line-height: 1.4;
}

.bh-price-details {
    padding: 14px 0;
    font-size: 13px;
}

.bh-price-details > div {
    padding: 5px 0;
}

.bh-total {
    align-items: baseline;
    margin: 4px 0 20px;
    padding-top: 17px;
    border-top: 2px solid #17213d;
}

.bh-total span {
    font-size: 16px;
    font-weight: 750;
}

.bh-total strong {
    color: #168ad0;
    font-size: 26px;
}

.bh-pay {
    width: 100%;
    min-height: 52px;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    background: #2ea3f2;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}

.bh-pay:hover:not(:disabled) {
    background: #168ad0;
    transform: translateY(-1px);
}

.bh-pay:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.bh-pay.is-loading {
    opacity: .75;
}

.bh-message {
    min-height: 20px;
    margin: 13px 0 0;
    color: #586579;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.bh-note {
    margin: 16px 0 0;
    padding: 14px;
    border-radius: 13px;
    background: #f7fbfe;
    color: #6f7b8d;
    font-size: 11px;
    line-height: 1.5;
}

.bh-error {
    padding: 18px;
    border: 1px solid #efcaca;
    border-radius: 12px;
    background: #fff5f5;
}

@media (max-width: 900px) {
    .bh-booking {
        grid-template-columns: 1fr;
    }

    .bh-summary-card {
        position: static;
    }
}

@media (max-width: 680px) {
    .bh-calendar-card,
    .bh-summary-card {
        padding: 20px 13px;
        border-radius: 18px;
    }

    .bh-booking h2 {
        font-size: 23px;
    }

    .bh-months {
        grid-template-columns: 1fr;
    }

    .bh-months .bh-month:nth-child(2) {
        display: none;
    }

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