[dir="rtl"] * {
    font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans Arabic', sans-serif !important;
}

.font-en {
    font-family: "Changan Uni Type", sans-serif !important;
}

#header.alt.sticky-trasparent .navbar-holder ul li a:hover {
    color: #FFF;
}

#header.alt.sticky-trasparent .btn-alt {
    color: #FFF;
    border-color: #FFF;
}

#header.alt.sticky-trasparent .btn-dark {
    background: #FFF;
}

#header.alt.sticky-trasparent .btn-dark:hover {
    color: #FFF;
    background: rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
}

#header.sticky-trasparent {
    /*background: #fff;*/
}

#header.sticky,
#header.sticky-trasparent {
    position: fixed;
}

#header.sticky-trasparent .logo img {
    /*filter: invert(0);*/
}

#header.sticky-trasparent .right_info ul li.location {
    border-color: rgba(0, 0, 0, 0.4);
}

#header.sticky-trasparent .right_info ul li.location a,
#header.sticky-trasparent .right_info ul li.lang>a,
#header.sticky-trasparent .right_info ul li.lang a img {
    /*filter: invert(0);*/
}

#header.sticky-trasparent .right_info ul>li a {
    color: #FFF;
}

#header.sticky-trasparent .right_info .btn-dark {
    /*color: #000;
    background: #FFF;*/
}

#header.sticky-trasparent .right_info .btn-dark:hover {
    color: #FFF;
    background: rgba(0, 0, 0, 0.15);
}

#header.sticky-trasparent .navbar .opener {
    color: #FFF;
}

#header.sticky-trasparent .navbar .open-close .nav-link.active {
    color: #FFF;
}

#header.sticky-trasparent .navbar .open-close .nav-link:hover {
    color: #FFF;
}

#header.sticky-trasparent .navbar-toggler::before,
#header.sticky-trasparent .navbar-toggler::after,
#header.sticky-trasparent .navbar-toggler.collapsed .navbar-toggler-icon {
    background: #FFF;
}

#header.menu-open {
    background: #fff;
}

@media all and (min-width: 993px) {
    #header.menu-open {
        position: fixed;
    }
}

#header.menu-open .logo img {
    filter: invert(0);
}

#header.menu-open .right_info ul li.location {
    border-color: rgba(0, 0, 0, 0.4);
}

#header.menu-open .right_info ul li.location a,
#header.menu-open .right_info ul li.lang>a,
#header.menu-open .right_info ul li.lang a img {
    filter: invert(0);
}

#header.menu-open .right_info ul>li a {
    color: #000;
}

#header.menu-open .right_info .btn-dark {
    color: #fff;
    background: #000;
}

#header.menu-open .right_info .btn-dark:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.15);
}

#header.menu-open .navbar .opener {
    color: #000;
}

#header.menu-open .navbar .open-close .nav-link.active {
    color: #000;
}

#header.menu-open .navbar .open-close .nav-link:hover {
    color: #000;
}

#header.menu-open .navbar-toggler::before,
#header.menu-open .navbar-toggler::after,
#header.menu-open .navbar-toggler.collapsed .navbar-toggler-icon {
    background: #000;
}

.journal-wrap h2 {
    margin: 0 6px 36px 6px;
}

.journal-slider .arrows {
    right: 6px;
}

[dir="rtl"] .journal-slider .arrows {
    left: 6px;
    right: auto;
    display: flex;
    flex-direction: row-reverse;
}

.overview-modal {
    padding-top: 17%;
}

.exterior-slider .carousel-item {
    height: 100vh;
}

@media all and (min-width: 993px) {
    .customize-product-wrap .custom-carousel .carousel-item {
        height: 100vh;
    }
}

.customize-product-wrap .custom-carousel .carousel-control-next,
.customize-product-wrap .custom-carousel .carousel-control-prev {
    background: transparent;
}

#img-carousel .carousel-inner .carousel-item img {
    width: 100%;
    height: auto;
}

.booking-modal {
    max-width: 50%;
    width: 33%;
}

@media (max-width: 1199.98px) {
    .booking-modal {
        width: 50%;
        max-width: 50%;
    }
}

@media (max-width: 991.98px) {
    .booking-modal {
        width: 100%;
        max-width: 100%;
    }
}

.booking-modal .form-holder .submit-holder .btn {
    font-size: 13px;
    height: 40px;
}

/* Dynamic Test Drive Calendar Styles */
.calendar-area .days li.empty {
    visibility: hidden;
}

.calendar-area .days li a {
    border-radius: 0.375rem !important;
}

.calendar-area .days li a:hover {
    border: 2px solid #1F1F1F !important;
}

.calendar-area .days li.selected {
    color: white;
    border-radius: 4px;
}

.calendar-area .days li.selected a {
    color: white;
    background: #1F1F1F !important;
}

.calendar-area .days li.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.calendar-area .days li.current-day {
    position: relative;
}

.calendar-area .days li.current-day::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #000;
    border-radius: 50%;
}

.calendar-area .slots li {
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-area .slots li.selected {
    background-color: #111827;
    color: white !important;
}

.calendar-area .arrows a {
    cursor: pointer;
    user-select: none;
}

.calendar-area .slot-head ul li {
    cursor: pointer;
}

/* Vehicle Color Gallery Configuration Styles */
.customize-product-wrap .options-box ul li {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.customize-product-wrap .options-box ul li a {
    border: 0px;
}

.customize-product-wrap .options-box ul li:hover {
    transform: scale(1.1);
}

.customize-product-wrap .options-box ul li.active {
    transform: scale(1.2);
}

.customize-product-wrap .options-box ul li.active a {
    border: 2px solid #fff;
}

.customize-product-wrap .switcher .switcher-link {
    font-weight: 600;
    text-align: center;
}

/* Vehicle Specs Modal Scrolling */
#vehicleSpecs .modal-body {
    overflow: hidden;
}

#vehicleSpecs .content-box ul {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

/* Custom scrollbar for the specs list */
#vehicleSpecs .content-box ul::-webkit-scrollbar {
    width: 6px;
}

#vehicleSpecs .content-box ul::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#vehicleSpecs .content-box ul::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#vehicleSpecs .content-box ul::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Location Finder Styles */
.location-indicator {
    display: none;
}

.location-finder .card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.location-finder .location-icon {
    font-size: 1.1em;
}

.location-finder #find-location-btn {
    min-width: 160px;
}

.location-finder .location-status {
    font-size: 0.9em;
}

.location-finder .nearest-location .location-details {
    line-height: 1.4;
}

/* Highlight nearest branch */
.accordion-item.nearest-brancha {
    border: 2px solid #28a745 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(40, 167, 69, 0.02) 100%);
}

.accordion-item.nearest-brancha .accordion-header {
    position: relative;
}

.accordion-item.nearest-brancha .accordion-button {
    background: rgba(40, 167, 69, 0.1);
    font-weight: 600;
}

.accordion-item.nearest-brancha .accordion-button:after {
    content: " 📍 NEAREST";
    color: #28a745;
    font-size: 0.8em;
    font-weight: bold;
    margin-left: 10px;
}

.accordion-item.nearest-branch .location-indicator {
    color: #28a745;
    display: block;
    margin-left: 20px;
}

/* Smooth transitions */
.accordion-item {
    transition: all 0.3s ease;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Scroll Snapping for Video Container Sections */
body.scroll-snap-enabled {
    scroll-behavior: smooth !important;
}

.video-container {
    min-height: 100vh;
    position: relative;
}

/* White SVG Price Symbol */
.price-symbol-white {
    filter: brightness(0) saturate(100%) invert(100%);
}

[dir="rtl"] .product-detail-wrap .box:first-child {
    border-width: 0;
}

[dir="rtl"] .product-detail-wrap .box {
    border-width: 0 1px 0 0;
}

[dir="rtl"] .slider-wrap .owl-carousel .owl-nav {
    left: 0;
    right: auto;
    display: flex;
}

[dir="rtl"] .slider-wrap .owl-carousel .owl-nav .owl-next {
    background: url(../images/arrow-prev.png) no-repeat;
}

[dir="rtl"] .slider-wrap .owl-carousel .owl-nav .owl-prev {
    background: url(../images/arrow-next.png) no-repeat;
}

.slider-wrap .owl-carousel .owl-nav .owl-next.disabled,
.slider-wrap .owl-carousel .owl-nav .owl-prev.disabled {
    opacity: 0.5;
    cursor: default;
}

[dir="rtl"] .nav-holder .carousel-nav {
    display: flex;
    flex-direction: row-reverse;
}

.brand-cat-wrap .brand-block video {
    width: 100%;
    height: 288px;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (max-width: 767px) {
    .brand-cat-wrap .brand-block video {
        height: 400px;
        margin-bottom: 28px;
    }
}

button[data-service-type="abbdf10d-3e2c-4742-91c1-21965ecf752c"],
button[data-service-type="3f07b262-e3f0-4fb7-aa94-0370cf6b8b3c"],
button[data-service-type="6e7c4f75-3229-4261-a28c-4db6a7b4a7d3"] {
    display: none;
}

.calendar-area .days-names li {
    width: 72px;
    text-align: center;
}

.calendar-area .days {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    margin-bottom: 40px;
}

.calendar-area .days li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 48px;
    float: left;
    padding: 2px;
    color: #595A5E;
}

.calendar-area .times-slots .slots {
    margin: 0;
    padding: 0;
    list-style: none;
}

.calendar-area .times-slots .slots li {
    color: #46484C;
    margin-bottom: 7px;
    border-radius: 6px;
    text-align: center;
}

#wrapper {
    overflow: visible !important;
}

.staircase-containers-wrapper {
    margin: 200px 0px 100px 0px;
}

.staircase-item {
    padding: 20px 30px;
    height: 300px;
    overflow: visible;
    align-self: flex-start;
    top: 300px !important;
    position: sticky !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.staircase-item:not(.staircase-item:last-child) {
    border-right: 1px solid #808080;
}

[dir="rtl"] .staircase-item:first-child {
    border-right: 0 !important;
}

[dir="rtl"] .staircase-item:not(.staircase-item:first-child) {
    border-right: 1px solid #808080;
}

.staircase-containers-wrapper {
    position: relative;
    align-items: flex-start;
}

@media (max-width: 767.98px) {
    .staircase-containers-wrapper {
        flex-direction: column !important;
        min-height: auto;
        padding: 0 15px;
    }

    .staircase-item {
        position: static !important;
        top: auto !important;
        width: 100%;
        margin-top: 30px;
        height: auto !important;
        min-height: auto;
        padding: 15px 20px;
    }

    .staircase-item:not(.staircase-item:first-child) {
        border-top: 1px solid #808080 !important;
        border-right: none !important;
        margin-top: 30px !important;
    }

    .staircase-item:first-child {
        margin-top: 0;
        border-top: none !important;
    }

    .staircase-item h2 {
        font-size: 32px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .staircase-containers-wrapper {
        flex-direction: column !important;
        min-height: auto;
    }

    .staircase-item {
        position: static !important;
        top: auto !important;
        width: 100%;
        margin-top: 40px;
        height: auto !important;
        min-height: auto;
    }

    .staircase-item:not(.staircase-item:first-child) {
        border-top: 1px solid #808080 !important;
        border-right: none !important;
        margin-top: 40px !important;
    }

    .staircase-item:first-child {
        margin-top: 0;
        border-top: none !important;
    }
}

@media (min-width: 992px) {
    .staircase-item {
        height: 300px !important;
    }
}

.staircase-item:first-child {
    opacity: 1;
    position: sticky;
    top: 0;
    margin-top: 0;
}

.staircase-item:nth-child(2) {
    opacity: 1;
    top: 0;
    margin-top: 340px;
}

.staircase-item:nth-child(3) {
    opacity: 1;
    top: 0;
    margin-top: 640px;
}

.staircase-item:nth-child(4) {
    opacity: 1;
    top: 0;
    margin-top: 940px;
}

.staircase-item h2 {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
}

.staircase-item p {
    font-size: 12px;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.03em;
    color: #000000;
}

.infinite-horizontal-scroll {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: #f8f9fa;
}

.infinite-horizontal-scroll .scroll-track {
    display: inline-flex;
    width: max-content;
    animation: scroll-left 30s linear infinite;
    -webkit-animation: scroll-left 30s linear infinite;
    /* iOS fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

[dir="rtl"] .infinite-horizontal-scroll .scroll-track {
    animation: scroll-right 30s linear infinite;
    -webkit-animation: scroll-right 30s linear infinite;
}

.infinite-horizontal-scroll .scroll-track .item {
    flex: 0 0 auto;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@-webkit-keyframes scroll-left {
    0% {
        -webkit-transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(-50%);
    }
}

/* Animation for RTL direction */
@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@-webkit-keyframes scroll-right {
    0% {
        -webkit-transform: translateX(-50%);
    }

    100% {
        -webkit-transform: translateX(0);
    }
}

form#user-login-form {
    margin-top: 100px;
}

.slider-wrap .owl-carousel .item .content-box {
    bottom: 0px;
}

.form-check-ar {
    display: flex;
    align-items: center;
}

.form-check-ar label {
    margin-right: 28px !important;
}

.slider-wrap .owl-carousel .item {
    height: auto;
    max-height: 500px;
}

@media all and (max-width: 992px) {
    .customize-product-wrap .custom-carousel .carousel-item img {
        object-fit: contain;
    }
}

.slider-wrap .owl-carousel .owl-nav {
    top: -70px;
}

.price-text.opacity img {
    filter: opacity(0.5);
}

[dir="rtl"] .modal .btn-close {
    left: 10px;
    right: auto;
}

[route="/user/login"] #block-deepal-content {
    height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

[route="/user/login"] #block-deepal-content>form#user-login-form input {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

[route="/user/login"] #block-deepal-content>form#user-login-form {
    --bs-card-spacer-y: 1rem;
    --bs-card-spacer-x: 1rem;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-title-color: ;
    --bs-card-subtitle-color: ;
    --bs-card-border-width: var(--bs-border-width);
    --bs-card-border-color: var(--bs-border-color-translucent);
    --bs-card-border-radius: var(--bs-border-radius);
    --bs-card-box-shadow: ;
    --bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    --bs-card-cap-padding-y: 0.5rem;
    --bs-card-cap-padding-x: 1rem;
    --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);
    --bs-card-cap-color: ;
    --bs-card-height: ;
    --bs-card-color: ;
    --bs-card-bg: var(--bs-body-bg);
    --bs-card-img-overlay-padding: 1rem;
    --bs-card-group-margin: 0.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: var(--bs-card-height);
    color: var(--bs-body-color);
    word-wrap: break-word;
    background-color: var(--bs-card-bg);
    background-clip: border-box;
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
    border-radius: var(--bs-card-border-radius);

    background-color: white;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
    padding: 3rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 500px;
}

[route="/user/login"] #block-deepal-content>form#user-login-form div {
    display: flex;
    flex-direction: column;
}

[route="/user/login"] #block-deepal-content>form#user-login-form>div:last-child {
    width: 100%;
    margin-top: 10px;
}

[route="/user/login"] #block-deepal-content>form#user-login-form>div:last-child input {
    width: 100%;
    background-color: black !important;
    color: white;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

[route="/user/login"] #block-deepal-content>form#user-login-form:nth-child(1)::before {
    content: "Welcome Back!";
    display: block;
    text-align: center;
    font-size: 1.75rem;
    font-weight: bold;
}

.video-container h2 {
    font-family: "FZLanTingHeiS-EL-GB", sans-serif;
}

#header.active .mobile-nav-holder {
    padding-top: 100px;
}

.sticky-features-display {
    top: 100px;
}

@media (max-width: 767px) {
    .video-container-sm {
        height: 310px;
    }

    .banner-sm {
        height: auto;
    }

    .sticky-features-display {
        top: 0px;
    }
}

#header.active .mobile-nav-holder ul li a {
    font-size: 20px;
    color: #FFF;
}

.slider-journal-wrap .journal-box p,
.home-about-wrap h2 {
    font-family: "FZLanTingHeiS-EL-GB", sans-serif;
}

.slider-wrap h2 {
    font-family: FZLanTingHeiS-DB-GB Regular;
    font-weight: 400;
    letter-spacing: -0.72px;
    line-height: 39.6px;
}