.cdhy-booking-page{

    padding:20px 0;

    background:#f6f8fb;

}

.cdhy-booking-header{

    background:#fff;
    border-radius:18px;
    padding:30px;
    margin-bottom:30px;
    display: flex;
    justify-content: space-between;

}

.cdhy-booking-back-mobile{

    display:none;

}

.back-btn {

    padding: 6px 10px;

    border: 2px solid var(--primary);

    border-radius: 40px;

    color: var(--primary);

    text-decoration: none;

    font-weight: 600;

    transition: .35s;
    font-size:14px;

}

.back-btn:hover {

    background: var(--primary);

    color: #fff;

}



.cdhy-booking-meta{

    display:flex;

    gap:25px;

    flex-wrap:wrap;

    margin-top:15px;

}

.cdhy-booking-layout{

    display:grid;

    grid-template-columns:minmax(0,1fr) 360px;

    gap:30px;

    align-items:start;

}

.cdhy-booking-card-body{
    display:flex;
    align-items:start;
    gap: 30px;
    justify-content: space-between;   

}

.cdhy-passenger-card-body{
    display:block;
}

.cdhy-booking-card{

    background:#fff;

    border-radius:18px;

    padding:25px;

}

.cdhy-booking-summary{

    background:#fff;

    border-radius:18px;

    padding:25px;

    position:sticky;

    top:100px;

}

.cdhy-seat-canvas{

    height:450px;
    width: 300px;;

    border:1px solid #eee;

    border-radius:12px;

    background:#fafafa;

}

.cdhy-summary-row{

    display:flex;

    justify-content:space-between;

    margin-bottom:18px;

}

.cdhy-summary-total{

    display:flex;

    justify-content:space-between;

    font-size:22px;

    font-weight:700;

    margin:25px 0;

}


/* ==========================
   SEAT LAGEND DESKTOP
========================== */

.cdhy-seat-legend{

    display:flex;

    align-items:center;

    gap:25px;

    flex-wrap:wrap;

    margin:20px 0;

    padding:14px 18px;

    background:#f8fafc;

    border:1px solid #e8edf3;

    border-radius:12px;

}

.cdhy-legend-item{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:14px;

    font-weight:600;

    color:#444;

}

.cdhy-legend-box{

    width:20px;

    height:20px;

    border-radius:6px;

    border:2px solid transparent;

}

/* Available */

.cdhy-legend-box.available{

    background:#ffffff;

    border-color:#16a34a;

}

/* Selected */

.cdhy-legend-box.selected{

    background:#2563eb;

    border-color:#2563eb;

}

/* Reserved */

.cdhy-legend-box.reserved{

    background:#fef3c7;

    border-color:#f59e0b;

}

/* Booked */

.cdhy-legend-box.booked{

    background:#ef4444;

    border-color:#ef4444;

}


/*=========================================
PASSENGER CARD
=========================================*/

.cdhy-passenger-card{

    background:#fff;

    border:1px solid #e7ebf2;

    border-radius:16px;

    padding:22px;

    margin-bottom:22px;
    width:100%;

    box-sizing:border-box;

}

.cdhy-passenger-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.cdhy-passenger-title{

    display:flex;

    align-items:center;

    gap:10px;

    font-size:18px;

    font-weight:700;

}

.cdhy-passenger-title i{

    color:var(--primary);

}

.cdhy-seat-badge{

    background:#fff4ec;

    color:var(--primary);

    border:1px solid #ffd4b6;

    border-radius:30px;

    padding:7px 15px;

    font-size:13px;

    font-weight:600;

}

/*=========================================
GRID
=========================================*/

.cdhy-passenger-grid{

    display:grid;

    grid-template-columns:
        minmax(110px,140px)
        minmax(220px,1fr)
        minmax(100px,120px)
        minmax(160px,180px);

    gap:20px;

    align-items:end;

}
/*=========================================
FORM
=========================================*/

.cdhy-form-group{

    display:flex;

    flex-direction:column;

}

.cdhy-form-group label{

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

    color:#555;

}

.cdhy-form-control{

    width:100%;

    height:48px;

    border:1px solid #d7dde8;

    border-radius:10px;

    background:#fff;

    padding:0 15px;

    font-size:15px;

    transition:.3s;
    box-sizing:border-box;

}

.cdhy-form-control:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 0 3px rgba(255,102,0,.12);

}

/*==============================
CONTACT
==============================*/

.cdhy-contact-body{

    width:100%;

}

.cdhy-contact-grid{

    display:grid;

    grid-template-columns:repeat(2,minmax(250px,1fr));

    gap:24px;

}

.cdhy-gst-wrapper{

    margin-top:30px;

    padding-top:25px;

    border-top:1px solid #ececec;

}

.cdhy-checkbox{

    display:inline-flex;

    align-items:center;

    gap:12px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

}

.cdhy-checkbox input{

    width:18px;

    height:18px;

    accent-color:var(--primary);

}

#gstSection{

    margin-top:25px;

}


/* ==========================
   Sticky Booking Footer
========================== */

.cdhy-booking-footer {

    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    height: 78px;

    background: #fff;

    border-top: 1px solid #e5e7eb;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 35px;

    z-index: 9999;

    box-shadow: 0 -5px 20px rgba(0,0,0,.08);

}

.cdhy-footer-left{

    display:flex;

    align-items:center;

    gap:25px;

}

.cdhy-footer-item{

    display:flex;

    flex-direction:column;

}

.cdhy-footer-label{

    font-size:12px;

    color:#888;

    margin-bottom:4px;

}

.cdhy-footer-item strong{

    font-size:18px;

    font-weight:700;

    color:#111;

}

.cdhy-footer-divider{

    width:1px;

    height:42px;

    background:#ececec;

}

.cdhy-footer-right{

    display:flex;

    align-items:center;

}

#footerContinueBtn{

    min-width:220px;

    height:50px;

    border-radius:50px;

}

.cdhy-footer-right{

    display:flex;

    align-items:center;

    gap:15px;

}

.cdhy-secondary-button{

    height:50px;

    min-width:150px;

    border:1px solid #d1d5db;

    background:#fff;

    color:#374151;

    border-radius:50px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.cdhy-secondary-button:hover{

    background:#f3f4f6;

}


/*=========================================
REVIEW
=========================================*/

.cdhy-review-body{

    width:100%;

}

.cdhy-review-section{

    background:#fff;

    border:1px solid #eceff5;

    border-radius:14px;

    padding:24px;

    margin-bottom:24px;

}

.cdhy-review-section h3{

    margin:0 0 20px;

    font-size:20px;

    font-weight:700;

    color:#222;

    padding-bottom:12px;

    border-bottom:1px solid #edf0f5;

}

.cdhy-review-passenger{

    border:1px solid #edf0f5;

    border-radius:12px;

    padding:18px;

    margin-bottom:18px;

}

.cdhy-review-passenger:last-child{

    margin-bottom:0;

}

.cdhy-review-passenger-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:16px;

}

.cdhy-review-passenger-header strong{

    font-size:17px;

}

.cdhy-review-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.cdhy-review-grid label{

    display:block;

    color:#777;

    font-size:13px;

    margin-bottom:6px;

}

.cdhy-review-grid p{

    margin:0;

    font-weight:600;

    color:#222;

}

.cdhy-review-total{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

    font-size:22px;

    font-weight:700;

    color:var(--primary);

}

.cdhy-review-total strong{

    font-size:28px;

}



.hidden{

    display:none !important;

}


.cdhy-booking-summary{

    background:#fff;

    border-radius:18px;

    padding:24px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}

.cdhy-summary-header{

    padding-bottom:18px;

    border-bottom:1px solid #ececec;

}

.cdhy-summary-header h3{

    font-size:24px;

    font-weight:700;

    margin-bottom:8px;

}

.cdhy-summary-header h5{

    margin-bottom:10px;

    font-weight:600;

}

.cdhy-summary-date{

    color:#6c757d;

    font-size:14px;

}

.cdhy-summary-section{

    padding:18px 0;

    border-bottom:1px solid #f1f1f1;

}

.cdhy-summary-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:12px;

}

.cdhy-summary-row:last-child{

    margin-bottom:0;

}

.cdhy-token-box{

    margin:22px 0;

    padding:22px;

    border-radius:16px;

    text-align:center;

    background:linear-gradient(135deg,#eef9f2,#dff7e7);

    border:1px solid #b8e7c7;

}

.cdhy-token-title{

    text-transform:uppercase;

    letter-spacing:1px;

    color:#198754;

    font-weight:700;

    font-size:13px;

}

.cdhy-token-amount{

    font-size:38px;

    font-weight:800;

    color:#198754;

    margin:8px 0;

}

.cdhy-token-text{

    color:#5d6b63;

    font-size:14px;

}

.cdhy-summary-note{

    margin-top:18px;

    padding:14px 16px;

    border-radius:10px;

    background:#f8f9fa;

    color:#495057;

    font-size:14px;

    line-height:1.6;

}


.cdhy-review-token-box{

    margin-top:20px;

    padding:16px;

    border-radius:12px;

    background:#eef9f2;

    border:1px solid #b8e7c7;

    color:#198754;

    font-weight:600;

    text-align:center;

}





/* ==========================================================
   TABLET
========================================================== */

@media (max-width:991px){

    .cdhy-booking-layout{

        grid-template-columns:1fr;

        gap:20px;

    }

    .cdhy-booking-summary{

        position:static;

        top:auto;

        order:2;

    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:768px){

    .cdhy-booking-page{

        padding:15px 0 90px;

    }

    .cdhy-booking-header{

        padding:18px;

        margin-bottom:20px;

        display: flex;


    }

    .desktop-only{

        display:none;

    }

    .cdhy-booking-back-mobile{

        display:block;

        margin-bottom:12px;

    }


    .cdhy-booking-card-body{
    display:block;

}


    .cdhy-contact-grid{

        grid-template-columns:1fr;

    }

    .cdhy-booking-back-mobile a{

        width:38px;

        height:38px;

        display:flex;

        align-items:center;

        justify-content:center;

        border-radius:50%;

        background:#fff5ef;

        color:var(--primary);

        text-decoration:none;

    }

    .cdhy-booking-header{

        padding:16px;

        margin-bottom:15px;

    }

    .cdhy-booking-package h1{

        font-size:20px !important;

        line-height:1.3;

        margin-bottom:12px;

    }


    .cdhy-passenger-grid{

        grid-template-columns:1fr 1fr;

        gap:15px;

    }

    .cdhy-passenger-header{

        flex-direction:column;

        align-items:flex-start;

        gap:12px;

    }

    .vehicle-name{

        display:none;

    }

    .cdhy-booking-meta{

        display:flex;

        flex-wrap:wrap;

        gap:12px;

        margin-top:0;

    }

    .cdhy-booking-meta span{

        font-size:14px;

    }

    .cdhy-booking-package h1{

        font-size:28px;

        line-height:1.3;

    }


    .cdhy-booking-back{

        width:100%;

    }

    .back-btn{

        width:100%;

        display:flex;

        justify-content:center;

        align-items:center;

    }

    .cdhy-booking-card{

        padding:18px;
        

    }

  
     .cdhy-booking-card-header h2{

        font-size:22px ;

    }

    .cdhy-booking-card-header p{

        font-size:14px ;
        margin-bottom: 20px;

    }





    .cdhy-seat-legend{

        gap:10px;

        justify-content:center;

        padding:8px;

    }

    .cdhy-legend-item{

        font-size:11px;

    }



    .cdhy-booking-summary{

        padding:18px;

        margin-top:20px;

    }

    .cdhy-seat-canvas{

        height:400px;

    }


     .cdhy-review-grid{

        grid-template-columns:1fr;

    }

    .cdhy-review-passenger-header{

        flex-direction:column;

        align-items:flex-start;

        gap:8px;

    }


    .cdhy-booking-footer{

        height:70px;

        padding:10px 15px;

    }

    .cdhy-footer-left{

        gap:10px;

    }

    .cdhy-footer-divider{

        display:none;

    }

    .cdhy-footer-label{

        font-size:11px;

    }

    .cdhy-footer-item strong{

        font-size:18px;

    }

    #footerContinueBtn{

        min-width:140px;

        height:44px;

        font-size:14px;

        padding:0 18px;

    }

    #footerBackBtn{

        min-width:90px;

        height:44px;

        font-size:14px;

    }

}



/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width:480px){

    .cdhy-booking-header{

        padding:15px;

        border-radius:14px;

    }

    .cdhy-booking-package h1{

        font-size:22px;

    }

    .cdhy-booking-meta{

        gap:8px;

    }

    .cdhy-passenger-grid{

        grid-template-columns:1fr;

    }

    .cdhy-booking-card{

        padding:15px;

        border-radius:14px;

    }

    .cdhy-booking-summary{

        border-radius:14px;

        padding:15px;

    }

    .cdhy-seat-canvas{

        height:420px;

    }

    .cdhy-summary-row{

        font-size:15px;

    }

    .cdhy-summary-total{

        font-size:18px;

    }

}



/*=========================================================
    TRABILLY PAYMENT PAGE
=========================================================*/

.payment-page{
    background:#f5f7fb;
    padding:35px 0 60px;
    min-height:calc(100vh - 180px);
}

.payment-container{
    width:95%;
    max-width:1450px;
    margin:auto;
}

/*=========================================================
HEADER
=========================================================*/

.payment-header{

    background:#fff;

    border-radius:18px;

    padding:22px 30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

    margin-bottom:25px;

}

.payment-header h1{

    margin:0;

    font-size:32px;

    font-weight:700;

    color:#222;

}

.payment-header p{

    margin-top:8px;

    color:#777;

}

.booking-number{

    text-align:right;

}

.booking-number span{

    display:block;

    color:#777;

    font-size:13px;

}

.booking-number strong{

    font-size:26px;

    color:#ff6600;

}

/*=========================================================
LAYOUT
=========================================================*/

.payment-layout{

    display:grid;

    grid-template-columns:2fr 360px;

    gap:25px;

    align-items:start;

}

/*=========================================================
CARD
=========================================================*/

.booking-card,
.summary-card{

    background:#fff;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    overflow:hidden;

    margin-bottom:22px;

}

/*=========================================================
BOOKING CARD
=========================================================*/

.booking-card{

    padding:28px;

}

.tour-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

}

.tour-title h2{

    margin:0;

    font-size:34px;

    font-weight:700;

    color:#222;

}

.status{

    padding:9px 20px;

    border-radius:50px;

    background:#e6fff3;

    color:#119b53;

    font-size:14px;

    font-weight:700;

}

/*=========================================================
INFO GRID
=========================================================*/

.booking-info{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:15px;

    margin-bottom:30px;

}

.info-box{

    background:#fafafa;

    border:1px solid #ececec;

    border-radius:12px;

    padding:18px;

}

.info-box label{

    display:block;

    color:#888;

    font-size:12px;

    text-transform:uppercase;

    margin-bottom:10px;

}

.info-box strong{

    font-size:17px;

    color:#222;

}

/*=========================================================
SEATS
=========================================================*/

.seat-section{

    margin-bottom:25px;

}

.seat-section h4{

    margin-bottom:15px;

}

.seat-list{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.seat{

    width:46px;

    height:46px;

    border-radius:50%;

    background:#0d6efd;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:700;

}

/*=========================================================
PAYMENT OPTION
=========================================================*/

.payment-option{

    display:flex;

    justify-content:space-between;

    align-items:center;

    border:2px solid #ececec;

    border-radius:14px;

    padding:22px;

    margin-top:18px;

    cursor:pointer;

    transition:.3s;

}

.payment-option:hover{

    transform:translateY(-3px);

    border-color:#ff6600;

}

.payment-option.active{

    background:#fff7f0;

    border-color:#ff6600;

}

.option-left h4{

    margin-bottom:6px;

    font-size:21px;

}

.option-left p{

    color:#777;

}

.price{

    font-size:36px;

    font-weight:700;

    color:#0f9d58;

}

.option-right{

    text-align:right;

}

.option-right small{

    color:#ff6600;

    font-weight:700;

}

/*=========================================================
SUMMARY
=========================================================*/

.summary-card{

    position:sticky;

    top:120px;

}

.summary-header{

    background:#ff6600;

    color:#fff;

    padding:20px;

}

.summary-header h3{

    margin:0;

    font-size:22px;

}

.summary-body{

    padding:25px;

}

.summary-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.summary-item span{

    color:#666;

}

.summary-item strong{

    font-size:22px;

}

.summary-divider{

    height:1px;

    background:#eee;

    margin:20px 0;

}

/*=========================================================
SECURE BOX
=========================================================*/

.secure-payment{

    background:#f8fafc;

    border:1px solid #e8edf4;

    border-radius:12px;

    padding:18px;

}

.secure-title{

    font-weight:700;

    margin-bottom:10px;

}

.secure-payment ul{

    padding-left:18px;

    margin:0;

}

.secure-payment li{

    margin-bottom:8px;

    color:#666;

}

/*=========================================================
BUTTON
=========================================================*/

.pay-btn{

    width:100%;

    margin-top:25px;

    height:58px;

    border:none;

    border-radius:50px;

    background:#ff6600;

    color:#fff;

    font-size:20px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.pay-btn:hover{

    background:#e85600;

}

/*=========================================================
TABLET
=========================================================*/

@media(max-width:1100px){

    .payment-layout{

        grid-template-columns:1fr;

    }

    .summary-card{

        position:relative;

        top:auto;

    }

    .booking-info{

        grid-template-columns:repeat(2,1fr);

    }

}

/*=========================================================
MOBILE
=========================================================*/

@media(max-width:768px){

    .payment-page{

        padding:15px 0 40px;

    }

    .payment-container{

        width:94%;

    }

    .payment-header{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

        padding:20px;

    }

    .booking-number{

        text-align:left;

    }

    .tour-title{

        flex-direction:column;

        align-items:flex-start;

        gap:12px;

    }

    .tour-title h2{

        font-size:26px;

    }

    .booking-info{

        grid-template-columns:1fr;

    }

    .payment-option{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .option-right{

        text-align:left;

    }

    .price{

        font-size:30px;

    }

}






/* Booking wizard */
.cdhy-booking-page {
    --booking-ink: #173038;
    --booking-accent: #086757;
    --booking-border: #dce7e7;
    color: var(--booking-ink);
    background: #f2f7f7;
    padding-bottom: calc(106px + env(safe-area-inset-bottom));
}
.cdhy-booking-page .cdhy-container { max-width: 1220px; margin-inline: auto; }
.cdhy-booking-page :is(h1, h2, h3, h4) {
    color: var(--booking-ink);
    font-family: inherit;
    font-weight: 750;
    line-height: 1.2;
}
.cdhy-booking-page .cdhy-booking-header,
.cdhy-booking-page .cdhy-booking-card,
.cdhy-booking-page .cdhy-booking-summary {
    border: 1px solid var(--booking-border);
    border-radius: 16px;
    box-shadow: 0 8px 24px #193f4610;
}
.cdhy-booking-page .cdhy-booking-header { margin-bottom: 16px; }
.trabilly-booking-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.trabilly-booking-steps li {
    border-bottom: 3px solid #dbe6e7;
    color: #4d6670;
    font-size: clamp(.72rem, 2.7vw, .9rem);
    padding: 8px 2px;
    text-align: center;
}
.trabilly-booking-steps [aria-current] {
    color: var(--booking-accent);
    border-color: var(--booking-accent);
    font-weight: 750;
}
.cdhy-booking-page .cdhy-booking-card-body { display: grid; justify-content: stretch; gap: 16px; }
.cdhy-booking-page .cdhy-seat-legend { width: fit-content; max-width: 100%; margin: 0 auto; flex-wrap: wrap; }
.cdhy-booking-page .cdhy-legend-box.selected { background: #087761; border-color: #087761; }
.cdhy-booking-page .cdhy-legend-box.booked { background: #e7ecee; border-color: #7e9199; }
.trabilly-coach {
    display: grid;
    justify-items: center;
    min-width: 0;
    background: #f3f8f7;
    border: 1px solid var(--booking-border);
    border-radius: 14px;
    padding: 12px 4px;
}
.trabilly-coach-header { color: #173038; font-weight: 750; }
#seatMapStatus { margin: 3px 0 10px; color: #45626a; font-size: .88rem; }
.trabilly-coach-scroll { width: 100%; overflow: auto; }
.trabilly-seat-map { position: relative; margin: 0 auto; }
.trabilly-seat,
.trabilly-driver {
    position: absolute;
    display: grid;
    place-content: center;
    text-align: center;
    width: 44px;
    height: 44px;
    line-height: 1.1;
}
.trabilly-seat {
    color: #145a4b;
    background: #fff;
    border: 1px solid #3d8a78;
    border-top-width: 4px;
    border-radius: 9px;
    padding: 1px;
    transition: background-color .15s, border-color .15s;
}
.trabilly-seat small { font-size: .59rem; font-weight: 650; }
.trabilly-seat:not(:disabled):hover { background: #d8f2e9; }
.trabilly-seat:focus-visible { outline: 2px solid #104c9a; outline-offset: 2px; z-index: 1; }
.trabilly-seat[aria-pressed="true"], .trabilly-seat[aria-pressed="true"]:hover {
    background: #087761;
    border-color: #065e4d;
    color: white;
}
.trabilly-seat:disabled { background: #e7ecee; border-color: #7e9199; color: #465b63; cursor: default; }
.trabilly-seat[data-status="reserved"] { background: #fff0cd; border-color: #a87515; color: #694800; }
.trabilly-driver { color: #425962; font-size: 1.5rem; }
.cdhy-booking-page .cdhy-booking-footer {
    height: auto;
    min-height: 72px;
    gap: 8px;
    padding: 10px max(12px, calc((100vw - 1180px) / 2)) calc(10px + env(safe-area-inset-bottom));
}
.cdhy-booking-page #footerContinueBtn {
    min-width: 0;
    height: auto;
    min-height: 44px;
    padding: 8px 14px;
    line-height: 1.2;
    border-radius: 10px;
    background: var(--booking-accent);
    color: white;
    box-shadow: none;
}
.cdhy-booking-page #footerContinueBtn:disabled { opacity: .55; cursor: default; }
.cdhy-booking-page #footerBackBtn { min-width: 0; padding: 6px 8px; margin: 0; }
.cdhy-booking-page .cdhy-footer-right { gap: 6px; }
.cdhy-booking-page .cdhy-footer-item strong { white-space: nowrap; font-size: clamp(.86rem, 3.7vw, 1.1rem); }
@media (max-width: 480px) {
    .cdhy-booking-page .cdhy-footer-left .cdhy-footer-item:first-child { display: none; }
    .cdhy-booking-page #footerContinueBtn { font-size: .8rem; }
}

/* Public coach and trip details */
.cdhy-booking-page {
    --booking-ink: #202841;
    --booking-accent: #5145a8;
    --booking-border: #e2e3ef;
    background: #f5f4fa;
}
.cdhy-booking-page .cdhy-container { max-width: 1100px; }
.cdhy-booking-page .cdhy-booking-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 22px; }
.cdhy-booking-page .cdhy-booking-header { align-items: center; padding: 16px 22px; }
.cdhy-booking-page .cdhy-booking-meta { margin-top: 7px; gap: 8px 18px; color: #505870; }
.cdhy-booking-page .cdhy-booking-package h1 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin: 0; }
.cdhy-booking-page .trabilly-booking-steps [aria-current] { border-color: var(--booking-accent); }
.cdhy-booking-page .cdhy-booking-card { padding: clamp(12px, 2.2vw, 22px); }
.cdhy-booking-page .cdhy-booking-card h2 { font-size: 1.35rem; }
.cdhy-booking-page .cdhy-seat-legend { gap: 6px 14px; padding: 6px 0; background: none; border: 0; }
.cdhy-booking-page .cdhy-legend-box { width: 14px; height: 14px; border-radius: 4px; }
.cdhy-booking-page .trabilly-coach {
    background: #efeff7;
    padding: 8px 0 12px;
}
.cdhy-booking-page #retrySeatMap[hidden] { display: none !important; }
.trabilly-coach-scroll { max-height: min(62vh, 550px); padding: 0 8px 6px; }
.trabilly-coach-shell {
    width: max-content;
    min-width: min(220px, 100%);
    margin-inline: auto;
    padding: 8px;
    background: white;
    border: 1px solid #d6d8e7;
    border-radius: 24px 24px 13px 13px;
}
.trabilly-coach-header {
    text-align: center;
    border-bottom: 1px dashed #d6d8e7;
    color: #555e74;
    font-size: .75rem;
    padding: 4px 6px 7px;
    margin-bottom: 5px;
}
.cdhy-booking-page .trabilly-seat {
    --seat-stroke: #247b65;
    --seat-fill: white;
    --seat-ink: #195c4b;
    display: block;
    color: var(--seat-ink);
    border: 0;
    background: transparent;
    padding: 0;
}
.trabilly-seat-back, .trabilly-seat-arms, .trabilly-seat-price {
    position: absolute;
    display: block;
}
.trabilly-seat-back {
    inset: 1px 9px auto;
    height: 24px;
    border: 1.5px solid var(--seat-stroke);
    border-radius: 7px 7px 4px 4px;
    background: var(--seat-fill);
    font-size: .74rem;
    padding-top: 3px;
}
.trabilly-seat-arms {
    inset: 12px 5px auto;
    height: 16px;
    border: 1.5px solid var(--seat-stroke);
    border-top: 0;
    border-radius: 4px 4px 6px 6px;
    pointer-events: none;
}
.cdhy-booking-page .trabilly-seat-price {
    inset: 30px 0 auto;
    font-size: .58rem;
    white-space: nowrap;
}
.cdhy-booking-page .trabilly-seat:not(:disabled):hover { --seat-fill: #dff3ec; }
.cdhy-booking-page .trabilly-seat[aria-pressed="true"],
.cdhy-booking-page .trabilly-seat[aria-pressed="true"]:hover {
    --seat-fill: #087761;
    --seat-ink: #14614f;
    background: #e3f4ed;
}
.trabilly-seat[aria-pressed="true"] .trabilly-seat-back { color: white; }
.cdhy-booking-page .trabilly-seat:disabled {
    --seat-fill: #eaedf2;
    --seat-stroke: #96a0af;
    --seat-ink: #59647a;
}
.cdhy-booking-page .trabilly-seat[data-status="reserved"] {
    --seat-fill: #fff0cd;
    --seat-stroke: #a87515;
    --seat-ink: #694800;
}
.trabilly-trip-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 17px;
    margin-bottom: 12px;
    background: white;
    border: 1px solid var(--booking-border);
    border-radius: 16px;
}
.trabilly-trip-card h2 { font-size: 1.2rem; margin: 0 0 5px; }
.trabilly-trip-card p { margin: 0; font-size: .9rem; color: #505870; }
.trabilly-trip-card img { width: clamp(84px, 12vw, 138px); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.cdhy-booking-page .cdhy-booking-summary { position: static; margin: 0; padding: 17px; }
.cdhy-booking-page .cdhy-summary-header { margin-bottom: 8px; padding-bottom: 8px; }
.cdhy-booking-page .cdhy-summary-header h3 { margin: 0; font-size: 1.12rem; }
.cdhy-booking-page .cdhy-summary-section { margin: 0 0 10px; padding: 0 0 10px; }
.cdhy-booking-page .cdhy-summary-row { margin-bottom: 6px; font-size: .91rem; }
.cdhy-booking-page .cdhy-token-box { margin: 0 0 10px; padding: 10px 12px; background: #f1eefb; border-color: #dfd9f6; }
.cdhy-booking-page .cdhy-token-title,
.cdhy-booking-page .cdhy-token-amount { color: #483b96; margin: 0; }
.cdhy-booking-page .cdhy-token-amount { font-size: 1.5rem; }
.cdhy-booking-page .cdhy-token-text,
.cdhy-booking-page .cdhy-summary-note { font-size: .82rem; }
.cdhy-booking-page .cdhy-summary-note { padding: 9px; }
.cdhy-booking-page .cdhy-booking-footer { padding-inline: max(12px, calc((100vw - 1060px) / 2)); }
.cdhy-booking-page #footerContinueBtn { min-width: min(180px, 52vw); }
@media (max-width: 820px) {
    .cdhy-booking-page .cdhy-booking-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .trabilly-coach-scroll { max-height: none; }
}

/* Booking forms fit their own column, including on split-width tablets. */
.cdhy-booking-page :is(.cdhy-booking-left, .cdhy-booking-right, .cdhy-form-group, .cdhy-review-grid > *) { min-width: 0; }
.cdhy-booking-page .cdhy-passenger-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}
.cdhy-booking-page .cdhy-form-control { width: 100%; min-width: 0; box-sizing: border-box; }
.cdhy-booking-page .cdhy-review-grid { grid-template-columns: repeat(auto-fit, minmax(min(125px, 100%), 1fr)); }
.cdhy-booking-page .cdhy-review-grid p { overflow-wrap: anywhere; }
.cdhy-booking-page #bookingStatus:not([hidden]) {
    padding: 10px 12px;
    margin: 0 0 12px;
    color: #842a30;
    background: #fff0f0;
    border-radius: 8px;
}
.cdhy-booking-page :is(#bookingStatus, #bookingWizard h2, #bookingWizard input, #bookingWizard select) {
    scroll-margin-block: 96px;
}
@media (max-width: 600px) {
    .cdhy-booking-page :is(.cdhy-contact-grid, .cdhy-review-grid) { grid-template-columns: minmax(0, 1fr); }
    .cdhy-booking-page .cdhy-booking-header { padding: 12px; }
    .cdhy-booking-page #footerContinueBtn { min-width: 0; }
}
@media (max-width: 370px) {
    .cdhy-booking-page .cdhy-passenger-grid { grid-template-columns: minmax(0, 1fr); }
}

.cdhy-booking-page .cdhy-booking-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    background: #fffffff7;
    border-top: 1px solid #deddec;
    box-shadow: 0 -8px 30px #24204416;
}
.cdhy-booking-page .cdhy-footer-left,
.cdhy-booking-page .cdhy-footer-right { min-width: 0; }
.cdhy-booking-page .cdhy-footer-right { justify-content: end; }
.cdhy-booking-page #footerContinueBtn,
.cdhy-booking-page #footerBackBtn {
    width: auto;
    min-height: 48px;
    height: auto;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px 15px;
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
    touch-action: manipulation;
    transition: background-color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.cdhy-booking-page #footerBackBtn { border-color: #dcd9ed; color: #403774; background: white; }
.cdhy-booking-page #footerBackBtn span { font-size: 1.15em; margin-right: .2em; }
.cdhy-booking-page #footerBackBtn.hidden { display: none; }
.cdhy-booking-page :is(#footerContinueBtn, #footerBackBtn, .trabilly-seat):enabled { cursor: pointer; touch-action: manipulation; }
.cdhy-booking-page :is(#footerContinueBtn, #footerBackBtn):focus-visible { outline: 2px solid #5145a8; outline-offset: 3px; }
.cdhy-booking-page :is(#footerContinueBtn, #footerBackBtn, .trabilly-seat):enabled:active { transform: scale(.97); }
.cdhy-booking-page #footerContinueBtn:disabled { box-shadow: none; cursor: default; }
.cdhy-booking-page #bookingWizard > :not(.hidden) { animation: booking-step-in .22s ease-out; }
@keyframes booking-step-in { from { opacity: .45; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) {
    .cdhy-booking-page #footerContinueBtn:enabled:hover { background: #423690; box-shadow: 0 4px 12px #5145a845; }
    .cdhy-booking-page #footerBackBtn:enabled:hover { background: #f2effb; border-color: #9a90cc; }
}
@media (max-width: 600px) {
    .cdhy-booking-page .cdhy-footer-right { display: grid; grid-auto-flow: column; grid-auto-columns: auto; }
    .cdhy-booking-page #footerContinueBtn { min-width: 116px; }
    .cdhy-booking-page #footerBackBtn { min-width: 58px; padding-inline: 8px; }
    .cdhy-booking-page .cdhy-footer-left { gap: 0; }
    .cdhy-booking-page .cdhy-footer-left > :is(.cdhy-footer-item:first-child, .cdhy-footer-divider) { display: none; }
    .cdhy-booking-page #bookingWizard .cdhy-form-control { font-size: 16px; }
}
@media (max-width: 380px) {
    .cdhy-booking-page .cdhy-booking-footer { gap: 5px; padding-inline: 8px; }
    .cdhy-booking-page #footerContinueBtn, .cdhy-booking-page #footerBackBtn { padding-inline: 8px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cdhy-booking-page #bookingWizard > :not(.hidden) { animation: none; }
    .cdhy-booking-page :is(#footerContinueBtn, #footerBackBtn, .trabilly-seat) { transition: none; }
}

@media (max-width: 340px) {
    .cdhy-booking-page { padding-bottom: calc(142px + env(safe-area-inset-bottom)); }
    .cdhy-booking-page .cdhy-booking-footer { grid-template-columns: minmax(0, 1fr); }
    .cdhy-booking-page .cdhy-footer-left .cdhy-footer-item { flex-direction: row; align-items: baseline; gap: 8px; }
    .cdhy-booking-page .cdhy-footer-label { margin-bottom: 0; }
    .cdhy-booking-page .cdhy-footer-right { grid-auto-columns: max-content minmax(0, 1fr); justify-content: stretch; }
    .cdhy-booking-page #footerContinueBtn { width: 100%; }
}

.trabilly-steering-wheel {
    position: relative;
    display: block;
    width: 27px;
    height: 27px;
    border: 3px solid currentColor;
    border-radius: 50%;
}
.trabilly-steering-wheel::before,
.trabilly-steering-wheel::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 4px;
}
.trabilly-steering-wheel::before { inset: 8px 0 auto; height: 3px; }
.trabilly-steering-wheel::after { width: 3px; top: 8px; bottom: 0; left: calc(50% - 1.5px); }

.cdhy-booking-page #retrySeatMap { min-height: 44px; margin: 0 0 8px; padding: 6px 14px; width: auto; cursor: pointer; }
