:root {
    --text-color: #ffffff;
    --main-gray: #fbfbfb;
    --lower-gray: #bbbbbb;
    --highlight-text-color: #2196F3;
    --main-color: #ffffff;
    --second-color: #000000;
    --radius: 15px;
    --radius-2x: 20px;
    --font-famiy: Peyda, DanaFanum, sans-serif;
    --title-font-famiy: Peyda, DanaFanum, sans-serif;
    --full-width: calc(100% - 40px);
    --header-width: calc(100% - 140px);
    --max-element-width: 1500px;
}

@font-face {
    font-family: 'Peyda';
    src: url('peyda-font/Peyda-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('peyda-font/Peyda-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('peyda-font/Peyda-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('peyda-font/Peyda-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Peyda';
    src: url('peyda-font/Peyda-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Product Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/productsans/v5/HYvgU2fE2nRJvZ5JFAumwegdm0LZdjqr5-oayXSOefg.woff2) format('woff2');
}


/* Regular font weight */

@font-face {
    font-family: 'DanaFanum';
    src: url('dana-fanum-regular.woff2') format('woff2');
    font-weight: 400;
    /* Normal weight */
    font-style: normal;
}


/* Bold font weight */

@font-face {
    font-family: 'DanaFanum';
    src: url('dana-fanum-bold.woff2') format('woff2');
    font-weight: 700;
    /* Bold weight */
    font-style: normal;
}


/* Black font weight */

@font-face {
    font-family: 'DanaFanum';
    src: url('dana-fanum-black.woff2') format('woff2');
    font-weight: 900;
    /* Bold weight */
    font-style: normal;
}

* {
    font-family: var(--font-famiy);
    -webkit-tap-highlight-color: #ffffff00;
    outline: none;
    transition: 1s;
}



/** mouse circle **/

.mouse-circle {
    position: fixed;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.342);
    border-radius: 50%;
    pointer-events: none;
    /* Ensure the circle doesn't interfere with mouse events */
    transition: 0.2s;
    opacity: 0;
    /* Start hidden */
    z-index: 4000;
}

.mouse-circle.hover {
    width: 70px;
    height: 70px;
    border: 2px solid rgba(0, 0, 0, 0.5);
}

body:not(:hover) .mouse-circle {
    opacity: 0;
}


/** animated in scroll **/

section {
    transition: 2s;
    animation-delay: 3s;
}

section.is-visible {
    opacity: 1;
    transform: translateY(0px);
}


/** header and menu **/

.hero-bg {
    position: absolute;
    opacity: 0.1;
    z-index: -30;
    width: 180%;
    top: -400px;
}

#overlay {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    border-radius: 20px;
    max-width: var(--header-width);
    margin: auto;
    position: fixed;
    top: 0;
    width: -webkit-fill-available;
    margin: 20px auto;
    right: 0;
    left: 0;
    z-index: 3000;
    backdrop-filter: blur(20px);
    /* background: #0000004a; */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-radius: 20px;
    max-width: var(--header-width);
    margin: auto;
    position: fixed;
    top: 0;
    width: -webkit-fill-available;
    margin: 20px auto;
    right: 0;
    left: 0;
    z-index: 3000;
    /* background: #dbdbdb;*/
}

#main-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    font-size: 16px;
}

#main-menu a {
    text-decoration: none;
    color: var(--text-color);
    padding: 20px 0;
    display: flex;
    white-space: nowrap;
}

.dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dropdown-toggle {
    display: block;
}

.dropdown-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dropdown-arrow img {
    width: 12px;
    margin: 2px 5px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: contrast(0) brightness(3);
}

.dropdown-menu {
    display: none;
    position: absolute;
    overflow: hidden;
    top: 100%;
    margin: 0px 0;
    background-color: #505050;
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    z-index: 1;
    color: #fff;
    padding: 10px 20px;
    flex-wrap: wrap;
    transition: 0.2s;
    transition-delay: 0s;
}

.dropdown-menu a {
    padding: 10px 15px !important;
    white-space: nowrap;
    color: #fff !important;
}

.dropdown:hover>.dropdown-menu {
    display: flex;
}

.dropdown:hover .dropdown-arrow img {
    transform: rotate(180deg);
}

button,
input,
textarea {
    background: #ffffff00;
    color: var(--main-gray);
    border: 1px solid var(--lower-gray);
    padding: 10px 15px;
    border-radius: var(--radius);
    /*! font-size: 18px; */
    margin: 5px;
    outline: 0px solid #0000000f;
}

button:hover {
    cursor: pointer;
    outline: 5px solid #0000000f;
}

.cta {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #000000;
    font-weight: 700;
}

.intro-btn {
    font-size: 16;
    border-radius: 30px;
}

.intro-btn img {
    width: 12px;
    object-fit: contain;
}

.btn-container {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.mobile-header-btn-container {
    display: none;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

.mobile-app,
.mobile-bottom-nav {
    display: none;
}

.logo {
    width: 200px;
    filter: contrast(0) brightness(3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 200;
    position: fixed;
    right: 40px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 3px 0;
}


/** hero section **/

.hero {
    margin: 20px;
    max-width: var(--full-width);
    width: 100%;
    max-width: 1200px;
    display: flex;
    transform: translateY(-20px);
    align-items: center;
}

.head-hero {
    margin: 0 auto 170px auto;
    text-align: center;
    max-width: 1300px;
    flex-direction: column;
    align-items: center;
    direction: rtl;
    justify-content: center;
    position: relative;
    z-index: 11;
}

.swiper-slide[data-index="0"] .head-hero {
    transform: translateY(-36px);
}

.body-hero {
    gap: 50px;
    direction: rtl;
}

.flex-partition {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 45%;
    align-items: flex-start;
}

.centered-hero {
    justify-content: center;
    text-align: center;
}

.centered-hero .flex-partition {
    align-items: center;
    width: min(780px, 100%);
}

.hero-title {
    font-size: 60px;
    margin: 20px 0;
    line-height: 1.35;
    letter-spacing: 0;
    font-weight: 900;
    font-family: var(--title-font-famiy);
    color: var(--text-color);
}

.hero-title-light {
    display: inline-block;
    font-weight: 400;
}

.hero-title-strong {
    display: inline-block;
    font-weight: 900;
}

.highlight {
    color: var(--highlight-text-color);
    font-family: var(--title-font-famiy);
    font-size: larger;
}

.hero p {
    font-size: 20px;
    margin: 30px auto;
    line-height: 30px;
    color: var(--text-color);
}

.head-hero p {
    max-width: 640px;
    text-align: center;
}

.hero-detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.hero-detail-row span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.hero>.btn-container>button {
    font-size: 18px;
    display: flex;
    align-items: center;
    align-content: space-between;
    gap: 10px;
    padding: 15px 20px;
    font-weight: bold;
}

h1 {
    font-size: 40px;
    margin: 10px 0;
}

.callout {
    width: 1000px;
    opacity: 0.75;
    filter: invert(1) hue-rotate(14deg);
    transform: translate(0px, 130px);
    scale: 1.1;
}

.flowchart {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 0;
    object-fit: cover;
    filter: invert(1);
    margin: 30px 0;
}

.main-slider {
    width: 100%;
    padding: 10px 0;
    max-height: 600px;
    mask: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(12, 12, 12, 1) 85%, rgba(255, 255, 255, 0) 100%);
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    max-width: 900px;
    width: calc(100% - 60px);
    height: fit-content;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: var(--lower-gray);
    /* box-shadow: 0px 0px 80px -50px #000000f2; */
}

.swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    margin: 20px 30px!important;
    display: inline-block;
    border-radius: 20px;
    background: #ffffff;
    opacity: 1;
    transition: .2s;
}

.swiper-pagination-bullet-active {
    height: 20px;
    border-radius: 20px;
}

.partners {
    text-align: center;
    margin: 50px auto;
    /* width: var(--header-width); */
    max-width: 100%;
}

.partners-grid {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 20px 50px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 50px 30px;
}

.partner-item img {
    width: 150px;
    opacity: 0.6;
}

.brand-carousel-container {
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 10px;
    transition: 0.2s;
    margin: auto;
    mask: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 20%, rgba(12, 12, 12, 1) 80%, rgba(255, 255, 255, 0) 100%);
}

.brand-carousel-container:hover .brand-carousel-track {
    filter: blur(5px);
}

.brand-carousel-container:hover .brand-carousel-see-more {
    opacity: 1;
    transform: translateY(0px);
}

.brand-carousel-see-more {
    z-index: 30;
    padding: 30px 0;
    cursor: pointer;
    opacity: 0;
    font-size: 18px;
    color: #33c;
    transform: translateY(-40px);
    position: absolute;
    text-align: center;
    transition: 0.4s;
    margin: auto;
    width: var(--full-width);
}

.brand-carousel-track {
    display: flex;
    gap: 20px;
    /* should be matched with js */
    will-change: transform;
}

.brand-carousel-item {
    flex: 0 0 auto;
    width: 190px;
    height: 100px;
    /* background-color: #eee; */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.tab-container {
    /* max-width: 700px; */
    margin: 50px auto;
    text-align: center;
    padding: 20px;
    background: #ededed;
}

.tab-buttons {
    display: flex;
    cursor: pointer;
    gap: 10px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 10px;
    max-width: 500px;
}

.tab-buttons div {
    padding: 10px 20px;
    background-color: #ffffff00;
    align-content: center;
    flex: 1;
    white-space: nowrap;
    border-radius: 15px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.tab-buttons div:hover {}

.tab-buttons .active {
    background-color: var(--main-color);
    color: #fff;
}

.tab-content {
    position: relative;
    padding: 20px;
    background-color: #fff0;
    height: 200px;
}

.tab-content div {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    align-items: center;
    justify-content: center;
}

.tab-content .active {
    opacity: 1;
    visibility: visible;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.faq-question {
    margin: 0;
    padding: 15px;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-arrow {
    width: 16px;
    height: 20px;
    background-image: url('arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: #f1f1f1;
    margin: 0;
    padding: 0 15px;
    transition: max-height 0.3s ease;
    border-radius: 20px;
}

.faq-answer p {
    margin: 15px 0;
    font-size: 18;
    padding: 20px;
    line-height: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust based on content */
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

footer {
    width: var(--full-width);
    margin: 20px auto;
    border-radius: var(--radius-2x);
}

.inner-container {
    margin: auto;
    max-width: 1000px;
    display: flex;
    flex-wrap: nowrap;
    gap: 100px;
    justify-content: center;
}

.info-container {
    display: flex;
    flex-direction: column;
    width: 30%;
    justify-content: center;
}

.link-container {
    display: flex;
    margin: 20px 0;
    gap: 20px;
    width: 70%;
}

.link-box {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.link-box a {
    text-decoration: none;
    color: var(--main-gray);
    padding: 8px
}

.link-box>.title {
    color: var(--main-color);
    font-weight: bold;
}


/* Reset body margins and paddings */

body,
html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #1c1c1d;
}


/* Fullscreen 3D model viewer */

model-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hotspot-btn {
    display: none;
}


/* Swiper container styling */

.swiper-container {
    position: fixed;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    overflow: hidden;
    touch-action: pan-y;
    overscroll-behavior: none;
}

.swiper-wrapper {
    height: 270px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    font-size: 16px;
    color: #ffffff;
    background: transparent;
    height: 100% !important;
    min-height: 100vh;
    width: 100% !important;
    max-width: unset;
    box-sizing: border-box;
    position: relative;
    will-change: transform;
}

.swiper-slide > * {
    opacity: 0.0;
    filter: blur(18px);
    transform: translate3d(0, 44px, 0) scale(0.975);
    transition: opacity 0.82s ease, filter 0.82s ease, transform 0.82s ease;
    transition-delay: 0.2s;
    will-change: opacity, filter, transform;
    backface-visibility: hidden;
}

.swiper-slide-active > *,
.swiper-slide.is-current-slide > *,
.swiper-slide-fully-visible > * {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
    transition-delay: 0.2s;
}

.swiper-slide-prev > *,
.swiper-slide-next > * {
    opacity: 0;
    filter: blur(24px);
    transform: translate3d(0, -28px, 0) scale(0.965);
    transition-delay: .2s;
}

.light-slide-active #main-menu a,
.light-slide-active .dropdown-arrow img,
.light-slide-active .logo,
.light-slide-active .hamburger span,
.light-slide-active .desktop-only .cta {
    color: #101114;
    filter: none;
}

.light-slide-active .desktop-only .cta {
    border-color: #101114;
    background: #101114;
    color: #ffffff;
}

.light-slide-active #overlay {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px);
}

.swiper-slide[data-index="4"] {
    background: #ffffff;
    color: #101114;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

.inventory-showcase {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    padding: 140px 48px 90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
    background: transparent;
    color: #101114;
    scrollbar-width: thin;
    scrollbar-color: #111827 #eceff3;
}

.inventory-header {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.inventory-eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 8px;
    background: #edf4ff;
    color: #155dfc;
    font-weight: 700;
    margin-bottom: 14px;
}

.inventory-header h1,
.inventory-header p,
.inventory-block-header h2,
.inventory-block-header span,
.car-card h3,
.car-card p {
    color: #101114;
}

.inventory-header h1 {
    font-size: clamp(34px, 4.2vw, 52px);
    line-height: 1.2;
    margin: 0 0 12px;
    max-width: 940px;
}

.inventory-header p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.9;
}

.inventory-controls {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.inventory-search {
    min-width: min(100%, 420px);
    height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d6deea;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.inventory-search svg {
    width: 20px;
    height: 20px;
    fill: #101114;
    flex: 0 0 auto;
}

.inventory-search input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #101114;
    margin: 0;
    padding: 0;
    font-size: 15px;
}

.inventory-search input::placeholder {
    color: #7c8798;
}

.inventory-tabs {
    position: relative;
    height: 52px;
    padding: 4px;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border: 1px solid #d6deea;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.inventory-tab-glider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 4px;
    width: calc(50% - 4px);
    border-radius: 999px;
    background: #000000;
    transition: transform 0.28s ease;
}

.inventory-tab {
    position: relative;
    z-index: 1;
    min-width: 150px;
    height: 44px;
    margin: 0;
    border: 0;
    border-radius: 999px;
    color: #101114;
    font-size: 14px;
    font-weight: 700;
    background: transparent;
}

.inventory-tab.is-active {
    color: #ffffff;
}

.inventory-tabs.is-seller .inventory-tab-glider,
.inventory-tabs:has(.inventory-tab:nth-of-type(2).is-active) .inventory-tab-glider {
    transform: translateX(-100%);
}

.inventory-carousel-block[hidden],
.inventory-swiper .swiper-slide[hidden] {
    display: none !important;
}

.inventory-benefit strong {
    font-size: 16px;
    color: #101114;
}

.inventory-benefit span {
    font-size: 14px;
    line-height: 1.7;
    color: #5b6472;
}

.inventory-carousels {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.inventory-carousel-block {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 4px 0 10px;
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
}

.inventory-block-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.inventory-block-header h2 {
    margin: 0;
    font-size: 26px;
}

.inventory-block-header span {
    font-size: 15px;
    opacity: 0.72;
}

.inventory-swiper {
    width: 100%;
    overflow: hidden;
    padding: 8px 0 12px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    touch-action: pan-x;
    cursor: grab;
}

.inventory-swiper:active {
    cursor: grabbing;
}

.inventory-swiper .swiper-wrapper {
    height: auto;
    align-items: stretch;
}

.inventory-swiper .swiper-slide {
    display: block;
    height: auto !important;
    min-height: 0;
    width: clamp(280px, 28vw, 360px) !important;
    padding: 0 0 12px;
    color: #101114;
    background: transparent;
    flex-shrink: 0;
    aspect-ratio: auto;
    border-radius: 0;
    box-sizing: border-box;
}

.inventory-swiper .swiper-slide > * {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
}

.car-card {
    position: relative;
    isolation: isolate;
    background: #111827;
    border: 0;
    outline: 0;
    border-radius: 30px;
    width: 100%;
    height: 430px;
    overflow: hidden;
    box-shadow: none;
    transform: translateZ(0);
}

.car-card::after {
    content: "";
    position: absolute;
    inset: 52% 0 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7, 11, 18, 0), rgba(7, 11, 18, 0.34) 34%, rgba(7, 11, 18, 0.9) 100%);
    pointer-events: none;
}

.car-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #dfe7ef;
    transition: transform 0.7s ease, filter 0.7s ease;
}

.car-card:hover img {
    transform: scale(1.055);
    filter: saturate(1.08) contrast(1.02);
}

.car-card-body {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(8, 13, 22, 0), rgba(8, 13, 22, 0.24));
    backdrop-filter: blur(8px);
    border-top: 0;
}

.car-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.car-chip {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #101114;
    font-size: 12px;
    font-weight: 700;
}

.car-status {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    white-space: nowrap;
}

.car-card h3 {
    margin: 4px 0 0;
    font-size: 24px;
    line-height: 1.15;
    color: #ffffff;
}

.car-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

.car-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.car-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.car-card-action,
.inventory-link {
    border: 1px solid #d6deea;
    border-radius: 999px;
    color: #101114;
    background: #ffffff;
    font-weight: 700;
}

.car-card-action {
    align-self: flex-start;
    margin: 6px 0 0;
    padding: 9px 12px;
    font-size: 15px;
    color: #101114;
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.85);
}

.inventory-pagination {
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    bottom: 8px !important;
    text-align: center;
}

.inventory-pagination .swiper-pagination-bullet {
    background: #c6cfda;
    margin: 0 5px !important;
    width: 10px;
    height: 10px;
}

.inventory-pagination .swiper-pagination-bullet-active {
    background: #101114;
    height: 10px;
}

/* Car detail / financing modal */

body.modal-open {
    overflow: hidden;
}

.car-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.car-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.car-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 12, 20, 0.68);
    backdrop-filter: blur(18px);
}

.car-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    background: transparent;
    color: #101114;
    border: 0;
    border-radius: 0;
    display: block;
    box-shadow: none;
    transform: translateY(24px) scale(0.97);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    scrollbar-width: thin;
    scrollbar-color: #101114 #eceff3;
}

.car-modal.is-open .car-modal-dialog {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.car-modal-close {
    position: absolute;
    top: 24px;
    right: max(24px, calc((100vw - 1320px) / 2));
    z-index: 5;
    padding: 9px 16px;
    margin: 0;
    border-radius: 999px;
    border: 1px solid rgba(16, 17, 20, 0.08);
    background: rgba(255, 255, 255, 0.82);
    color: #101114;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.car-modal-close:hover {
    background: #ffffff;
}

.car-modal-scroll {
    width: min(1320px, calc(100% - 48px));
    height: 100vh;
    max-height: 100vh;
    margin: 0 auto;
    padding: 78px 0 34px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: minmax(380px, 44%) minmax(0, 1fr);
    gap: 22px;
    scrollbar-width: thin;
    scrollbar-color: #101114 transparent;
}

.car-modal-media {
    position: relative;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 26px;
    padding: 12px;
    min-height: 0;
    align-self: stretch;
    overflow: hidden;
    backdrop-filter: blur(18px);
}

.car-modal-gallery {
    width: 100%;
    height: min(52vh, 560px);
    min-height: 360px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
}

.car-modal-gallery .swiper-slide {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    aspect-ratio: auto;
}

.car-modal-gallery .swiper-slide > * {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
}

.car-modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.car-modal-gallery-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px !important;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.car-modal-gallery-pagination .swiper-pagination-bullet {
    width: 24px;
    height: 4px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    opacity: 1;
}

.car-modal-gallery-pagination .swiper-pagination-bullet-active {
    background: #ffffff;
}

.car-modal-specs {
    margin-top: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
}

.car-modal-spec-title {
    margin-bottom: 12px;
    color: #101114;
    font-size: 16px;
    font-weight: 800;
}

.car-modal-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.car-modal-spec-grid span {
    min-height: 42px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 14px;
    background: rgba(16, 17, 20, 0.06);
    color: #101114;
}

.car-modal-spec-grid svg {
    width: 22px;
    height: 22px;
    fill: #155dfc;
    flex: 0 0 auto;
}

.car-modal-spec-grid b {
    font-size: 13px;
    line-height: 1.45;
}

.car-modal-content {
    padding: 34px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 26px;
    backdrop-filter: blur(18px);
}

.car-modal-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(21, 93, 252, 0.1);
    color: #155dfc;
    font-size: 13px;
    font-weight: 700;
}

.car-modal-content h2 {
    margin: 0;
    font-size: 30px;
    color: #101114;
}

.car-modal-range {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #155dfc;
}

.car-modal-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: #4b5565;
}

.car-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 10px;
}

.car-modal-panel {
    background: transparent;
    border: 1px solid rgba(16, 17, 20, 0.1);
    border-radius: 24px;
    padding: 18px 20px;
}

.car-modal-panel h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #101114;
}

.car-modal-panel-wide {
    grid-column: 1 / -1;
}

.car-modal-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: #37414f;
}

.car-modal-list li {
    padding-right: 20px;
    position: relative;
}

.car-modal-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #155dfc;
}

.loan-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.loan-summary > div {
    background: transparent;
    border: 1px solid rgba(16, 17, 20, 0.08);
    border-radius: 18px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.loan-summary span {
    font-size: 12px;
    color: #7c8798;
}

.loan-summary strong {
    font-size: 16px;
    color: #101114;
}

.catalog-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 18px;
    background: transparent;
    border: 1px solid rgba(16, 17, 20, 0.08);
    font-size: 14px;
}

.catalog-row span {
    color: #7c8798;
}

.catalog-row strong {
    color: #101114;
    font-weight: 700;
}

/* Hero title styling */

.slide-title {
    font-size: 2em;
    margin-bottom: 10px;
}

.slide-description {
    font-size: 1.2em;
}


/*    Mobile devices (less than 768px)   */

@media (max-width: 767.98px) {
    body,
    html {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        scroll-behavior: smooth;
        background: #ffffff;
    }
    body {
        color: #101114;
    }
    header,
    #overlay,
    #modelViewer,
    .swiper-container {
        display: none !important;
    }
    #mobileModelViewer {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
        opacity: 1;
    }
    .mobile-app {
        display: block;
    }
    .m-hero {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100vh;
        min-height: 100vh;
        padding: 30px;
        background: #1c1c1d;
        overflow: hidden;
        box-sizing: border-box;
    }
    .m-hero > *:not(#mobileModelViewer) {
        position: relative;
        z-index: 1;
    }
    .m-topbar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 22px 25px 0;
    }
    .m-logo {
        width: 126px;
        filter: contrast(0) brightness(3);
    }
    .m-hamburger {
        width: 38px;
        height: 38px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: none;
        background: transparent;
        border-radius: 999px;
        cursor: pointer;
        padding: 0;
    }
    .m-hamburger span {
        width: 18px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
        display: block;
    }
    .m-menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: #141414;
        flex-direction: column;
        padding: 0;
        direction: rtl;
    }
    .m-menu-overlay.is-open {
        display: flex;
    }
    .m-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 22px 30px;
    }
    .m-menu-header .m-logo {
        filter: contrast(0) brightness(3);
    }
    .m-menu-close {
        background: none;
        border: none;
        color: #ffffff;
        cursor: pointer;
        padding: 0;
        display: flex;
    }
    .m-menu-nav {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 10px 30px;
        gap: 6px;
        overflow-y: auto;
    }
    .m-menu-nav > a,
    .m-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        font-size: 17px;
        font-weight: 600;
        color: #ffffff;
        text-decoration: none;
        border-radius: 12px;
        transition: background 0.2s;
    }
    .m-menu-nav > a:active,
    .m-dropdown-toggle:active {
        background: rgba(255, 255, 255, 0.08);
    }
    .m-dropdown-toggle svg {
        transition: transform 0.25s ease;
    }
    .m-dropdown-toggle.is-open svg {
        transform: rotate(180deg);
    }
    .m-dropdown-menu {
        display: none;
        flex-direction: column;
        padding: 0 20px 10px;
    }
    .m-dropdown-menu.is-open {
        display: flex;
    }
    .m-dropdown-menu a {
        padding: 12px 20px;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        border-radius: 10px;
    }
    .m-menu-btns {
        padding: 20px 30px 40px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .m-menu-btns .m-btn {
        width: 100%;
        min-height: 50px;
    }
    .m-menu-btns .m-btn-outline {
        background: rgba(255, 255, 255, 0.1);
    }
    .m-hero-body {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        align-content: center;
        justify-content: center;
        margin-top: 300px;
    }
    .m-eyebrow {
        display: inline-flex;
        align-self: flex-start;
        padding: 7px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff;
        font-size: 12px;
        font-weight: 800;
        backdrop-filter: blur(10px);
        margin: auto;
    }
    .m-hero-title {
        margin: 14px 0 10px;
        color: #ffffff;
        font-size: 35px;
        line-height: 1.22;
        font-weight: 900;
    }
    .m-hero-title span {
        display: block;
        font-weight: 400;
    }
    .m-hero-body p {
        margin: 0 0 18px;
        color: rgba(255, 255, 255, 0.86);
        font-size: 15px;
        line-height: 1.8;
    }
    .m-hero-actions {
        display: flex;
        gap: 5px;
        flex-wrap: nowrap;
    }
    .m-btn {
        min-height: 46px;
        padding: 0 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 800;
        gap: 8px;
        border: none;
        cursor: pointer;
        color: #101114;
        background: transparent;
    }
    .m-btn-primary {
        background: #ffffff;
        color: #101114;
    }
    .m-btn-outline {
        /* background: rgba(255, 255, 255, 0.13); */
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.18);
    }
    .m-inv-carousels[data-active="seller"] [data-group="available"] {
        display: none;
    }
    .m-inv-carousels[data-active="available"] [data-group="seller"] {
        display: none;
    }
    .m-swiper-section {
        background: linear-gradient(180deg, rgb(28 28 29) 10%, rgba(70, 73, 166, 1) 59%, rgba(255, 255, 255, 1) 97%);
        min-height: 50vh;
        display: flex;
        align-items: center;
        padding: 40px 24px;
        overflow: hidden;
        transform: translate(0px, -10px) !important;
    }
    .m-body-swiper {
        width: 100%;
        overflow: hidden;
        direction: rtl;
    }
    .m-body-swiper .swiper-wrapper {
        align-items: stretch;
    }
    .m-body-swiper .swiper-slide {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        height: auto !important;
        min-height: clamp(360px, 58vh, 520px) !important;
        width: 100% !important;
        max-width: none;
        aspect-ratio: auto;
        border-radius: 0;
        padding: 10px 4px !important;
        box-sizing: border-box;
    }
    .m-body-swiper .swiper-slide > * {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
    }
    .m-slide-inner {
        text-align: center;
        direction: rtl;
        color: #ffffff;
        width: 100%;
    }
    .m-slide-label {
        color: #2196F3;
        font-size: 13px;
        font-weight: 700;
        display: block;
        margin-bottom: 8px;
    }
    .m-slide-inner h2 {
        font-size: 24px;
        margin: 14px 0;
        color: #ffffff;
        line-height: 1.35;
    }
    .m-slide-inner p {
        font-size: 16px;
        line-height: 1.9;
        color: rgba(255, 255, 255, 0.85);
        margin: 0 0 20px;
    }
    .m-slide-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-bottom: 20px;
    }
    .m-slide-tags span {
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.9);
        font-size: 12px;
        border: 1px solid rgba(255, 255, 255, 0.14);
    }
    .m-btn-ghost {
        background: transparent;
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    .m-swiper-section .swiper-pagination {
        position: relative;
        bottom: auto;
        margin-top: 20px;
    }
    .m-swiper-section .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 6px !important;
        background: rgba(255, 255, 255, 0.4);
    }
    .m-swiper-section .swiper-pagination-bullet-active {
        background: #ffffff;
        height: 8px;
    }
    .m-inventory {
        padding: 40px 30px;
        background: #ffffff;
    }
    .m-inv-header {
        text-align: center;
        margin-bottom: 24px;
    }
    .m-inv-eyebrow {
        display: inline-flex;
        padding: 8px 14px;
        border-radius: 8px;
        background: #edf4ff;
        color: #155dfc;
        font-weight: 700;
        margin-bottom: 14px;
        font-size: 12px;
    }
    .m-inv-header h2 {
        font-size: 23px;
        line-height: 1.35;
        margin: 0 0 12px;
        color: #101114;
    }
    .m-inv-header p {
        font-size: 15px;
        line-height: 1.8;
        color: #5b6472;
        margin: 0;
    }
    .m-inv-controls {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }
    .m-inv-search {
        display: flex;
        align-items: center;
        gap: 10px;
        height: 48px;
        padding: 0 16px;
        border: 1px solid #d6deea;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.72);
    }
    .m-inv-search svg {
        width: 18px;
        height: 18px;
        fill: #101114;
        flex: 0 0 auto;
    }
    .m-inv-search input {
        width: 100%;
        border: 0;
        background: transparent;
        color: #101114;
        font-size: 14px;
        margin: 0;
        padding: 0;
    }
    .m-inv-search input::placeholder {
        color: #7c8798;
    }
    .m-inv-tabs {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: 48px;
        padding: 4px;
        border: 1px solid #d6deea;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.72);
        overflow: hidden;
    }
    .m-inv-glider {
        position: absolute;
        top: 4px;
        bottom: 4px;
        right: 4px;
        width: calc(50% - 4px);
        border-radius: 999px;
        background: #000000;
        transition: transform 0.28s ease;
    }
    .m-inv-tab {
        position: relative;
        z-index: 1;
        border: 0;
        border-radius: 999px;
        color: #101114;
        font-size: 13px;
        font-weight: 700;
        background: transparent;
        cursor: pointer;
    }
    .m-inv-tab.is-active {
        color: #ffffff;
    }
    .m-inv-tabs:has(.m-inv-tab:nth-of-type(2).is-active) .m-inv-glider {
        transform: translateX(-100%);
    }
    .m-inv-carousel-block {
        margin-bottom: 28px;
        overflow: hidden;
    }
    .m-inv-group-header {
        margin-bottom: 14px;
        padding: 0 4px;
    }
    .m-inv-group-header h3 {
        margin: 0;
        font-size: 18px;
        color: #101114;
    }
    .m-inv-group-header span {
        font-size: 13px;
        color: #6b7280;
    }
    .m-inv-swiper {
        width: 100%;
        overflow: visible;
        direction: rtl;
        padding-inline: 2px 20px;
        box-sizing: border-box;
    }
    .m-inv-swiper .swiper-slide {
        width: clamp(220px, 72vw, 280px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-width: none;
        aspect-ratio: auto;
        border-radius: 0;
        background: transparent;
        padding: 0 !important;
        box-sizing: border-box;
    }
    .m-inv-swiper .swiper-slide > * {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
    }
    .m-inv-swiper .swiper-wrapper {
        align-items: stretch;
    }
    .m-car-card {
        width: 100%;
        height: 100%;
        border-radius: 18px;
        background: rgba(16, 17, 20, 0.035);
        cursor: pointer;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    .m-car-card img {
        width: 100%;
        height: 140px;
        object-fit: cover;
        display: block;
    }
    .m-car-body {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 12px 14px 14px;
    }
    .m-car-chip {
        display: inline-flex;
        align-self: flex-start;
        padding: 4px 8px;
        border-radius: 999px;
        background: rgba(21, 93, 252, 0.1);
        color: #155dfc;
        font-size: 11px;
        font-weight: 800;
    }
    .m-car-body h4 {
        margin: 0;
        color: #101114;
        font-size: 16px;
        line-height: 1.2;
    }
    .m-car-body p {
        margin: 0;
        color: #6b7280;
        font-size: 12px;
    }
    .m-car-meta {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
    }
    .m-car-meta span {
        padding: 3px 8px;
        border-radius: 999px;
        background: rgba(16, 17, 20, 0.06);
        color: #374151;
        font-size: 11px;
    }
    .m-footer {
        padding: 50px 30px 30px;
        background: #ffffff;
        text-align: center;
    }
    .m-footer-logo {
        width: 140px;
        margin-bottom: 14px;
    }
    .m-footer-desc {
        font-size: 14px;
        color: #6b7280;
        line-height: 1.9;
        margin: 0 auto 24px;
        max-width: 320px;
    }
    .m-footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .m-footer-row {
        display: flex;
        justify-content: center;
        gap: 16px;
    }
    .m-footer-row a {
        color: #374151;
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
    }
    .m-footer-copy {
        font-size: 12px;
        color: #9ca3af;
        margin: 20px 0 0;
    }
    .mouse-circle {
        display: none;
    }
    /** header and menu **/
    #overlay {
        top: 0;
        padding: 33px 0;
        margin: 18px;
        max-width: 100%;
    }
    header {
        padding: 22px;
        margin: 0;
        max-width: 100%;
    }
    #main-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        opacity: 0;
        width: 0px;
        overflow: hidden;
        height: calc(100% - 100px);
        backdrop-filter: blur(10px);
        background-color: #141414;
        flex-direction: column;
        gap: 10px;
        padding: 100px 0 0 0;
        transition: 0.2s ease;
        transition-delay: 0.2s;
        z-index: 100;
    }
    #main-menu a {
        padding: 15px 20px;
        font-size: 18px;
    }
    .hamburger {
        display: flex;
    }
    header.active #main-menu {
        width: var(--full-width);
        display: flex;
        opacity: 1;
        filter: blur(0px);
        padding: 100 20px 0 20px;
    }
    .dropdown-menu {
        width: 100%;
        display: none;
        position: static;
        box-shadow: none;
        padding: 0;
        overflow: hidden;
        background: #c2c2c263;
        flex-wrap: wrap;
        align-items: center;
        flex-direction: column;
    }
    .dropdown-arrow {
        display: flex;
    }
    .dropdown-menu.active {
        display: flex !important;
    }
    .dropdown-arrow img {
        transform: rotate(0deg);
    }
    .dropdown-menu a {
        color: #000 !important;
    }
    .dropdown-arrow.active img {
        transform: rotate(180deg);
    }
    .dropdown:hover>.dropdown-menu {
    }
    .mobile-header-btn-container {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: calc(100% - 40px);
        position: fixed;
        bottom: 0;
    }
    .mobile-header-btn-container button {
        width: 100%
    }
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: unset;
    }
    .logo {
        width: 120px;
        mix-blend-mode: darken;
        padding: 10px;
    }
    .faq-question {
        font-size: 16px;
        padding: 10px;
    }
    .car-modal {
        padding: 0;
    }
    .car-modal-dialog {
        max-height: 100vh;
        height: 100%;
        border-radius: 0;
        width: 100%;
    }
    .car-modal-scroll {
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
        height: 100vh;
        max-height: 100vh;
        padding: 64px 0 18px;
        gap: 14px;
    }
    .car-modal-media {
        min-height: 0;
        border-radius: 22px;
        padding: 10px;
    }
    .car-modal-gallery {
        min-height: 260px;
        height: 38vh;
        border-radius: 16px;
    }
    .car-modal-spec-grid {
        grid-template-columns: 1fr;
    }
    .car-modal-content {
        padding: 26px 20px 40px;
        border-radius: 22px;
    }
    .car-modal-content h2 {
        font-size: 24px;
    }
    .car-modal-grid {
        grid-template-columns: 1fr;
    }
    .loan-summary {
        grid-template-columns: 1fr 1fr;
    }
    .car-modal-close {
        top: 14px;
        right: 14px;
    }
    body.modal-open {
        overflow: hidden !important;
    }
}


/* Mini laptops and tablets (768px to 1199.98px) */

@media (min-width: 768px) and (max-width: 1199.98px) {}

@media screen and (min-width: 768px) and (max-width: 1600px) {
    .hero {
        scale: 0.9 !important;
    }
    footer {
        transform: scale(0.9);
        transform-origin: bottom;
    }
}


/* Large devices (1200px and up) */

@media (min-width: 1200px) {}
