/* Nomabus-inspired search results, scoped so booking and public pages remain unchanged. */
.search-shell {
    --nomabus-accent: #1bbc9b;
    --nomabus-ink: #292929;
    --nomabus-muted: #6f736f;
    --nomabus-surface: #f4f5f2;
    color: var(--nomabus-ink);
    background: #fff;
    font-family: Inter, "DM Sans", sans-serif;
}
.search-shell .search-topline { color: #d9e7e3; background: #263a36; font: 400 13px "Roboto", sans-serif; }
.search-shell .search-topline .container { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 24px; }
.search-shell .search-main-header { position: relative; z-index: 30; background: #fff; box-shadow: 0 5px 22px rgba(23, 54, 47, .06); }
.search-shell .search-main-header-inner { display: flex; min-height: 92px; align-items: center; gap: 36px; }
.search-shell .search-header-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.search-shell .search-header-logo img { display: block; width: 145px; height: auto; }
.search-shell .search-header-nav { display: flex; align-items: center; gap: 34px; margin-right: auto; }
.search-shell .search-header-nav a { position: relative; padding: 8px 0; color: #354158; font: 700 14px "Roboto", sans-serif; text-decoration: none; }
.search-shell .search-header-nav a:after { position: absolute; right: 50%; bottom: 0; left: 50%; height: 2px; background: var(--nomabus-accent); content: ""; transition: right .2s, left .2s; }
.search-shell .search-header-nav a:hover { color: #1d2c29; background: transparent; }
.search-shell .search-header-nav a:hover:after { right: 0; left: 0; }
.search-shell .search-header-actions { display: flex; align-items: center; gap: 16px; }
.search-shell .search-language-switcher { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid rgba(9, 169, 142, .2); border-radius: 999px; background: #effaf7; }
.search-shell .search-language-switcher a { display: grid; min-width: 38px; height: 38px; place-items: center; padding: 0 8px; border-radius: 999px; color: #29443f; font: 700 12px/1 Geologica, sans-serif; text-decoration: none; }
.search-shell .search-language-switcher a:hover,
.search-shell .search-language-switcher a.active { color: #fff; background: var(--nomabus-accent); }
.search-shell .search-menu-button { display: none; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.search-shell .search-menu-button span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: #263a36; }

.search-shell .results-page { padding-bottom: 110px; }
.search-shell .results-hero {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    color: var(--nomabus-ink);
    background: #f4f5f2 url("../nomabus/assets/images/shapes/page-header-bg-shape.png") repeat-x bottom/auto 158px;
}
.search-shell .results-hero:after {
    position: absolute;
    right: 8%;
    bottom: -75px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(27, 188, 155, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(27, 188, 155, .05), 0 0 0 76px rgba(27, 188, 155, .025);
    content: "";
}
.search-shell .results-hero-shape { position: absolute; z-index: 0; background: var(--nomabus-accent); opacity: .12; }
.search-shell .results-hero-shape-one { top: 78px; left: 7%; width: 74px; height: 74px; border-radius: 55% 45% 62% 38%; transform: rotate(24deg); }
.search-shell .results-hero-shape-two { top: 62px; right: 10%; width: 82px; height: 82px; border: 17px solid var(--nomabus-accent); border-radius: 50%; background: transparent; }
.search-shell .results-hero-inner {
    position: relative;
    z-index: 1;
    grid-template-columns: 160px minmax(0, 1fr) 160px;
    min-height: 330px;
    gap: 32px;
}
.search-shell .results-back { color: #4d5652; font-size: 13px; }
.search-shell .results-back:hover { color: var(--nomabus-accent); }
.search-shell .results-route-summary { text-align: center; }
.search-shell .results-route-label { margin-bottom: 14px; color: var(--nomabus-accent); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.search-shell .results-route-summary h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0;
    font: 700 clamp(32px, 4vw, 52px)/1.08 Geologica, sans-serif;
    letter-spacing: -.045em;
}
.search-shell .results-route-summary h1 b { color: var(--nomabus-accent); font-weight: 400; }
.search-shell .results-route-summary p { margin-top: 20px; color: #646965; font-size: 13px; }
.search-shell .results-edit-search {
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--nomabus-ink);
    font-size: 12px;
    transition: background .2s, transform .2s;
}
.search-shell .results-edit-search:hover { color: #fff; background: var(--nomabus-accent); transform: translateY(-2px); }

.search-shell .results-search-panel {
    position: relative;
    z-index: 3;
    width: min(1260px, calc(100% - 64px));
    margin-top: -35px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 18px 55px rgba(35, 48, 43, .12);
}
.search-shell .results-search-panel,
.search-shell .results-search-panel .booking-command { font-family: "Roboto", sans-serif; }
.search-shell .results-search-panel .results-search-caption strong { font-family: "Geologica", sans-serif; }
.search-shell .results-search-panel .booking-route-label,
.search-shell .results-search-panel .booking-location-selects small,
.search-shell .results-search-panel .field-content small {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
.search-shell .results-search-panel .booking-route-label { font-size: 14px; }
.search-shell .results-search-panel .booking-location-selects small { font-size: 10px; }
.search-shell .results-search-panel .booking-location-selects select,
.search-shell .results-search-panel .searchable-select-trigger {
    font: 400 17px/1.25 "Roboto", sans-serif;
}
.search-shell .results-search-panel .booking-location-selects select option,
.search-shell .results-search-panel .searchable-select-options button { font: 400 15px/1.4 "Roboto", sans-serif; }
.search-shell .results-search-panel .searchable-select-search { font: 400 15px/1 "Roboto", sans-serif; }
.search-shell .results-search-panel .field-content input { font: 400 17px/1.25 "Roboto", sans-serif; }
.search-shell .results-search-panel .search-button { font: 600 18px/1.3 "Roboto", sans-serif; }
.search-shell .results-search-panel .search-button span { font-size: inherit; font-weight: inherit; }
.search-shell .search-route-fields {
    display: grid;
    grid-template-columns: minmax(190px, 1.15fr) minmax(190px, 1.15fr) minmax(155px, .8fr) minmax(125px, .62fr) 170px;
    gap: 0;
    padding: 14px 16px 16px;
}
.search-shell .search-route-fields.supports-return-date {
    grid-template-columns: minmax(180px, 1.1fr) minmax(180px, 1.1fr) minmax(140px, .72fr) minmax(140px, .72fr) minmax(110px, .58fr) 160px;
}
.search-shell .search-route-field {
    display: flex;
    min-width: 0;
    min-height: 72px;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    border-right: 1px solid #e2e6e3;
    background: #fff;
}
.search-shell .search-route-field:first-child { border-radius: 12px 0 0 12px; }
.search-shell .search-route-field > svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: var(--nomabus-accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}
.search-shell .search-route-field > span { display: grid; min-width: 0; flex: 1; gap: 1px; }
.search-shell .search-route-field small { color: rgba(85, 85, 85, .7); font: 400 16px/1.35 "Roboto", sans-serif; }
.search-shell .search-route-field select,
.search-shell .search-route-field input {
    width: 100%;
    min-width: 0;
    height: 30px;
    padding: 0;
    border: 0;
    outline: 0;
    color: var(--nomabus-ink);
    background: transparent;
    font: 400 17px/1.2 "Roboto", sans-serif;
}
.search-shell .search-route-field select { padding-right: 18px; cursor: pointer; }
.search-shell .search-route-form .search-button {
    height: 72px;
    margin-left: 12px;
    border-radius: 0 12px 12px 0;
}
.search-shell .results-search-panel .results-search-caption { padding: 17px 20px 0; }
.search-shell .results-search-panel .results-search-dot { background: var(--nomabus-accent); box-shadow: 0 0 0 4px rgba(27, 188, 155, .13); }
.search-shell .results-search-panel .search-button { background: var(--nomabus-accent); box-shadow: 0 10px 22px rgba(27, 188, 155, .22); }
.search-shell .results-search-panel .search-button:hover { background: #139d81; }
.search-shell .results-search-panel .field:focus-within { border-color: var(--nomabus-accent); box-shadow: 0 0 0 3px rgba(27, 188, 155, .12); }
.search-shell .results-search-panel .field-icon,
.search-shell .results-search-panel .from-icon,
.search-shell .results-search-panel .to-icon,
.search-shell .results-search-panel .swap-button { color: var(--nomabus-accent); }

.search-shell .results-layout { grid-template-columns: 286px minmax(0, 1fr); gap: 42px; padding-top: 72px; }
.search-shell .results-filter-panel {
    align-self: start;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: var(--nomabus-surface);
    box-shadow: none;
}
.search-shell .results-filter-disclosure > summary { display: none; }
.search-shell .results-filter-panel form { padding: 26px; }
.search-shell .filter-heading { padding-bottom: 20px; border-color: #dfe3de; font: 700 20px Geologica, sans-serif; }
.search-shell .clear-filters { color: var(--nomabus-accent); font-size: 12px; }
.search-shell .filter-group { padding: 18px 0; border-color: #dfe3de; }
.search-shell .filter-group summary { font-size: 13px; }
.search-shell .filter-group summary:after { color: var(--nomabus-accent); }
.search-shell .filter-group label { color: #626762; font-size: 12px; }
.search-shell .filter-group label input { accent-color: var(--nomabus-accent); }
.search-shell .filter-group label.filter-option-expired { color: #a1a6a2; }
.search-shell .filter-group label.filter-option-expired em { color: #b06a52; font-weight: 700; }
.search-shell .filter-range input { border-color: #d7dbd6; background: #fff; }
.search-shell .filter-apply {
    width: 100%;
    min-height: 48px;
    margin-top: 22px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--nomabus-ink);
    font: 700 12px Geologica, sans-serif;
    cursor: pointer;
}
.search-shell .filter-apply:hover { background: var(--nomabus-accent); }

.search-shell .results-heading { margin-bottom: 28px; }
.search-shell .results-heading .section-kicker { margin-bottom: 8px; color: var(--nomabus-accent); letter-spacing: .14em; }
.search-shell .results-heading h2 { margin: 0; font: 700 clamp(28px, 3vw, 40px)/1.1 Geologica, sans-serif; letter-spacing: -.04em; }
.search-shell .results-count { color: #0d806a; background: #e1f7f1; }
.search-shell .sort-control { min-height: 50px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--nomabus-surface); font-size: 12px; }
.search-shell .sort-control select { min-height: 50px; outline: none; }

.search-shell .trip-card {
    grid-template-columns: minmax(0, 1fr) 220px;
    margin-bottom: 22px;
    overflow: hidden;
    border: 1px solid #e3e6e1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(35, 48, 43, .06);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.search-shell .trip-card:hover { border-color: rgba(27, 188, 155, .6); box-shadow: 0 18px 45px rgba(35, 48, 43, .11); }
.search-shell .trip-deal-bar { min-height: 32px; padding: 0 22px; background: var(--nomabus-accent); }
.search-shell .trip-main { padding: 25px 24px; }
.search-shell .operator-block { min-width: 132px; }
.search-shell .operator-logo { color: #fff; background: var(--nomabus-accent); }
.search-shell .trip-vehicle-image { width: 78px; height: 60px; border: 0; border-radius: 10px; }
.search-shell .rating { color: #0e9278; }
.search-shell .trip-times strong { font: 700 25px Geologica, sans-serif; }
.search-shell .trip-line i { background: var(--nomabus-accent); }
.search-shell .trip-meta span { border-radius: 999px; color: #5d625e; background: var(--nomabus-surface); }
.search-shell .trip-price { padding: 25px 22px; border-color: #e3e6e1; background: var(--nomabus-surface); }
.search-shell .trip-price > strong { font: 700 23px Geologica, sans-serif; }
.search-shell .trip-badge { color: #0d806a; background: #dff6ef; }
.search-shell .trip-discount { background: #f5b715; color: var(--nomabus-ink); }
.search-shell .seats-left { color: #10846e; }
.search-shell .trip-book-button {
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--nomabus-accent);
}
.search-shell .trip-book-button:hover { background: var(--nomabus-ink); }
.search-shell .trip-service-row { padding: 12px 22px; border-color: #e6e9e4; color: #16856f; background: #fbfcfa; }
.search-shell .trip-expand { border-color: #e3e6e1; background: #f7f8f5; }
.search-shell .trip-expand .seat-link { color: #10846e; }
.search-shell .search-pagination-links a.current { border-color: var(--nomabus-accent); background: var(--nomabus-accent); }

@media (max-width: 900px) {
    .search-shell .search-main-header-inner { min-height: 78px; }
    .search-shell .search-header-nav { display: none; }
    .search-shell .search-header-nav.mobile-open { position: absolute; top: 78px; right: 20px; left: 20px; z-index: 40; display: flex; align-items: stretch; gap: 0; padding: 10px; border: 1px solid #dce6e2; border-radius: 12px; background: #fff; box-shadow: 0 18px 38px rgba(25, 57, 50, .14); flex-direction: column; }
    .search-shell .search-header-nav.mobile-open a { padding: 12px 13px; border-radius: 7px; }
    .search-shell .search-header-nav.mobile-open a:after { display: none; }
    .search-shell .search-header-nav.mobile-open a:hover { color: #087f69; background: #effaf7; }
    .search-shell .search-menu-button { display: block; }
    .search-shell .results-hero-inner { grid-template-columns: 1fr auto; }
    .search-shell .results-route-summary { grid-column: 1 / -1; }
    .search-shell .results-layout { display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 46px; }
    .search-shell .results-filter-panel { display: block; }
    .search-shell .results-filter-disclosure > summary {
        display: flex;
        min-height: 62px;
        align-items: center;
        justify-content: space-between;
        padding: 0 22px;
        cursor: pointer;
        font: 700 15px Geologica, sans-serif;
        list-style: none;
    }
    .search-shell .results-filter-disclosure > summary::-webkit-details-marker { display: none; }
    .search-shell .results-filter-disclosure > summary small { color: var(--nomabus-accent); font: 600 11px Inter, sans-serif; }
    .search-shell .results-filter-disclosure[open] > summary { border-bottom: 1px solid #dfe3de; }
    .search-shell .search-route-fields,
    .search-shell .search-route-fields.supports-return-date { grid-template-columns: 1fr 1fr; gap: 10px; }
    .search-shell .search-route-field { border: 1px solid #e2e6e3; border-radius: 10px; }
    .search-shell .search-route-field:first-child { border-radius: 10px; }
    .search-shell .search-route-form .search-button { grid-column: 1 / -1; height: 58px; margin-left: 0; border-radius: 10px; }
}

@media (max-width: 620px) {
    .search-shell .search-topline .container { justify-content: center; text-align: center; }
    .search-shell .search-topline span:last-child { display: none; }
    .search-shell .search-main-header-inner { min-height: 70px; }
    .search-shell .search-header-logo img { width: 122px; }
    .search-shell .search-language-switcher { gap: 2px; padding: 3px; }
    .search-shell .search-language-switcher a { min-width: 29px; height: 29px; padding: 0 5px; font-size: 10px; }
    .search-shell .search-header-nav.mobile-open { top: 70px; right: 15px; left: 15px; }
    .search-shell .results-hero { min-height: 300px; background-size: auto 95px; }
    .search-shell .results-hero-inner { min-height: 300px; padding-top: 25px; padding-bottom: 42px; }
    .search-shell .results-route-summary h1 { display: grid; gap: 7px; font-size: 31px; }
    .search-shell .results-route-summary p { align-items: center; flex-direction: column; gap: 7px; }
    .search-shell .results-hero-shape { display: none; }
    .search-shell .results-search-panel { margin-top: -24px; border-radius: 15px; }
    .search-shell .search-route-fields,
    .search-shell .search-route-fields.supports-return-date { grid-template-columns: 1fr; }
    .search-shell .search-route-form .search-button { grid-column: 1; }
    .search-shell .results-layout { width: calc(100% - 30px); padding-top: 36px; }
    .search-shell .results-heading { gap: 18px; }
    .search-shell .sort-control { display: flex; width: 100%; justify-content: space-between; margin-top: 15px; }
    .search-shell .trip-card { grid-template-columns: 1fr; border-radius: 17px; }
    .search-shell .trip-main { padding: 20px 17px; }
    .search-shell .trip-price { padding: 18px; }
    .search-shell .trip-service-row { padding: 11px 17px; }
}
