/* ============================================================
   BOOKING V2 — Core Styles
   Design system inherits from homepage-v2.css (:root variables)
   ============================================================ */

/* ============================================================
   LOADING OVERLAY
   ============================================================ */
.bk-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}
.bk-loader-inner {
    text-align: center;
    background: var(--rd-white);
    padding: 48px 56px;
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
}
.bk-loader-logo img {
    width: 100px;
    margin-bottom: 24px;
}
.bk-loader-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    border: 3px solid var(--rd-border);
    border-top-color: var(--rd-gold);
    border-radius: 50%;
    animation: bkSpin 0.7s linear infinite;
}
@keyframes bkSpin {
    to { transform: rotate(360deg); }
}
.bk-loader-text {
    font-family: var(--rd-font);
    font-size: 15px;
    color: var(--rd-text-light);
    margin: 0;
}

/* ============================================================
   BOOKING PROGRESS INDICATOR
   ============================================================ */
.bk-progress {
    background: #A97708;
    border-bottom: none;
    position: sticky;
    top: 80px; /* below global header (.gh) */
    z-index: 400;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.bk-progress-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 16px 20px;
}
.bk-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.bk-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--rd-font);
    font-weight: 700;
    font-size: 14px;
    background: rgba(255,255,255,0.3);
    color: #fff;
    transition: var(--rd-transition);
}
.bk-step-label {
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    transition: var(--rd-transition);
}
.bk-progress-connector {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.3);
    margin: 0 12px;
    transition: background 0.3s ease;
}

/* Active step */
.bk-progress-step.is-active .bk-step-number {
    background: #fff;
    color: #A97708;
}
.bk-progress-step.is-active .bk-step-label {
    color: #fff;
}

/* Completed step */
.bk-progress-step.is-completed .bk-step-number {
    background: #fff;
    color: #A97708;
}
.bk-progress-step.is-completed .bk-step-label {
    color: #fff;
}
.bk-progress-step.is-completed + .bk-progress-connector {
    background: #fff;
}

/* Clickable step (link back to home) */
a.bk-progress-step {
    text-decoration: none;
    cursor: pointer;
}
a.bk-progress-step:hover .bk-step-number {
    background: #fff;
    color: #A97708;
}
a.bk-progress-step:hover .bk-step-label {
    color: #fff;
}

/* ============================================================
   MAIN LAYOUT — Two Column Grid
   ============================================================ */
.bk-main {
    padding: 24px 0 60px;
    min-height: 60vh;
}
.bk-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.bk-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}
/* Step 2 (vehicle selection): 3/4 + 1/4 — fleet cards need room to breathe */
.bk-layout.bk-layout--wide {
    grid-template-columns: 3fr 1fr;
}
.bk-content {
    min-width: 0; /* prevent grid blowout */
}
/* When outer sidebar is hidden (Steps 3+4), content spans full width */
.bk-content.bk-full-width {
    grid-column: 1 / -1;
}
.bk-sidebar {
    position: sticky;
    top: 170px; /* header 100px + progress ~70px */
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 0; /* cards have their own margin-bottom */
}

/* ============================================================
   TRIP SUMMARY SIDEBAR
   ============================================================ */
.bk-trip-summary {
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    padding: 24px;
}
.bk-trip-summary-title {
    font-family: var(--rd-font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--rd-text);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rd-border);
    letter-spacing: 0.01em;
}
.bk-trip-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--rd-light);
}
.bk-trip-detail:last-child {
    border-bottom: none;
}
.bk-trip-detail-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--rd-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--rd-gold);
}
.bk-trip-detail-content {
    flex: 1;
}
.bk-trip-label {
    font-family: var(--rd-font);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rd-text-light);
    margin: 0;
}
.bk-trip-value {
    font-family: var(--rd-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--rd-dark);
    margin: 2px 0 0;
}

/* ============================================================
   SIDEBAR — Help CTA Card
   ============================================================ */
.bk-sidebar-card {
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    padding: 24px;
}
.bk-help-card {
    text-align: center;
    background: var(--rd-dark);
}
.bk-help-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--rd-gold);
    color: var(--rd-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
}
.bk-help-card-title {
    font-family: var(--rd-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--rd-white);
    margin: 0 0 4px;
}
.bk-help-card-text {
    font-family: var(--rd-font);
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0 0 12px;
}
.bk-help-card-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--rd-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--rd-gold);
    text-decoration: none;
    transition: var(--rd-transition);
}
.bk-help-card-phone:hover {
    color: var(--rd-gold-hover);
}

/* ============================================================
   ROUND-TRIP — LEG SECTIONS
   ============================================================ */
.bv-leg-section {
    margin-bottom: 32px;
    scroll-margin-top: 180px; /* header 100px + progress bar ~70px + breathing room */
}
.bv-leg-header {
    background: var(--rd-dark, #251f25);
    color: #fff;
    border-radius: var(--rd-radius, 10px);
    padding: 16px 20px;
    margin-bottom: 16px;
}
.bv-leg-header--return {
    background: #2d2435;
}
.bv-leg-header-title {
    font-family: var(--rd-font, 'Raleway', sans-serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rd-gold, #fcc102);
    margin-bottom: 4px;
}
.bv-leg-header-route {
    font-family: var(--rd-font, 'Raleway', sans-serif);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}
.bv-leg-header-meta {
    font-family: var(--rd-font, 'Raleway', sans-serif);
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}
/* Vehicle grid inside leg section */
.bv-leg-section .bv-grid {
    border-radius: var(--rd-radius, 10px);
}

/* Selected card state (radio behavior) */
.bv-card.is-selected {
    border: 2px solid var(--rd-gold, #fcc102);
    box-shadow: 0 0 0 3px rgba(252,193,2,0.2);
    position: relative;
}
.bv-card.is-selected::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 52px;
    right: 12px;
    font-size: 26px;
    color: var(--rd-gold, #fcc102);
    z-index: 5;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

/* Sticky summary bar */
.bv-rt-summary-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--rd-dark, #251f25);
    border-top: 3px solid var(--rd-gold, #fcc102);
    padding: 16px 20px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.bv-rt-summary-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.bv-rt-summary-legs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: rgba(255,255,255,0.8);
    font-family: var(--rd-font, 'Raleway', sans-serif);
    font-size: 13px;
}
.bv-rt-summary-legs i {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .bv-rt-summary-inner {
        flex-direction: column;
        text-align: center;
    }
    .bv-leg-header-route {
        font-size: 14px;
    }
}

/* ============================================================
   VEHICLE CARD GRID — New 3-column layout
   ============================================================ */
.bv-section {
    margin-bottom: 32px;
}
.bv-section-header {
    margin-bottom: 20px;
}
.bv-section-title {
    font-family: var(--rd-font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--rd-text);
    margin: 0 0 6px;
    letter-spacing: 0.01em;
}
.bv-section-title i {
    color: var(--rd-gold);
    margin-right: 6px;
    font-size: 20px;
}
.bv-section-subtitle {
    font-family: var(--rd-font);
    font-size: 13px;
    color: var(--rd-text-light);
    margin: 0;
    letter-spacing: 0.2px;
}

.bv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Individual Vehicle Card ── */
.bv-card {
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid var(--rd-border);
    border-left: 3px solid var(--rd-gold);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.bv-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.bv-card.is-recommended {
    background: #fffcf5;
    border-color: rgba(184, 134, 11, 0.18);
    border-left: 3px solid var(--rd-gold);
}
.bv-card.is-recommended:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.bv-card.is-unavailable {
    opacity: 0.5;
    pointer-events: none;
}

/* Card header — dark bar with vehicle name + specs */
.bv-card-header {
    background: var(--rd-dark);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.bv-card-name {
    font-family: var(--rd-font);
    font-size: 14px;
    font-weight: 600;
    color: #F5F3EE;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
}
/* Card image area — clean white bg */
.bv-card-img-wrap {
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    aspect-ratio: 16 / 10;
}
.bv-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Pills row — under image: specs | discount */
.bv-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px;
    background: var(--rd-white);
    border-top: 1px solid var(--rd-border);
}
.bv-card-pill {
    font-family: var(--rd-font);
    font-weight: 600;
    border-radius: 20px;
    line-height: 1.2;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.bv-card-pill i {
    font-size: 11px;
}
.bv-card-pill--spec {
    font-size: 13px;
    padding: 5px 12px;
    background: var(--rd-light);
    color: var(--rd-text);
}
.bv-card-pill--spec i {
    color: var(--rd-gold);
}
.bv-card-pill--discount {
    font-size: 12px;
    padding: 4px 11px 5px;
    line-height: 1;
    background: rgba(252,193,2,0.12);
    color: #7a6000;
    border: 1px solid rgba(252,193,2,0.3);
}
.bv-card-pill--discount i {
    color: var(--rd-gold);
}

/* "Most Booked" badge — overlaid on image, bottom-left */
.bv-card-badge--popular {
    position: absolute;
    bottom: 0;
    left: 0;
    font-family: var(--rd-font);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    background: rgba(37,31,37,0.92);
    color: var(--rd-gold);
    border-radius: 0 var(--rd-radius) 0 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}
.bv-card-badge--popular i {
    font-size: 10px;
    color: var(--rd-gold);
}

/* Card body */
.bv-card-body {
    padding: 16px 16px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--rd-white);
}

/* Card pricing */
.bv-card-pricing {
    margin-top: auto;
}
.bv-card-price-current {
    font-family: var(--rd-font);
    font-size: 26px;
    font-weight: 700;
    color: var(--rd-text);
    line-height: 1.1;
    display: block;
    letter-spacing: -0.5px;
}
.bv-card-savings {
    font-family: var(--rd-font);
    font-size: 11px;
    font-weight: 600;
    color: #2d8a56;
    display: block;
    margin-top: 4px;
}
.bv-card-promo {
    font-family: var(--rd-font);
    font-size: 12px;
    color: var(--rd-gold-hover);
    font-weight: 600;
    margin: 6px 0 0;
}
.bv-card-promo i {
    margin-right: 3px;
}

/* Card actions */
.bv-card-actions {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Card status (sold out / call) */
.bv-card-status {
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    border-radius: var(--rd-radius-sm);
}
.bv-card-status--call {
    color: var(--rd-gold-hover);
    background: rgba(184, 134, 11, 0.08);
}
.bv-card-status--sold {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.08);
}

/* ============================================================
   SHARED BUTTON STYLES
   ============================================================ */
.bv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: var(--rd-radius-sm);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
}
.bv-btn--gold {
    background: var(--rd-gold);
    color: #fff;
}
.bv-btn--gold:hover {
    background: var(--rd-gold-hover);
}
.bv-btn--muted {
    opacity: 0.5;
    cursor: pointer;
}
.bv-btn--outline {
    background: transparent;
    color: var(--rd-text);
    border: 1px solid var(--rd-border);
}
.bv-btn--outline:hover {
    border-color: var(--rd-gold);
    color: var(--rd-gold);
}
.bv-btn--full {
    width: 100%;
}

/* ============================================================
   GOOGLE MAP CONTAINER
   ============================================================ */
.bv-map-container {
    height: 280px;
    border-radius: var(--rd-radius);
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--rd-light);
    border: 1px solid var(--rd-border);
    display: none; /* shown by JS when map initializes */
}
.bv-map-container.is-active {
    display: block;
}

/* ============================================================
   FARE DETAILS & AMENITIES DRAWER
   ============================================================ */
.bv-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.bv-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ── Drawer Shell ── */
.bv-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 860px;
    max-width: 100%;
    background: #f8f8f8;
    z-index: 950;
    box-shadow: -10px 0 40px rgba(0,0,0,0.22);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.bv-drawer.is-open { transform: translateX(0); }

/* Drawer header — styled fallback for old HTML, or hidden if no header present */
.bv-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: var(--rd-dark);
    flex-shrink: 0;
    min-height: 52px;
    border-bottom: 3px solid var(--rd-gold);
}
.bv-drawer-title {
    font-family: var(--rd-font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--rd-white);
    margin: 0;
    letter-spacing: 0.01em;
}

/* Close button — works as direct child of drawer OR inside header */
.bv-drawer-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--rd-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--rd-dark);
    z-index: 20;
    transition: all 0.2s ease;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.bv-drawer-close:hover {
    background: var(--rd-dark);
    color: var(--rd-white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
/* When close is inside the header, position it relative */
.bv-drawer-header .bv-drawer-close {
    position: relative;
    top: auto;
    right: auto;
    background: rgba(255,255,255,0.15);
    color: var(--rd-white);
    box-shadow: none;
}
.bv-drawer-header .bv-drawer-close:hover {
    background: rgba(255,255,255,0.3);
}

/* Scrollable body fills remaining space */
.bv-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* ── Two-Column Layout ── */
.bv-drawer-columns {
    display: flex;
    min-height: 100%;
}
/* Single-column mode: no left panel, right column fills full width */
.bv-drawer-single .bv-drawer-col-right {
    flex: 1 1 100%;
    max-width: 100%;
}
.bv-drawer-col-left {
    flex: 1;
    border-right: 1px solid #e8e4df;
    display: flex;
    flex-direction: column;
    background: var(--rd-white);
}
.bv-drawer-col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--rd-white);
}

/* Column dark headers — matching live site */
.bv-drawer-col-header {
    font-family: var(--rd-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--rd-white);
    background: var(--rd-dark);
    padding: 14px 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    flex-shrink: 0;
}

/* Column body padding */
.bv-drawer-col-body {
    padding: 20px;
    flex: 1;
}

/* Vehicle image in drawer */
.bv-drawer-img {
    text-align: center;
    margin-bottom: 16px;
    padding: 10px 0;
}
.bv-drawer-img img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

/* Specs row */
.bv-drawer-specs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 18px;
    padding: 10px 0 14px;
    border-bottom: 1px solid #e8e4df;
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--rd-dark);
}
.bv-drawer-specs i {
    color: var(--rd-gold);
    margin-right: 4px;
}

/* Discount callout — gold star like live site */
.bv-drawer-discount {
    font-family: var(--rd-font);
    font-size: 13px;
    color: var(--rd-dark);
    font-weight: 600;
    margin: 0 0 16px;
    padding: 10px 14px;
    background: rgba(169,119,8,0.08);
    border-left: 3px solid var(--rd-gold);
    border-radius: 0 6px 6px 0;
}
.bv-drawer-discount i {
    margin-right: 6px;
    color: var(--rd-gold);
}

/* Fare sub-header — dark bar spanning right column */
.bv-drawer-fare-header {
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--rd-white);
    background: var(--rd-dark);
    padding: 10px 20px;
    margin: 16px -20px 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Section title (vehicle color heading etc.) */
.bv-drawer-section { margin-bottom: 0; }
.bv-drawer-section-title {
    font-family: var(--rd-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--rd-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 20px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--rd-gold);
}

/* ── Amenity Items ── */
.bv-drawer-amenities {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.bv-drawer-amenity-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--rd-font);
    font-size: 13px;
    color: var(--rd-text);
    cursor: pointer;
    padding: 14px 6px;
    margin: 0 -6px;
    border-bottom: 1px solid #f0ede8;
    border-radius: 6px;
    transition: all 0.15s ease;
}
.bv-drawer-amenity-label:last-child { border-bottom: none; }
.bv-drawer-amenity-label:hover {
    background: rgba(169,119,8,0.05);
}
.bv-drawer-amenity-label input[type="checkbox"] {
    accent-color: var(--rd-gold);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.bv-drawer-amenity-label select {
    font-family: var(--rd-font);
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background: var(--rd-white);
    margin-left: auto;
    flex-shrink: 0;
    cursor: pointer;
    min-width: 60px;
    transition: border-color 0.15s ease;
}
.bv-drawer-amenity-label select:hover { border-color: var(--rd-gold); }
.bv-drawer-amenity-label select:focus {
    outline: none;
    border-color: var(--rd-gold);
    box-shadow: 0 0 0 3px rgba(169,119,8,0.15);
}
.bv-drawer-amenity-label span { flex: 1; font-weight: 500; }

/* ── Amenity Tooltip ── */
.bv-drawer-amenity-label { position: relative; }
.bv-amenity-info {
    color: var(--rd-gold, #A97708);
    font-size: 12px;
    cursor: help;
    opacity: 0.4;
    transition: opacity 0.2s ease;
    margin-left: 5px;
    vertical-align: middle;
}
.bv-drawer-amenity-label:hover .bv-amenity-info { opacity: 1; }
.bv-amenity-tooltip {
    display: none;
    position: absolute;
    left: 12px;
    top: calc(100% + 4px);
    width: 260px;
    padding: 10px 14px;
    background: #251f25;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    border: 1px solid rgba(169,119,8,0.25);
    z-index: 300;
    pointer-events: none;
}
.bv-amenity-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 20px;
    border: 6px solid transparent;
    border-bottom-color: #251f25;
}
.bv-drawer-amenity-label:hover .bv-amenity-tooltip { display: block; }

/* ── Color Preference ── */
.bv-drawer-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.bv-drawer-color-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--rd-font);
    font-size: 13px;
    color: var(--rd-text);
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: all 0.15s ease;
}
.bv-drawer-color-label:hover { border-color: var(--rd-gold); background: rgba(169,119,8,0.04); }
.bv-drawer-color-label input[type="radio"] { accent-color: var(--rd-gold); }
.bv-drawer-color-select {
    font-family: var(--rd-font);
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    width: 100%;
}

/* ── Footer: Total + Book Now ── */
.bv-drawer-footer {
    padding: 18px 24px;
    border-top: 2px solid var(--rd-gold);
    background: var(--rd-white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.bv-drawer-total {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--rd-font);
    font-size: 14px;
    color: var(--rd-text);
    margin: 0;
    white-space: nowrap;
}
.bv-drawer-total-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--rd-dark);
    letter-spacing: -0.5px;
}
/* Book Now button in footer — don't stretch full width */
.bv-drawer-footer .bv-btn {
    width: auto;
    flex: 1;
    max-width: 280px;
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(169,119,8,0.2);
}
.bv-drawer-footer .bv-btn:hover {
    box-shadow: 0 4px 16px rgba(169,119,8,0.25);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.bv-empty-state {
    text-align: center;
    padding: 60px 20px;
}
.bv-empty-state i {
    font-size: 48px;
    color: var(--rd-border);
    margin-bottom: 16px;
}
.bv-empty-state h2 {
    font-family: var(--rd-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--rd-dark);
    margin: 0 0 8px;
}
.bv-empty-state p {
    font-family: var(--rd-font);
    font-size: 14px;
    color: var(--rd-text-light);
    margin: 0 0 20px;
}

/* ============================================================
   FARE BREAKDOWN (shared between drawer + legacy)
   ============================================================ */
.bk-fare-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-family: var(--rd-font);
    font-size: 13px;
    color: #444;
    line-height: 1.4;
}
.bk-fare-row.is-total {
    font-weight: 700;
    font-size: 15px;
    color: var(--rd-dark);
    border-top: 2px solid var(--rd-dark);
    margin-top: 6px;
    padding-top: 10px;
}
/* Fare total in sidebar — gold highlight */
.bv-sidebar-fare .bk-fare-row.is-total {
    background: rgba(252,193,2,0.08);
    margin: 8px -16px -16px;
    padding: 12px 16px;
    border-top: 2px solid var(--rd-gold);
    border-radius: 0 0 var(--rd-radius) var(--rd-radius);
    font-size: 16px;
}
.bk-fare-disclaimer {
    font-size: 11px !important;
    color: #999 !important;
    padding: 4px 12px !important;
    margin: 2px 0 !important;
    line-height: 1.4 !important;
}

/* Fare rows inside the drawer get extra polish */
.bv-drawer .bk-fare-row {
    padding: 8px 12px;
    border-radius: 4px;
}
.bv-drawer .bk-fare-row:nth-child(even) {
    background: #fafaf8;
}
.bv-drawer .bk-fare-row.is-total {
    margin-top: 10px;
    padding: 12px;
    font-size: 15px;
    background: rgba(169,119,8,0.06);
    border-top: 2px solid var(--rd-gold);
    border-radius: 6px;
}

/* ============================================================
   STEP TRANSITIONS
   ============================================================ */
.bk-step-exit {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.bk-step-enter {
    animation: bkSlideIn 0.3s ease forwards;
}
@keyframes bkSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Step container for AJAX-injected content */
.bk-step-content {
    animation: bkSlideIn 0.3s ease forwards;
}

/* ============================================================
   BOOKING PAGE — BODY OVERRIDES
   ============================================================ */
body.booking-page {
    background: #f5f3f0;
    padding-top: 0 !important; /* override legacy nyc-style1.css body padding-top: 83.3px / 143.15px */
}

/* ============================================================
   BACK NAVIGATION
   ============================================================ */
.bk-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--rd-text-light);
    text-decoration: none;
    margin-bottom: 16px;
    cursor: pointer;
    transition: var(--rd-transition);
    background: none;
    border: none;
    padding: 0;
}
.bk-back-link:hover {
    color: var(--rd-dark);
}

/* ============================================================
   UTILITY CLASSES (legacy compatibility)
   ============================================================ */
.hide-div {
    display: none;
}

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1100px) {
    .bv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .bk-layout,
    .bk-layout.bk-layout--wide {
        grid-template-columns: 1fr;
    }
    .bk-sidebar {
        position: static;
        order: 1; /* sidebar below content on mobile */
    }
    .bv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Drawer */
    .bv-drawer {
        width: 100%;
    }
    .bv-drawer-columns {
        flex-direction: column;
    }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 768px) {
    /* Progress bar — adjust for 70px mobile header */
    .bk-progress {
        top: 70px;
    }
    .bk-step-label {
        display: none;
    }
    .bk-progress-connector {
        margin: 0 6px;
    }

    /* Vehicle grid — 2 columns on tablet */
    .bv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Cards — tighter on mobile */
    .bv-card-header {
        padding: 10px 12px;
    }
    .bv-card-name {
        font-size: 13px;
    }
    .bv-card-pills {
        padding: 6px 8px;
    }
    .bv-card-pill--spec {
        font-size: 12px;
        padding: 4px 8px;
    }
    .bv-card-pill--discount {
        font-size: 11px;
        padding: 3px 8px;
    }
    .bv-card-body {
        padding: 10px 12px;
    }
    .bv-card-actions {
        padding: 0 12px 10px;
        gap: 6px;
    }
    .bv-card-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    /* Leg headers — compact on mobile */
    .bv-leg-header {
        padding: 14px 16px;
    }
    .bv-leg-header-title {
        font-size: 13px;
    }
    .bv-leg-header-route {
        font-size: 14px;
    }
    .bv-leg-header-meta {
        font-size: 11px;
    }

    /* Sidebar — full width stacked */
    .bk-trip-summary {
        padding: 16px;
    }
}

@media (max-width: 600px) {
    .bk-progress-inner {
        padding: 12px 16px;
    }
    .bk-step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .bk-progress-connector {
        margin: 0 4px;
    }

    .bk-container {
        padding: 0 12px;
    }
    .bk-main {
        padding: 16px 0 40px;
    }

    /* Vehicle grid — single column on phones */
    .bv-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .bv-section-title {
        font-size: 18px;
    }

    /* Cards — horizontal layout on single column */
    .bv-card {
        display: grid;
        grid-template-columns: 120px 1fr;
        grid-template-rows: auto auto;
    }
    .bv-card-header {
        grid-column: 1 / -1;
        padding: 8px 14px;
    }
    .bv-card-name {
        font-size: 13px;
    }
    .bv-card-img-wrap {
        grid-row: 2 / 4;
        aspect-ratio: auto;
        padding: 8px;
    }
    .bv-card-pills {
        grid-column: 1 / -1;
        order: 10;
    }
    .bv-card-body {
        padding: 8px 12px;
    }
    .bv-card-actions {
        padding: 4px 12px 10px;
    }
    .bv-card-btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .bv-card-price-current {
        font-size: 22px;
    }

    .bk-trip-summary {
        padding: 14px;
    }

    .bv-map-container {
        height: 200px;
    }

    .bv-form-card-body {
        padding: 16px;
    }

    /* Leg header — tighter */
    .bv-leg-header {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .bv-form-card-body {
        padding: 12px;
    }
    .bk-container {
        padding: 0 8px;
    }
    .bv-card-price-current {
        font-size: 20px;
    }
    .bv-section-title {
        font-size: 16px;
    }
    .bv-drawer-footer {
        padding: 14px 16px;
    }
    .bv-drawer-total-price {
        font-size: 22px;
    }

    /* Cards — even more compact */
    .bv-card {
        grid-template-columns: 100px 1fr;
    }
    .bv-card-img-wrap {
        padding: 6px;
    }
    .bv-card-body {
        padding: 6px 10px;
    }
    .bv-card-actions {
        padding: 4px 10px 8px;
    }
}

/* ============================================================
   RESPONSIVE — Very small mobile
   ============================================================ */
@media (max-width: 400px) {
    .bk-step-label {
        display: none; /* show only numbers on tiny screens */
    }
    .bk-progress-inner {
        max-width: 200px;
    }
}

/* ============================================================
   BOOTSTRAP PROTECTION — Prevent legacy CSS from breaking
   V2 elements (drawer, cards, buttons, header, nav).
   These rules use !important to override Bootstrap's resets.
   ============================================================ */

/* ── DRAWER: Complete Bootstrap/Legacy Protection ──────────── */
/* Every drawer element protected with !important so Bootstrap,
   NYC1.css, and nyc-style1.css cannot override anything.       */

/* Shell */
.bv-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 860px !important;
    max-width: 100% !important;
    background: #f8f8f8 !important;
    z-index: 950 !important;
    box-shadow: -10px 0 40px rgba(0,0,0,0.22) !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    float: none !important;
}
.bv-drawer.is-open { transform: translateX(0) !important; }
.bv-drawer-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.4) !important;
    z-index: 900 !important;
}
.bv-drawer-overlay.is-open {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Header */
.bv-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    background: var(--rd-dark) !important;
    flex-shrink: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    border-bottom: 3px solid var(--rd-gold) !important;
    border: none !important;
}
.bv-drawer h3.bv-drawer-title,
.bv-drawer .bv-drawer-title {
    font-family: var(--rd-font) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--rd-white) !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.3px !important;
    line-height: 1.4 !important;
    border: none !important;
    float: none !important;
}

/* Close button */
.bv-drawer .bv-drawer-close {
    position: absolute !important;
    top: 12px !important;
    right: 14px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: var(--rd-white) !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    color: var(--rd-dark) !important;
    z-index: 20 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}
.bv-drawer .bv-drawer-close:hover {
    background: var(--rd-dark) !important;
    color: var(--rd-white) !important;
}
.bv-drawer-header .bv-drawer-close {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    background: rgba(255,255,255,0.15) !important;
    color: var(--rd-white) !important;
    box-shadow: none !important;
}
.bv-drawer-header .bv-drawer-close:hover {
    background: rgba(255,255,255,0.3) !important;
}

/* Body */
.bv-drawer-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Two-column layout */
.bv-drawer-columns {
    display: flex !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.bv-drawer-single .bv-drawer-col-right {
    flex: 1 1 100% !important;
    max-width: 100% !important;
}
.bv-drawer-col-left {
    flex: 1 !important;
    border-right: 1px solid #e8e4df !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--rd-white) !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.bv-drawer-col-right {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    background: var(--rd-white) !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Column headers (dark bars) */
.bv-drawer .bv-drawer-col-header {
    font-family: var(--rd-font) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--rd-white) !important;
    background: var(--rd-dark) !important;
    padding: 14px 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    border: none !important;
    line-height: 1.4 !important;
}

/* Column body padding */
.bv-drawer .bv-drawer-col-body {
    padding: 20px !important;
    flex: 1 !important;
    margin: 0 !important;
}

/* Vehicle image */
.bv-drawer .bv-drawer-img {
    text-align: center !important;
    margin-bottom: 16px !important;
    padding: 10px 0 !important;
}
.bv-drawer .bv-drawer-img img {
    max-width: 100% !important;
    max-height: 160px !important;
    object-fit: contain !important;
    border: none !important;
}

/* Specs row */
.bv-drawer .bv-drawer-specs {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #e8e8e8 !important;
    font-size: 13px !important;
    color: #555 !important;
    font-family: var(--rd-font) !important;
}
.bv-drawer .bv-drawer-specs span {
    font-family: var(--rd-font) !important;
    font-size: 13px !important;
}

/* Discount callout */
.bv-drawer .bv-drawer-discount {
    font-family: var(--rd-font) !important;
    font-size: 13px !important;
    color: var(--rd-dark) !important;
    font-weight: 600 !important;
    margin: 0 0 16px !important;
    padding: 10px 14px !important;
    background: rgba(169,119,8,0.08) !important;
    border-left: 3px solid var(--rd-gold) !important;
    border-radius: 0 6px 6px 0 !important;
}

/* Fare sub-header */
.bv-drawer .bv-drawer-fare-header {
    font-family: var(--rd-font) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--rd-white) !important;
    background: var(--rd-dark) !important;
    padding: 10px 20px !important;
    margin: 16px -20px 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

/* Fare rows */
.bv-drawer .bk-fare-row {
    display: flex !important;
    justify-content: space-between !important;
    padding: 8px 12px !important;
    font-family: var(--rd-font) !important;
    font-size: 13px !important;
    margin: 0 !important;
    border-radius: 4px !important;
}
.bv-drawer .bk-fare-row:nth-child(even) {
    background: #fafaf8 !important;
}
.bv-drawer .bk-fare-row.is-total {
    margin-top: 10px !important;
    padding: 12px !important;
    font-size: 15px !important;
    border-top: 2px solid var(--rd-gold) !important;
    font-weight: 700 !important;
    background: rgba(169,119,8,0.06) !important;
    border-radius: 6px !important;
}

/* Amenity labels (Bootstrap: label = inline-block, bold) */
.bv-drawer label,
.bv-drawer .bv-drawer-amenity-label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: var(--rd-font) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    max-width: none !important;
    margin-bottom: 0 !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #eee !important;
    cursor: pointer !important;
    color: var(--rd-text) !important;
    position: relative !important;
    float: none !important;
    width: auto !important;
}
.bv-drawer .bv-drawer-amenity-label:last-child {
    border-bottom: none !important;
}
.bv-drawer .bv-drawer-amenity-label span {
    flex: 1 !important;
    font-weight: 500 !important;
    font-family: var(--rd-font) !important;
}
.bv-drawer .bv-drawer-amenity-label small {
    font-size: 12px !important;
    font-family: var(--rd-font) !important;
}

/* Color labels */
.bv-drawer .bv-drawer-color-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
    padding: 8px 14px !important;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
    cursor: pointer !important;
    font-family: var(--rd-font) !important;
    font-size: 13px !important;
}

/* Select dropdowns */
.bv-drawer select,
.bv-drawer .bv-amenity-qty,
.bv-drawer .bv-drawer-color-select {
    font-family: var(--rd-font) !important;
    font-size: 13px !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
    background: var(--rd-white) !important;
    height: auto !important;
    box-shadow: none !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    min-width: 60px !important;
    cursor: pointer !important;
}

/* Radio & checkbox */
.bv-drawer input[type="radio"],
.bv-drawer input[type="checkbox"] {
    accent-color: var(--rd-gold) !important;
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
}

/* Footer: total + Book Now */
.bv-drawer-footer {
    padding: 18px 24px !important;
    border-top: 2px solid var(--rd-gold) !important;
    background: var(--rd-white) !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08) !important;
    margin: 0 !important;
}
.bv-drawer p.bv-drawer-total,
.bv-drawer .bv-drawer-total {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    font-family: var(--rd-font) !important;
    font-size: 14px !important;
    color: var(--rd-text) !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}
.bv-drawer .bv-drawer-total-price {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--rd-dark) !important;
    letter-spacing: -0.5px !important;
}
.bv-drawer-footer .bv-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    flex: 1 !important;
    max-width: 280px !important;
    padding: 14px 28px !important;
    font-family: var(--rd-font) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    box-shadow: 0 2px 8px rgba(169,119,8,0.2) !important;
    text-decoration: none !important;
}
.bv-drawer-footer .bv-btn--gold {
    background: var(--rd-gold) !important;
    color: #fff !important;
}
.bv-drawer-footer .bv-btn--gold:hover {
    background: var(--rd-gold-hover) !important;
    box-shadow: 0 4px 12px rgba(169,119,8,0.2) !important;
}

/* Tooltip */
.bv-drawer .bv-amenity-info {
    color: var(--rd-gold) !important;
    font-size: 12px !important;
    cursor: help !important;
    opacity: 0.4 !important;
}
.bv-drawer .bv-amenity-tooltip {
    display: none !important;
    position: absolute !important;
    left: 12px !important;
    top: calc(100% + 4px) !important;
    width: 260px !important;
    padding: 10px 14px !important;
    background: #251f25 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3) !important;
    z-index: 300 !important;
}
.bv-drawer .bv-drawer-amenity-label:hover .bv-amenity-tooltip {
    display: block !important;
}
.bv-drawer .bv-drawer-amenity-label:hover .bv-amenity-info {
    opacity: 1 !important;
}

/* Vehicle cards: button protection */
.bv-card-actions .bv-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 12px 20px !important;
    font-family: var(--rd-font) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: var(--rd-radius-sm) !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    width: 100% !important;
}
.bv-card-actions .bv-btn--gold {
    background: var(--rd-gold) !important;
    color: #fff !important;
    border: none !important;
}
.bv-card-actions .bv-btn--gold:hover {
    background: var(--rd-gold-hover) !important;
}
.bv-card-actions .bv-btn--outline {
    background: transparent !important;
    color: var(--rd-text) !important;
    border: 1px solid var(--rd-border) !important;
}
.bv-card-actions .bv-btn--outline:hover {
    border-color: var(--rd-gold) !important;
    color: var(--rd-gold) !important;
}

/* Header/Nav protection */
.site-header,
.site-header *,
.site-nav,
.site-nav * {
    box-sizing: border-box;
}
.site-header .site-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
.site-nav .site-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.site-nav .site-nav-list li a {
    text-decoration: none !important;
}

/* Ticker protection */
.ticker-bar {
    position: relative !important;
    z-index: 100 !important;
}

/* Progress bar protection */
.bk-progress {
    position: sticky !important;
    z-index: 400 !important;
}

/* ============================================================
   STEP 3 & 4 — FORM CARDS & LAYOUT
   ============================================================ */

/* Page title — sits above the grid inside .bk-container */
.bv-page-title {
    margin: 0 0 14px;
}
.bv-page-title-text {
    font-family: var(--rd-font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--rd-text);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.bv-page-title-text i {
    color: var(--rd-gold);
    font-size: 20px;
}
.bv-page-title-sub {
    font-family: var(--rd-font);
    font-size: 14px;
    color: var(--rd-text-light);
    margin: 0;
}
/* Legacy: Step 3 injects an h2.bv-page-title directly */
h2.bv-page-title {
    font-family: var(--rd-font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--rd-text);
    display: flex;
    align-items: center;
    gap: 10px;
}
h2.bv-page-title i {
    color: var(--rd-gold);
    font-size: 20px;
}

/* Form card */
.bv-form-card {
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    border-left: 3px solid var(--rd-gold);
    overflow: visible;
}
/* Leg labels for round-trip (Outbound / Return) */
.bv-leg-label {
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rd-gold);
    background: var(--rd-dark);
    padding: 10px 16px;
    border-radius: var(--rd-radius);
    margin-bottom: 16px;
}
.bv-leg-label i {
    margin-right: 6px;
}
.bv-leg-label--return {
    background: #2d2435;
    margin-top: 8px;
}
/* Return schedule summary strip */
.bv-return-schedule {
    margin-bottom: 16px;
    border-left-color: #7c6fa0;
}
.bv-return-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--rd-font);
    font-size: 13px;
    color: var(--rd-text);
}
.bv-return-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.bv-return-meta i {
    color: var(--rd-gold);
    font-size: 12px;
}

/* --- Collapsible fare breakdown toggle (inside header) --- */
.bv-fare-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--rd-font);
    font-size: 11px;
    font-weight: 600;
    color: var(--rd-gold);
    padding: 0;
    margin-left: auto;
    white-space: nowrap;
}
.bv-fare-toggle:hover {
    color: var(--rd-gold-hover, #e0ab00);
}
.bv-fare-toggle i {
    margin-right: 3px;
    font-size: 9px;
}
.bv-fare-details {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--rd-border);
}

.bv-form-card-header {
    background: var(--rd-dark);
    color: #F5F3EE;
    font-family: var(--rd-font);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    border-radius: var(--rd-radius) var(--rd-radius) 0 0;
}
.bv-form-card-header i {
    color: var(--rd-gold);
    font-size: 14px;
}
.bv-form-card-body {
    padding: 20px;
}

/* Form rows */
.bv-form-row {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}
.bv-form-row:last-child {
    margin-bottom: 0;
}
.bv-form-row--3col > .bv-form-group {
    flex: 1;
}

/* Form group */
.bv-form-group {
    flex: 1;
    min-width: 0;
}
.bv-form-label {
    display: block;
    font-family: var(--rd-font);
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}
.bv-form-label small {
    text-transform: none;
    font-weight: 400;
    color: #aaa;
}

/* Form controls */
.bv-form-control {
    width: 100%;
    padding: 9px 12px;
    font-family: var(--rd-font);
    font-size: 14px;
    color: var(--rd-text);
    background: var(--rd-white);
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    outline: none;
}
.bv-form-control:focus {
    border-color: var(--rd-gold);
    box-shadow: 0 0 0 3px rgba(169,119,8,0.1);
}
.bv-form-control.bv-error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}
.bv-form-error {
    font-family: var(--rd-font);
    font-size: 11px;
    color: #e74c3c;
    margin-top: 4px;
}

/* Select styling */
.bv-form-select {
    appearance: auto;
    cursor: pointer;
}

/* Textarea */
.bv-form-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Radio pills */
.bv-radio-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.bv-radio-pill {
    display: inline-flex;
    cursor: pointer;
}
.bv-radio-pill input[type="radio"] {
    display: none;
}
.bv-radio-pill span {
    display: inline-block;
    padding: 8px 16px;
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--rd-text-light);
    background: var(--rd-light);
    border: 1px solid var(--rd-border);
    border-radius: 20px;
    transition: all 0.2s ease;
}
.bv-radio-pill input[type="radio"]:checked + span {
    background: var(--rd-gold);
    color: #fff;
    border-color: var(--rd-gold);
}
.bv-radio-pill:hover span {
    border-color: var(--rd-gold);
}

/* Meeting / waiting info boxes */
.bv-meeting-info,
.bv-waiting-info {
    padding: 12px 16px;
    border-radius: var(--rd-radius-sm);
    font-family: var(--rd-font);
    font-size: 13px;
    line-height: 1.5;
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.bv-meeting-info {
    background: rgba(169,119,8,0.06);
    color: var(--rd-text);
    border: 1px solid rgba(169,119,8,0.15);
}
.bv-meeting-info i {
    color: var(--rd-gold);
    flex-shrink: 0;
    margin-top: 2px;
}
.bv-waiting-info {
    background: #f0f7ff;
    color: #2c5282;
    border: 1px solid #bee3f8;
}
.bv-waiting-info i {
    color: #3182ce;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Time display row (driver on location, free waiting, pickup time) */
.bv-time-displays {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    padding: 12px 16px;
    background: var(--rd-light);
    border-radius: var(--rd-radius-sm);
    border: 1px solid var(--rd-border);
}
.bv-time-display-item {
    flex: 1;
    text-align: center;
}
.bv-time-display-item .bv-form-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rd-text-light);
    margin-bottom: 4px;
}
.bv-time-value {
    display: block;
    font-family: var(--rd-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--rd-dark);
}

/* Location display (non-airport) */
.bv-location-display {
    padding: 10px 14px;
    background: var(--rd-light);
    border-radius: var(--rd-radius-sm);
    font-family: var(--rd-font);
    font-size: 14px;
    color: var(--rd-text);
    margin-bottom: 14px;
    border-left: 3px solid var(--rd-gold);
}

/* Form divider */
.bv-form-divider {
    font-family: var(--rd-font);
    font-size: 12px;
    font-weight: 600;
    color: var(--rd-gold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 12px 0 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--rd-border);
}

/* Large button variant */
.bv-btn--lg {
    padding: 16px 24px;
    font-size: 15px;
    margin-top: 12px;
}

/* Secure note */
/* Payment policy info card */
.bv-policy-card {
    border-left: 4px solid var(--rd-gold, #fcc102);
    background: #fefdf5;
}
.bv-policy-card .bv-form-card-header {
    background: transparent;
    color: var(--rd-dark, #251f25);
    font-size: 15px;
}
.bv-policy-card .bv-form-card-body p {
    font-family: var(--rd-font);
    font-size: 13.5px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 10px 0;
}
.bv-policy-card .bv-form-card-body p:last-child {
    margin-bottom: 0;
}
.bv-policy-card .bv-form-card-body a {
    color: var(--rd-gold, #fcc102);
    font-weight: 600;
    text-decoration: none;
}
.bv-policy-card .bv-form-card-body a:hover {
    text-decoration: underline;
}

/* Service Agreement Checkbox */
.bv-agreement {
    margin: 16px 0;
}
.bv-agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--rd-font);
    font-size: 13px;
    color: var(--rd-text);
    cursor: pointer;
    line-height: 1.4;
}
.bv-agreement-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    flex-shrink: 0;
    accent-color: var(--rd-gold);
    cursor: pointer;
}
.bv-agreement-label a {
    color: var(--rd-gold);
    text-decoration: underline;
}
.bv-agreement-label a:hover {
    color: var(--rd-gold-hover);
}
.bv-agreement-error {
    display: none;
    font-family: var(--rd-font);
    font-size: 12px;
    color: #dc3545;
    margin-top: 4px;
    padding-left: 26px;
}

.bv-secure-note {
    font-family: var(--rd-font);
    font-size: 12px;
    color: var(--rd-text-light);
    text-align: center;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.bv-secure-note i {
    color: #27ae60;
}

/* ── Saved Card (compact view for returning users) ── */
.bv-saved-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.bv-saved-card-info {
    flex: 1;
    min-width: 0;
}
.bv-saved-card-line {
    font-family: var(--rd-font);
    font-size: 15px;
    color: var(--bk-text, #1a1a1a);
    margin-bottom: 4px;
}
.bv-saved-card-line i {
    color: var(--rd-gold, #A97708);
    margin-right: 6px;
}
.bv-saved-card-detail {
    font-family: var(--rd-font);
    font-size: 13px;
    color: #888;
}

/* ============================================================
   STEP 5 — REVIEW PAGE (full-width, no sidebar)
   ============================================================ */
.bv-review {
    max-width: 900px;
    margin: 0 auto;
}

/* Review grid — 2 columns for label/value pairs */
.bv-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.bv-review-item {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.bv-review-item--full {
    grid-column: 1 / -1;
}
.bv-review-label {
    font-family: var(--rd-font);
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.bv-review-label i {
    color: var(--rd-gold);
    font-size: 11px;
    width: 14px;
    text-align: center;
}
.bv-review-value {
    font-family: var(--rd-font);
    font-size: 14px;
    color: var(--rd-text);
    font-weight: 500;
    word-break: break-word;
}

/* Vehicle + Fare side-by-side */
.bv-review-vehicle {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.bv-review-vehicle-left {
    flex: 0 0 260px;
    text-align: center;
}
.bv-review-vehicle-img {
    background: #fff;
    padding: 10px;
    margin-bottom: 10px;
}
.bv-review-vehicle-img img {
    width: 100%;
    max-width: 220px;
    height: auto;
}
.bv-review-vehicle-name {
    font-family: var(--rd-font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--rd-text);
    margin: 0 0 8px;
}
.bv-review-vehicle-specs {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-family: var(--rd-font);
    font-size: 12px;
    color: var(--rd-text-light);
}
.bv-review-vehicle-specs span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--rd-light);
    padding: 4px 10px;
    border-radius: 12px;
}
.bv-review-vehicle-specs i {
    color: var(--rd-gold);
}
.bv-review-vehicle-right {
    flex: 1;
    min-width: 0;
}
.bv-review-fare-title {
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--rd-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--rd-gold);
}

/* Review footer — total + buttons */
.bv-review-footer {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 8px;
}
.bv-review-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--rd-dark);
    color: #F5F3EE;
    padding: 20px 24px;
    border-radius: var(--rd-radius);
    margin-bottom: 16px;
}
.bv-review-total-label {
    font-family: var(--rd-font);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bv-review-total-amount {
    font-family: var(--rd-font);
    font-size: 28px;
    font-weight: 700;
    color: var(--rd-gold);
}

/* Disabled button state */
.bv-btn--disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

/* Review responsive */
@media (max-width: 768px) {
    .bv-review-grid {
        grid-template-columns: 1fr;
    }
    .bv-review-vehicle {
        flex-direction: column;
        gap: 16px;
    }
    .bv-review-vehicle-left {
        flex: none;
        width: 100%;
    }
    .bv-review-total {
        padding: 16px 18px;
    }
    .bv-review-total-amount {
        font-size: 22px;
    }
}

/* ============================================================
   STEP 3 & 4 — SIDEBAR
   ============================================================ */

/* --- Sidebar vehicle card: compact horizontal layout --- */
.bv-sidebar-vehicle {
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border: 1px solid var(--rd-border);
    border-left: 3px solid var(--rd-gold);
    overflow: hidden;
}
.bv-sidebar-vehicle-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
}
.bv-sidebar-vehicle-thumb {
    width: 130px;
    flex-shrink: 0;
}
.bv-sidebar-vehicle-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.bv-sidebar-vehicle-info {
    flex: 1;
    min-width: 0;
}
.bv-sidebar-vehicle-name {
    font-family: var(--rd-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--rd-text);
    margin: 0 0 6px;
    line-height: 1.3;
}
.bv-sidebar-vehicle-specs {
    display: flex;
    gap: 10px;
    font-family: var(--rd-font);
    font-size: 13px;
    color: var(--rd-text-light);
}
.bv-sidebar-vehicle-specs span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--rd-light);
    padding: 3px 8px;
    border-radius: 10px;
}
.bv-sidebar-vehicle-specs i {
    color: var(--rd-gold);
    font-size: 12px;
}

/* --- Fare & Trip cards --- */
.bv-sidebar-fare,
.bv-sidebar-trip {
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--rd-border);
    border-left: 3px solid var(--rd-gold);
    padding: 16px;
    margin-bottom: 20px;
}
.bv-sidebar-card-title {
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--rd-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--rd-gold);
    display: flex;
    align-items: center;
    gap: 8px;
}
.bv-sidebar-card-title i {
    color: var(--rd-gold);
    font-size: 13px;
}
/* Keep legacy .bv-sidebar-fare-title working */
.bv-sidebar-fare-title {
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--rd-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--rd-gold);
}
.bv-sidebar-fare .bv-sidebar-card-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 8px;
}
.bv-sidebar-fare .bk-fare-disclaimer {
    margin-top: 10px !important;
}
.bv-sidebar-trip-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    font-family: var(--rd-font);
    font-size: 13px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.bv-sidebar-trip-row:last-child {
    border-bottom: none;
}
.bv-sidebar-trip-row span:first-child {
    color: var(--rd-text-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.bv-sidebar-trip-row span:first-child i {
    color: var(--rd-gold);
    font-size: 12px;
    width: 14px;
    text-align: center;
}
.bv-sidebar-trip-row span:last-child {
    color: var(--rd-text);
    text-align: right;
    word-break: break-word;
    font-weight: 500;
}

/* --- Help card --- */
.bv-sidebar-help {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: var(--rd-dark);
    border-radius: var(--rd-radius);
    font-family: var(--rd-font);
}
.bv-sidebar-help-icon {
    width: 44px;
    height: 44px;
    background: rgba(252,193,2,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bv-sidebar-help-icon i {
    font-size: 20px;
    color: var(--rd-gold);
}
.bv-sidebar-help i {
    font-size: 20px;
    color: var(--rd-gold);
    flex-shrink: 0;
}
.bv-sidebar-help-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bv-sidebar-help-text strong {
    color: #F5F3EE;
    font-size: 14px;
}
.bv-sidebar-help-text span {
    color: #999;
    font-size: 12px;
}
.bv-sidebar-help a {
    color: var(--rd-gold);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.bv-sidebar-help a:hover {
    color: var(--rd-gold-hover);
}

/* --- Round-trip sidebar leg groups --- */
.bv-sidebar-leg-group {
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius);
    background: rgba(255,255,255,0.02);
    margin-bottom: 24px;
    overflow: hidden;
}
.bv-sidebar-leg-group--return {
    border-color: rgba(124,111,160,0.3);
}
.bv-sidebar-leg-header {
    background: var(--rd-dark);
    color: var(--rd-gold);
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.bv-sidebar-leg-header--return {
    background: #2d2435;
}
.bv-sidebar-leg-group .bv-sidebar-vehicle,
.bv-sidebar-leg-group .bv-sidebar-fare,
.bv-sidebar-leg-group .bv-sidebar-trip {
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--rd-border);
    margin-bottom: 0;
    border-left: none;
}
.bv-sidebar-leg-group .bv-sidebar-fare:last-child,
.bv-sidebar-leg-group .bv-sidebar-trip:last-child {
    border-bottom: none;
}
/* Tighter spacing inside leg groups */
.bv-sidebar-leg-group .bv-sidebar-trip {
    padding: 12px 16px;
}
.bv-sidebar-leg-group .bv-sidebar-trip-row {
    padding: 5px 0;
    font-size: 12px;
}
.bv-sidebar-leg-group .bv-sidebar-fare {
    padding: 12px 16px;
}
.bv-sidebar-leg-group .bv-sidebar-card-title {
    font-size: 11px;
    margin-bottom: 8px;
    padding-bottom: 6px;
}
/* Reset fare total rounding inside groups */
.bv-sidebar-leg-group .bv-sidebar-fare .bk-fare-row.is-total {
    border-radius: 0;
    margin: 6px -12px -12px;
    padding: 10px 12px;
    font-size: 14px;
}

/* ============================================================
   STEP 3 & 4 — RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .bv-form-row {
        flex-wrap: wrap;
    }
    .bv-form-row > .bv-form-group {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
    .bv-radio-pills {
        flex-wrap: wrap;
    }
    .bv-sidebar-vehicle-thumb {
        width: 100px;
    }
}

/* Custom suggest dropdown (replaces jQuery UI autocomplete) */
.bv-suggest-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    max-height: 250px;
    overflow-y: auto;
    background: var(--rd-white);
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius-sm);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 1000;
    font-family: var(--rd-font);
    font-size: 13px;
}
.bv-suggest-item {
    padding: 9px 14px;
    cursor: pointer;
    border-bottom: 1px solid var(--rd-border);
    color: var(--rd-text);
    transition: background 0.1s ease;
}
.bv-suggest-item:last-child {
    border-bottom: none;
}
.bv-suggest-item:hover,
.bv-suggest-item.is-highlighted {
    background: rgba(169,119,8,0.08);
    color: var(--rd-dark);
}

/* Timepicker dropdown styling */
.ui-timepicker-wrapper {
    max-height: 250px;
    overflow-y: auto;
    background: var(--rd-white);
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius-sm);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}
.ui-timepicker-wrapper .ui-timepicker-list li {
    padding: 6px 14px;
    font-family: var(--rd-font);
    font-size: 13px;
    cursor: pointer;
}
.ui-timepicker-wrapper .ui-timepicker-list li:hover {
    background: rgba(169,119,8,0.08);
}

/* ============================================================
   THANK YOU — UNIFIED CONFIRMATION CARD
   One card, sectioned by thin dividers. Like an Uber receipt
   or airline boarding pass — everything in one scannable view.
   ============================================================ */
.bv-thankyou {
    max-width: 640px;
    margin: 0 auto;
}

/* Dev mode banner (above card) */
.bv-ty-dev-banner {
    background: #f39c12;
    color: #fff;
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 8px 16px;
    border-radius: var(--rd-radius) var(--rd-radius) 0 0;
    margin-bottom: 0;
}
.bv-ty-dev-banner + .bv-ty-card {
    border-radius: 0 0 var(--rd-radius) var(--rd-radius);
}

/* The card */
.bv-ty-card {
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* ── Confirmation header ── */
.bv-ty-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 28px 24px;
    border-bottom: 1px solid var(--rd-border);
}
.bv-ty-check {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: #27ae60;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.bv-ty-header-text {
    flex: 1;
}
.bv-ty-title {
    font-family: var(--rd-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--rd-dark);
    margin: 0 0 4px;
}
.bv-ty-conf-no {
    font-family: var(--rd-font);
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    letter-spacing: 0.5px;
}

/* ── Generic section divider ── */
.bv-ty-section {
    padding: 18px 28px;
    border-bottom: 1px solid var(--rd-border);
    font-family: var(--rd-font);
    font-size: 14px;
    color: var(--rd-dark);
}
.bv-ty-section:last-child {
    border-bottom: none;
}
.bv-ty-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rd-text-light);
    margin-bottom: 10px;
}

/* ── Date/Time row ── */
.bv-ty-datetime {
    font-size: 15px;
    font-weight: 600;
    color: var(--rd-dark);
}
.bv-ty-datetime i {
    color: var(--rd-gold);
    margin-right: 4px;
}
.bv-ty-service {
    font-size: 13px;
    color: var(--rd-text-light);
    margin-top: 2px;
}

/* ── Route (From → To) ── */
.bv-ty-route {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.bv-ty-route-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.bv-ty-route-dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
    border-radius: 50%;
    margin-top: 3px;
}
.bv-ty-route-dot--from {
    background: var(--rd-gold);
    box-shadow: 0 0 0 3px rgba(252,193,2,0.25);
}
.bv-ty-route-dot--to {
    background: var(--rd-dark);
    box-shadow: 0 0 0 3px rgba(37,31,37,0.15);
}
.bv-ty-route-text {
    display: flex;
    flex-direction: column;
}
.bv-ty-route-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--rd-text-light);
    text-transform: uppercase;
}
.bv-ty-route-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--rd-dark);
    line-height: 1.4;
}
.bv-ty-route-line {
    margin-left: 6px;
    padding: 4px 0 4px 20px;
    border-left: 2px dashed var(--rd-border);
    min-height: 20px;
}
.bv-ty-route-meta {
    font-size: 12px;
    color: var(--rd-text-light);
}

/* ── Vehicle row ── */
.bv-ty-vehicle-section {
    background: var(--rd-light);
}
.bv-ty-vehicle {
    display: flex;
    align-items: center;
    gap: 16px;
}
.bv-ty-vehicle-img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}
.bv-ty-vehicle-info {
    flex: 1;
}
.bv-ty-vehicle-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--rd-dark);
}
.bv-ty-vehicle-specs {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: var(--rd-text-light);
    margin-top: 2px;
}
.bv-ty-vehicle-specs i {
    color: var(--rd-gold);
    margin-right: 3px;
}

/* ── Info rows (passenger, contact, flight) ── */
.bv-ty-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 3px 0;
    font-size: 14px;
    color: var(--rd-dark);
}
.bv-ty-info-row i {
    color: var(--rd-gold);
    width: 16px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}
.bv-ty-info-row--muted {
    color: var(--rd-text-light);
    font-size: 13px;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px dashed var(--rd-border);
}

/* ── Notes (airport waiting time, etc.) ── */
.bv-ty-note {
    background: var(--rd-light);
    border-radius: var(--rd-radius-sm);
    padding: 10px 14px;
    font-size: 12px;
    color: var(--rd-text-light);
    line-height: 1.6;
    margin-top: 10px;
}
.bv-ty-note strong {
    color: var(--rd-dark);
}

/* ── Fare section (reuses existing .bk-fare-row) ── */
.bv-ty-fare-section {
    padding-top: 14px;
    padding-bottom: 14px;
}

/* ── Email confirmation line ── */
.bv-ty-email-section {
    text-align: center;
    font-size: 13px;
    color: var(--rd-text-light);
    padding: 14px 28px;
}
.bv-ty-email-section i {
    color: #27ae60;
    margin-right: 4px;
}
.bv-ty-email-section strong {
    color: var(--rd-dark);
}

/* ── Highlight summary (the at-a-glance info) ── */
.bv-ty-highlight {
    padding: 20px 28px;
    border-bottom: 1px solid var(--rd-border);
}
.bv-ty-highlight-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--rd-font);
    font-size: 15px;
    color: var(--rd-dark);
    margin-bottom: 16px;
}
.bv-ty-highlight-row i {
    color: var(--rd-gold);
}
.bv-ty-highlight-sep {
    margin: 0 6px;
    color: var(--rd-text-light);
}
.bv-ty-highlight-route {
    margin-bottom: 16px;
}
.bv-ty-highlight-vehicle {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--rd-light);
    border-radius: var(--rd-radius-sm, 6px);
    padding: 12px 16px;
}
.bv-ty-highlight-total {
    margin-left: auto;
    font-family: var(--rd-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--rd-dark);
    white-space: nowrap;
}

/* ── "View Details" toggle ── */
.bv-ty-details-toggle {
    text-align: center;
    padding: 12px 28px;
    border-bottom: 1px solid var(--rd-border);
}
.bv-ty-details-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--rd-gold, #fcc102);
    padding: 6px 16px;
    transition: color 0.2s;
}
.bv-ty-details-btn:hover {
    color: var(--rd-gold-hover, #e0ab00);
}
.bv-ty-details-btn i {
    margin-right: 4px;
    transition: transform 0.2s;
}

/* ── Thank you / next steps card ── */
.bv-ty-next-steps {
    margin-bottom: 28px;
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 32px 28px;
    text-align: center;
    font-family: var(--rd-font);
}
.bv-ty-next-steps-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rd-gold, #fcc102);
    color: var(--rd-dark, #251f25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}
.bv-ty-next-steps-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--rd-dark);
    margin: 0 0 8px;
}
.bv-ty-next-steps-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    max-width: 560px;
    margin: 0 auto 24px;
}
.bv-ty-next-steps-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
}
.bv-ty-next-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--rd-border, #eee);
}
.bv-ty-next-step:first-child {
    border-top: none;
}
.bv-ty-next-step-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--rd-dark, #251f25);
    color: var(--rd-gold, #fcc102);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}
.bv-ty-next-step-text {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
    padding-top: 3px;
}
.bv-ty-next-step-text strong {
    color: var(--rd-dark);
}
.bv-ty-next-step-text a {
    color: var(--rd-gold, #fcc102);
    font-weight: 600;
    text-decoration: none;
}
.bv-ty-next-step-text a:hover {
    text-decoration: underline;
}

/* ── Connecting transfer offer ── */
.bv-ty-offer {
    margin-top: 16px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--rd-white);
    border: 2px solid var(--rd-gold, #fcc102);
    border-radius: var(--rd-radius);
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(252,193,2,0.12);
}
.bv-ty-offer-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--rd-gold, #fcc102);
    color: var(--rd-dark, #251f25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.bv-ty-offer-content {
    flex: 1;
    font-family: var(--rd-font);
}
.bv-ty-offer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--rd-dark);
    margin-bottom: 4px;
}
.bv-ty-offer-content p {
    font-size: 13.5px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 12px;
}
.bv-ty-offer .bv-btn--sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ── ECL payload (dev only, outside card) ── */
.bv-ty-ecl-panel {
    margin-top: 20px;
    border: 2px dashed #f39c12;
    border-radius: var(--rd-radius);
    overflow: hidden;
}
.bv-ty-ecl-header {
    background: #2c3e50;
    color: #ecf0f1;
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
}
.bv-ty-ecl-payload {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.5;
    color: #ecf0f1;
    background: #2c3e50;
    padding: 16px 20px;
    margin: 0;
    overflow-x: auto;
    max-height: 500px;
    overflow-y: auto;
    white-space: pre;
}

/* ── Action buttons ── */
.bv-ty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}
.bv-ty-actions .bv-btn {
    min-width: 200px;
    text-align: center;
    text-decoration: none;
}

/* ── Hourly Bar (above vehicle grid) ── */
.bv-hourly-bar {
    background: var(--rd-dark, #251f25);
    border-radius: var(--rd-radius);
    margin-bottom: 20px;
    overflow: hidden;
}
.bv-hourly-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    gap: 16px;
    flex-wrap: wrap;
}
.bv-hourly-bar-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--rd-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--rd-white, #fff);
}
.bv-hourly-bar-info > i {
    color: var(--rd-gold, #fcc102);
    font-size: 16px;
}
.bv-hourly-bar-sep {
    color: rgba(255,255,255,0.35);
    font-weight: 400;
}
.bv-hourly-bar-event {
    color: var(--rd-gold, #fcc102);
    font-weight: 500;
}
.bv-hourly-bar-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--rd-font);
}
.bv-hourly-bar-selector label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}
.bv-hourly-bar-selector select {
    padding: 6px 28px 6px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-family: var(--rd-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23fcc102'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.2s;
}
.bv-hourly-bar-selector select:hover,
.bv-hourly-bar-selector select:focus {
    border-color: var(--rd-gold, #fcc102);
    outline: none;
}
.bv-hourly-bar-selector select option {
    background: var(--rd-dark, #251f25);
    color: #fff;
}

/* Hourly card pricing elements */
.bv-card-hourly-rate {
    display: block;
    font-family: var(--rd-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--rd-gold, #fcc102);
    line-height: 1.2;
}
.bv-card-hourly-rate small {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
}
.bv-card-hourly-calc {
    display: block;
    font-family: var(--rd-font);
    font-size: 12px;
    color: var(--rd-text-light, #888);
    margin-top: 2px;
    margin-bottom: 4px;
}
.bv-card-min-badge {
    display: inline-block;
    font-family: var(--rd-font);
    font-size: 11px;
    font-weight: 600;
    background: #fff3cd;
    color: #856404;
    padding: 3px 8px;
    border-radius: 4px;
    margin: 4px 0;
}
.bv-card-min-badge i {
    margin-right: 3px;
    font-size: 10px;
}
.bv-card-wait-note {
    display: block;
    font-family: var(--rd-font);
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}
.bv-card-wait-note i {
    margin-right: 3px;
    font-size: 10px;
    color: var(--rd-gold);
}

@media (max-width: 600px) {
    .bv-hourly-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px;
    }
    .bv-hourly-bar-selector {
        width: 100%;
    }
    .bv-hourly-bar-selector select {
        flex: 1;
    }
}

/* ── "Show more vehicles" toggle ── */
.bv-more-vehicles {
    text-align: center;
    margin: 8px 0 18px;
}
.bv-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    font-family: var(--rd-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--rd-gold, #fcc102);
    text-decoration: none;
    border: 1px solid rgba(252,193,2,0.3);
    border-radius: 24px;
    transition: background 0.2s, border-color 0.2s;
}
.bv-more-toggle:hover {
    background: rgba(252,193,2,0.08);
    border-color: var(--rd-gold, #fcc102);
    color: var(--rd-gold, #fcc102);
    text-decoration: none;
}
.bv-more-toggle i {
    font-size: 12px;
    transition: transform 0.2s;
}
.bv-more-hint {
    font-weight: 400;
    opacity: 0.7;
    font-size: 12px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .bv-ty-header { padding: 20px 18px 18px; gap: 12px; }
    .bv-ty-check { width: 44px; height: 44px; min-width: 44px; font-size: 20px; }
    .bv-ty-title { font-size: 18px; }
    .bv-ty-conf-no { font-size: 15px; }
    .bv-ty-section { padding: 14px 18px; }
    .bv-ty-vehicle-img { width: 80px; height: 48px; }
    .bv-ty-actions { flex-direction: column; }
    .bv-ty-actions .bv-btn { min-width: 100%; }
}

/* ============================================================
   RATE PAGE (rp-*) — V2 rate/pricing information pages
   ============================================================ */

/* ── Rate page: neutralize booking layout wrappers ── */
body:has(.rp-page) .bk-progress { display: none; }
body:has(.rp-page) .bk-main { padding-top: 0; }
.bk-container:has(.rp-page) {
    max-width: none;
    padding: 0;
}
.bk-layout:has(.rp-page) {
    display: block;
}
.bk-layout:has(.rp-page) > .bk-sidebar {
    display: none;
}

/* ── Page wrapper ── */
.rp-page {
    width: 100%;
    padding: 12px 40px 24px;
    box-sizing: border-box;
}

/* ── Route header ── */
.rp-header {
    background: var(--rd-dark);
    padding: 24px 32px;
    border-radius: var(--rd-radius);
    margin-bottom: 24px;
}
.rp-header-route {
    font-family: var(--rd-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--rd-white);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.rp-header-route i {
    color: var(--rd-gold);
    margin: 0 6px;
    font-size: 16px;
}
.rp-header-note {
    font-family: var(--rd-font);
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin: 10px 0 0;
    line-height: 1.5;
}

/* ── Two-column layout ── */
.rp-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: start;
}

/* ── Vehicle card grid ── */
.rp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Rate page cards: override card-name color for white bg */
.rp-grid .bv-card-name {
    color: var(--rd-dark);
}

/* Hourly info inside card */
.rp-hourly-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}
.rp-hourly-info select {
    padding: 2px 6px;
    border: 1px solid var(--rd-border);
    border-radius: 4px;
    font-size: 12px;
    background: #fff;
    color: var(--rd-dark);
}

/* ── Sidebar ── */
.rp-sidebar {
    position: sticky;
    top: 80px;
}
.rp-book-card {
    background: var(--rd-white);
    border-radius: var(--rd-radius);
    border: 1px solid var(--rd-border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    overflow: visible;
}
.rp-book-card-header {
    background: var(--rd-dark);
    color: var(--rd-white);
    padding: 18px 20px;
    font-family: var(--rd-font);
    text-align: center;
    border-radius: var(--rd-radius) var(--rd-radius) 0 0;
}
.rp-book-card-header i {
    display: block;
    font-size: 24px;
    color: var(--rd-gold);
    margin-bottom: 6px;
}
.rp-book-card-header-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.rp-book-card-header-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* Route visual in sidebar */
.rp-route-visual {
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 1px solid var(--rd-border);
}
.rp-route-stop {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}
.rp-route-stop + .rp-route-stop {
    margin-top: 12px;
}
.rp-route-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--rd-gold);
    background: var(--rd-white);
    flex-shrink: 0;
    margin-top: 3px;
    position: relative;
    z-index: 1;
}
.rp-route-dot--end {
    background: var(--rd-gold);
}
.rp-route-stop:first-child .rp-route-dot::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 3px;
    width: 2px;
    height: 20px;
    background: var(--rd-gold);
    opacity: 0.4;
}
.rp-route-label {
    font-family: var(--rd-font);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
}
.rp-route-name {
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--rd-dark);
    margin-top: 1px;
}

.rp-book-card-body {
    padding: 18px 20px;
}
.rp-book-field {
    margin-bottom: 14px;
}
.rp-book-field label {
    font-family: var(--rd-font);
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}
.rp-book-field .rp-input-icon {
    position: relative;
}
.rp-book-field .rp-input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rd-gold);
    font-size: 14px;
}
.rp-book-field .rp-input-icon input {
    padding-left: 36px;
}
.rp-book-field input,
.rp-book-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius-sm, 6px);
    font-family: var(--rd-font);
    font-size: 14px;
    color: var(--rd-dark);
    background: #fff;
    transition: border-color 0.2s;
}
.rp-book-field input:focus,
.rp-book-field select:focus {
    outline: none;
    border-color: var(--rd-gold);
    box-shadow: 0 0 0 3px rgba(252,193,2,0.1);
}
.rp-book-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.rp-book-field-row .rp-book-field {
    margin-bottom: 14px;
}
.rp-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--rd-gold);
    color: #fff;
    border: none;
    border-radius: var(--rd-radius-sm, 6px);
    font-family: var(--rd-font);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    margin-top: 4px;
}
.rp-book-btn:hover {
    background: var(--rd-gold-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.rp-book-or {
    text-align: center;
    font-family: var(--rd-font);
    font-size: 12px;
    color: #aaa;
    margin: 10px 0;
}
.rp-book-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--rd-dark);
    border: 1px solid var(--rd-border);
    border-radius: var(--rd-radius-sm, 6px);
    font-family: var(--rd-font);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: border-color 0.2s;
}
.rp-book-phone i {
    color: var(--rd-gold);
}
.rp-book-phone:hover {
    border-color: var(--rd-gold);
    text-decoration: none;
    color: var(--rd-dark);
}

/* ── Sidebar: Teaser ↔ Expanded toggle ── */
.rp-book-teaser {
    cursor: pointer;
    position: relative;
}
.rp-book-teaser::after {
    content: 'Click to book';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--rd-font);
    font-size: 11px;
    color: #bbb;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.rp-book-teaser:hover::after {
    opacity: 1;
}
.rp-book-teaser:hover {
    box-shadow: 0 0 0 2px var(--rd-gold);
    border-radius: var(--rd-radius);
}
.rp-book-expanded {
    display: none;
}
.rp-minimize {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: var(--rd-white);
    font-size: 14px;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s;
}
.rp-minimize:hover {
    background: rgba(255,255,255,0.3);
}

/* Expanded state */
.rp-book-card--expanded {
    position: relative;
}
.rp-book-card--expanded .rp-book-teaser {
    display: none;
}
.rp-book-card--expanded .rp-book-expanded {
    display: block;
}
.rp-book-card--expanded .rp-minimize {
    display: flex;
}

/* Sidebar rate div overrides — single-column stacked layout within 340px */
.rp-book-card .rate-div {
    box-shadow: none;
    border-radius: 0;
    border: none;
    margin: 0;
}
.rp-book-card .rd-tabs {
    border-radius: var(--rd-radius) var(--rd-radius) 0 0;
}
.rp-book-card .rd-tabs li label {
    padding: 10px 4px;
    font-size: 11px;
    letter-spacing: 0;
}
.rp-book-card .rd-body {
    padding: 14px 16px 16px;
}
.rp-book-card .rd-fields {
    grid-template-columns: 1fr !important;
    gap: 0;
}
.rp-book-card .rd-field--cta {
    grid-column: auto;
    margin-top: 4px;
}
.rp-book-card .rd-field input[type="text"],
.rp-book-card .rd-field input[type="date"],
.rp-book-card .rd-field input[type="time"],
.rp-book-card .rd-field select {
    padding: 9px 10px;
    font-size: 13px;
}
.rp-book-card .rd-pax-row {
    grid-template-columns: 1fr 1fr;
}
.rp-book-card .rd-extra-row {
    grid-template-columns: 1fr !important;
}
.rp-book-card .rd-extra-row--return {
    grid-template-columns: 1fr !important;
}
.rp-book-card .rd-swap {
    right: -14px;
    width: 28px;
    height: 28px;
    font-size: 11px;
}
.rp-book-card .rd-add-stop {
    font-size: 12px;
    padding: 6px 10px;
}
.rp-book-card .rd-cta {
    padding: 12px 16px;
    font-size: 13px;
}
.rp-book-card .rd-stop-item {
    flex-wrap: wrap;
}
.rp-book-card .rd-stop-item .rd-stop-wait {
    width: 100%;
}

/* ── Fare detail drawer (slide-in from right) ── */
.rp-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.rp-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}
.rp-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    max-width: 90vw;
    height: 100vh;
    background: var(--rd-white);
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    z-index: 1050;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.rp-drawer.is-open {
    transform: translateX(0);
}
.rp-drawer-header {
    background: var(--rd-dark);
    color: var(--rd-white);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
}
.rp-drawer-header h4 {
    font-family: var(--rd-font);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: var(--rd-white);
}
.rp-drawer-close {
    color: rgba(255,255,255,0.7);
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}
.rp-drawer-close:hover {
    color: var(--rd-gold);
}
.rp-drawer-body {
    padding: 20px;
}

/* ── Drawer sections ── */
.rp-section {
    margin-bottom: 24px;
}
.rp-section-title {
    font-family: var(--rd-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--rd-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--rd-gold);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

/* Vehicle info in drawer */
.rp-vehicle-info {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.rp-vehicle-img {
    width: 120px;
    flex-shrink: 0;
}
.rp-vehicle-img img {
    width: 100%;
    height: auto;
}
.rp-vehicle-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* ── Fare rows ── */
.rp-fare-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-family: var(--rd-font);
    font-size: 13px;
    color: #555;
}
.rp-fare-row--discount {
    color: var(--rd-gold);
    font-weight: 600;
}
.rp-fare-row--subtotal {
    border-top: 1px solid var(--rd-border);
    padding-top: 8px;
    margin-top: 4px;
    font-weight: 600;
    color: var(--rd-dark);
}
.rp-fare-row--total {
    font-weight: 700;
    font-size: 16px;
    color: var(--rd-dark);
    border-top: 2px solid var(--rd-dark);
    padding-top: 10px;
    margin-top: 6px;
}
.rp-fare-label {
    flex: 1;
}
.rp-fare-value {
    text-align: right;
    white-space: nowrap;
    margin-left: 12px;
}

/* ── Static amenity list ── */
.rp-amenity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rp-amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--rd-font);
    font-size: 13px;
    color: #444;
}
.rp-amenity-item:last-child {
    border-bottom: none;
}
.rp-amenity-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ── Disclaimers ── */
.rp-disclaimers {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}
.rp-disclaimer {
    font-family: var(--rd-font);
    font-size: 12px;
    color: #888;
    padding: 3px 0;
    line-height: 1.4;
}
.rp-disclaimer--warning {
    color: #d50000;
}

/* ── Color preference (in drawer) ── */
.rp-color-pref {
    margin-top: 12px;
}
.rp-color-pref label {
    font-size: 13px;
    margin-right: 12px;
    font-weight: 400;
    color: #555;
}
.rp-color-pref select {
    padding: 6px 10px;
    border: 1px solid var(--rd-border);
    border-radius: 4px;
    font-size: 13px;
}

/* ── Rate page responsive ── */
@media (max-width: 1400px) {
    .rp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1100px) {
    .rp-page {
        padding: 24px 24px;
    }
    .rp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 991px) {
    .rp-layout {
        grid-template-columns: 1fr;
    }
    .rp-sidebar {
        position: static;
        order: -1; /* sidebar above cards on tablet/mobile */
        max-width: 480px;
    }
    .rp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .rp-page {
        padding: 16px 16px;
    }
    .rp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rp-header {
        padding: 18px 20px;
    }
    .rp-header-route {
        font-size: 17px;
    }
    .rp-drawer {
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 540px) {
    .rp-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Small phone safety (375px) ── */
@media (max-width: 375px) {
    .bk-container { padding: 0 6px; }
    .bk-main { padding: 12px 0 30px; }
    .bv-form-card-body { padding: 10px; }
    .bv-section-title { font-size: 15px; }
    .bv-form-label { font-size: 12px; }
    .bv-form-control { padding: 8px 10px; font-size: 13px; }
    .bv-btn { padding: 12px 16px; font-size: 14px; }
    .bv-card-price-current { font-size: 18px; }
    .bv-drawer-footer { padding: 12px; }
    .bv-drawer-total-price { font-size: 20px; }
    .bv-drawer-col-body { padding: 14px; }
}
