:root{
    --cx-primary:#af2400;
    --cx-primary-2:#d74b1f;
    --cx-secondary:#2c3e55;
    --cx-secondary-2:#405672;
    --cx-text:#14202d;
    --cx-muted:#6f7c89;
    --cx-border:rgba(44,62,85,.12);
    --cx-bg:#f3f5f8;
    --cx-white:#fff;
    --cx-shadow:0 20px 50px rgba(24,39,58,.10);
    --cx-shadow-hover:0 24px 60px rgba(175,36,0,.20);
    --cx-radius-xl:28px;
    --cx-radius-lg:22px;
    --cx-radius-md:18px;
    --cx-radius-sm:14px;
}

.cx-wrap,
.cx-result-wrap{
    width:100%;
    max-width:1320px;
    margin: 30px auto;
}

.cx-search-box,
.cx-result-hero,
.cx-results-shell,
.cx-route-menu-panel{
    box-sizing:border-box;
}

.cx-search-box{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at top right, rgba(175,36,0,.18), transparent 24%),
        radial-gradient(circle at left bottom, rgba(44,62,85,.12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #fbfcfe 100%);
    border:1px solid rgba(44,62,85,.08);
    border-radius:32px;
    box-shadow:var(--cx-shadow);
    padding:28px;
}

.cx-search-box::before{
    content:"";
    position:absolute;
    inset:-1px;
    border-radius:inherit;
    padding:1px;
    background:linear-gradient(120deg, rgba(175,36,0,.25), rgba(44,62,85,.14), rgba(175,36,0,.08));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    pointer-events:none;
}

.cx-home-form{
    transition:all .35s ease;
}

.cx-home-form:hover{
    box-shadow:var(--cx-shadow-hover);
}

.cx-search-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
    padding-bottom:16px;
    border-bottom:1px solid rgba(44,62,85,.08);
}

.cx-search-title{
    display:flex;
    align-items:center;
    gap:14px;
    margin:0;
    color:var(--cx-secondary);
    font-size:30px;
    line-height:1.2;
    font-weight:900;
    letter-spacing:-.3px;
}

.cx-icon{
    width:58px;
    height:58px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:20px;
    background:linear-gradient(135deg, var(--cx-primary), var(--cx-primary-2));
    color:#fff;
    box-shadow:0 14px 30px rgba(175,36,0,.22);
    font-size:25px;
}

.cx-search-sub{
    margin:8px 0 0;
    font-size:14px;
    color:var(--cx-muted);
}

.cx-note{
    margin-top:14px;
    color:var(--cx-muted);
    font-size:13px;
}

.cx-search-form{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr)) 220px;
    gap:16px;
    align-items:end;
}

.cx-field label{
    display:block;
    margin-bottom:8px;
    font-size: 15px;
    font-weight:800;
    color:var(--cx-secondary);
}

.cx-input,
.cx-select{
    width:100% !important;
    height: 50px !important;
    min-height: unset !important;
    border: 1px solid var(--cx-border) !important;
    border-radius: 8px !important;
    background:#fff !important;
    color:var(--cx-text) !important;
    padding:0 18px !important;
    outline:none !important;
    transition:all .28s ease;
	margin: 0 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.6) !important;
}

.cx-input:hover,
.cx-select:hover,
.cx-input:focus,
.cx-select:focus{
    border-color:rgba(175,36,0,.35) !important;
    transform:translateY(-1px) !important;
    box-shadow:0 0 0 4px rgba(175,36,0,.08), 0 10px 24px rgba(44,62,85,.08) !important;
}

.cx-select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    padding-right:44px;
    cursor:pointer;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%232c3e55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 14px center;
}
button {
	margin: 0 !important;
}
.cx-submit{
	height: 50px;
    border: none;
    border-radius: 8px;
    cursor:pointer;
	margin: 0;
    color:#fff;
    font-size:16px;
    font-weight:900;
    letter-spacing:.2px;
    background:linear-gradient(135deg, var(--cx-primary), var(--cx-primary-2));
    box-shadow:0 16px 30px rgba(175,36,0,.22);
    position:relative;
    overflow:hidden;
    transition:all .3s ease;
}

.cx-submit:hover{
    transform:translateY(-2px);
    box-shadow:0 22px 36px rgba(175,36,0,.28);
}

.cx-submit::after{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:70%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    transform:skewX(-20deg);
    transition:left .6s ease;
}

.cx-submit:hover::after{
    left:140%;
}

.cx-submit.is-loading{
    opacity:.9;
    pointer-events:none;
}

.cx-btn-text{
    position:relative;
    z-index:1;
}

/* HERO / FILTER PAGE */
.cx-result-hero{
    position:relative;
    overflow:hidden;
    border-radius:34px;
    background:
        radial-gradient(circle at top right, rgba(175,36,0,.18), transparent 25%),
        radial-gradient(circle at bottom left, rgba(44,62,85,.16), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
    border:1px solid rgba(44,62,85,.08);
    box-shadow:var(--cx-shadow);
    margin-bottom:24px;
}

.cx-result-hero-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    padding:34px 30px;
}

.cx-hero-kicker{
    display:inline-block;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(175,36,0,.08);
    color:var(--cx-primary);
    font-size:12px;
    font-weight:900;
    letter-spacing:.4px;
    text-transform:uppercase;
    margin-bottom:12px;
}

.cx-result-title{
    margin:0;
    color:var(--cx-secondary);
    font-size:38px;
    line-height:1.15;
    font-weight:900;
}

.cx-result-desc{
    margin:10px 0 0;
    color:var(--cx-muted);
    font-size:15px;
    max-width:760px;
}

.cx-result-count{
    min-width:180px;
    text-align:center;
    padding:20px;
    border-radius:24px;
    background:linear-gradient(135deg, var(--cx-secondary), var(--cx-secondary-2));
    color:#fff;
    box-shadow:0 18px 35px rgba(44,62,85,.20);
}

.cx-count-number{
    display:block;
    font-size:38px;
    font-weight:900;
    line-height:1;
}

.cx-count-label{
    display:block;
    margin-top:8px;
    font-size:13px;
    opacity:.88;
    font-weight:700;
}

.cx-inline-filter-box{
    margin-bottom:24px;
}

.cx-filter-actions{
    display:none;
    justify-content:flex-end;
    margin-top:16px;
    animation:cxFilterFadeUp .35s ease;
}

.cx-filter-actions.is-visible{
    display:flex;
}

.cx-clear-filter{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-height:48px;
    padding:0 18px;
    border:none;
    border-radius:16px;
    cursor:pointer;
    font-size:14px;
    font-weight:900;
    letter-spacing:.2px;
    color:#fff;
    background:linear-gradient(135deg, var(--cx-primary), var(--cx-primary-2));
    box-shadow:
        0 14px 28px rgba(175,36,0,.22),
        inset 0 1px 0 rgba(255,255,255,.16);
    transition:all .28s ease;
    overflow:hidden;
}

.cx-clear-filter::before{
    content:"✕";
    width:24px;
    height:24px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.16);
    font-size:12px;
    font-weight:900;
    flex-shrink:0;
}

.cx-clear-filter::after{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:68%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
    transform:skewX(-18deg);
    transition:left .6s ease;
}

.cx-clear-filter:hover{
    transform:translateY(-2px) scale(1.02);
    box-shadow:
        0 20px 34px rgba(175,36,0,.30),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.cx-clear-filter:hover::after{
    left:140%;
}

.cx-clear-filter:active{
    transform:translateY(0);
}

.cx-clear-filter:focus{
    outline:none;
    box-shadow:
        0 0 0 4px rgba(175,36,0,.12),
        0 18px 30px rgba(175,36,0,.24);
}

@keyframes cxFilterFadeUp{
    from{
        opacity:0;
        transform:translateY(8px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* RESULTS AREA */
.cx-results-shell{
    position:relative;
/*     background:linear-gradient(180deg, #fff, #fbfcfe);
    border:1px solid rgba(44,62,85,.08);
    border-radius:30px;
    box-shadow:var(--cx-shadow);
    padding:26px;
    overflow:hidden; */
}

.cx-results-topbar{
    margin-bottom:18px;
}

.cx-filter-chip-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.cx-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border-radius:999px;
    background:#fff;
    border:1px solid rgba(175,36,0,.16);
    box-shadow:0 10px 24px rgba(44,62,85,.06);
    color:var(--cx-secondary);
    font-size:13px;
    font-weight:800;
}

.cx-chip b{
    color:var(--cx-primary);
}

.cx-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:26px;
}

.cx-card{
    position:relative;
    overflow:hidden;
    border-radius:24px;
    background:#fff;
    border:1px solid rgba(44,62,85,.08);
    box-shadow:0 16px 40px rgba(44,62,85,.10);
    transition:all .32s ease;
}

.cx-card:hover{
    transform:translateY(-7px);
    box-shadow:0 24px 54px rgba(24,39,58,.16);
    border-color:rgba(175,36,0,.18);
}

.cx-card-thumb{
    display:block;
    position:relative;
    overflow:hidden;
    aspect-ratio: 16 / 9;
    background:#eef2f6;
}

.cx-card-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .5s ease;
}

.cx-card:hover .cx-card-thumb img{
    transform:scale(1.05);
}

.cx-badge{
    position:absolute;
    top:14px;
    right:14px;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(255,255,255,.92);
    color:var(--cx-primary);
    font-size:12px;
    font-weight:900;
    box-shadow:0 8px 20px rgba(24,39,58,.12);
}

.cx-card-content{
    padding:18px 18px 20px;
}

.cx-card-mini{
    color:#d98300;
    font-size: 16px;
    font-weight:800;
    margin-bottom:10px;
}

.cx-card-title{
    margin:0 0 14px;
    font-size:18px;
    line-height:1.45;
    font-weight:900;
}

.cx-card-title a{
    color:#0e4d97;
    text-decoration:none;
}

.cx-card-title a:hover{
    color:var(--cx-primary);
}

.cx-meta-row{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:10px;
    margin-bottom:18px;
}

.cx-meta-col{
    background:linear-gradient(180deg, rgba(44,62,85,.035), rgba(44,62,85,.055));
    border-radius:16px;
    padding:12px 12px;
    transition:all .28s ease;
}

.cx-card:hover .cx-meta-col{
    background:linear-gradient(180deg, rgba(175,36,0,.045), rgba(175,36,0,.065));
}

.cx-meta-label{
    display:block;
    color:var(--cx-muted);
    font-size:11px;
    font-weight:800;
    margin-bottom:5px;
    text-transform:uppercase;
    letter-spacing:.3px;
}

.cx-meta-value{
    display:block;
    color:var(--cx-secondary);
    font-size:14px;
    font-weight:800;
    line-height:1.45;
}

.cx-card-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

.cx-book-btn{
    min-width:110px;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 18px;
    border-radius:14px;
    text-decoration:none;
    color:#fff;
    background:linear-gradient(135deg, #f39b00, #ea8500);
    font-weight:900;
    box-shadow:0 14px 26px rgba(243,155,0,.25);
    transition:all .28s ease;
}

.cx-book-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 30px rgba(243,155,0,.32);
    color:#fff;
}

.cx-price-box{
    text-align:right;
    margin-left:auto;
}

.cx-price-box small{
    display:block;
    color:var(--cx-muted);
    font-size: 13px;
    font-weight:800;
    margin-bottom:4px;
}

.cx-price-box strong{
    color:#ea8500;
    font-size:18px;
    font-weight:900;
    line-height:1.2;
}

.cx-empty{
    text-align:center;
    padding:56px 24px;
    border-radius:24px;
    background:linear-gradient(180deg, #fff, #fbfcfe);
    border:1px solid rgba(44,62,85,.08);
}

.cx-empty h3{
    margin:0 0 10px;
    color:var(--cx-secondary);
    font-size:28px;
    font-weight:900;
}

.cx-empty p{
    margin:0;
    color:var(--cx-muted);
}

.cx-pagination{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:28px;
}

.cx-pagination a,
.cx-pagination span{
    min-width:46px;
    height:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    text-decoration:none;
    background:#fff;
    color:var(--cx-secondary);
    border:1px solid rgba(44,62,85,.12);
    box-shadow:0 10px 22px rgba(44,62,85,.06);
    font-weight:900;
    padding:0 14px;
    transition:all .25s ease;
}

.cx-pagination a:hover,
.cx-pagination span.current{
    background:linear-gradient(135deg, var(--cx-primary), var(--cx-primary-2));
    color:#fff;
    border-color:transparent;
    transform:translateY(-2px);
}

.cx-loading-layer{
    position:absolute;
    inset:0;
    background:rgba(255,255,255,.85);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    z-index:3;
    backdrop-filter:blur(3px);
}

.cx-loader{
    width:46px;
    height:46px;
    border-radius:50%;
    border:4px solid rgba(44,62,85,.12);
    border-top-color:var(--cx-primary);
    animation:cxspin 1s linear infinite;
}

@keyframes cxspin{
    to{ transform:rotate(360deg); }
}

/* MENU TUYẾN XE */
.cx-route-menu{
    position:relative;
    display: flex;
    width: 1320px;
    margin: 30px auto;
}

.cx-route-menu-toggle{
    min-height:50px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    border:none;
    cursor:pointer;
    border-radius:16px;
    padding:0 18px;
    background:linear-gradient(135deg, var(--cx-secondary), var(--cx-secondary-2));
    color:#fff;
    font-weight:900;
    box-shadow:0 14px 30px rgba(44,62,85,.22);
    transition:all .28s ease;
}

.cx-route-menu-toggle:hover{
    transform:translateY(-2px);
    box-shadow:0 20px 36px rgba(44,62,85,.28);
}

.cx-route-menu-caret{
    transition:transform .25s ease;
}

.cx-route-menu.is-open .cx-route-menu-caret{
    transform:rotate(180deg);
}

.cx-route-menu-panel{
    position:absolute;
    top:calc(100% + 12px);
    left:0;
    width:min(900px, 92vw);
    z-index:50;
    padding:20px;
    border-radius:24px;
    background:linear-gradient(180deg, #fff, #fbfcfe);
    border:1px solid rgba(44,62,85,.08);
    box-shadow:0 26px 60px rgba(24,39,58,.18);
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:all .25s ease;
}

.cx-route-menu.is-open .cx-route-menu-panel{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.cx-route-menu-head{
    margin-bottom:16px;
    padding-bottom:12px;
    border-bottom:1px solid rgba(44,62,85,.08);
}

.cx-route-menu-head strong{
    display:block;
    color:var(--cx-secondary);
    font-size:18px;
    margin-bottom:4px;
}

.cx-route-menu-head span{
    color:var(--cx-muted);
    font-size:13px;
}

.cx-route-menu-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:12px;
    max-height:420px;
    overflow:auto;
    padding-right:4px;
}

.cx-route-link{
    display:flex;
    align-items:center;
    min-height:54px;
    padding:12px 14px;
    border-radius:16px;
    text-decoration:none;
    background:rgba(44,62,85,.035);
    color:var(--cx-secondary);
    font-weight:800;
    transition:all .25s ease;
}

.cx-route-link:hover{
    background:linear-gradient(135deg, rgba(175,36,0,.08), rgba(44,62,85,.06));
    color:var(--cx-primary);
    transform:translateY(-2px);
}

.cx-route-empty{
    color:var(--cx-muted);
    font-weight:700;
}

/* RESPONSIVE */
@media (max-width: 1199px){
    .cx-grid{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }
    .cx-search-form{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }
    .cx-route-menu-grid{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 767px){
    .cx-search-box{
        padding:20px;
        border-radius:24px;
    }

    .cx-search-title{
        font-size:24px;
    }

    .cx-search-form{
        grid-template-columns:1fr;
    }

    .cx-result-hero-inner{
        flex-direction:column;
        align-items:flex-start;
        padding:24px 20px;
    }

    .cx-result-title{
        font-size:28px;
    }

    .cx-results-shell{
        padding:18px;
        border-radius:24px;
    }

    .cx-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .cx-meta-row{
        grid-template-columns:1fr;
    }

    .cx-card-bottom{
        flex-direction:column;
        align-items:stretch;
    }

    .cx-price-box{
        margin-left:0;
        text-align:left;
    }

    .cx-route-menu-panel{
        width:min(96vw, 96vw);
        left:50%;
        transform:translate(-50%, 8px);
    }

    .cx-route-menu.is-open .cx-route-menu-panel{
        transform:translate(-50%, 0);
    }

    .cx-route-menu-grid{
        grid-template-columns:1fr;
    }
}
/* BOOKING MODAL */
.cx-booking-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
}

.cx-booking-modal.is-open{
    display:block;
}

.cx-booking-overlay{
    position:absolute;
    inset:0;
    background:rgba(16,24,40,.58);
    backdrop-filter:blur(5px);
}

.cx-booking-dialog{
    position:relative;
    width:min(920px, calc(100vw - 32px));
    max-height:calc(100vh - 40px);
    overflow:auto;
    margin:20px auto;
    background:
        radial-gradient(circle at top right, rgba(175,36,0,.12), transparent 22%),
        radial-gradient(circle at bottom left, rgba(44,62,85,.12), transparent 28%),
        linear-gradient(180deg, #ffffff, #fbfcfe);
    border-radius:28px;
    border:1px solid rgba(44,62,85,.10);
    box-shadow:0 30px 80px rgba(17,24,39,.28);
    padding:28px;
    animation:cxBookingPop .28s ease;
}

@keyframes cxBookingPop{
    from{opacity:0; transform:translateY(16px) scale(.98);}
    to{opacity:1; transform:translateY(0) scale(1);}
}

.cx-booking-close{
    position:absolute;
    top:14px;
    right:14px;
    width:46px;
	margin:0 !important;
	padding: 0 !important;
    height:46px;
	min-height: unset;
    line-height: unset !important;
    border:none;
    border-radius:999px;
    background:#fff;
    color:var(--cx-secondary);
    font-size:28px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 14px 30px rgba(44,62,85,.14);
    transition:all .25s ease;
}

.cx-booking-close:hover{
    background:linear-gradient(135deg, var(--cx-primary), #d74b1f);
    color:#fff;
    transform:rotate(90deg);
}

.cx-booking-head{
    margin-bottom:18px;
    padding-right:56px;
}

.cx-booking-head h3{
    margin:0 0 12px;
    color:#0e56a4;
    text-transform:uppercase;
    font-size:22px;
    font-weight:900;
    letter-spacing:.4px;
}

.cx-booking-trip-summary{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    padding:14px 16px;
    border-radius:18px;
    background:linear-gradient(135deg, rgba(175,36,0,.08), rgba(44,62,85,.06));
    border:1px solid rgba(175,36,0,.10);
}

.cx-booking-route{
    color:#d98300;
    font-size:16px;
    line-height:1.5;
    font-weight:900;
}

.cx-booking-price{
    color:var(--cx-primary);
    font-size:18px;
    font-weight:900;
    white-space:nowrap;
}

.cx-booking-form{
    margin-top:6px;
}

.cx-booking-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px 18px;
}

.cx-booking-field label{
    display:block;
    margin-bottom:8px;
    color:#0e56a4;
    font-size:14px;
    font-weight:800;
}

.cx-booking-field input{
    width:100% !important;
    height:54px !important;
    border:1px solid rgba(44,62,85,.14) !important;
    border-radius:14px !important;
    padding:0 16px !important;
    background:#fff !important;
    color:var(--cx-text) !important;
    font-size:15px !important;
    outline:none !important;
	margin: 0 !important;
    transition:all .25s ease;
}

.cx-booking-field input:hover,
.cx-booking-field input:focus{
    border-color:rgba(175,36,0,.36) !important;
    box-shadow:0 0 0 4px rgba(175,36,0,.08), 0 10px 26px rgba(44,62,85,.08) !important;
    transform:translateY(-1px);
}

.cx-booking-actions{
    display:flex;
    justify-content:center;
    margin-top:24px;
}

.cx-booking-submit{
    min-width:220px;
    min-height:56px;
    border:none;
    border-radius:16px;
    cursor:pointer;
    color:#fff;
    font-size:18px;
    font-weight:900;
    text-transform:uppercase;
    background:linear-gradient(135deg, #0e56a4, var(--cx-secondary));
    box-shadow:0 18px 34px rgba(44,62,85,.22);
    transition:all .28s ease;
}

.cx-booking-submit:hover{
    background:linear-gradient(135deg, var(--cx-primary), #d74b1f);
    transform:translateY(-2px);
    box-shadow:0 20px 40px rgba(175,36,0,.24);
}

.cx-booking-submit.is-loading{
    opacity:.85;
    pointer-events:none;
}

@media (max-width: 767px){
    .cx-booking-dialog{
        width:min(100vw - 16px, 100vw - 16px);
        margin:8px auto;
        padding:18px;
        border-radius:22px;
    }

    .cx-booking-grid{
        grid-template-columns:1fr;
    }

    .cx-booking-trip-summary{
        flex-direction:column;
    }

    .cx-booking-submit{
        width:100%;
        min-width:100%;
    }
}
body.cx-modal-open{
    overflow:hidden;
}
body.cx-modal-open{
    overflow:hidden;
}

/* Google Places dropdown */
.pac-container{
    z-index:100000 !important;
    border:none !important;
    border-radius:18px !important;
    overflow:hidden !important;
    box-shadow:0 24px 60px rgba(17,24,39,.20) !important;
    margin-top:8px !important;
    background:#fff !important;
    border:1px solid rgba(44,62,85,.08) !important;
    font-family:inherit !important;
}

.pac-item{
    padding:12px 16px !important;
    border-top:1px solid rgba(44,62,85,.06) !important;
    font-size:14px !important;
    line-height:1.45 !important;
    color:#1f2937 !important;
    cursor:pointer !important;
    transition:all .18s ease !important;
}

.pac-item:first-child{
    border-top:none !important;
}

.pac-item:hover{
    background:linear-gradient(135deg, rgba(175,36,0,.06), rgba(44,62,85,.05)) !important;
}

.pac-item-query{
    color:var(--cx-secondary) !important;
    font-weight:800 !important;
    font-size:14px !important;
}

.pac-icon{
    filter:hue-rotate(-20deg) saturate(1.2);
}

/* BOOKING MODAL */
.cx-booking-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
}

.cx-booking-modal.is-open{
    display:block;
}

.cx-booking-overlay{
    position:absolute;
    inset:0;
    background:rgba(16,24,40,.58);
    backdrop-filter:blur(5px);
}

.cx-booking-dialog{
    position:relative;
    width:min(920px, calc(100vw - 32px));
    max-height:calc(100vh - 40px);
    overflow:auto;
    margin:20px auto;
    background:
        radial-gradient(circle at top right, rgba(175,36,0,.12), transparent 22%),
        radial-gradient(circle at bottom left, rgba(44,62,85,.12), transparent 28%),
        linear-gradient(180deg, #ffffff, #fbfcfe);
    border-radius:28px;
    border:1px solid rgba(44,62,85,.10);
    box-shadow:0 30px 80px rgba(17,24,39,.28);
    padding:28px;
    animation:cxBookingPop .28s ease;
}

@keyframes cxBookingPop{
    from{opacity:0; transform:translateY(16px) scale(.98);}
    to{opacity:1; transform:translateY(0) scale(1);}
}

.cx-booking-close{
    position:absolute;
    top:14px;
    right:14px;
    width:46px;
    height:46px;
    border:none;
    border-radius:999px;
    background:#fff;
    color:var(--cx-secondary);
    font-size:28px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 14px 30px rgba(44,62,85,.14);
    transition:all .25s ease;
}

.cx-booking-close:hover{
    background:linear-gradient(135deg, var(--cx-primary), #d74b1f);
    color:#fff;
    transform:rotate(90deg);
}

.cx-booking-head{
    margin-bottom:18px;
    padding-right:56px;
}

.cx-booking-head h3{
    margin:0 0 12px;
    color:#0e56a4;
    text-transform:uppercase;
    font-size:22px;
    font-weight:900;
    letter-spacing:.4px;
}

.cx-booking-trip-summary{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    padding:14px 16px;
    border-radius:18px;
    background:linear-gradient(135deg, rgba(175,36,0,.08), rgba(44,62,85,.06));
    border:1px solid rgba(175,36,0,.10);
}

.cx-booking-route{
    color:#d98300;
    font-size:16px;
    line-height:1.5;
    font-weight:900;
}

.cx-booking-price{
    color:var(--cx-primary);
    font-size:18px;
    font-weight:900;
    white-space:nowrap;
}

.cx-booking-form{
    margin-top:6px;
}

.cx-booking-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;
}

.cx-booking-field label{
    display:block;
    margin-bottom:8px;
    color:#0e56a4;
    font-size:14px;
    font-weight:800;
}

.cx-booking-field input{
    width:100%;
    height:56px;
    border:1px solid rgba(44,62,85,.14);
    border-radius:16px;
    padding:0 16px;
    background:#fff;
    color:var(--cx-text);
    font-size:15px;
    outline:none;
    transition:all .25s ease;
}

.cx-booking-field input:hover,
.cx-booking-field input:focus{
    border-color:rgba(175,36,0,.36);
    box-shadow:0 0 0 4px rgba(175,36,0,.08), 0 10px 26px rgba(44,62,85,.08);
    transform:translateY(-1px);
}

.cx-booking-actions{
    display:flex;
    justify-content:center;
    margin-top:24px;
}

.cx-booking-submit{
    min-width:220px;
    min-height:56px;
    border:none;
    border-radius:16px;
    cursor:pointer;
    color:#fff;
    font-size:18px;
    font-weight:900;
    text-transform:uppercase;
    background:linear-gradient(135deg, #0e56a4, var(--cx-secondary));
    box-shadow:0 18px 34px rgba(44,62,85,.22);
    transition:all .28s ease;
}

.cx-booking-submit:hover{
    background:linear-gradient(135deg, var(--cx-primary), #d74b1f);
    transform:translateY(-2px);
    box-shadow:0 20px 40px rgba(175,36,0,.24);
}

.cx-booking-submit.is-loading{
    opacity:.85;
    pointer-events:none;
}

@media (max-width: 767px){
    .cx-booking-dialog{
        width:min(100vw - 16px, 100vw - 16px);
        margin:8px auto;
        padding:18px;
        border-radius:22px;
    }

    .cx-booking-grid{
        grid-template-columns:1fr;
    }

    .cx-booking-trip-summary{
        flex-direction:column;
    }

    .cx-booking-submit{
        width:100%;
        min-width:100%;
    }
}

.cx-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #16a34a;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.cx-toast.show {
    opacity: 1;
    transform: translateY(0);
}