        :root {
            --ys-navy: #01294d;
            --ys-blue: #27a6ff;
            --ys-blue-dark: #0a4a8a;
            --ys-blue-soft: #eef6ff;
            --ys-danger: #ef4444;
            --ys-ease: cubic-bezier(.4, 0, .2, 1);
        }

        html,
        body {
            height: 100%;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: #f4f7fb;
            color: #23324a;
            /* App-shell layout: header/trip-bar and footer are fixed-height flex
               children that never scroll; .ys-scroll-area is the only child that
               grows to fill the remaining space and scrolls internally. */
            display: flex;
            flex-direction: column;
            height: 100vh;
            /* 100vh is taller than the visible area on mobile browsers (it ignores
               the URL/toolbar), which pushes the footer off-screen; dvh tracks it. */
            height: 100dvh;
            overflow: hidden;
        }

        a {
            text-decoration: none;
        }

        /* Header (and, on pages that add one, the trip bar right after it) stay
           put — they're flex children that don't shrink or scroll. Header must
           out-rank the trip bar so its mobile menu dropdown (nested inside the
           header's own stacking context) always paints above the trip bar,
           instead of being covered by it. */
        .ys-sticky-header,
        .ys-tripbar {
            flex-shrink: 0;
        }

        .ys-sticky-header {
            z-index: 1040;
        }

        .ys-tripbar {
            z-index: 1030;
        }

        /* The single scrollable region between the fixed header and fixed footer.
           min-height:0 is required so a flex child can actually shrink below its
           content size and hand off overflow to this element instead of the page. */
        .ys-scroll-area {
            flex: 1 1 auto;
            overflow-y: auto;
            min-height: 0;
        }

        /* AdminLTE's .app-content only pads left/right, so content can sit
           flush against the footer when the page is close to viewport height. */
        .ys-scroll-area .app-content {
            padding-bottom: 2rem;
        }

        /* Top navbar */
        .ys-navbar {
            background: rgba(255, 255, 255, .88);
            -webkit-backdrop-filter: saturate(180%) blur(14px);
            backdrop-filter: saturate(180%) blur(14px);
            border-bottom: 1px solid #e9eff6;
            box-shadow: 0 1px 0 rgba(1, 41, 77, .02), 0 8px 24px -18px rgba(1, 41, 77, .25);
        }

        .ys-navbar .ys-logo-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1320px;
            margin: 0 auto;
            padding: .55rem 1.25rem;
            gap: 1rem;
        }

        .ys-logo-row .brand {
            display: flex;
            align-items: center;
            gap: .55rem;
            transition: transform .2s var(--ys-ease);
        }

        .ys-logo-row .brand:hover {
            transform: translateY(-1px);
        }

        .ys-login-link {
            display: flex;
            align-items: center;
            gap: .45rem;
            font-weight: 600;
            font-size: .88rem;
            color: var(--ys-navy);
            white-space: nowrap;
            padding: .5rem .95rem;
            border-radius: 999px;
            background: var(--ys-blue-soft);
            border: 1px solid transparent;
            transition: background .2s var(--ys-ease), border-color .2s var(--ys-ease), transform .15s var(--ys-ease);
        }

        .ys-login-link i {
            font-size: 1.15rem;
            color: var(--ys-blue);
        }

        .ys-login-link:hover {
            color: var(--ys-blue-dark);
            background: #fff;
            border-color: #cfe4ff;
            transform: translateY(-1px);
        }

        .ys-profile-link {
            display: flex;
            align-items: center;
            gap: .55rem;
            font-weight: 600;
            font-size: .88rem;
            color: var(--ys-navy);
            white-space: nowrap;
            padding: .3rem .9rem .3rem .3rem;
            border-radius: 999px;
            border: 1px solid #e6edf5;
            transition: background .2s var(--ys-ease), border-color .2s var(--ys-ease), transform .15s var(--ys-ease);
        }

        .ys-profile-link img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #e6edf5;
        }

        .ys-profile-link:hover {
            color: var(--ys-blue-dark);
            background: var(--ys-blue-soft);
            border-color: #cfe4ff;
            transform: translateY(-1px);
        }

        .ys-profile-link:hover img {
            border-color: #cfe4ff;
        }

        @media (max-width: 420px) {
            .ys-profile-link span {
                display: none;
            }
        }

        .ys-nav-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        /* Hamburger menu (Rides / Account) */
        .ys-menu-wrap {
            position: relative;
        }

        .ys-menu-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: none;
            border: 1px solid #e6edf5;
            border-radius: 12px;
            color: var(--ys-navy);
            font-size: 1.25rem;
            transition: background .2s var(--ys-ease), border-color .2s var(--ys-ease), color .2s var(--ys-ease), transform .15s var(--ys-ease);
        }

        .ys-menu-btn:hover {
            transform: translateY(-1px);
        }

        .ys-menu-btn:hover,
        .ys-menu-btn.open {
            background: var(--ys-blue-soft);
            border-color: #cfe4ff;
            color: var(--ys-blue);
        }

        .ys-menu-dropdown {
            position: absolute;
            top: calc(100% + 12px);
            right: 0;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 24px 56px rgba(1, 41, 77, .18), 0 4px 14px rgba(1, 41, 77, .08);
            padding: .5rem;
            width: 250px;
            max-width: calc(100vw - 2rem);
            z-index: 1200;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px) scale(.98);
            transform-origin: top right;
            transition: opacity .18s var(--ys-ease), transform .18s var(--ys-ease), visibility 0s linear .18s;
        }

        .ys-menu-dropdown.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
            transition: opacity .2s var(--ys-ease), transform .2s var(--ys-ease);
        }

        .ys-menu-section-label {
            display: block;
            font-size: .66rem;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: #94a3b8;
            padding: .65rem .8rem .3rem;
        }

        .ys-menu-divider {
            border: none;
            border-top: 1px solid #eef2f7;
            margin: .35rem .4rem;
        }

        .ys-menu-item {
            display: flex;
            align-items: center;
            gap: .65rem;
            padding: .6rem .8rem;
            border-radius: 10px;
            color: #23324a;
            font-weight: 600;
            font-size: .87rem;
            transition: background .15s var(--ys-ease), color .15s var(--ys-ease), transform .15s var(--ys-ease);
        }

        .ys-menu-item:active {
            transform: scale(.98);
        }

        .ys-menu-item i:first-child {
            font-size: 1.05rem;
            color: var(--ys-blue);
            width: 20px;
            text-align: center;
            flex-shrink: 0;
        }

        .ys-menu-item .arrow {
            margin-left: auto;
            font-size: .72rem;
            color: #c3cedb;
            transition: transform .15s var(--ys-ease);
        }

        .ys-menu-item:hover {
            background: var(--ys-blue-soft);
            color: var(--ys-blue-dark);
        }

        .ys-menu-item:hover .arrow {
            transform: translateX(3px);
            color: var(--ys-blue);
        }

        .ys-menu-item-danger {
            color: var(--ys-danger);
        }

        .ys-menu-item-danger i:first-child {
            color: var(--ys-danger);
        }

        .ys-menu-item-danger:hover {
            background: rgba(239, 68, 68, .08);
            color: var(--ys-danger);
        }

        @media (max-width: 420px) {
            .ys-login-link span {
                display: none;
            }
        }

        /* Desktop horizontal icon nav (MakeMyTrip-style category bar) */
        .ys-desktop-nav {
            display: none;
        }

        @media (min-width: 992px) {
            .ys-desktop-nav {
                display: flex;
                align-items: center;
                justify-content: end;
                gap: .35rem;
                flex: 1;
                margin-right: 1rem;
            }

            .ys-menu-wrap {
                display: none;
            }
        }

        .ys-desktop-nav-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: .22rem;
            color: #5b6b82;
            font-size: .72rem;
            font-weight: 600;
            white-space: nowrap;
            padding: .45rem .85rem .55rem;
            border-radius: 14px;
            transition: background .2s var(--ys-ease), color .2s var(--ys-ease), transform .15s var(--ys-ease);
        }

        .ys-desktop-nav-item:hover {
            background: var(--ys-blue-soft);
            transform: translateY(-1px);
        }

        .ys-desktop-nav-item::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            width: 0;
            height: 3px;
            border-radius: 3px;
            background: linear-gradient(90deg, var(--ys-blue-dark), var(--ys-blue));
            transform: translateX(-50%);
            transition: width .2s var(--ys-ease);
        }

        .ys-desktop-nav-item.active::after {
            width: 22px;
        }

        .ys-desktop-nav-item .ico-wrap {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #eef4ff;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .2s var(--ys-ease), box-shadow .2s var(--ys-ease), transform .2s var(--ys-ease);
        }

        .ys-desktop-nav-item:hover .ico-wrap {
            transform: scale(1.06);
        }

        .ys-desktop-nav-item .ico-wrap i {
            font-size: 1.05rem;
            color: var(--ys-blue-dark);
        }

        .ys-desktop-nav-item .ico-wrap .ico-img {
            width: 18px;
            height: 18px;
            display: inline-block;
            background-color: var(--ys-blue-dark);
            -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
            -webkit-mask-position: center;
            mask-position: center;
            -webkit-mask-size: contain;
            mask-size: contain;
            transition: background-color .2s var(--ys-ease);
        }

        .ico-img-new-ride {
            -webkit-mask-image: url('../img/nav-new-ride.svg');
            mask-image: url('../img/nav-new-ride.svg');
        }

        .ico-img-my-rides {
            -webkit-mask-image: url('../img/nav-my-rides.svg');
            mask-image: url('../img/nav-my-rides.svg');
        }

        .ico-img-help-support {
            -webkit-mask-image: url('../img/nav-help-support.svg');
            mask-image: url('../img/nav-help-support.svg');
        }

        .ico-img-profile {
            -webkit-mask-image: url('../img/nav-profile.svg');
            mask-image: url('../img/nav-profile.svg');
        }

        .ico-img-sign-out {
            -webkit-mask-image: url('../img/nav-sign-out.svg');
            mask-image: url('../img/nav-sign-out.svg');
        }

        .ys-desktop-nav-item:hover,
        .ys-desktop-nav-item.active {
            color: var(--ys-blue-dark);
        }

        .ys-desktop-nav-item:hover .ico-wrap,
        .ys-desktop-nav-item.active .ico-wrap {
            background: linear-gradient(135deg, var(--ys-blue-dark), var(--ys-blue));
            box-shadow: 0 6px 16px -4px rgba(10, 74, 138, .45);
        }

        .ys-desktop-nav-item:hover .ico-wrap i,
        .ys-desktop-nav-item.active .ico-wrap i {
            color: #fff;
        }

        .ys-desktop-nav-item:hover .ico-wrap .ico-img,
        .ys-desktop-nav-item.active .ico-wrap .ico-img {
            background-color: #fff;
        }

        .ys-desktop-nav-item-danger:hover {
            background: rgba(239, 68, 68, .08);
            color: var(--ys-danger);
        }

        .ys-desktop-nav-item-danger:hover .ico-wrap {
            background: linear-gradient(135deg, #ef4444, #f87171);
            box-shadow: 0 6px 16px -4px rgba(239, 68, 68, .45);
        }

        /* Trip summary bar */
        .ys-tripbar {
            background: linear-gradient(90deg, var(--ys-navy), var(--ys-blue-dark));
        }

        .ys-tripbar .ys-tripbar-inner {
            max-width: 1320px;
            margin: 0 auto;
            padding: .85rem 1.25rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0;
        }

        .ys-trip-field {
            padding: 0 1.1rem;
            border-right: 1px solid rgba(255, 255, 255, .18);
            flex: 1 1 140px;
            min-width: 0;
        }

        .ys-trip-field:first-child {
            padding-left: 0;
        }

        .ys-trip-field .lbl {
            display: block;
            font-size: .62rem;
            font-weight: 700;
            letter-spacing: .07em;
            color: rgba(255, 255, 255, .6);
            text-transform: uppercase;
            margin-bottom: 2px;
        }

        .ys-trip-field .val {
            font-size: .92rem;
            font-weight: 700;
            color: #fff;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* Editable trip bar controls */
        .ys-trip-input {
            width: 100%;
            background: transparent;
            border: none;
            outline: none;
            color: #fff;
            font-size: .92rem;
            font-weight: 700;
            padding: 0;
            font-family: inherit;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .ys-trip-input::placeholder {
            color: rgba(255, 255, 255, .55);
            font-weight: 600;
        }

        .ys-trip-input:focus {
            color: #fff;
        }

        select.ys-trip-input {
            appearance: none;
            -webkit-appearance: none;
        }

        select.ys-trip-input option {
            color: #23324a;
        }

        .ys-trip-input[readonly] {
            cursor: pointer;
        }

        /* Air Datepicker theme — matches ys-navy/ys-blue brand palette */
        .air-datepicker {
            /* .ys-tripbar sits at z-index:1030; the calendar is appended to
               <body> (outside the trip bar), so its default --adp-z-index:100
               would render it underneath the trip bar unless raised here. */
            --adp-z-index: 1200;
            --adp-accent-color: var(--ys-blue);
            --adp-color-current-date: var(--ys-blue);
            --adp-cell-background-color-selected: var(--ys-blue);
            --adp-cell-background-color-selected-hover: var(--ys-blue-dark);
            --adp-cell-background-color-in-range: rgba(39, 166, 255, .12);
            --adp-cell-background-color-in-range-hover: rgba(39, 166, 255, .2);
            --adp-day-name-color: var(--ys-navy);
            --adp-day-name-color-hover: var(--ys-blue);
            --adp-border-radius: 14px;
            --adp-cell-border-radius: 8px;
            --adp-font-family: inherit;
            --adp-nav-arrow-color: #fff;
            --adp-nav-color-secondary: rgba(255, 255, 255, .7);
            --adp-border-color: #e6edf5;
            --adp-btn-color: var(--ys-blue);
            font-size: .92rem;
            box-shadow: 0 12px 32px rgba(1, 41, 77, .18), 0 2px 8px rgba(1, 41, 77, .08);
            border: none;
        }

        .air-datepicker-nav {
            background: linear-gradient(90deg, var(--ys-navy), var(--ys-blue-dark));
            border-bottom: none;
            border-radius: 14px 14px 0 0;
        }

        .air-datepicker-nav--title,
        .air-datepicker-nav--action {
            color: #fff;
        }

        .air-datepicker-nav--title:hover,
        .air-datepicker-nav--action:not(.-disabled-):hover {
            background: rgba(255, 255, 255, .14);
        }

        .air-datepicker-nav--title i {
            color: rgba(255, 255, 255, .7);
        }

        .air-datepicker-body--day-name {
            font-weight: 700;
            font-size: .7rem;
        }

        .air-datepicker-cell {
            font-weight: 600;
        }

        .air-datepicker-cell.-selected- {
            font-weight: 700;
            box-shadow: 0 4px 10px rgba(39, 166, 255, .35);
        }

        .air-datepicker-cell.-current- {
            color: var(--ys-blue);
            font-weight: 700;
        }

        .air-datepicker-time {
            border-top: 1px solid #e6edf5;
        }

        .air-datepicker-time--current-hours,
        .air-datepicker-time--current-minutes {
            color: var(--ys-navy);
            font-weight: 700;
        }

        .air-datepicker-time--current-ampm {
            color: var(--ys-blue);
            font-weight: 700;
        }

        .air-datepicker-button {
            font-weight: 700;
        }

        .air-datepicker--pointer {
            display: none;
        }

        /* Mobile-overlay backdrop for the calendar (separate element from
           .air-datepicker, appended as its sibling) — same z-index-trap
           reasoning as .air-datepicker above. */
        .air-datepicker-overlay {
            --adp-overlay-z-index: 1150;
        }

        .ys-toggle-group {
            display: flex;
            gap: .4rem;
        }

        .ys-toggle-btn {
            background: rgba(255, 255, 255, .12);
            border: 1px solid rgba(255, 255, 255, .25);
            color: rgba(255, 255, 255, .8);
            font-size: .76rem;
            font-weight: 700;
            padding: .18rem .6rem;
            border-radius: 6px;
            white-space: nowrap;
        }

        .ys-toggle-btn.active {
            background: var(--ys-blue);
            border-color: var(--ys-blue);
            color: #fff;
        }

        /* Trip type dropdown */
        .ys-trip-type-field {
            position: relative;
        }

        .ys-tt-btn {
            display: flex;
            align-items: center;
            gap: .4rem;
            cursor: pointer;
        }

        .ys-tt-btn i {
            font-size: .72rem;
            transition: transform .2s ease;
        }

        .ys-tt-btn.open i {
            transform: rotate(180deg);
        }

        #tsTourPackageField {
            flex: 2 1 150px;
        }

        #tsTourPackageBtn {
            text-align: left;
        }

        #tsTourPackageBtn span {
            white-space: normal;
            line-height: 1.25;
            min-width: 0;
        }

        .ys-tt-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 12px);
            left: 0;
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 20px 48px rgba(1, 41, 77, .3);
            padding: .5rem;
            width: 340px;
            max-width: min(90vw, 340px);
            z-index: 1100;
        }

        .ys-tt-dropdown.open {
            display: block;
        }

        .ys-tt-option {
            display: block;
            padding: .8rem 1rem;
            border-radius: 10px;
            text-decoration: none;
        }

        .ys-tt-option:hover {
            background: #f0f6ff;
        }

        .ys-tt-option.selected {
            background: #e6f2ff;
            box-shadow: inset 3px 0 0 #27a6ff;
        }

        .ys-tt-option .tt-title {
            display: block;
            font-size: 1rem;
            font-weight: 800;
            color: #152036;
            margin-bottom: .15rem;
        }

        .ys-tt-option .tt-desc {
            display: block;
            font-size: .8rem;
            color: #8a96a8;
        }

        /* Clickable time-slot list, replaces the old drag-slider time picker */
        .ys-time-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 12px);
            left: 0;
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 20px 48px rgba(1, 41, 77, .3);
            padding: .4rem;
            width: 160px;
            max-height: 280px;
            overflow-y: auto;
            z-index: 1100;
        }

        .ys-time-dropdown.open {
            display: block;
        }

        .ys-time-option {
            padding: .55rem .8rem;
            border-radius: 8px;
            font-size: .88rem;
            font-weight: 600;
            color: #33455e;
            cursor: pointer;
        }

        .ys-time-option:hover {
            background: #f0f6ff;
        }

        .ys-time-option.active {
            background: var(--ys-blue);
            color: #fff;
            font-weight: 700;
        }

        .ys-menu-backdrop {
            display: none;
        }

        /* Location search: anchored floating popover on desktop, full-screen on mobile
           (top/left are set inline by JS on desktop; the mobile media query below
           takes over instead of fighting those inline styles with !important). */
        .ys-location-overlay {
            display: none;
            position: fixed;
            width: 420px;
            max-width: calc(100vw - 2rem);
            max-height: 400px;
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 20px 48px rgba(1, 41, 77, .3);
            z-index: 1150;
            flex-direction: column;
            overflow: hidden;
        }

        .ys-location-overlay.open {
            display: flex;
        }

        .ys-loc-search-box {
            position: relative;
            display: flex;
            align-items: center;
            gap: .7rem;
            padding: 1rem 2.6rem 1rem 1.1rem;
            border-bottom: 1px solid #e6edf5;
            flex-shrink: 0;
            box-sizing: border-box;
        }

        .ys-loc-search-box i.bi-search {
            color: #64748b;
            font-size: .9rem;
            flex-shrink: 0;
        }

        .ys-loc-search-box input {
            flex: 1 1 auto;
            width: 100%;
            border: none;
            outline: none;
            font-size: .92rem;
            font-weight: 600;
            color: #23324a;
            min-width: 0;
        }

        .ys-loc-search-box input::placeholder {
            color: #94a3b8;
            font-weight: 500;
        }

        /* Taken out of flex flow so a long prefilled value can never push it out of view */
        .ys-loc-search-box #tsLocationOverlayClose {
            position: absolute;
            right: .6rem;
            top: 50%;
            transform: translateY(-50%);
            border: none;
            background: none;
            color: #94a3b8;
            font-size: .95rem;
            padding: .3rem;
        }

        .ys-loc-overlay-results {
            flex: 1;
            overflow-y: auto;
            padding: .25rem 0;
        }

        .ys-loc-overlay-results a {
            display: block;
            padding: .8rem 1.1rem;
            text-decoration: none;
            color: #23324a;
            font-size: .82rem;
            font-weight: 500;
            border-bottom: 1px solid #f0f4f9;
        }

        .ys-loc-overlay-results a:hover,
        .ys-loc-overlay-results a:active {
            background: #f0f6ff;
        }

        .ys-loc-overlay-results .ys-skel {
            margin: .3rem 1.1rem;
        }

        #tsPackageTypeDropdown {
            max-height: 220px;
            overflow-y: auto;
        }

        #tsPackageTypeDropdown .ys-tt-option {
            padding: .6rem .85rem;
        }

        #tsPackageTypeDropdown .tt-title {
            font-size: .82rem;
            font-weight: 700;
        }

        .ys-modify-btn {
            margin-left: auto;
            flex-shrink: 0;
            background: var(--ys-blue);
            color: #fff;
            border: none;
            font-weight: 700;
            font-size: .85rem;
            padding: .55rem 1.4rem;
            border-radius: 8px;
            white-space: nowrap;
        }

        .ys-modify-btn:hover {
            background: #1c8fe0;
            color: #fff;
        }

        /* Trust strip */
        .ys-trust-strip {
            background: linear-gradient(90deg, var(--ys-navy), #052f5c 60%, var(--ys-navy));
            border-radius: 16px;
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .ys-trust-strip .ys-trust-inner {
            display: flex;
            padding: .9rem 1.25rem;
        }

        .ys-trust-item {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: .6rem;
            color: #fff;
        }

        .ys-trust-item .ico {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .12);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .ys-trust-item span {
            font-weight: 700;
            font-size: .85rem;
        }

        /* Main layout */
        .ys-main {
            max-width: 1320px;
            margin: 0 auto;
            padding: 1.25rem;
        }

        .ys-rates-note {
            font-size: .92rem;
            color: #475569;
            margin-bottom: 1rem;
        }

        .ys-rates-note strong {
            color: var(--ys-navy);
        }

        /* Sidebar sticky wrapper */
        .ys-sidebar-sticky {
            position: sticky;
            top: 0;
        }

        /* Filters card */
        .ys-filters-card {
            background: #fff;
            border: 1px solid #e6edf5;
            border-radius: 12px;
            padding: 1rem 1.1rem;
        }

        .ys-filters-card .fh {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: .75rem;
        }

        .ys-filters-card .fh h6 {
            font-weight: 800;
            color: var(--ys-navy);
            margin: 0;
        }

        .ys-filters-card .fh a {
            font-size: .78rem;
            color: var(--ys-blue);
            font-weight: 600;
        }

        .ys-filter-group-title {
            font-weight: 700;
            font-size: .85rem;
            color: var(--ys-navy);
            margin: .9rem 0 .5rem;
        }

        .ys-filter-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: .4rem 0;
            font-size: .87rem;
            color: #3a4a5f;
        }

        .ys-filter-item label {
            display: flex;
            align-items: center;
            gap: .55rem;
            cursor: pointer;
            margin: 0;
        }

        .ys-filter-item .cnt {
            color: #94a3b8;
            font-size: .8rem;
        }

        /* India trust badge */
        .ys-india-badge {
            background: #fff;
            border: 1px solid #e6edf5;
            border-radius: 12px;
            padding: .9rem 1rem;
            margin-top: 1rem;
            display: flex;
            align-items: center;
            gap: .75rem;
        }

        .ys-india-badge .emoji {
            /* The flag is drawn as an image because Windows has no flag emoji and shows "IN" instead; the emoji text stays for screen readers. */
            width: 2.6rem;
            height: 1.75rem;
            font-size: 0;
            flex-shrink: 0;
            background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2036%2024'%3E%3CclipPath%20id='c'%3E%3Crect%20width='36'%20height='24'%20rx='3'/%3E%3C/clipPath%3E%3Cg%20clip-path='url(%23c)'%3E%3Crect%20width='36'%20height='8'%20fill='%23FF9933'/%3E%3Crect%20y='8'%20width='36'%20height='8'%20fill='%23fff'/%3E%3Crect%20y='16'%20width='36'%20height='8'%20fill='%23138808'/%3E%3Ccircle%20cx='18'%20cy='12'%20r='3.2'%20fill='none'%20stroke='%23000080'%20stroke-width='.45'/%3E%3Ccircle%20cx='18'%20cy='12'%20r='1.6'%20fill='none'%20stroke='%23000080'%20stroke-width='3.1'%20stroke-dasharray='.14%20.279'/%3E%3Ccircle%20cx='18'%20cy='12'%20r='.6'%20fill='%23000080'/%3E%3C/g%3E%3Crect%20x='.5'%20y='.5'%20width='35'%20height='23'%20rx='2.5'%20fill='none'%20stroke='%23cbd5e1'/%3E%3C/svg%3E") center / contain no-repeat;
        }

        .ys-india-badge .txt .title {
            font-weight: 800;
            font-size: .95rem;
            color: var(--ys-navy);
        }

        .ys-india-badge .txt .sub {
            font-size: .82rem;
            color: #64748b;
        }

        /* Yanseva poster */
        .ys-poster {
            background: linear-gradient(135deg, var(--ys-navy), var(--ys-blue-dark));
            border-radius: 12px;
            padding: 1rem 1.1rem;
            margin-top: 1rem;
            color: #fff;
        }

        .ys-poster .poster-title {
            font-weight: 800;
            font-size: .95rem;
            margin-bottom: .6rem;
        }

        .ys-poster .poster-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: .5rem;
        }

        .ys-poster .poster-list li {
            display: flex;
            align-items: center;
            gap: .5rem;
            font-size: .85rem;
            font-weight: 600;
        }

        .ys-poster .poster-list li i {
            color: var(--ys-blue);
        }

        /* Vehicle card */
        .ys-vcard {
            background: #fff;
            border: 1px solid #e6edf5;
            border-radius: 12px;
            padding: 1rem;
            margin-bottom: 1rem;
            transition: box-shadow .2s ease, border-color .2s ease;
        }

        .ys-vcard:hover {
            box-shadow: 0 10px 28px rgba(1, 41, 77, .1);
            border-color: #cfe4ff;
        }

        .ys-vcard .vimg-box {
            background: linear-gradient(135deg, #eef4ff, #dcebff);
            border-radius: 10px;
            height: 110px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ys-vcard .vimg-box img {
            max-width: 88%;
            max-height: 78px;
            object-fit: contain;
        }

        .ys-vcard .vtitle {
            font-weight: 800;
            font-size: 1.05rem;
            color: var(--ys-navy);
            margin-bottom: .25rem;
        }

        .ys-badge-soft {
            display: inline-flex;
            align-items: center;
            gap: .25rem;
            font-size: .68rem;
            font-weight: 700;
            padding: .18rem .5rem;
            border-radius: 20px;
        }

        .ys-badge-verified {
            background: #e8f5e9;
            color: #2e7d32;
        }

        .ys-badge-toprated {
            background: #eef6ff;
            color: #1a6bb5;
        }

        /* Crossed-out prices: grey text with a red line slanting across it (the payment choice's amount, and every other struck price). */
        .ys-price-strike {
            position: relative;
            display: inline-block;
            font-size: .9rem;
            font-weight: 600;
            color: #5c6167;
        }

        .ys-price-final {
            font-size: 1.55rem;
            font-weight: 800;
            color: var(--ys-navy);
            line-height: 1.1;
        }

        .ys-price-off {
            font-size: .74rem;
            font-weight: 700;
            color: #2e7d32;
        }

        .ys-price-note {
            font-size: .72rem;
            color: #94a3b8;
        }

        .ys-select-btn {
            background: linear-gradient(135deg, var(--ys-navy), var(--ys-blue-dark));
            color: #fff;
            border: none;
            font-weight: 700;
            font-size: .85rem;
            padding: .55rem 1rem;
            border-radius: 8px;
            width: 100%;
        }

        .ys-select-btn:hover {
            background: linear-gradient(135deg, var(--ys-blue-dark), var(--ys-blue));
            color: #fff;
        }

        .ys-toggle-details {
            font-size: .78rem;
            font-weight: 600;
            color: var(--ys-blue);
            background: none;
            border: none;
            padding: 0;
        }

        .ys-toggle-details .bi-chevron-down {
            display: inline-block;
            transition: transform .25s ease;
        }

        .ys-toggle-details.open .bi-chevron-down {
            transform: rotate(180deg);
        }

        .ys-details-panel {
            display: none;
            margin-top: .85rem;
            padding-top: .85rem;
            border-top: 1px dashed #e2e8f0;
        }

        .ys-details-panel h6 {
            font-size: .78rem;
            font-weight: 800;
            color: var(--ys-navy);
            margin-bottom: .35rem;
        }

        .ys-details-panel ul {
            font-size: .8rem;
            color: #4a5a70;
            padding-left: 1.1rem;
        }

        .ys-empty {
            text-align: center;
            padding: 3rem 1rem;
            color: #94a3b8;
        }

        /* Loading skeletons */
        @keyframes ysShimmer {
            0% {
                background-position: -400px 0;
            }

            100% {
                background-position: 400px 0;
            }
        }

        .ys-skel {
            background: linear-gradient(90deg, #eef2f7 25%, #e4eaf1 37%, #eef2f7 63%);
            background-size: 400px 100%;
            animation: ysShimmer 1.4s ease infinite;
            border-radius: 6px;
        }

        .ys-skel-on-dark {
            background: linear-gradient(90deg, rgba(255, 255, 255, .18) 25%, rgba(255, 255, 255, .3) 37%, rgba(255, 255, 255, .18) 63%);
            background-size: 400px 100%;
        }

        .ys-skel-card {
            pointer-events: none;
        }

        /* Whole-page content skeleton (shown until window load, see
           user_footer.phtml for the reveal script). Pages compose their own
           layout inside #ysPageSkeleton using .ys-skel bars/blocks. */
        .ys-page-skeleton {
            flex: 1 1 auto;
            overflow-y: auto;
            min-height: 0;
            max-width: 1320px;
            width: 100%;
            margin: 0 auto;
            padding: 1.25rem;
            box-sizing: border-box;
        }

        .ys-skel-row {
            display: flex;
            gap: 1rem;
        }

        .ys-skel-row+.ys-skel-row {
            margin-top: 1rem;
        }

        .ys-skel-filter-item {
            display: flex;
            align-items: center;
            gap: .6rem;
            padding: .5rem 0;
        }

        .ys-skel-filter-item .ys-skel {
            height: 14px;
        }

        .ys-skel-filter-item .box {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
            border-radius: 4px;
        }

        /* Review Booking page */
        .ys-review-titlebar {
            background: var(--ys-navy);
        }

        .ys-review-titlebar-inner {
            max-width: 1320px;
            margin: 0 auto;
            padding: 1.1rem 1.25rem;
            display: flex;
            align-items: center;
            gap: .85rem;
        }

        .ys-review-titlebar-inner h5 {
            color: #fff;
            font-weight: 800;
            margin: 0;
        }

        .ys-back-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, .12);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .ys-back-btn:hover {
            background: rgba(255, 255, 255, .22);
        }

        .ys-review-card {
            background: #fff;
            border: 1px solid #e6edf5;
            border-radius: 12px;
            padding: 1.1rem;
            margin-bottom: 1rem;
        }

        .ys-review-card .section-title {
            font-weight: 800;
            font-size: .85rem;
            text-transform: uppercase;
            letter-spacing: .04em;
            color: var(--ys-navy);
            margin-bottom: .85rem;
        }

        .ys-payment-combo-card {
            padding: .85rem .75rem;
        }

        .ys-combo-divider {
            border: none;
            border-top: 1px solid #e6edf5;
            margin: .85rem 0;
        }

        @keyframes ysBookNowShimmer {

            0%,
            15% {
                transform: translateX(-160%) skewX(-20deg);
            }

            65%,
            100% {
                transform: translateX(290%) skewX(-20deg);
            }
        }

        @keyframes ysBookNowGlow {

            0%,
            100% {
                box-shadow: 0 6px 18px rgba(1, 41, 77, .32);
                transform: scale(1);
            }

            50% {
                box-shadow: 0 10px 36px rgba(1, 41, 77, .6), 0 0 0 8px rgba(39, 166, 255, .3);
                transform: scale(1.025);
            }
        }

        .ys-trip-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: .6rem;
            width: 100%;
            margin-bottom: 1rem;
            padding: .7rem 1rem;
            background: #fff;
            border: 1px solid #e6edf5;
            border-radius: 12px;
            font-size: .85rem;
            font-weight: 700;
            color: var(--ys-navy);
            text-align: left;
            cursor: pointer;
        }

        .ys-trip-toggle .bi-car-front-fill {
            margin-right: .5rem;
            color: var(--ys-blue-dark);
        }

        .ys-trip-toggle-chevron {
            transition: transform .25s var(--ys-ease);
        }

        .ys-trip-toggle[aria-expanded="true"] .ys-trip-toggle-chevron {
            transform: rotate(180deg);
        }

        /* Single-column layout: the trip + vehicle cards start collapsed so the
           payment card isn't pushed down the page; #ysTripToggle opens them. */
        @media (max-width: 991.98px) {

            #ysReviewBooking:not(.ys-trip-open) .ys-trip-summary-card,
            #ysReviewBooking:not(.ys-trip-open) .ys-review-vehicle-card {
                display: none;
            }
        }

        .ys-trip-summary-card {
            background: linear-gradient(135deg, #f0f6ff, #eef4ff);
            border-color: #d6e8ff;
        }

        .ys-trip-summary-card .trip-type-label {
            font-size: .78rem;
            font-weight: 700;
            color: #4a5a70;
            margin-bottom: .6rem;
        }

        .ys-route-row {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .ys-route-row .route-point {
            flex: 1;
            min-width: 0;
        }

        .ys-route-row .route-point .place {
            font-weight: 800;
            color: var(--ys-navy);
            font-size: 1.05rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .ys-route-dots {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
            width: 60px;
        }

        .ys-route-dots .dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            border: 2px solid var(--ys-blue);
            flex-shrink: 0;
        }

        .ys-route-dots .dot.filled {
            background: var(--ys-blue);
        }

        .ys-route-dots .line {
            flex: 1;
            border-top: 1px dashed #a9c8ee;
        }

        .ys-trip-summary-card .date-row {
            margin-top: .75rem;
            font-size: .85rem;
            font-weight: 600;
            color: #33445c;
            display: flex;
            align-items: center;
            gap: .4rem;
        }

        .ys-review-vehicle-card {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .ys-review-vehicle-card .vimg-box {
            width: 96px;
            height: 76px;
            flex-shrink: 0;
            background: linear-gradient(135deg, #eef4ff, #dcebff);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ys-review-vehicle-card .vimg-box img {
            max-width: 82%;
            max-height: 68%;
            object-fit: contain;
        }

        .ys-cancel-card {
            margin-bottom: 1rem;
        }

        .ys-cancel-trigger {
            width: 100%;
            display: flex;
            align-items: center;
            gap: .7rem;
            background: linear-gradient(135deg, #fff8e1, #fff3d1);
            border: 1px solid #f0dca3;
            border-radius: 14px;
            padding: .6rem .85rem;
            text-align: left;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(184, 134, 11, .1);
            transition: border-color .2s var(--ys-ease), box-shadow .2s var(--ys-ease), transform .15s var(--ys-ease);
        }

        .ys-cancel-trigger:hover {
            border-color: #e0c179;
            box-shadow: 0 6px 18px rgba(180, 140, 20, .18);
            transform: translateY(-1px);
        }

        .ys-cancel-trigger:active {
            transform: translateY(0);
        }

        .ys-cancel-icon {
            flex-shrink: 0;
            width: 34px;
            height: 34px;
            border-radius: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #ffffff, #fff3d6);
            color: #b8860b;
            font-size: 1rem;
            box-shadow: 0 0 0 1px #f0dca3, 0 2px 6px rgba(184, 134, 11, .15);
        }

        .ys-cancel-trigger-text {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: .1rem;
        }

        .ys-cancel-trigger-title {
            font-size: .76rem;
            font-weight: 700;
            color: #4a3a10;
        }

        .ys-cancel-trigger-sub {
            font-size: .63rem;
            color: #8a7440;
        }

        .ys-cancel-chevron {
            flex-shrink: 0;
            font-size: .78rem;
            color: #8a7440;
            transition: transform .25s var(--ys-ease);
        }

        .ys-cancel-trigger:not(.collapsed) .ys-cancel-chevron {
            transform: rotate(180deg);
        }

        .ys-cancel-trigger:not(.collapsed) .ys-cancel-chevron.bi-chevron-right {
            transform: rotate(90deg);
        }

        .ys-cancel-details {
            position: relative;
            background: #fff;
            border: 1px solid #eceef2;
            border-radius: 16px;
            padding: 1.1rem 1.1rem 1.05rem;
            margin-top: .65rem;
            font-size: .8rem;
            color: #4a3a10;
            box-shadow: 0 6px 20px rgba(20, 30, 50, .06);
            overflow: hidden;
            animation: ysCancelFadeIn .25s var(--ys-ease);
        }

        .ys-cancel-details::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #1a9a52, #3b8fd9 35%, #e0a72e 68%, #d64545);
        }

        @keyframes ysCancelFadeIn {
            from {
                opacity: 0;
                transform: translateY(-4px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .ys-cancel-note {
            margin: 0 0 1rem;
            color: #5c6b7a;
            line-height: 1.5;
        }

        .ys-cancel-timeline {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: .1rem;
        }

        .ys-cancel-timeline::before {
            content: '';
            position: absolute;
            left: 17px;
            top: 8px;
            bottom: 8px;
            width: 2px;
            background: #edf0f4;
            border-radius: 2px;
        }

        .ys-cancel-tier {
            position: relative;
            display: flex;
            align-items: flex-start;
            gap: .8rem;
            margin: 0 -.5rem;
            padding: .6rem .5rem;
            border-radius: 12px;
            transition: background .2s var(--ys-ease);
        }

        .ys-cancel-tier:hover {
            background: #f7f9fc;
        }

        .ys-tier-icon {
            position: relative;
            z-index: 1;
            flex-shrink: 0;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .82rem;
            background: #fff;
            border: 2px solid currentColor;
            box-shadow: 0 2px 6px rgba(20, 30, 50, .1);
        }

        .ys-tier-body {
            flex: 1 1 auto;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: .3rem;
            padding-top: .3rem;
        }

        .ys-tier-label {
            font-size: .78rem;
            font-weight: 700;
            color: #37424d;
        }

        .ys-tier-refund {
            align-self: flex-start;
            font-size: .72rem;
            font-weight: 800;
            padding: .22rem .65rem;
            border-radius: 999px;
        }

        .ys-tier-full .ys-tier-icon {
            color: #1a9a52;
        }

        .ys-tier-full .ys-tier-refund {
            color: #157a41;
            background: #d6f5e2;
        }

        .ys-tier-half .ys-tier-icon {
            color: #3b8fd9;
        }

        .ys-tier-half .ys-tier-refund {
            color: #1f6fb3;
            background: #dbeefc;
        }

        .ys-tier-partial .ys-tier-icon {
            color: #b8860b;
        }

        .ys-tier-partial .ys-tier-refund {
            color: #96700a;
            background: #faecc8;
        }

        .ys-tier-none .ys-tier-icon {
            color: #d64545;
        }

        .ys-tier-none .ys-tier-refund {
            color: #b3261e;
            background: #f9dada;
        }

        .ys-incl-row {
            display: flex;
            align-items: flex-start;
            gap: .65rem;
            padding: .5rem 0;
            border-bottom: 1px solid #f0f4f9;
            font-size: .85rem;
        }

        .ys-incl-row:last-child {
            border-bottom: none;
        }

        .ys-incl-row i {
            color: var(--ys-blue);
            font-size: 1rem;
            margin-top: .15rem;
        }

        /* One-line rows (no description): the icon sits on the text's centre line. */
        .ys-incl-row--single {
            align-items: center;
        }

        .ys-incl-row--single i {
            margin-top: 0;
            line-height: 1;
        }

        #rbExclusions ul {
            font-size: .85rem;
            color: #4a5a70;
            padding-left: 1.1rem;
            margin: 0;
        }

        .ys-coupon-card {
            display: flex;
            align-items: center;
            gap: .7rem;
            padding: .7rem .85rem;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            margin-bottom: .6rem;
            cursor: pointer;
        }

        .ys-coupon-card:hover {
            border-color: #a9c8ee;
        }

        .ys-coupon-card.selected {
            border-color: #2e7d32;
            background: #f2f9f2;
        }

        .ys-coupon-card .coupon-radio {
            flex-shrink: 0;
        }

        .ys-coupon-code {
            font-weight: 800;
            font-size: .82rem;
            color: var(--ys-navy);
            display: flex;
            align-items: center;
            gap: .3rem;
        }

        .ys-coupon-desc {
            font-size: .76rem;
            color: #6b839a;
        }

        .ys-total-fare-box {
            background: linear-gradient(135deg, #f0f6ff, #e8f5e9);
            border: 1px solid #d0e4ff;
            border-radius: 10px;
            padding: .7rem 1rem;
            margin-bottom: .75rem;
        }

        .ys-tnc-list {
            margin: 0;
            padding-left: 1.1rem;
            font-size: .82rem;
            color: #55708a;
        }

        .ys-tnc-list li {
            margin-bottom: .5rem;
        }

        .ys-tnc-list li:last-child {
            margin-bottom: 0;
        }

        @keyframes ysPayPulse {

            0%,
            100% {
                box-shadow: 0 10px 30px -12px rgba(1, 41, 77, .5), 0 0 0 0 rgba(39, 166, 255, .35);
            }

            50% {
                box-shadow: 0 10px 30px -12px rgba(1, 41, 77, .5), 0 0 0 8px rgba(39, 166, 255, 0);
            }
        }

        .ys-pay-now-note {
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            gap: .85rem;
            background: linear-gradient(135deg, #01294d, #0a4a8a 65%, #0f5fae);
            border-radius: 14px;
            padding: .9rem 1.1rem;
            color: #fff;
            margin-bottom: 1rem;
            animation: ysPayPulse 2.6s ease-in-out infinite;
        }

        .ys-pay-now-note::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top right, rgba(255, 255, 255, .14), transparent 60%);
            pointer-events: none;
        }

        .ys-pay-now-note .pn-icon {
            position: relative;
            z-index: 1;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .12);
            border: 1px solid rgba(255, 255, 255, .28);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .ys-pay-now-note .pn-icon i {
            font-size: 1.2rem;
            color: #ffd166;
        }

        .ys-pay-now-note .pn-body {
            position: relative;
            z-index: 1;
        }

        .ys-pay-now-note .pn-label {
            font-size: .7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .05em;
            color: #bfe0ff;
            margin-bottom: .15rem;
        }

        .ys-pay-now-note .pn-amount {
            font-size: 1.5rem;
            font-weight: 800;
            color: #fff;
            line-height: 1.15;
        }

        .ys-pay-now-note .pn-sub {
            font-size: .74rem;
            color: rgba(255, 255, 255, .72);
            margin-top: .1rem;
        }

        .ys-review-card .ys-pay-heading {
            font-size: .96rem;
            letter-spacing: .03em;
            margin-bottom: .75rem;
        }

        .ys-pay-choice {
            --ys-pay-blue: #2b7fd9;
            --ys-pay-blue-grad: linear-gradient(135deg, #1a69cf, #2f93f2);
            position: relative;
            display: flex;
            flex-direction: column;
            gap: .35rem;
            padding: .75rem .85rem .6rem;
            border: 1.5px solid #e1e8f2;
            border-radius: 14px;
            background: #fff;
            transition: border-color .2s var(--ys-ease), background .2s var(--ys-ease), box-shadow .2s var(--ys-ease);
        }

        .ys-pay-choice:hover {
            border-color: #cfe4ff;
        }

        .ys-pay-choice.selected {
            border-color: var(--ys-pay-blue);
            background: linear-gradient(180deg, #eaf4ff, #f5faff);
            box-shadow: 0 8px 22px rgba(43, 127, 217, .14);
        }

        @keyframes ysCardIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .ys-pay-choice {
            animation: ysCardIn .4s var(--ys-ease) both;
        }

        .ys-pay-choice-advance {
            padding-top: .4rem;
            padding-bottom: .65rem;
            animation-delay: .08s;
        }

        .ys-pay-best-badge {
            align-self: flex-start;
            display: inline-flex;
            align-items: center;
            gap: .35rem;
            margin: 0 0 .2rem .1rem;
            padding: .25rem .7rem .25rem .55rem;
            border-radius: 999px;
            background: #138a3d;
            color: #fff;
            font-size: .7rem;
            font-weight: 800;
            letter-spacing: .03em;
            line-height: 1.2;
        }

        .ys-pay-choice-head {
            display: flex;
            align-items: flex-start;
            gap: .65rem;
            margin: 0;
            cursor: pointer;
        }

        .ys-pay-choice-radio {
            width: 19px;
            height: 19px;
            flex-shrink: 0;
            margin: 10px 0 0;
            accent-color: var(--ys-pay-blue);
            cursor: pointer;
        }

        @keyframes ysIconPop {
            0% {
                transform: scale(.8);
            }

            60% {
                transform: scale(1.12);
            }

            100% {
                transform: scale(1);
            }
        }

        .ys-pay-choice-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            border-radius: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
            background: #e6f0fc;
            color: var(--ys-pay-blue);
            transition: background .2s var(--ys-ease), color .2s var(--ys-ease), box-shadow .2s var(--ys-ease);
        }

        .ys-pay-choice.selected .ys-pay-choice-icon {
            background: var(--ys-pay-blue-grad);
            color: #fff;
            box-shadow: 0 4px 12px rgba(43, 127, 217, .35);
            animation: ysIconPop .35s var(--ys-ease);
        }

        .ys-pay-choice-body {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: .18rem;
        }

        .ys-pay-choice-title {
            font-size: .95rem;
            font-weight: 800;
            line-height: 1.25;
            color: var(--ys-navy);
        }

        .ys-pay-choice-advance .ys-pay-choice-title {
            font-size: .96rem;
        }

        .ys-pay-choice:not(.ys-pay-choice-advance) .ys-pay-choice-title {
            font-size: .88rem;
        }

        .ys-pay-choice-save {
            color: #15803d;
        }

        .ys-pay-choice-sub {
            font-size: .74rem;
            line-height: 1.35;
            color: #5b6b80;
        }

        .ys-pay-choice-sub strong {
            font-weight: 800;
            color: var(--ys-navy);
        }

        .ys-pay-choice-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: .3rem .5rem;
            margin-top: .2rem;
        }

        .ys-pay-chip {
            display: inline-flex;
            align-items: center;
            gap: .35rem;
            padding: .28rem .6rem;
            border-radius: 8px;
            font-size: .66rem;
            font-weight: 600;
            line-height: 1.2;
        }

        .ys-pay-chip i {
            font-size: .85rem;
            line-height: 1;
        }

        .ys-pay-chip i::before {
            vertical-align: 0;
        }

        .ys-pay-chip-green {
            background: #dcf5e3;
            color: #166534;
        }

        .ys-pay-chip-green i {
            color: #16a34a;
        }

        .ys-pay-chip-amber {
            background: #fdf0cc;
            color: #7a5200;
        }

        .ys-pay-chip-amber i {
            color: #9a6a00;
        }

        .ys-pay-choice-price-group {
            display: flex;
            align-items: center;
            gap: .65rem;
            margin-left: auto;
        }

        .ys-pay-choice-strike {
            position: relative;
            display: inline-block;
            font-size: .95rem;
            font-weight: 600;
            color: #5c6167;
        }

        .ys-price-strike::after,
        .ys-pd-car-strike::after,
        .ys-pay-choice-strike::after {
            content: "";
            position: absolute;
            left: -3px;
            right: -3px;
            top: 50%;
            height: 2px;
            border-radius: 1px;
            background: #e5484d;
            transform: rotate(-10deg);
        }

        .ys-pay-total-pill {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            min-width: 96px;
            padding: .3rem .8rem;
            border-radius: 10px;
            background: var(--ys-pay-blue-grad);
            color: #fff;
            line-height: 1.15;
            box-shadow: 0 4px 12px rgba(43, 127, 217, .28);
        }

        .ys-pay-total-pill strong {
            font-size: .95rem;
            font-weight: 800;
        }

        .ys-pay-total-pill small {
            font-size: .66rem;
            font-weight: 500;
            opacity: .92;
        }

        .ys-pay-split {
            position: relative;
            display: grid;
            grid-template-columns: 1fr 1fr;
            padding: .35rem 0;
            border: 1.5px dashed #b4d0ee;
            border-radius: 10px;
            background: rgba(255, 255, 255, .55);
        }

        .ys-pay-split::after {
            content: "";
            position: absolute;
            left: 50%;
            top: 22%;
            bottom: 22%;
            border-left: 1.5px dotted #8fa9c6;
        }

        .ys-pay-split-col {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            line-height: 1.3;
        }

        .ys-pay-split-col strong {
            font-size: .87rem;
            font-weight: 800;
            color: var(--ys-navy);
        }

        .ys-pay-split-col>span {
            font-size: .68rem;
            color: #5b6b80;
        }

        .ys-pay-cta {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            width: 100%;
            min-height: 40px;
            padding: .45rem 1rem;
            border: 1.5px solid transparent;
            border-radius: 12px;
            font-family: inherit;
            font-size: .95rem;
            font-weight: 800;
            line-height: 1.2;
            cursor: pointer;
            transition: transform .15s var(--ys-ease), box-shadow .15s var(--ys-ease), filter .15s var(--ys-ease), background .15s var(--ys-ease);
        }

        .ys-pay-cta i {
            font-size: 1rem;
        }

        .ys-pay-cta:active {
            transform: scale(.98);
        }

        .ys-pay-cta:disabled {
            opacity: .7;
            cursor: not-allowed;
        }

        .ys-pay-cta-primary {
            background: linear-gradient(90deg, #ff9f0a, #ff4d4f);
            color: #fff;
            box-shadow: 0 6px 16px rgba(255, 92, 64, .32);
        }

        .ys-pay-cta-primary:hover:not(:disabled) {
            filter: brightness(1.06);
            transform: translateY(-1px);
        }

        .ys-pay-cta-outline {
            background: #fff;
            border-color: var(--ys-pay-blue);
            color: #1a69cf;
        }

        .ys-pay-cta-outline:hover:not(:disabled) {
            background: #f1f7ff;
        }

        .ys-pay-choice-divider {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: .45rem 0;
            text-align: center;
        }

        .ys-pay-choice-divider::before,
        .ys-pay-choice-divider::after {
            content: "";
            flex: 1;
            height: 1px;
            background: #dbe3ee;
        }

        .ys-pay-choice-divider span {
            padding: 0 .75rem;
            font-size: .8rem;
            font-weight: 700;
            color: #7b8aa0;
            letter-spacing: .04em;
        }

        .ys-pay-trust {
            display: flex;
            margin-top: .4rem;
            padding: .65rem 0;
            background: #eaf7ef;
            border: 1px solid #cfe9da;
            border-radius: 12px;
        }

        .ys-pay-trust-item {
            flex: 1 1 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: .25rem;
            padding: 0 .2rem;
            text-align: center;
            font-size: .64rem;
            font-weight: 600;
            line-height: 1.25;
            color: var(--ys-navy);
        }

        .ys-pay-trust-item+.ys-pay-trust-item {
            border-left: 1px solid #cde3d5;
        }

        .ys-pay-trust-item i {
            font-size: 1.35rem;
            line-height: 1;
        }

        #ysPaymentCard .ys-cancel-card {
            margin: .65rem 0 0;
        }

        @media (max-width: 360px) {
            .ys-pay-cta {
                font-size: .82rem;
                padding-inline: .6rem;
            }

            .ys-pay-choice-advance .ys-pay-choice-title {
                font-size: .88rem;
            }
        }

        .container-fluid {
            max-width: 1320px;
            margin: 0 auto;
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }


        @media (max-width: 991px) {
            .ys-filters-card {
                position: static;
                margin-bottom: 1rem;
            }

            /* Bottom sheet instead of the desktop anchored popover — top/left are
               only set inline by JS on desktop, so nothing here needs !important.
               No fixed height: the flex column (search box + results) sizes to
               its content and grows as results come in, capped by max-height
               with internal scroll on .ys-loc-overlay-results beyond that. */
            .ys-location-overlay {
                top: auto;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                max-width: 100%;
                max-height: 75vh;
                border-radius: 18px 18px 0 0;
                padding-bottom: env(safe-area-inset-bottom, 0px);
            }

            .ys-location-overlay::before {
                content: '';
                display: block;
                width: 40px;
                height: 4px;
                border-radius: 4px;
                background: #dbe3ec;
                margin: .6rem auto .1rem;
                flex-shrink: 0;
            }

            /* Fields wrap into a 2-column grid here. The desktop layout uses
               border-right + :first-child padding-left:0 to space fields out, but
               that only zeroes padding for the literal first field — every other
               row's left-column field would keep its left padding and look indented.
               Switch to a symmetric gap instead so every field lines up cleanly. */
            .ys-tripbar-inner {
                gap: .9rem .75rem;
            }

            .ys-trip-field {
                border-right: none;
                padding: 0;
                flex: 1 1 calc(50% - .375rem);
            }

            .ys-trip-field:first-child {
                padding-left: 0;
            }

            .ys-modify-btn {
                margin-left: 0;
                width: 100%;
                margin-top: .5rem;
            }

            /* Dropdown menus become bottom sheets: anchoring a fixed-width panel to a
               small trigger risks running off-screen once fields wrap into 2 columns. */
            .ys-menu-backdrop.open {
                display: block;
                position: fixed;
                inset: 0;
                background: rgba(1, 15, 30, .5);
                z-index: 1090;
            }

            .ys-tt-dropdown {
                position: fixed;
                top: auto;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                max-width: 100%;
                border-radius: 18px 18px 0 0;
                max-height: 70vh;
                overflow-y: auto;
                padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom, 0px));
                z-index: 1100;
            }

            .ys-tt-dropdown::before {
                content: '';
                display: block;
                width: 40px;
                height: 4px;
                border-radius: 4px;
                background: #dbe3ec;
                margin: .35rem auto .6rem;
            }

            .ys-tt-option {
                padding: 1rem .85rem;
            }

            .ys-tt-option .tt-title {
                font-size: 1.02rem;
            }

            .ys-time-dropdown {
                position: fixed;
                top: auto;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                max-width: 100%;
                border-radius: 18px 18px 0 0;
                max-height: 70vh;
                padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom, 0px));
                z-index: 1100;
            }

            .ys-time-option {
                padding: .9rem .85rem;
                font-size: .95rem;
            }

            #tsPackageTypeDropdown {
                max-height: 60vh;
            }

            #tsPackageTypeDropdown .ys-tt-option {
                padding: .85rem .85rem;
            }
        }

        .ys-footer {
            background: #fff;
            border-top: 1px solid #e6edf5;
            flex-shrink: 0;
        }

        .ys-footer-inner {
            max-width: 1320px;
            margin: 0 auto;
            padding: 1rem 1.25rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: .5rem;
            font-size: .8rem;
            color: #6b839a;
        }

        .ys-footer-inner a {
            color: var(--ys-blue-dark);
            font-weight: 600;
        }

        .ys-footer-inner a:hover {
            color: var(--ys-blue);
        }

        @media (max-width: 575px) {
            .ys-footer-inner {
                justify-content: center;
                text-align: center;
            }
        }

        /* Phone/tablet: the whole page scrolls (header and trip bar stay stuck to the top), so the footer comes
           after the page content instead of being pinned to the bottom of the screen. --ys-header-h is set by
           the script in layouts/user_footer.phtml. */
        @media (max-width: 960px) {
            body {
                height: auto;
                min-height: 100dvh;
                overflow: visible;
            }

            .ys-scroll-area {
                flex: 1 0 auto;
                overflow: visible;
            }

            .ys-sticky-header {
                position: sticky;
                top: 0;
            }

            .ys-tripbar {
                position: sticky;
                top: var(--ys-header-h, 71px);
            }
        }
