/* =========================================================
   BOOKING PAGE - RESPONSIVE
   ========================================================= */

#booking-responsive .booking-title-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
}

#booking-responsive .booking-title-box {
    background: #00756c;
    border-radius: 20px;
    padding: 10px 55px;
    text-align: center;
}

#booking-responsive .booking-title-box h1 {
    margin: 0;
    color: #fff;
    font-family: Rosarivo, serif;
    line-height: 1.15;
}

#booking-responsive .booking-description {
    width: 100%;
    text-align: center;
    font-family: Poppins, sans-serif;
}

#booking-responsive .booking-form-shell {
    width: 100%;
}

@media (max-width: 991.98px) {
    #booking-responsive .booking-title-box {
        padding: 9px 38px;
    }

    #booking-responsive .booking-title-box h1 {
        font-size: 2.1rem;
    }

    #booking-responsive .booking-description {
        padding: 0 20px;
        line-height: 1.6;
    }
}

@media (max-width: 767.98px) {

    /* Hero */
    #booking-responsive #kepala {
        margin-bottom: 0.75rem !important;
    }

    #booking-responsive #kepala > div {
        height: 38vh !important;
        min-height: 250px;
        max-height: 360px;
        background-attachment: scroll !important;
        background-position: center center !important;
    }

    /* Title: kembali ke normal flow agar tidak menimpa description */
    #booking-responsive .booking-title-wrap {
        position: static !important;
        margin-bottom: 18px;
    }

    #booking-responsive .booking-title-box {
        width: auto;
        max-width: 92%;
        padding: 10px 22px;
        border-radius: 18px;
    }

    #booking-responsive .booking-title-box h1 {
        font-size: clamp(1.55rem, 7vw, 2rem);
        white-space: normal;
    }

    #booking-responsive .booking-description {
        padding: 0 14px;
        margin-bottom: 20px;
        font-size: 0.9rem !important;
        line-height: 1.6;
    }

    #booking-responsive .booking-form-shell {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Date selector */
    #booking-responsive .tee-month-row {
        margin-bottom: 8px;
    }

    #booking-responsive .tee-month-btn {
        min-width: min(210px, 74vw);
        font-size: 13px;
        padding: 8px 12px;
    }

    #booking-responsive .tee-month-menu {
        width: min(92vw, 360px);
    }

    #booking-responsive .tee-date-picker-label,
    #booking-responsive .tee-time-label {
        font-size: 16px;
    }

    #booking-responsive .tee-date-picker-wrap {
        gap: 4px;
    }

    #booking-responsive .tee-date-nav {
        flex: 0 0 30px;
        min-height: 68px;
        font-size: 17px;
        border-radius: 8px;
    }

    #booking-responsive .tee-date-track {
        display: flex;
        gap: 5px;
        overflow-x: auto;
        overflow-y: hidden;
        min-width: 0;
        padding-bottom: 2px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    #booking-responsive .tee-date-card {
        flex: 0 0 68px;
        min-width: 68px;
        min-height: 68px;
        padding: 6px 3px;
        scroll-snap-align: start;
    }

    #booking-responsive .tee-date-weekday {
        font-size: 9px;
    }

    #booking-responsive .tee-date-number {
        font-size: 19px;
    }

    #booking-responsive .tee-date-month {
        font-size: 8px;
    }

    #booking-responsive .tee-date-selected-text {
        font-size: 11px;
        margin-top: 8px;
    }

    /* Tee time */
    #booking-responsive .tee-time-help {
        font-size: 11px;
        line-height: 1.5;
    }

    #booking-responsive .tee-time-group-title {
        font-size: 11px;
    }

    #booking-responsive .tee-time-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px;
    }

    #booking-responsive .tee-time-option {
        min-width: 0 !important;
        padding: 10px 5px;
        font-size: 12px;
        border-radius: 9px;
    }

    /* Form inputs */
    #booking-responsive .input-underline,
    #booking-responsive .form-control {
        font-size: 14px;
    }

    #booking-responsive .booking-submit-row {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 380px) {

    #booking-responsive .booking-title-box {
        max-width: 95%;
        padding: 9px 17px;
        border-radius: 16px;
    }

    #booking-responsive .booking-title-box h1 {
        font-size: 1.45rem;
    }

    #booking-responsive .booking-description {
        font-size: 0.84rem !important;
    }

    #booking-responsive .tee-date-card {
        flex-basis: 64px;
        min-width: 64px;
    }

    #booking-responsive .tee-time-option {
        font-size: 11px;
    }
}