/* ==========================================================================
   premium.css — additive "refined automotive premium" polish layer.
   Loaded LAST in the cascade so it wins by source order at equal specificity.
   Targets existing template class names only; no markup contracts changed.
   Touches cosmetic props only on JS-driven widgets (search dropdowns, owl, etc.).
   ========================================================================== */

/* ---- Display font (self-hosted, subset) --------------------------------- */
@font-face {
    font-family: 'Clash Display';
    src: url('../fonts/ClashDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Clash Display';
    src: url('../fonts/ClashDisplay-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Clash Display';
    src: url('../fonts/ClashDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

/* ---- Design tokens ------------------------------------------------------- */
:root {
    --display-font: 'Clash Display', 'Outfit', sans-serif;

    --ease-premium: cubic-bezier(.22, .61, .36, 1);
    --ease-out-soft: cubic-bezier(.16, 1, .3, 1);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --border-soft: rgba(17, 17, 17, .08);
    --border-hair: rgba(17, 17, 17, .05);

    --shadow-sm: 0 1px 2px rgba(17, 17, 17, .04), 0 2px 6px -2px rgba(17, 17, 17, .05);
    --shadow-md: 0 6px 16px -6px rgba(17, 17, 17, .12), 0 2px 6px -3px rgba(17, 17, 17, .07);
    --shadow-lg: 0 26px 52px -18px rgba(17, 17, 17, .24), 0 10px 22px -12px rgba(17, 17, 17, .12);
    --shadow-accent: 0 14px 30px -10px rgba(255, 44, 59, .42);

    --theme-soft: rgba(255, 44, 59, .10);
    --theme-softer: rgba(255, 44, 59, .05);
}

/* ---- Global text rendering & page atmosphere ---------------------------- */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern", "liga", "calt";
    background-color: #fafafa;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.022'/%3E%3C/svg%3E");
}

::selection {
    background: rgba(255, 44, 59, .18);
    color: var(--primary-color);
}

/* Override Bootstrap's :root smooth scroll, which hijacks fast wheel/trackpad input */
:root {
    scroll-behavior: auto;
}

/* ---- Display typography on large headings -------------------------------- */
h1,
h2,
h3,
.section-title h2.title,
.breadcrumb-section h1,
.banner-content h1 {
    font-family: var(--display-font);
    letter-spacing: -.02em;
}

.slider.style_three .slide-item-content .slider_content h1,
.slider.style_three .slide-item-content .slider_content h1 span {
    font-family: var(--display-font);
    letter-spacing: -.022em;
}

/* Refined eyebrow label above section titles */
.section-title .sub-title {
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Emphasised price figure */
.single-featured-car-rent-per-day-2 span,
.bill-history .total-amount span,
.order-information .info-title-box .price {
    font-family: var(--display-font);
    letter-spacing: -.01em;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn-style-one,
.btn-style-two,
.btn-style-three,
.btn-style-four,
.btn-style-five,
.btn-style-six,
.btn-style-seven,
.btn-style-eight {
    transition: color .3s var(--ease-premium),
        background-color .3s var(--ease-premium),
        border-color .3s var(--ease-premium),
        transform .3s var(--ease-premium),
        box-shadow .3s var(--ease-premium);
}

.btn-style-one,
.btn-style-three {
    border-radius: var(--radius-sm);
}

.btn-style-four,
.btn-style-five {
    border-radius: 10px;
}

.btn-style-one:hover,
.btn-style-two:hover,
.btn-style-three:hover,
.btn-style-six:hover,
.btn-style-seven:hover,
.btn-style-eight:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-style-four:hover,
.btn-style-five:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-style-one:active,
.btn-style-two:active,
.btn-style-three:active,
.btn-style-four:active,
.btn-style-five:active,
.btn-style-six:active,
.btn-style-seven:active,
.btn-style-eight:active {
    transform: translateY(0) scale(.99);
}

/* Smoother skew-fill timing on the animated CTAs */
.btn-style-four::after,
.btn-style-five::after {
    transition: transform .55s var(--ease-out-soft);
}

/* ---- Cards: booking results --------------------------------------------- */
.single-featured-car-block {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform .4s var(--ease-out-soft), box-shadow .4s var(--ease-out-soft);
}

.single-featured-car-block:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.single-featured-car-image {
    border-radius: var(--radius-md);
    position: relative;
}

/* Subtle bottom scrim for depth on the car photo */
.single-featured-car-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, rgba(17, 17, 17, .14));
    opacity: 0;
    transition: opacity .4s var(--ease-out-soft);
    pointer-events: none;
}

.single-featured-car-block:hover .single-featured-car-image::after {
    opacity: 1;
}

.single-featured-car-block .single-featured-car-image img {
    transition: transform .7s var(--ease-out-soft);
}

.single-featured-car-block:hover .single-featured-car-image img {
    transform: scale(1.06);
}

/* Muted spec icons that warm to the accent on hover */
.booking-car-specs li i,
.single-featured-car-info li i {
    color: #9a9a9a;
    transition: color .3s var(--ease-premium);
}

.single-featured-car-block:hover .booking-car-specs li i,
.single-featured-car-block:hover .single-featured-car-info li i {
    color: var(--theme-color);
}

/* ---- Cards: car-type grid ----------------------------------------------- */
.car-type-item {
    transition: transform .4s var(--ease-out-soft);
}

.car-type-item:hover {
    transform: translateY(-4px);
}

.car-type-item .car-image img {
    transition: transform .6s var(--ease-out-soft);
}

.car-type-item:hover .car-image img {
    transform: scale(1.06);
}

/* ---- Cards: destinations ------------------------------------------------- */
.services-block-one .services-iamge {
    box-shadow: var(--shadow-sm);
    transition: box-shadow .4s var(--ease-out-soft);
}

.services-block-one:hover .services-iamge {
    box-shadow: var(--shadow-lg);
}

.services-block-one .services-iamge img {
    transition: transform .7s var(--ease-out-soft);
}

.services-block-one:hover .services-iamge img {
    transform: scale(1.05);
}

/* ---- Cards: why-choose-us ------------------------------------------------ */
.why-chooseus-block {
    transition: transform .4s var(--ease-out-soft);
}

.why-chooseus-block:hover {
    transform: translateY(-4px);
}

.why-chooseus-icon {
    transition: transform .4s var(--ease-out-soft);
}

.why-chooseus-block:hover .why-chooseus-icon {
    transform: scale(1.08);
}

/* ---- Cards: testimonials ------------------------------------------------- */
.testimonial-block-one {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform .4s var(--ease-out-soft), box-shadow .4s var(--ease-out-soft);
}

.testimonial-block-one:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ---- Header: dark floating pill ----------------------------------------- */
.home-three .main_header_inner {
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 12px 34px -16px rgba(0, 0, 0, .5);
}

/* Glassmorphic sticky header on scroll */
.header.home-three.fixed_header .sticky_header {
    background: rgba(16, 16, 18, .72);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .55);
}

/* Animated nav underline */
.home-three .main-menu .navigation > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 2px;
    background: var(--theme-color);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s var(--ease-premium);
}

.home-three .main-menu .navigation > li:hover > a::after,
.home-three .main-menu .navigation > li.active > a::after {
    transform: scaleX(1);
}

.home-three .main-menu .navigation > li:hover > a {
    color: var(--theme-color);
}

/* ---- Booking search form (cosmetic only) -------------------------------- */
.booking-section.home-three .filter-wrapper .filter-group {
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-hair);
}

.booking-section.home-three .single-search-box {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: border-color .25s var(--ease-premium), box-shadow .25s var(--ease-premium);
}

.booking-section.home-three .single-search-box:hover,
.booking-section.home-three .single-search-box:focus-within {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px var(--theme-soft);
}

.booking-section .filter-wrapper .filter-group form button {
    border-radius: 10px;
    transition: transform .3s var(--ease-premium), box-shadow .3s var(--ease-premium), color .3s;
}

.booking-section .filter-wrapper .filter-group form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

/* ---- Forms: checkout / mybooking ---------------------------------------- */
.bill-information .form-group input,
.bill-information .form-group select,
.order-summary #couponForm input,
.checkout-section input[type="text"],
.checkout-section input[type="email"],
.checkout-section input[type="date"] {
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    transition: border-color .2s var(--ease-premium), box-shadow .2s var(--ease-premium);
}

.bill-information .form-group input:focus,
.bill-information .form-group select:focus,
.order-summary #couponForm input:focus,
.checkout-section input[type="text"]:focus,
.checkout-section input[type="email"]:focus,
.checkout-section input[type="date"]:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 4px var(--theme-soft);
}

/* Insurance / extras radio groups -> segmented pills */
.order-information .payment-method label.btn {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    transition: border-color .25s var(--ease-premium), background-color .25s var(--ease-premium), box-shadow .25s var(--ease-premium), transform .25s var(--ease-premium);
}

.order-information .payment-method label.btn:hover {
    border-color: rgba(255, 44, 59, .4);
    transform: translateY(-1px);
}

.order-information .payment-method input:checked + label.btn {
    border-color: var(--theme-color);
    background: var(--theme-soft);
    color: var(--theme-color);
    box-shadow: var(--shadow-sm);
}

/* ---- Footer -------------------------------------------------------------- */
.social-links li a {
    transition: color .35s var(--ease-premium), transform .35s var(--ease-premium);
}

.social-links li a:hover {
    transform: translateY(-3px);
    color: var(--theme-color);
}

.footer_resources_widget ul li a,
.footer_community_widget ul li a,
.footer_contact_widget ul li a {
    transition: color .3s var(--ease-premium), transform .3s var(--ease-premium);
}

.footer_resources_widget ul li a:hover,
.footer_community_widget ul li a:hover,
.footer_contact_widget ul li a:hover {
    transform: translateX(3px);
}

/* ---- Scroll-to-top button ----------------------------------------------- */
.scroll-top {
    transition: background-color .4s var(--ease-premium), color .4s var(--ease-premium), border-color .4s var(--ease-premium), transform .4s var(--ease-premium), box-shadow .4s var(--ease-premium), bottom 1s ease;
}

.scroll-top:hover {
    color: #fff;
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    transform: rotate(270deg) scale(1.07);
    box-shadow: var(--shadow-accent);
}

/* ---- Accessible keyboard focus ------------------------------------------ */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--theme-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---- Desktop scrollbar --------------------------------------------------- */
@media (min-width: 992px) {
    ::-webkit-scrollbar {
        width: 11px;
    }

    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    ::-webkit-scrollbar-thumb {
        background: #cfcfcf;
        border-radius: 10px;
        border: 3px solid #f1f1f1;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--theme-color);
    }
}


/* ---- Checkout: car image beside the info list --------------------------- */
.order-information .order-outer-box .product-detail-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.order-outer-box .product-detail-row .product-image {
    flex-shrink: 0;
    width: 240px;
    max-width: 40%;
}

.order-outer-box .product-detail-row .product-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

.order-outer-box .product-detail-row .product-info-list {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.product-info-list .info-columns {
    display: flex;
    gap: 24px;
}

.product-info-list .info-col {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-info-list .info-excess {
    margin: 10px 0 0;
    padding: 10px 0 0;
    list-style: none;
    border-top: 1px solid var(--border-hair);
}

@media (max-width: 575px) {
    .order-outer-box .product-detail-row {
        gap: 14px;
    }

    .order-outer-box .product-detail-row .product-image {
        width: 130px;
    }

    .product-info-list .info-columns {
        flex-direction: column;
        gap: 0;
    }
}

/* ---- "Upgrade your reservation" extras ---------------------------------- */
.order-information .extras-heading {
    font-size: 18px;
    line-height: 1.4;
}

.order-information .extras-wrap {
    position: relative;
    padding: 26px 0 6px;
    margin-bottom: 30px;
    border-top: 1px solid rgba(229, 229, 229, 0.89);
    border-bottom: 1px solid rgba(229, 229, 229, 0.89);
}

.extras-toggles {
    display: flex;
    gap: 12px;
    margin: 4px 0 24px;
}

.extra-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 14px 10px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: border-color .25s var(--ease-premium), box-shadow .25s var(--ease-premium), transform .25s var(--ease-premium);
}

.extra-item:hover {
    border-color: rgba(255, 44, 59, .25);
    transform: translateY(-1px);
}

.extra-item__label {
    font-weight: 600;
    color: #111;
    line-height: 1.25;
    font-size: 0.95rem;
}

.extra-item__price {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--theme-color);
    margin-bottom: 2px;
}

/* The switch - the box around the slider */
.switch {
    --a: 0.5s ease-out;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    height: 1.4em;
    border-radius: 2em;
    box-shadow: 0 2px 6px rgba(17, 17, 17, .12);
    aspect-ratio: 212.4992/84.4688;
    background-color: #ff8073;
    transition: background-color var(--a);
}

/* Hide default HTML checkbox */
.extra-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switch svg {
    height: 100%;
}

.switch svg path {
    color: #ffffffe6;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 136 224;
    transition: all var(--a),
    0.2s transform;
    transform-origin: center;
}

.extra-toggle__input:checked ~ .switch svg path {
    stroke-dashoffset: 180;
    transform: scaleY(-1);
}

.extra-toggle__input:checked ~ .switch {
    background-color: #55df8b;
}

.extra-toggle__input:focus-visible ~ .switch {
    outline: 2px solid var(--theme-color);
    outline-offset: 3px;
}

/* ---- Babyseats segmented sliding switch --------------------------------- */
.babyseats-block {
    margin: 8px 0 16px;
}

.babyseats-block__title {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.seat-switch {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    height: 48px;
    border-radius: 999px;
    background: #f1f2f4;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}

.seat-switch input[type="radio"] {
    display: none;
}

.seat-switch__label {
    position: relative;
    z-index: 2;
    flex: 1;
    height: 48px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    user-select: none;
    transition: color .25s var(--ease-premium);
}

.seat-switch__label:hover {
    color: #111;
}

.seat-switch input:checked + .seat-switch__label {
    color: #fff;
}

.seat-switch__indicator {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 12.5%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--theme-color);
    box-shadow: var(--shadow-accent);
    transition: left 500ms cubic-bezier(.02, .94, .09, .97), background 300ms var(--ease-premium);
    transform: translate(-50%, -50%);
}

.seat-switch input[data-seats="0"]:checked ~ .seat-switch__indicator { left: 12.5%; }
.seat-switch input[data-seats="1"]:checked ~ .seat-switch__indicator { left: 37.5%; }
.seat-switch input[data-seats="2"]:checked ~ .seat-switch__indicator { left: 62.5%; }
.seat-switch input[data-seats="3"]:checked ~ .seat-switch__indicator { left: 87.5%; }

.babyseat-types {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.babyseat-types .custom-select {
    flex: 1 1 0;
    min-width: 150px;
    width: auto;
}

.babyseat-types .custom-select select {
    margin-bottom: 0;
}

/* ---- Mobile tweaks for the extras block --------------------------------- */
@media (max-width: 575px) {
    .extras-toggles {
        flex-direction: column;
        gap: 10px;
    }

    .extra-item {
        flex: 1 1 auto;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
        padding: 12px 16px;
    }

    .extra-item__label {
        flex: 1;
    }

    .extra-item__price {
        margin-bottom: 0;
    }

    .babyseat-types .custom-select {
        flex-basis: 100%;
    }
}




/* ---- Cart ---------------------------------------------------------------- */

/* Sits directly above the .scroll-top button (55px tall at bottom:15px), so
   neither control moves and both stay reachable. */
.cart-fab {
    position: fixed;
    bottom: 80px;
    right: 15px;
    z-index: 99;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    border-radius: 999px;
    background-color: var(--theme-color, var(--primary-color));
    color: #fff;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, .3) 0 0 20px 0;
    transition: transform .3s ease, box-shadow .3s ease;
}

.cart-fab:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, .4) 0 6px 24px 0;
}

.cart-fab__icon {
    position: relative;
    display: inline-flex;
}

.cart-fab__count {
    position: absolute;
    top: -8px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #fff;
    color: var(--theme-color, var(--primary-color));
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.cart-fab__label strong {
    margin-left: 6px;
}

@media (max-width: 575px) {
    .cart-fab__label {
        display: none;
    }

    .cart-fab {
        padding: 14px;
    }
}

/* ---- Cart page ----------------------------------------------------------- */
.cart-section-title {
    margin-bottom: 20px;
}

.cart-item {
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.cart-item__notice {
    margin: 0;
    padding: 10px 20px;
    background: #fef3c7;
    color: #92400e;
    font-size: 14px;
}

.cart-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
}

.cart-item-head:hover {
    background: rgba(0, 0, 0, .02);
}

.cart-item-head__main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.cart-item-head__chevron {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--theme-color, var(--primary-color));
    color: #fff;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
}

.cart-item-head__name {
    margin: 0;
    font-size: 18px;
}

.cart-item-head__dates {
    color: #6b7280;
    font-size: 14px;
    white-space: nowrap;
}

/* Driver name, shown in the header only while the box is collapsed. A pill so it
   reads as a distinct fact from the car name and the dates beside it. */
.cart-item-head__driver {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--theme-soft, #f4f5f7);
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 575px) {
    .cart-item-head__driver {
        max-width: 120px;
    }
}

.cart-item-head__price {
    font-size: 18px;
    font-weight: 700;
}

.cart-item-head__badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 600;
}

.cart-item-body {
    padding: 0 20px 20px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cart-remove-btn {
    background: #6b7280;
}

/* ---- Trip-details fields (dates / times / stations) ---------------------
   booking-form.css only styles these inside .booking-section, so in the cart and
   checkout they arrive unstyled. These rules give them the same clean, labelled
   look as the contact-information inputs, only smaller and more compact. */
.cart-filter-area {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 16px;
    margin-bottom: 24px;
}

.cart-filter-area .searchbox-input {
    position: relative;
    margin-bottom: 0;
}

.cart-filter-area .searchbox-input > label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--secondary-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #8a8f98;
}

/* The field shell: a clean bordered box for the readonly date/station display
   and the time <select>. */
.cart-filter-area .select-input,
.cart-filter-area select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--border-soft, #e5e5e5);
    border-radius: 8px;
    font-family: var(--secondary-font);
    font-size: 14px;
    color: var(--body-color, #333);
    cursor: pointer;
    transition: border-color .2s var(--ease-premium), box-shadow .2s var(--ease-premium);
}

.cart-filter-area select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a8f98' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 34px;
}

.cart-filter-area .select-input:hover,
.cart-filter-area select:hover {
    border-color: #c9ccd1;
}

.cart-filter-area .custom-select-dropdown.active .select-input,
.cart-filter-area select:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 4px var(--theme-soft, rgba(0,0,0,.06));
}

.cart-filter-area .select-input input {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    font-family: var(--secondary-font);
    font-size: 14px;
    color: var(--body-color, #333);
    cursor: pointer;
}

.cart-filter-area .custom-select-dropdown {
    position: relative;
}

/* The station search/option popup. */
.cart-filter-area .custom-select-wrap {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 20;
    width: 100%;
    min-width: 220px;
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--border-soft, #e5e5e5);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    display: none;
}

.cart-filter-area .custom-select-wrap.active {
    display: block;
    animation: cart-field-pop .18s ease;
}

@keyframes cart-field-pop {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cart-filter-area .custom-select-search-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 8px;
    border-bottom: 1px solid #f0f0f2;
    margin-bottom: 4px;
}

.cart-filter-area .custom-select-search-area i {
    color: #8a8f98;
    font-size: 13px;
}

.cart-filter-area .custom-select-search-area input {
    width: 100%;
    border: 0;
    padding: 2px 0;
    font-size: 13px;
    background: transparent;
}

.cart-filter-area .option-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-filter-area .option-list li {
    padding: 8px 10px;
    border-radius: 7px;
    cursor: pointer;
    transition: background .15s var(--ease-premium);
}

.cart-filter-area .option-list li:hover {
    background: var(--theme-soft, #f4f5f7);
}

.cart-filter-area .option-list li h6 {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.cart-filter-area .option-list li p {
    margin: 0;
    font-size: 12px;
    color: #8a8f98;
}

@media (max-width: 767px) {
    .cart-filter-area {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .cart-filter-area {
        grid-template-columns: 1fr;
    }
}

.cart-empty {
    padding: 60px 20px;
    text-align: center;
}

.cart-empty h3 {
    margin-bottom: 10px;
}

.cart-empty p {
    margin-bottom: 24px;
}

/* The booker's details: one block for the whole cart, sitting between the cars
   and the summary. Matches .cart-summary so the two read as one panel. */
.cart-contact {
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: #fff;
}

.cart-contact__intro {
    margin-bottom: 20px;
    color: rgba(0, 0, 0, .6);
    font-size: 15px;
}

.cart-contact__fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 767px) {
    .cart-contact__fields {
        grid-template-columns: 1fr;
    }
}

.cart-contact__fields .form-group {
    margin-bottom: 0;
}

.cart-summary {
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    background: #fff;
}

.cart-summary__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    font-size: 18px;
}

.cart-summary__total strong {
    font-size: 26px;
}

.cart-summary__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.cart-summary__note {
    color: #6b7280;
    font-size: 13px;
}

.cart-secondary-btn {
    background: #6b7280;
}

/* ---- Header cart nav item ------------------------------------------------ */
.cart-nav {
    display: inline-flex;
    align-items: center;
}

.cart-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-right: 14px;
    border-radius: 999px;
    border: 1px solid var(--border-soft, #e5e5e5);
    color: var(--primary-color, #111);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.cart-nav__link:hover {
    color: var(--theme-color);
    border-color: var(--theme-color);
    background: var(--theme-soft, rgba(0,0,0,.04));
}

.cart-nav__icon {
    position: relative;
    display: inline-flex;
    color: var(--theme-color);
}

.cart-nav__count {
    position: absolute;
    top: -8px;
    right: -9px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--theme-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.cart-nav__amount {
    white-space: nowrap;
}

/* The header right side already lays items in a row; keep the cart snug to the CTA. */
.header_right_content {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .cart-nav__amount {
        display: none;
    }

    .cart-nav__link {
        padding: 8px;
        margin-right: 8px;
    }
}

/*** ============= Card-scheme icons (epay manual, section 8) ============= ***/

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* One row on anything desktop-sized. The five marks come to roughly 390px, so
   they fit any real desktop container comfortably; wrapping is only ever wanted
   on a phone, where the row genuinely cannot fit. */
@media (min-width: 768px) {
    .payment-icons {
        flex-wrap: nowrap;
    }
}

/* The balance-and-cash-discount line, between the buttons and the logos. Same
   muted treatment as the note beside the buttons, but full width so it reads as
   one sentence rather than a narrow column. */
.cart-summary__balance-note {
    margin: 14px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

/* The reassurance strip under the pay button. A sibling of
   .cart-summary__actions, not a child -- see the comment in cart-page.blade.php. */
.cart-summary__payments {
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.payment-icons--compact {
    gap: 10px 14px;
}

/* Standing information under an extras block -- not an error, not a field label:
   quieter than body copy, separated from the control it follows. */
.extras-note {
    margin: 12px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}
