/* 
-----------------------------------------------------
    Author: Boker Technologies
    Theme Name: TADA v2
    Version: 2.0.0
----------------------------------------------------- */

:root {
    --base-color: #00674f;
}

.bg-base-color {
    background-color: var(--base-color);
}

.one-half-screen {
    height: 400px !important;
}

/* Auth pages (login, forgot and reset password) */
.auth-split {
    display: grid;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: #111;
}

.auth-split-media {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    padding: 30px 16px;
    background-position: center;
    background-size: cover;
}

.auth-split-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2) 60%);
}

.auth-split-media > * {
    position: relative;
}

.auth-split-logo img {
    height: 34px;
    width: auto;
}

.auth-split-panel {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 16px 30px;
}

.auth-split-form {
    width: 100%;
    max-width: 420px;
    margin: auto;
}

.auth-split-footer {
    text-align: center;
}

.auth-status {
    padding: 14px 18px;
    border-left: 3px solid var(--base-color);
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.form-error {
    color: #ff7a7a;
}

.form-password-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    padding: 4px;
    border: 0;
    background: none;
    color: var(--medium-gray);
    line-height: 1;
}

.form-password-toggle:hover,
.form-password-toggle:focus-visible {
    color: #fff;
}

@media (min-width: 576px) {
    .auth-split-media {
        padding: 40px;
    }

    .auth-split-panel {
        padding: 60px 40px 40px;
    }
}

@media (min-width: 992px) {
    .auth-split {
        grid-template-columns: 1.1fr 1fr;
    }

    .auth-split-media {
        padding: 60px;
    }

    .auth-split-panel {
        padding: 60px;
    }
}

/* Catalogue cards keep their shape while images load or are missing; landscape so a vehicle is never cropped */
.catalogue-grid .blog-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

/* The caption sits under the picture instead of over it, so it never covers the vehicle. */
.catalogue-grid figure {
    background: linear-gradient(145deg, #262626, #1e1e1e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.catalogue-grid figure .blog-image .blog-overlay {
    display: none;
}

.catalogue-grid figure figcaption {
    position: static;
    height: auto !important;
    padding: 18px 20px 22px;
}

.catalogue-grid figure figcaption .blog-categories {
    margin-bottom: 12px !important;
}

/* Vehicle page (FR-CAT-08 to FR-CAT-14) */
.vehicle-gallery {
    --swiper-theme-color: #fff;
    --swiper-navigation-size: 28px;
}

.vehicle-gallery-main img,
.vehicle-gallery-empty {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background-color: #1c1c1c;
}

.vehicle-gallery-thumbs .swiper-slide {
    opacity: 0.45;
    cursor: pointer;
    transition: opacity 0.2s;
}

.vehicle-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    outline: 2px solid var(--base-color);
    outline-offset: -2px;
}

.vehicle-gallery-thumbs img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.vehicle-gallery-tab {
    padding: 6px 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    background: none;
    color: var(--medium-gray);
    font-size: 14px;
}

.vehicle-gallery-tab.active,
.vehicle-gallery-tab:hover {
    border-color: #fff;
    background-color: #fff;
    color: var(--dark-gray);
}

.vehicle-swatch {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background-color: var(--swatch);
    box-shadow: inset 0 0 0 3px var(--dark-gray);
    transition: border-color 0.2s;
}

.vehicle-swatch.active,
.vehicle-swatch:hover {
    border-color: #fff;
}

.vehicle-availability {
    color: #fff;
    font-weight: 500;
}

.vehicle-quantity {
    width: 90px;
    flex: 0 0 90px;
}

.vehicle-video {
    display: block;
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
    background-color: #000;
}

.vehicle-model-viewer {
    width: 100%;
    height: 60vh;
    min-height: 360px;
    background-color: #1c1c1c;
}

/* Header auth links: the logout button must look like the other nav links */
.header-icon .hero-nav-link {
    white-space: nowrap;
    line-height: 1.5;
}

.header-icon button.hero-nav-link {
    border: 0;
    background: none;
}

/* Cart: dark item cards */
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto 40px;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    background: linear-gradient(145deg, #262626, #1e1e1e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.cart-card:hover {
    border-color: rgba(0, 103, 79, 0.7);
}

.cart-card-info,
.cart-card-qty,
.cart-card-total {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cart-card-name {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.cart-card-unit {
    color: #9a9a9a;
    font-size: 14px;
}

.cart-card-label {
    color: #8a8a8a;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cart-card-total {
    min-width: 150px;
    text-align: right;
}

.cart-card-amount {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.cart-qty-input {
    width: 84px;
    height: 42px;
    padding: 0 12px;
    color: #fff;
    text-align: center;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
}

.cart-qty-input:focus {
    outline: 0;
    border-color: #00674f;
    box-shadow: 0 0 0 3px rgba(0, 103, 79, 0.35);
}

.cart-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #bdbdbd;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cart-remove:hover,
.cart-remove:focus-visible {
    color: #fff;
    background: #c0392b;
    border-color: #c0392b;
    outline: 0;
}

.cart-remove:disabled {
    opacity: 0.5;
}

@media (max-width: 767px) {
    .cart-card {
        grid-template-columns: 1fr auto;
        padding: 18px 56px 18px 18px;
        gap: 16px;
    }

    .cart-card-info {
        grid-column: 1 / -1;
    }

    .cart-card-total {
        min-width: 0;
    }

    .cart-remove {
        position: absolute;
        top: 12px;
        right: 12px;
    }
}

/* Checkout: dark cards */
.checkout-card {
    padding: 32px;
    background: linear-gradient(145deg, #262626, #1e1e1e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.checkout-card-title {
    display: block;
    margin-bottom: 22px;
    color: #00a07d;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.checkout-group + .checkout-group {
    margin-top: 20px;
}

.checkout-group-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.checkout-pill {
    padding: 3px 10px;
    color: #cfcfcf;
    font-size: 11px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.checkout-pill-green {
    color: #7be0c6;
    background: rgba(0, 103, 79, 0.35);
}

.checkout-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 14px;
}

.checkout-line-name {
    color: #d8d8d8;
}

.checkout-line-amount {
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.checkout-total span:last-child {
    font-size: 22px;
    font-weight: 700;
}

.checkout-note {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 14px;
    color: #e3d3a1;
    font-size: 13px;
    line-height: 1.6;
    background: rgba(214, 170, 60, 0.1);
    border: 1px solid rgba(214, 170, 60, 0.25);
    border-radius: 8px;
}

.checkout-note i {
    margin-top: 3px;
}

.checkout-note-green {
    color: #9fe3d1;
    background: rgba(0, 103, 79, 0.18);
    border-color: rgba(0, 103, 79, 0.45);
}

.checkout-step-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    counter-reset: checkout-step;
}

.checkout-step-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 40px;
    color: #a9a9a9;
    font-size: 14px;
    line-height: 1.6;
    counter-increment: checkout-step;
}

.checkout-step-list li::before {
    content: counter(checkout-step);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: #00674f;
    border-radius: 50%;
}

.checkout-step-list strong {
    color: #fff;
}

@media (max-width: 575px) {
    .checkout-card {
        padding: 22px;
    }
}

/* Order page */
.order-meta-line {
    margin-bottom: 18px;
    color: #8f8f8f;
    font-size: 14px;
}

.order-alert {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid transparent;
    border-radius: 8px;
}

.order-alert > i {
    margin-top: 4px;
}

.order-alert-amber {
    color: #e3d3a1;
    background: rgba(214, 170, 60, 0.1);
    border-color: rgba(214, 170, 60, 0.25);
}

.order-alert-green {
    color: #9fe3d1;
    background: rgba(0, 103, 79, 0.18);
    border-color: rgba(0, 103, 79, 0.45);
}

.order-alert-red {
    color: #f1a9a1;
    background: rgba(192, 57, 43, 0.14);
    border-color: rgba(192, 57, 43, 0.4);
}

.order-alert-blue {
    color: #a9c9ee;
    background: rgba(52, 120, 200, 0.13);
    border-color: rgba(52, 120, 200, 0.35);
}

.order-file-input {
    display: block;
    width: 100%;
    padding: 10px;
    color: #bdbdbd;
    font-size: 14px;
    background: #151515;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    border-radius: 8px;
}

.order-file-input::file-selector-button {
    margin-right: 14px;
    padding: 8px 16px;
    color: #fff;
    font-weight: 500;
    background: #00674f;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.order-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-timeline li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6f6f6f;
    font-size: 14px;
}

.order-timeline li.is-done {
    color: #fff;
}

.order-timeline-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #8a8a8a;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.order-timeline li.is-done .order-timeline-dot {
    color: #fff;
    background: #00674f;
}

.order-details dt {
    margin-bottom: 4px;
    color: #8a8a8a;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.order-details dd {
    margin-bottom: 18px;
    color: #e6e6e6;
    font-size: 15px;
    line-height: 1.6;
}

.order-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-message {
    max-width: 85%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px 10px 10px 2px;
}

.order-message-own {
    align-self: flex-end;
    background: rgba(0, 103, 79, 0.25);
    border-color: rgba(0, 103, 79, 0.5);
    border-radius: 10px 10px 2px 10px;
}

.order-message-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #8a8a8a;
    font-size: 12px;
}

.order-message-author {
    color: #fff;
    font-weight: 600;
}

.order-message-body {
    margin: 6px 0 0;
    color: #e6e6e6;
    font-size: 14px;
    white-space: pre-line;
}

/* My orders: dark list cards */
.myorder-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto 20px;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    background: linear-gradient(145deg, #262626, #1e1e1e);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.myorder-card:hover {
    border-color: rgba(0, 103, 79, 0.7);
    transform: translateY(-2px);
}

.myorder-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.myorder-pill {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 999px;
}

.myorder-pill-green {
    color: #7be0c6;
    background: rgba(0, 103, 79, 0.35);
}

.myorder-pill-blue {
    color: #8fb8ee;
    background: rgba(52, 120, 200, 0.22);
}

.myorder-pill-amber {
    color: #e7c76a;
    background: rgba(214, 170, 60, 0.18);
}

.myorder-pill-red {
    color: #f0948a;
    background: rgba(192, 57, 43, 0.22);
}

.myorder-arrow {
    color: #8a8a8a;
    font-size: 14px;
}

.myorder-card:hover .myorder-arrow {
    color: #00a07d;
}

@media (max-width: 767px) {
    .myorder-card {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
    }

    .myorder-card .cart-card-total {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        min-width: 0;
        text-align: left;
    }

    .myorder-arrow {
        display: none;
    }
}

/* Video modal (opened by a.popup-youtube) */
.site-video-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.88);
}

.site-video-frame {
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.site-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.site-video-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    color: #fff;
    font-size: 22px;
    background: transparent;
    border: 0;
}

/* Template grids were laid out by Isotope; without it, flow the items in rows. */
ul.grid {
    display: flex;
    flex-wrap: wrap;
}

ul.grid > .grid-sizer {
    display: none;
}

/* Mobile header: dark bar, white logo and menu icon (matches the dark site and the desktop header). */
@media (max-width: 991px) {
    header .navbar.bg-transparent {
        background-color: #151515 !important;
    }

    header .navbar.header-scrolled {
        background-color: rgba(10, 10, 10, 0.92) !important;
    }

    header .navbar-brand .default-logo {
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
    }

    header .navbar-brand .mobile-logo {
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
    }

    header .hamburger-push-button.icon span {
        background-color: #fff;
    }
}

/* Admin-written (rich text) descriptions on the vehicle page */
.rich-description p {
    margin-bottom: 12px;
}

.rich-description > :last-child {
    margin-bottom: 0;
}

.rich-description h2,
.rich-description h3,
.rich-description h4 {
    margin: 18px 0 8px;
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
}

.rich-description ul,
.rich-description ol {
    margin-bottom: 14px;
    padding-left: 0;
    list-style: none;
}

.rich-description ol {
    counter-reset: rich-item;
}

.rich-description li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 30px;
}

.rich-description ul > li::before {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 4px;
    width: 8px;
    height: 8px;
    background: var(--base-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.rich-description ol > li {
    counter-increment: rich-item;
}

.rich-description ol > li::before {
    content: counter(rich-item);
    position: absolute;
    top: 0.2em;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    background: var(--base-color);
    border-radius: 50%;
}

.rich-description a {
    color: var(--base-color);
    text-decoration: underline;
}

.rich-description strong,
.rich-description b,
.rich-description h2 strong,
.rich-description h3 strong,
.rich-description h4 strong {
    color: #fff !important;
    font-weight: 600;
}

.rich-description blockquote {
    margin: 0 0 12px;
    padding-left: 16px;
    border-left: 3px solid var(--base-color);
}

/* The push menu slides over the sticky header (which sits at z-index 99999 once scrolled). */
.push-menu {
    z-index: 100000;
}

/* Vehicle gallery: previous / next arrows */
.vehicle-gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.vehicle-gallery-main .swiper-button-prev,
.vehicle-gallery-main .swiper-button-next {
    top: 50%;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(18, 18, 18, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.vehicle-gallery-main .swiper-button-prev {
    left: 16px;
}

.vehicle-gallery-main .swiper-button-next {
    right: 16px;
}

.vehicle-gallery-main:hover .swiper-button-prev,
.vehicle-gallery-main:hover .swiper-button-next,
.vehicle-gallery-main .swiper-button-prev:focus-visible,
.vehicle-gallery-main .swiper-button-next:focus-visible {
    opacity: 1;
    transform: scale(1);
}

.vehicle-gallery-main .swiper-button-prev:hover,
.vehicle-gallery-main .swiper-button-next:hover {
    background: var(--base-color);
    border-color: var(--base-color);
}

.vehicle-gallery-main .swiper-button-prev.swiper-button-disabled,
.vehicle-gallery-main .swiper-button-next.swiper-button-disabled {
    opacity: 0;
    pointer-events: none;
}

.vehicle-gallery-main .swiper-button-prev svg,
.vehicle-gallery-main .swiper-button-next svg {
    width: 11px;
    height: 20px;
    fill: currentColor;
}

/* No hover on touch screens, so keep the arrows visible there. */
@media (hover: none) {
    .vehicle-gallery-main .swiper-button-prev:not(.swiper-button-disabled),
    .vehicle-gallery-main .swiper-button-next:not(.swiper-button-disabled) {
        opacity: 1;
        transform: scale(1);
    }
}

/* Interior gallery grid and lightbox */
.gallery-thumb {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: #000;
    border: 0;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
    transform: scale(1.05);
    opacity: 0.85;
}

.site-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 72px;
    background: rgba(0, 0, 0, 0.92);
}

.site-lightbox-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.site-lightbox-figure img {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    border-radius: 8px;
}

.site-lightbox-close,
.site-lightbox-nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.site-lightbox-close:hover,
.site-lightbox-nav:hover {
    background: var(--base-color);
    border-color: var(--base-color);
}

.site-lightbox-close {
    top: 16px;
    right: 16px;
}

.site-lightbox-nav {
    top: 50%;
    margin-top: -23px;
}

.site-lightbox-nav.prev {
    left: 16px;
}

.site-lightbox-nav.next {
    right: 16px;
}

@media (max-width: 575px) {
    .site-lightbox {
        padding: 64px 12px;
    }

    .site-lightbox-nav {
        top: auto;
        bottom: 12px;
        margin-top: 0;
    }
}

/* Quantity stepper: minus / number / plus */
.qty-stepper {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: stretch;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

.qty-stepper:focus-within {
    border-color: var(--base-color);
}

.qty-stepper-btn {
    width: 40px;
    padding: 0;
    color: #fff;
    font-size: 12px;
    background: transparent;
    border: 0;
    transition: background-color 0.2s ease;
}

.qty-stepper-btn:hover,
.qty-stepper-btn:focus-visible {
    background: var(--base-color);
}

.qty-stepper-input {
    width: 48px;
    padding: 0;
    color: #fff;
    font-weight: 500;
    text-align: center;
    background: transparent;
    border: 0;
    outline: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-stepper-input::-webkit-outer-spin-button,
.qty-stepper-input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

/* Product hero titles: scale down so a long name stays within a few lines */
/* Slight dark tint over a hero photo, strongest behind the title, so the white title reads on a bright car */
.hero-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 36, 0.35) 0%, rgba(15, 23, 36, 0.55) 55%, rgba(15, 23, 36, 0.7) 100%);
}

.page-hero-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: clamp(1.75rem, 4.2vw, 3.5rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

/* Eyebrow above a hero title: a lighter green that stays legible over photos */
.hero-eyebrow {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 36, 0.72);
    color: #4de3a6;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* Eyebrow with the brand logo on a white chip beside the text */
.hero-eyebrow-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-eyebrow-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 7px;
    border-radius: 999px;
    background: #fff;
}

.hero-eyebrow-logo img {
    display: block;
    width: auto;
    max-width: 36px;
    height: 18px;
    object-fit: contain;
}

.qty-stepper-btn:disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Cookie notice: floating pill at the bottom of public pages */
.cookie-notice {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 100001;
    display: flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 12px 14px 12px 24px;
    border-radius: 999px;
    background: #0f1724;
    color: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 36, 0.35);
}

.cookie-notice-text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
}

.cookie-notice-accept {
    flex-shrink: 0;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    background: #1faa59;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.cookie-notice-accept:hover {
    background: #178a47;
}

.cookie-notice-close {
    flex-shrink: 0;
    padding: 4px 8px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 18px;
}

.cookie-notice-close:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .cookie-notice {
        bottom: 12px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: calc(100vw - 24px);
        padding: 16px;
        border-radius: 22px;
        text-align: center;
    }

    .cookie-notice-close {
        position: absolute;
        top: 4px;
        right: 6px;
    }
}

.cookie-notice-link {
    color: #4de3a6;
    text-decoration: underline;
    white-space: nowrap;
}

.cookie-notice-link:hover {
    color: #fff;
}

/* Brand pill on vehicle cards: logo beside the brand name. The selectors are prefixed to beat the template's
   `.blog-metro figure img` rules (full width, hover fade and zoom) that otherwise squeeze the name. */
.blog-metro figure .brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    line-height: 1;
    white-space: nowrap;
}

.blog-metro figure .brand-pill .brand-pill-logo {
    display: block;
    flex-shrink: 0;
    width: auto;
    max-width: 32px;
    height: 20px;
    object-fit: contain;
    opacity: 1;
    transform: none;
}

.blog-metro figure:hover .brand-pill .brand-pill-logo {
    opacity: 1;
    transform: none;
}

/* The theme script sets the first section's top margin from the header height at load/resize; resizing through
   breakpoints leaves a stale (taller) value and a white strip shows under the 100px mobile header. */
@media (max-width: 990px) {
    .ipad-top-space-margin {
        margin-top: 100px !important;
    }
}

/* Page title heroes: grow with the title instead of a fixed height, and keep clear of the header. A long title
   (eyebrow + two lines) used to push the eyebrow up under the transparent header. */
.page-title-big-typography .one-half-screen {
    height: auto !important;
    min-height: 400px;
    padding-top: 24px;
}

@media (min-width: 991px) {
    .page-title-big-typography .one-half-screen {
        padding-top: 140px;
    }
}

@media (max-width: 767px) {
    .page-title-big-typography .one-half-screen {
        min-height: 300px;
    }
}

/* Colour mode switch: the header has one beside Login/cart (desktop) and one beside the menu icon (mobile) */
.theme-toggle {
    border: 0;
    background: none;
    cursor: pointer;
}

@media (min-width: 992px) {
    .theme-toggle-mobile {
        display: none !important;
    }
}

/* Colour mode switch on the auth pages sits in the corner of the form panel */
.auth-split-panel {
    position: relative;
}

.auth-split-panel .auth-theme-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
}

/* Header: Vehicles / Accessories links beside the hamburger icon (desktop) */
.header-links {
    align-items: center;
    gap: 28px;
    margin-right: 28px;
    white-space: nowrap;
}

.header-links a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-links a:hover {
    color: var(--base-color, #4de3a6);
}

/* Swiper's built-in blue arrow glyph is drawn over the template's own arrow icons; keep only the template's. */
.swiper-button-next-nav::after,
.swiper-button-previous-nav::after,
.slider-navigation-style-07::after {
    content: none !important;
    display: none !important;
}

/* Newer Swiper also injects an SVG arrow into each navigation button. */
.swiper-button-next-nav .swiper-navigation-icon,
.swiper-button-previous-nav .swiper-navigation-icon,
.slider-navigation-style-07 .swiper-navigation-icon {
    display: none !important;
}

/* Brand logos with a white variant: standard logo in light mode, white logo in dark mode. */
.brand-logo-white {
    display: none !important;
}

html[data-theme="dark"] .brand-logo-standard {
    display: none !important;
}

html[data-theme="dark"] .brand-logo-white {
    display: inline-block !important;
}

/* reCAPTCHA v3: the badge is hidden; forms show the required Google notice instead. */
.grecaptcha-badge {
    visibility: hidden;
}

/* Phones: fade the busy dotted background pattern heavily and brighten muted text for legibility. */
@media (max-width: 767.98px) {
    [style*="demo-architecture-dotted-pattern"] {
        background-image: linear-gradient(rgba(35, 35, 35, 0.9), rgba(35, 35, 35, 0.9)), url("/storage/images/demo-architecture-dotted-pattern.svg") !important;
    }

    .text-medium-gray,
    .text-light-gray,
    .text-extra-medium-gray {
        color: #d4d8dd !important;
    }

    .bg-dark-gray p,
    .bg-nero-grey p,
    .bg-dark-gray li,
    .bg-nero-grey li {
        color: #e3e6ea;
    }

    .bg-nero-grey h6,
    .bg-dark-gray h6 {
        color: #f1f3f5;
    }
}

/* ===================================
    Home hero (Swiper)
====================================== */
.hero-slider {
    padding: 0;
    position: relative;
    background: #181a1e;
    color: #fff;
}

.hero-swiper {
    position: relative;
    overflow: hidden;
}

/* Before Swiper starts, show only the first slide so there is no flash of stacked slides. */
.hero-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    display: none;
}

.hero-swiper .hero-slide {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: max(100svh, 640px);
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

.hero-slide-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 12, 14, 0.82) 0%, rgba(10, 12, 14, 0.4) 42%, rgba(10, 12, 14, 0) 72%),
        linear-gradient(180deg, rgba(10, 12, 14, 0.6) 0%, rgba(10, 12, 14, 0) 24%, rgba(10, 12, 14, 0) 58%, rgba(10, 12, 14, 0.75) 100%);
}

.hero-slide-body {
    position: relative;
    z-index: 2;
    padding-bottom: 150px;
}

.hero-slider .hero-title {
    max-width: 10ch;
    margin: 0 0 32px;
    color: #fff;
    font-size: clamp(76px, 9vw, 150px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.035em;
    text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35);
}

.hero-cta {
    padding: 0;
}

/* Fade and rise: each piece of copy settles in a beat after the one before it. */
.hero-reveal {
    opacity: 0;
    transform: translateY(32px);
}

.hero-swiper .swiper-slide-active .hero-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: 0.35s;
}

.hero-swiper .swiper-slide-active .hero-reveal + .hero-reveal {
    transition-delay: 0.6s;
}

.hero-swiper:not(.swiper-initialized) .hero-slide:first-child .hero-reveal {
    opacity: 1;
    transform: none;
}

/* A slow settle on the photo while its slide is showing. */
.hero-swiper .swiper-slide-active .hero-slide-image {
    animation: hero-settle 9s ease-out both;
}

@keyframes hero-settle {
    from {
        transform: scale(1.07);
    }

    to {
        transform: scale(1);
    }
}

.hero-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: stretch;
}

.hero-swiper .hero-controls .swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    gap: 26px;
    width: auto;
    padding: 0 32px;
    background: rgba(10, 12, 14, 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-swiper .hero-controls .swiper-pagination-bullet {
    position: relative;
    width: auto;
    height: auto;
    margin: 0;
    padding: 6px 0;
    border-radius: 0;
    background: none;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--alt-font);
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1;
    opacity: 1;
    transition: color 0.3s;
}

.hero-swiper .hero-controls .swiper-pagination-bullet::before {
    content: "0";
}

.hero-swiper .hero-controls .swiper-pagination-bullet::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--base-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.hero-swiper .hero-controls .swiper-pagination-bullet-active {
    color: #fff;
}

.hero-swiper .hero-controls .swiper-pagination-bullet-active::after {
    transform: scaleX(1);
}

.hero-swiper .hero-next {
    position: static;
    display: flex;
    width: auto;
    height: 96px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
}

.hero-swiper .hero-next::after {
    content: none;
}

.hero-next-number,
.hero-next-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 100%;
    transition: background-color 0.3s, color 0.3s;
}

.hero-next-number {
    background: var(--base-color);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.hero-next-arrow {
    background: #fff;
    color: #161616;
    font-size: 24px;
}

.hero-swiper .hero-next:hover .hero-next-arrow {
    background: #161616;
    color: #fff;
}

/* Tablet and phone: the photo shows in full at its own proportions, with the copy on a dark panel below. */
@media (max-width: 767.98px) {
    .hero-slider {
        padding-top: 90px;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
    }

    .hero-swiper .hero-slide {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .hero-swiper {
        flex: 1;
    }

    .hero-slide-image {
        position: static;
        display: block;
        aspect-ratio: 3 / 2;
        flex: none;
        height: auto;
        object-position: center;
    }

    .hero-slide-shade {
        display: none;
    }

    .hero-swiper .swiper-slide-active .hero-slide-image {
        animation: none;
    }

    .hero-slide-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 16px 20px 88px;
        text-align: center;
        background:
            radial-gradient(ellipse 85% 70% at 50% 35%, color-mix(in srgb, var(--base-color) 38%, transparent), transparent 70%),
            radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.5px) 0 0 / 16px 16px,
            linear-gradient(180deg, #2b2f36 0%, #181a1e 100%);
    }

    .hero-slider .hero-title {
        max-width: none;
        margin-bottom: 18px;
        font-size: clamp(48px, 14vw, 84px);
        line-height: 1;
    }

    .hero-controls {
        left: 0;
        justify-content: space-between;
    }

    .hero-swiper .hero-controls .swiper-pagination {
        flex: 1;
        justify-content: center;
        gap: 22px;
        padding: 0 16px;
    }

    .hero-swiper .hero-next,
    .hero-next-number,
    .hero-next-arrow {
        height: 72px;
    }

    .hero-next-number,
    .hero-next-arrow {
        width: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-reveal,
    .hero-swiper .swiper-slide-active .hero-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-swiper .swiper-slide-active .hero-slide-image {
        animation: none;
    }
}

/* Swiper injects its own chevron into the next button; the hero draws its own arrow. */
.hero-swiper .hero-next .swiper-navigation-icon {
    display: none;
}

.hero-swiper .hero-next {
    top: auto;
    margin-top: 0;
}

/* The template styles every .swiper-button-next as a vertically centred arrow; the hero's is part of a bar. */
.hero-swiper .hero-controls .hero-next {
    top: auto !important;
    margin: 0 !important;
    transform: none !important;
}

@media (min-width: 768px) {
    /* Leaves the template's fixed "Scroll" marker on the right edge clear. */
    .hero-controls {
        right: 72px;
    }
}

/* Short phones: tighten the copy so the controls stay inside the first screen. */
@media (max-width: 767.98px) and (max-height: 640px) {
    .hero-slide-body {
        padding: 10px 20px 76px;
    }

    .hero-slider .hero-title {
        margin-bottom: 10px;
        font-size: clamp(40px, 11vw, 60px);
    }

    .hero-swiper .hero-next,
    .hero-next-number,
    .hero-next-arrow {
        height: 60px;
    }
}
