.card {
    max-width: 1220px;
    margin: 0 auto;
    background: #fff;
    /*border: 3px solid #2c9a78;*/
    /*border-radius: 24px;*/
    /*padding: 32px 32px 28px;*/
    /*box-shadow: 0 8px 20px rgba(21, 50, 120, 0.06);*/
}

.card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.card__title {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: #1e1f23;
}

.card__map {
    padding: 12px 20px;
    gap: 10px;
    border-radius: 18px;
}

.btn {
    border: none;
    background: #eef2fb;
    color: #2c9a78;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn__icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
}

.card__body {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.info__title {
    font-size: 22px;
    font-weight: 600;
    color: #2c9a78;
    margin-bottom: 18px;
    line-height: 1.3;
}

.select {
    position: relative;
    margin-bottom: 20px;
}

.select__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 2px solid #b5b5b5;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    min-width: 0;
}

.select__text {
    text-align: left;
    min-width: 0;
}

.select__label {
    font-size: 18px;
    font-weight: 500;
    color: #1b1d22;
    word-break: break-word;
}

.select__meta {
    margin-top: 4px;
    font-size: 16px;
    color: #6b7280;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.select__caret {
    display: inline-flex;
    width: 24px;
    height: 24px;
    color: #6b7280;
}

.select.is-open .select__caret {
    transform: rotate(180deg);
}

.select__menu {
    position: absolute;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
    padding: 8px;
    display: none;
    z-index: 10;
}

.select.is-open .select__menu {
    display: grid;
    gap: 6px;
}

.select__option {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: #f8f9fc;
    font-size: 15px;
    cursor: pointer;
    text-align: left;
}

.select__option:hover {
    border-color: #2c9a78;
    color: #2c9a78;
}

.dot {
    margin: 0;
}

.price-card {
    border: 2px solid #2c9a78;
    background: #eef4ff;
    color: #2c9a78;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 24px;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.price-card__value {
    font-size: 22px;
    font-weight: 700;
}

.price-card__desc {
    font-size: 15px;
}

.info__links {
    display: grid;
    gap: 18px;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #2c9a78;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.info-link__icon {
    width: 24px;
    height: 24px;
    color: #7b8fb6;
}

.info-link__arrow {
    margin-left: auto;
    width: 20px;
    height: 20px;
    color: #7b8fb6;
}

.info-link--mobile {
    display: none;
}

.scheds__dates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.date-chip {
    border: 2px solid #d5d9e1;
    border-radius: 14px;
    background: #fff;
    text-align: left;
    padding: 12px 14px;
    cursor: pointer;
    display: grid;
    gap: 4px;
    font-size: 16px;
}

.date-chip__date {
    font-weight: 600;
    color: #1b1d22;
}

.date-chip__day {
    color: #6b7280;
    font-size: 14px;
}

.date-chip.is-active {
    border-color: #2c9a78;
    color: #2c9a78;
    background: #eef4ff;
}

.date-chip.is-active .date-chip__date,
.date-chip.is-active .date-chip__day {
    color: #2c9a78;
}

.date-chip--muted {
    color: #6b7280;
}

.scheds__times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 14px;
}

.time-slot {
    border: none;
    border-radius: 18px;
    padding: 12px 18px;
    background: #2c9a78;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    min-height: 48px;
}

.time-slot.is-active {
    background: #248667;
}

.time-slot--more {
    background: #edf1fb;
    color: #2c9a78;
}

.time-slot__chevron {
    display: inline-flex;
    width: 24px;
    height: 24px;
}

.time-slot--extra {
    display: none;
}

.scheds.is-expanded .time-slot--extra {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .page {
        padding: 24px 20px;
    }

    .card {
        /*padding: 26px 22px;*/
        /*border-radius: 20px;*/
    }

    .card__header {
        margin-bottom: 20px;
    }

    .card__body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .scheds__dates {
        grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
    }

    .scheds__times {
        grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
    }

    .info-link--mobile {
        display: inline-flex;
        color: #1b1d22;
    }
}

@media (max-width: 640px) {
    .page {
        padding: 16px 12px 24px;
    }

    .card {
        /*border-width: 3px;*/
        /*border-radius: 18px;*/
        /*padding: 20px 18px 22px;*/
    }

    .card__header {
        align-items: flex-start;
    }

    .card__title {
        font-size: 24px;
    }

    .card__map {
        display: none;
    }

    .info__title {
        font-size: 20px;
    }

    .select__label {
        font-size: 17px;
    }

    .scheds__dates {
        grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
        gap: 10px;
    }

    .scheds__times {
        grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
        gap: 12px;
    }

    .time-slot {
        font-size: 17px;
    }

    .time-slot--more {
        padding: 12px 0;
    }
}

/* Валидация модалки записи */
#modal_schedule_booking .schedule-booking-error {
    display: none;
}

#modal_schedule_booking .has-error .schedule-booking-error {
    color: #a94442;
}