/* Homepage Hero Section */
.homepage-main {
    position: relative;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* min-height: 70vh; */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: -108px;
    padding-top: 90px;
}

/* Background cu gradient și imagine */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3B00DD 0%, #7B2FF7 50%, #00E5B9 100%);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%233B00DD;stop-opacity:1" /><stop offset="50%" style="stop-color:%237B2FF7;stop-opacity:1" /><stop offset="100%" style="stop-color:%2300E5B9;stop-opacity:1" /></linearGradient></defs><rect width="1200" height="800" fill="url(%23grad1)"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center right;
    opacity: 0.8;
}

/* Background cu gradient și video */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3B00DD 0%, #7B2FF7 50%, #00E5B9 100%);
    overflow: hidden;
}

/* Video Background Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
}

/* Fallback pentru browsere fără suport video */
.hero-video-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
}

/* Overlay peste video */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 0, 221, 0.4);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 100px 48px 106px 48px;
}

.hero-content > .container {
    padding-left: 48px;
    padding-right: 48px;
}

.hero-content .container {
    text-align: left;
    color: white;
}

/* Numărul mare cu outline */
.number-outline {
    font-family: Jost, sans-serif;
    font-size: 200px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px #00E5B9;
    display: block;
}

/* Titlul principal */
.hero-title {
    font-family: Jost, sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin: 0 0 24px 0;
}

/* Subtitlul cu emoji */
.hero-subtitle {
    font-family: Jost, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: inline-block;

    gap: 10px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 18px 24px;
}

/* Search Section */
.search-section {
    position: relative;
    z-index: 3;
    background: white;
    border-radius: 24px 24px 0 0;
    margin-top: auto;
    padding: 40px 0 24px 0;
}

/* Mesajul roșu */
.search-message {
    position: relative;
    display: flex;
    align-items: center;
}

.message-bubble {
    font-family: Jost, sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    width: 260px;
    padding-left: 24px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.message-arrow {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.message-arrow svg {
    display: block;
    width: 257px;
    height: 117px;
}

/* Search Form */
.hero-search-form {
    width: 100%;
    margin: 0 auto;
    background-color: #F3F3F3;
    border-radius: 16px;
    padding: 48px;
    margin-top: -100px;
}

.search-fields {
    display: flex;
    align-items: end;
    gap: 20px;
    flex-wrap: wrap;
}

/* Search Field */
.search-field {
    flex: 1;
    min-width: 200px;
}

.search-field label {
    display: block;
    font-family: Jost, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 8px;
    margin-left: 12px;
}

/* Select Wrapper */
.select-wrapper {
    position: relative;
}

.search-select,
.filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #000000;
    border-radius: 4px;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: white;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
}

.search-select,
.filter-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.99207 0.659485C6.85957 0.661555 6.73332 0.71613 6.64103 0.811222C6.54875 0.906315 6.49798 1.03415 6.49988 1.16665V6.49998H1.16655C1.10029 6.49904 1.03451 6.51128 0.973024 6.53599C0.911539 6.5607 0.855579 6.59738 0.808394 6.6439C0.761209 6.69042 0.723741 6.74586 0.698167 6.80699C0.672593 6.86811 0.659424 6.93372 0.659424 6.99998C0.659424 7.06624 0.672593 7.13184 0.698167 7.19297C0.723741 7.2541 0.761209 7.30954 0.808394 7.35606C0.855579 7.40258 0.911539 7.43926 0.973024 7.46397C1.03451 7.48868 1.10029 7.50092 1.16655 7.49998H6.49988V12.8333C6.49894 12.8996 6.51118 12.9654 6.53589 13.0268C6.5606 13.0883 6.59728 13.1443 6.6438 13.1915C6.69032 13.2386 6.74576 13.2761 6.80689 13.3017C6.86801 13.3273 6.93362 13.3404 6.99988 13.3404C7.06614 13.3404 7.13174 13.3273 7.19287 13.3017C7.254 13.2761 7.30944 13.2386 7.35596 13.1915C7.40248 13.1443 7.43916 13.0883 7.46387 13.0268C7.48857 12.9654 7.50082 12.8996 7.49988 12.8333V7.49998H12.8332C12.8995 7.50092 12.9653 7.48868 13.0267 7.46397C13.0882 7.43926 13.1442 7.40258 13.1914 7.35606C13.2385 7.30954 13.276 7.2541 13.3016 7.19297C13.3272 7.13184 13.3403 7.06624 13.3403 6.99998C13.3403 6.93372 13.3272 6.86811 13.3016 6.80699C13.276 6.74586 13.2385 6.69042 13.1914 6.6439C13.1442 6.59738 13.0882 6.5607 13.0267 6.53599C12.9653 6.51128 12.8995 6.49904 12.8332 6.49998H7.49988V1.16665C7.50084 1.09972 7.48835 1.03329 7.46317 0.971283C7.43798 0.909274 7.4006 0.852954 7.35324 0.805658C7.30589 0.758363 7.24952 0.721055 7.18748 0.695947C7.12544 0.670838 7.05899 0.658439 6.99207 0.659485Z' fill='%233B00DD'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px 14px;
    padding-right: 20px;
    transition: background-image 0.3s ease;
}

.search-select:focus,
.filter-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-select:disabled,
.filter-select:disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.search-select:focus + .select-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Advanced Filters Button */
.advanced-filters-btn {
    /* width: 100%; */
    padding: 10px 16px;
    background: #333333;
    color: #ffffff;
    border: 1px solid #333333;
    border-radius: 6px;
    font-family: 'Jost', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 800;
    font-size: 16px;
    line-height: 18px;
    justify-content: space-between;
    /* min-width: 205px; */
}

.advanced-filters-btn:hover {
    background: #333333;
    color: #ffffff;
}

.advanced-filters-btn.active {
    background: #333333;
    color: #ffffff;
    border-color: #333333;
}

/* Search Submit Button */
.search-submit-btn {
    padding: 12px 16px;
    background-color: #3B00DD;
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 16px;
    /* min-width: 205px; */
}

.search-submit-btn:hover {
    background-color: #4f46e5;
}

.search-submit-btn svg {
    transition: transform 0.3s ease;
}

.search-submit-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .number-outline {
        font-size: 100px;
    }
    
    .search-fields {
        flex-direction: column;
        align-items: stretch;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .search-field {
        min-width: auto;
    }
    
    .advanced-filters-btn,
    .search-submit-btn {
        width: 100%;
        /* justify-content: center; */
    }
    
    .message-bubble {
        width: 120px;
        height: 120px;
        font-size: 14px;
    }
    
    .message-arrow svg {
        width: 200px;
        height: 90px;
    }

    .search-message {
        display: none;
    }

}

@media (max-width: 768px) {
    /* .hero-content {
        padding: 60px 0 30px;
    } */

    .hero-content .container {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .number-outline {
        font-size: 80px;
    }

    .hero-subtitle {
        display: none;
    }

    .hero-search-form {
        padding: 16px;
        position: relative;
        
    }
    
    .message-bubble {
        width: 100px;
        height: 100px;
        font-size: 13px;
        padding: 15px;
    }
    
    .message-arrow {
        top: 0px;
        left: -20px;
    }
    
    .message-arrow svg {
        width: 180px;
        height: 80px;
    }

    .search-section {
        padding: 24px 0;
    }

    .hero-video {
        object-position: center center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 60px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 28px;
    }
    
    .number-outline {
        font-size: 60px;
    }
    
    .search-fields {
        gap: 12px;
    }
    
    .search-select,
    .advanced-filters-btn,
    .search-submit-btn {
        height: 50px;
        font-size: 14px;
        padding: 10px 12px;
    }

    .hero-video {
        transform: scale(1.1); /* Mărește puțin pentru a acoperi mai bine */
    }
}

/* Optimizări pentru performanță video */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        animation: none;
    }
}

/* Optimizări pentru conexiuni lente */
@media (max-width: 768px) and (max-resolution: 192dpi) {
    /* .hero-video {
        display: none;
    } */
    
    .hero-video-fallback {
        display: block;
    }
}

/* Forțează video să nu apară pe conexiuni foarte lente */
@supports not (object-fit: cover) {
    .hero-video {
        display: none;
    }
    
    .hero-video-fallback {
        display: block;
    }
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 472px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(50px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Modal Header */
.modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    margin: 0;
}

.close-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding-right: 0;
}

.close-btn:hover {
    background: transparent;
    transform: scale(1.05);
}

.close-btn svg {
    width: 24px;
    height: 24px;
    /* stroke: #6c757d; */
}

/* Modal Body */
.modal-body {
    padding: 32px;
}

/* Filter Grid */
.filters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Filter Group */
.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group.full-width {
    grid-column: 1 / -1;
}

.filter-label {
    color: #000000;
    margin-bottom: 8px;
    display: block;
    font-family: Jost;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
    margin-left: 12px;
}

/* Select Wrapper pentru Modal */
.modal-body .select-wrapper {
    position: relative;
    margin-bottom: 0;
}

.modal-body .select-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6366f1;
}

/* Range Inputs */
.range-group {
    display: flex;
    gap: 24px;
    align-items: center;
}

.range-input {
    flex: 1;
    padding: 0 20px;
    font-size: 16px;
    background: white;
    transition: all 0.2s ease;
}

.range-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Modal Footer */
.modal-footer {
    padding: 0 32px 32px;
    display: flex;
    gap: 24px;
}

.btn {
    flex: 1;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px;
}

.btn-primary {
    background: #3B00DD;
    color: white;
}

.btn-primary:hover {
    background: #3B00DD;
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: white;
    color: #FF005D;
    border: 1px solid #FF005D;

}

.btn-secondary:hover {
    background: #FF005D;
    border-color: #FF005D;
    color: #ffffff;
}

.btn-secondary:hover svg path {
    fill: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
    }

    .modal-header {
        padding: 24px 24px 0;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-body {
        padding: 12px;
    }

    .filters-grid,
    .range-group {
        gap: 12px;
    }

    .modal-footer {
        padding: 0 24px 24px;
        flex-direction: column;
    }
    
}

.select2-container--default .select2-selection--multiple {
    min-height: auto !important;
}

/* Pentru Select2 - suprascrie săgeata */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none; /* Ascunde săgeata default */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 40px; /* Fă loc pentru SVG */
}

.select2-container--default .select2-selection--single {
    background-image: url("data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.99207 0.659485C6.85957 0.661555 6.73332 0.71613 6.64103 0.811222C6.54875 0.906315 6.49798 1.03415 6.49988 1.16665V6.49998H1.16655C1.10029 6.49904 1.03451 6.51128 0.973024 6.53599C0.911539 6.5607 0.855579 6.59738 0.808394 6.6439C0.761209 6.69042 0.723741 6.74586 0.698167 6.80699C0.672593 6.86811 0.659424 6.93372 0.659424 6.99998C0.659424 7.06624 0.672593 7.13184 0.698167 7.19297C0.723741 7.2541 0.761209 7.30954 0.808394 7.35606C0.855579 7.40258 0.911539 7.43926 0.973024 7.46397C1.03451 7.48868 1.10029 7.50092 1.16655 7.49998H6.49988V12.8333C6.49894 12.8996 6.51118 12.9654 6.53589 13.0268C6.5606 13.0883 6.59728 13.1443 6.6438 13.1915C6.69032 13.2386 6.74576 13.2761 6.80689 13.3017C6.86801 13.3273 6.93362 13.3404 6.99988 13.3404C7.06614 13.3404 7.13174 13.3273 7.19287 13.3017C7.254 13.2761 7.30944 13.2386 7.35596 13.1915C7.40248 13.1443 7.43916 13.0883 7.46387 13.0268C7.48857 12.9654 7.50082 12.8996 7.49988 12.8333V7.49998H12.8332C12.8995 7.50092 12.9653 7.48868 13.0267 7.46397C13.0882 7.43926 13.1442 7.40258 13.1914 7.35606C13.2385 7.30954 13.276 7.2541 13.3016 7.19297C13.3272 7.13184 13.3403 7.06624 13.3403 6.99998C13.3403 6.93372 13.3272 6.86811 13.3016 6.80699C13.276 6.74586 13.2385 6.69042 13.1914 6.6439C13.1442 6.59738 13.0882 6.5607 13.0267 6.53599C12.9653 6.51128 12.8995 6.49904 12.8332 6.49998H7.49988V1.16665C7.50084 1.09972 7.48835 1.03329 7.46317 0.971283C7.43798 0.909274 7.4006 0.852954 7.35324 0.805658C7.30589 0.758363 7.24952 0.721055 7.18748 0.695947C7.12544 0.670838 7.05899 0.658439 6.99207 0.659485Z' fill='%233B00DD'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 14px 14px !important;
}

/* Pentru Select2 multiple (dacă ai) */
.select2-container--default .select2-selection--multiple .select2-selection__arrow {
    display: none;
}

.select2-container--default .select2-selection--multiple {
    background-image: url("data:image/svg+xml,%3csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6.99207 0.659485C6.85957 0.661555 6.73332 0.71613 6.64103 0.811222C6.54875 0.906315 6.49798 1.03415 6.49988 1.16665V6.49998H1.16655C1.10029 6.49904 1.03451 6.51128 0.973024 6.53599C0.911539 6.5607 0.855579 6.59738 0.808394 6.6439C0.761209 6.69042 0.723741 6.74586 0.698167 6.80699C0.672593 6.86811 0.659424 6.93372 0.659424 6.99998C0.659424 7.06624 0.672593 7.13184 0.698167 7.19297C0.723741 7.2541 0.761209 7.30954 0.808394 7.35606C0.855579 7.40258 0.911539 7.43926 0.973024 7.46397C1.03451 7.48868 1.10029 7.50092 1.16655 7.49998H6.49988V12.8333C6.49894 12.8996 6.51118 12.9654 6.53589 13.0268C6.5606 13.0883 6.59728 13.1443 6.6438 13.1915C6.69032 13.2386 6.74576 13.2761 6.80689 13.3017C6.86801 13.3273 6.93362 13.3404 6.99988 13.3404C7.06614 13.3404 7.13174 13.3273 7.19287 13.3017C7.254 13.2761 7.30944 13.2386 7.35596 13.1915C7.40248 13.1443 7.43916 13.0883 7.46387 13.0268C7.48857 12.9654 7.50082 12.8996 7.49988 12.8333V7.49998H12.8332C12.8995 7.50092 12.9653 7.48868 13.0267 7.46397C13.0882 7.43926 13.1442 7.40258 13.1914 7.35606C13.2385 7.30954 13.276 7.2541 13.3016 7.19297C13.3272 7.13184 13.3403 7.06624 13.3403 6.99998C13.3403 6.93372 13.3272 6.86811 13.3016 6.80699C13.276 6.74586 13.2385 6.69042 13.1914 6.6439C13.1442 6.59738 13.0882 6.5607 13.0267 6.53599C12.9653 6.51128 12.8995 6.49904 12.8332 6.49998H7.49988V1.16665C7.50084 1.09972 7.48835 1.03329 7.46317 0.971283C7.43798 0.909274 7.4006 0.852954 7.35324 0.805658C7.30589 0.758363 7.24952 0.721055 7.18748 0.695947C7.12544 0.670838 7.05899 0.658439 6.99207 0.659485Z' fill='%233B00DD'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 14px 14px !important;
}

/* Stilizare pentru tag-urile selectate în Select2 */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #F3F3F3;
    border: 1px solid #CCCCCC !important;
    border-radius: 6px !important;
    padding: 4px 8px;
    padding-left: 18px;
    margin: 2px 4px 2px 0 !important;
    color: #333333 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border-radius: 2px !important;
    border: none !important;
}

/* X-ul pentru ștergere */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #6B46FF !important; /* Culoarea mov pentru X */
    font-weight: bold !important;
    font-size: 16px !important;
    line-height: 1 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    order: -1 !important; /* Pune X-ul înaintea textului */
    cursor: pointer !important;
    border: none !important;
    background: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 28px !important;
    left: 2px;
    text-indent: -9999px !important; /* Ascunde textul */
    background-image: url("data:image/svg+xml,%3csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M9 3L3 9M3 3l6 6' stroke='%236B46FF' stroke-width='2' stroke-linecap='round'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 12px 12px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #5538DD !important;
}

/* Container-ul pentru opțiunile selectate */
.select2-container--default .select2-selection--multiple {
    min-height: auto !important;
}

/* Ajustare pentru input-ul de căutare */
.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin: 0 !important;
    padding: 4px !important;
    min-width: 100px !important;
    margin-top: 3px !important;
}

/* Hover effect pentru tag-uri */
.select2-container--default .select2-selection--multiple .select2-selection__choice:hover {
    border-color: #6B46FF !important;
    background-color: #F8F6FF !important;
}

.select2-results__option--selectable {
    padding: 6px 12px;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    display: none;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 5px;
}



.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.car-card {
    flex: 1;
    min-width: 250px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    position: relative;
    border: solid 1px #CCCCCC;
    /* opacity: 0; */
    transition: all 0.3s ease;
    height: 350px;
    display: flex;
    flex-direction: column;
}

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

.car-image-container {
    /* height: 170px; */
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
    flex: 1;
    min-height: 80px;
    background-size: cover;
    background-position: bottom;
}

.car-image-container:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #3B00DD;
    opacity: .1;
}

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

.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;
    flex-shrink: 0;
}

.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: 30px;
    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: 150%;
    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: 16px;
    }
    
    .cars-grid {
        flex-direction: column;
    }
    
    .car-card {
        width: 100%;
        min-width: auto;
    }

    .car-details {
        padding: 12px;
        /* height: calc(100% - 120px); */
    }

    .car-specs {
        font-size: 13px;
        margin-bottom: 12px;
    }

    /* .car-image-container {
        height: 120px;
    } */

    .car-price-container {
        margin-top: 12px;
        padding-top: 12px;
    }

    .price-amimated-container {
        height: 30px;
    }

    .car-card {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    
    .car-card {
        height: 288px;
    }

}

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

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #000000;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header a:not(.view-all-link) {
    color: #3B00DD;
    text-decoration: none;
    font-size: 18px;
}

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

.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;
    }

    .cipauto-benefit-card {
        flex: 0 0 calc(33.33% - 16px);
        min-width: 107px;
    }
}

@media (max-width: 768px) {
    .cipauto-benefits-container {
        gap: 12px;
        margin: 0 -12px;
        width: calc(100% + 24px);
    }
    .cipauto-benefit-title {
        font-size: 16px;
        margin-bottom: 8px;
        margin-top: 2px;
    }
    .cipauto-benefit-description {
        font-size: 10px;
    }
    .cipauto-benefit-card {
        /* flex: 0 0 calc(50% - 12px);
        min-width: 107px; */
        padding: 16px;
    }
}

/* @media (max-width: 480px) {
    .cipauto-benefit-card {
        flex: 0 0 100%;
    }
} */

.echipa-members {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.member-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    gap: 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.member-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    background: #f3f4f6;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.member-role {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
}

.member-contact {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* cursor: pointer; */
    padding: 4px;
    background-color: #F3F3F3;
    color: #3B00DD;
}

.contact-icon:hover {
    transform: scale(1.1);
}

.contact-icon svg {
    width: 16px;
    height: 16px;
}

.member-phone {
    color: #3B00DD;
    font-size: 18px;
    text-decoration: none;
}

.member-phone:hover {
    text-decoration: underline;
}


/* Stiluri pentru cardul Trade-in */
/* Grid Layout */
.trade-finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

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

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

@media (max-width: 480px) {
    .cipauto-specs-grid {
        grid-template-columns: 1fr;
    }

    .cipauto-tradein-card {
        padding: 0 0 24px 0 !important;
    }

    .cipauto-tradein-image {
        padding: 24px !important;
        padding-bottom: 0 !important;
    }

    .cipauto-tradein-title {
        padding: 0 24px !important;
    }

    .cipauto-tradein-text {
        margin: 12px 24px 18px 24px !important;
    }

    .cipauto-tradein-subtext {
        margin: 0 24px 24px 24px !important;
    }

    .cipauto-tradein-button {
        margin: 0 24px !important;
    }
}



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

.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;
}

.cipauto-leasing-block input[type="text"].cipauto-input-field,
.cipauto-leasing-block input[type="number"].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;
}

.cipauto-leasing-result {
    display: none;
}

/* 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-block {
        padding: 24px;
    }
    
    .cipauto-leasing-price {
        font-size: 32px;
    }
    
    .cipauto-leasing-period {
        font-size: 20px;
    }

    .cipauto-leasing-calculator {
        width: calc(100% + 12px);
        margin: 0 -6px;
    }
    
    .cipauto-leasing-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
        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;
        padding: 10px;
    }
    
    .cipauto-leasing-partners .cipauto-partners-label {
        margin-bottom: 0;
    }
    
    .cipauto-partners-label {
        margin-right: 0;
        margin-bottom: 12px;
    }
}

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



.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;
}

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

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

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

.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: -20px;
    top: 0;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: end;
    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;
        padding-bottom: 0;
    }
    
    .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;
    }
    
    .why-us-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .why-us-image {
        position: relative;
        width: 100%;
        right: auto;
    }

    .why-us-image img {
        max-height: 200px;
    }
    
    .why-us-title {
        font-size: 36px;
    }
    
    .why-us-subtitle {
        font-size: 20px;
    }
    
    .why-us-text {
        font-size: 16px;
    }
}

.trade-finance-section {
    padding-top: 24px;
}

.cipauto-history-block {
    margin-top: 0 !important;
    padding: 48px !important;
}

/* Grid Layout - partea stângă mai wide */
.trade-finance-grid.section-two {
    grid-template-columns: 2fr 1fr; /* Stânga 2x mai mare decât dreapta */
}


/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.brand-card {
    display: flex;
    min-width: 90px;
    padding: 24px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: 16px;
    background: #F3F3F3;
}

.brand-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.brand-logo-container {
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.brand-logo {
    height: 24px;
    width: auto;
    margin-bottom: 0;
}

.brand-logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b00dd, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.brand-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.brand-name {
    color: #3B00DD;
    text-align: center;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
}

.vehicles-count {
    color: #999;
    text-align: center;
    font-family: 'Jost';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.view-cars {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
}

.brand-overlay svg {
    color: white;
    width: 16px;
    height: 16px;
}

/* Section Footer */
.section-footer {
    text-align: center;
}

.view-all-brands-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b00dd, #6366f1);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(59, 0, 221, 0.2);
}

.view-all-brands-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 0, 221, 0.3);
    color: white;
    text-decoration: none;
}

.view-all-brands-btn svg {
    transition: transform 0.3s ease;
}

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



/* Section Styles */
.body-types-section {
    padding: 80px 0;
    background: #ffffff;
    border-radius: 24px;
}

.section-header {
    text-align: center;
}

.title-emoji {
    font-size: 2.5rem;
}

/* Body Types Grid */
.body-types-grid {
    display: flex;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
    overflow-x: auto;
}

/* Left Card - Category */
.category-card {
    display: flex;
    width: 200px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-radius: 16px;
    background: #F3F3F3;
}

.category-title {
    color: #000;
    font-family: Jost;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.category-subtitle {
    color: #000;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 130%;
}

/* Body Types Options */
.body-types-options,
.category-options {
    display: flex;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.body-type-option,
.scenario-card {
    display: flex;
    padding: 16px 0 16px 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 8px; */
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 16px;
    background: #F3F3F3;
    text-decoration: none;
    min-width: 97px;
}

.scenario-card.family {
    background-color: #F9F7DD;
}

.scenario-card.first-car {
    background-color: #E5F7D8;
}

.scenario-card.sport {
    background-color: #F3E6F7;
}

.scenario-card.eco {
    background-color: #D6F6EC;
}

.scenario-card.city {
    background-color: #F3F3F3;
}

.scenario-card.winter {
    background-color: #E6F0F2;
}

.option-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.option-image {
    padding: 0 20px;
}

.option-image img {
    max-width: 100%;
}

.option-icon svg {
    width: 24px;
    height: 24px;
    color: #3b00dd;
    transition: all 0.3s ease;
}

.option-title {
    color: #3B00DD;
    text-align: center;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.scenario-card .option-title {
    font-size: 16px;
}

.option-subtitle {
    color: #000;
    text-align: center;
    font-family: Jost;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px; /* 140% */
}

.option-count {
    color: #999;
    text-align: center;
    font-family: Jost;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .body-types-options,
    .category-options {
        gap: 12px;
    }
    
    .body-type-option {
        min-width: 120px;
        padding: 20px 16px;
    }
}

@media (max-width: 768px) {
    .body-types-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.25rem;
        gap: 8px;
    }
    
    .body-types-grid {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .category-card {
        width: 160px;
    }
    
    .body-types-options,
    .category-options {
        justify-content: flex-start;
    }
    
    .body-type-option {
        min-width: 110px;
        padding: 16px 12px;
    }
    
    .option-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .option-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .option-title {
        font-size: 1rem;
    }
    
    .option-count {
        font-size: 0.8125rem;
    }

    .brands-grid {
        gap: 12px;
        margin-bottom: 12px;
    }

    .trade-finance-section {
        padding: 12px 0;
    }
}

@media (max-width: 480px) {
    .body-types-options,
    .category-options {
        gap: 8px;
    }
    
    .body-type-option {
        min-width: 90px;
        padding: 12px 8px;
    }
    
    .option-title {
        font-size: 0.9rem;
    }

    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 12px;
    }

    .cipauto-history-block {
        padding: 24px !important;
    }
}

@media (max-width: 424px) {
    .brands-grid > *:first-child {
        grid-column: 1 / -1;
    }
}

/* Scrollbar styling pentru horizontal scroll */
.body-types-options::-webkit-scrollbar {
    height: 6px;
}

.body-types-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.body-types-options::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.body-types-options::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}



/* Budget Banner */
.budget-banner {
    display: flex;
    padding: 24px 48px;
    align-items: center;
    gap: 24px;
    align-self: stretch;
    border-radius: 16px;
    background: linear-gradient(58deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.00) 20.6%), linear-gradient(55deg, rgba(0, 229, 185, 0.00) 69.68%, rgba(0, 229, 185, 0.40) 100%), #3B00DD;
    position: relative;
    overflow: hidden;
    color: white;
    margin-bottom: 48px;
}

/* Background Effects */
.budget-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.bg-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.bg-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -25px;
    animation: float 8s ease-in-out infinite reverse;
}

.bg-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        transparent 100%);
    transform: skewX(-15deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Budget Content */
.budget-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 40px;
    width: 100%;
}

/* Budget Left */
.budget-left {
    flex-shrink: 0;
}

.budget-title {
    color: #FFF;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.10);
    font-family: Jost;
    font-size: 48px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;

    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.budget-label {
    display: flex;
    padding: 0 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 100px;
    border: 1px solid #FFF;
    color: #FFF;
    font-family: Jost;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    height: 34px;
    margin-top: 20px;
}

/* Budget Center - Cars */
.budget-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.budget-cars {
    display: flex;
    gap: 10px;
    align-items: center;
}

.car-item {
    transition: all 0.3s ease;
    opacity: 0.9;
}

.car-item img {
    height: 66px;
    object-fit: contain;
}

/* Budget Right */
.budget-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.budget-info {
    text-align: right;
}

.budget-import {
    color: #FFF;
    font-family: Jost;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.budget-cta {
    border-radius: 6px;
    background: #00E5B9;
    color: #3B00DD;
    display: flex;
    height: 40px;
    padding: 14px 16px 15px 16px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    gap: 4px;

    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .budget-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .budget-right {
        align-items: center;
        display: contents;
    }
    
    .budget-info {
        text-align: center;
    }
    
    .budget-cars {
        gap: 8px;
    }
    
    .car-item img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .budget-banner {
        padding: 30px 20px;
        margin-top: 12px;
        margin-bottom: 24px;
    }
    
    .budget-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .budget-price {
        font-size: 2.5rem;
    }
    
    .budget-cars {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* .car-item img {
        width: 70px;
    } */
    
    .budget-cta {
        padding: 14px 20px;
        font-size: 0.9375rem;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .budget-banner {
        padding: 24px 16px;
    }
    
    .budget-title {
        font-size: 1.75rem;
    }
    
    .budget-price {
        font-size: 2rem;
    }
    
    .budget-label {
        font-size: 0.875rem;
        padding: 6px 12px;
    }
    
    /* .car-item img {
        width: 60px;
    } */
    
    .budget-content {
        gap: 24px;
    }
}

.budget-bg-ellipse {
    position: absolute;
    top: -1px;
    left: -1px; 
    width: 171px;   
    height: 74px;
    background-image: url('../images/ellipse.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}



/* Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) repeat(2, 1fr);
    gap: 20px;
    grid-template-areas: 
        "model1 model2 model3 model4 model5 model6";
    margin-bottom: 24px;
}

/* Model Cards */
.model-card {
    display: flex;
    width: 200px;
    max-width: 225px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 16px;
    border: 1px solid #CCCCCC;
    border-radius: 16px;
    background: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.model-card:nth-child(5) {
    grid-area: model5;
}

.model-card:nth-child(6) {
    grid-area: model6;
}

/* Price Badge */
.price-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: 4px;
    background: #00E5B9;
    gap: 6px;
    z-index: 2;
    color: #000;
    font-family: Jost;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 10px;
}

.price-badge span {
    color: #000;
    font-family: Jost;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 10px; /* 83.333% */
    text-transform: uppercase;
}

/* Warranty Badge */
.warranty-badge {
    display: flex;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    /* gap: 8px; */
    border-radius: 4px;
    background: #FF005D;
    color: #ffffff;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 90%; /* 12.6px */
    text-transform: uppercase;
}

.warranty-badge svg {
    margin-bottom: 8px;
}

.warranty-text {
    color: #FFF;
    font-family: Jost;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    line-height: 90%; /* 7.2px */
    text-transform: uppercase;
    margin-top: 6px;
}

/* Car Image Container */
.model-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 11;
    margin-top: 30px;
}

.model-image {
    width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Model Info */
.model-info {
    background: inherit;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.model-brand {
    margin-bottom: 4px;
    color: #000;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 130%; /* 20.8px */
    text-decoration: none;
}

.model-name {
    margin-bottom: 4px;
    color: #000;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 130%; /* 20.8px */
    text-decoration: none;
}

.model-year {
    color: #000;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 20.8px */
}

/* View Offers Button */
.view-offers {
    display: flex;
    height: 40px;
    padding: 14px 16px 15px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    border-radius: 6px;
    background: #f3f3f3;
    color: #3B00DD;
    font-family: Jost;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .models-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas: 
            "model1 model2 model3 model4"
            "model5 model6 model7 model8";
    }
    .model-card {
        width: auto;
    }

    .echipa-members {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .top-models-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.25rem;
        gap: 8px;
    }
    
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        grid-template-areas:
            "model1 model2 model3"
            "model4 model5 model6";
    }

    .model-card {
        width: auto;
    }
    
    /* .model-card {
        height: 350px;
    } */
    
    .car-image {
        height: 120px;
    }

    .echipa-members {
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 12px;
    }

    .trade-finance-grid.section-two {
        grid-template-columns: auto;
    }

}

@media (max-width: 480px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        grid-template-areas: 
            "model1 model2"
            "model3 model4"
            "model5 model6";
    }

    .hero-search-form {
        padding: 16px;
    }
    
    .model-card {
        /* height: 320px; */
        width: 100%;
        max-width: 100%;
    }

    .trade-finance-grid,
    .trade-finance-grid.section-two {
        grid-template-columns: auto;
    }

    .trade-finance-grid {
        gap: 12px;
        margin-bottom: 12px;
    }

    .echipa-members {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .echipa-members > *:last-child {
        grid-column: 1 / -1;
    }

    .member-card {
        padding: 12px;
    }

    .member-phone {
        font-size: 15px;
    }

    .view-offers {
        font-size: 12px;
    }
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* News Cards */
.news-card {
    display: flex;
    flex-direction: column;
}

.news-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-link:hover {
    text-decoration: none;
    color: inherit;
}

/* News Image */
.news-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.news-image-container:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #3B00DD;
    opacity: .1;
}

.news-image-container img {
    transition: transform 0.3s ease;
}

.news-card:hover .news-image-container img {
    transform: scale(1.05);
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.news-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b00dd 0%, #6366f1 100%);
}

.news-image-placeholder svg {
    fill: rgba(255, 255, 255, 0.6);
    width: 60px;
    height: 60px;
}

/* News Content */
.news-content {
    padding: 24px 16px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.news-title {
    margin: 0;
    flex: 1;
    color: #000;
    font-family: Jost;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 140%;
}

.news-link-text {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;

    color: #3B00DD;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.news-card:hover .news-link-text {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .latest-news-section {
        margin-top: 60px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 30px;
    }

    .view-all-link {
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.25rem;
        gap: 8px;
        text-align: center;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .news-content {
        padding: 20px;
        gap: 12px;
    }
    
    .news-title {
        font-size: 18px;
    }

    .news-link-text {
        display: none;
    }


}

@media (max-width: 480px) {
    .news-content {
        padding: 16px;
    }
    
    .news-image-placeholder svg {
        width: 50px;
        height: 50px;
    }
}

/* Top Offers Section */
.top-offers-section {
    margin-top: 80px;
    margin-bottom: 40px;
}

.top-offers-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.title-emoji {
    font-size: 2.5rem;
}

.view-all-link {
    text-decoration: none;
    transition: all 0.3s ease;
    color: #3B00DD;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.view-all-link:hover {
    color: #2800aa;
    transform: translateX(4px);
    text-decoration: none;
}

.view-all-link-mobile .view-all-link {
    display: flex;
    height: 40px;
    padding: 14px 16px 15px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    border-radius: 6px;
    background: #f3f3f3;
}

/* Scroll Container */
.offers-scroll-container {
    width: 100%;
    position: relative;
}

.offers-cards-wrapper {
    display: flex;
    gap: 20px;
    /* width: calc(3 * 400px + 2 * 20px + 100px); */
    /* padding-left: 20px;
    padding-right: 20px; */
    cursor: grab;
    user-select: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offers-cards-wrapper:active {
    cursor: grabbing;
}

.offers-cards-wrapper.dragging {
    transition: none;
}

/* Offer Cards */
.offer-card {
    flex: 0 0 426px;
    height: 300px !important;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.offer-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Background Image */
.offer-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.offer-card:hover .offer-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.00) 37.69%), linear-gradient(180deg, rgba(59, 0, 221, 0.70) 0%, rgba(59, 0, 221, 0.00) 32.12%);
}

/* Top Ofertă Badge */
.top-offer-badge {
    position: absolute;
    left: 24px;
    bottom: 0;

    display: flex;
    padding: 4px 6px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    border-radius: 2px 2px 0 0;
    background: #FFD447;

    color: #000;
    text-align: center;
    font-family: Jost;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
}

/* Price Section */
.price-section {
    text-align: right;
    flex-shrink: 0; /* Nu se micșorează */
}

.price-section .monthly-value {
    color: #ffffff;
    margin-top: 8px;

    text-align: right;
    font-family: Jost;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.price-section .monthly-value span {
    color: #FFF;
    font-family: Jost;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.main-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
}

.monthly-rate {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    opacity: 0.8;
}

/* Vehicle Details */
.top-offer-vehicle-details {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    z-index: 2;
}

.top-offer-vehicle-meta {
    display: flex;
    flex-direction: column;
    flex: 1; /* Ocupă spațiul disponibil */
}

.top-offer-vehicle-title {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.top-offer-vehicle-title .brand,
.top-offer-vehicle-title .model {
    color: #FFF;
    text-align: center;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.top-offer-vehicle-title .year {
    color: #FFF;
    font-family: Jost;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.vehicle-specs-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;

    color: #FFF;
    font-family: Jost;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    margin-top: 6px;
}

.vehicle-specs .spec {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vehicle-specs .spec:not(:last-child)::after {
    content: ',';
    margin-left: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-offers-section {
        margin-top: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .offer-card {
        flex: 0 0 350px;
        height: 280px !important;
    }
    
    .top-offer-vehicle-title .brand {
        font-size: 1.125rem;
    }
    
    .top-offer-vehicle-title .model {
        font-size: 1.25rem;
    }
    
    .main-price {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 12px;
        margin-top: 0px;
    }
    
    .section-title {
        font-size: 1.25rem;
        gap: 8px;
        text-align: center;
    }

    .title-emoji {
        font-size: 1.25rem;
    }
    
    .offer-card {
        flex: 0 0 300px;
        height: 250px !important;
    }
    
    .main-price {
        font-size: 1.125rem;
    }
    
    .monthly-rate {
        font-size: 0.8125rem;
    }

    .top-offer-vehicle-title {
        gap: 4px
    }
    
    .top-offer-vehicle-title .brand {
        font-size: 1rem;
    }
    
    .top-offer-vehicle-title .model {
        font-size: 1.125rem;
    }
    
    .vehicle-specs .spec {
        font-size: 0.8125rem;
        padding: 3px 6px;
    }

    .offers-cards-wrapper {
        margin-bottom: 12px !important;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .offer-card {
        flex: 0 0 320px;
        height: 220px !important;
    }
}

/* Scrollbar styling */
.offers-scroll-container::-webkit-scrollbar {
    display: none;
}

.offers-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow: visible !important;
}