/* ════════════════════════════════════════════
   TRAVONOVA – Global Styles
   Colors: Primary #DE8131 | Accent #C84000
   BG: #FBF5EF | Text: #1a1a2e
   ════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, Arial, sans-serif;
    background: #FBF5EF;
    color: #1a1a2e;
    line-height: 1.6;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }


/* ════════════════════════════════════════════
   TOP BAR
   ════════════════════════════════════════════ */
.topbar {
    background: #5C2800;
    color: rgba(255,255,255,.75);
    font-size: .78rem;
    padding: 7px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    gap: 24px;
}

.topbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-left i { color: #C84000; font-size: .75rem; }

.topbar-right {
    display: flex;
    gap: 14px;
}

.topbar-right a {
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    transition: color .2s;
}

.topbar-right a:hover { color: #C84000; }


/* ════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════ */
.site-header {
    background: #DE8131;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 64px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    display: block;
    height: 44px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 4px;
    flex: 1;
}

.nav-link {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background .2s, color .2s;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.15);
}

.signin-btn {
    margin-left: auto;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.55);
    border-radius: 6px;
    padding: 7px 18px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background .2s, border-color .2s;
    flex-shrink: 0;
}

.signin-btn:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
}


/* ════════════════════════════════════════════
   HERO — HONEYCOMB PARALLAX
   ════════════════════════════════════════════ */
.hero {
    position: relative;
    background: linear-gradient(
        180deg,
        #150800  0%,
        #221000  40%,
        #371800  75%,
        #451E00  100%
    );
    min-height: 680px;
    padding: 72px 0 80px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

/* ── Hex canvas layers ── */
.hex-canvas {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    will-change: transform;
    display: block;
}

#hexFar  { z-index: 1; opacity: 0.85; }
#hexMid  { z-index: 2; }
#hexNear { z-index: 3; }

/* ── Central radial glow (brand blue + warm bottom) ── */
.hero-glow-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 60% at 50% 42%,
            rgba(222, 129, 49, 0.28) 0%,
            transparent 70%),
        radial-gradient(ellipse 100% 40% at 50% 100%,
            rgba(200, 64, 0, 0.18) 0%,
            transparent 65%);
    pointer-events: none;
    z-index: 4;
}

/* ── Hero content sits above all layers ── */
.hero-content {
    position: relative;
    z-index: 10;
}

/* ════════════════════════════════════════════
   CUSTOM CITY PICKER
   ════════════════════════════════════════════ */
.city-picker {
    position: relative;
    flex: 1;
    min-width: 160px;
}

/* Trigger button — styled like an input */
.city-picker-btn {
    width: 100%;
    background: #FAFAF8;
    border: 1.5px solid #E2D5C4;
    border-radius: 12px;
    padding: 0 14px;
    height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: border-color .18s, box-shadow .18s, background .15s;
    outline: none;
}

.city-picker-btn:hover {
    border-color: #C8AA78;
    background: #FFFCF8;
}

.city-picker.is-open .city-picker-btn,
.city-picker-btn:focus-visible {
    border-color: #DE8131;
    background: #FFFCF8;
    box-shadow: 0 0 0 3px rgba(222,129,49,.12);
}

.city-picker.is-error .city-picker-btn {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}

.picker-dot {
    color: #DE8131;
    font-size: .88rem;
    flex-shrink: 0;
}

.picker-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}

.picker-label {
    font-size: .67rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .7px;
    line-height: 1;
}

.picker-val {
    font-size: .96rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.picker-val.is-placeholder {
    color: #bbb;
    font-weight: 400;
}

.picker-chevron {
    color: #D4B080;
    font-size: .72rem;
    transition: transform .22s cubic-bezier(.4,0,.2,1), color .15s;
    flex-shrink: 0;
}

.city-picker.is-open .picker-chevron {
    transform: rotate(180deg);
    color: #DE8131;
}

/* ── Dropdown panel ── */
.city-picker-drop {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 230px;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow:
        0 4px 6px rgba(0,0,0,.06),
        0 12px 40px rgba(0,0,0,.14);
    z-index: 200;
    overflow: hidden;
    /* Hidden state */
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top left;
    pointer-events: none;
    transition:
        opacity   .20s cubic-bezier(.4,0,.2,1),
        transform .20s cubic-bezier(.4,0,.2,1);
}

.city-picker.is-open .city-picker-drop {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Search row inside dropdown */
.picker-search-wrap {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-bottom: 1px solid #F8F0E5;
    background: #FDFAF7;
}

.picker-search-wrap i {
    color: #D4B080;
    font-size: .82rem;
    flex-shrink: 0;
}

.picker-search-input {
    border: none;
    outline: none;
    font-size: .9rem;
    font-family: inherit;
    color: #1a1a2e;
    background: transparent;
    width: 100%;
}

.picker-search-input::placeholder { color: #c0c8d4; }

/* Options list */
.picker-list {
    list-style: none;
    max-height: 228px;
    overflow-y: auto;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: #F5E0C8 transparent;
}

.picker-list::-webkit-scrollbar       { width: 4px; }
.picker-list::-webkit-scrollbar-track  { background: transparent; }
.picker-list::-webkit-scrollbar-thumb  { background: #F5E0C8; border-radius: 4px; }

.picker-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: .9rem;
    color: #333;
    cursor: pointer;
    transition: background .12s;
}

.picker-option:hover {
    background: #FFF5EB;
    color: #DE8131;
}

.picker-option.is-selected {
    background: #FEF0DC;
    color: #DE8131;
    font-weight: 600;
}

/* Checkmark icon — hidden by default, visible on selected/hover */
.picker-check {
    font-size: .72rem;
    color: #DE8131;
    opacity: 0;
    flex-shrink: 0;
    transition: opacity .12s;
}

.picker-option.is-selected .picker-check,
.picker-option:hover .picker-check {
    opacity: 1;
}

.picker-no-results {
    padding: 14px;
    text-align: center;
    font-size: .85rem;
    color: #D4B080;
}

.hero-subtitle {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-title {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 36px;
    line-height: 1.2;
}


/* ── Category cards ── */
.categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.category-card {
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 12px;
    padding: 16px 20px;
    width: 124px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    transition: background .2s, transform .15s, border-color .2s, box-shadow .2s;
    position: relative;
    user-select: none;
    display: block;
    text-decoration: none;
    box-sizing: border-box;
}

.category-card .cat-icon {
    font-size: 1.6rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 8px;
    display: block;
}

.category-card .cat-label {
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.3;
}

.category-card.active {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.7);
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.category-card.active .cat-icon { color: #fff; }

.category-card:not(.disabled):hover {
    background: rgba(255,255,255,.28);
    border-color: rgba(255,255,255,.8);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.category-card.disabled {
    opacity: .55;
    cursor: default;
    pointer-events: none;
}

.coming-soon {
    position: absolute;
    top: -9px;
    right: -9px;
    background: #C84000;
    color: #fff;
    font-size: .58rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .6px;
}


/* ── Search box ── */
.search-box {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
    max-width: 940px;
    margin: 0 auto;
    position: relative;
    border: 1px solid #EDE3D6;
}

.search-box-header {
    display: flex;
    align-items: center;
    padding: 22px 28px 18px;
    border-bottom: 1px solid #F0E6D8;
}

.sbh-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sbh-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #C84000 0%, #E05000 100%);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .95rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(200,64,0,.28);
}

.sbh-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sbh-title {
    font-size: .95rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
}

.sbh-sub {
    font-size: .75rem;
    color: #999;
    font-weight: 500;
}

.search-form { width: 100%; padding: 18px 28px 82px; box-sizing: border-box; }

.search-fields {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.field-group {
    flex: 1;
    min-width: 145px;
    position: relative;
}

/* Label floats inside the input — matches city picker label pattern */
.field-group label {
    position: absolute;
    top: 9px;
    left: 14px;
    font-size: .67rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .7px;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

.field-group label i { color: #DE8131; }

.field-group select,
.field-group input[type="date"] {
    border: 1.5px solid #E2D5C4;
    border-radius: 12px;
    padding: 24px 14px 6px;
    height: 58px;
    font-size: .97rem;
    color: #1a1a2e;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .15s;
    background: #FAFAF8;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-family: inherit;
    box-sizing: border-box;
}

.field-group select:focus,
.field-group input[type="date"]:focus {
    border-color: #DE8131;
    background: #FFFCF8;
    box-shadow: 0 0 0 3px rgba(222,129,49,.12);
}

.swap-btn {
    background: linear-gradient(135deg, #FFF6EE, #FFE8D5);
    border: 1.5px solid #E8CCA0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: .9rem;
    cursor: pointer;
    color: #DE8131;
    flex-shrink: 0;
    transition: background .18s, transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, border-color .18s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(222,129,49,.15);
}

.swap-btn:hover {
    background: linear-gradient(135deg, #FFE0C4, #FFD0A8);
    border-color: #DE8131;
    transform: rotate(180deg);
    box-shadow: 0 4px 16px rgba(222,129,49,.32);
}

.search-btn {
    background: linear-gradient(135deg, #C84000 0%, #E05000 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0 28px;
    height: 58px;
    font-size: .97rem;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s cubic-bezier(.25,.8,.25,1);
    align-self: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0;
    font-family: inherit;
    box-shadow: 0 6px 20px rgba(200,64,0,.38);
    letter-spacing: .2px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.search-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transform: skewX(-15deg);
    transition: left .4s ease;
}

.search-btn:hover::before { left: 120%; }

.search-btn:hover {
    background: linear-gradient(135deg, #D45000 0%, #EF6010 100%);
    box-shadow: 0 8px 28px rgba(200,64,0,.48);
    transform: translateY(-2px);
}

.search-btn:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(200,64,0,.3); }

.search-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.18);
    border-radius: 7px;
    margin-right: 10px;
    font-size: .88rem;
    flex-shrink: 0;
    transition: background .2s;
}

.search-btn:hover .search-btn-icon { background: rgba(255,255,255,.25); }

.search-btn-text {
    flex: 1;
}

.search-btn-arrow {
    font-size: .78rem;
    margin-left: 10px;
    opacity: .8;
    transition: transform .2s;
}

.search-btn:hover .search-btn-arrow { transform: translateX(3px); opacity: 1; }

/* ── Date quick-select pills ── */
.date-quick {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    z-index: 5;
}

.date-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid #F0E0CC;
    border-radius: 11px;
    background: #fff;
    font-family: inherit;
    cursor: pointer;
    transition: all .18s cubic-bezier(.25,.8,.25,1);
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    text-align: left;
    width: 100%;
    overflow: hidden; /* always clip pill content — prevents pill-sub nowrap text from breaking layout */
}

.date-pill i {
    font-size: .95rem;
    color: #DE8131;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    transition: color .18s;
}

.pill-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pill-main {
    font-size: .82rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
    transition: color .18s;
}

.pill-sub {
    font-size: .65rem;
    color: #999;
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .18s;
}

.date-pill:hover {
    border-color: #DE8131;
    background: #f5f8ff;
    box-shadow: 0 4px 18px rgba(222,129,49,.14);
    transform: translateY(-1px);
}

.date-pill:hover .pill-main { color: #DE8131; }
.date-pill:hover i { color: #DE8131; }

.date-pill.is-active {
    background: linear-gradient(135deg, #DE8131 0%, #E07820 100%);
    border-color: #DE8131;
    box-shadow: 0 4px 18px rgba(222,129,49,.32);
    transform: translateY(-1px);
}

.date-pill.is-active i        { color: rgba(255,255,255,.9); }
.date-pill.is-active .pill-main { color: #fff; }
.date-pill.is-active .pill-sub  { color: rgba(255,255,255,.65); }


/* ════════════════════════════════════════════
   SEARCH BOX v2 — Clean Card Design
   ════════════════════════════════════════════ */

.sb2 {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 48px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.06);
    max-width: 860px;
    margin: 0 auto;
    overflow: visible;
}

/* ── Header ── */
.sb2-hdr {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px 16px;
    border-bottom: 1px solid #F5EDE0;
}

.sb2-hdr-ico {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #C84000, #E05000);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(200,64,0,.3);
    flex-shrink: 0;
}

.sb2-hdr-info { flex: 1; min-width: 0; }

.sb2-hdr-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
}

.sb2-hdr-sub {
    font-size: .72rem;
    color: #aaa;
    font-weight: 500;
    margin-top: 2px;
}

.sb2-hdr-tag {
    font-size: .7rem;
    font-weight: 700;
    color: #27a05d;
    background: #eaf7f0;
    border: 1px solid #b5e4ca;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Form ── */
.sb2-form {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Route row: FROM ⇄ TO ── */
.sb2-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

/* ── Generic input box (city pickers) ── */
.sb2-inp { position: relative; }

.sb2-inp-btn {
    width: 100%;
    background: #FAFAF8;
    border: 2px solid #EDE3D6;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: border-color .18s, background .15s, box-shadow .18s;
    outline: none;
    min-height: 72px;
    box-sizing: border-box;
}

.sb2-inp-btn:hover {
    border-color: #C8AA78;
    background: #FFFCF8;
    box-shadow: 0 2px 12px rgba(222,129,49,.08);
}

.sb2 .city-picker.is-open .sb2-inp-btn,
.sb2-inp-btn:focus-visible {
    border-color: #DE8131;
    background: #FFFDF9;
    box-shadow: 0 0 0 4px rgba(222,129,49,.12);
}

.sb2 .city-picker.is-error .sb2-inp-btn {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220,38,38,.10);
    background: #FFF8F8;
}

/* ── Input icon bubble ── */
.sb2-inp-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
}

.sb2-ico-from { background: rgba(222,129,49,.12); color: #DE8131; }
.sb2-ico-to   { background: rgba(200,64,0,.10);   color: #C84000; }
.sb2-ico-date { background: rgba(99,102,241,.10);  color: #6366f1; }

/* ── Input body text ── */
.sb2-inp-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sb2-inp-lbl {
    font-size: .6rem;
    font-weight: 800;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: .9px;
    line-height: 1;
}

/* Override .picker-val inside sb2 */
.sb2 .picker-val {
    font-size: .98rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sb2 .picker-val.is-placeholder {
    color: #c8c8c8;
    font-weight: 400;
    font-size: .88rem;
}

/* Override .picker-chevron inside sb2 */
.sb2 .picker-chevron {
    color: #d0c4b0;
    font-size: .72rem;
    flex-shrink: 0;
    transition: transform .22s, color .15s;
}

.sb2 .city-picker.is-open .picker-chevron {
    transform: rotate(180deg);
    color: #DE8131;
}

/* ── Swap button ── */
.sb2-swap {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 2px solid #EDE3D6;
    border-radius: 50%;
    color: #DE8131;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .88rem;
    flex-shrink: 0;
    transition: transform .32s cubic-bezier(.34,1.56,.64,1), background .18s, border-color .18s, box-shadow .18s;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.sb2-swap:hover {
    background: #FFF0E0;
    border-color: #DE8131;
    transform: rotate(180deg);
    box-shadow: 0 4px 16px rgba(222,129,49,.28);
}

/* ── Bottom row: date + pills ── */
.sb2-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Date input box */
.sb2-date-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FAFAF8;
    border: 2px solid #EDE3D6;
    border-radius: 14px;
    padding: 14px 16px;
    min-height: 72px;
    min-width: 220px;
    box-sizing: border-box;
    transition: border-color .18s, box-shadow .18s;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.sb2-date-box:hover {
    border-color: #C8AA78;
    box-shadow: 0 2px 12px rgba(222,129,49,.08);
}

.sb2-date-fld {
    border: none;
    outline: none;
    font-family: inherit;
    font-size: .98rem;
    font-weight: 700;
    color: #1a1a2e;
    background: transparent;
    cursor: pointer;
    width: 100%;
    padding: 0;
    line-height: 1.3;
}

.sb2-date-fld::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0; top: 0;
    width: 100%; height: 100%;
    cursor: pointer;
}

/* Quick pills */
.sb2-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Date pills in sb2 are static flow, not absolutely positioned */
.sb2 .date-pill {
    position: static !important;
    top: auto !important;
    width: auto;
}

/* ── Search button ── */
.sb2-search {
    width: 100%;
    background: linear-gradient(135deg, #C84000 0%, #DE5500 55%, #E86010 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 18px 28px;
    font-family: inherit;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: .2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background .2s, box-shadow .2s, transform .15s;
    box-shadow: 0 6px 20px rgba(200,64,0,.35);
    position: relative;
    overflow: hidden;
}

.sb2-search::before {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transform: skewX(-15deg);
    transition: left .45s ease;
}

.sb2-search:hover::before { left: 120%; }

.sb2-search:hover {
    background: linear-gradient(135deg, #D45000 0%, #EF6010 55%, #F07020 100%);
    box-shadow: 0 8px 28px rgba(200,64,0,.45);
    transform: translateY(-2px);
}

.sb2-search:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(200,64,0,.3);
}

.sb2-search-arr {
    font-size: .85rem;
    transition: transform .2s;
}

.sb2-search:hover .sb2-search-arr { transform: translateX(4px); }

/* ── Responsive: tablet & mobile ── */
@media (max-width: 680px) {
    .sb2-route {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sb2-swap {
        margin: 0 auto;
        transform: rotate(90deg);
    }

    .sb2-swap:hover { transform: rotate(270deg); }

    .sb2-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .sb2-date-box { min-width: 0; width: 100%; }

    .sb2-pills { width: 100%; }
}

@media (max-width: 440px) {
    .sb2-hdr { padding: 14px 16px 12px; gap: 10px; }
    .sb2-hdr-tag { display: none; }
    .sb2-hdr-sub { display: none; }
    .sb2-form { padding: 16px 14px 18px; gap: 10px; }
    .sb2-inp-btn,
    .sb2-date-box { min-height: 62px; padding: 12px 13px; }
    .sb2-search { font-size: .98rem; padding: 16px 20px; }
}


/* ════════════════════════════════════════════
   TRUST STRIP
   ════════════════════════════════════════════ */
.trust-strip {
    background: #fff;
    border-bottom: 1px solid #F5E8D8;
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 24px;
    gap: 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 36px;
    flex-shrink: 0;
}

.trust-item .trust-icon {
    font-size: 1.5rem;
    color: #DE8131;
}

.trust-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.trust-item strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a2e;
}

.trust-item span {
    font-size: .78rem;
    color: #777;
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 44px;
    background: #F0E0CC;
    flex-shrink: 0;
}


/* ════════════════════════════════════════════
   GENERIC SECTION
   ════════════════════════════════════════════ */
.section {
    padding: 72px 0;
}

.section-alt {
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #DE8131;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.section-sub {
    font-size: 1rem;
    color: #666;
}


/* ════════════════════════════════════════════
   POPULAR ROUTES
   ════════════════════════════════════════════ */
.routes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.route-card {
    background: #fff;
    border: 1.5px solid #F5E8D8;
    border-radius: 14px;
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: box-shadow .2s, transform .15s, border-color .2s;
    cursor: pointer;
}

.route-card:hover {
    box-shadow: 0 8px 28px rgba(222,129,49,.12);
    transform: translateY(-3px);
    border-color: #E8CCA0;
}

.route-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.route-icon {
    font-size: 1.4rem;
    color: #DE8131;
}

.route-tag {
    font-size: .68rem;
    font-weight: 700;
    background: #fff3e8;
    color: #C84000;
    padding: 2px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.route-cities-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-cities-label i {
    color: #DE8131;
    font-size: .8rem;
}

.route-meta {
    font-size: .8rem;
    color: #888;
}

.route-price {
    font-size: .9rem;
    color: #555;
    margin-top: 4px;
}

.route-price strong {
    color: #DE8131;
    font-size: 1.1rem;
    font-weight: 800;
}


/* ════════════════════════════════════════════
   WHY CHOOSE US
   ════════════════════════════════════════════ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: #FBF5EF;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow .2s, transform .15s;
}

.why-card:hover {
    box-shadow: 0 8px 28px rgba(222,129,49,.1);
    transform: translateY(-3px);
}

.why-icon-wrap {
    width: 60px;
    height: 60px;
    background: #FEF0DC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.why-icon-wrap i {
    font-size: 1.4rem;
    color: #DE8131;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.why-card p {
    font-size: .875rem;
    color: #666;
    line-height: 1.6;
}


/* ════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════ */
.steps-row {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
}

.step-card {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #F5E8D8;
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #DE8131;
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.step-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #DE8131, #E07820);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 18px;
}

.step-icon-wrap i {
    font-size: 1.5rem;
    color: #fff;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.step-card p {
    font-size: .875rem;
    color: #666;
    line-height: 1.6;
}

.step-connector {
    font-size: 1.2rem;
    color: #E8CCA0;
    padding: 0 16px;
    flex-shrink: 0;
}


/* ════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #FBF5EF;
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stars i {
    color: #f59e0b;
    font-size: .9rem;
}

.testimonial-text {
    font-size: .9rem;
    color: #444;
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: #DE8131;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar i {
    color: #fff;
    font-size: .95rem;
}

.testimonial-author strong {
    display: block;
    font-size: .9rem;
    color: #1a1a2e;
}

.testimonial-author span {
    font-size: .78rem;
    color: #888;
}


/* ════════════════════════════════════════════
   NEWSLETTER
   ════════════════════════════════════════════ */
.newsletter-section {
    background: linear-gradient(135deg, #DE8131, #E07820);
    padding: 60px 0;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.newsletter-text p {
    color: rgba(255,255,255,.75);
    font-size: .95rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    flex: 1;
    max-width: 460px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 13px 18px;
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    color: #1a1a2e;
}

.newsletter-form button {
    background: #C84000;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 13px 24px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .2s;
    font-family: inherit;
    white-space: nowrap;
}

.newsletter-form button:hover { background: #A03000; }


/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.site-footer {
    background: #3D1800;
    color: rgba(255,255,255,.7);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.8fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo {
    display: block;
    margin-bottom: 14px;
}
.footer-logo img {
    display: block;
    height: 40px;
    width: auto;
}

.footer-brand p {
    font-size: .875rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255,255,255,.6);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    transition: background .2s, color .2s;
}

.footer-socials a:hover {
    background: #C84000;
    color: #fff;
}

.footer-col h4 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul li a {
    font-size: .875rem;
    color: rgba(255,255,255,.6);
    transition: color .2s;
}

.footer-col ul li a:hover { color: #C84000; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 11px;
}

.footer-contact li i {
    color: #C84000;
    font-size: .85rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

.footer-contact li span {
    font-size: .875rem;
    color: rgba(255,255,255,.6);
    line-height: 1.5;
}

.footer-bottom {
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom span {
    font-size: .8rem;
    color: rgba(255,255,255,.4);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: .8rem;
    color: rgba(255,255,255,.4);
    transition: color .2s;
}

.footer-legal a:hover { color: rgba(255,255,255,.8); }


/* ════════════════════════════════════════════
   BUSES PAGE — ROUTE BAR
   ════════════════════════════════════════════ */
.route-bar {
    background: #DE8131;
    color: #fff;
    padding: 14px 0;
}

.route-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.route-cities { font-size: 1.1rem; font-weight: 700; }
.route-sep { margin: 0 8px; opacity: .6; }
.route-date, .route-count { font-size: .95rem; opacity: .9; }

.modify-btn {
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 6px;
    padding: 6px 16px;
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s;
    display: inline-block;
}

.modify-btn:hover { background: rgba(255,255,255,.35); }


/* ════════════════════════════════════════════
   BUSES PAGE — LISTING LAYOUT
   ════════════════════════════════════════════ */
.listing-layout {
    display: flex;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 48px;
    align-items: flex-start;
}

/* ── Sidebar ── */
.sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.filter-section { margin-bottom: 24px; }

.filter-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #DE8131;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #F5E8D8;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: #333;
    margin-bottom: 9px;
    cursor: pointer;
}

.filter-label input[type="radio"] {
    accent-color: #DE8131;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.apply-btn {
    width: 100%;
    background: #DE8131;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px;
    font-size: .93rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
}

.apply-btn:hover { background: #B86820; }

/* ── Bus list ── */
.bus-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Bus card ── */
.bus-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: box-shadow .2s, transform .15s;
}

.bus-card:hover {
    box-shadow: 0 6px 24px rgba(222,129,49,.12);
    transform: translateY(-2px);
}

.bus-main { flex: 1; }

.bus-operator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.operator-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

.bus-type-badge {
    background: #FEF0DC;
    color: #DE8131;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.bus-timing {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.time {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111;
}

.duration-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.duration-text {
    font-size: .75rem;
    color: #888;
    font-weight: 600;
}

.arrow-line {
    color: #aab4c8;
    font-size: .85rem;
    letter-spacing: -2px;
}

.bus-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.amenities {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.amenity-tag {
    background: #FFF4EB;
    color: #555;
    font-size: .7rem;
    padding: 3px 9px;
    border-radius: 20px;
}

.bus-stats {
    display: flex;
    gap: 14px;
    margin-left: auto;
}

.rating {
    font-size: .85rem;
    font-weight: 600;
    color: #333;
}

.seats {
    font-size: .8rem;
    color: #d97706;
    font-weight: 600;
}

.bus-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 120px;
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #DE8131;
}

.select-btn {
    background: #C84000;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
    font-family: inherit;
}

.select-btn:hover { background: #A03000; }

/* ── Empty state ── */
.empty-state {
    text-align: center;
    padding: 64px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.empty-icon {
    font-size: 2.8rem;
    color: #E8CCA0;
    margin-bottom: 16px;
}

.empty-state h2 { font-size: 1.4rem; color: #333; margin-bottom: 8px; }
.empty-state p  { color: #666; margin-bottom: 24px; }

.empty-state .modify-btn {
    background: #DE8131;
    border-color: #DE8131;
    padding: 10px 28px;
}


/* ════════════════════════════════════════════
   BUS LISTING PAGE  (bl-* namespace)
   ════════════════════════════════════════════ */

/* body class to tweak bg */
body.listing-page { background: #F8F0E5; }

/* ── Route summary bar ── */
.bl-route-bar {
    background: #fff;
    border-bottom: 1px solid #F0E0CC;
    padding: 0;
}

.bl-route-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    flex-wrap: wrap;
}

.bl-route-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bl-route-path {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bl-city {
    font-size: 1.25rem;
    font-weight: 800;
    color: #3A1800;
}

.bl-route-arrow {
    color: #DE8131;
    font-size: 1rem;
}

.bl-route-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bl-route-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: #666;
}

.bl-route-meta i { color: #DE8131; font-size: .75rem; }

.bl-count-pill {
    background: #FEF0DC;
    color: #DE8131 !important;
    font-weight: 700 !important;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .78rem !important;
}

.bl-modify-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid #DE8131;
    color: #DE8131;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s, color .18s;
    white-space: nowrap;
}

.bl-modify-btn:hover {
    background: #DE8131;
    color: #fff;
}

/* ── Page layout ── */
.bl-layout {
    display: flex;
    gap: 24px;
    padding-top: 28px;
    padding-bottom: 56px;
    align-items: flex-start;
}

/* ══════════════════
   SIDEBAR
   ══════════════════ */
.bl-sidebar {
    width: 252px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    overflow: hidden;
    position: sticky;
    top: 88px; /* clears sticky header */
}

.bl-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f8f9fc;
    border-bottom: 1px solid #F8EDE0;
    font-weight: 700;
    font-size: .88rem;
    color: #3A1800;
}

.bl-sidebar-header i { color: #DE8131; margin-right: 6px; }

.bl-reset-link {
    font-size: .75rem;
    color: #C84000;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s;
}

.bl-reset-link:hover { opacity: .75; }

.bl-filter-block {
    padding: 16px 18px;
    border-bottom: 1px solid #F8EDE0;
}

.bl-filter-block:last-child { border-bottom: none; }

.bl-filter-heading {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #DE8131;
    margin-bottom: 12px;
}

/* ── Time tiles (2×2 grid) ── */
.bl-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.bl-time-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    border: 1.5px solid #F0E0CC;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    text-align: center;
}

.bl-time-tile input { display: none; }

.bl-time-tile i {
    font-size: 1.1rem;
    color: #999;
    transition: color .15s;
}

.bl-tile-label {
    font-size: .75rem;
    font-weight: 700;
    color: #444;
    line-height: 1;
}

.bl-tile-sub {
    font-size: .65rem;
    color: #aaa;
    line-height: 1;
}

.bl-time-tile:hover,
.bl-time-tile.is-active {
    border-color: #DE8131;
    background: #FFF5EB;
}

.bl-time-tile.is-active i   { color: #DE8131; }
.bl-time-tile.is-active .bl-tile-label { color: #DE8131; }

/* ── Check-style radio rows ── */
.bl-check-label {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    cursor: pointer;
    font-size: .875rem;
    color: #444;
    transition: color .12s;
}

.bl-check-label input { display: none; }

.bl-check-box {
    width: 16px;
    height: 16px;
    border: 2px solid #E8CCA0;
    border-radius: 50%;
    flex-shrink: 0;
    transition: border-color .15s, background .15s;
    position: relative;
}

.bl-check-box::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #DE8131;
    border-radius: 50%;
    opacity: 0;
    transition: opacity .15s;
}

.bl-check-label.is-active .bl-check-box {
    border-color: #DE8131;
}

.bl-check-label.is-active .bl-check-box::after { opacity: 1; }
.bl-check-label.is-active { color: #DE8131; font-weight: 600; }
.bl-check-label:hover { color: #DE8131; }

.bl-sort-icon { color: #DE8131; width: 14px; text-align: center; font-size: .8rem; }

.bl-clear-link {
    display: block;
    margin-top: 6px;
    font-size: .75rem;
    color: #C84000;
    font-weight: 600;
    cursor: pointer;
}
.bl-clear-link input { display: none; }


/* ══════════════════
   MAIN LISTING
   ══════════════════ */
.bl-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Sort pill bar ── */
.bl-sort-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.bl-sort-label {
    font-size: .78rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-right: 4px;
}

.bl-sort-pill {
    padding: 5px 14px;
    border-radius: 20px;
    border: 1.5px solid #F5E0C8;
    font-size: .8rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
    background: #fff;
}

.bl-sort-pill:hover { border-color: #DE8131; color: #DE8131; }
.bl-sort-pill.active {
    background: #DE8131;
    border-color: #DE8131;
    color: #fff;
}

/* ══════════════════
   BUS CARD
   ══════════════════ */
.bl-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    transition: box-shadow .2s, transform .15s;
    display: grid;
    /* stripe | header | timing | meta | action */
    grid-template-columns: 4px 1fr auto;
    grid-template-rows: auto auto auto;
}

.bl-card:hover {
    box-shadow: 0 8px 32px rgba(222,129,49,.12);
    transform: translateY(-2px);
}

/* Left colour stripe */
.bl-card-stripe {
    grid-column: 1;
    grid-row: 1 / 5;
    background: linear-gradient(180deg, #DE8131, #E07820);
    border-radius: 16px 0 0 16px;
}

/* Operator header row */
.bl-card-header {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 10px;
    border-bottom: 1px solid #F8F0E5;
}

.bl-operator-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bl-operator-avatar {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #DE8131, #E07820);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.bl-operator-name {
    font-size: .97rem;
    font-weight: 700;
    color: #3A1800;
    margin-bottom: 3px;
}

.bl-bus-type-badge {
    display: inline-block;
    background: #FEF0DC;
    color: #DE8131;
    font-size: .65rem;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.bl-rating-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fffbea;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: .88rem;
    font-weight: 800;
    color: #92400e;
}

.bl-rating-wrap i { color: #f59e0b; font-size: .8rem; }

.bl-rating-label {
    font-size: .68rem;
    font-weight: 500;
    color: #b45309;
    margin-left: 2px;
}

/* Timing row */
.bl-timing-row {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 0;
}

.bl-time-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 80px;
}

.bl-time-right { align-items: flex-end; }

.bl-time {
    font-size: 1.55rem;
    font-weight: 900;
    color: #3A1800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.bl-time-city {
    font-size: .75rem;
    color: #888;
    font-weight: 500;
}

.bl-duration-track {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
}

.bl-duration-label {
    font-size: .75rem;
    font-weight: 700;
    color: #555;
}

.bl-track-line {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
}

.bl-track-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DE8131;
    flex-shrink: 0;
}

.bl-track-fill {
    flex: 1;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        #DE8131 0px,
        #DE8131 5px,
        transparent 5px,
        transparent 10px
    );
}

.bl-track-type {
    font-size: .65rem;
    color: #aaa;
    font-weight: 500;
}

/* Amenities + seats row */
.bl-meta-row {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.bl-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bl-amenity {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #FBF5EF;
    color: #555;
    font-size: .72rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
}

.bl-amenity i { color: #DE8131; font-size: .68rem; }

.bl-no-amenities {
    font-size: .75rem;
    color: #bbb;
    font-style: italic;
}

.bl-seats-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.bl-seats-wrap i { color: #DE8131; font-size: .75rem; }
.bl-seats-low { color: #dc2626 !important; }

/* Price + action column */
.bl-card-action {
    grid-column: 3;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 24px;
    border-left: 1px solid #F8F0E5;
    min-width: 148px;
}

.bl-price-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.bl-per-person {
    font-size: .68rem;
    color: #aaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.bl-price {
    font-size: 1.75rem;
    font-weight: 900;
    color: #DE8131;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.bl-book-btn {
    background: #C84000;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 10px 18px;
    font-size: .875rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: background .18s, transform .12s;
    font-family: inherit;
    white-space: nowrap;
}

.bl-book-btn--login {
    background: #64748b;
}
.bl-book-btn--login:hover {
    background: #475569;
    transform: translateY(-1px);
}
.bl-book-btn:hover {
    background: #A03000;
    transform: translateY(-1px);
}

/* ══════════════════
   EMPTY STATE
   ══════════════════ */
.bl-empty {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    padding: 72px 32px;
    text-align: center;
}

.bl-empty-icon {
    width: 72px;
    height: 72px;
    background: #F8F0E5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.bl-empty-icon i {
    font-size: 1.6rem;
    color: #D4B080;
}

.bl-empty h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #3A1800;
    margin-bottom: 10px;
}

.bl-empty p {
    font-size: .95rem;
    color: #666;
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.bl-empty-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bl-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #DE8131;
    color: #fff;
    border: 1.5px solid #DE8131;
    border-radius: 9px;
    padding: 10px 22px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s, color .18s;
}

.bl-empty-btn:hover { background: #B86820; border-color: #B86820; }

.bl-empty-btn-outline {
    background: transparent;
    color: #DE8131;
}

.bl-empty-btn-outline:hover {
    background: #DE8131;
    color: #fff;
}

.empty-state .modify-btn:hover { background: #B86820; }



/* ════════════════════════════════════════════
   SEAT SELECTION PAGE  (sp-* namespace)
   ════════════════════════════════════════════ */

body.seat-page { background: #eef1f8; }

/* ── Trip header bar ── */
.sp-tripbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.sp-tripbar-inner {
    padding: 12px 24px 16px;
}

.sp-crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: #999;
    margin-bottom: 14px;
}

.sp-crumb a { color: #DE8131; text-decoration: none; }
.sp-crumb a:hover { text-decoration: underline; }
.sp-crumb i { font-size: .6rem; color: #ccc; }
.sp-crumb-active { color: #333; font-weight: 600; }

.sp-tripbar-main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sp-tripbar-route {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sp-trip-city {
    font-size: 1.35rem;
    font-weight: 900;
    color: #3A1800;
    letter-spacing: -.4px;
}

.sp-trip-track {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-trip-time {
    font-size: .78rem;
    font-weight: 700;
    color: #555;
}

.sp-trip-line {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sp-trip-dot {
    width: 6px; height: 6px;
    background: #DE8131;
    border-radius: 50%;
}

.sp-trip-dash {
    width: 20px; height: 1.5px;
    background: repeating-linear-gradient(90deg,#DE8131 0,#DE8131 4px,transparent 4px,transparent 8px);
}

.sp-trip-duration {
    font-size: .68rem;
    font-weight: 700;
    color: #DE8131;
    background: #FEF0DC;
    border-radius: 10px;
    padding: 2px 7px;
    white-space: nowrap;
}

.sp-tripbar-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
}

.sp-meta-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f4f6fb;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: .78rem;
    color: #555;
}

.sp-type-chip { background: #FEF0DC; border-color: #F5D9A8; color: #DE8131; font-weight: 700; }

.sp-op-mini {
    display: flex;
    align-items: center;
    gap: 7px;
}

.sp-op-mini-avatar {
    width: 28px; height: 28px;
    background: linear-gradient(135deg,#DE8131,#E07820);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .75rem; font-weight: 800;
}

.sp-op-mini-name {
    font-size: .82rem; font-weight: 700; color: #333;
}

.sp-change-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid #DE8131;
    color: #DE8131;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s, color .18s;
    white-space: nowrap;
    margin-left: auto;
}

.sp-change-btn:hover { background: #DE8131; color: #fff; }


/* ── Page layout ── */
.sp-layout {
    display: flex;
    gap: 28px;
    padding: 32px 0 64px;
    align-items: flex-start;
}


/* ════════════════════════════════════════════
   MAP PANEL
   ════════════════════════════════════════════ */
.sp-map-panel {
    flex: 1;
    min-width: 0;
}

/* Legend bar */
.sp-legend-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
    flex-wrap: wrap;
    gap: 10px;
}

.sp-legend-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.sp-leg-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 500;
    color: #555;
}

.sp-leg-swatch {
    width: 22px; height: 22px;
    border-radius: 6px;
    border: 2px solid;
    display: inline-block;
    flex-shrink: 0;
}

.sp-swatch-avail   { background: rgba(240,190,130,.25); border-color: rgba(240,170,90,.5); }
.sp-swatch-booked  { background: rgba(255,255,255,.05); border: 2px dashed rgba(235,200,170,.6); }
.sp-swatch-sel     { background: #DE8131; border-color: #EEA050; box-shadow: 0 0 8px rgba(222,129,49,.4); }

.sp-avail-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    color: #DE8131;
    background: #FEF0DC;
    border-radius: 20px;
    padding: 4px 12px;
}

/* Scroll wrapper centers the bus diagram */
.sp-bus-scroll {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 4px 0 8px;
}


/* ════════════════════════════════════════════
   BUS BODY — dark premium interior
   ════════════════════════════════════════════ */
.sp-bus-body {
    background: linear-gradient(180deg, #2A1000 0%, #3D1800 60%, #2A1000 100%);
    border-radius: 36px 36px 18px 18px;
    padding: 0 24px 22px;
    display: inline-block;
    min-width: max-content;
    position: relative;
    box-shadow:
        0 0 0 3px rgba(240,170,90,.12),
        0 0 0 6px rgba(240,170,90,.05),
        0 16px 48px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.07);
}

/* Subtle side body lines */
.sp-bus-body::before,
.sp-bus-body::after {
    content: '';
    position: absolute;
    top: 80px; bottom: 18px;
    width: 3px;
    background: linear-gradient(180deg,
        rgba(240,170,90,.08) 0%,
        rgba(240,170,90,.15) 50%,
        rgba(240,170,90,.08) 100%
    );
    border-radius: 3px;
}

.sp-bus-body::before { left: 10px; }
.sp-bus-body::after  { right: 10px; }


/* ── Windshield cap ── */
.sp-bus-cap {
    background: linear-gradient(180deg, #5C2800 0%, #2A1000 100%);
    border-radius: 36px 36px 0 0;
    margin: 0 -24px;
    padding: 18px 24px 14px;
    border-bottom: 2px solid rgba(240,170,90,.15);
    position: relative;
    overflow: hidden;
}

/* Curved roof highlight */
.sp-bus-cap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg,
        transparent, rgba(240,180,120,.25), rgba(255,255,255,.15),
        rgba(240,180,120,.25), transparent);
    border-radius: 36px 36px 0 0;
}

.sp-cap-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sp-ws-frame {
    width: 75%;
    background: rgba(0,0,0,.25);
    border-radius: 10px 10px 4px 4px;
    border: 1.5px solid rgba(240,170,90,.2);
    padding: 5px;
}

.sp-ws-glass {
    height: 38px;
    background: linear-gradient(135deg,
        rgba(240,175,100,.18) 0%,
        rgba(220,130,60,.08) 50%,
        rgba(240,175,100,.12) 100%
    );
    border-radius: 7px 7px 2px 2px;
    position: relative;
    overflow: hidden;
}

.sp-ws-glare {
    position: absolute;
    top: 7px; left: 12%;
    width: 28%; height: 4px;
    background: rgba(255,255,255,.2);
    border-radius: 3px;
    transform: skewX(-12deg);
}

.sp-ws-glass::after {
    content: '';
    position: absolute;
    top: 7px; right: 12%;
    width: 14%; height: 3px;
    background: rgba(255,255,255,.1);
    border-radius: 2px;
    transform: skewX(-12deg);
}

.sp-operator-nameplate {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(240,180,120,.55);
}


/* ════════════════════════════════════════════
   ROW STRUCTURE  — seater 2+2
   sp-row / sp-pair / sp-aisle-cell
   ════════════════════════════════════════════ */

/* Seat dimensions — change here to cascade everywhere */
:root {
    --sp-seat-w: 46px;
    --sp-seat-h: 52px;
    --sp-seat-gap: 8px;
    --sp-pair-w: calc(2 * var(--sp-seat-w) + var(--sp-seat-gap));  /* 100px */
    --sp-aisle-w: 44px;
}

.sp-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 10px;
}

.sp-pair {
    display: flex;
    gap: var(--sp-seat-gap);
    width: var(--sp-pair-w);
    flex-shrink: 0;
}

.sp-aisle-cell {
    width: var(--sp-aisle-w);
    flex-shrink: 0;
    text-align: center;
}


/* ── Cabin row ── */
.sp-cabin-row { margin-top: 14px; }

.sp-cabin-half {
    /* exact same width as .sp-pair */
    width: var(--sp-pair-w);
    height: var(--sp-seat-h);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    flex-shrink: 0;
}

.sp-cabin-driver {
    background: rgba(200,80,0,.08);
    border: 1.5px solid rgba(200,80,0,.22);
    color: rgba(220,100,20,.7);
}

.sp-cabin-driver i  { font-size: 1.15rem; color: rgba(200,80,0,.8); }
.sp-steering-svg    { width: 26px; height: 26px; color: rgba(200,80,0,.85); flex-shrink: 0; }

.sp-cabin-door {
    background: rgba(60,210,120,.07);
    border: 1.5px solid rgba(60,210,120,.2);
    color: rgba(80,220,140,.7);
}

.sp-cabin-door i { font-size: 1.1rem; color: rgba(80,220,140,.8); }


/* ── Column header row ── */
.sp-col-hdr-row {
    margin-top: 12px;
    margin-bottom: 4px;
}

.sp-col-hdr {
    width: var(--sp-seat-w);
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(240,170,100,.45);
    flex-shrink: 0;
}

.sp-aisle-label {
    font-size: .52rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(240,170,100,.25);
    line-height: 1;
}

.sp-aisle-num {
    font-size: .65rem;
    font-weight: 700;
    color: rgba(240,170,100,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Dashed aisle line */
.sp-aisle-num::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -14px;
    bottom: -14px;
    width: 1px;
    background: repeating-linear-gradient(
        180deg,
        rgba(100,150,255,.15) 0px,
        rgba(100,150,255,.15) 4px,
        transparent 4px,
        transparent 8px
    );
    transform: translateX(-50%);
    z-index: 0;
}


/* ════════════════════════════════════════════
   SEAT BUTTON
   ════════════════════════════════════════════ */
.sp-seat {
    width: var(--sp-seat-w);
    height: var(--sp-seat-h);
    border-radius: 10px 10px 7px 7px;
    border-top-width: 4px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-style: solid;
    font-family: inherit;
    cursor: pointer;
    transition: all .16s cubic-bezier(.25,.8,.25,1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    outline: none;
}

.sp-seat-id {
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .3px;
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* Available */
.sp-avail {
    background: rgba(240,190,130,.12);
    border-top-color: rgba(240,170,90,.5);
    border-right-color: rgba(240,170,90,.28);
    border-bottom-color: rgba(240,170,90,.2);
    border-left-color: rgba(240,170,90,.28);
    color: rgba(240,190,130,.75);
}

.sp-avail:hover {
    background: rgba(222,129,49,.25);
    border-top-color: rgba(240,170,90,.85);
    border-right-color: rgba(240,170,90,.55);
    border-bottom-color: rgba(240,170,90,.45);
    border-left-color: rgba(240,170,90,.55);
    color: #fff;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 6px 18px rgba(222,129,49,.35);
}

/* Booked */
.sp-booked {
    background: rgba(255,255,255,.03);
    border-top-color: rgba(255,255,255,.1);
    border-right-color: rgba(255,255,255,.07);
    border-bottom-color: rgba(255,255,255,.06);
    border-left-color: rgba(255,255,255,.07);
    border-style: dashed;
    border-top-style: dashed;
    color: rgba(255,255,255,.15);
    cursor: not-allowed;
}

/* Selected */
.sp-selected {
    background: linear-gradient(170deg, #EEA050 0%, #E08530 60%, #C86820 100%);
    border-top-color: #7ab4ff;
    border-right-color: #5596ff;
    border-bottom-color: #2c6be0;
    border-left-color: #5596ff;
    color: #fff;
    transform: translateY(-3px) scale(1.06);
    box-shadow:
        0 0 0 3px rgba(222,129,49,.2),
        0 6px 20px rgba(222,129,49,.55),
        inset 0 1px 0 rgba(255,255,255,.2);
}

.sp-selected .sp-seat-id { text-shadow: 0 1px 3px rgba(0,0,0,.3); }


/* ── Bus rear ── */
.sp-bus-rear {
    margin: 18px -24px 0;
    background: rgba(255,255,255,.03);
    border-radius: 0 0 18px 18px;
    border-top: 2px solid rgba(240,170,90,.1);
    padding: 8px;
    text-align: center;
}

.sp-rear-label {
    font-size: .58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(240,170,100,.2);
}


/* ════════════════════════════════════════════
   SLEEPER LAYOUT
   ════════════════════════════════════════════ */
:root {
    --sp-berth-w: 90px;
    --sp-berth-h: 38px;
    --sp-slp-aisle: 44px;
    --sp-slp-pair-w: calc(2 * var(--sp-berth-w) + var(--sp-seat-gap));
}

.sp-sleeper-cabin {
    display: flex;
    align-items: center;
    margin-top: 14px;
    gap: 0;
}

.sp-slp-cabin-half {
    width: var(--sp-slp-pair-w);
    height: var(--sp-berth-h);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    flex-shrink: 0;
}

.sp-slp-cabin-single {
    width: var(--sp-berth-w);
    height: var(--sp-berth-h);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    flex-shrink: 0;
}

.sp-slp-cabin-half.sp-cabin-driver,
.sp-slp-cabin-single.sp-cabin-driver {
    background: rgba(200,80,0,.08);
    border: 1.5px solid rgba(200,80,0,.22);
    color: rgba(220,100,20,.7);
}
.sp-slp-cabin-half.sp-cabin-driver i,
.sp-slp-cabin-single.sp-cabin-driver i { font-size: 1rem; color: rgba(200,80,0,.8); }

.sp-slp-cabin-half.sp-cabin-door,
.sp-slp-cabin-single.sp-cabin-door {
    background: rgba(60,210,120,.07);
    border: 1.5px solid rgba(60,210,120,.2);
    color: rgba(80,220,140,.7);
}
.sp-slp-cabin-half.sp-cabin-door i,
.sp-slp-cabin-single.sp-cabin-door i { font-size: 1rem; color: rgba(80,220,140,.8); }

.sp-slp-aisle {
    width: var(--sp-slp-aisle);
    flex-shrink: 0;
    text-align: center;
}

.sp-deck-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .9px;
    color: rgba(240,170,90,.5);
    margin-top: 20px;
    margin-bottom: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(240,170,90,.12);
}

.sp-deck-upper { margin-top: 28px; }

.sp-berth-col-hdr {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.sp-berth-pair-hdr {
    display: flex;
    gap: var(--sp-seat-gap);
    width: var(--sp-slp-pair-w);
}

.sp-berth-pair-hdr span,
.sp-berth-single-hdr span {
    width: var(--sp-berth-w);
    text-align: center;
    font-size: .62rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(240,170,100,.35);
    display: block;
}

.sp-berth-single-hdr { }

.sp-berth-row {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.sp-berth-pair {
    display: flex;
    gap: var(--sp-seat-gap);
    flex-shrink: 0;
}

.sp-berth-single { flex-shrink: 0; }

/* Berth button */
.sp-berth {
    width: var(--sp-berth-w);
    height: var(--sp-berth-h);
    border-radius: 8px;
    border-width: 2px;
    border-style: solid;
    font-family: inherit;
    cursor: pointer;
    transition: all .16s cubic-bezier(.25,.8,.25,1);
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    flex-shrink: 0;
}

.sp-berth.sp-avail {
    background: rgba(240,190,130,.1);
    border-color: rgba(240,170,90,.3);
    color: rgba(240,190,130,.7);
}

.sp-berth.sp-avail:hover {
    background: rgba(222,129,49,.22);
    border-color: rgba(240,170,90,.75);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(222,129,49,.3);
}

.sp-berth.sp-booked {
    background: rgba(255,255,255,.03);
    border: 2px dashed rgba(255,255,255,.1);
    color: rgba(255,255,255,.14);
    cursor: not-allowed;
}

.sp-berth.sp-selected {
    background: linear-gradient(135deg, #EEA050, #C86820);
    border-color: #7ab4ff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(222,129,49,.2), 0 6px 18px rgba(222,129,49,.5);
}


/* ════════════════════════════════════════════
   BOOKING SIDEBAR
   ════════════════════════════════════════════ */
.sp-sidebar {
    width: 304px;
    flex-shrink: 0;
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Steps */
.sp-steps {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.sp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    text-align: center;
}

.sp-step-circle {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid #F5E0C8;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 800;
    color: #bbb;
    background: #fff;
    transition: all .25s;
}

.sp-step span:last-child {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #bbb;
    transition: color .25s;
}

.sp-step.sp-step-done .sp-step-circle {
    background: #DE8131;
    border-color: #DE8131;
    color: #fff;
    box-shadow: 0 2px 10px rgba(222,129,49,.3);
}

.sp-step.sp-step-done span:last-child { color: #DE8131; }

.sp-step-bar {
    flex: 1;
    height: 2px;
    background: #F0DCC0;
    margin: 0 4px;
    position: relative;
    top: -10px;
}


/* Fare card */
.sp-fare-card {
    background: #fff;
    border-radius: 18px;
    overflow: visible;
    box-shadow: 0 4px 24px rgba(0,0,0,.09);
}

/* Gradient price header */
.sp-fare-head {
    background: linear-gradient(135deg, #C06820 0%, #E07820 100%);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
}

.sp-fare-head::before {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    width: 100px; height: 100px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}

.sp-fare-head::after {
    content: '';
    position: absolute;
    top: -30px; right: 40px;
    width: 80px; height: 80px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}

.sp-fare-head-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
}

.sp-fare-label {
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: rgba(255,255,255,.6);
}

.sp-fare-amount {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.sp-fare-sym { font-size: 1.4rem; vertical-align: top; margin-top: 6px; display: inline-block; font-weight: 700; }

.sp-fare-per {
    font-size: .72rem;
    color: rgba(255,255,255,.55);
    font-weight: 500;
}

.sp-fare-head-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.sp-fare-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: .82rem;
    font-weight: 800;
    color: #fff;
}

.sp-fare-rating i { color: #ffd055; font-size: .75rem; }

.sp-fare-avail {
    font-size: .7rem;
    color: rgba(255,255,255,.55);
    font-weight: 600;
}

/* Card body */
.sp-fare-body {
    padding: 20px 20px 0;
}

/* No selection state */
.sp-no-sel {
    text-align: center;
    padding: 24px 0 20px;
}

.sp-no-sel-ring {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 2px dashed #F5E0C8;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
}

.sp-no-sel-ring i { font-size: 1.4rem; color: #c8d4ea; }

.sp-no-sel-text {
    font-size: .82rem;
    color: #aab;
    line-height: 1.6;
}

/* Selected seats */
.sp-selected-label {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #DE8131;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.sp-selected-label i { font-size: .75rem; }

.sp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.sp-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #E08530;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    padding: 4px 8px 4px 11px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(26,95,245,.3);
}

.sp-tag-x {
    background: rgba(255,255,255,.25);
    border: none;
    border-radius: 50%;
    width: 16px; height: 16px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: .6rem;
    padding: 0;
    transition: background .12s;
}

.sp-tag-x:hover { background: rgba(255,255,255,.45); }

/* Fare breakdown */
.sp-breakdown {
    background: #FFFCF8;
    border-radius: 10px;
    border: 1px solid #F5E8D8;
    padding: 14px 16px;
    margin-bottom: 18px;
}

.sp-bk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .83rem;
    color: #555;
    margin-bottom: 8px;
}

.sp-bk-row span:last-child { font-weight: 700; color: #222; }

.sp-bk-tax { color: #888; font-size: .78rem; }
.sp-bk-tax i { font-size: .72rem; color: #aaa; margin-right: 3px; }

.sp-bk-divider {
    height: 1px;
    background: #F0E0CC;
    margin: 10px 0;
}

.sp-bk-total {
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 0;
}

.sp-bk-total span:first-child { color: #3A1800; }
.sp-bk-total span:last-child  { color: #DE8131; font-size: 1.1rem; }

/* Passenger form */
.sp-form-block {
    border-top: 1px solid #F8EDE0;
    padding-top: 18px;
    margin-bottom: 16px;
}

.sp-form-title {
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.sp-form-title i { color: #DE8131; }

.sp-field {
    margin-bottom: 11px;
}
.sp-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 11px;
}
.sp-field-row .sp-field { margin-bottom: 0; }

/* ── Select inside input row ── */
.sp-select-row {
    position: relative;
}
.sp-select-row::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .6rem;
    color: #888;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.sp-input-row select {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: .85rem;
    color: #333;
    outline: none;
    padding: 0;
    height: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.sp-input-row select option { color: #333; }

/* ── Passenger cards ── */
.sp-passenger-card {
    border: 1.5px solid #e8e2d8;
    border-left: 3px solid #DE8131;
    background: #fffcf9;
}
.sp-passenger-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.sp-passenger-num {
    font-size: .88rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sp-passenger-num i { color: #DE8131; }
.sp-passenger-seat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #DE8131;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: .3px;
}
.sp-contact-block {
    border-top: 2px solid #f0ece6;
    background: #fafafa;
}

.sp-field label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 5px;
}

.sp-optional { font-weight: 400; color: #aaa; }

.sp-input-row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #F5E0C8;
    border-radius: 9px;
    overflow: hidden;
    background: #fafbff;
    transition: border-color .15s, box-shadow .15s;
}

.sp-input-row:focus-within {
    border-color: #DE8131;
    box-shadow: 0 0 0 3px rgba(222,129,49,.08);
    background: #fff;
}

.sp-input-row i {
    width: 36px;
    text-align: center;
    font-size: .78rem;
    color: #aab;
    flex-shrink: 0;
}

.sp-input-row input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 9px 10px 9px 0;
    font-size: .875rem;
    font-family: inherit;
    color: #3A1800;
    outline: none;
}

/* Pay button */
.sp-pay-btn {
    width: 100%;
    background: linear-gradient(135deg, #DE8131 0%, #E07820 100%);
    color: #fff;
    border: none;
    border-radius: 11px;
    padding: 14px 20px;
    font-size: .93rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .18s;
    font-family: inherit;
    letter-spacing: .2px;
    box-shadow: 0 4px 16px rgba(222,129,49,.28);
    margin-bottom: 10px;
}

.sp-pay-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #C06820, #DE8131);
    box-shadow: 0 6px 24px rgba(222,129,49,.4);
    transform: translateY(-1px);
}

.sp-pay-btn:disabled {
    background: linear-gradient(135deg, #E0C090, #DDBC90);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.sp-pay-btn i { font-size: .85rem; }

.sp-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: .7rem;
    color: #aab;
    padding-bottom: 20px;
}

.sp-secure-note i { color: #22c55e; font-size: .72rem; }


/* Amenities card */
.sp-amenities-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.sp-am-title {
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.sp-am-title i { color: #f59e0b; }

.sp-am-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.sp-am-item {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #FFF8F2;
    border: 1px solid #F0DCC0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: .78rem;
    color: #444;
    font-weight: 500;
}

.sp-am-item i { color: #DE8131; font-size: .8rem; width: 14px; text-align: center; }


/* ════════════════════════════════════════════
   SUCCESS MODAL
   ════════════════════════════════════════════ */
.sp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(40,15,5,.72);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
}

.sp-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.25);
    animation: spIn .3s cubic-bezier(.34,1.56,.64,1);
}

@keyframes spIn {
    from { opacity: 0; transform: scale(.85) translateY(24px); }
    to   { opacity: 1; transform: scale(1)  translateY(0); }
}

.sp-modal-top {
    background: linear-gradient(160deg, #5C2800 0%, #DE8131 100%);
    padding: 36px 32px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative circles on modal header */
.sp-modal-top::before {
    content: '';
    position: absolute;
    bottom: -30px; right: -30px;
    width: 120px; height: 120px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
}

.sp-modal-top::after {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 80px; height: 80px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}

/* Animated SVG checkmark */
.sp-modal-check {
    width: 68px; height: 68px;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.sp-check-svg {
    width: 68px; height: 68px;
}

.sp-check-circle {
    stroke: rgba(255,255,255,.3);
    stroke-width: 2;
    animation: spCircle 0.6s ease-out forwards;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
}

.sp-check-mark {
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: spCheck 0.4s 0.4s ease-out forwards;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
}

@keyframes spCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes spCheck {
    to { stroke-dashoffset: 0; }
}

.sp-modal-top h2 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.sp-modal-top p {
    color: rgba(255,255,255,.65);
    font-size: .85rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.sp-modal-ref {
    background: #FFF5EB;
    color: #DE8131;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #F5E8D8;
}

.sp-modal-body {
    padding: 16px 28px;
}

.sp-md-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .86rem;
    color: #444;
    padding: 7px 0;
    border-bottom: 1px solid #F8F0E5;
}

.sp-md-row:last-child { border-bottom: none; }
.sp-md-row i { color: #DE8131; width: 14px; text-align: center; font-size: .82rem; }

.sp-modal-actions {
    display: flex;
    gap: 10px;
    padding: 0 28px 24px;
}

.sp-maction {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #DE8131;
    color: #fff;
    border-radius: 10px;
    padding: 11px;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s, transform .12s;
}

.sp-maction:hover { background: #B86820; transform: translateY(-1px); }

.sp-maction-ghost {
    background: transparent;
    color: #DE8131;
    border: 2px solid #F5E0C8;
}

.sp-maction-ghost:hover { background: #FFF5EB; border-color: #DE8131; }


/* ── Ladies seats ──────────────────────────────────────────── */

/* Legend swatch */
.sp-leg-swatch.sp-swatch-ladies {
    background: linear-gradient(135deg, #f48fb1, #e91e8c);
    border-color: #e91e8c;
}

/* Available ladies seats — pink */
.sp-seat[data-ladies="true"].sp-avail,
.sp-berth[data-ladies="true"].sp-avail {
    background: linear-gradient(145deg, #fff0f6, #fce4ec);
    border: 1.5px solid #ec407a;
    color: #c2185b;
    box-shadow: 0 2px 8px rgba(233, 30, 140, .12);
}

.sp-seat[data-ladies="true"].sp-avail .sp-seat-id,
.sp-berth[data-ladies="true"].sp-avail .sp-seat-id {
    color: #c2185b;
}

.sp-seat[data-ladies="true"].sp-avail:hover,
.sp-berth[data-ladies="true"].sp-avail:hover {
    background: linear-gradient(145deg, #fce4ec, #f48fb1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(233, 30, 140, .28);
}

/* Dimmed seats in ladies filter mode */
.sp-seat.sp-dim,
.sp-berth.sp-dim {
    opacity: 0.2;
    filter: grayscale(0.9);
    cursor: not-allowed;
    pointer-events: none;
}

/* Ladies toggle button */
.sp-legend-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-ladies-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1.5px solid #ec407a;
    background: #fff0f6;
    color: #c2185b;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .18s, box-shadow .18s, color .18s, border-color .18s;
    font-family: inherit;
    white-space: nowrap;
}

.sp-ladies-btn:hover {
    background: #fce4ec;
    border-color: #e91e8c;
}

.sp-ladies-btn.is-active {
    background: linear-gradient(135deg, #e91e8c, #f06292);
    border-color: #e91e8c;
    color: #fff;
    box-shadow: 0 3px 14px rgba(233, 30, 140, .38);
}

.sp-ladies-btn i { font-size: .88rem; }

/* ── Ticket delivery custom dropdown ──────────────────────── */

.sp-ticket-select { position: relative; }

.sp-ticket-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    background: #FFF4EB;
    border: 1.5px solid #d0daf0;
    border-radius: 11px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .18s, background .18s, box-shadow .18s, border-radius .15s;
    text-align: left;
}

.sp-ticket-trigger:hover {
    border-color: #DE8131;
    background: #FEF0DC;
}

.sp-ticket-trigger.is-open {
    border-color: #DE8131;
    background: #FEF0DC;
    box-shadow: 0 0 0 3px rgba(222,129,49,.1);
    border-radius: 0 0 11px 11px;
}

.sp-ticket-trigger-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sp-ticket-sel-icon {
    color: #DE8131;
    font-size: .82rem;
    flex-shrink: 0;
}

#ticketSelectedLabel {
    font-size: .875rem;
    font-weight: 500;
    color: #402000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-ticket-placeholder {
    color: #B89870 !important;
    font-weight: 400 !important;
}

.sp-ticket-caret {
    font-size: .72rem;
    color: #B08E60;
    flex-shrink: 0;
    transition: transform .2s;
}

.sp-ticket-trigger.is-open .sp-ticket-caret { transform: rotate(180deg); }

/* Dropdown panel — opens upward to avoid overlapping the button below */
.sp-ticket-dropdown {
    position: absolute;
    bottom: 100%;
    top: auto;
    left: 0; right: 0;
    background: #fff;
    border: 1.5px solid #DE8131;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -10px 30px rgba(80,30,0,.14);
    z-index: 200;
    overflow: hidden;
    animation: tdropIn .14s ease;
}

@keyframes tdropIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Option rows */
.sp-ticket-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #F8F0E5;
    transition: background .12s;
    position: relative;
}

.sp-ticket-opt:last-child { border-bottom: none; }
.sp-ticket-opt:hover { background: #FFF8F2; }

.sp-ticket-opt.is-selected {
    background: linear-gradient(90deg, #FEF5E8, #FFF8F2);
}

/* Icon circle */
.sp-ticket-opt-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #FEF0DC;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: .78rem;
    color: #DE8131;
}

.sp-ticket-opt-icon.sp-opt-other {
    background: #fff3ee;
    color: #A03000;
}

/* Text body */
.sp-ticket-opt-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.sp-ticket-opt-label {
    font-size: .86rem;
    font-weight: 700;
    color: #402000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-ticket-opt-sub {
    font-size: .72rem;
    color: #B89870;
    margin-top: 2px;
}

/* Check mark on selected option */
.sp-ticket-check-mark {
    font-size: .78rem;
    color: #DE8131;
    flex-shrink: 0;
}

/* Hint row when no email yet */
.sp-ticket-opt-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: .78rem;
    color: #B89870;
    border-bottom: 1px solid #F8F0E5;
    font-style: italic;
}

.sp-ticket-opt-hint i { color: #D0B080; font-size: .78rem; }

/* ── Payment Review Modal ──────────────────────────────────── */

.sp-pay-modal { max-width: 480px; }

.sp-pay-modal-top { position: relative; }

.sp-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    transition: background .15s;
    z-index: 2;
}
.sp-modal-close:hover { background: rgba(255,255,255,.34); }

.sp-pay-modal-route {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 5px;
    position: relative; z-index: 1;
}
.sp-pay-modal-route i { margin-right: 5px; }

.sp-pay-modal-top h2 { margin-bottom: 5px; }

.sp-pay-modal-meta {
    font-size: .82rem;
    color: rgba(255,255,255,.68);
    position: relative; z-index: 1;
}

/* Fare breakdown section */
.sp-pay-section { padding: 18px 24px; }

.sp-pay-section-title {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #B89870;
    margin-bottom: 12px;
}

.sp-pay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .875rem;
    color: #604020;
    padding: 4px 0;
}
.sp-pay-row span:last-child { font-weight: 700; color: #402000; }

.sp-pay-tax { color: #B08E60; font-size: .82rem; margin-top: 4px; }
.sp-pay-tax span:last-child { color: #B08E60; font-weight: 600; }
.sp-pay-tax i { margin-right: 4px; color: #D0B080; }

.sp-pay-divider { height: 1px; background: #eef1f8; margin: 0 24px; }

/* Add-on cards */
.sp-addon-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FFFCF8;
    border: 1.5px solid #F0DCC0;
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .18s, background .18s, box-shadow .18s;
    position: relative;
    margin-bottom: 10px;
    user-select: none;
}
.sp-addon-card:last-child { margin-bottom: 0; }
.sp-addon-card input[type="checkbox"] { display: none; }

.sp-addon-card:hover {
    border-color: #b3c8f0;
    background: #FFF5EB;
    box-shadow: 0 2px 12px rgba(222,129,49,.07);
}

.sp-addon-card.is-checked {
    border-color: #DE8131;
    background: #FFF5EB;
    box-shadow: 0 3px 16px rgba(222,129,49,.12);
}

.sp-addon-content { flex: 1; min-width: 0; }

.sp-addon-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.sp-addon-name {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .875rem;
    font-weight: 700;
    color: #402000;
}
.sp-addon-name i { color: #DE8131; font-size: .82rem; }

.sp-addon-price {
    font-size: .82rem;
    font-weight: 800;
    color: #DE8131;
    background: #FEF0DC;
    padding: 3px 10px;
    border-radius: 50px;
    white-space: nowrap;
}

.sp-addon-desc {
    font-size: .77rem;
    color: #7a8aaa;
    line-height: 1.5;
}

/* Cancellation policy */
.sp-cancel-policy {
    margin-top: 9px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sp-cp-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .775rem;
    color: #704830;
    line-height: 1.4;
}
.sp-cp-row i { font-size: .78rem; flex-shrink: 0; }
.sp-cp-green i { color: #16a34a; }
.sp-cp-yellow i { color: #d97706; }
.sp-cp-red    i { color: #dc2626; }

/* Check circle indicator */
.sp-addon-check {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid #d0d9ed;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background .18s, border-color .18s, color .18s;
    color: transparent;
    font-size: .7rem;
}
.sp-addon-card.is-checked .sp-addon-check {
    background: #DE8131;
    border-color: #DE8131;
    color: #fff;
}

/* Footer */
.sp-pay-footer { padding: 16px 24px 24px; }

.sp-pay-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 0;
    border-top: 2px solid #F5E8D8;
    border-bottom: 2px solid #F5E8D8;
    margin-bottom: 16px;
}

.sp-pay-total-label {
    font-size: .9rem;
    font-weight: 700;
    color: #503010;
}

.sp-pay-total-amount {
    font-size: 1.55rem;
    font-weight: 900;
    color: #DE8131;
    letter-spacing: -.5px;
}

.sp-pay-confirm-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #C84000, #D55000);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    letter-spacing: .3px;
    transition: transform .12s, box-shadow .18s;
}
.sp-pay-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(200,64,0,.4);
}
.sp-pay-confirm-btn i { font-size: .88rem; }

/* ── Responsive ── */
@media (max-width: 860px) {
    .sp-layout { flex-direction: column; }
    .sp-sidebar { width: 100%; position: static; }
    .sp-tripbar-main { gap: 12px; }
    .sp-trip-track { display: none; }
    .sp-change-btn { margin-left: 0; }
}

/* ════════════════════════════════════════════════════════════
   TOUR PACKAGES PAGE  (tp-* namespace)
   ════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.tp-hero {
    background: linear-gradient(135deg, #451E00 0%, #2A1000 60%, #1a0a00 100%);
    padding: 52px 0 44px;
    position: relative;
    overflow: hidden;
}
.tp-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(222,129,49,.18) 0%, transparent 70%);
    pointer-events: none;
}
.tp-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    z-index: 1;
}
.tp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(222,129,49,.18);
    border: 1px solid rgba(222,129,49,.4);
    color: #f5c07a;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
}
.tp-hero-text h1 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 10px;
}
.tp-hero-text h1 span { color: #f0a050; }
.tp-hero-text p { color: #c4a480; font-size: 1rem; max-width: 460px; }

.tp-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 22px 32px;
    flex-shrink: 0;
}
.tp-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tp-stat-num { font-size: 2rem; font-weight: 900; color: #DE8131; line-height: 1; }
.tp-stat-label { font-size: .72rem; color: #c4a480; text-transform: uppercase; letter-spacing: .5px; }
.tp-stat-div { width: 1px; height: 44px; background: rgba(255,255,255,.15); }

/* ── Results bar ── */
.tp-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tp-results-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: #503010;
}
.tp-results-count i { color: #DE8131; }

/* ── Grid ── */
.tp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
    gap: 20px;
}

/* ── Card ── */
.tp-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    border: 1px solid #f0e4d4;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.tp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(222,129,49,.18);
}

/* Card visual header */
.tp-card-visual {
    height: 148px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
/* fallback colours if image fails to load */
.tp-cat-adventure    { background: linear-gradient(135deg, #1a4a00 0%, #3d8b00 60%, #2d6a00 100%); }
.tp-cat-beach        { background: linear-gradient(135deg, #005f73 0%, #0a9396 60%, #00b4d8 100%); }
.tp-cat-cultural     { background: linear-gradient(135deg, #7a1200 0%, #c1440e 60%, #e07820 100%); }
.tp-cat-hill-station { background: linear-gradient(135deg, #0d2b47 0%, #1a6fad 60%, #2196c4 100%); }
.tp-cat-wildlife     { background: linear-gradient(135deg, #3b1f00 0%, #7a4800 60%, #a06020 100%); }
.tp-cat-spiritual    { background: linear-gradient(135deg, #2e0854 0%, #6a1ea0 60%, #9b3fd4 100%); }

.tp-card-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.45) 100%);
}
.tp-card-visual-inner {
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tp-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.3);
    align-self: flex-start;
}
.tp-destination-row {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
}
.tp-destination-row i { font-size: .78rem; opacity: .85; }
.tp-region-chip {
    background: rgba(0,0,0,.3);
    color: rgba(255,255,255,.85);
    font-size: .65rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
}
.tp-duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,.4);
    color: rgba(255,255,255,.9);
    font-size: .72rem;
    padding: 3px 10px;
    border-radius: 10px;
    align-self: flex-end;
}

/* Card body */
.tp-card-body { padding: 16px 18px 12px; flex: 1; }
.tp-card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.tp-card-title {
    font-size: .98rem;
    font-weight: 800;
    color: #2A1000;
    line-height: 1.3;
    margin: 0;
}
.tp-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .8rem;
    font-weight: 700;
    color: #DE8131;
    white-space: nowrap;
    flex-shrink: 0;
}
.tp-rating i { font-size: .75rem; }

.tp-highlights {
    list-style: none;
    padding: 0; margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tp-highlights li {
    font-size: .78rem;
    color: #503010;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.tp-highlights li i { color: #DE8131; margin-top: 1px; font-size: .72rem; flex-shrink: 0; }

.tp-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.tp-inc-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FEF0DC;
    color: #7A3800;
    font-size: .7rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 10px;
    border: 1px solid #f5d9b0;
}
.tp-inc-pill i { font-size: .65rem; }

/* Card footer */
.tp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px 16px;
    border-top: 1px solid #f5e8d8;
}
.tp-price-wrap { display: flex; flex-direction: column; }
.tp-per-person { font-size: .68rem; color: #a07040; text-transform: uppercase; letter-spacing: .3px; }
.tp-price { font-size: 1.4rem; font-weight: 900; color: #2A1000; letter-spacing: -.5px; }
.tp-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #DE8131, #C84000);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform .15s, box-shadow .2s;
}
.tp-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(200,64,0,.35);
}
.tp-book-btn i { font-size: .75rem; }

/* ════════════════════════════════════════════════════════════
   PACKAGE DETAIL PAGE  (pd-* namespace)
   ════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.pd-hero {
    height: 420px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #2A1000;
}
.pd-cat-bg-adventure    { background-color: #2d6a00; }
.pd-cat-bg-beach        { background-color: #007a85; }
.pd-cat-bg-cultural     { background-color: #a02010; }
.pd-cat-bg-hill-station { background-color: #1b4f72; }
.pd-cat-bg-wildlife     { background-color: #6b3a00; }
.pd-cat-bg-spiritual    { background-color: #4a1880; }

.pd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,.25) 0%,
        rgba(0,0,0,.2)  45%,
        rgba(0,0,0,.75) 100%);
}
.pd-hero-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 22px;
    padding-bottom: 36px;
}
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: rgba(255,255,255,.75);
}
.pd-breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.pd-breadcrumb a:hover { color: #fff; }
.pd-breadcrumb i { font-size: .6rem; opacity: .5; }
.pd-breadcrumb span { color: rgba(255,255,255,.5); }

.pd-hero-bottom { display: flex; flex-direction: column; }

.pd-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: .73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 5px 13px;
    border-radius: 20px;
    margin-bottom: 10px;
    width: fit-content;
}
.pd-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.18;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
    max-width: 680px;
}
.pd-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pd-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,0,0,.38);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,.92);
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
}
.pd-meta-chip i { font-size: .7rem; }
.pd-rating-chip { background: rgba(222,129,49,.5); border-color: rgba(222,129,49,.4); }
.pd-region-chip-hero { background: rgba(255,255,255,.15); }

/* ── Layout ── */
.pd-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}
.pd-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.pd-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Cards ── */
.pd-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    border: 1px solid #f0e4d4;
}
.pd-section-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #2A1000;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pd-section-title i { color: #DE8131; font-size: .95rem; }

/* ── Overview ── */
.pd-overview-text {
    color: #503010;
    font-size: .95rem;
    line-height: 1.75;
    margin: 0 0 18px;
}
.pd-hl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pd-hl-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FEF0DC;
    color: #7A3800;
    border: 1px solid #f5d9b0;
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 20px;
}
.pd-hl-tag i { color: #DE8131; font-size: .68rem; }

/* ── Itinerary Timeline ── */
.pd-timeline { display: flex; flex-direction: column; }
.pd-day {
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
}
.pd-day-last { padding-bottom: 0; }
.pd-day-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 44px;
}
.pd-day-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DE8131, #C84000);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: .95rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(200,64,0,.28);
}
.pd-day-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, #DE8131 0%, #f5d0a0 100%);
    margin-top: 8px;
    min-height: 24px;
    border-radius: 1px;
}
.pd-day-body { flex: 1; padding-top: 7px; }
.pd-day-title {
    font-size: .95rem;
    font-weight: 800;
    color: #2A1000;
    margin: 0 0 10px;
}
.pd-day-acts {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.pd-day-acts li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .85rem;
    color: #503010;
    line-height: 1.5;
}
.pd-day-acts li i { color: #DE8131; font-size: .52rem; margin-top: 5px; flex-shrink: 0; }

/* ── Inclusions & Exclusions ── */
.pd-incl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.pd-incl-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid;
}
.pd-incl-head.pd-incl-yes { color: #2e7d32; border-color: #a5d6a7; }
.pd-incl-head.pd-incl-no  { color: #c62828; border-color: #ef9a9a; }
.pd-incl-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .85rem;
    padding: 8px 0;
    border-bottom: 1px solid #faf5f0;
    color: #503010;
}
.pd-incl-item:last-child { border-bottom: none; }
.pd-incl-item i { font-size: .75rem; margin-top: 2px; flex-shrink: 0; }
.pd-incl-item.pd-incl-yes i { color: #43a047; }
.pd-incl-item.pd-incl-no  i { color: #ef5350; }

/* ── Important Notes ── */
.pd-notes-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pd-notes-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .87rem;
    color: #503010;
    line-height: 1.55;
}
.pd-notes-list li i { color: #DE8131; font-size: .7rem; margin-top: 4px; flex-shrink: 0; }
.pd-notes-card { background: #FFFBF5; border-color: #f5e0c0; }

/* ── Sidebar Price Card ── */
.pd-price-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
    border: 1px solid #f0e4d4;
}
.pd-price-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #a07040;
    margin-bottom: 2px;
}
.pd-price-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: #2A1000;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 4px;
}
.pd-price-sub { font-size: .72rem; color: #a07040; margin-bottom: 20px; }
.pd-quick-info {
    border-top: 1px solid #f5e8d8;
    border-bottom: 1px solid #f5e8d8;
    padding: 14px 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pd-qi-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .84rem;
    color: #503010;
}
.pd-qi-row i { color: #DE8131; width: 16px; text-align: center; flex-shrink: 0; }
.pd-book-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #DE8131, #C84000);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: inherit;
    letter-spacing: .2px;
    transition: transform .15s, box-shadow .2s;
}
.pd-book-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,64,0,.35); }
.pd-enquire-btn {
    width: 100%;
    padding: 11px;
    background: transparent;
    color: #DE8131;
    border: 1.5px solid #DE8131;
    border-radius: 12px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    font-family: inherit;
    transition: background .15s;
}
.pd-enquire-btn:hover { background: #FEF0DC; }
.pd-trust {
    border-top: 1px solid #f5e8d8;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.pd-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: #7A3800;
}
.pd-trust-item i { color: #DE8131; width: 14px; text-align: center; }

/* Back link */
.pd-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7A3800;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    padding: 12px 16px;
    background: #FEF0DC;
    border-radius: 12px;
    border: 1px solid #f5d9b0;
    transition: background .15s;
}
.pd-back-link:hover { background: #fce5c0; }
.pd-back-link i { font-size: .8rem; }

/* ── Toast ── */
.pd-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #2A1000;
    color: #fff;
    padding: 14px 26px;
    border-radius: 30px;
    font-size: .88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,.3);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
    z-index: 9999;
    white-space: nowrap;
}
.pd-toast.show { transform: translateX(-50%) translateY(0); }
.pd-toast i { color: #DE8131; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .pd-layout { flex-direction: column; }
    .pd-sidebar { width: 100%; position: static; }
    .pd-hero-title { font-size: 1.8rem; }
    .pd-incl-grid { grid-template-columns: 1fr; gap: 20px; }
    .pd-hero { height: 360px; }
}

/* ── Package detail: Photo Gallery ── */
.pd-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.pd-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #f5e8d8;
}
.pd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.pd-gallery-item:hover img { transform: scale(1.05); }
@media (max-width: 600px) {
    .pd-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════════════
   PACKAGES MAP VIEW
   ════════════════════════════════════════════════════════════ */

/* ── Toggle ── */
.pkg-view-toggle {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 5px;
    gap: 4px;
    border: 1px solid #f0e4d4;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    width: fit-content;
    margin: 0 auto;
}
.pvt-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #7A3800;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    white-space: nowrap;
}
.pvt-pill i { font-size: .85rem; }
.pvt-pill.active {
    background: linear-gradient(135deg, #DE8131, #C84000);
    color: #fff;
    box-shadow: 0 3px 10px rgba(200,64,0,.28);
}
.pvt-pill:not(.active):hover { background: #FEF0DC; }

/* ── Map layout ── */
.pkg-map-wrap {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.pkg-map-left {
    flex: 0 0 500px;
    display: flex;
    flex-direction: column;
}
.india-map-container {
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
}
.india-map-svg {
    width: 100%;
    height: auto;
    display: block;
    cursor: default;
}

/* ── India land ── */
.india-land {
    fill: #f5e6cc;
    stroke: #c8a070;
    stroke-width: 1.2;
    stroke-linejoin: round;
}

/* ── Pins ── */
.map-pin-grp {
    cursor: pointer;
    animation: pinEnter .45s ease-out both;
}
@keyframes pinEnter {
    from { opacity: 0; transform: translateY(6px) scale(0.6); }
    to   { opacity: 1; transform: translateY(0)   scale(1);   }
}
.pin-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: pinPulse 2.2s ease-out infinite;
}
@keyframes pinPulse {
    0%   { transform: scale(1);   opacity: 0.55; }
    60%  { transform: scale(2.2); opacity: 0.1; }
    100% { transform: scale(2.6); opacity: 0; }
}
.pin-outer {
    transition: r .15s;
}
.map-pin-grp:hover .pin-outer,
.map-pin-grp.pin-active .pin-outer {
    filter: drop-shadow(0 0 5px var(--pin-color, #DE8131));
}
.map-pin-grp.pin-active .pin-inner {
    r: 7;
}
.map-pin-grp.pin-active .pin-outer {
    r: 11;
    stroke-width: 3;
}

/* ── Legend ── */
.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #f0e4d4;
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.ml-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 600;
    color: #503010;
}
.ml-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Right panel ── */
.pkg-map-right {
    flex: 1;
    min-height: 580px;
    max-height: 620px;
    overflow-y: auto;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #f0e4d4;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
}
.map-panel-prompt {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #c0956c;
    padding: 40px 20px;
}
.map-panel-prompt i { font-size: 2.8rem; opacity: 0.45; }
.map-panel-prompt p {
    font-size: .95rem;
    font-weight: 600;
    color: #a07040;
    text-align: center;
    max-width: 220px;
    line-height: 1.5;
}
.map-panel-hdr {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #f5e8d8;
    font-weight: 800;
    font-size: 1rem;
    color: #2A1000;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}
.map-panel-hdr small {
    font-size: .72rem;
    font-weight: 500;
    color: #a07040;
    background: #FEF0DC;
    padding: 3px 10px;
    border-radius: 10px;
    margin-left: auto;
}
.map-pkg-list {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Package mini-card ── */
.mpc {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0e4d4;
    background: #fff;
    transition: transform .15s, box-shadow .2s;
}
.mpc:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(222,129,49,.18);
}
.mpc-img {
    width: 105px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    min-height: 95px;
}
.mpc-body {
    flex: 1;
    padding: 11px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.mpc-cat {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.mpc-name {
    font-size: .88rem;
    font-weight: 800;
    color: #2A1000;
    line-height: 1.3;
}
.mpc-row {
    display: flex;
    gap: 12px;
    font-size: .75rem;
    color: #a07040;
}
.mpc-row i { color: #DE8131; font-size: .68rem; }
.mpc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}
.mpc-price {
    font-size: .95rem;
    font-weight: 900;
    color: #2A1000;
}
.mpc-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #DE8131, #C84000);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .12s;
}
.mpc-btn:hover { transform: translateY(-1px); }
.mpc-btn i { font-size: .62rem; }

/* ── Responsive ── */
@media (max-width: 960px) {
    .pkg-map-wrap { flex-direction: column; }
    .pkg-map-left { flex: none; width: 100%; }
    .pkg-map-right { min-height: 400px; max-height: 500px; }
}

/* ══════════════════════════════════════════
   AUTH – User menu (header)
   ══════════════════════════════════════════ */

.auth-area { position: relative; }

.user-menu { position: relative; }

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.35);
    border-radius: 999px;
    padding: 6px 14px 6px 7px;
    color: #fff;
    cursor: pointer;
    font-size: .85rem;
    font-weight: 600;
    transition: background .2s, border-color .2s;
}
.user-menu-btn:hover {
    background: rgba(255,255,255,.25);
    border-color: rgba(255,255,255,.6);
}

.user-avatar-sm {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #DE8131;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700; color: #fff;
    flex-shrink: 0;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    min-width: 200px;
    overflow: hidden;
    z-index: 999;
}
.user-dropdown.open { display: block; }

.user-drop-info {
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f0e8e0;
}
.user-drop-name  { font-weight: 700; font-size: .9rem; color: #1a1a2e; }
.user-drop-email { font-size: .78rem; color: #888; margin-top: 2px; }

.user-drop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: #c84000;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
}
.user-drop-item:hover { background: #fff5f0; }

/* ══════════════════════════════════════════
   AUTH – Login / Register page
   ══════════════════════════════════════════ */

.auth-page { margin: 0; padding: 0; min-height: 100vh; }

.auth-bg {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a0a00 0%, #3d1a00 40%, #DE8131 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    position: relative;
}
.auth-bg::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-logo {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}
.auth-tagline {
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    margin-bottom: 28px;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 4px;
}
.auth-sub {
    color: #888;
    font-size: .88rem;
    margin: 0 0 24px;
}

.auth-error {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    color: #c00;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .85rem;
    margin-bottom: 18px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-form .ag-field-row { margin-bottom: 2px; }

.auth-field label {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.auth-input-wrap > i:first-child {
    position: absolute;
    left: 13px;
    color: #bbb;
    font-size: .9rem;
    pointer-events: none;
}
.auth-input-wrap input {
    width: 100%;
    padding: 11px 42px 11px 36px;
    border: 1.5px solid #e0d8d0;
    border-radius: 10px;
    font-size: .95rem;
    color: #1a1a2e;
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    box-sizing: border-box;
}
.auth-input-wrap input:focus {
    border-color: #DE8131;
    box-shadow: 0 0 0 3px rgba(222,129,49,.12);
    background: #fff;
}
.auth-eye {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #bbb;
    padding: 4px;
    font-size: .9rem;
}
.auth-eye:hover { color: #DE8131; }

.auth-submit-btn {
    margin-top: 6px;
    padding: 13px;
    background: linear-gradient(135deg, #DE8131, #C84000);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .2s, transform .15s;
}
.auth-submit-btn:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.auth-switch {
    text-align: center;
    font-size: .87rem;
    color: #888;
    margin: 18px 0 0;
}
.auth-switch a {
    color: #DE8131;
    font-weight: 700;
    text-decoration: none;
}
.auth-switch a:hover { text-decoration: underline; }

.auth-back-home {
    margin-top: 20px;
    color: rgba(255,255,255,.65);
    font-size: .85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}
.auth-back-home:hover { color: #fff; }

/* ══════════════════════════════════════════
   Road Travel Modal
   ══════════════════════════════════════════ */

.rt-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    z-index: 1100;
}
.rt-backdrop.open { display: block; }

.rt-modal {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -46%);
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px 24px;
    width: 90%; max-width: 480px;
    z-index: 1101;
    box-shadow: 0 24px 64px rgba(0,0,0,.28);
    animation: rtSlideIn .22s ease;
}
.rt-modal.open { display: block; }

@keyframes rtSlideIn {
    from { opacity: 0; transform: translate(-50%, -42%); }
    to   { opacity: 1; transform: translate(-50%, -46%); }
}

.rt-close {
    position: absolute; top: 14px; right: 16px;
    background: #f5f0eb; border: none; border-radius: 50%;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #666; font-size: .95rem;
    transition: background .15s;
}
.rt-close:hover { background: #ecddd0; color: #DE8131; }

.rt-header { text-align: center; margin-bottom: 24px; }
.rt-header-icon {
    font-size: 2rem; color: #DE8131;
    display: block; margin-bottom: 8px;
}
.rt-header h3 { font-size: 1.3rem; font-weight: 800; color: #1a1a2e; margin: 0 0 4px; }
.rt-header p  { color: #888; font-size: .88rem; margin: 0; }

.rt-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.rt-option {
    border: 2px solid #ede5db;
    border-radius: 14px;
    padding: 16px 14px 14px;
    background: #fdfaf7;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: border-color .18s, background .18s, transform .15s;
}
.rt-option:hover {
    border-color: #DE8131;
    background: #fff8f0;
    transform: translateY(-2px);
}
.rt-option.rt-selected {
    border-color: #DE8131;
    background: #fff3e6;
}

.rt-opt-icon {
    font-size: 1.4rem; color: #DE8131;
    margin-bottom: 8px;
}
.rt-opt-label { font-weight: 700; font-size: .95rem; color: #1a1a2e; margin-bottom: 3px; }
.rt-opt-sub   { font-size: .78rem; color: #999; }

.rt-badge {
    position: absolute; top: 10px; right: 10px;
    background: #DE8131; color: #fff;
    font-size: .65rem; font-weight: 700;
    padding: 2px 7px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .04em;
}

.rt-footer-note {
    text-align: center;
    font-size: .83rem;
    color: #DE8131;
    font-weight: 600;
    min-height: 18px;
    margin: 0;
}

/* rt-option as a link */
a.rt-option {
    display: block;
    text-decoration: none;
    color: inherit;
}
a.rt-option:hover {
    border-color: #DE8131;
    background: #fff8f0;
    transform: translateY(-2px);
}


/* ════════════════════════════════════════════
   ROAD TRAVEL — rv-* namespace
   ════════════════════════════════════════════ */

/* ── Hero ── */
.rv-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b0e 50%, #5C2800 100%);
    padding: 80px 0 60px;
    overflow: hidden;
}
.rv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(222,129,49,.18) 0%, transparent 70%);
}
.rv-hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.rv-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}
.rv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(222,129,49,.2);
    border: 1px solid rgba(222,129,49,.4);
    color: #DE8131;
    font-size: .82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 20px;
}
.rv-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.15;
}
.rv-hero-sub {
    color: rgba(255,255,255,.72);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Vehicle Types Section ── */
.rv-types-section {
    padding: 56px 0 48px;
    background: #FBF5EF;
}
.rv-section-head {
    text-align: center;
    margin-bottom: 36px;
}
.rv-section-head h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.rv-section-head p { color: #888; font-size: .95rem; }

/* ── Type Grid ── */
.rv-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.rv-type-card {
    background: #fff;
    border: 2px solid #ede5db;
    border-radius: 18px;
    padding: 24px 20px 20px;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.rv-type-card:hover {
    border-color: #DE8131;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(222,129,49,.15);
}
.rv-type-card.rv-type-active {
    border-color: #DE8131;
    background: linear-gradient(135deg, #fff8f0, #fff);
    box-shadow: 0 8px 28px rgba(222,129,49,.2);
}
.rv-type-card.rv-type-active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 12px; right: 12px;
    background: #DE8131;
    color: #fff;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
}
.rv-type-emoji {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 4px;
    color: #DE8131;
}
.rv-type-name  { font-size: 1.02rem; font-weight: 800; color: #1a1a2e; }
.rv-type-desc  { font-size: .78rem; color: #888; }
.rv-type-price { font-size: .78rem; color: #DE8131; font-weight: 700; }
.rv-type-tag {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: #f5ede0;
    color: #5C2800;
}

/* ── Search Panel ── */
.rv-search-panel {
    background: #fff;
    border-radius: 20px;
    padding: 28px 28px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    border: 1.5px solid #ede5db;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .3s ease, padding .3s ease;
    padding-top: 0;
    padding-bottom: 0;
}
.rv-search-panel.rv-panel-visible {
    max-height: 500px;
    opacity: 1;
    padding: 28px 28px 24px;
}

.rv-search-form {}
.rv-search-fields {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.rv-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
    min-width: 150px;
}
.rv-field label {
    font-size: .8rem;
    font-weight: 700;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}
.rv-field label i { color: #DE8131; }
.rv-optional { font-weight: 400; color: #aaa; }

.rv-select-wrap { position: relative; }
.rv-select-wrap select,
.rv-field input[type="date"] {
    width: 100%;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: .92rem;
    background: #fff;
    color: #1a1a2e;
    outline: none;
    transition: border-color .15s;
    appearance: none;
    -webkit-appearance: none;
}
.rv-select-wrap select:focus,
.rv-field input[type="date"]:focus {
    border-color: #DE8131;
    box-shadow: 0 0 0 3px rgba(222,129,49,.12);
}
.rv-select-wrap::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    font-size: .75rem;
}
.rv-swap {
    display: flex;
    align-items: flex-end;
    padding-bottom: 1px;
}
.rv-swap button {
    background: #f5ede0;
    border: none;
    border-radius: 50%;
    width: 36px; height: 36px;
    cursor: pointer;
    color: #DE8131;
    font-size: .9rem;
    transition: background .15s, transform .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rv-swap button:hover { background: #DE8131; color: #fff; transform: rotate(180deg); }

.rv-search-btn {
    background: linear-gradient(135deg, #DE8131, #C84000);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 11px 24px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: opacity .15s, transform .15s;
    flex-shrink: 0;
}
.rv-search-btn:hover { opacity: .9; transform: translateY(-1px); }

.rv-selected-type-note {
    margin-top: 14px;
    font-size: .82rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rv-selected-type-note i { color: #DE8131; }
.rv-selected-type-note strong { color: #DE8131; }

/* ── Perks ── */
.rv-perks-section {
    background: linear-gradient(135deg, #1a1a2e, #2d1b0e);
    padding: 48px 0;
}
.rv-perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.rv-perk {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #fff;
}
.rv-perk-icon {
    width: 48px; height: 48px;
    background: rgba(222,129,49,.18);
    border: 1px solid rgba(222,129,49,.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #DE8131;
    flex-shrink: 0;
}
.rv-perk h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.rv-perk p  { font-size: .8rem; color: rgba(255,255,255,.6); line-height: 1.4; margin: 0; }

/* ── Route Bar ── */
.rv-route-bar {
    background: linear-gradient(135deg, #1a1a2e, #2d1b0e);
    padding: 14px 0;
    color: #fff;
}
.rv-route-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.rv-route-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .88rem;
}
.rv-route-cities {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}
.rv-route-cities i { color: #DE8131; margin: 0 4px; }
.rv-route-date, .rv-route-dist {
    color: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    gap: 5px;
}
.rv-route-date i, .rv-route-dist i { color: #DE8131; }
.rv-route-count {
    background: rgba(222,129,49,.2);
    border: 1px solid rgba(222,129,49,.4);
    color: #DE8131;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
}
.rv-modify-btn {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background .15s;
}
.rv-modify-btn:hover { background: rgba(255,255,255,.18); }

/* ── Layout ── */
.rv-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 48px;
    align-items: start;
}

/* ── Sidebar ── */
.rv-sidebar {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1.5px solid #ede5db;
    position: sticky;
    top: 80px;
}
.rv-filter-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0ebe3;
}
.rv-filter-section:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.rv-filter-title {
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #888;
    margin-bottom: 12px;
}
.rv-radio-group { display: flex; flex-direction: column; gap: 8px; }
.rv-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: .88rem;
    color: #444;
}
.rv-radio-label input[type="radio"] { accent-color: #DE8131; cursor: pointer; }

.rv-cat-links { display: flex; flex-direction: column; gap: 4px; }
.rv-cat-link {
    padding: 7px 12px;
    border-radius: 8px;
    font-size: .87rem;
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background .15s, color .15s;
}
.rv-cat-link:hover { background: #f5ede0; color: #DE8131; }
.rv-cat-link.rv-cat-active { background: #f5ede0; color: #C84000; font-weight: 700; }

/* ── Vehicle Card ── */
.rv-results { display: flex; flex-direction: column; gap: 16px; }

.rv-vehicle-card {
    background: #fff;
    border: 1.5px solid #ede5db;
    border-radius: 18px;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    align-items: center;
    transition: box-shadow .2s, border-color .2s, transform .15s;
}
.rv-vehicle-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
    border-color: #DE8131;
    transform: translateY(-2px);
}
.rv-vc-emoji {
    font-size: 2.2rem;
    text-align: center;
    line-height: 1;
    color: #DE8131;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rv-vc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
}
.rv-vc-name {
    font-size: 1.08rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 4px;
}
.rv-vc-type-badge {
    display: inline-block;
    background: #f5ede0;
    color: #5C2800;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.rv-vc-rating {
    background: #1a1a2e;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.rv-vc-rating i { color: #DE8131; }
.rv-vc-meta {
    display: flex;
    gap: 16px;
    font-size: .82rem;
    color: #666;
    margin-bottom: 10px;
}
.rv-vc-meta i { color: #DE8131; margin-right: 4px; }
.rv-vc-features { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-feat-chip {
    background: #f5f0eb;
    color: #5C2800;
    font-size: .72rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
}

.rv-vc-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 160px;
}
.rv-vc-price-label { font-size: .75rem; color: #888; }
.rv-vc-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1;
}
.rv-vc-price-note { font-size: .72rem; color: #aaa; margin-bottom: 8px; }
.rv-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #DE8131, #C84000);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 18px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .15s, transform .15s;
    white-space: nowrap;
}
.rv-book-btn:hover { opacity: .88; transform: translateY(-1px); }
.rv-book-btn--login { background: #64748b; }
.rv-book-btn--login:hover { background: #475569; opacity: 1; }

/* ── Empty state ── */
.rv-empty {
    text-align: center;
    padding: 64px 24px;
    color: #888;
}
.rv-empty-icon { font-size: 3rem; color: #ddd; margin-bottom: 16px; display: block; }
.rv-empty h3 { font-size: 1.2rem; color: #555; margin-bottom: 8px; }
.rv-empty p  { margin-bottom: 24px; }

/* ── Breadcrumb ── */
.rv-breadcrumb {
    background: #f5ede0;
    padding: 10px 0;
    font-size: .82rem;
    color: #888;
}
.rv-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.rv-breadcrumb a { color: #DE8131; text-decoration: none; font-weight: 600; }
.rv-breadcrumb a:hover { text-decoration: underline; }
.rv-breadcrumb i { font-size: .65rem; color: #bbb; }

/* ── Booking layout ── */
.rv-book-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
    padding-top: 32px;
    padding-bottom: 56px;
}
.rv-book-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 24px;
}
.rv-book-form {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    border: 1.5px solid #ede5db;
}
.rv-form-field {
    margin-bottom: 20px;
}
.rv-form-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 7px;
}
.rv-form-field label i { color: #DE8131; }
.rv-form-field input {
    width: 100%;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: .93rem;
    color: #1a1a2e;
    outline: none;
    transition: border-color .15s;
}
.rv-form-field input:focus {
    border-color: #DE8131;
    box-shadow: 0 0 0 3px rgba(222,129,49,.1);
}
.rv-count-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}
.rv-count-btn {
    background: #f5ede0;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    color: #DE8131;
    font-size: .9rem;
    transition: background .15s;
}
.rv-count-btn:hover { background: #DE8131; color: #fff; }
.rv-count-wrap input[type="number"] {
    width: 54px;
    text-align: center;
    border: none;
    border-left: 1.5px solid #ddd;
    border-right: 1.5px solid #ddd;
    border-radius: 0;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 700;
    outline: none;
    box-shadow: none;
}
.rv-count-max { font-size: .78rem; color: #aaa; margin-left: 10px; }
.rv-form-terms { margin: 20px 0; }
.rv-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .83rem;
    color: #666;
    cursor: pointer;
}
.rv-checkbox-label a { color: #DE8131; }
.rv-checkbox-label input[type="checkbox"] { accent-color: #DE8131; margin-top: 2px; flex-shrink: 0; }
.rv-confirm-btn {
    width: 100%;
    background: linear-gradient(135deg, #DE8131, #C84000);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1.02rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .15s, transform .15s;
}
.rv-confirm-btn:hover { opacity: .9; transform: translateY(-1px); }

/* ── Booking Summary Card ── */
.rv-book-summary { position: sticky; top: 80px; }
.rv-summary-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    border: 1.5px solid #ede5db;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.rv-summary-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0ebe3;
    margin-bottom: 16px;
}
.rv-summary-emoji { font-size: 2rem; color: #DE8131; }
.rv-summary-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 4px;
}
.rv-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: .85rem;
    border-bottom: 1px dashed #f0ebe3;
}
.rv-summary-row:last-of-type { border-bottom: none; }
.rv-summary-row > span:first-child {
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rv-summary-row > span:first-child i { color: #DE8131; }
.rv-summary-row > span:last-child { font-weight: 700; color: #1a1a2e; }
.rv-summary-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 12px 0 14px;
    border-bottom: 1px dashed #f0ebe3;
}
.rv-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    margin-top: 4px;
    font-size: .9rem;
    font-weight: 700;
    color: #555;
}
.rv-total-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #DE8131;
}
.rv-summary-note {
    font-size: .78rem;
    color: #888;
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}
.rv-summary-note i { color: #DE8131; flex-shrink: 0; margin-top: 2px; }

/* ── Confirmation ── */
.rv-confirm-wrap {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 48px 0;
    background: #FBF5EF;
}
.rv-confirm-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0,0,0,.1);
    border: 1.5px solid #ede5db;
}
.rv-confirm-check {
    margin: 0 auto 24px;
    width: 80px; height: 80px;
}
.rv-check-svg { width: 80px; height: 80px; }
.rv-check-circle {
    stroke: #DE8131;
    stroke-width: 2;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: rv-draw-circle 0.6s ease forwards;
}
.rv-check-mark {
    stroke: #DE8131;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: rv-draw-check 0.4s ease 0.55s forwards;
}
@keyframes rv-draw-circle {
    to { stroke-dashoffset: 0; }
}
@keyframes rv-draw-check {
    to { stroke-dashoffset: 0; }
}

.rv-confirm-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.rv-confirm-sub {
    color: #888;
    font-size: .92rem;
    margin-bottom: 24px;
    line-height: 1.5;
}
.rv-confirm-ref {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #f5ede0;
    border: 1.5px dashed #DE8131;
    border-radius: 14px;
    padding: 14px 28px;
    margin-bottom: 32px;
}
.rv-ref-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #888; font-weight: 700; }
.rv-ref-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #C84000;
    letter-spacing: .08em;
    font-family: 'Courier New', monospace;
}
.rv-confirm-details {
    background: #fdfaf7;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 28px;
    text-align: left;
    border: 1.5px solid #f0ebe3;
}
.rv-confirm-vehicle-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #e8ddd4;
}
.rv-confirm-emoji { font-size: 2rem; color: #DE8131; }
.rv-confirm-vehicle-row h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 4px;
}
.rv-confirm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin-bottom: 16px;
}
.rv-confirm-item { display: flex; flex-direction: column; gap: 2px; }
.rv-ci-label {
    font-size: .74rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
    display: flex;
    align-items: center;
    gap: 4px;
}
.rv-ci-label i { color: #DE8131; }
.rv-ci-value { font-size: .92rem; font-weight: 700; color: #1a1a2e; }
.rv-confirm-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #e8ddd4;
    font-size: .9rem;
    font-weight: 700;
    color: #555;
}
.rv-confirm-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: #DE8131;
}
.rv-confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.rv-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .15s, transform .15s;
}
.rv-action-btn:hover { opacity: .88; transform: translateY(-1px); }
.rv-action-primary { background: linear-gradient(135deg, #DE8131, #C84000); color: #fff; }
.rv-action-outline {
    border: 2px solid #DE8131;
    color: #DE8131;
    background: transparent;
}



/* ════════════════════════════════════════════
   AGENT PORTAL — ag-* namespace
   ════════════════════════════════════════════ */

/* ── Footer agent link ── */
.footer-legal-sep { color: rgba(255,255,255,.15); }
.footer-agent-link { color: rgba(255,255,255,.5) !important; }
.footer-agent-link:hover { color: #DE8131 !important; }
.footer-agent-link i { font-size: .75rem; margin-right: 4px; }

/* ── Auth tweaks for agent pages ── */
.ag-auth-bg {
    background: linear-gradient(135deg, #0d0d1f 0%, #1a0d3d 45%, #2d1a6e 100%);
}
.ag-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #DE8131, #C84000);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.ag-register-wrap { max-width: 600px; }
.ag-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 580px) { .ag-field-row { grid-template-columns: 1fr; } }

/* Select inside auth-input-wrap */
.auth-input-wrap select {
    width: 100%;
    padding: 11px 40px 11px 36px;
    border: 1.5px solid #e0d8d0;
    border-radius: 10px;
    font-size: .95rem;
    color: #1a1a2e;
    background: #fafafa;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.auth-input-wrap select:focus {
    border-color: #DE8131;
    box-shadow: 0 0 0 3px rgba(222,129,49,.12);
    background: #fff;
}
.auth-input-wrap .ag-select-arrow {
    position: absolute;
    right: 13px;
    color: #bbb;
    font-size: .8rem;
    pointer-events: none;
}

/* Standalone select (fallback) */
.ag-select {
    width: 100%;
    padding: 11px 36px 11px 14px;
    border: 1.5px solid #e0d8d0;
    border-radius: 10px;
    font-size: .93rem;
    color: #1a1a2e;
    background: #fafafa;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.ag-select:focus {
    border-color: #DE8131;
    box-shadow: 0 0 0 3px rgba(222,129,49,.12);
    background: #fff;
}

.ag-commission-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff8f0;
    border: 1px solid #f5dfc0;
    border-left: 4px solid #DE8131;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .87rem;
    color: #7a4400;
    margin-bottom: 20px;
}
.ag-commission-strip i { color: #DE8131; }
.ag-commission-strip strong { color: #C84000; }

.ag-optional-label { font-weight: 400; color: #bbb; font-size: .78rem; }
.ag-terms-note { font-size: .8rem; color: #999; text-align: center; margin-bottom: 16px; }
.ag-terms-note a { color: #DE8131; }

.ag-submit-btn {
    background: linear-gradient(135deg, #4a1d96, #2d1a6e) !important;
}
.ag-submit-btn:hover { opacity: .9 !important; }

.ag-login-note {
    color: rgba(255,255,255,.45);
    font-size: .8rem;
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

/* ── Dashboard shell ── */
.ag-dash-body {
    background: #f1f5f9;
    margin: 0;
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.ag-dash-wrap { display: flex; min-height: 100vh; }

/* ── Sidebar ── */
.ag-sidebar {
    width: 248px;
    flex-shrink: 0;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 50;
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    border-right: 1px solid rgba(255,255,255,.04);
}
.ag-sidebar-logo {
    padding: 24px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.ag-logo-link {
    display: block;
    text-decoration: none;
}
.ag-logo-link img {
    display: block;
    height: 40px;
    width: auto;
}
.ag-portal-label {
    font-size: .65rem;
    color: rgba(255,255,255,.28);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
}
.ag-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
}
.ag-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: rgba(255,255,255,.45);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, color .15s;
    position: relative;
}
.ag-nav-link i { width: 16px; text-align: center; font-size: .9rem; }
.ag-nav-link:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); }
.ag-nav-active {
    background: rgba(249,115,22,.12);
    color: #fb923c !important;
    font-weight: 600;
}
.ag-nav-active::before {
    content: '';
    position: absolute;
    left: 0; top: 25%; bottom: 25%;
    width: 3px;
    background: #f97316;
    border-radius: 0 3px 3px 0;
}
.ag-nav-disabled { opacity: .3; cursor: default; pointer-events: none; }
.ag-nav-badge {
    margin-left: auto;
    font-size: .6rem;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.3);
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: .03em;
}
.ag-sidebar-footer {
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,.06);
}
.ag-logout-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: rgba(255,255,255,.38);
    font-size: .875rem;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.ag-logout-link:hover { background: rgba(239,68,68,.1); color: #f87171; }

@media (max-width: 860px) {
    .ag-sidebar { transform: translateX(-100%); box-shadow: 4px 0 24px rgba(0,0,0,.35); }
    .ag-sidebar.ag-sidebar-open { transform: translateX(0); }
    .ag-main { margin-left: 0 !important; }
}

/* ── Main area ── */
.ag-main {
    margin-left: 248px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Top bar ── */
.ag-topbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 28px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.ag-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #64748b;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background .15s;
}
.ag-menu-toggle:hover { background: #f1f5f9; }
@media (max-width: 860px) { .ag-menu-toggle { display: flex; } }
.ag-topbar-title { font-size: 1rem; font-weight: 700; color: #0f172a; flex: 1; letter-spacing: -.01em; }
.ag-topbar-agent { display: flex; align-items: center; gap: 10px; }
.ag-agent-avatar {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(249,115,22,.35);
}
.ag-agent-info { display: flex; flex-direction: column; line-height: 1.3; }
.ag-agent-name    { font-size: .85rem; font-weight: 700; color: #0f172a; }
.ag-agent-company { font-size: .72rem; color: #94a3b8; }
.ag-topbar-logout {
    color: #cbd5e1;
    font-size: .9rem;
    padding: 7px 9px;
    border-radius: 8px;
    text-decoration: none;
    transition: color .15s, background .15s;
}
.ag-topbar-logout:hover { color: #ef4444; background: #fef2f2; }

/* ── Inner content wrapper ── */
.ag-inner {
    padding: 28px 28px 56px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
@media (max-width: 600px) { .ag-inner { padding: 18px 16px 40px; } }

/* ── Welcome card ── */
.ag-welcome-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #312e81 100%);
    border-radius: 20px;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15,23,42,.18);
}
.ag-welcome-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(249,115,22,.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ag-welcome-card::after {
    content: '';
    position: absolute;
    bottom: -80px; left: 30%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.ag-welcome-left { position: relative; z-index: 1; }
.ag-welcome-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -.02em;
}
.ag-welcome-sub {
    color: rgba(255,255,255,.5);
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ag-welcome-sub i { color: #f97316; }
.ag-welcome-sub .ag-sep { color: rgba(255,255,255,.2); }
.ag-welcome-meta {
    display: flex;
    gap: 18px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.ag-welcome-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: .78rem;
    color: rgba(255,255,255,.65);
}
.ag-welcome-chip i { color: #f97316; font-size: .8rem; }
.ag-welcome-chip strong { color: #fff; font-weight: 700; }

.ag-code-block {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 18px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 220px;
    text-align: center;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(8px);
}
.ag-code-label {
    font-size: .64rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.38);
    font-weight: 700;
}
.ag-code-value {
    font-size: 1.3rem;
    font-weight: 900;
    color: #fb923c;
    letter-spacing: .12em;
    font-family: 'Courier New', monospace;
}
.ag-code-copy {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(249,115,22,.15);
    border: 1px solid rgba(249,115,22,.25);
    border-radius: 7px;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    font-size: .75rem;
    padding: 4px 10px;
    margin-top: 2px;
    transition: background .15s, color .15s;
}
.ag-code-copy:hover { background: rgba(249,115,22,.28); color: #fb923c; }

/* ── Stats row ── */
.ag-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 900px) { .ag-stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ag-stats-row { grid-template-columns: 1fr; } }

.ag-stat-card {
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.ag-stat-card--orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.ag-stat-card--green  { background: linear-gradient(135deg, #10b981, #059669); }
.ag-stat-card--blue   { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.ag-stat-card--purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.ag-stat-card::after {
    content: '';
    position: absolute;
    bottom: -18px; right: -18px;
    width: 80px; height: 80px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    pointer-events: none;
}
.ag-stat-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.ag-stat-body { display: flex; flex-direction: column; gap: 2px; }
.ag-stat-value { font-size: 1.2rem; font-weight: 800; color: #fff; }
.ag-stat-label { font-size: .72rem; color: rgba(255,255,255,.7); font-weight: 500; }

.ag-status-badge {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: capitalize;
}
.ag-status-active    { background: rgba(255,255,255,.22); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.ag-status-pending   { background: rgba(255,255,255,.22); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.ag-status-suspended { background: rgba(0,0,0,.2); color: rgba(255,255,255,.7); }

/* ── Section title ── */
.ag-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.01em;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: -12px;
}
.ag-section-title::before {
    content: '';
    width: 4px; height: 18px;
    background: linear-gradient(180deg, #f97316, #ea580c);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── Quick action cards ── */
.ag-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 760px) { .ag-actions-grid { grid-template-columns: 1fr; } }

.ag-action-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05), 0 2px 12px rgba(0,0,0,.04);
    border: 1.5px solid #f1f5f9;
    text-decoration: none;
    transition: box-shadow .2s, transform .15s, border-color .2s;
}
.ag-action-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
    transform: translateY(-3px);
    border-color: rgba(249,115,22,.2);
}
.ag-action-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(249,115,22,.3);
}
.ag-action-icon--road { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 4px 12px rgba(59,130,246,.3); }
.ag-action-icon--pkg  { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 12px rgba(16,185,129,.3); }
.ag-action-body { flex: 1; }
.ag-action-body h3 { font-size: .95rem; font-weight: 700; color: #0f172a; margin: 0 0 3px; }
.ag-action-body p  { font-size: .79rem; color: #94a3b8; margin: 0; line-height: 1.4; }
.ag-action-arrow {
    width: 30px; height: 30px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: .8rem;
    flex-shrink: 0;
    transition: background .18s, color .18s, transform .18s;
}
.ag-action-card:hover .ag-action-arrow { background: #fff7ed; color: #f97316; transform: translateX(2px); }

/* ── B2B commission section ── */
.ag-b2b-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 700px) { .ag-b2b-grid { grid-template-columns: 1fr; } }

.ag-b2b-card {
    background: #0f172a;
    border-radius: 16px;
    padding: 26px 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15,23,42,.15);
}
.ag-b2b-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ea580c);
}
.ag-b2b-icon {
    font-size: 1.5rem;
    color: #f97316;
    margin-bottom: 10px;
    display: block;
}
.ag-b2b-card h4 { font-size: .88rem; font-weight: 700; color: rgba(255,255,255,.65); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; }
.ag-b2b-rate {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f97316, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin: 8px 0 6px;
}
.ag-b2b-card > p { font-size: .77rem; color: rgba(255,255,255,.38); }

.ag-b2b-note {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: .84rem;
    color: #475569;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.55;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.ag-b2b-note > i { flex-shrink: 0; margin-top: 2px; color: #3b82f6; }
.ag-b2b-note strong { color: #1d4ed8; }

/* ── Pending banner ── */
.ag-pending-banner {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(245,158,11,.08);
}
.ag-pending-banner > i { color: #d97706; font-size: 1.15rem; flex-shrink: 0; margin-top: 2px; }
.ag-pending-banner strong { display: block; font-weight: 700; color: #92400e; margin-bottom: 4px; }
.ag-pending-banner p { font-size: .84rem; color: #b45309; margin: 0; line-height: 1.5; }


/* ════════════════════════════════════════════
   AGENT BOOKINGS PAGE — ag-bk-* namespace
   ════════════════════════════════════════════ */

/* ── Page header bar ── */
.ag-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.ag-page-header-left h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -.02em;
}
.ag-page-header-left p {
    font-size: .82rem;
    color: #94a3b8;
    margin-top: 3px;
}
.ag-new-booking-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(249,115,22,.35);
    transition: opacity .15s, transform .15s;
    font-family: inherit;
}
.ag-new-booking-btn:hover { opacity: .92; transform: translateY(-1px); }

/* ── Success banner ── */
.ag-success-banner {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-left: 4px solid #22c55e;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .88rem;
    color: #166534;
    font-weight: 600;
}
.ag-success-banner i { color: #22c55e; font-size: 1.1rem; }

/* ── New Booking wizard panel ── */
.ag-wizard-panel {
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(15,23,42,.07);
    overflow: hidden;
}
.ag-wizard-header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ag-wizard-header-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ag-wizard-header-title i { color: #f97316; }
.ag-wizard-steps {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ag-wstep {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255,255,255,.3);
}
.ag-wstep-num {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: .68rem;
    font-weight: 800;
}
.ag-wstep.active { color: #fb923c; }
.ag-wstep.active .ag-wstep-num { background: rgba(249,115,22,.25); color: #fb923c; }
.ag-wstep.done { color: rgba(255,255,255,.5); }
.ag-wstep.done .ag-wstep-num { background: rgba(34,197,94,.2); color: #4ade80; }
.ag-wstep-sep { color: rgba(255,255,255,.15); font-size: .7rem; }

.ag-wizard-body { padding: 28px; }

/* Step 1: Search */
.ag-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 200px auto;
    gap: 14px;
    align-items: end;
}
@media (max-width: 860px) { .ag-search-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ag-search-grid { grid-template-columns: 1fr; } }

.ag-field label {
    display: block;
    font-size: .73rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 7px;
}
.ag-field select,
.ag-field input[type="date"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .9rem;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color .15s, box-shadow .15s;
    cursor: pointer;
}
.ag-field select:focus,
.ag-field input[type="date"]:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,.1);
    background: #fff;
}
.ag-search-btn {
    width: 100%;
    padding: 11px 22px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: 0 4px 12px rgba(249,115,22,.3);
    transition: opacity .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.ag-search-btn:hover { opacity: .9; }

/* ── Step divider ── */
.ag-step-divider {
    border: none;
    border-top: 1.5px dashed #e2e8f0;
    margin: 24px 0;
}

/* ── Bus results list ── */
.ag-bus-list { display: flex; flex-direction: column; gap: 12px; }
.ag-bus-item {
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 20px;
    transition: border-color .15s, box-shadow .15s;
    cursor: pointer;
    background: #fff;
}
.ag-bus-item:hover { border-color: #f97316; box-shadow: 0 2px 12px rgba(249,115,22,.1); }
.ag-bus-item.selected { border-color: #f97316; background: #fff8f4; box-shadow: 0 2px 12px rgba(249,115,22,.15); }
.ag-bus-info-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ag-bus-operator { font-size: .92rem; font-weight: 800; color: #0f172a; }
.ag-bus-type-tag {
    font-size: .68rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ag-bus-time { font-size: .92rem; font-weight: 700; color: #0f172a; }
.ag-bus-duration { font-size: .78rem; color: #94a3b8; }
.ag-bus-seats { font-size: .78rem; color: #64748b; }
.ag-bus-rating { font-size: .78rem; color: #f59e0b; font-weight: 600; }
.ag-bus-price { font-size: 1.1rem; font-weight: 800; color: #0f172a; text-align: right; }
.ag-bus-price small { display: block; font-size: .7rem; color: #94a3b8; font-weight: 500; }
.ag-bus-select-btn {
    padding: 8px 18px;
    border-radius: 9px;
    border: 1.5px solid #f97316;
    background: transparent;
    color: #f97316;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.ag-bus-item.selected .ag-bus-select-btn { background: #f97316; color: #fff; }
.ag-bus-select-btn:hover { background: #f97316; color: #fff; }

/* ── Passenger form ── */
.ag-pax-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 4px;
}
@media (max-width: 600px) { .ag-pax-grid { grid-template-columns: 1fr; } }
.ag-pax-grid .ag-field-full { grid-column: 1 / -1; }

.ag-field input[type="text"],
.ag-field input[type="email"],
.ag-field input[type="tel"],
.ag-field input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .9rem;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color .15s, box-shadow .15s;
}
.ag-field input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,.1);
    background: #fff;
}

.ag-booking-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 4px;
    gap: 12px;
    flex-wrap: wrap;
}
.ag-booking-summary-row .ag-sum-item { display: flex; flex-direction: column; gap: 2px; }
.ag-booking-summary-row .ag-sum-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; font-weight: 600; }
.ag-booking-summary-row .ag-sum-val { font-size: .92rem; font-weight: 700; color: #0f172a; }
.ag-booking-summary-row .ag-sum-total { font-size: 1.1rem; font-weight: 800; color: #f97316; }

.ag-confirm-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity .15s;
}
.ag-confirm-btn:hover { opacity: .9; }

/* ── Empty state ── */
.ag-empty-state {
    text-align: center;
    padding: 48px 20px;
    color: #94a3b8;
}
.ag-empty-state i { font-size: 2.5rem; margin-bottom: 12px; display: block; color: #cbd5e1; }
.ag-empty-state p { font-size: .88rem; }

/* ── Bookings history ── */
.ag-bk-tabs {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    width: fit-content;
}
.ag-bk-tab {
    padding: 8px 18px;
    border-radius: 9px;
    font-size: .83rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background .15s, color .15s;
    display: flex;
    align-items: center;
    gap: 7px;
}
.ag-bk-tab.active { background: #fff; color: #0f172a; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.ag-bk-count {
    font-size: .65rem;
    background: #e2e8f0;
    color: #64748b;
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 700;
}
.ag-bk-tab.active .ag-bk-count { background: #f97316; color: #fff; }

.ag-bk-panel { display: none; }
.ag-bk-panel.active { display: block; }

.ag-booking-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #f1f5f9;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: start;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
    transition: box-shadow .15s;
}
.ag-booking-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.07); }
@media (max-width: 640px) { .ag-booking-card { grid-template-columns: 1fr; } }

.ag-bk-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.ag-bk-icon--bus  { background: rgba(249,115,22,.1); color: #f97316; }
.ag-bk-icon--road { background: rgba(59,130,246,.1); color: #3b82f6; }

.ag-bk-ref { font-size: .68rem; font-weight: 700; color: #94a3b8; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.ag-bk-route { font-size: 1rem; font-weight: 800; color: #0f172a; letter-spacing: -.01em; }
.ag-bk-meta { font-size: .79rem; color: #64748b; margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }
.ag-bk-meta i { color: #94a3b8; margin-right: 4px; }
.ag-bk-pax { font-size: .82rem; color: #475569; margin-top: 8px; }
.ag-bk-pax i { color: #94a3b8; margin-right: 5px; }

.ag-bk-right { text-align: right; }
.ag-bk-price { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.ag-bk-status {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 6px;
    text-transform: capitalize;
}
.ag-bk-status--confirmed { background: #dcfce7; color: #16a34a; }
.ag-bk-status--pending   { background: #fef9c3; color: #ca8a04; }
.ag-bk-status--cancelled { background: #fee2e2; color: #dc2626; }
.ag-bk-date { font-size: .73rem; color: #94a3b8; margin-top: 4px; }

.ag-history-list { display: flex; flex-direction: column; gap: 12px; }

/* Loading spinner */
.ag-spinner {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; padding: 32px; color: #94a3b8; font-size: .88rem;
}
.ag-spinner i { font-size: 1.2rem; animation: ag-spin .8s linear infinite; }
@keyframes ag-spin { to { transform: rotate(360deg); } }


/* ════════════════════════════════════════════
   AGENT WIZARD SEAT MAP — ag-sm-* namespace
   Light theme, compact for wizard panel
   ════════════════════════════════════════════ */

.ag-sm-wrap {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* ── Legend ── */
.ag-sm-legend {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: .75rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.ag-sm-legend-item { display: flex; align-items: center; gap: 6px; }
.ag-sm-swatch {
    width: 16px; height: 16px;
    border-radius: 4px;
    border: 1.5px solid transparent;
}
.ag-sm-swatch--avail   { background: #fff; border-color: #cbd5e1; }
.ag-sm-swatch--booked  { background: #f1f5f9; border-color: #e2e8f0; }
.ag-sm-swatch--ladies  { background: #fce7f3; border-color: #fbcfe8; }
.ag-sm-swatch--selected{ background: #f97316; border-color: #ea580c; }

/* ── Seat map canvas ── */
.ag-sm-canvas { flex: 1; min-width: 0; overflow-x: auto; }

/* ── Bus diagram header ── */
.ag-sm-bus-front {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px 12px 0 0;
    padding: 8px 16px;
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ag-sm-bus-front i { color: #64748b; }
.ag-sm-bus-body {
    border: 1.5px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 18px 20px;
    background: #fff;
}

/* ── Seater layout: 2+2 ── */
.ag-sm-col-labels {
    display: grid;
    grid-template-columns: 40px 40px 28px 40px 40px;
    gap: 6px;
    margin-bottom: 8px;
    padding: 0 2px;
}
.ag-sm-col-label {
    font-size: .63rem;
    font-weight: 700;
    color: #94a3b8;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.ag-sm-row {
    display: grid;
    grid-template-columns: 40px 40px 28px 40px 40px;
    gap: 6px;
    margin-bottom: 6px;
    align-items: center;
}
.ag-sm-aisle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .58rem;
    color: #cbd5e1;
    font-weight: 700;
}

/* ── Seat tile ── */
.ag-sm-seat {
    width: 40px;
    height: 44px;
    border-radius: 8px 8px 5px 5px;
    border-top-width: 3px;
    border-right-width: 1.5px;
    border-bottom-width: 1.5px;
    border-left-width: 1.5px;
    border-style: solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .12s, box-shadow .12s, background .12s;
    user-select: none;
    position: relative;
}
.ag-sm-seat.avail {
    background: #fff;
    border-top-color: #94a3b8;
    border-right-color: #cbd5e1;
    border-bottom-color: #e2e8f0;
    border-left-color: #cbd5e1;
    color: #475569;
}
.ag-sm-seat.avail:hover {
    background: #fff7ed;
    border-top-color: #f97316;
    border-right-color: #fdba74;
    border-bottom-color: #fed7aa;
    border-left-color: #fdba74;
    color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(249,115,22,.2);
}
.ag-sm-seat.booked {
    background: #f8fafc;
    border-top-color: #e2e8f0;
    border-right-color: #f1f5f9;
    border-bottom-color: #f1f5f9;
    border-left-color: #f1f5f9;
    border-style: dashed;
    color: #cbd5e1;
    cursor: not-allowed;
}
.ag-sm-seat.ladies {
    background: #fdf2f8;
    border-top-color: #f9a8d4;
    border-right-color: #fbcfe8;
    border-bottom-color: #fce7f3;
    border-left-color: #fbcfe8;
    color: #be185d;
}
.ag-sm-seat.ladies:hover {
    background: #fce7f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(236,72,153,.15);
}
.ag-sm-seat.selected {
    background: linear-gradient(160deg, #fb923c, #f97316, #ea580c);
    border-top-color: #c2410c;
    border-right-color: #ea580c;
    border-bottom-color: #9a3412;
    border-left-color: #ea580c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249,115,22,.4), 0 0 0 2px rgba(249,115,22,.15);
}

/* ── Sleeper layout ── */
.ag-sm-deck-label {
    font-size: .7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ag-sm-deck-label:first-child { margin-top: 0; }
.ag-sm-deck-label::after { content: ''; flex: 1; height: 1px; background: #f1f5f9; }

.ag-sm-slp-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}
.ag-sm-slp-pair { display: flex; gap: 6px; }
.ag-sm-slp-aisle { width: 20px; display: flex; align-items: center; justify-content: center; }
.ag-sm-slp-aisle-line { width: 1px; height: 32px; background: #e2e8f0; }

.ag-sm-berth {
    width: 82px;
    height: 34px;
    border-radius: 6px;
    border: 1.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .12s, box-shadow .12s, background .12s;
    user-select: none;
    color: #475569;
    background: #fff;
}
.ag-sm-berth.avail:hover {
    background: #fff7ed;
    border-color: #f97316;
    color: #ea580c;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(249,115,22,.2);
}
.ag-sm-berth.booked {
    background: #f8fafc;
    border-color: #f1f5f9;
    border-style: dashed;
    color: #cbd5e1;
    cursor: not-allowed;
}
.ag-sm-berth.ladies { background: #fdf2f8; border-color: #fbcfe8; color: #be185d; }
.ag-sm-berth.selected {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    border-color: #c2410c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(249,115,22,.4);
}

/* ── Selection sidebar ── */
.ag-sm-sidebar {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
@media (max-width: 700px) { .ag-sm-sidebar { width: 100%; } }

.ag-sm-selected-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
}
.ag-sm-selected-title {
    font-size: .72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}
.ag-sm-selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 32px;
}
.ag-sm-tag {
    background: #f97316;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
}
.ag-sm-no-seats {
    font-size: .78rem;
    color: #cbd5e1;
    font-style: italic;
}

.ag-sm-price-box {
    background: #0f172a;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ag-sm-price-row {
    display: flex;
    justify-content: space-between;
    font-size: .78rem;
}
.ag-sm-price-row span:first-child { color: rgba(255,255,255,.5); }
.ag-sm-price-row span:last-child  { color: #fff; font-weight: 700; }
.ag-sm-price-total {
    display: flex;
    justify-content: space-between;
    font-size: .95rem;
    font-weight: 800;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.ag-sm-price-total span:first-child { color: rgba(255,255,255,.6); }
.ag-sm-price-total span:last-child  { color: #fb923c; }

.ag-sm-continue-btn {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: 0 4px 12px rgba(249,115,22,.35);
    transition: opacity .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.ag-sm-continue-btn:hover { opacity: .92; }
.ag-sm-continue-btn:disabled { opacity: .4; cursor: not-allowed; }

.ag-sm-ladies-note {
    font-size: .72rem;
    color: #94a3b8;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}
.ag-sm-ladies-note i { color: #f472b6; flex-shrink: 0; margin-top: 2px; }


/* ════════════════════════════════════════════
   BOOKING TYPE SELECTOR + MULTI-TYPE WIZARD
   ════════════════════════════════════════════ */

/* ── Type selector ── */
.ag-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 640px) { .ag-type-grid { grid-template-columns: 1fr; } }

.ag-type-card {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, box-shadow .15s, transform .15s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    user-select: none;
}
.ag-type-card:hover {
    border-color: #f97316;
    box-shadow: 0 6px 24px rgba(249,115,22,.12);
    transform: translateY(-2px);
}
.ag-type-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 2px;
}
.ag-type-icon--bus  { background: rgba(249,115,22,.1); color: #f97316; }
.ag-type-icon--road { background: rgba(59,130,246,.1);  color: #3b82f6; }
.ag-type-icon--pkg  { background: rgba(16,185,129,.1);  color: #10b981; }
.ag-type-card h3 { font-size: .95rem; font-weight: 800; color: #0f172a; margin: 0; }
.ag-type-card p  { font-size: .78rem; color: #94a3b8; margin: 0; line-height: 1.4; }
.ag-type-arrow {
    width: 28px; height: 28px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #cbd5e1;
    font-size: .75rem;
    margin-top: 4px;
    transition: background .15s, color .15s;
}
.ag-type-card:hover .ag-type-arrow { background: #fff7ed; color: #f97316; }

/* ── Vehicle type selector (road wizard) ── */
.ag-vtype-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
@media (max-width: 600px) { .ag-vtype-grid { grid-template-columns: repeat(2, 1fr); } }

.ag-vtype-btn {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    background: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    color: #475569;
    transition: border-color .12s, background .12s, color .12s;
}
.ag-vtype-btn:hover  { border-color: #93c5fd; background: #eff6ff; color: #1d4ed8; }
.ag-vtype-btn.active { border-color: #3b82f6; background: #eff6ff; color: #1d4ed8; font-weight: 700; }
.ag-vtype-btn i { font-size: .95rem; width: 16px; text-align: center; }
.ag-vtype-tag {
    margin-left: auto;
    font-size: .58rem;
    background: #e2e8f0;
    color: #64748b;
    padding: 1px 6px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.ag-vtype-btn.active .ag-vtype-tag { background: #dbeafe; color: #2563eb; }

/* ── Vehicle result cards (road wizard) ── */
.ag-vehicle-list { display: flex; flex-direction: column; gap: 12px; }
.ag-vehicle-item {
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 46px 1fr auto auto;
    align-items: center;
    gap: 16px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.ag-vehicle-item:hover { border-color: #93c5fd; box-shadow: 0 2px 12px rgba(59,130,246,.1); }
.ag-vehicle-item.selected { border-color: #3b82f6; background: #f0f7ff; }
.ag-vehicle-icon {
    width: 46px; height: 46px;
    background: rgba(59,130,246,.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #3b82f6;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.ag-vehicle-name { font-size: .92rem; font-weight: 800; color: #0f172a; }
.ag-vehicle-meta { font-size: .77rem; color: #64748b; margin-top: 3px; display: flex; gap: 12px; flex-wrap: wrap; }
.ag-vehicle-price { font-size: 1.05rem; font-weight: 800; color: #0f172a; text-align: right; white-space: nowrap; }
.ag-vehicle-price small { display: block; font-size: .68rem; color: #94a3b8; font-weight: 500; }
.ag-vehicle-select-btn {
    padding: 8px 16px;
    border-radius: 9px;
    border: 1.5px solid #3b82f6;
    background: transparent;
    color: #3b82f6;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.ag-vehicle-item.selected .ag-vehicle-select-btn { background: #3b82f6; color: #fff; }
.ag-vehicle-select-btn:hover { background: #3b82f6; color: #fff; }

/* ── Package grid (package wizard) ── */
.ag-pkg-filter-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.ag-pkg-chip {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color .12s, background .12s, color .12s;
}
.ag-pkg-chip:hover  { border-color: #a7f3d0; background: #f0fdf4; color: #059669; }
.ag-pkg-chip.active { border-color: #10b981; background: #f0fdf4; color: #059669; font-weight: 700; }

.ag-pkg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}
@media (max-width: 700px) { .ag-pkg-grid { grid-template-columns: 1fr; } }

.ag-pkg-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, box-shadow .15s, transform .15s;
    display: flex;
    flex-direction: column;
}
.ag-pkg-card:hover { border-color: #6ee7b7; box-shadow: 0 4px 16px rgba(16,185,129,.1); transform: translateY(-2px); }
.ag-pkg-card.selected { border-color: #10b981; box-shadow: 0 4px 16px rgba(16,185,129,.15); }

.ag-pkg-img {
    height: 110px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.ag-pkg-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.5));
}
.ag-pkg-cat {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
    z-index: 1;
}
.ag-pkg-body { padding: 12px 14px; flex: 1; }
.ag-pkg-name { font-size: .88rem; font-weight: 800; color: #0f172a; margin-bottom: 4px; line-height: 1.3; }
.ag-pkg-dest { font-size: .75rem; color: #64748b; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.ag-pkg-dest i { color: #94a3b8; }
.ag-pkg-footer { display: flex; align-items: center; justify-content: space-between; }
.ag-pkg-price { font-size: .95rem; font-weight: 800; color: #0f172a; }
.ag-pkg-price small { font-size: .65rem; color: #94a3b8; font-weight: 500; }
.ag-pkg-dur { font-size: .72rem; color: #94a3b8; display: flex; align-items: center; gap: 4px; }
.ag-pkg-selected-check {
    position: absolute;
    top: 8px; right: 8px;
    width: 24px; height: 24px;
    background: #10b981;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: .7rem;
    z-index: 1;
    display: none;
}
.ag-pkg-card.selected .ag-pkg-selected-check { display: flex; }

/* ── Package detail panel (step 2 for packages) ── */
.ag-pkg-detail {
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
}
.ag-pkg-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    flex-wrap: wrap;
}
.ag-pkg-detail-header h3 { font-size: .95rem; font-weight: 800; color: #0f172a; margin: 0; }
.ag-pkg-detail-header p  { font-size: .78rem; color: #64748b; margin: 0; }
.ag-pkg-includes { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 18px; }
.ag-pkg-include-tag {
    font-size: .72rem;
    font-weight: 600;
    background: #f0fdf4;
    color: #059669;
    border: 1px solid #a7f3d0;
    padding: 3px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ag-pkg-include-tag i { font-size: .65rem; }

/* ── Confirm button variant for road/package ── */
.ag-confirm-btn--road { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.ag-confirm-btn--road:hover { opacity: .9; }
.ag-confirm-btn--pkg  { background: linear-gradient(135deg, #10b981, #059669); }
.ag-confirm-btn--pkg:hover  { opacity: .9; }

/* ── Booking history package tab ── */
.ag-bk-icon--pkg  { background: rgba(16,185,129,.1); color: #10b981; }


/* ═══════════════════════════════════════════════════════════════════════════
   AGENT PROFILE PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero header */
.ag-profile-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}
.ag-profile-hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,.18) 0%, transparent 70%);
}
.ag-profile-avatar-lg {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(249,115,22,.35);
}
.ag-profile-hero-info { flex: 1; }
.ag-profile-hero-name { font-size: 22px; font-weight: 700; color: #f8fafc; margin: 0 0 4px; }
.ag-profile-hero-company { color: #94a3b8; font-size: 14px; margin: 0 0 12px; }
.ag-profile-hero-company i { margin-right: 6px; }
.ag-profile-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ag-profile-hero-code {
    display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
    flex-shrink: 0;
}

/* Profile grid */
.ag-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 860px) {
    .ag-profile-grid { grid-template-columns: 1fr; }
    .ag-profile-hero { flex-direction: column; text-align: center; }
    .ag-profile-hero-code { align-items: center; }
    .ag-profile-hero-chips { justify-content: center; }
}

/* Profile card */
.ag-profile-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 28px;
}
.ag-profile-card-head {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.ag-profile-card-head i {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #fff7ed;
    color: #f97316;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
}
.ag-profile-card-head h2 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 0; }

/* Profile form */
.ag-profile-form { display: flex; flex-direction: column; gap: 16px; }
.ag-pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ag-pf-row--read { opacity: .7; }
@media (max-width: 600px) { .ag-pf-row { grid-template-columns: 1fr; } }
.ag-pf-group { display: flex; flex-direction: column; gap: 6px; }
.ag-pf-group label {
    font-size: 12px; font-weight: 600; color: #64748b; text-transform: uppercase;
    letter-spacing: .04em; display: flex; align-items: center; gap: 8px;
}
.ag-pf-group input,
.ag-pf-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
}
.ag-pf-group .auth-input-wrap { width: 100%; }
.ag-pf-group input:focus,
.ag-pf-group textarea:focus { border-color: #f97316; background: #fff; }
.ag-pf-group input:disabled { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; }
.ag-pf-group textarea { resize: vertical; }
.ag-pf-readonly-tag {
    font-size: 10px; font-weight: 600; color: #94a3b8;
    background: #f1f5f9; border-radius: 4px; padding: 1px 6px;
    letter-spacing: .02em; text-transform: none;
}
.ag-pf-actions { padding-top: 4px; }
.ag-pf-save-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff; border: none; border-radius: 10px;
    padding: 11px 24px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: opacity .2s, transform .1s;
}
.ag-pf-save-btn:hover { opacity: .9; transform: translateY(-1px); }
.ag-pf-save-btn--sec {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* Password field wrap */
.ag-pw-wrap { position: relative; }
.ag-pw-wrap input { width: 100%; box-sizing: border-box; padding-right: 44px; }
.ag-pw-toggle {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: #94a3b8; cursor: pointer; padding: 0;
    font-size: 14px; transition: color .2s;
}
.ag-pw-toggle:hover { color: #f97316; }

/* Error banner */
.ag-error-banner {
    display: flex; align-items: center; gap: 12px;
    background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px;
    padding: 14px 20px; color: #dc2626; font-size: 14px; font-weight: 500;
    margin-bottom: 20px;
}
.ag-error-banner i { font-size: 18px; }


/* ═══════════════════════════════════════════════════════════════════════════
   AGENT EARNINGS PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.ag-earn-rate-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 14px 20px;
    color: #92400e;
    font-size: 14px;
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 28px;
}
.ag-earn-rate-note i { color: #f97316; font-size: 16px; flex-shrink: 0; }

/* Monthly bar chart */
.ag-earn-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 28px 20px;
    margin-bottom: 32px;
    min-height: 220px;
}
.ag-earn-bar-wrap {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.ag-earn-bar-val {
    font-size: 11px; font-weight: 600; color: #64748b;
    text-align: center; min-height: 16px;
}
.ag-earn-bar-track {
    width: 100%; display: flex; align-items: flex-end; justify-content: center;
    height: 160px;
}
.ag-earn-bar {
    width: 60%;
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
    border-radius: 6px 6px 0 0;
    transition: height .4s ease;
    min-height: 4px;
}
.ag-earn-bar--empty { background: #e2e8f0; }
.ag-earn-bar-label { font-size: 12px; font-weight: 600; color: #94a3b8; }

/* Earnings table */
.ag-earn-table-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}
.ag-earn-table {
    width: 100%; border-collapse: collapse;
    font-size: 13.5px;
}
.ag-earn-table thead th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-size: 11px; font-weight: 700; color: #64748b;
    text-transform: uppercase; letter-spacing: .04em;
    border-bottom: 1px solid #e2e8f0;
}
.ag-earn-table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}
.ag-earn-table tbody tr:last-child td { border-bottom: none; }
.ag-earn-table tbody tr:hover td { background: #f8fafc; }
.ag-earn-ref { font-family: monospace; font-size: 12px; color: #0f172a; font-weight: 600; }
.ag-earn-amount { font-weight: 600; color: #0f172a; }
.ag-earn-commission { font-weight: 700; color: #16a34a; }
.ag-earn-type {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.ag-earn-type--orange { background: #fff7ed; color: #ea580c; }
.ag-earn-type--blue   { background: #eff6ff; color: #1d4ed8; }
.ag-earn-type--green  { background: #f0fdf4; color: #16a34a; }
.ag-earn-total-row td {
    background: #f8fafc;
    font-weight: 700;
    color: #0f172a;
    border-top: 2px solid #e2e8f0;
    padding: 14px 16px;
}
.ag-earn-total-row .ag-earn-commission { font-size: 15px; color: #16a34a; }

@media (max-width: 700px) {
    .ag-earn-table { font-size: 12px; }
    .ag-earn-table thead th,
    .ag-earn-table tbody td { padding: 10px 10px; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   AGENT SUPPORT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.ag-support-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 960px) {
    .ag-support-grid { grid-template-columns: 1fr; }
}

/* Section titles inside support columns don't have the ag-inner flex gap,
   so cancel out the negative margin used by the flex-gap design */
.ag-support-left .ag-section-title,
.ag-support-right .ag-section-title {
    margin-bottom: 16px;
}

/* Support left column */
.ag-support-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ag-support-left .ag-faq-list  { margin-bottom: 0; }
.ag-support-left .ag-contact-section-head { margin-top: 32px; margin-bottom: 16px; }

/* FAQ */
.ag-faq-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 0; }
.ag-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s;
}
.ag-faq-item.ag-faq-open { border-color: #f97316; }
.ag-faq-q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: none; border: none; cursor: pointer;
    text-align: left; font-size: 14px; font-weight: 600; color: #0f172a;
    font-family: inherit;
    transition: color .2s;
}
.ag-faq-q:hover { color: #f97316; }
.ag-faq-item.ag-faq-open .ag-faq-q { color: #f97316; }
.ag-faq-q i {
    font-size: 12px; color: #94a3b8; flex-shrink: 0;
    transition: transform .25s;
}
.ag-faq-item.ag-faq-open .ag-faq-q i { transform: rotate(180deg); color: #f97316; }
.ag-faq-a {
    display: none;
    padding: 0 20px 18px;
    font-size: 13.5px; color: #475569; line-height: 1.6;
}
.ag-faq-item.ag-faq-open .ag-faq-a { display: block; }

/* Contact cards */
.ag-contact-cards { display: flex; flex-direction: column; gap: 12px; }
.ag-contact-card {
    display: flex; align-items: center; gap: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
}
.ag-contact-icon-wrap {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.ag-contact-icon-wrap--blue  { background: #eff6ff; color: #1d4ed8; }
.ag-contact-icon-wrap--green { background: #f0fdf4; color: #16a34a; }
.ag-contact-icon-wrap--wa    { background: #f0fdf4; color: #16a34a; }
.ag-contact-label { font-size: 11px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.ag-contact-value { font-size: 14px; font-weight: 700; color: #0f172a; }
.ag-contact-note  { font-size: 12px; color: #94a3b8; margin-top: 2px; }

/* Support form card */
.ag-support-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
}
/* Form inputs in support must fill their container */
.ag-support-form-card .ag-pf-group input,
.ag-support-form-card .ag-pf-group textarea {
    width: 100%;
    box-sizing: border-box;
}
.ag-support-form-card .ag-pf-group .auth-input-wrap {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   CRUISE PAGES  (cr-*)
   ═══════════════════════════════════════════════════════════ */

/* ── Cruise Hero ── */
.cr-hero {
    background: linear-gradient(160deg, #003D5C 0%, #006B8F 55%, #00A8CC 100%);
    padding: 80px 0 120px;
    position: relative;
    /* overflow-x: clip instead of hidden — clip does NOT set overflow-y to auto
       (hidden would, per CSS spec, making the hero a scroll container that
       swallows the first wheel event on desktop).                             */
    overflow-x: clip;
    text-align: center;
    color: #fff;
}
.cr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0,168,204,.25) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 20%, rgba(0,61,92,.35) 0%, transparent 55%);
    pointer-events: none;
}
.cr-hero-wave {
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    line-height: 0;
}
.cr-hero-wave svg { display: block; width: 100%; height: 64px; }
.cr-hero-content { position: relative; z-index: 2; }
.cr-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 40px;
    padding: 6px 18px;
    font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 20px;
}
.cr-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800; line-height: 1.15;
    margin-bottom: 16px; letter-spacing: -.02em;
}
.cr-hero-sub {
    font-size: 1.05rem; opacity: .82; margin-bottom: 44px;
    max-width: 520px; margin-left: auto; margin-right: auto;
}

/* ── Cruise Search Card ── */
.cr-search-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: 0 12px 48px rgba(0,0,0,.18);
    max-width: 820px;
    margin: 0 auto;
    position: relative; z-index: 100;
    overflow: visible;
}
.cr-search-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 120px auto;
    gap: 12px;
    align-items: end;
}
/* min-width:0 lets grid cells shrink below content size so the grid never
   overflows the card bounds when combined column minimums would exceed 756px */
.cr-field { min-width: 0; }
/* Search button fills its auto column so it never clips outside the card */
.cr-field:last-child .cr-search-btn { width: 100%; justify-content: center; }
.cr-field label {
    display: block;
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; color: #666; margin-bottom: 6px;
}
.cr-field input {
    width: 100%; padding: 10px 14px;
    border: 1.5px solid #dde3ea;
    border-radius: 10px;
    font-size: .92rem; color: #1a2332;
    background: #f8fafc;
    outline: none; transition: border-color .18s;
    box-sizing: border-box;
    min-width: 0; /* override browser UA min-width on date/number inputs */
    max-width: 100%; /* hard cap so input never exceeds its grid cell */
}
.cr-field input:focus { border-color: #006B8F; background: #fff; }

/* ── Cruise custom picker ── */
.cr-picker { position: relative; }
.cr-picker-btn {
    width: 100%; display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border: 1.5px solid #dde3ea;
    border-radius: 10px; background: #f8fafc;
    cursor: pointer; text-align: left; transition: border-color .18s, background .18s;
}
.cr-picker--open .cr-picker-btn,
.cr-picker-btn:hover { border-color: #006B8F; background: #fff; }
.cr-picker-icon {
    width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
    background: #006B8F;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .85rem;
}
.cr-picker-text { flex: 1; min-width: 0; }
.cr-picker-label {
    display: block; font-size: .65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; color: #006B8F; line-height: 1;
}
.cr-picker-val {
    display: block; font-size: .9rem; font-weight: 600; color: #1a2332;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    line-height: 1.4; margin-top: 1px;
}
.cr-picker-chevron {
    font-size: .65rem; color: #888; flex-shrink: 0;
    transition: transform .2s;
}
.cr-picker--open .cr-picker-chevron { transform: rotate(180deg); }

.cr-picker-drop {
    display: none; position: absolute; top: calc(100% + 6px); left: 0;
    min-width: 260px; background: #fff; border-radius: 14px;
    border: 1.5px solid #e0e8f0; box-shadow: 0 12px 40px rgba(0,61,92,.16);
    z-index: 9999; overflow-y: auto; max-height: 320px; padding: 6px;
}
.cr-picker--open .cr-picker-drop { display: block; }

.cr-pick-option {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 9px; cursor: pointer;
    transition: background .15s;
}
.cr-pick-option:hover { background: #f0f7fb; }
.cr-pick-option--active { background: #e4f2f8; }
.cr-pick-dot {
    width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
    background: #006B8F;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .88rem;
}
.cr-pick-option--active .cr-pick-dot { background: #004f69; }
.cr-pick-name { font-size: .9rem; font-weight: 700; color: #1a2332; line-height: 1.2; }
.cr-pick-sub  { font-size: .72rem; color: #888; line-height: 1.2; margin-top: 1px; }
.cr-search-btn {
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: #fff; border: none; border-radius: 10px;
    padding: 12px 20px; font-weight: 700; font-size: .92rem;
    cursor: pointer; white-space: nowrap; transition: opacity .18s;
    display: flex; align-items: center; gap: 8px;
}
.cr-search-btn:hover { opacity: .9; }

/* ═══════════════════════════════════════════════════════════
   CRUISE SEARCH WIDGET v2  (crs-*)
   ═══════════════════════════════════════════════════════════ */

.crs-widget {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 16px 56px rgba(0,61,92,.22), 0 4px 16px rgba(0,0,0,.08);
    max-width: 820px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
}

/* Header bar */
.crs-hdr {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px 16px;
    border-bottom: 1px solid #E0EEF4;
    background: linear-gradient(135deg, #EEF7FC 0%, #E0EEF4 100%);
    border-radius: 20px 20px 0 0;
    flex-wrap: wrap;
}
.crs-hdr-ico {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, #004f69, #006B8F);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
    flex-shrink: 0;
}
.crs-hdr-info { flex: 1; min-width: 0; }
.crs-hdr-title {
    font-size: 1.1rem; font-weight: 800;
    color: #003D5C; line-height: 1.2;
}
.crs-hdr-sub {
    font-size: .78rem; color: #4A7A92; margin-top: 2px;
}
.crs-hdr-badge {
    background: #003D5C; color: #fff;
    font-size: .72rem; font-weight: 700;
    padding: 5px 12px; border-radius: 20px;
    white-space: nowrap;
    display: flex; align-items: center; gap: 6px;
}

/* Form body */
.crs-form {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.crs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Input boxes */
.crs-inp-box {
    background: #F7FAFB;
    border: 2px solid #DDE8EE;
    border-radius: 14px;
    transition: border-color .2s, box-shadow .2s;
    position: relative;
}
.crs-inp-box:hover { border-color: #B8D4DF; }
.crs-inp-box.cr-picker--open {
    border-color: #006B8F;
    box-shadow: 0 0 0 4px rgba(0,107,143,.12);
}

/* Picker trigger button (inside .crs-inp-box) */
.crs-inp-btn {
    width: 100%; background: transparent; border: none; cursor: pointer;
    padding: 14px 16px; min-height: 72px;
    display: flex; align-items: center; gap: 12px;
    border-radius: 12px;
    text-align: left;
}
.crs-inp-btn:focus { outline: none; }

/* Plain (non-picker) input box layout */
.crs-inp-box--plain {
    display: flex; align-items: center;
    gap: 12px;
    padding: 14px 16px;
    min-height: 72px;
}

/* Icon bubble */
.crs-inp-ico {
    width: 38px; height: 38px; flex-shrink: 0;
    border-radius: 10px;
    background: rgba(0,107,143,.12);
    color: #006B8F;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.crs-ico-dest   { background: rgba(0,168,204,.12); color: #00A8CC; }
.crs-ico-date   { background: rgba(99,102,241,.10); color: #6366f1; }
.crs-ico-guests { background: rgba(34,197,94,.10);  color: #22c55e; }

/* Text stack inside box */
.crs-inp-body  { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.crs-inp-lbl   { font-size: .68rem; font-weight: 700; letter-spacing: .07em; color: #5A8499; text-transform: uppercase; }
.crs-inp-val   { font-size: 1rem; font-weight: 700; color: #003D5C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crs-inp-val.is-placeholder { color: #A0BCCA; font-weight: 500; }

/* Picker chevron */
.cr-picker-chevron {
    color: #7AABB8; font-size: .75rem; flex-shrink: 0;
    transition: transform .22s;
}
.cr-picker--open .cr-picker-chevron { transform: rotate(180deg); }

/* Native inputs (date, number) inside plain boxes */
.crs-native-input {
    background: transparent; border: none; outline: none;
    font-size: 1rem; font-weight: 700; color: #003D5C;
    width: 100%; padding: 0;
    font-family: inherit;
}
.crs-native-input::-webkit-inner-spin-button,
.crs-native-input::-webkit-calendar-picker-indicator { opacity: .5; }

/* Search button */
.crs-search-btn {
    width: 100%;
    background: linear-gradient(135deg, #004f69 0%, #006B8F 50%, #00A8CC 100%);
    color: #fff; border: none; border-radius: 14px;
    padding: 17px 28px;
    font-size: 1.05rem; font-weight: 700; letter-spacing: .02em;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: opacity .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 6px 24px rgba(0,107,143,.35);
}
.crs-search-btn:hover {
    opacity: .92;
    transform: translateY(-1px);
    box-shadow: 0 10px 32px rgba(0,107,143,.45);
}
.crs-search-arr { margin-left: 4px; font-size: .9rem; }

/* Responsive */
@media (max-width: 620px) {
    .crs-row { grid-template-columns: 1fr; }
    .crs-hdr-badge { display: none; }
    .crs-hdr-sub   { display: none; }
    .crs-form { padding: 16px; gap: 10px; }
    .crs-hdr { padding: 14px 16px 12px; }
}
@media (max-width: 400px) {
    .crs-inp-box--plain,
    .crs-inp-btn { min-height: 60px; padding: 10px 12px; }
    .crs-inp-ico { width: 32px; height: 32px; font-size: .85rem; }
    .crs-inp-val { font-size: .9rem; }
}

/* ── Featured cruises section ── */
.cr-section { padding: 64px 0; }
.cr-section-title {
    font-size: 1.65rem; font-weight: 800; color: #1a2332;
    margin-bottom: 6px;
}
.cr-section-sub { color: #666; margin-bottom: 36px; font-size: .95rem; }
.cr-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.cr-feat-card {
    background: #fff; border-radius: 14px;
    border: 1.5px solid #e8edf2;
    overflow: hidden; transition: box-shadow .2s, transform .2s;
    text-decoration: none; color: inherit;
    display: block;
}
.cr-feat-card:hover { box-shadow: 0 8px 32px rgba(0,107,143,.15); transform: translateY(-3px); }
.cr-feat-img {
    height: 120px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    position: relative;
}
.cr-feat-img--luxury  { background: #006B8F; }
.cr-feat-img--premium { background: #006B8F; }
.cr-feat-img--standard{ background: #006B8F; }
.cr-feat-body { padding: 16px; }
.cr-feat-ship { font-weight: 800; font-size: 1rem; color: #1a2332; }
.cr-feat-op   { font-size: .78rem; color: #888; margin-bottom: 8px; }
.cr-feat-route{ font-size: .85rem; color: #006B8F; font-weight: 600; margin-bottom: 8px; }
.cr-feat-meta { display: flex; gap: 10px; align-items: center; }
.cr-feat-nights{ background: #e8f4f8; color: #006B8F; font-size: .72rem; font-weight: 700;
    padding: 3px 10px; border-radius: 20px; }
.cr-feat-price { font-size: .82rem; color: #444; }
.cr-feat-price strong { color: #1a2332; }

/* ── Why cruise section ── */
.cr-why-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
    margin-top: 36px;
}
.cr-why-card {
    background: #fff; border-radius: 14px; padding: 28px 24px;
    border: 1.5px solid #e8edf2; text-align: center;
}
.cr-why-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: #006B8F;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff; margin: 0 auto 16px;
}
.cr-why-title { font-weight: 800; font-size: 1rem; color: #1a2332; margin-bottom: 8px; }
.cr-why-text  { font-size: .88rem; color: #666; line-height: 1.55; }

/* ── Results route bar ── */
.cr-route-bar {
    background: linear-gradient(135deg, #003D5C, #006B8F);
    padding: 18px 0; color: #fff;
}
.cr-route-inner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.cr-route-info { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cr-route-title { font-size: 1.05rem; font-weight: 700; }
.cr-route-meta  { font-size: .82rem; opacity: .8; display: flex; gap: 12px; }
.cr-modify-btn {
    background: rgba(255,255,255,.15); color: #fff;
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 8px; padding: 8px 18px;
    font-size: .82rem; font-weight: 600; text-decoration: none;
    transition: background .18s;
}
.cr-modify-btn:hover { background: rgba(255,255,255,.25); }

/* ── Results layout ── */
.cr-layout {
    display: grid; grid-template-columns: 240px 1fr; gap: 28px;
    padding: 32px 0 60px; align-items: start;
}
.cr-sidebar { position: sticky; top: 80px; }
.cr-filter-card {
    background: #fff; border-radius: 14px; padding: 20px;
    border: 1.5px solid #e8edf2;
}
.cr-filter-title {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; color: #888; margin-bottom: 12px;
}
.cr-filter-section { margin-bottom: 22px; }
.cr-radio-label {
    display: flex; align-items: center; gap: 8px;
    font-size: .88rem; color: #444; cursor: pointer;
    padding: 5px 0;
}
.cr-radio-label input { accent-color: #006B8F; }

/* ── Cruise card ── */
.cr-card {
    background: #fff; border-radius: 16px;
    border: 1.5px solid #e8edf2;
    margin-bottom: 20px;
    overflow: hidden;
    display: grid; grid-template-columns: 110px 1fr auto;
    transition: box-shadow .2s;
}
.cr-card:hover { box-shadow: 0 6px 28px rgba(0,107,143,.13); }
.cr-card-left {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 20px 12px; gap: 10px;
}
.cr-card-left--luxury  { background: #006B8F; }
.cr-card-left--premium { background: #006B8F; }
.cr-card-left--standard{ background: #006B8F; }
.cr-ship-icon { font-size: 2.4rem; color: #fff; }
.cr-ship-badge {
    font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    background: rgba(255,255,255,.2); color: #fff;
    padding: 3px 8px; border-radius: 20px;
}
.cr-card-body { padding: 20px; flex: 1; }
.cr-card-header-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.cr-ship-name { font-size: 1.15rem; font-weight: 800; color: #1a2332; }
.cr-operator  { font-size: .78rem; color: #888; }
.cr-rating-pill {
    display: flex; align-items: center; gap: 4px;
    background: #fff8e1; color: #b8860b;
    font-size: .8rem; font-weight: 700;
    padding: 3px 10px; border-radius: 20px; white-space: nowrap;
}
.cr-route-row {
    display: flex; align-items: center; gap: 10px;
    font-size: .9rem; color: #1a2332; font-weight: 600; margin-bottom: 8px;
}
.cr-stops { font-size: .78rem; color: #888; margin-bottom: 10px; }
.cr-nights-dep { display: flex; gap: 12px; margin-bottom: 12px; }
.cr-nights-pill {
    background: #e8f4f8; color: #006B8F;
    font-size: .75rem; font-weight: 700;
    padding: 4px 12px; border-radius: 20px;
}
.cr-dep-time { font-size: .8rem; color: #555; display: flex; align-items: center; gap: 5px; }
.cr-amenities { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-amenity-chip {
    background: #f0f4f8; color: #445;
    font-size: .72rem; padding: 3px 10px; border-radius: 20px;
}
.cr-card-right {
    padding: 20px 20px 20px 8px;
    display: flex; flex-direction: column; align-items: flex-end;
    gap: 8px; min-width: 200px;
}
.cr-cabin-table { width: 100%; font-size: .8rem; }
.cr-cabin-row {
    display: flex; justify-content: space-between;
    padding: 4px 8px; border-radius: 6px;
    color: #444;
}
.cr-cabin-row:nth-child(odd) { background: #f8fafc; }
.cr-cabin-name { font-weight: 600; }
.cr-cabin-price { font-weight: 700; color: #1a2332; }
.cr-book-btn {
    display: block; width: 100%;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: #fff; text-decoration: none; border: none;
    border-radius: 10px; padding: 11px 0;
    font-weight: 700; font-size: .88rem;
    text-align: center; cursor: pointer;
    transition: opacity .18s; margin-top: 8px;
}
.cr-book-btn:hover { opacity: .9; }
.cr-book-btn--login {
    background: #e8edf2; color: #888;
}
.cr-book-btn--login:hover { opacity: .85; }
.cr-empty {
    text-align: center; padding: 80px 20px; color: #888;
}
.cr-empty-icon { font-size: 3.5rem; margin-bottom: 16px; opacity: .35; }

/* ── Booking page ── */
.cr-book-layout {
    display: grid; grid-template-columns: 380px 1fr; gap: 32px;
    padding: 48px 0 80px; align-items: start;
}
.cr-book-summary {
    background: #fff; border-radius: 16px; padding: 24px;
    border: 1.5px solid #e8edf2; position: sticky; top: 90px;
}
.cr-book-summary-header {
    background: linear-gradient(135deg, #003D5C, #006B8F);
    border-radius: 10px; padding: 16px 18px; color: #fff; margin-bottom: 20px;
}
.cr-bs-ship { font-size: 1.1rem; font-weight: 800; }
.cr-bs-op   { font-size: .78rem; opacity: .75; margin-top: 2px; }
.cr-bs-route{ font-size: .9rem; margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.cr-summary-row {
    display: flex; justify-content: space-between;
    font-size: .88rem; padding: 8px 0; border-bottom: 1px solid #f0f4f8;
}
.cr-summary-row:last-child { border-bottom: none; }
.cr-summary-label { color: #666; }
.cr-summary-value { font-weight: 600; color: #1a2332; }
.cr-price-total {
    background: linear-gradient(135deg, #003D5C, #006B8F);
    border-radius: 10px; padding: 14px 18px; margin-top: 16px;
    display: flex; justify-content: space-between; align-items: center; color: #fff;
}
.cr-price-total-label { font-size: .82rem; opacity: .8; }
.cr-price-total-val   { font-size: 1.3rem; font-weight: 800; }

.cr-book-form-card {
    background: #fff; border-radius: 16px; padding: 28px 32px;
    border: 1.5px solid #e8edf2;
}
.cr-form-section { margin-bottom: 28px; }
.cr-form-section-title {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; color: #888; margin-bottom: 14px;
    padding-bottom: 8px; border-bottom: 1.5px solid #f0f4f8;
}
.cr-cabin-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cr-cabin-option { display: none; }
.cr-cabin-opt-label {
    display: flex; flex-direction: column;
    border: 2px solid #e8edf2; border-radius: 10px;
    padding: 12px 14px; cursor: pointer; transition: border-color .18s, background .18s;
}
.cr-cabin-option:checked + .cr-cabin-opt-label {
    border-color: #006B8F; background: #e8f4f8;
}
.cr-cabin-opt-name  { font-weight: 700; font-size: .9rem; color: #1a2332; }
.cr-cabin-opt-price { font-size: .82rem; color: #006B8F; margin-top: 2px; font-weight: 600; }
.cr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cr-form-group { display: flex; flex-direction: column; gap: 5px; }
.cr-form-group label { font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .05em; color: #666; }
.cr-form-group input, .cr-form-group select {
    padding: 10px 14px; border: 1.5px solid #dde3ea; border-radius: 9px;
    font-size: .92rem; outline: none; transition: border-color .18s;
    box-sizing: border-box; width: 100%;
}
.cr-form-group input:focus, .cr-form-group select:focus { border-color: #006B8F; }
.cr-submit-btn {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: #fff; border: none; border-radius: 10px;
    font-weight: 700; font-size: 1rem; cursor: pointer; transition: opacity .18s;
}
.cr-submit-btn:hover { opacity: .9; }

/* ── Confirmation ── */
.cr-confirm-wrap { max-width: 680px; margin: 60px auto 80px; }
.cr-confirm-banner {
    background: linear-gradient(135deg, #003D5C, #006B8F);
    border-radius: 18px; padding: 36px; text-align: center; color: #fff; margin-bottom: 28px;
}
.cr-confirm-icon {
    width: 70px; height: 70px; border-radius: 50%;
    background: rgba(255,255,255,.15); border: 3px solid rgba(255,255,255,.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 16px;
}
.cr-confirm-title  { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.cr-confirm-ref    { font-size: .82rem; opacity: .75; }
.cr-confirm-ref strong { font-size: 1rem; opacity: 1; letter-spacing: .05em; }
.cr-confirm-card {
    background: #fff; border-radius: 14px; border: 1.5px solid #e8edf2;
    padding: 24px; margin-bottom: 20px;
}
.cr-confirm-card-title {
    font-weight: 800; font-size: .95rem; color: #1a2332;
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.cr-confirm-card-title i { color: #006B8F; }
.cr-detail-row {
    display: flex; justify-content: space-between;
    font-size: .88rem; padding: 8px 0; border-bottom: 1px solid #f4f6f9;
}
.cr-detail-row:last-child { border-bottom: none; }
.cr-detail-label { color: #888; }
.cr-detail-val   { font-weight: 600; color: #1a2332; }
.cr-tips-list { list-style: none; padding: 0; margin: 0; }
.cr-tips-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .88rem; color: #444; padding: 7px 0;
}
.cr-tips-list li i { color: #006B8F; margin-top: 2px; flex-shrink: 0; }
.cr-confirm-actions { display: flex; gap: 14px; margin-top: 24px; }
.cr-action-btn {
    flex: 1; padding: 13px; border-radius: 10px;
    font-weight: 700; font-size: .92rem; text-align: center;
    text-decoration: none; cursor: pointer; border: none;
    transition: opacity .18s;
}
.cr-action-btn--primary {
    background: linear-gradient(135deg, #ff6b00, #ff8c00); color: #fff;
}
.cr-action-btn--outline {
    background: #fff; color: #006B8F;
    border: 2px solid #006B8F;
}
.cr-action-btn:hover { opacity: .88; }

/* ── My Trips teal color ── */
.mt-type-badge.teal {
    background: rgba(0,107,143,0.15);
    color: #006B8F;
    border: 1px solid rgba(0,107,143,0.25);
}


/* ════════════════════════════════════════════
   GLOBAL RESPONSIVE – v17
   Breakpoints: 860px (tablet) | 600px (mobile)
   ════════════════════════════════════════════ */

/* ── Container padding tightens on small screens ── */
@media (max-width: 600px) {
    .container { padding: 0 14px; }
}

/* ════ TOPBAR ════ */
@media (max-width: 640px) {
    .topbar { display: none; }
}

/* ════ HAMBURGER BUTTON ════ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
    transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,.25); }
.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════ MOBILE NAV OVERLAY ════ */
.mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.mob-overlay.mob-overlay-open { display: block; }

/* ════ MOBILE NAV DRAWER ════ */
.mob-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: right .3s cubic-bezier(.4,0,.2,1);
    box-shadow: -6px 0 32px rgba(0,0,0,.22);
    overflow-y: auto;
}
.mob-nav.mob-nav-open { right: 0; }
body.nav-locked { overflow: hidden; }

.mob-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 16px;
    background: #DE8131;
    flex-shrink: 0;
}
.mob-nav-brand { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: .3px; }
.mob-nav-close {
    width: 32px; height: 32px;
    background: rgba(255,255,255,.2);
    border: none; border-radius: 6px;
    color: #fff; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s;
}
.mob-nav-close:hover { background: rgba(255,255,255,.35); }

.mob-nav-links {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid #f0e8de;
    flex-shrink: 0;
}
.mob-nav-links .nav-link {
    display: block !important;
    padding: 13px 20px !important;
    color: #3A1800 !important;
    font-size: .95rem !important;
    font-weight: 500;
    transition: background .15s;
    border-radius: 0 !important;
    background: transparent !important;
    white-space: normal;
}
.mob-nav-links .nav-link:hover,
.mob-nav-links .nav-link.active {
    background: #FEF0DC !important;
    color: #DE8131 !important;
}

.mob-nav-auth {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}
.mob-auth-user {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0e8de;
    margin-bottom: 2px;
}
.mob-user-avatar {
    width: 38px; height: 38px;
    background: #DE8131; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.mob-user-name { font-weight: 600; color: #3A1800; font-size: .95rem; }
.mob-auth-link {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-radius: 8px;
    font-size: .88rem; font-weight: 600; color: #3A1800;
    text-decoration: none; transition: background .15s; background: #f8f4f0;
}
.mob-auth-link:hover { background: #FEF0DC; color: #DE8131; }
.mob-auth-link--out { color: #c0392b; background: #fff4f4; }
.mob-auth-link--out:hover { background: #ffe0e0; color: #c0392b; }
.mob-auth-link i { width: 16px; text-align: center; }
.mob-auth-signin {
    display: flex; align-items: center; gap: 8px; justify-content: center;
    padding: 12px 18px; border-radius: 8px;
    background: #DE8131; color: #fff;
    font-weight: 700; font-size: .9rem; text-decoration: none;
    transition: background .2s;
}
.mob-auth-signin:hover { background: #C06820; color: #fff; }

/* ════ HEADER / NAV RESPONSIVE ════ */
@media (max-width: 860px) {
    .header-inner { height: 56px; gap: 12px; }
    .logo img { height: 36px; }
    .main-nav  { display: none; }
    .auth-area { display: none; }
    .hamburger { display: flex; }
}

/* ════ HERO ════ */
@media (max-width: 860px) {
    .hero { min-height: 0; padding: 36px 0 44px; }
    .hero-title { font-size: 2rem; margin-bottom: 20px; }
    .hero-subtitle { font-size: .8rem; }

    /* ── Search box header/form: tablet padding ── */
    .search-box-header { padding: 16px 18px 14px; }
    .search-form { padding: 12px 18px 20px; }

    /* ── Search fields: 2-row grid layout ──
       Row 1: [From city] [Swap] [To city]
       Row 2: [Date field ────────] [Search btn]        */
    .search-fields {
        display: grid;
        grid-template-columns: 1fr 44px 1fr;
        grid-template-rows: auto auto;
        gap: 12px;
        align-items: end;
    }
    /* DOM order: city-picker(1) swap-btn(2) city-picker(3) field-group(4) search-btn(5) */
    .search-fields > *:nth-child(1) { grid-column: 1; }           /* From city picker  */
    .search-fields > *:nth-child(2) { grid-column: 2; align-self: center; } /* Swap btn */
    .search-fields > *:nth-child(3) { grid-column: 3; }           /* To city picker    */
    .search-fields > *:nth-child(4) { grid-column: 1; }           /* Date field-group — same col width as To picker (both 1fr) */
    .search-fields > *:nth-child(5) { grid-column: 2 / -1; align-self: end; height: 58px; width: 100%; justify-content: center; } /* Search btn */

    /* field-group must be able to shrink in the grid cell */
    .field-group { min-width: 0; }

    /* Hide date quick pills on tablet/mobile — users use the native date picker */
    .date-quick { display: none; }
}

/* ════ HERO – MOBILE (≤480px): Redesigned card booking form ════ */
@media (max-width: 480px) {
    /* ── Hero ── */
    .hero { padding: 20px 0 36px; }
    .hero-title { font-size: 1.4rem; margin-bottom: 16px; }
    .hero-subtitle { font-size: .75rem; }

    /* ── Search card ── */
    .search-box { border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,.22), 0 2px 10px rgba(0,0,0,.1); }
    .search-box-header { padding: 14px 16px 12px; }
    .search-form { padding: 0 16px 16px; }

    /* ── Fields: column stack, sections spaced by margin ── */
    .search-fields {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    /* City pickers: full width */
    .city-picker { min-width: 0; width: 100%; }

    /* ─────────────────────────────────────────────────────
       Route group: FROM + SWAP + TO share one bordered box.
       Border continuity across all three elements creates
       the appearance of a single grouped input.
       ───────────────────────────────────────────────────── */

    /* FROM: top of the route box */
    .search-fields > *:nth-child(1) .city-picker-btn {
        height: 62px;
        padding: 0 16px;
        border-top:   1.5px solid #D8CCBC;
        border-left:  1.5px solid #D8CCBC;
        border-right: 1.5px solid #D8CCBC;
        border-bottom: none;
        border-radius: 14px 14px 0 0;
        background: #FFFCF8;
        touch-action: manipulation;
    }
    .search-fields > *:nth-child(1) .city-picker-btn:active {
        background: #FFF5EB;
    }

    /* SWAP: middle band of the route box */
    .swap-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        height: 40px;
        flex-shrink: 0;
        border-radius: 0;
        background: #FFF4E6;
        border-top:    1px solid #EAD9C4;
        border-bottom: 1px solid #EAD9C4;
        border-left:  1.5px solid #D8CCBC;
        border-right: 1.5px solid #D8CCBC;
        padding: 0 16px;
        color: #C07030;
        font-size: .83rem;
        font-weight: 700;
        font-family: inherit;
        cursor: pointer;
        transform: none;
        transition: background .15s;
        touch-action: manipulation;
    }
    .swap-btn::after { content: 'Swap cities'; }
    .swap-btn i      { font-size: .9rem; order: -1; }
    .swap-btn:active { background: #FFEBD2; transform: none; }
    .swap-btn:hover  { background: #FFF4E6; transform: none; }

    /* TO: bottom of the route box */
    .search-fields > *:nth-child(3) .city-picker-btn {
        height: 62px;
        padding: 0 16px;
        border-bottom: 1.5px solid #D8CCBC;
        border-left:   1.5px solid #D8CCBC;
        border-right:  1.5px solid #D8CCBC;
        border-top: none;
        border-radius: 0 0 14px 14px;
        background: #FFFCF8;
        touch-action: manipulation;
    }
    .search-fields > *:nth-child(3) .city-picker-btn:active {
        background: #FFF5EB;
    }

    /* Picker text: ≥16px everywhere — prevents iOS Safari auto-zoom */
    .city-picker-btn .picker-val   { font-size: 1rem; }
    .city-picker-btn .picker-label { font-size: .7rem; }

    /* Open state: warm brand border instead of blue */
    .city-picker.is-open .city-picker-btn {
        box-shadow: 0 0 0 3px rgba(222,129,49,.14);
    }

    /* Dropdown: constrained so it never escapes the viewport */
    .city-picker-drop {
        min-width: 0;
        width: 100%;
        left: 0;
        top: calc(100% + 6px);
        max-height: 52vh;
        overflow-y: auto;
        border-radius: 14px;
        box-shadow: 0 8px 32px rgba(0,0,0,.18);
    }
    /* Dropdown search: 16px prevents iOS zoom */
    .picker-search-input { font-size: 1rem; }
    .picker-search-wrap  { padding: 12px 16px; }
    /* Options: 48px min tap target */
    .picker-option { font-size: 1rem; padding: 13px 18px; min-height: 48px; }

    /* ─────────────────────────────────────────────────────
       Date field: separate section below the route box
       ───────────────────────────────────────────────────── */
    .search-fields > *:nth-child(4) { margin-top: 12px; }
    .field-group {
        display: flex;
        flex-direction: column;
        gap: 7px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
        padding: 0;
        border: none;
        background: none;
    }
    .field-group label { font-size: .72rem; position: static; top: auto; left: auto; pointer-events: auto; }
    .field-group input[type="date"] {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 54px;
        padding: 0 16px;
        font-size: 1rem;          /* 16px — no iOS Safari auto-zoom */
        font-family: inherit;
        color: #1a1a2e;
        background: #FFFCF8;
        border: 1.5px solid #D8CCBC;
        border-radius: 14px;
        box-sizing: border-box;
        outline: none;
        -webkit-appearance: none; /* uniform rendering across all mobile browsers */
        appearance: none;
    }
    .field-group input[type="date"]:focus {
        border-color: #DE8131;
        box-shadow: 0 0 0 3px rgba(222,129,49,.13);
    }

    /* ─────────────────────────────────────────────────────
       Search button: bold full-width CTA
       ───────────────────────────────────────────────────── */
    .search-fields > *:nth-child(5) { margin-top: 12px; align-self: stretch; }
    .search-btn {
        width: 100%;
        height: 56px;
        border-radius: 14px;
        justify-content: center;
        font-size: 1rem;
        font-weight: 800;
        letter-spacing: .3px;
        touch-action: manipulation;
    }
    .search-btn:hover  { transform: none; }
    .search-btn:active {
        transform: none;
        background: linear-gradient(135deg,#B03800,#A02800);
        box-shadow: 0 2px 8px rgba(200,64,0,.3);
    }

    /* ── Category cards ── */
    .categories    { gap: 8px 10px; flex-wrap: wrap; justify-content: center; overflow-x: visible; padding-bottom: 0; }
    .category-card { width: 60px; padding: 10px 4px; }
    .category-card .cat-icon  { font-size: 1.2rem; margin-bottom: 4px; }
    .category-card .cat-label { font-size: .62rem; }
}

/* ════ POPULAR ROUTES ════ */
@media (max-width: 860px) {
    .routes-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 520px) {
    .routes-grid { grid-template-columns: 1fr; }
}

/* ════ WHY CHOOSE US ════ */
@media (max-width: 860px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
    .why-grid { grid-template-columns: 1fr; }
}

/* ════ HOW IT WORKS ════ */
@media (max-width: 760px) {
    .steps-row { flex-direction: column; gap: 32px; align-items: center; }
    .step-card  { max-width: 100%; width: 100%; }
    .step-connector { display: none; }
}

/* ════ TESTIMONIALS ════ */
@media (max-width: 860px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* ════ NEWSLETTER ════ */
@media (max-width: 680px) {
    .newsletter-inner { flex-direction: column; gap: 20px; }
    .newsletter-form  { max-width: 100%; width: 100%; }
    .newsletter-text h2 { font-size: 1.3rem; }
}

/* ════ FOOTER ════ */
@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ════ SECTION HEADINGS ════ */
@media (max-width: 600px) {
    .section-title { font-size: 1.5rem; }
}


/* ════════════════════════════════════════════
   CRUISE PAGE RESPONSIVE  (cr-* namespace)
   ════════════════════════════════════════════ */

/* ── Hero search card ── */
@media (max-width: 860px) {
    .cr-search-card  { padding: 20px 18px; }
    .cr-search-grid  {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    /* Search button spans full row */
    .cr-search-grid > *:last-child { grid-column: 1 / -1; }
    /* Clip any overflowing input content (date input UA min-width) */
    .cr-field { overflow: hidden; }
}
@media (max-width: 520px) {
    .cr-search-grid { grid-template-columns: 1fr; }
    .cr-search-grid > *:last-child { grid-column: auto; }
    .cr-field { overflow: hidden; }
}

/* ── Route summary bar: prevent date overflow ── */
@media (max-width: 620px) {
    .cr-route-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
    .cr-route-info  { flex-direction: column; align-items: flex-start; gap: 6px; }
    .cr-route-meta  { flex-wrap: wrap; gap: 6px 10px; }
    .cr-modify-btn  { align-self: flex-start; }
}

/* ── Results: sidebar + list layout ── */
@media (max-width: 860px) {
    .cr-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0 40px;
    }
    .cr-sidebar { position: static; }
    .cr-filter-card { display: flex; flex-wrap: wrap; gap: 16px; }
    .cr-filter-section { margin-bottom: 0; flex: 1 1 140px; }
}

/* ── Cruise card ── */
@media (max-width: 860px) {
    .cr-card {
        grid-template-columns: 90px 1fr;
        grid-template-rows: auto auto;
    }
    .cr-card-right {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 12px 16px 16px;
        border-top: 1px solid #e8edf2;
        min-width: 0;
        gap: 12px;
    }
    .cr-cabin-table { flex: 1; }
    .cr-book-btn { width: auto; min-width: 140px; margin-top: 0; }
}
@media (max-width: 520px) {
    .cr-card { grid-template-columns: 80px 1fr; }
    .cr-card-right { flex-direction: column; align-items: stretch; }
    .cr-book-btn { width: 100%; }
    .cr-card-left { padding: 14px 8px; }
    .cr-ship-icon { font-size: 1.8rem; }
    /* Fix card body overflow that breaks page scrolling */
    .cr-card-body   { padding: 14px; overflow: hidden; }
    .cr-ship-name   { font-size: 1rem; }
    .cr-route-row   { flex-wrap: wrap; gap: 6px; }
    .cr-nights-dep  { flex-wrap: wrap; gap: 6px; }
    .cr-nights-dep .cr-dep-time { margin-left: 0 !important; }
    .cr-amenities   { gap: 5px; }
    .cr-amenity-chip{ font-size: .7rem; padding: 3px 8px; }
}

/* ── Why Cruise grid ── */
@media (max-width: 860px) {
    .cr-why-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
    .cr-why-grid { grid-template-columns: 1fr; }
}

/* ── Cruise booking page ── */
@media (max-width: 860px) {
    .cr-book-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 0 50px;
    }
    /* Summary panel moves below the form on mobile */
    .cr-book-layout > aside         { position: static; order: 2; }
    .cr-book-layout > .cr-book-form-card { order: 1; }
}

/* ── Cabin options & form rows ── */
@media (max-width: 600px) {
    .cr-cabin-options { grid-template-columns: 1fr; }
    .cr-form-row      { grid-template-columns: 1fr; gap: 10px; }
}

/* ── Confirm actions ── */
@media (max-width: 480px) {
    .cr-confirm-actions { flex-direction: column; }
}
.mt-card.color-teal::before { background: linear-gradient(90deg, #003D5C, #006B8F); }


/* ════════════════════════════════════════════
   SELECT SEAT PAGE RESPONSIVE  (sp-* namespace)
   ════════════════════════════════════════════ */

/* ════════════════════════════════════════════
   SEAT PAGE — COMPREHENSIVE MOBILE RESPONSIVE
   ════════════════════════════════════════════ */

/* ── Trip bar (tablet) ── */
@media (max-width: 860px) {
    .sp-tripbar { padding: 10px 0; }
    .sp-tripbar-main { flex-wrap: wrap; gap: 8px; }
    .sp-tripbar-route { flex-wrap: wrap; gap: 6px; }
    .sp-trip-track { display: none; }
    .sp-change-btn { margin-left: 0; padding: 7px 14px; font-size: .78rem; }
    .sp-meta-chip { font-size: .72rem; }
}

/* ── Trip bar (phone) ── */
@media (max-width: 560px) {
    .sp-tripbar-inner { padding: 8px 12px 10px; gap: 6px; }
    .sp-crumb { display: none; } /* hide breadcrumb on phones — too cluttered */
    .sp-tripbar-main { flex-direction: column; align-items: stretch; gap: 8px; }
    .sp-tripbar-route { gap: 6px; }
    .sp-trip-city { font-size: .95rem; }
    .sp-tripbar-meta { flex-wrap: wrap; gap: 6px; }
    .sp-change-btn {
        align-self: stretch;
        justify-content: center;
        text-align: center;
        margin-left: 0;
        padding: 8px 12px;
        font-size: .8rem;
    }
    .sp-meta-chip { font-size: .7rem; padding: 4px 10px; }
    .sp-op-mini-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ── Main layout ── */
@media (max-width: 900px) {
    .sp-layout {
        flex-direction: column;
        gap: 16px;
        padding: 14px 0 100px; /* bottom padding for sticky bar */
    }
    .sp-map-panel { width: 100%; }
    .sp-sidebar { width: 100%; position: static; top: auto; }
}

/* ── Legend bar ── */
@media (max-width: 600px) {
    .sp-legend-bar { flex-direction: row; flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
    .sp-legend-items { gap: 8px; flex-wrap: wrap; }
    .sp-legend-right { flex-wrap: wrap; gap: 6px; }
    .sp-ladies-btn { font-size: .7rem; padding: 5px 10px; }
    .sp-avail-pill { font-size: .7rem; }
    .sp-leg-item { font-size: .75rem; gap: 5px; }
    .sp-leg-swatch { width: 18px; height: 18px; }
}

/* ── Seat map: reduce sizes on small phones ── */
@media (max-width: 480px) {
    :root {
        --sp-seat-w: 40px;
        --sp-seat-h: 46px;
        --sp-seat-gap: 6px;
        --sp-pair-w: calc(2 * var(--sp-seat-w) + var(--sp-seat-gap));
        --sp-aisle-w: 36px;
        --sp-berth-w: 78px;
        --sp-berth-h: 34px;
        --sp-slp-aisle: 36px;
        --sp-slp-pair-w: calc(2 * var(--sp-berth-w) + var(--sp-seat-gap));
    }
    .sp-bus-body { padding: 0 14px 16px; }
    .sp-bus-scroll { padding: 4px 0 12px; }
    .sp-seat-id { font-size: .58rem; }
    .sp-row { margin-top: 7px; }
    .sp-berth-row { margin-top: 6px; }
    .sp-col-hdr { font-size: .65rem; }
    .sp-deck-label { font-size: .72rem; padding: 6px 12px; }
}
@media (max-width: 360px) {
    :root {
        --sp-seat-w: 34px;
        --sp-seat-h: 40px;
        --sp-seat-gap: 5px;
        --sp-pair-w: calc(2 * var(--sp-seat-w) + var(--sp-seat-gap));
        --sp-aisle-w: 30px;
        --sp-berth-w: 66px;
        --sp-berth-h: 30px;
        --sp-slp-aisle: 30px;
        --sp-slp-pair-w: calc(2 * var(--sp-berth-w) + var(--sp-seat-gap));
    }
    .sp-bus-body { padding: 0 10px 14px; border-radius: 22px 22px 12px 12px; }
    .sp-seat-id { font-size: .54rem; }
}

/* ── Fare card & passenger form ── */
@media (max-width: 600px) {
    .sp-fare-head { padding: 16px 18px; }
    .sp-fare-body { padding: 14px 16px; }
    .sp-am-grid { grid-template-columns: 1fr 1fr; }
    .sp-steps { padding: 10px 12px; }
}
@media (max-width: 480px) {
    .sp-fare-amount { font-size: 1.55rem; }
    .sp-fare-head { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; }
    .sp-fare-head-right { align-self: flex-end; }
    .sp-fare-body { padding: 12px; }
    .sp-field { margin-bottom: 12px; }
    .sp-field label { font-size: .73rem; }
    .sp-input-row { gap: 8px; }
    .sp-input-row input { font-size: .88rem; }
    .sp-pay-btn { padding: 14px; font-size: .93rem; }
    .sp-ticket-trigger { font-size: .82rem; }
    .sp-breakdown { padding: 8px 0; }
    .sp-bk-row { font-size: .8rem; }
    .sp-bk-total { font-size: .88rem; }
    .sp-no-sel-text { font-size: .82rem; }
    /* On mobile the sidebar "Proceed to Payment" is replaced by sticky bar */
    .sp-pay-btn { display: none; }
    .sp-secure-note { display: none; }
}

/* ── Mobile sticky bottom bar ── */
.sp-mob-sticky {
    display: none;
}
@media (max-width: 900px) {
    .sp-mob-sticky {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: #fff;
        border-top: 1.5px solid #F0DCC0;
        box-shadow: 0 -4px 24px rgba(0,0,0,.12);
        padding: 12px 16px 16px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        z-index: 999;
        transition: transform .25s ease;
    }
    .sp-mob-sticky.is-hidden { transform: translateY(110%); }
    .sp-mob-sticky-info { display: flex; flex-direction: column; gap: 2px; }
    .sp-mob-sticky-seats {
        font-size: .72rem; font-weight: 700; color: #999;
        text-transform: uppercase; letter-spacing: .05em;
    }
    .sp-mob-sticky-price {
        font-size: 1.2rem; font-weight: 900; color: #DE8131; letter-spacing: -.3px;
    }
    .sp-mob-sticky-btn {
        background: linear-gradient(135deg, #C84000, #D55000);
        color: #fff; border: none; border-radius: 12px;
        padding: 13px 22px;
        font-size: .92rem; font-weight: 800;
        cursor: pointer; white-space: nowrap;
        display: flex; align-items: center; gap: 8px;
        box-shadow: 0 4px 16px rgba(200,64,0,.35);
        transition: opacity .15s, transform .15s;
        font-family: inherit;
    }
    .sp-mob-sticky-btn:active { opacity: .88; transform: scale(.98); }
    .sp-mob-sticky-btn:disabled { background: #ccc; box-shadow: none; cursor: default; }
}

/* ── Review & Pay modal — bottom sheet on mobile ── */
@media (max-width: 600px) {
    #payModal.sp-overlay {
        align-items: flex-end;
        padding: 0;
    }
    .sp-pay-modal {
        max-width: 100%;
        width: 100%;
        border-radius: 22px 22px 0 0;
        max-height: 92dvh;
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        animation: spSlideUp .26s ease;
    }
    @keyframes spSlideUp {
        from { transform: translateY(50px); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
    }
    /* handle bar */
    .sp-pay-modal-top { padding: 8px 20px 22px; }
    .sp-pay-modal-top::before {
        content: '';
        display: block;
        width: 40px; height: 4px;
        background: rgba(255,255,255,.3);
        border-radius: 4px;
        margin: 0 auto 14px;
        position: static;
        transform: none;
        width: 40px;
    }
    .sp-pay-section { padding: 14px 18px; }
    .sp-pay-divider { margin: 0 18px; }
    .sp-pay-footer { padding: 12px 18px max(24px, env(safe-area-inset-bottom)); }
    .sp-addon-card { padding: 12px 14px; gap: 10px; }
    .sp-pay-total-amount { font-size: 1.35rem; }
    .sp-pay-confirm-btn { padding: 14px; font-size: .95rem; }
}

/* ── Success modal — stays centred ── */
#successModal.sp-overlay { align-items: center; padding: 16px; }
@media (max-width: 600px) {
    #successModal .sp-modal {
        max-height: 90dvh;
        max-height: 90vh;
        overflow-y: auto;
    }
}


/* ════════════════════════════════════════════
   BUSES LISTING PAGE RESPONSIVE  (bl-* namespace)
   ════════════════════════════════════════════ */

@media (max-width: 860px) {
    /* Sidebar becomes a collapsible top panel */
    .bl-layout {
        flex-direction: column;
        gap: 16px;
        padding-top: 16px;
        padding-bottom: 40px;
    }
    .bl-sidebar {
        width: 100%;
        position: static;
        border-radius: 12px;
    }
    /* Route summary bar */
    .bl-route-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .bl-modify-btn  { align-self: flex-start; }
    /* Bus cards */
    .bl-timing-row { gap: 8px; }
    .bl-duration-track { flex: 1; min-width: 0; }
    .bl-card-action { margin-top: 12px; flex-direction: row; align-items: center; justify-content: space-between; }
    /* Sort bar pill text shorter */
    .bl-sort-pill { font-size: .78rem; padding: 6px 12px; }
}
@media (max-width: 580px) {
    .bl-timing-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .bl-time-right  { align-items: flex-start; text-align: left; }
    .bl-duration-track { order: 3; width: 100%; }
    .bl-card-header { flex-wrap: wrap; gap: 8px; }
}
/* ── Empty state (0 buses found) ── */
@media (max-width: 600px) {
    .bl-empty { padding: 44px 20px; }
    .bl-empty h2 { font-size: 1.15rem; }
    .bl-empty p  { font-size: .88rem; margin-bottom: 20px; }
    .bl-empty-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .bl-empty-btn { width: 100%; justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
    /* Collapse 3-col grid: move price+action to full-width bottom row */
    .bl-card { grid-template-columns: 4px 1fr; }
    .bl-card-header { padding: 14px 16px 10px; }
    .bl-timing-row  { padding: 12px 16px; }
    .bl-meta-row    { padding: 8px 16px 12px; }
    .bl-card-action {
        grid-column: 1 / -1;
        grid-row: auto;
        border-left: none;
        border-top: 1px solid #F8F0E5;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px 14px;
        min-width: 0;
        margin-top: 0;
    }
    .bl-price      { font-size: 1.45rem; }
    .bl-book-btn   { width: auto; padding: 9px 16px; }
    .bl-time       { font-size: 1.2rem; }
    /* Route summary bar: stack path and meta vertically */
    .bl-route-inner { padding: 12px 16px; gap: 8px; }
    .bl-route-left  { flex-direction: column; align-items: flex-start; gap: 4px; }
    .bl-city        { font-size: 1.05rem; }
    .bl-modify-btn  { width: 100%; justify-content: center; }
}


/* ════════════════════════════════════════════
   ROAD TRAVEL RESPONSIVE  (rv-* namespace)
   ════════════════════════════════════════════ */

/* ── Hero ── */
@media (max-width: 860px) {
    .rv-hero { padding: 44px 0 36px; }
    .rv-hero-sub { font-size: .9rem; }
    .rv-types-section { padding: 36px 0 28px; }
    .rv-section-head h2 { font-size: 1.5rem; }
}

/* ── Vehicle type grid: 3 → 2 cols ── */
@media (max-width: 860px) {
    .rv-type-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .rv-search-panel { padding: 20px 18px 18px; }
}
@media (max-width: 480px) {
    .rv-type-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .rv-type-card { padding: 16px 10px; gap: 4px; }
    .rv-type-emoji { font-size: 1.5rem; }
    .rv-type-name  { font-size: .88rem; }
    .rv-type-desc  { font-size: .72rem; }
    .rv-type-price { font-size: .72rem; }
}

/* ── Search fields: stack to single column ── */
@media (max-width: 600px) {
    .rv-search-fields { flex-direction: column; gap: 10px; }
    .rv-field { min-width: 0; width: 100%; flex: none; }
    .rv-swap { align-self: center; padding-bottom: 0; }
    .rv-search-btn { width: 100%; justify-content: center; }
}

/* ── Perks grid: 4 → 2 → 1 col ── */
@media (max-width: 860px) {
    .rv-perks-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .rv-perks-section { padding: 36px 0; }
}
@media (max-width: 480px) {
    .rv-perks-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Route summary bar (vehicles page) ── */
@media (max-width: 620px) {
    .rv-route-bar-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .rv-route-info { gap: 8px 12px; }
    .rv-modify-btn { align-self: flex-start; }
}

/* ── Vehicles page layout: sidebar moves to top ── */
@media (max-width: 860px) {
    .rv-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 20px;
        padding-bottom: 36px;
    }
    .rv-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 0 24px;
    }
    .rv-filter-section {
        flex: 1 1 180px;
        margin-bottom: 16px;
        padding-bottom: 0;
        border-bottom: none;
    }
}

/* ── Vehicle card: 3-col grid → 2-col → full stack ── */
@media (max-width: 700px) {
    .rv-vehicle-card {
        grid-template-columns: 60px 1fr;
        gap: 14px;
        padding: 16px 18px;
    }
    .rv-vc-right {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        min-width: 0;
        border-top: 1px solid #ede5db;
        padding-top: 12px;
        gap: 12px;
    }
    .rv-vc-meta { flex-wrap: wrap; gap: 6px 12px; }
    .rv-vc-price { font-size: 1.35rem; }
}
@media (max-width: 460px) {
    .rv-vehicle-card { grid-template-columns: 48px 1fr; gap: 10px; padding: 14px 14px; }
    .rv-vc-emoji { font-size: 1.6rem; }
    .rv-vc-right { flex-direction: column; align-items: stretch; gap: 8px; }
    .rv-book-btn { width: 100%; justify-content: center; }
}

/* ── Booking page layout ── */
@media (max-width: 860px) {
    .rv-book-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 0 48px;
    }
    .rv-book-summary { position: static; }
}


/* ════════════════════════════════════════════
   PACKAGES PAGE RESPONSIVE  (tp-* namespace)
   ════════════════════════════════════════════ */

@media (max-width: 860px) {
    .tp-hero { padding: 36px 0 28px; }
    .tp-hero-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
    .tp-hero-stats  { justify-content: flex-start; flex-wrap: wrap; gap: 10px 20px; }
    /* Hide vertical dividers when stats wrap */
    .tp-stat-div { display: none; }
    .tp-stat-num { font-size: 1.7rem; }
    /* tp-grid: 2 cols on tablet */
    .tp-grid { grid-template-columns: repeat(2, 1fr); }

    /* ── CRITICAL: packages page has inline style="align-items:flex-start" on
       .bl-layout which cannot be overridden without !important. In a column
       flex container, flex-start causes .bl-main to shrink to content-width
       instead of stretching — so 1fr grid columns compute against a collapsed
       width and the layout breaks completely on mobile.                        */
    .bl-layout { align-items: stretch !important; }
    .bl-main   { width: 100%; min-width: 0; }

    /* Filter sidebar: 2-column layout so 5 blocks don't stack into a tall wall */
    #pkgFilterForm { display: flex; flex-wrap: wrap; }
    #pkgFilterForm .bl-sidebar-header { width: 100%; flex: 0 0 100%; }
    #pkgFilterForm .bl-filter-block   { flex: 1 1 45%; min-width: 0; }
}
@media (max-width: 560px) {
    /* Switch to 1-col grid early — 2 cols at 480–560px gives ~196px cards,
       too narrow for card content (price + button, destination row, etc.) */
    .tp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    /* Hero */
    .tp-hero { padding: 24px 0 20px; }
    .tp-hero-text h1 { font-size: 1.45rem; }
    .tp-hero-text p  { font-size: .87rem; }
    .tp-stat-num { font-size: 1.35rem; }

    /* Filter sidebar: full-width blocks on small phones */
    #pkgFilterForm .bl-filter-block { flex: 0 0 100%; }

    /* Results bar: stack count above sort pills */
    .tp-results-bar { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* Card footer: let button grow to fill available space */
    .tp-card-footer { flex-wrap: wrap; gap: 8px; }
    .tp-book-btn { flex: 1; justify-content: center; }
}


/* ════════════════════════════════════════════
   POPULAR ROUTES SECTION (homepage)
   ════════════════════════════════════════════ */

/* Already handled by .routes-grid rules above (v17 block).
   Extra touch: route card price font scaling */
@media (max-width: 480px) {
    .route-price strong { font-size: 1rem; }
    .section-header { margin-bottom: 20px; }
}


/* ════════════════════════════════════════════
   GENERAL SMALL-SCREEN POLISH
   ════════════════════════════════════════════ */

@media (max-width: 600px) {
    /* Trust strip — 2×2 grid matching desktop card style */
    .trust-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 16px;
        justify-items: stretch;
    }
    .trust-divider { display: none; }
    .trust-item {
        padding: 14px 12px;
        justify-content: center;
        background: #FFFCF8;
        border: 1.5px solid #F5E8D8;
        border-radius: 12px;
        flex-shrink: 1;
    }
    .trust-item .trust-icon { font-size: 1.3rem; }
    .trust-item strong      { font-size: 1.1rem; }

    /* ── City picker dropdown: switch to viewport-fixed panel ──
       The hero has overflow:hidden which clips position:absolute dropdowns.
       position:fixed escapes all ancestor overflow constraints.          */
    .city-picker-drop {
        position: fixed;
        top: 50%;
        left: 12px;
        right: 12px;
        bottom: auto;
        width: auto;
        min-width: 0;
        max-height: 72vh;
        border-radius: 16px;
        z-index: 500;
        /* Hidden state: shift up slightly + scale down */
        transform: translateY(calc(-50% - 12px)) scale(0.96);
        transform-origin: center center;
    }
    .city-picker.is-open .city-picker-drop {
        transform: translateY(-50%) scale(1);
        opacity: 1;
        pointer-events: auto;
    }
    /* Backdrop behind the open dropdown */
    .city-picker.is-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 499;
        pointer-events: auto;
    }
    /* Allow the options list to use the available panel height */
    .picker-list { max-height: calc(72vh - 62px); }
}

/* ════ CONTACT / FOOTER ════ */
@media (max-width: 860px) {
    /* Footer brand + 3 cols → 2-column grid */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 36px; }
    /* Brand column spans both on first row */
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    /* Keep Quick Links + Travel Categories side by side; brand & contact full-width */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 16px;
    }
    .footer-brand          { grid-column: 1 / -1; }
    .footer-col:last-child { grid-column: 1 / -1; } /* Contact Us spans full width */
}
@media (max-width: 600px) {
    /* Footer bottom bar */
    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 16px;
    }
    /* Contact info text size */
    .footer-contact li span { font-size: .82rem; }
    .site-footer { padding-top: 40px; }
}

/* ════ GLOBAL MOBILE: prevent horizontal overflow without breaking touch scroll ════
   NOTE: overflow-x:clip (not hidden) — clip does NOT create a scroll container,
   so iOS Safari touch events are never swallowed by the html element.            */
@media (max-width: 860px) {
    html { overflow-x: clip; }
}

/* ══════════════════════════════════════════════════
   PASSENGER CARDS & CONTACT BLOCK — v2 redesign
   ══════════════════════════════════════════════════ */

/* ── Card wrapper ── */
.pax-card {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #f0e8de;
    border-left: 4px solid #DE8131;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* ── Card header ── */
.pax-hd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: linear-gradient(135deg, #fff9f4 0%, #fffcfa 100%);
    border-bottom: 1px solid #f4ece4;
}
.pax-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #DE8131;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(222,129,49,.3);
}
.pax-hd-right { flex: 1; min-width: 0; }
.pax-hd-title {
    font-size: .84rem;
    font-weight: 700;
    color: #1a1200;
    line-height: 1.2;
}
.pax-seat-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .7rem;
    color: #DE8131;
    font-weight: 600;
    margin-top: 2px;
}
.pax-seat-tag i { font-size: .63rem; }

/* ── Card body ── */
.pax-fields {
    padding: 13px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

/* ── Field ── */
.pax-f {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.pax-f-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 9px;
}
.pax-lbl {
    font-size: .68rem;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.pax-ast { color: #C84000; margin-left: 1px; }
.pax-lbl-opt {
    font-weight: 400;
    color: #bbb;
    text-transform: none;
    letter-spacing: 0;
    font-size: .68rem;
}

/* ── Input ── */
.pax-inp {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e5dbd2;
    border-radius: 9px;
    font-size: .88rem;
    color: #1a1a1a;
    background: #fdfdfd;
    outline: none;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s, background .15s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: inherit;
}
.pax-inp:focus {
    border-color: #DE8131;
    box-shadow: 0 0 0 3px rgba(222,129,49,.12);
    background: #fff;
}
.pax-inp::placeholder { color: #c0b8b0; }
.pax-inp-err {
    border-color: #C84000 !important;
    box-shadow: 0 0 0 3px rgba(200,64,0,.09) !important;
    background: #fff8f6 !important;
}

/* ── Gender toggle buttons ── */
.pax-gender-wrap {
    display: flex;
    gap: 5px;
}
.pax-gb {
    flex: 1;
    padding: 9px 4px;
    border: 1.5px solid #e2d8d0;
    border-radius: 8px;
    background: #f9f6f3;
    font-size: .76rem;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    transition: all .15s;
    text-align: center;
    line-height: 1;
    font-family: inherit;
}
.pax-gb:hover:not(.pax-gb-on) {
    border-color: #DE8131;
    color: #DE8131;
    background: #fff9f4;
}
.pax-gb-on {
    background: #DE8131;
    border-color: #DE8131;
    color: #fff;
    box-shadow: 0 2px 6px rgba(222,129,49,.28);
}
.pax-wrap-err .pax-gb:not(.pax-gb-on) {
    border-color: #C84000;
    background: #fff8f6;
    color: #C84000;
}

/* ── Contact block ── */
.pax-contact {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #f0e8de;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.pax-contact-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: linear-gradient(135deg, #fff9f4 0%, #fffcfa 100%);
    border-bottom: 1px solid #f4ece4;
    font-size: .76rem;
    font-weight: 800;
    color: #1a1200;
    text-transform: uppercase;
    letter-spacing: .6px;
}
.pax-contact-hd i { color: #DE8131; font-size: .78rem; }
.pax-contact-body {
    padding: 13px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

/* ── Validation message (updated) ── */
#validationMsg {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff4f0;
    border: 1.5px solid #C84000;
    border-radius: 10px;
    padding: 10px 13px;
    margin-bottom: 10px;
    color: #C84000;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.4;
}
#validationMsg i { margin-top: 2px; flex-shrink: 0; }

/* ── Mobile responsive ── */
@media (max-width: 900px) {
    .pax-f-row {
        grid-template-columns: 72px 1fr;
        gap: 8px;
    }
    .pax-hd { padding: 10px 12px; }
    .pax-fields { padding: 11px 12px 12px; gap: 10px; }
    .pax-contact-body { padding: 11px 12px 12px; gap: 10px; }
    .pax-contact-hd { padding: 10px 12px; }
    .pax-gb { font-size: .74rem; padding: 9px 3px; }
    .pax-inp { padding: 11px 12px; font-size: .9rem; }
}

/* ══════════════════════════════════════════════════════
   MOBILE TWO-STEP BOOKING WIZARD
   Step 1 → seat map   |   Step 2 → passenger details
   ══════════════════════════════════════════════════════ */

/* Mobile step-2 header — hidden everywhere by default */
.mob-step2-hd { display: none; }

@media (max-width: 860px) {

    /* ── Step 1 (default): sidebar hidden, only map shown ── */
    .sp-layout:not(.mob-step-2) .sp-sidebar {
        display: none !important;
    }

    /* ── Step 2: map hidden, sidebar shown full-width ── */
    .sp-layout.mob-step-2 .sp-map-panel {
        display: none !important;
    }
    .sp-layout.mob-step-2 .sp-sidebar {
        display: block !important;
        width: 100%;
        max-width: 100%;
    }

    /* Hide desktop step-progress pills on step 2 (mob-step2-hd replaces them) */
    .sp-layout.mob-step-2 .sp-steps {
        display: none;
    }

    /* Hide the price header card on step 2 (mob-step2-hd provides the gradient) */
    .sp-layout.mob-step-2 .sp-fare-head {
        display: none;
    }

    /* Merge fare-card visually below the mob header */
    .sp-layout.mob-step-2 .sp-fare-card {
        border-radius: 0 0 18px 18px;
        box-shadow: none;
    }

    /* Reveal the mobile step-2 header */
    .sp-layout.mob-step-2 .mob-step2-hd {
        display: block;
    }
}

/* ── Mobile step-2 header component ───────────────── */
.mob-step2-hd {
    background: linear-gradient(135deg, #C06820 0%, #E07820 100%);
    border-radius: 18px 18px 0 0;
    padding: 16px 16px 13px;
    position: relative;
    overflow: hidden;
}
.mob-step2-hd::before {
    content: '';
    position: absolute;
    top: -24px; right: -24px;
    width: 90px; height: 90px;
    background: rgba(255,255,255,.07);
    border-radius: 50%;
    pointer-events: none;
}
.mob-step2-hd::after {
    content: '';
    position: absolute;
    bottom: -16px; left: -16px;
    width: 60px; height: 60px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
    pointer-events: none;
}

.mob-step2-nav {
    display: flex;
    align-items: center;
    margin-bottom: 11px;
    position: relative;
    z-index: 1;
}

.mob-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.18);
    border: 1.5px solid rgba(255,255,255,.32);
    border-radius: 20px;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 6px 13px 6px 10px;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, border-color .15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.mob-back-btn:active {
    background: rgba(255,255,255,.3);
    border-color: rgba(255,255,255,.5);
}
.mob-back-btn i { font-size: .7rem; }

.mob-step2-label {
    flex: 1;
    text-align: center;
    font-size: .88rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .1px;
    /* prevent overlap with back button */
    padding: 0 8px;
    /* invisible spacer balances the back button width so label is truly centred */
}
/* invisible right spacer same width as back button */
.mob-step2-nav::after {
    content: '';
    flex-shrink: 0;
    width: 105px; /* approx width of back button */
}

.mob-step2-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    min-height: 24px;
}

.mob-s2-seat-tag {
    display: inline-block;
    background: rgba(255,255,255,.22);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
    letter-spacing: .2px;
}

.mob-s2-total {
    margin-left: auto;
    font-size: .92rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.3px;
}

/* On mobile step 2, restore the Proceed to Payment button and secure note
   (previously hidden because the sticky bar handled it; now step 2 owns this action) */
@media (max-width: 860px) {
    .sp-layout.mob-step-2 .sp-pay-btn {
        display: flex;
    }
    .sp-layout.mob-step-2 .sp-secure-note {
        display: block;
    }
}
