/* vehicle-single.css - Stilizare pentru pagina individuală de vehicul */

.cipauto-single-vehicle {
    padding-bottom: 0px;
}

/* Header vehicul */
.cipauto-vehicle-header {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    width: 100%;
    padding: 24px 0;
    align-items: center;
    gap: 24px;
}

.cipauto-vehicle-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 0 0 calc(50% - 12px);
    width: calc(50% - 12px);
    justify-content: space-between;
}

.cipauto-vehicle-brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cipauto-vehicle-price-block {
    display: flex;
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    border-radius: 6px;
    background: #00E5B9;
}

.cipauto-vehicle-brand-logo img {
    max-height: 86px;
    min-width: 100px;
}

.cipauto-vehicle-title {
    color: #000;
    font-family: Jost;
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: 120%; /* 43.2px */
    margin: 0;
}

.cipauto-vehicle-year {
    color: #000;
    font-family: Jost;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin: 0;
}

.cipauto-vehicle-price-block .price {
    color: #000;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 16px;
}

.cipauto-vehicle-price-block .monthly {
    color: #000;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
}

.cipauto-vehicle-price-block .monthly > span {
    color: #000;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 12px; /* 100% */
}

.cipauto-vehicle-price-block .price-info {
    color: #000;
    font-family: Jost;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 10px; /* 116.667% */
}

.cipauto-vehicle-right-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
}

.cipauto-vehicle-specs-first {
    align-self: stretch;
    color: #000;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
}

.cipauto-vehicle-specs-first,
.cipauto-vehicle-specs-second {
    display: flex;
    flex-direction: row; 
    flex-wrap: nowrap; 
    gap: 0 5px; 
    align-items: center;
    line-height: 20px;
}

.cipauto-vehicle-specs-first {
    line-height: 16px;
}

.cipauto-vehicle-specs-first > .cipauto-spec::after,
.cipauto-vehicle-specs-second > .cipauto-spec::after {
    content: " · ";
    margin: 0 2px;
    color: #000;
    font-weight: 400;
}

.cipauto-vehicle-specs-first > .cipauto-spec:last-of-type::after,
.cipauto-vehicle-specs-second > .cipauto-spec:last-of-type::after {
    content: "" !important;
}

.cipauto-spec:has(+ .cipauto-vehicle-code)::after {
    display: none !important;
}

.cipauto-vehicle-specs-first .cipauto-spec {
    white-space: nowrap;
}

.cipauto-vehicle-specs-first .spec-label {
    color: #000;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.cipauto-vehicle-specs-second .cipauto-spec {
    white-space: nowrap;
}

.cipauto-vehicle-specs-second .spec-label {
    color: #000;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.cipauto-vehicle-code {
    display: flex;
    padding: 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 6px;
    background: #F3F3F3;
}

.cipauto-vehicle-code.vincode-mobile {
    display: none;
}

.cipauto-vehicle-code .code-label {
    color: #000;
    text-align: center;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
}

.cipauto-vehicle-code .code-value {
    color: #000;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 14px;
}

/* Stiluri pentru secțiunea de contact */
.cipauto-contact-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cipauto-contact-section-mobile {
    display: none;
}

.cipauto-contact-section-mobile .cipauto-contact-avatars-wrapper {
    display: flex;
}

.cipauto-contact-section .contact-label {
    color: #000;
    margin-top: 6px;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.cipauto-contact-section .contact-department {
    color: #000;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* Stiluri pentru avatare */
.cipauto-contact-avatars {
    display: flex;
    align-items: center;
}

.cipauto-contact-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #fff;
    margin-left: -8px; /* Pentru suprapunere */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cipauto-contact-avatars img:first-child {
    margin-left: 0;
}

.cipauto-contact-section-mobile .cipauto-contact-avatars img {
    margin-left: -14px;
}

.cipauto-contact-section-mobile .cipauto-contact-avatars img:first-child {
    margin-left: 0;
}

.cipauto-contact-section-mobile .cipauto-contact-telegram {
    background-color: #0088CC;
}

.cipauto-contact-section-mobile .cipauto-contact-viber {
    background-color: #7360F2;
}

.cipauto-contact-section-mobile .cipauto-contact-whatsapp {
    background-color: #25D366;
}

.cipauto-contact-section-mobile .cipauto-contact-phone {
    background-color: #3B00DD;
}

.cipauto-contact-section-mobile .cipauto-contact-telegram svg path,
.cipauto-contact-section-mobile .cipauto-contact-viber svg path,
.cipauto-contact-section-mobile .cipauto-contact-whatsapp svg path,
.cipauto-contact-section-mobile .cipauto-contact-phone svg path {
    fill: #ffffff;
}

.cipauto-contact-section-mobile .cipauto-contact-buttons {
    margin-bottom: 0;
    gap: 4px;
}

/* Stiluri pentru informațiile de contact */
.cipauto-contact-info {
    display: flex;
    flex-direction: column;
}

/* Stiluri pentru butoanele de contact */
.cipauto-contact-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    justify-content: end;
}

.cipauto-contact-phone,
.cipauto-contact-viber,
.cipauto-contact-whatsapp,
.cipauto-contact-telegram {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 4px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: #00E5B9;
}

.cipauto-contact-phone svg,
.cipauto-contact-viber svg,
.cipauto-contact-whatsapp svg,
.cipauto-contact-telegram svg {
    width: 20px;
    height: 20px;
    color: #3B00DD;
}

.cipauto-contact-section-mobile .section-title {
    color: #000;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 0;
}

.cipauto-contact-section-mobile .contact-label {
    color: #000;
    font-family: Jost;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

/* Stiluri pentru numărul de telefon */
.cipauto-contact-phone-number {
    display: flex;
    justify-content: flex-end;
}

.cipauto-contact-phone-number a {
    text-decoration: none;
    color: #3B00DD;
    text-align: center;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.cipauto-contact-phone-number a > span {
    font-weight: 700;
}

/* Stiluri responsive */
@media (max-width: 768px) {
    .cipauto-contact-section {
        display: none;
    }

    .cipauto-contact-section-mobile {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        width: 100%;
        position: fixed;
        bottom: 0;
        background-color: #ffffff;
        padding: 12px;
        left: 0;
        z-index: 99;
        box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.10);
        backdrop-filter: blur(2px);
    }
    
    .cipauto-contact-phone-number {
        justify-content: flex-start;
    }

    .site-footer {
        margin-bottom: 64px;
    }
}

@media (max-width: 1200px) {
    .cipauto-vehicle-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0px;
    }
    
    .cipauto-vehicle-header-inner {
        width: 100%;
        flex-wrap: wrap;
    }
    
    /* .cipauto-vehicle-price-block,
    .cipauto-vehicle-main-details {
        margin-top: 20px;
    } */

    .container {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .cipauto-vehicle-header-inner {
        gap: 24px;
    }

    .cipauto-vehicle-brand {
        gap: 12px;
        justify-content: flex-end;
        justify-content: space-between;
    }
    
    .cipauto-vehicle-brand-logo img {
        max-height: 40px;
        min-width: 32px;
    }
    
    .cipauto-vehicle-title,
    .cipauto-vehicle-year {
        font-size: 28px;
    }
    
    .cipauto-vehicle-right-details {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
    }
    
    .cipauto-contact-avatars-wrapper {
        margin-right: 20px;
    }
    
    .cipauto-contact-buttons {
        margin-left: auto;
    }
    
    .cipauto-contact-phone-number {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

    .cipauto-vehicle-code {
        flex-direction: column;
        min-width: 91px;
    }
    
    .cipauto-vehicle-code .code-label {
        font-size: 10px;
    }

    .cipauto-vehicle-code .code-value {
        font-size: 14px;
    }

    .cipauto-vehicle-price-block {
        padding: 10px;
        gap: 8px;
        align-items: center;
        min-width: 91px;
    }
    
    .cipauto-vehicle-price-block .price {
        font-size: 16px;
    }
    
    .cipauto-vehicle-price-block .monthly,
    .cipauto-vehicle-price-block .monthly > span {
        font-size: 12px;
    }

    .cipauto-vehicle-specs-first, 
    .cipauto-vehicle-specs-second {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    
    .cipauto-vehicle-brand-logo {
        display: none;
    }

    .cipauto-vehicle-header {
        gap: 12px;
    }
    
    .cipauto-vehicle-title,
    .cipauto-vehicle-year {
        font-size: 20px;
    }
    
    .cipauto-vehicle-specs-second .spec-label {
        font-size: 14px;
    }
    
    .cipauto-contact-avatars-wrapper {
        margin-right: 0;
        width: 100%;
    }

    .cipauto-vehicle-main-details {
        width: 100%;
    }
    
    .cipauto-contact-buttons {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .cipauto-vehicle-header-inner > *:first-child {
        flex: 1;
    }

    .cipauto-vehicle-specs-first .spec-label {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .cipauto-vehicle-title,
    .cipauto-vehicle-year {
        font-size: 24px;
    }

    .cipauto-vehicle-header {
        flex-direction: column;
    }
    
    .cipauto-vehicle-header-inner,
    .cipauto-vehicle-price-section {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .cipauto-contact-section .contact-label {
        font-size: 12px;
    }
    
    .cipauto-contact-section .contact-department {
        font-size: 16px;
    }
    
    .cipauto-contact-phone-number a {
        font-size: 16px;
    }
}


/* Stiluri pentru galeria vehiculului */
.cipauto-vehicle-gallery {
    display: flex;
    width: 100%;
    gap: 24px;
    margin-bottom: 24px;
    aspect-ratio: 16/8;
    position: relative;
}

/* Partea stângă a galeriei */
.cipauto-gallery-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.cipauto-gallery-main {
    width: 100%;
    flex: 3;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.cipauto-gallery-main img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.cipauto-gallery-thumbnails {
    display: flex;
    gap: 24px;
    width: 100%;
    flex: 1;
}

.cipauto-thumbnail {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.cipauto-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Partea dreaptă a galeriei */
.cipauto-gallery-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.cipauto-gallery-row {
    display: flex;
    gap: 24px;
    flex: 1;
}

.cipauto-gallery-large {
    flex: 2;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    min-width: 424px;
}

.cipauto-gallery-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cipauto-gallery-small-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cipauto-gallery-small {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.cipauto-gallery-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cipauto-gallery-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.05);
}

.cipauto-view-all-link {
    color: #3B00DD;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cipauto-view-all-link:hover {
    text-decoration: underline;
}

.cipauto-view-all-link .arrow {
    font-size: 18px;
}

.cipauto-gallery-last {
    position: relative;
}

.cipauto-gallery-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.cipauto-view-all-link {
    color: #3B00DD; 
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    border-radius: 16px; 
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.80) 100%);
    transition: all 0.3s ease;
}

.cipauto-view-all-link:hover {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.90) 100%);
    text-decoration: none;
}

.cipauto-view-all-link .arrow {
    font-size: 18px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .cipauto-vehicle-gallery {
        /* flex-direction: column; */
        display: block; /* Nu flex */
        aspect-ratio: auto;
    }

    .cipauto-gallery-main {
        height: 250px;
        flex: auto;
    }

    .cipauto-gallery-thumbnails {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .cipauto-thumbnail {
        height: 80px;
    }
    
    .cipauto-gallery-left, 
    .cipauto-gallery-right {
        width: 100%;
        gap: 12px;
    }

    .cipauto-gallery-right {
        margin-top: 12px;
    }
    
    .cipauto-gallery-row {
        height: auto;
    }
    
    .cipauto-gallery-large,
    .cipauto-gallery-small {
        min-width: auto;
    }
    
    .cipauto-gallery-small-column {
        flex-direction: row;
    }
    
    .cipauto-gallery-small {
        width: calc(50% - 12px);
        padding-bottom: 33.33%;
    }
}

@media (max-width: 576px) {
    .cipauto-gallery-thumbnails,
    .cipauto-gallery-small-column,
    .cipauto-gallery-row {
        gap: 12px;
    }
    
    .cipauto-vehicle-gallery {
        gap: 12px;
    }
    
    .cipauto-gallery-small {
        width: calc(50% - 6px);
    }
}


/* Stiluri pentru Modalul de Galerie */
.cipauto-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
}

.cipauto-modal-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.cipauto-modal-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: space-between;
}

.cipauto-modal-title {
    flex: 0 1 20%;
    min-width: 150px;
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    color: #fff;
}

.cipauto-modal-title h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 0;
    margin-bottom: 4px; 
    width: 100%;
}

.modal-vehicle-price {
    color: #FFF;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
}

.cipauto-modal-counter {
    font-size: 14px;
    opacity: 0.8;
    display: inline-block;
    width: 100%;
}

.cipauto-modal-thumbnails {
    flex: 0 1 60%;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #555 #333;
}

.cipauto-modal-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.cipauto-modal-thumbnails::-webkit-scrollbar-track {
    background: #333;
}

.cipauto-modal-thumbnails::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 6px;
}

.cipauto-modal-thumbnail {
    width: 60px;
    height: 40px;
    margin-right: 24px;
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.cipauto-modal-thumbnail.active,
.cipauto-modal-thumbnail:hover {
    opacity: 1;
}

.cipauto-modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cipauto-modal-close-wrapper {
    flex: 0 1 20%;
    display: flex;
    justify-content: flex-end;
}

.cipauto-modal-close {
    width: 48px;
    height: 48px;
    padding: 10px;
    padding-top: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.10);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cipauto-modal-close:hover {
    background: rgba(255, 255, 255, 0.20);
}

.cipauto-modal-close svg {
    width: 16px;
    height: 16px;
}

.cipauto-modal-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; 
    padding: 20px 0;
}

.cipauto-modal-image-container {
    height: calc(100vh - 130px);
    width: calc(100% - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.cipauto-modal-main-image {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    transition: opacity 0.3s ease;
}

.cipauto-modal-prev,
.cipauto-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.cipauto-modal-prev svg,
.cipauto-modal-next svg {
    width: 18px;
    height: 10px;
}

.cipauto-modal-prev {
    left: 20px;
}

.cipauto-modal-next {
    right: 20px;
}

.cipauto-modal-prev:hover,
.cipauto-modal-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.close-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
}

/* Responsive stiluri */
@media (max-width: 768px) {
    .cipauto-modal-thumbnails {
        max-width: 40%;
    }
    
    .cipauto-modal-thumbnail {
        width: 50px;
        height: 34px;
    }
    
    .cipauto-modal-title h3 {
        font-size: 16px;
    }

    .cipauto-modal-image-container {
        width: calc(100% - 24px);
        height: auto;
    }
}

@media (max-width: 576px) {
    .cipauto-modal-thumbnails {
        display: none;
    }
    
    .cipauto-modal-prev,
    .cipauto-modal-next {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}


/* Stiluri pentru secțiunea de beneficii */
.cipauto-benefits-section {
    width: 100%;
}

.cipauto-benefits-container {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.cipauto-benefit-card {
    flex: 1;
    min-width: 160px;
    background-color: #00E5B9;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

/* .cipauto-benefit-card:hover {
    transform: translateY(-5px);
} */

.cipauto-benefit-icon {
    display: inline-block;
}

.cipauto-benefit-icon svg {
    width: 24px;
    height: 24px;
}

.cipauto-benefit-title {
    color: #000;
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 14px;
    margin-bottom: 12px;
    margin-top: 12px;
}

.cipauto-benefit-description {
    color: #000;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

/* Responsive pentru secțiunea de beneficii */
@media (max-width: 1200px) {
    .cipauto-benefits-container {
        justify-content: center;
        gap: 12px;
        margin: 0 -12px;
        width: calc(100% + 24px);
    }

    .cipauto-benefit-card {
        flex: 0 0 calc(33.33% - 6px);
    }
}

@media (max-width: 768px) {
    .cipauto-benefit-card {
        flex: 0 0 calc(33.33% - 16px);
        min-width: 107px;
    }
    .cipauto-benefit-title {
        font-size: 16px;
        margin-bottom: 8px;
        margin-top: 2px;
    }
    .cipauto-benefit-description {
        font-size: 10px;
    }
    .cipauto-benefit-card {
        padding: 16px;
    }
}


/* Stiluri pentru secțiunea de tururi virtuale */
.cipauto-virtual-tours {
    display: flex;
    gap: 24px;
    width: 100%;
    margin: 24px 0;
}

.cipauto-virtual-tour-card {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 24px;
    background-color: #f3f3f3;
    border-radius: 16px;
    gap: 16px;
}

.cipauto-tour-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cipauto-tour-icon svg {
    width: 24px;
    height: 24px;
}

.cipauto-tour-title {
    flex: 1;
    color: #000;
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.cipauto-tour-type {
    font-weight: 800;
}

.cipauto-tour-button {
    margin-left: auto;
}

.cipauto-tour-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 4px;
    color: #3B00DD;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.cipauto-tour-link:hover {
    text-decoration: underline;
}

.cipauto-tour-link svg {
    width: 20px;
    height: 20px;
}

/* Media queries pentru responsivitate */
@media (max-width: 768px) {
    .cipauto-virtual-tours {
        flex-direction: column;
    }
    
    .cipauto-virtual-tour-card {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cipauto-virtual-tour-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .cipauto-tour-button {
        margin-left: 0;
        width: 100%;
    }
    
    .cipauto-tour-link {
        justify-content: center;
    }
}


/* Stiluri pentru containerul principal de detalii vehicul */
.cipauto-vehicle-details {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    margin-top: 24px;
}

.cipauto-details-left {
    flex: 4;
    min-width: 320px;
}

.cipauto-details-right {
    flex: 2;
    min-width: 300px;
}

/* Stiluri pentru secțiunea de specificații */
.cipauto-specifications {
    display: inline-block;
    width: 100%;
}

.cipauto-section-title {
    font-family: Jost, sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #000;
    margin: 0 0 24px 24px;
}

.cipauto-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cipauto-spec-item {
    border-radius: 16px;
    padding: 24px;
    position: relative;
    display: flex;

    min-width: 160px;
    padding: 22px 24px;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;

    border-radius: 10px;
    background: #F3F3F3;
}

.cipauto-spec-item:nth-child(3):last-child,
.cipauto-spec-item:nth-child(7):last-child,
.cipauto-spec-item:nth-child(11):last-child {
    grid-column: span 2;
}

.cipauto-spec-label {
    color: #000;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.cipauto-spec-value {
    color: #000;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 18px;
}

.cipauto-spec-icon {
    display: flex;
}

/* Stiluri pentru cardul Trade-in */
.cipauto-tradein-card {
    background-color: #F9F7DD;
    border-radius: 16px;
    padding: 0 0 24px 0;
}

.cipauto-tradein-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    padding: 24px;
    padding-bottom: 0;
}

.cipauto-tradein-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 9;
    position: relative;
}

.cipauto-tradein-badge {
    display: flex;
    padding: 8px 12px;
    align-items: center;
    gap: 6px;
    position: absolute;
    left: 24px;
    top: 24px;
    border-radius: 4px;
    background: #FF005D;

    color: #FFF;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 90%; /* 12.6px */
    text-transform: uppercase;
}

.cipauto-tradein-badge svg {
    width: 16px;
    height: 16px;
}

.cipauto-tradein-title {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 0 24px;
    align-items: center;
}

.cipauto-tradein-title > span {
    color: #000;
    font-family: Jost;
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.cipauto-tradein-title > span.cipauto-tradein-badge-small {
    display: flex;
    padding: 8px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 100px;
    border: 1px solid #000;
    color: #000;
    font-family: Jost;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.cipauto-tradein-text {
    margin: 12px 24px 18px 24px;
    color: #000;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.cipauto-tradein-subtext {
    color: #000;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 24px 24px 24px;
}

.cipauto-tradein-button {
    display: flex;
    padding: 14px 16px 15px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex: 1 0 0;
    transition: background-color 0.3s ease;
    border-radius: 6px;
    background: #3B00DD;
    margin: 0 24px;

    color: #FFF;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 16px;
    text-decoration: none;
}

.cipauto-tradein-button:hover {
    background-color: #4711E9;
}

/* Responsive styles */
@media (max-width: 992px) {
    .cipauto-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .cipauto-vehicle-details {
        flex-direction: column;
        margin-top: 12px;
        gap: 12px;
    }
    
    .cipauto-details-left,
    .cipauto-details-right {
        flex: 1;
        width: 100%;
    }
}

.cipauto-description-block {
    background-color: #F5F5F5;
    border-radius: 12px;
    padding: 32px;
    margin: 24px 0;
}

.cipauto-description-title {
    color: #000;
    font-family: Jost;
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

.cipauto-description-container {
    position: relative;
}

.cipauto-description-content {
    font-family: 'Jost', sans-serif;
    max-height: 193px; /* Înălțimea inițială fixă */
    overflow: hidden;
    transition: max-height 0.5s ease;
    line-height: 1.6;
    margin-bottom: 24px;
}

.cipauto-description-content.expanded {
    max-height: 3000px; /* O înălțime suficient de mare pentru a afișa tot conținutul */
}

.cipauto-description-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(245, 245, 245, 0), rgba(245, 245, 245, 1));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cipauto-description-content.expanded + .cipauto-description-fade {
    opacity: 0;
}

.cipauto-description-content p {
    color: #000;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.cipauto-description-code {
    font-size: 16px;
    color: #000000;
    margin: 0 0 8px 0;
}

.cipauto-description-vehicle {
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    margin: 0 0 16px 0;
}

.cipauto-description-features {
    list-style-type: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.cipauto-description-feature {
    font-size: 16px;
    line-height: 1.6;
    color: #9E9E9E;
    margin-bottom: 8px;
}

.cipauto-description-feature.active {
    color: #000000;
}

.cipauto-description-button {
    display: flex;
    padding: 14px 12px 15px 12px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 6px;
    border: 1px solid #3B00DD;
    color: #3B00DD;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    width: 100%;
    background: transparent;
}

.cipauto-description-button:hover {
    background-color: transparent;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cipauto-description-block {
        padding: 24px;
        margin: 12px 0 0 0;
    }
    
    .cipauto-description-title {
        font-size: 30px;
    }
    
    .cipauto-description-vehicle {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .cipauto-description-block {
        padding: 20px;
    }
    
    .cipauto-description-title {
        font-size: 26px;
        margin-bottom: 16px;
    }
    
    .cipauto-description-code,
    .cipauto-description-feature {
        font-size: 14px;
    }
}



.cipauto-history-block {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 24px; */
    align-self: stretch;
    border-radius: 16px;
    background: #D8F7ED;
    margin-top: 24px;
    overflow: hidden;
}

.cipauto-history-block-inner {
    display: flex;
}

.cipauto-vin-label {
    color: #000;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px; /* 87.5% */
    margin-left: 12px;
    margin-bottom: 12px;
}

.cipauto-history-form {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-self: stretch;
}

.cipauto-history-partner {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    /* align-items: center; */
    align-items: baseline;
    gap: 8px;
    border-radius: 100px;
    border: 1px solid #000;
    margin-bottom: 16px;
}

.cipauto-partner-label {
    color: #000;
    font-family: Jost;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.cipauto-partner-name {
    width: 57px;
    height: 8px;
    aspect-ratio: 57/8;
    background: url("../images/carvertical.svg") transparent 50% / cover no-repeat;
}

.cipauto-history-title {
    color: #000;
    font-family: Jost;
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: 100%; /* 36px */
}

.cipauto-history-subtitle {
    color: #000;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.cipauto-history-description {
    color: #000;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.cipauto-vin-input-group {
    display: flex;
    gap: 16px;
}

input[type="text"].cipauto-vin-input {
    flex: 1;
    /* padding: 0 16px; */
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    border-radius: 4px;
    border: 1px solid #000;
    background: #FFF;
    color: #999;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px; /* 87.5% */
}

.cipauto-verify-vin-button {
    display: flex;
    padding: 14px 16px 15px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;

    color: #FFF;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 16px;

    border-radius: 6px;
    background: #3B00DD;
    text-decoration: none;
}

.cipauto-verify-vin-button:hover {
    background-color: #4711E9;
}

.cipauto-verify-vin-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.cipauto-verify-vin-button:hover svg {
    transform: translateX(4px);
}

.cipauto-history-report-preview {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.cipauto-report-image {
    width: 100%;
    margin-top: -42px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .cipauto-history-block {
        padding: 30px;
        margin-top: 12px;
    }
    
    .cipauto-history-title {
        font-size: 36px;
    }
    
    .cipauto-history-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .cipauto-history-block {
        flex-direction: column;
    }
    
    /* .cipauto-history-left,
    .cipauto-history-right {
        flex: none;
        width: 100%;
        margin-bottom: 24px;
    }
    
    .cipauto-history-right {
        order: -1;
        margin-bottom: 24px;
    } */
    
    .cipauto-history-report-preview {
        max-width: 250px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .cipauto-history-block {
        padding: 24px;
    }
    
    .cipauto-history-title {
        font-size: 32px;
    }
    
    .cipauto-history-subtitle {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .cipauto-history-description {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .cipauto-vin-input-group {
        flex-direction: column;
    }
    
    .cipauto-verify-button {
        width: 100%;
    }

    /* .cipauto-history-block-inner {
        display: block;
    } */
}


.cipauto-options-container {
    margin-top: 48px;
}

.cipauto-options-grid {
    overflow: hidden;
    transition: max-height 0.5s ease;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


.cipauto-options-grid.expanded {
    max-height: 1200px;
}

#optionsToggle {
    margin: 24px 0;
}

#optionsGrid .cipauto-spec-label {
    margin-bottom: 0;
}

#optionsGrid .cipauto-spec-item {
    justify-content: flex-start;
}

#optionsGrid .cipauto-spec-item .cipauto-spec-icon {
    margin-right: 8px;
}

#optionsGrid .cipauto-spec-item .cipauto-spec-label {
    opacity: 1;
    line-height: 16px;
}



.cipauto-leasing-block {
    background-color: #E6F0F2;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
}

.cipauto-leasing-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.cipauto-leasing-icon {
    margin-right: 16px;
}

.cipauto-leasing-icon svg {
    width: 32px;
    height: 32px;
}

.cipauto-leasing-price {
    font-family: 'Jost', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #000;
    margin: 0;
    display: flex;
    align-items: start;
}

.cipauto-leasing-period {
    font-size: 24px;
    font-weight: 600;
    margin-left: 4px;
}

.cipauto-leasing-badge {
    display: flex;
    padding: 8px 12px;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    border-radius: 100px;
    border: 1px solid #000;
    color: #000;
    font-family: Jost;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-left: 8px;
}

.cipauto-leasing-question {
    margin-bottom: 24px;
}

.cipauto-leasing-question p {
    font-family: Jost;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    margin-bottom: 12px;
}

.cipauto-leasing-question p.cipauto-leasing-subtitle {
    font-family: Jost;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;

}

.cipauto-leasing-calculator {
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 24px);
    margin: 0 -12px;
}

.cipauto-leasing-row {
    width: 50%;
    margin-bottom: 20px;
    padding: 0 12px;
}

.cipauto-leasing-label {
    font-family: Jost;
    font-weight: 400;
    font-size: 16px;
    line-height: 14px;
    margin-left: 14px;
    margin-bottom: 12px;
}

.cipauto-input-group {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 6px;
    height: 40px;
    width: 100%;
}

/* Stilizare pentru butoanele minus și plus */
.cipauto-input-btn {
    width: 24px;
    height: 24px;
    border: none;
    background-color: #f1f5fb;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    margin: 0 8px;
    padding: 0;
    flex-shrink: 0;
}

.cipauto-input-btn:hover {
    background-color: #e6ebf5;
}

/* Stilizare pentru butoanele ca div-uri în caz că nu sunt butoane */
div.cipauto-input-btn {
    cursor: pointer;
    user-select: none;
}

/* Stilizare pentru iconițele din butoane - scalare mai mică pentru butoanele mai mici */
.cipauto-decrease svg {
    width: 10px;
    height: 2px;
}

.cipauto-increase svg {
    width: 10px;
    height: 10px;
}

/* Stilizare pentru câmpul de input */
input[type="text"].cipauto-input-field {
    flex: 1;
    height: 100%;
    border: none;
    text-align: center;
    color: #000;
    outline: none;
    padding: 0 5px;

    font-family: Jost;
    font-weight: 400;
    font-size: 16px;
    line-height: 14px;

}

/* Eliminarea săgeților din input de tip number, dacă este cazul */
.cipauto-input-field::-webkit-outer-spin-button,
.cipauto-input-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cipauto-input-field[type=number] {
    -moz-appearance: textfield;
}

.cipauto-verify-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #5624FF;
    color: white;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 26px;
    line-height: 20px;
}

.cipauto-verify-button:hover {
    background-color: #4711E9;
}

.cipauto-verify-button svg {
    transition: transform 0.3s ease;
}

.cipauto-verify-button:hover svg {
    transform: translateX(4px);
}

.cipauto-leasing-partners {
    background-color: #FFF;
    border-radius: 100px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cipauto-partners-label {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #000;
    margin-right: 20px;
    line-height: 12px;
}

.cipauto-partners-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cipauto-partner-logo {
    height: 18px;
    width: auto;
}

/* Responsive styles */
@media (max-width: 768px) {

    .cipauto-leasing-calculator {
        width: calc(100% + 12px);
        margin: 0 -6px;
    }

    .cipauto-leasing-block {
        padding: 24px;
        margin: 12px 0;
    }
    
    .cipauto-leasing-price {
        font-size: 32px;
    }
    
    .cipauto-leasing-period {
        font-size: 20px;
    }
    
    .cipauto-leasing-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
        padding: 0 6px;
    }
    
    .cipauto-leasing-label {
        width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .cipauto-input-group {
        width: 100%;
    }
    
    .cipauto-verify-button {
        margin-left: 0;
        margin-top: 22px;
    }
    
    .cipauto-partners-label {
        margin-right: 0;
    }

    .cipauto-partners-logos {
        gap: 12px;
    }

}

@media (max-width: 576px) {
    .cipauto-leasing-header {
        flex-wrap: wrap;
    }
    
    .cipauto-leasing-badge {
        margin-top: 12px;
    }

    .cipauto-options-container {
        margin-top: 12px;
    }

    .cipauto-options-grid {
        gap: 12px;
        grid-template-columns: repeat(2, 1fr);
        max-height: auto;
    }
}



.why-us-container {
    background-color: #3B00DD;
    border-radius: 16px;
    padding: 48px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.why-us-content {
    max-width: 55%;
    z-index: 2;
}

.why-us-title {
    font-family: Jost;
    font-weight: 800;
    font-size: 48px;
    line-height: 100%;
}

.why-us-subtitle {
    font-family: Jost;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
}

.why-us-text {
    font-family: Jost;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    margin-bottom: 24px;
}

.why-us-button {
    display: inline-flex;
    align-items: center;
    background-color: #00E5B9;
    color: #3B00DD;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.why-us-button:hover {
    background-color: #00E5B9;
}

.why-us-button svg {
    margin-left: 8px;
}

.why-us-image {
    position: absolute;
    right: 48px;
    top: 0;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us-image img {
    height: 100%;
    max-height: 400px;
    object-fit: contain;
}

/* Responsive styles */
@media (max-width: 992px) {
    .why-us-container {
        padding: 30px 40px;
    }
    
    .why-us-title {
        font-size: 42px;
    }
    
    .why-us-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .why-us-container {
        flex-direction: column;
        padding: 24px;
        padding-bottom: 0;
        margin-bottom: 12px;
    }
    
    .why-us-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .why-us-image {
        position: relative;
        width: 100%;
        right: auto;
    }
    
    .why-us-title {
        font-size: 36px;
    }
    
    .why-us-subtitle {
        font-size: 20px;
    }
    
    .why-us-text {
        font-size: 16px;
    }

    .why-us-image img {
        max-height: 200px;
    }
}


/* Stiluri pentru secțiunea "Iată ce mai avem pentru tine" */
.cars-section {
    max-width: 1320px;
    margin: 40px auto;
    position: relative;
}

.cars-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.cars-section-title {
    display: flex;
    align-items: center;
    font-family: Jost, sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #000;
}

.cars-section-title .emoji {
    font-size: 36px;
    margin-right: 16px;
}

.view-all-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #3B00DD;
    font-family: Jost, sans-serif;
    transition: color 0.2s;
    font-family: Jost;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
}

.view-all-link:hover {
    color: #4700ff;
}

.view-all-link svg {
    margin-left: 4px;
    transition: transform 0.2s;
}

.view-all-link:hover svg {
    transform: translateX(4px);
}

.cars-grid {
    display: flex;
    gap: 24px;
    width: 100%;
}

.car-card {
    flex: 1;
    /* min-width: 250px; */
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    border: solid 1px #CCCCCC;
}

.car-image-container {
    height: 170px;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-badge {
    position: absolute;
    top: 0;
    left: 20px;
    padding: 4px 6px;
    border-radius: 0 0 2px 2px;
    font-family: Jost, sans-serif;
    text-transform: uppercase;
    z-index: 2;
    font-weight: 800;
    font-size: 8px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
}

.car-badge.top-offer {
    background-color: #FFD447;
    color: #000;
}

.car-badge.coming-soon {
    background-color: #32FFDD;
    color: #000;
}

.car-details {
    padding: 20px;
    padding-bottom: 17px;
}

.car-title {
    font-family: Jost, sans-serif;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
}

.car-specs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-family: Jost, sans-serif;
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    min-height: 42px;
    opacity: .5;
}

.car-spec {
    display: inline-block;
    margin-right: 4px;
}

.car-spec:not(:last-child)::after {
    content: "•";
    margin-left: 4px;
}

.car-price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #CCCCCC;

    cursor: pointer;
    transition: all 0.3s ease;
}

.price-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.current-price-wrapper {
    flex: 1;
}

.price-amimated-container {
    position: relative;
    height: 40px; /* Înălțime fixă pentru a preveni jump-ul */
    display: flex;
    align-items: center;
    overflow: hidden;
    min-width: 60px;
}

.current-price {
    display: inline-block;
    background-color: #00E5B9;
    padding: 6px;
    border-radius: 2px;
    font-weight: 700;
    font-size: 18px;
    line-height: 16px;
    font-family: Jost, sans-serif;
}

.old-price {
    color: #CCCCCC;
    font-size: 14px;
    margin-left: 6px;
    font-family: Jost, sans-serif;
    font-weight: 400;
    line-height: 14px;
    text-align: center;
    display: inline-block;
    position: relative;
}

.old-price::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 5px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='5' viewBox='0 0 60 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.16893C17.5 1.16888 46.5 0.668925 59 1.16893' stroke='%23FF005D' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 5px;
    transform: translateY(-50%);
    pointer-events: none;
}

.monthly-price {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 14px;
    font-family: Jost, sans-serif;

    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s ease;
    text-align: right;
    white-space: nowrap;
}

.car-card:hover .zero-advance {
    transform: translateY(-50px);
    opacity: 0;
}

.car-card:hover .monthly-price {
    transform: translateY(-50%);
    opacity: 1;
}

.monthly-value {
    font-family: Jost;
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    text-align: right;
    display: block;
}

.monthly-label {
    font-family: Jost;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    text-align: right;

    display: block;
}

.zero-advance {
    color: #000000;
    font-family: Jost, sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 120%;
    text-align: right;
    transition: all 0.4s ease;
}

.zero-advance strong {
    font-weight: 700;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1200px) {
    .cars-grid {
        flex-wrap: wrap;
    }
    
    .car-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .cars-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        display: grid;
    }
    
    .car-card {
        width: 100%;
    }

    .cipauto-section-title,
    .cars-section-title {
        font-size: 20px;
        margin: 0;
        margin-bottom: 12px;
    }

    .cars-section-title {
        margin-bottom: 0;
    }

    .cars-section {
        margin: 12px 0;
    }

    .cars-section-title .emoji {
        margin-right: 12px;
        font-size: 20px;
    }

    .car-image-container {
        height: 130px;
    }

    .view-all-link {
        display: none;
    }

    .current-price {
        font-size: 14px;
    }

    .car-details {
        padding: 12px;
    }

}

/* Modal tur virtual */
.cipauto-virtual-tour-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.cipauto-virtual-tour-content {
    position: relative;
    margin: 1% auto;
    width: 95%;
    max-width: 1400px;
    height: 95vh;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cipauto-virtual-tour-header {
    background: linear-gradient(135deg, #3B00DD 0%, #5D1FFF 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cipauto-virtual-tour-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.cipauto-virtual-tour-close {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 300;
}

.cipauto-virtual-tour-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cipauto-virtual-tour-viewer {
    height: calc(100% - 80px);
    position: relative;
    background: #000;
    cursor: grab;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.cipauto-virtual-tour-viewer:active {
    cursor: grabbing;
}

.cipauto-virtual-tour-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* Eliminăm orice tranziție */
    transition: none !important;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.cipauto-virtual-tour-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cipauto-virtual-tour-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px 30px;
    border-radius: 50px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cipauto-virtual-tour-control-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cipauto-virtual-tour-control-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cipauto-virtual-tour-control-btn.play-pause {
    background-color: #3B00DD;
    width: 55px;
    height: 55px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cipauto-virtual-tour-control-btn.play-pause:hover {
    background-color: #3B00DD;
    transform: scale(1.15);
}

.car-card-link {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99;
}

.cipauto-virtual-tour-slider {
    width: 250px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cipauto-virtual-tour-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #3B00DD 0%, #5D1FFF 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cipauto-virtual-tour-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #3B00DD 0%, #5D1FFF 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Loading indicator */
.cipauto-tour-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    display: none;
}

.cipauto-tour-loading:after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #3B00DD;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Speed indicator */
.speed-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(10px);
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .cipauto-virtual-tour-content {
        width: 98%;
        height: 98vh;
        margin: 1% auto;
        border-radius: 15px;
    }
    
    .cipauto-virtual-tour-header {
        padding: 15px 20px;
    }
    
    .cipauto-virtual-tour-title {
        font-size: 1.2rem;
    }
    
    .cipauto-virtual-tour-controls {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px 20px;
        bottom: 20px;
    }
    
    .cipauto-virtual-tour-slider {
        width: 180px;
        order: 3;
        margin-top: 10px;
    }
    
    .cipauto-virtual-tour-control-btn {
        width: 40px;
        height: 40px;
    }
    
    .cipauto-virtual-tour-control-btn.play-pause {
        width: 50px;
        height: 50px;
    }
}

/* CSS pentru galerie mobilă */
@media (max-width: 768px) {
    .desktop-gallery {
        display: none;
    }
    
    .mobile-gallery {
        display: block !important;
    }

    .cipauto-vehicle-gallery {
        margin-bottom: 12px;
    }
}

@media (min-width: 769px) {
    .mobile-gallery {
        display: none;
    }
}

/* Stiluri pentru galeria mobilă */
.mobile-gallery-container {
    display: flex;
    flex-direction: row; /* În loc de column */
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: calc(100% + 24px);
    margin-left: -12px;
    scroll-padding-left: 12px;
    scroll-padding-right: 12px;
}

.mobile-gallery-group:first-child {
    margin-left: 12px; /* Prima imagine să înceapă cu padding */
}

.mobile-gallery-group:last-child {
    margin-right: 12px; /* Ultima imagine să aibă padding la sfârșit */
}

.mobile-gallery-container::-webkit-scrollbar {
    display: none;
}

.mobile-gallery-group {
    /* flex: none; */
    min-width: calc(100vw - 60px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-gallery-row {
    display: flex;
    gap: 12px;
    /* height: 200px; */
}

.mobile-gallery-image {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

.mobile-gallery-image:active {
    transform: scale(0.98);
}

.mobile-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mobile-gallery-large {
    flex: 1;
    height: 210px;
}

.mobile-gallery-small {
    flex: 1;
    height: 100px;
    position: relative;
}

/* Pentru swipe gestures */
.mobile-gallery-container {
    /* overflow-x: hidden; */
    position: relative;
}

.gallery-swipe-container {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
}

.gallery-swipe-item {
    min-width: 100%;
    flex-shrink: 0;
}

/* Loading state */
.mobile-gallery-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: #666;
}

/* Mobile gallery swipe indicator */
.mobile-gallery-swipe-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #ffffff;
    position: absolute;
    top: 16px;
    left: 12px;
    z-index: 10;
}

.mobile-gallery-container > .mobile-gallery-group:first-of-type > .mobile-gallery-row:first-of-type > .mobile-gallery-image {
    position: relative;
}

.mobile-gallery-image:before,
.cipauto-gallery-main:before,
.cipauto-gallery-large:before,
.cipauto-thumbnail:before {
    content: "";
    border-radius: 10px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), radial-gradient(40.23% 23.03% at 15.08% 2.79%, rgba(59, 0, 221, 0.40) 0%, rgba(59, 0, 221, 0.00) 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: absolute;
    z-index: 9;
}

.mobile-gallery-container.hide-before-element .mobile-gallery-group:first-of-type .mobile-gallery-row:first-of-type:before {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-gallery-swipe-indicator {
    animation: swipeHint 2s ease-in-out infinite;
}

.mobile-gallery-swipe-indicator span {
    font-weight: 400;
    font-size: 8px;
    line-height: 130%;
}

.mobile-gallery-swipe-indicator span > span {
    font-weight: 800;
    display: inline-block;
    width: 100%;
}

/* Animația de hint pentru swipe */
@keyframes swipeHint {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

.financing-contact-form {
    margin: 12px 0;
    padding: 24px;
    background: #F9FAFB;
    border-radius: 12px;
    border: 2px solid #4318FF;
}

.financing-contact-form h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #1F2937;
}

.financing-contact-form p {
    margin: 0 0 20px 0;
    color: #6B7280;
    font-size: 14px;
}

.financing-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.financing-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.financing-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
}

.financing-submit-btn {
    width: 100%;
    padding: 14px;
    background: #4318FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.financing-submit-btn:hover {
    background: #3311CC;
}

.financing-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.financing-success-message {
    padding: 16px;
    background: #D1FAE5;
    border-radius: 8px;
    text-align: center;
    color: #065F46;
    font-weight: 600;
}

@media (max-width: 768px) {
    .financing-form-row {
        grid-template-columns: 1fr;
    }
}