.schedule {
    display: grid;
    gap: 22px;
}

.schedule__timezone {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
    font-size: 13px;
    opacity: .78;
}

.schedule-calendar {
    border-top: 1px solid rgba(89, 65, 45, .12);
    padding-top: 16px;
}

.schedule-calendar__header {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

.schedule-calendar__title {
    margin: 0;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 30px;
    font-weight: 600;
}

.schedule-calendar__nav {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(89, 65, 45, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    color: inherit;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.schedule-calendar__nav:disabled {
    opacity: .28;
    cursor: default;
}

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

.schedule-calendar__weekdays {
    margin-bottom: 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .62;
}

.schedule-day {
    position: relative;
    aspect-ratio: 1 / 1;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.schedule-day:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(89, 65, 45, .22);
}

.schedule-day--empty {
    visibility: hidden;
}

.schedule-day--weekend {
    border-color: rgba(89, 65, 45, .38);
}

.schedule-day--today::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 2px solid rgba(89, 65, 45, .88);
    border-radius: 50%;
    pointer-events: none;
}

.schedule-day--past,
.schedule-day--unavailable {
    color: rgba(57, 48, 41, .32);
    cursor: default;
}

.schedule-day--full {
    background: rgba(210, 67, 57, .42);
    color: #69231f;
    cursor: pointer;
}

.schedule-day--reserved {
    background: rgba(235, 176, 25, .48);
    color: #604500;
    cursor: pointer;
}

.schedule-day--available {
    background: rgba(60, 153, 70, .42);
    color: #214f27;
}

.schedule-day--selected.schedule-day--available {
    background: rgb(43, 122, 52);
    color: #fff;
    font-weight: 700;
}

.schedule-day--selected.schedule-day--reserved {
    background: rgb(204, 143, 5);
    color: #2f2200;
    font-weight: 700;
}

.schedule-day--selected.schedule-day--full {
    background: rgb(178, 52, 44);
    color: #fff;
    font-weight: 700;
}

.schedule-slots {
    border-top: 1px solid rgba(89, 65, 45, .12);
    padding-top: 18px;
}

.schedule-slots__title {
    margin: 0 0 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: 600;
}

.schedule-slots__list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.schedule-slot {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 9px 15px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
}

.schedule-slot--free {
    background: rgba(60, 153, 70, .46);
    border-color: rgba(38, 117, 47, .72);
    color: #183f1e;
    cursor: pointer;
}

.schedule-slot--free:hover {
    background: rgba(60, 153, 70, .60);
}

.schedule-slot--reserved {
    background: rgba(235, 176, 25, .52);
    border-color: rgba(184, 128, 7, .72);
    color: #533b00;
    cursor: default;
}

.schedule-slot--taken {
    background: rgba(210, 67, 57, .48);
    border-color: rgba(160, 45, 38, .70);
    color: #5e211d;
    cursor: default;
}

.schedule-slot--unavailable {
    background: rgba(90, 82, 74, .08);
    color: rgba(57, 48, 41, .45);
    cursor: default;
}

.schedule-message {
    min-height: 20px;
    margin: 12px 0 0;
    font-size: 13px;
    opacity: .75;
}

.schedule-legend {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    font-size: 13px;
}

.schedule-legend > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.schedule-legend__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.schedule-legend__dot--free {
    background: rgb(72, 145, 79);
}

.schedule-legend__dot--reserved {
    background: rgb(224, 170, 35);
}

.schedule-legend__dot--taken {
    background: rgb(196, 72, 62);
}

.reservation-hold__timer {
    margin: 20px 0 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
}

@media (max-width: 560px) {
    .schedule-calendar__weekdays,
    .schedule-calendar__days {
        gap: 3px;
    }

    .schedule-day {
        border-radius: 9px;
        font-size: 13px;
    }

    .schedule-calendar__title {
        font-size: 26px;
    }
}

.reservation-summary {
    margin: 0 0 10px;
}

.reservation-summary__price {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
}

.reservation-hold .book-order-form {
    margin-top: 24px;
}
