/* Homepage refinement: full-bleed travel hero with a clear booking control surface. */
.home-shell {
    background: linear-gradient(to bottom, var(--mercury-onyx) 0 616px, var(--mercury-ice) 616px);
}
.search-shell .trip-expand > div .trip-stop-list { overflow: visible; text-overflow: clip; white-space: pre-line; }

.home-shell > .topbar,
.home-shell .hero,
.home-shell .search-card {
    width: min(1360px, calc(100% - 64px));
}

.home-shell > .topbar {
    height: 88px;
    margin: 0 auto;
    background: transparent;
}

.home-shell .hero {
    min-height: 440px;
    margin: 0 auto;
    grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
    background: transparent;
}

.home-shell .hero:before { display: none; }
.home-shell .hero-copy { padding: 48px 0 90px; }
.home-shell .hero h1 { max-width: 620px; font-size: clamp(50px, 5.2vw, 76px); line-height: .94; }
.home-shell .hero-text { max-width: 425px; }
.home-shell .live-indicator { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7d8bff; box-shadow: 0 0 0 5px rgba(125,139,255,.15); }
.home-shell .hero-art {
    height: 405px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(157, 167, 255, .18);
    border-radius: 28px 28px 0 0;
    background:
        radial-gradient(circle at 76% 23%, rgba(98, 118, 248, .42) 0 10px, rgba(98, 118, 248, .12) 11px 25px, transparent 26px),
        radial-gradient(circle at 54% 43%, rgba(157, 167, 255, .12), transparent 42%),
        linear-gradient(145deg, #242536, #171721 74%);
}

/* Use real travel photography instead of the original CSS illustrations. */
.home-shell .hero-art {
    background-image: linear-gradient(180deg, rgba(20, 22, 37, .08), rgba(20, 22, 37, .7)), url('https://images.unsplash.com/photo-1528127269322-539801943592?auto=format&fit=crop&w=1400&q=85');
    background-position: center;
    background-size: cover;
}
.home-shell .hero-art .sun-orbit,
.home-shell .hero-art .mountain,
.home-shell .hero-art .road-line,
.home-shell .hero-art .bus-illustration { display: none; }

.home-shell .sun-orbit { top: 42px; right: 15%; width: 248px; height: 248px; }
.home-shell .sun-orbit:before { display: none; }
.home-shell .mountain-back { left: 7%; bottom: -22px; border-width: 0 190px 220px; border-bottom-color: #35374a; }
.home-shell .mountain-front { right: -4%; bottom: -16px; border-width: 0 235px 255px; border-bottom-color: #2a2c3d; }
.home-shell .road-line { bottom: 12px; left: -8%; width: 117%; height: 130px; }
.home-shell .bus-illustration { right: 17%; bottom: 96px; transform: scale(1.18) rotate(-6deg); }
.home-shell .label-one { top: 47px; left: 15%; }.home-shell .label-two { right: 7%; bottom: 143px; }

.home-shell .search-card {
    margin: -44px auto 0;
    padding: 8px;
    border: 1px solid #d9dce8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 28px 60px rgba(20, 20, 32, .20);
}

.home-shell .search-form { padding: 20px 20px 18px; }
.home-shell .form-tabs { gap: 4px; align-items: center; padding: 4px; border: 1px solid #e5e7ef; border-radius: 10px; background: #f5f6fb; }.home-shell .form-tabs button { padding: 8px 11px; border-radius: 7px; color: #777987; font-size: 11px; }.home-shell .form-tabs button.active { color: var(--mercury-onyx); background: #fff; box-shadow: 0 2px 7px rgba(36, 39, 56, .08); }.home-shell .form-tabs button.active:after { display: none; }.home-shell .form-tabs button[aria-disabled="true"] { cursor: not-allowed; opacity: .58; }.home-shell .form-tabs button small { margin-left: 3px; color: #7b83dd; font-size: 8px; font-weight: 800; text-transform: uppercase; }.home-shell .form-hint { margin-left: auto; color: #858796; }
.home-shell .form-fields { grid-template-columns: 1.15fr 26px 1.15fr 1.06fr 170px; gap: 12px; }
.return-date-field[hidden] { display: none !important; }

.home-shell .field { height: 62px; border-color: #d9dce8; background: #fbfbfd; }.home-shell .field:focus-within { border-color: #8290ff; box-shadow: 0 0 0 3px rgba(82, 102, 235, .12); }
.home-shell .field-content small { color: #777987; }.home-shell .field-content input, .home-shell .field-content select { color: var(--mercury-onyx); }.home-shell .field-content input[type=date] { color-scheme: light; }.home-shell .field-icon, .home-shell .from-icon, .home-shell .to-icon { color: var(--mercury-cobalt); }.home-shell .swap-button { width: 30px; height: 30px; border-color: #d2d6e9; color: #4b5bd8; background: #f0f2ff; }.home-shell .search-button { height: 62px; font-size: 14px; }
.home-shell .field-date { cursor: pointer; }.home-shell .field-date input[type=date] { min-width: 132px; cursor: pointer; }.home-shell .field-date input[type=date]::-webkit-calendar-picker-indicator { cursor: pointer; filter: none; opacity: .72; }.home-shell .date-picker-icon { padding-left: 5px; color: #6574e6; font-size: 15px; pointer-events: none; }
.filter-apply { width: 100%; margin-top: 14px; padding: 10px 12px; border: 0; border-radius: 7px; color: #fff; background: var(--mercury-cobalt); font: inherit; font-weight: 700; cursor: pointer; }.sync-status { display: block; margin-top: 6px; color: #16856f; font-size: 12px; }.search-pagination { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; padding: 14px 0 4px; border-top: 1px solid #e2e4ed; }.search-pagination-summary { color: #777a8a; font-size: 12px; white-space: nowrap; }.search-pagination-links { display: flex; align-items: center; gap: 5px; }.search-pagination-links a, .search-pagination-links span { display: inline-flex; min-width: 34px; height: 34px; align-items: center; justify-content: center; padding: 0 9px; border: 1px solid #d9dce8; border-radius: 8px; color: #4b5bd8; background: #fff; font-size: 12px; text-decoration: none; }.search-pagination-links a:hover { border-color: #9da8f3; background: #f5f6ff; }.search-pagination-links .current { border-color: #5266eb; color: #fff; background: #5266eb; }.search-pagination-links .disabled { color: #b0b3bf; background: #f5f6f8; cursor: not-allowed; }.search-pagination-links .ellipsis { min-width: 20px; padding: 0; border-color: transparent; background: transparent; }

.home-shell .popular-section { padding-top: 102px; }
.home-shell .section-heading h2 { font-size: 38px; }
.popular-heading { align-items: center; }.popular-heading > div { max-width: 680px; }.popular-heading .text-link { display: inline-flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #c7cada; color: #4f5ed4; }
.verified-route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 31px; }
.verified-route-card { display: flex; min-width: 0; min-height: 310px; flex-direction: column; padding: 22px; overflow: hidden; border: 1px solid #dfe2ec; border-radius: 14px; color: #242533; background: #fff; box-shadow: 0 12px 34px rgba(31, 32, 50, .05); transition: border-color .25s, box-shadow .25s, transform .25s; }
.verified-route-card:hover { border-color: #aeb7ff; box-shadow: 0 18px 42px rgba(31, 32, 50, .1); transform: translateY(-4px); }
.verified-route-topline, .verified-route-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.verified-route-topline > b { color: #737686; font: 600 11px/1 "Space Grotesk", sans-serif; letter-spacing: .12em; }.verified-route-topline > span { display: inline-flex; align-items: center; gap: 8px; color: #5f6271; font-size: 11px; font-weight: 700; }.verified-route-topline > span i { width: 7px; height: 7px; border-radius: 50%; background: #16865a; box-shadow: 0 0 0 4px rgba(22, 134, 90, .11); }
.verified-route-journey { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 98px; margin: 17px -22px 0; padding: 18px 22px; border-top: 1px solid #eceef4; border-bottom: 1px solid #eceef4; background: #f8f8fc; }.verified-route-journey > strong { font: 600 19px/1.15 "Space Grotesk", sans-serif; letter-spacing: -.035em; }.verified-route-journey > strong:last-child { text-align: right; }.verified-route-journey > i { display: flex; align-items: center; color: #6674e7; font-style: normal; }.verified-route-journey > i b { height: 1px; flex: 1; background: #c9ceef; }.verified-route-journey > i em { margin: 0 6px; font-size: 17px; font-style: normal; }
.verified-route-facts { display: grid; grid-template-columns: 1.4fr .8fr .75fr; gap: 12px; padding: 20px 0; }.verified-route-facts > span { min-width: 0; }.verified-route-facts small { display: block; margin-bottom: 5px; color: #676a79; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }.verified-route-facts strong { display: block; overflow: hidden; color: #30313f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.verified-route-footer { margin-top: auto; padding-top: 15px; border-top: 1px solid #eceef4; }.verified-route-footer > span { color: #636675; font-size: 11px; font-weight: 600; }.verified-route-footer > strong { color: #4f5ed4; font-size: 11px; }.verified-route-footer > strong b { margin-left: 5px; font-size: 15px; }
.catalog-empty { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 31px; padding: 28px 30px; border: 1px solid #dfe2ec; border-radius: 14px; color: #676a79; background: #fff; box-shadow: 0 12px 34px rgba(31, 32, 50, .04); }.catalog-empty-mark { display: flex; width: 96px; height: 64px; align-items: center; justify-content: center; color: #6674e7; border-radius: 11px; background: #f0f2ff; }.catalog-empty-mark i { width: 11px; height: 11px; border: 3px solid #6674e7; border-radius: 50%; }.catalog-empty-mark b { width: 36px; margin: 0 3px; overflow: hidden; font-size: 15px; font-weight: 500; }.catalog-empty .section-kicker { margin-bottom: 7px; color: #5260cf; }.catalog-empty h3 { margin: 0 0 5px; color: #282936; font: 600 20px/1.2 "Space Grotesk", sans-serif; letter-spacing: -.035em; }.catalog-empty p:last-child { max-width: 620px; margin: 0; font-size: 12px; line-height: 1.55; }.catalog-empty-action { display: inline-flex; min-height: 42px; align-items: center; gap: 12px; padding: 0 16px; border-radius: 8px; color: #fff; background: #5266eb; font-size: 11px; font-weight: 800; white-space: nowrap; }.catalog-empty-action:hover { background: #4052cf; }.catalog-empty-action span { font-size: 15px; }
.home-shell .experience-visual { background-image: linear-gradient(180deg, rgba(20, 22, 37, .05), rgba(20, 22, 37, .62)), url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1200&q=82'); background-position: center; background-size: cover; }
.home-shell .experience-visual:after,
.home-shell .experience-visual .experience-sun,
.home-shell .experience-visual .experience-hill,
.home-shell .experience-visual .experience-bus { display: none; }
.home-shell .home-story-art { background-position: center; background-size: cover; }
.home-shell .home-story-art:before,
.home-shell .home-story-art:after { display: none; }
.home-shell .home-story-art.art-road { background-image: url('https://images.unsplash.com/photo-1470004914212-05527e49370b?auto=format&fit=crop&w=1000&q=82'); }
.home-shell .home-story-art.art-lantern { background-image: url('https://images.unsplash.com/photo-1559592413-7cec4d0cae2b?auto=format&fit=crop&w=1000&q=82'); }
.home-shell .home-story-art.art-mountain { background-image: url('https://images.unsplash.com/photo-1501785888041-af3ef285b470?auto=format&fit=crop&w=1000&q=82'); }

/* Search results use a quieter command-centre layout than the editorial homepage. */
.search-shell { min-height: 100vh; background: #f7f7fb; }
.search-shell > .topbar { width: min(1360px, calc(100% - 64px)); height: 82px; margin: 0 auto; background: transparent; }
.search-shell .results-page { padding-bottom: 96px; }
.search-shell .results-hero { overflow: hidden; color: #fff; background: radial-gradient(circle at 74% -45%, #6976e8 0, rgba(105, 118, 232, 0) 40%), #20212f; }
.search-shell .results-hero-inner { display: grid; grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr); align-items: center; min-height: 176px; gap: 28px; }
.search-shell .results-back { color: #c6cbff; font-size: 12px; font-weight: 700; }.search-shell .results-back:hover { color: #fff; }
.search-shell .results-route-summary { min-width: 0; text-align: center; }.search-shell .results-route-label { display: block; margin-bottom: 10px; color: #aeb5ef; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.search-shell .results-route-summary > div { display: flex; align-items: center; justify-content: center; gap: 17px; }.search-shell .results-route-summary strong { font: 600 clamp(21px, 2.4vw, 32px)/1.1 "Space Grotesk", sans-serif; letter-spacing: -.04em; }.search-shell .results-route-summary b { color: #aeb8ff; font-size: 25px; font-weight: 400; }
.search-shell .results-route-summary p { display: flex; justify-content: center; gap: 18px; margin: 14px 0 0; color: #c7cbe5; font-size: 12px; }.search-shell .results-route-summary p span { display: inline-flex; align-items: center; gap: 5px; }
.search-shell .results-edit-search { justify-self: end; padding: 11px 15px; border: 1px solid rgba(190, 198, 255, .35); border-radius: 8px; color: #fff; background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 700; }.search-shell .results-edit-search:hover { background: rgba(255, 255, 255, .16); }.search-shell .results-edit-search span { margin-left: 5px; }
.search-shell .results-layout { grid-template-columns: 224px minmax(0, 1fr); gap: 50px; padding-top: 52px; }.search-shell .results-layout-empty { display: block; max-width: 820px; padding-top: 58px; }
.search-shell .results-filter-panel { padding: 18px; border: 1px solid #e2e4ee; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(28, 29, 45, .04); }.search-shell .results-filter-panel .filter-note { border-radius: 9px; }
.search-shell .results-heading { align-items: center; margin-bottom: 20px; }.search-shell .results-heading h1 { font-size: 34px; }.search-shell .results-count { display: inline-flex; margin-top: 6px; padding: 5px 9px; border-radius: 20px; color: #4e5edc; background: #eceeff; font-size: 11px; font-weight: 700; }.search-shell .sort-control { padding: 7px 10px; border: 1px solid #dfe2ee; border-radius: 8px; color: #686a79; background: #fff; font-size: 11px; }.search-shell .sort-control select { border: 0; background: transparent; font: inherit; font-weight: 700; }
.search-shell .trip-card { border-color: #e1e3ed; background: #fff; }.search-shell .trip-card:hover { transform: translateY(-2px); }.search-shell .trip-price { background: #fbfbff; }.search-shell .trip-book-button { display: flex; width: 100%; min-height: 38px; margin-top: 8px; align-items: center; justify-content: center; gap: 4px; padding: 0 8px; border: 1px solid #5266eb; border-radius: 7px; color: #5266eb; background: #fff; font-size: 11px; font-weight: 800; text-decoration: none; transition: background .2s, color .2s, transform .2s; }.search-shell .trip-book-button span { font-size: 15px; }.search-shell .trip-book-button:hover { color: #fff; background: #5266eb; transform: translateY(-1px); }
.search-shell .trip-vehicle-image { display: block; width: 58px; height: 48px; margin-bottom: 9px; border: 1px solid #e4e6f0; border-radius: 9px; object-fit: cover; background: #f0f1f6; }
.search-shell .filter-group { margin: 0; padding: 15px 0; border: 0; border-bottom: 1px solid #e7e8ef; }.search-shell .filter-group summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; color: #252637; font-size: 12px; font-weight: 800; list-style: none; }.search-shell .filter-group summary:after { color: #6873d9; content: "+"; font-size: 17px; font-weight: 500; }.search-shell .filter-group[open] summary { margin-bottom: 10px; }.search-shell .filter-group[open] summary:after { content: "−"; }.search-shell .filter-group label { align-items: flex-start; margin: 9px 0; line-height: 1.35; }.search-shell .filter-group label input { flex: 0 0 auto; margin-top: 2px; }.filter-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }.filter-range input { min-width: 0; padding: 8px; border: 1px solid #dfe2ee; border-radius: 7px; font: 11px inherit; }.filter-range span { color: #a0a3b2; }.filter-unavailable { margin: 10px 0 0; color: #9a9dab; font-size: 11px; line-height: 1.45; }.trip-card[hidden] { display: none; }
.search-shell .no-trip-state { position: relative; overflow: hidden; padding: 58px 62px 38px; border: 1px solid #e0e3ef; border-radius: 20px; background: linear-gradient(145deg, #fff 0%, #f6f7ff 100%); box-shadow: 0 18px 45px rgba(30, 32, 55, .08); text-align: center; }.search-shell .no-trip-state:before { position: absolute; top: -100px; right: -100px; width: 290px; height: 290px; border: 1px solid rgba(103, 116, 235, .12); border-radius: 50%; box-shadow: 0 0 0 26px rgba(103, 116, 235, .04), 0 0 0 53px rgba(103, 116, 235, .025); content: ""; }
.search-shell .no-trip-icon { display: grid; position: relative; width: 50px; height: 50px; margin: 0 auto 20px; place-items: center; border-radius: 16px; color: #4e5edc; background: #e9ebff; font-size: 28px; }.search-shell .no-trip-state .section-kicker { position: relative; margin-bottom: 11px; color: #5666dc; }.search-shell .no-trip-state h1 { position: relative; max-width: 480px; margin: 0 auto 12px; color: #222332; font: 600 clamp(27px, 3.1vw, 40px)/1.04 "Space Grotesk", sans-serif; letter-spacing: -.055em; }.search-shell .no-trip-state > p:not(.section-kicker) { position: relative; max-width: 475px; margin: 0 auto; color: #696b7b; font-size: 14px; line-height: 1.65; }.search-shell .no-trip-state > p strong { color: #353746; font-weight: 700; }
.search-shell .no-trip-actions { position: relative; display: flex; justify-content: center; gap: 12px; margin: 27px 0 34px; }.search-shell .no-trip-primary, .search-shell .no-trip-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: 8px; font-size: 12px; font-weight: 700; }.search-shell .no-trip-primary { gap: 9px; color: #fff; background: #4e5edc; box-shadow: 0 9px 18px rgba(78, 94, 220, .25); }.search-shell .no-trip-primary:hover { background: #3f4fc8; transform: translateY(-1px); }.search-shell .no-trip-secondary { border: 1px solid #d9ddec; color: #4e5edc; background: #fff; }.search-shell .no-trip-secondary:hover { border-color: #b8c0f3; background: #f7f8ff; }
.search-shell .no-trip-routes { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 22px; border-top: 1px solid #e3e5ef; text-align: left; }.search-shell .no-trip-routes > span { grid-column: 1 / -1; color: #8a8c9b; font-size: 10px; font-weight: 700; letter-spacing: .12em; }.search-shell .no-trip-routes a { display: grid; gap: 5px; padding: 12px; border: 1px solid #e1e4f1; border-radius: 10px; color: #343646; background: rgba(255, 255, 255, .68); font-size: 12px; font-weight: 700; }.search-shell .no-trip-routes a:hover { border-color: #bac2f7; background: #fff; }.search-shell .no-trip-routes b { color: #6675e7; }.search-shell .no-trip-routes small { color: #777a8c; font-size: 10px; font-weight: 600; }
.search-shell .results-search-panel { width: min(1180px, calc(100% - 64px)); margin: 18px auto 0; padding: 14px 18px 18px; border: 1px solid #e0e2ea; border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(28, 29, 45, .07); }
.results-search-caption { display: flex; align-items: center; gap: 8px; margin: 0 4px 10px; color: #292b38; }.results-search-caption strong { font-size: 13px; }.results-search-caption small { color: #858896; font-size: 11px; }.results-search-dot { width: 7px; height: 7px; border-radius: 50%; background: #5266eb; box-shadow: 0 0 0 4px rgba(82, 102, 235, .12); }
.search-shell .results-search-panel .search-form { padding: 0; }.search-shell .results-search-panel .form-tabs { gap: 4px; padding: 4px; border: 1px solid #e5e7ef; border-radius: 10px; background: #f5f6fb; }.search-shell .results-search-panel .form-tabs button { padding: 8px 11px; border-radius: 7px; }.search-shell .results-search-panel .form-tabs button.active:after { display: none; }.search-shell .results-search-panel .form-tabs button[aria-disabled="true"] { cursor: not-allowed; opacity: .58; }.search-shell .results-search-panel .form-tabs button small { margin-left: 3px; color: #7b83dd; font-size: 8px; font-weight: 800; text-transform: uppercase; }.search-shell .results-search-panel .form-fields { padding-top: 12px; }.search-shell .results-search-panel .search-button { background: #5266eb; box-shadow: 0 8px 16px rgba(82, 102, 235, .18); }.search-shell .results-search-panel .search-button:hover { background: #3f51d0; }
.search-shell .results-search-panel .form-tabs button { color: #858896; }.search-shell .results-search-panel .form-tabs button.active { color: #252735; }.search-shell .results-search-panel .field { border-color: #dfe2eb; background: #fff; }.search-shell .results-search-panel .field:focus-within { border-color: #8090ff; box-shadow: 0 0 0 3px rgba(82, 102, 235, .12); }.search-shell .results-search-panel .field-icon, .search-shell .results-search-panel .from-icon, .search-shell .results-search-panel .to-icon { color: #5266eb; }.search-shell .results-search-panel .field-content small { color: #777b8c; }.search-shell .results-search-panel .field-content input, .search-shell .results-search-panel .field-content select { color: #20222d; }.search-shell .results-search-panel .field-content input[type=date] { color-scheme: light; }.search-shell .results-search-panel .field-content input::-webkit-calendar-picker-indicator { filter: none; }.search-shell .results-search-panel .field-arrow { color: #777b8c; }.search-shell .results-search-panel .swap-button { border-color: #dfe2eb; color: #5266eb; background: #fff; }
.search-shell .trip-meta { flex-wrap: wrap; gap: 7px; }.search-shell .trip-meta span { padding: 5px 8px; border-radius: 5px; color: #626574; background: #f2f3f8; font-size: 10px; }.search-shell .trip-line small { color: #9a9daa; font-size: 9px; }.search-shell .trip-times .trip-location { display: block; max-width: 190px; color: #555866; font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }.search-shell .trip-expand { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }.search-shell .trip-expand > div { min-width: 0; padding-right: 8px; border-right: 1px solid #e8e9ef; }.search-shell .trip-expand > div span { display: block; margin-bottom: 5px; color: #9a9daa; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }.search-shell .trip-expand > div strong { display: block; overflow: hidden; color: #464852; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.search-shell .trip-expand .seat-link { align-self: end; justify-self: end; }
.search-shell .trip-card { display: grid; grid-template-columns: minmax(0, 1fr) 215px; }.search-shell .trip-deal-bar { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; min-height: 28px; padding: 0 16px; color: #fff; background: #20ae08; font-size: 10px; }.search-shell .trip-deal-bar strong { font-size: 11px; }.search-shell .trip-deal-bar span { font-weight: 700; }.search-shell .trip-discount { align-self: center; padding: 3px 5px; border-radius: 4px; color: #fff; background: #eb5660; font-size: 10px; font-weight: 700; }.search-shell .trip-coupon-list { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }.search-shell .trip-coupon-list span { padding: 4px 6px; border-radius: 4px; color: #315ac5; background: #edf3ff; font-size: 9px; font-weight: 700; }.search-shell .trip-service-row { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 18px; padding: 10px 16px; border-top: 1px solid #e8e9ef; color: #168b32; font-size: 10px; font-weight: 700; }.search-shell .trip-service-row span { white-space: nowrap; }


@media (max-width: 900px) {
    .home-shell { background: linear-gradient(to bottom, var(--mercury-onyx) 0 770px, var(--mercury-ice) 770px); }
    .home-shell > .topbar, .home-shell .hero, .home-shell .search-card { width: min(100% - 40px, 760px); }
    .home-shell .hero { grid-template-columns: 1fr; }.home-shell .hero-copy { padding-bottom: 16px; }.home-shell .hero-art { height: 300px; border-radius: 24px 24px 0 0; }
    .home-shell .search-card { margin-top: -8px; }.home-shell .form-fields { grid-template-columns: 1fr 1fr; }.home-shell .search-button { grid-column: span 2; }
    .verified-route-grid { grid-template-columns: 1fr; }.verified-route-card { min-height: 280px; }.catalog-empty { grid-template-columns: auto minmax(0, 1fr); }.catalog-empty-action { grid-column: 2; justify-self: start; }
    .search-shell > .topbar { width: min(100% - 40px, 760px); }.search-shell .results-hero-inner { grid-template-columns: 1fr auto; min-height: auto; padding-top: 24px; padding-bottom: 26px; }.search-shell .results-back { grid-column: 1; }.search-shell .results-edit-search { grid-column: 2; grid-row: 1; }.search-shell .results-route-summary { grid-column: 1 / -1; grid-row: 2; margin-top: 23px; }.search-shell .results-layout { display: block; padding-top: 35px; }.search-shell .results-filter-panel { display: none; }.search-shell .results-search-panel { width: min(100% - 40px, 760px); }
}

@media (max-width: 560px) {
    .home-shell { background: linear-gradient(to bottom, var(--mercury-onyx) 0 770px, var(--mercury-ice) 770px); }
    .home-shell > .topbar, .home-shell .hero, .home-shell .search-card { width: calc(100% - 30px); }
    .home-shell > .topbar { height: 72px; }.home-shell .hero { padding-top: 18px; }.home-shell .hero-copy { padding-top: 34px; }.home-shell .hero h1 { font-size: 48px; }.home-shell .hero-art { height: 218px; }.home-shell .sun-orbit { width: 150px; height: 150px; }.home-shell .mountain-back { border-width: 0 100px 125px; }.home-shell .mountain-front { border-width: 0 145px 155px; }.home-shell .bus-illustration { right: 18%; bottom: 55px; transform: scale(.78) rotate(-6deg); }.home-shell .label-two { bottom: 86px; }.home-shell .route-card-tall .route-image { height: 160px; }
    .home-shell .search-card { margin-top: 0; padding: 3px; border-radius: 12px; }.home-shell .search-form { padding: 16px 12px; }.home-shell .form-fields { grid-template-columns: 1fr; gap: 9px; }.home-shell .field, .home-shell .search-button { height: 56px; }.home-shell .swap-button { right: 42%; }.home-shell .search-button { grid-column: auto; }.home-shell .popular-section { padding-top: 78px; }.home-shell .section-heading h2 { font-size: 32px; }.verified-route-card { min-height: 0; padding: 18px; }.verified-route-journey { grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); margin-right: -18px; margin-left: -18px; padding-right: 18px; padding-left: 18px; }.verified-route-journey > strong { font-size: 17px; }.verified-route-facts { grid-template-columns: 1.3fr .8fr .7fr; }.catalog-empty { display: block; padding: 22px; }.catalog-empty-mark { width: 76px; height: 50px; margin-bottom: 20px; }.catalog-empty-action { margin-top: 20px; }
    .search-shell > .topbar { width: calc(100% - 30px); height: 72px; }.search-shell .results-hero-inner { width: calc(100% - 30px); gap: 12px; }.search-shell .results-route-summary > div { display: grid; gap: 7px; }.search-shell .results-route-summary b { font-size: 19px; }.search-shell .results-route-summary strong { font-size: 24px; }.search-shell .results-route-summary p { gap: 10px; font-size: 11px; }.search-shell .results-edit-search { padding: 9px 11px; font-size: 11px; }.search-shell .results-layout, .search-shell .results-layout-empty { width: calc(100% - 30px); padding-top: 28px; }.search-shell .results-heading { align-items: start; }.search-shell .results-heading h1 { font-size: 28px; }.search-shell .sort-control { display: none; }.search-shell .no-trip-state { padding: 42px 19px 24px; border-radius: 15px; }.search-shell .no-trip-state h1 { font-size: 29px; }.search-shell .no-trip-actions { flex-direction: column; margin-bottom: 27px; }.search-shell .no-trip-routes { grid-template-columns: 1fr; }.search-shell .no-trip-routes a { padding: 11px; }.search-shell .results-search-panel { width: calc(100% - 30px); margin-top: 12px; padding: 12px 10px 14px; }.results-search-caption { display: block; margin-bottom: 8px; }.results-search-caption small { display: block; margin: 5px 0 0 15px; }.search-shell .results-search-panel .form-fields { padding-top: 8px; }.search-shell .trip-card { grid-template-columns: 1fr; }.search-shell .trip-expand { grid-template-columns: 1fr 1fr; }.search-shell .trip-expand .seat-link { grid-column: 1 / -1; justify-self: start; }.search-shell .trip-service-row { gap: 9px; padding: 10px 12px; font-size: 9px; }.search-shell .trip-deal-bar { padding: 0 12px; }.search-pagination { align-items: stretch; flex-direction: column; gap: 10px; }.search-pagination-summary { font-size: 11px; }.search-pagination-links { justify-content: center; flex-wrap: wrap; }
}

/* Booking command bar inspired by the task-first Nhat Duong flow. */
.search-form.booking-command {
    padding: 0;
    color: #242633;
    font-family: "Roboto", sans-serif;
}
.booking-command-head {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 20px 15px;
    border-bottom: 1px solid #e5e7ef;
}
.booking-command-head > div > span {
    display: block;
    margin-bottom: 5px;
    color: #5266eb;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}
.booking-command-head strong {
    display: block;
    color: #202230;
    font: 700 17px/1.2 "Be Vietnam Pro", Inter, sans-serif;
    letter-spacing: -.025em;
}
.booking-live-proof {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid #d8dcf7;
    border-radius: 999px;
    color: #525a7b;
    background: #f7f8ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
}
.booking-live-proof i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a085;
    box-shadow: 0 0 0 4px rgba(22, 160, 133, .1);
}
.home-shell .search-form.booking-command .booking-command-fields,
.search-shell .search-form.booking-command .booking-command-fields {
    display: grid;
    grid-template-columns: minmax(190px, 1.15fr) 42px minmax(190px, 1.15fr) minmax(140px, .76fr) 170px;
    align-items: stretch;
    gap: 8px;
    padding: 16px 16px 14px;
}
.booking-command .return-date-field { display: none; }
@media (min-width: 1121px) {
    .home-shell .search-form.booking-command .booking-command-fields,
    .search-shell .search-form.booking-command .booking-command-fields {
        grid-template-rows: 68px;
        grid-auto-flow: column;
    }
}
.booking-route-group {
    min-width: 0;
    height: 68px;
    padding: 8px 12px;
    border: 1px solid #dfe2eb;
    border-radius: 8px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.booking-route-group:hover { border-color: #c7cce1; background: #fdfdff; }
.booking-route-group:focus-within { border-color: #7584f3; background: #fff; box-shadow: 0 0 0 3px rgba(82, 102, 235, .11); }
.booking-route-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    color: #5266eb;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.booking-route-label i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.booking-location-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-location-control { position: relative; min-width: 0; }
.booking-location-control + .booking-location-control { padding-left: 10px; border-left: 1px solid #e5e7ef; }
.booking-location-selects small {
    display: block;
    overflow: hidden;
    margin-bottom: 2px;
    color: #8b8e9d;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .04em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.booking-location-selects select {
    appearance: none;
    width: 100%;
    min-width: 0;
    min-height: 27px;
    padding: 4px 28px 4px 7px;
    border: 0;
    border-radius: 6px;
    outline: 0;
    color: #242633;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235266eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 7px center;
    background-size: 14px;
    font: 700 12px/1.25 "Roboto", sans-serif;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}
.booking-location-selects select:hover { color: #4053d2; background-color: #f3f5ff; }
.booking-location-selects select:focus { color: #3447c4; background-color: #eef1ff; }
.booking-location-selects select:disabled { color: #9b9dab; background-color: transparent; cursor: not-allowed; opacity: .72; }
.booking-location-selects select option {
    color: #242633;
    background: #fff;
    font: 500 13px/1.5 "Roboto", sans-serif;
}
.booking-location-selects select option:checked { color: #fff; background: #5266eb; font-weight: 700; }
.booking-location-selects select.searchable-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}
.searchable-select { position: relative; min-width: 0; }
.searchable-select-trigger {
    display: flex;
    width: 100%;
    min-height: 27px;
    align-items: center;
    padding: 4px 28px 4px 7px;
    border: 0;
    border-radius: 6px;
    color: #242633;
    background: transparent;
    font: 700 12px/1.25 "Roboto", sans-serif;
    text-align: left;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}
.searchable-select-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.searchable-select-trigger:after {
    position: absolute;
    right: 7px;
    width: 7px;
    height: 7px;
    border-right: 1.8px solid #5266eb;
    border-bottom: 1.8px solid #5266eb;
    content: "";
    transform: translateY(-2px) rotate(45deg);
    transition: transform .18s ease;
}
.searchable-select.open .searchable-select-trigger:after { transform: translateY(2px) rotate(225deg); }
.searchable-select-trigger:hover { color: #4053d2; background: #f3f5ff; }
.searchable-select-trigger:focus { outline: 0; color: #3447c4; background: #eef1ff; box-shadow: 0 0 0 2px rgba(82, 102, 235, .14); }
.searchable-select-trigger:disabled { color: #9b9dab; background: transparent; cursor: not-allowed; opacity: .72; }
.searchable-select-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 40;
    width: max(240px, 100%);
    padding: 8px;
    border: 1px solid #dfe2eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(34, 38, 64, .18);
}
.booking-location-control + .booking-location-control .searchable-select-panel { right: 0; left: auto; }
.searchable-select-panel[hidden] { display: none; }
.searchable-select-search {
    width: 100%;
    height: 36px;
    padding: 0 11px;
    border: 1px solid #d9ddeb;
    border-radius: 7px;
    outline: 0;
    color: #242633;
    background: #f8f9fd;
    font: 600 12px/1 "Roboto", sans-serif;
}
.searchable-select-search:focus { border-color: #7584f3; background: #fff; box-shadow: 0 0 0 3px rgba(82, 102, 235, .1); }
.searchable-select-options { display: grid; max-height: 230px; gap: 2px; margin-top: 7px; overflow-y: auto; overscroll-behavior: contain; }
.searchable-select-options button {
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 6px;
    color: #343744;
    background: #fff;
    font: 600 12px/1.35 "Roboto", sans-serif;
    text-align: left;
    cursor: pointer;
}
.searchable-select-options button:hover, .searchable-select-options button:focus { outline: 0; color: #3447c4; background: #eef1ff; }
.searchable-select-options button.selected { color: #fff; background: #5266eb; }
.searchable-select-empty { padding: 13px 10px; color: #8b8e9d; font-size: 11px; text-align: center; }
.booking-command .field {
    height: 68px;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid #dfe2eb;
    border-radius: 8px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.booking-command .field:hover { border-color: #c7cce1; background: #fdfdff; }
.booking-command .field:focus-within { border-color: #7584f3; background: #fff; box-shadow: 0 0 0 3px rgba(82, 102, 235, .11); }
.booking-command .field-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #5266eb;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.booking-command .field-content small {
    display: flex;
    min-height: 16px;
    align-items: center;
    gap: 5px;
    margin: 0 0 4px;
    color: #777a89;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.booking-command .field-content small em {
    color: #9b9dab;
    font-size: 8px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}
.booking-command .field-content input {
    height: 25px;
    color: #242633;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
}
.booking-command .field-content input[type="date"] {
    min-width: 0;
    font-size: 12px;
}
.booking-command .location-clear {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #85899a;
    background: #f0f1f6;
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
}
.booking-command .location-clear:hover { color: #fff; background: #5266eb; }
.booking-command .location-clear[hidden] { display: none; }
.booking-command .swap-button {
    width: 38px;
    height: 38px;
    align-self: center;
    justify-self: center;
    margin: 0;
    border: 1px solid #d8dcf0;
    border-radius: 50%;
    color: #5266eb;
    background: #f5f6ff;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.booking-command .swap-button:hover { border-color: #9ca7f2; color: #fff; background: #5266eb; }
.booking-command .swap-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}
.booking-command .search-button {
    width: 100%;
    height: 68px;
    gap: 9px;
    border-radius: 8px;
    color: #fff;
    background: #5266eb;
    box-shadow: none;
    cursor: pointer;
}
.booking-command .search-button:hover { background: #4053d2; }
.booking-command .search-button:disabled { opacity: .72; cursor: wait; transform: none; }
.booking-command .search-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
}
.booking-command .search-button span { font-size: 13px; font-weight: 800; }
.booking-assurance {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 18px;
    padding: 0 18px;
    border-top: 1px solid #eef0f5;
    color: #626574;
    font-size: 10px;
    font-weight: 700;
}
.booking-assurance > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.booking-assurance svg { width: 13px; height: 13px; fill: none; stroke: #16856f; stroke-width: 2; }
.booking-assurance small { margin-left: auto; color: #8a8d9c; font-size: 9px; }
.booking-command .location-suggestions { top: calc(100% + 15px); right: -12px; left: -42px; }
.home-shell .search-card { padding: 0; overflow: visible; }
.search-shell .results-search-panel { width: min(1320px, calc(100% - 64px)); padding: 0; overflow: visible; }
.search-shell .results-search-panel .results-search-caption { padding: 14px 17px 0; }
.search-shell .results-search-panel .booking-command-head,
.search-shell .results-search-panel .booking-assurance { display: none; }
.search-shell .results-search-panel .search-form.booking-command .booking-command-fields { padding-top: 14px; }

@media (max-width: 1120px) {
    .home-shell .search-form.booking-command .booking-command-fields,
    .search-shell .search-form.booking-command .booking-command-fields {
        grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    }
    .booking-command .departure-date-field { grid-column: 1 / span 2; }
    .booking-command .return-date-field { grid-column: 3; }
    .booking-command .search-button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    .booking-command-head { min-height: 0; align-items: flex-start; flex-direction: column-reverse; gap: 12px; padding: 16px; }
    .booking-command-head strong { font-size: 16px; }
    .booking-live-proof { min-height: 27px; }
    .home-shell .search-form.booking-command .booking-command-fields,
    .search-shell .search-form.booking-command .booking-command-fields {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 12px;
    }
    .booking-command .field { height: 62px; }
    .booking-route-group { height: auto; padding: 11px 12px; }
    .booking-location-selects { grid-template-columns: 1fr; gap: 9px; }
    .booking-location-control + .booking-location-control { padding: 9px 0 0; border-top: 1px solid #e5e7ef; border-left: 0; }
    .booking-location-selects small { font-size: 8px; }
    .booking-location-selects select { min-height: 34px; font-size: 13px; }
    .searchable-select-trigger { min-height: 34px; font-size: 13px; }
    .searchable-select-panel, .booking-location-control + .booking-location-control .searchable-select-panel { right: auto; left: 0; width: 100%; }
    .booking-command .swap-button {
        position: static;
        grid-column: 1;
        width: 40px;
        height: 40px;
        transform: rotate(90deg);
    }
    .booking-command .departure-date-field,
    .booking-command .return-date-field,
    .booking-command .search-button { grid-column: 1; }
    .booking-command .search-button { height: 54px; }
    .booking-command .passenger-stepper { max-width: 150px; }
    .booking-assurance { align-items: flex-start; flex-direction: column; gap: 8px; padding: 14px 16px; }
    .booking-assurance small { margin: 2px 0 0; }
    .booking-command .location-suggestions { left: -42px; }
    .search-shell .results-search-panel { width: calc(100% - 30px); }
}

@media (max-width: 560px) {
    .search-shell .trip-price {
        align-items: stretch;
    }

    .search-shell .trip-price .trip-badge {
        align-self: flex-start;
    }
}
