/* =====================================================
RIVER DOG RENTALS
PUBLIC BOOKING — PHASE 1F-A
===================================================== */

.rdo-public-booking,
.rdo-public-booking * {
    box-sizing: border-box;
}

.rdo-public-booking {
    --rdo-navy: #123047;
    --rdo-deep: #092130;
    --rdo-blue: #1f5f78;
    --rdo-teal: #2f7f7a;
    --rdo-gold: #d6a84b;
    --rdo-sand: #f4efe4;
    --rdo-sky: #eef6f8;
    --rdo-white: #ffffff;
    --rdo-ink: #20313c;
    --rdo-muted: #667781;
    --rdo-border: rgba(18,48,71,.12);
    --rdo-shadow:
        0 18px 48px rgba(18,48,71,.13);

    width: min(1100px, calc(100% - 30px));
    margin: 60px auto;
    color: var(--rdo-ink);
    font-family: inherit;
    line-height: 1.6;
}


/* =====================================================
INTRO
===================================================== */

.rdo-booking-intro {
    max-width: 800px;
    margin: 0 auto 35px;
    text-align: center;
}

.rdo-booking-intro h2 {
    margin: 0 0 15px;
    color: var(--rdo-navy);
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.rdo-booking-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--rdo-teal);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.rdo-booking-lead {
    margin-bottom: 0;
    color: var(--rdo-muted);
    font-size: 1.12rem;
}


/* =====================================================
SEARCH CARD
===================================================== */

.rdo-booking-search-card {
    padding: 30px;
    border: 1px solid var(--rdo-border);
    border-radius: 24px;
    background: var(--rdo-white);
    box-shadow: var(--rdo-shadow);
}

.rdo-booking-search-form {
    display: grid;
    grid-template-columns:
        1.25fr
        1fr
        1fr
        auto;
    gap: 18px;
    align-items: end;
}

.rdo-booking-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--rdo-navy);
    font-size: .92rem;
    font-weight: 800;
}

.rdo-booking-field input,
.rdo-booking-field select {
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 10px 13px;
    border: 1px solid rgba(18,48,71,.22);
    border-radius: 11px;
    background: var(--rdo-white);
    color: var(--rdo-ink);
    font: inherit;
}

.rdo-booking-field input:focus,
.rdo-booking-field select:focus {
    outline: 2px solid rgba(47,127,122,.22);
    border-color: var(--rdo-teal);
}

.rdo-booking-button {
    min-height: 50px;
    padding: 12px 24px;
    border: 0;
    border-radius: 999px;
    background: var(--rdo-gold);
    color: var(--rdo-deep);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    white-space: nowrap;
    box-shadow:
        0 10px 24px rgba(18,48,71,.16);
}

.rdo-booking-button:hover {
    transform: translateY(-1px);
}

.rdo-booking-model-help {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--rdo-sky);
    color: var(--rdo-muted);
    font-size: .93rem;
}

.rdo-booking-model-help strong {
    color: var(--rdo-navy);
}


/* =====================================================
MESSAGES
===================================================== */

.rdo-booking-message {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 12px;
    font-weight: 700;
}

.rdo-booking-message--error {
    border: 1px solid #d63638;
    background: #fcf0f1;
    color: #8a2424;
}


/* =====================================================
RESULTS
===================================================== */

.rdo-booking-results {
    margin-top: 52px;
}

.rdo-booking-results-header {
    margin-bottom: 30px;
}

.rdo-booking-results-header h3 {
    margin: 0 0 22px;
    color: var(--rdo-navy);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.1;
}

.rdo-booking-search-summary {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0,1fr));
    overflow: hidden;
    border: 1px solid var(--rdo-border);
    border-radius: 16px;
    background: var(--rdo-white);
}

.rdo-booking-search-summary > div {
    padding: 18px 20px;
    border-right: 1px solid var(--rdo-border);
}

.rdo-booking-search-summary > div:last-child {
    border-right: 0;
}

.rdo-booking-search-summary strong {
    display: block;
    margin-bottom: 4px;
    color: var(--rdo-teal);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rdo-booking-search-summary span {
    color: var(--rdo-navy);
    font-weight: 800;
}


/* =====================================================
EQUIPMENT RESULTS
===================================================== */

.rdo-booking-equipment-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0,1fr));
    gap: 22px;
}

.rdo-booking-equipment-card {
    position: relative;
    padding: 29px;
    border: 1px solid var(--rdo-border);
    border-radius: 20px;
    background: var(--rdo-white);
    box-shadow:
        0 12px 32px rgba(18,48,71,.09);
}

.rdo-booking-equipment-card.is-unavailable {
    opacity: .68;
    background: #f6f7f7;
}

.rdo-booking-equipment-status {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--rdo-sky);
    color: var(--rdo-teal);
    font-size: .71rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.is-unavailable
.rdo-booking-equipment-status {
    background: #ececec;
    color: var(--rdo-muted);
}

.rdo-booking-equipment-card h4 {
    margin: 0 0 20px;
    color: var(--rdo-navy);
    font-size: 1.4rem;
}

.rdo-booking-availability-number {
    color: var(--rdo-navy);
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
}

.rdo-booking-availability-label {
    margin-top: 4px;
    color: var(--rdo-muted);
    font-size: .92rem;
}

.rdo-booking-inventory-details {
    display: grid;
    gap: 7px;
    margin-top: 21px;
    padding-top: 18px;
    border-top: 1px solid var(--rdo-border);
    color: var(--rdo-muted);
    font-size: .9rem;
}

.rdo-booking-inventory-details strong {
    color: var(--rdo-navy);
}

.rdo-booking-equipment-note {
    margin: 18px 0 0;
    color: var(--rdo-muted);
    font-size: .92rem;
}

.rdo-booking-next-step {
    margin-top: 30px;
    padding: 22px;
    border-left: 5px solid var(--rdo-gold);
    border-radius: 0 14px 14px 0;
    background: var(--rdo-sand);
    color: var(--rdo-muted);
}

.rdo-booking-next-step strong {
    color: var(--rdo-navy);
}


/* =====================================================
RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .rdo-booking-search-form {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .rdo-booking-submit {
        grid-column: 1 / -1;
    }

    .rdo-booking-button {
        width: 100%;
    }

}

@media (max-width: 700px) {

    .rdo-public-booking {
        margin: 40px auto;
    }

    .rdo-booking-search-form,
    .rdo-booking-equipment-grid,
    .rdo-booking-search-summary {
        grid-template-columns: 1fr;
    }

    .rdo-booking-search-summary > div {
        border-right: 0;
        border-bottom: 1px solid var(--rdo-border);
    }

    .rdo-booking-search-summary > div:last-child {
        border-bottom: 0;
    }

}

@media (max-width: 520px) {

    .rdo-public-booking {
        width: min(100% - 20px,1100px);
    }

    .rdo-booking-search-card,
    .rdo-booking-equipment-card {
        padding: 22px;
    }

}
/* =====================================================
PHASE 1F-B
PROGRESS + QUANTITY SELECTION + TEMP SESSION
===================================================== */


/* =====================================================
PROGRESS
===================================================== */

.rdo-booking-progress {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0,1fr));
    gap: 10px;
    margin: 0 0 30px;
}

.rdo-booking-progress > div {
    display: flex;
    min-height: 70px;
    padding: 12px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--rdo-border);
    border-radius: 14px;
    background: var(--rdo-white);
    color: var(--rdo-muted);
    font-size: .82rem;
    font-weight: 800;
    text-align: center;
}

.rdo-booking-progress > div span {
    display: inline-flex;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--rdo-sky);
    color: var(--rdo-teal);
    font-size: .76rem;
    font-weight: 900;
}

.rdo-booking-progress > div.is-active {
    border-color: var(--rdo-gold);
    background: var(--rdo-sand);
    color: var(--rdo-navy);
}

.rdo-booking-progress > div.is-active span {
    background: var(--rdo-gold);
    color: var(--rdo-deep);
}

.rdo-booking-progress > div.is-complete {
    border-color: rgba(47,127,122,.25);
    background: var(--rdo-sky);
    color: var(--rdo-navy);
}

.rdo-booking-progress > div.is-complete span {
    background: var(--rdo-teal);
    color: var(--rdo-white);
}


/* =====================================================
QUANTITY SELECTOR
===================================================== */

.rdo-booking-quantity {
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid var(--rdo-border);
}

.rdo-booking-quantity > label {
    display: block;
    margin-bottom: 9px;
    color: var(--rdo-navy);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rdo-quantity-control {
    display: grid;
    grid-template-columns: 48px 72px 48px;
    gap: 8px;
    align-items: center;
}

.rdo-quantity-button {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(18,48,71,.18);
    border-radius: 50%;
    background: var(--rdo-sky);
    color: var(--rdo-navy);
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 900;
}

.rdo-quantity-button:hover {
    background: var(--rdo-sand);
}

.rdo-quantity-input {
    width: 72px !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid rgba(18,48,71,.2) !important;
    border-radius: 10px !important;
    background: var(--rdo-white) !important;
    color: var(--rdo-navy) !important;
    font-size: 1.08rem !important;
    font-weight: 900 !important;
    text-align: center;
}


/* =====================================================
SELECTION FOOTER
===================================================== */

.rdo-booking-selection-footer {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    padding: 24px 26px;
    align-items: center;
    justify-content: space-between;
    border-radius: 18px;
    background: var(--rdo-navy);
    color: rgba(255,255,255,.82);
}

.rdo-booking-selection-footer > div {
    display: flex;
    gap: 7px;
    align-items: baseline;
    flex-wrap: wrap;
}

.rdo-booking-selection-footer strong {
    color: var(--rdo-gold);
    font-size: 1.75rem;
    line-height: 1;
}

.rdo-booking-selection-footer .rdo-booking-button {
    flex: 0 0 auto;
}


/* =====================================================
TEMPORARY SESSION PAGE
===================================================== */

.rdo-booking-session-card {
    padding: 34px;
    border: 1px solid var(--rdo-border);
    border-radius: 24px;
    background: var(--rdo-white);
    box-shadow: var(--rdo-shadow);
}

.rdo-booking-session-summary {
    display: grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    margin-top: 25px;
    overflow: hidden;
    border: 1px solid var(--rdo-border);
    border-radius: 16px;
}

.rdo-booking-session-summary > div {
    padding: 20px;
    border-right: 1px solid var(--rdo-border);
}

.rdo-booking-session-summary > div:last-child {
    border-right: 0;
}

.rdo-booking-summary-label {
    display: block;
    margin-bottom: 5px;
    color: var(--rdo-teal);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rdo-booking-session-summary strong {
    color: var(--rdo-navy);
}


/* =====================================================
SELECTED GEAR
===================================================== */

.rdo-booking-selected-gear {
    margin-top: 32px;
    padding: 28px;
    border-radius: 18px;
    background: var(--rdo-sky);
}

.rdo-booking-selected-gear h3 {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--rdo-navy);
}

.rdo-selected-gear-row {
    display: flex;
    gap: 20px;
    padding: 13px 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(18,48,71,.1);
}

.rdo-selected-gear-row:last-child {
    border-bottom: 0;
}

.rdo-selected-gear-row span {
    color: var(--rdo-ink);
    font-weight: 700;
}

.rdo-selected-gear-row strong {
    color: var(--rdo-navy);
    font-size: 1.05rem;
}


/* =====================================================
SESSION NOTE
===================================================== */

.rdo-booking-session-note {
    margin-top: 27px;
    padding: 20px 22px;
    border-left: 5px solid var(--rdo-gold);
    border-radius: 0 14px 14px 0;
    background: var(--rdo-sand);
    color: var(--rdo-muted);
}

.rdo-booking-session-note strong {
    color: var(--rdo-navy);
}


/* =====================================================
SESSION ACTIONS
===================================================== */

.rdo-booking-session-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    align-items: center;
    justify-content: flex-end;
}

.rdo-booking-secondary-button {
    display: inline-flex;
    min-height: 50px;
    padding: 12px 23px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--rdo-navy);
    border-radius: 999px;
    background: transparent;
    color: var(--rdo-navy) !important;
    font-weight: 900;
    text-decoration: none !important;
}

.rdo-booking-session-actions button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.rdo-booking-session-id {
    margin: 25px 0 0;
    color: var(--rdo-muted);
    font-size: .75rem;
    text-align: center;
}

.rdo-booking-session-id code {
    word-break: break-all;
}


/* =====================================================
PHASE 1F-B MOBILE
===================================================== */

@media (max-width: 760px) {

    .rdo-booking-progress {
        grid-template-columns:
            repeat(5, minmax(56px,1fr));
        overflow-x: auto;
    }

    .rdo-booking-progress > div {
        min-width: 75px;
        flex-direction: column;
        gap: 5px;
        font-size: .72rem;
    }

    .rdo-booking-session-summary {
        grid-template-columns: 1fr;
    }

    .rdo-booking-session-summary > div {
        border-right: 0;
        border-bottom: 1px solid var(--rdo-border);
    }

    .rdo-booking-session-summary > div:last-child {
        border-bottom: 0;
    }

    .rdo-booking-selection-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .rdo-booking-selection-footer .rdo-booking-button {
        width: 100%;
    }

    .rdo-booking-session-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .rdo-booking-session-actions > * {
        width: 100%;
    }

}

@media (max-width: 520px) {

    .rdo-booking-session-card,
    .rdo-booking-selected-gear {
        padding: 22px;
    }

}
/* =====================================================
PHASE 1F-C
ADVENTURE DETAILS
===================================================== */

.rdo-booking-details-card {
    padding: 34px;
    border: 1px solid var(--rdo-border);
    border-radius: 24px;
    background: var(--rdo-white);
    box-shadow: var(--rdo-shadow);
}

.rdo-adventure-details-form {
    margin-top: 32px;
}

.rdo-details-heading {
    max-width: 760px;
    margin-bottom: 27px;
}

.rdo-details-heading h3 {
    margin: 0 0 10px;
    color: var(--rdo-navy);
    font-size: clamp(1.7rem,3vw,2.35rem);
}

.rdo-details-heading p {
    margin-bottom: 0;
    color: var(--rdo-muted);
}


/* =====================================================
DELIVERED LOCATIONS
===================================================== */

.rdo-location-grid {
    display: grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap: 18px;
}

.rdo-location-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.rdo-location-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rdo-location-option__body {
    display: block;
    height: 100%;
    padding: 27px;
    border: 2px solid var(--rdo-border);
    border-radius: 19px;
    background: var(--rdo-white);
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.rdo-location-option__body strong {
    display: block;
    margin-bottom: 8px;
    color: var(--rdo-navy);
    font-size: 1.28rem;
}

.rdo-location-option__body > span {
    display: block;
    color: var(--rdo-muted);
    font-size: .96rem;
}

.rdo-location-option:hover
.rdo-location-option__body {
    transform: translateY(-2px);
    border-color: rgba(47,127,122,.4);
}

.rdo-location-option input:checked
+ .rdo-location-option__body {
    border-color: var(--rdo-teal);
    background: var(--rdo-sky);
    box-shadow:
        0 12px 28px rgba(18,48,71,.1);
}


/* =====================================================
TO-GO DESTINATION
===================================================== */

.rdo-destination-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 15px;
}

.rdo-destination-suggestions > span {
    display: flex;
    width: 100%;
    margin-bottom: 3px;
    color: var(--rdo-muted);
    font-size: .82rem;
    font-weight: 700;
}

.rdo-destination-suggestions button {
    padding: 8px 13px;
    border: 1px solid rgba(18,48,71,.15);
    border-radius: 999px;
    background: var(--rdo-sky);
    color: var(--rdo-navy);
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
}

.rdo-destination-suggestions button:hover {
    background: var(--rdo-sand);
}


/* =====================================================
DETAIL NOTE
===================================================== */

.rdo-details-note {
    margin-top: 27px;
    padding: 20px 22px;
    border-left: 5px solid var(--rdo-gold);
    border-radius: 0 14px 14px 0;
    background: var(--rdo-sand);
    color: var(--rdo-muted);
}

.rdo-details-note strong {
    display: block;
    margin-bottom: 5px;
    color: var(--rdo-navy);
}


/* =====================================================
PHASE 1F-C MOBILE
===================================================== */

@media (max-width: 700px) {

    .rdo-location-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 520px) {

    .rdo-booking-details-card {
        padding: 22px;
    }

}