/* Frontend sahifalarining CSS'i. Blade ichida <style> yozilmaydi, yangi qoida shu yerga qo'shiladi.
   Sahifa qoidalari <body> klassi bilan cheklangan: Blade'da @section('page_class', 'page-...'),
   shu sababli bir sahifaning qoidasi boshqasiga o'tmaydi.
   :where() selektor og'irligini oshirmaydi, boshqa fayllardagi !important qoidalar bilan tartib buzilmaydi. */

/* ==========================================================================
   Umumiy (layouts.frontend)
   ========================================================================== */

body:where(.site-frontend) { color: #262626; }

:where(.site-frontend) a, :where(.site-frontend) a:hover, :where(.site-frontend) a:focus, :where(.site-frontend) a:active, :where(.site-frontend) a:visited {
    text-decoration: none !important;
}

/* Force no underline on all links globally */
:where(.site-frontend) * a {
    text-decoration: none !important;
}

/* ==========================================================================
   Komponent: x-car-comparison
   ========================================================================== */

@media (max-width: 768px) {
    :where(.site-frontend) .car-compare__mobile-select { display: block !important; }
    :where(.site-frontend) .car-compare { min-width: 0 !important; table-layout: auto !important; }
    :where(.site-frontend) .car-compare .pos-col { display: none; }
    :where(.site-frontend) .car-compare .col-label { width: auto !important; }

    /* Faqat mobil rejimda: qaysi ustun tanlangan bo'lsa, o'sha har doim ko'k bo'lsin */
    :where(.site-frontend) .car-compare .pos-col.is-selected.price-cell {
        background-color: #0099ff !important;
        color: #fff !important;
        font-weight: bold !important;
    }

    :where(.site-frontend) .car-compare .pos-col.is-selected.option-cell {
        background-color: #0076e4 !important;
        color: #fff !important;
        font-weight: bold !important;
    }

    /* Tanlanmagan ustunlar mobil'da hech qachon ko'rinmaydi, lekin ehtiyot uchun rangini neytral qilamiz */
    :where(.site-frontend) .car-compare .pos-col:not(.is-selected).price-cell {
        background-color: #f4f5f7 !important;
        color: #333 !important;
        font-weight: normal !important;
    }

    :where(.site-frontend) .car-compare .pos-col:not(.is-selected).option-cell {
        background-color: transparent !important;
        font-weight: normal !important;
    }
}

/* ==========================================================================
   Bosh sahifa (.page-home)
   ========================================================================== */

:where(.page-home) .home-models {
    padding: 58px 0 42px;
    background: #fff;
}

:where(.page-home) .home-models__inner {
    width: min(85vw);
    margin: 0 auto;
    text-align: center;
}

:where(.page-home) .home-models__title {
    margin: 0 0 36px;
    color: #262626;
    font-size: clamp(36px, 2.65vw, 48px);
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
    font-family: ChevySans, Arial, sans-serif;

}

/* --- Tabs --- */
:where(.page-home) .home-models__tabs {
    display: flex;
    justify-content: center;
    gap: clamp(46px, 5.5vw, 88px);
    margin-bottom: 28px;
}

:where(.page-home) .home-models__tabs button {
    appearance: none;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    padding: 14px 0 16px;
    color: #3d3d3d;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s, border-color 0.2s;
    font-family: ChevySans, Arial, sans-serif;

}

:where(.page-home) .home-models__tabs button:hover,
:where(.page-home) .home-models__tabs button.is-active {
    color: #0066cc;
    border-bottom-color: #0066cc;
}

/* --- Viewport: clips the peek --- */
:where(.page-home) .home-models__viewport {
    overflow: hidden;
    /* ← KEY: hides the 80% of card 3 */
    width: 100%;
}

:where(.page-home) .offers-accordion,
:where(.page-home) .offers-accordion * {
    font-family: ChevySans, Arial, sans-serif !important;
}

/* --- Track --- */
:where(.page-home) .home-models__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 28px;
    transition: transform 0.4s ease;
    will-change: transform;
    font-family: ChevySans, Arial, sans-serif;

}

:where(.page-home) .home-models__card {
    flex: 0 0 calc((100% - 28px) / 2.2);
    min-width: 0;
    text-align: left;
    cursor: pointer;
}

:where(.page-home) .home-models__card .vehicle-image {
    width: 100%;
    height: clamp(280px, 22vw, 428px);
    object-fit: cover;
    display: block;
    border-radius: 16px;
    background: #f4f4f4;
}

:where(.page-home) .home-models__card .card-body {
    margin-top: 14px;
    padding: 0 6px;
}

:where(.page-home) .home-models__card .card-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

:where(.page-home) .home-models__card h3 {
    margin: 0;
    color: #171717;
    font-size: clamp(22px, 1.65vw, 30px);
    font-weight: 500;
    line-height: 1.1;
}

:where(.page-home) .home-models__card .card-price {
    text-align: right;
    flex-shrink: 0;
}

:where(.page-home) .home-models__card .card-price .label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    font-family: ChevySans, Arial, sans-serif;

}

:where(.page-home) .home-models__card .card-price .amount {
    font-size: 18px;
    font-weight: 600;
    color: #171717;
    white-space: nowrap;
    font-family: ChevySans, Arial, sans-serif;
}

:where(.page-home) .home-models__card .card-price .amount span {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    font-family: ChevySans, Arial, sans-serif;
}

:where(.page-home) .home-models__card .card-links {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
    font-family: ChevySans, Arial, sans-serif;

}

:where(.page-home) .home-models__card .card-links a {
    color: #006fd6;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: color 0.2s;
    font-family: ChevySans, Arial, sans-serif;

}

/* .home-models__card .card-links a::after {
    content: "";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
} */

:where(.page-home) .home-models__card .card-links a:hover {
    color: #004f9e;
}

/* --- Arrow Controls --- */
:where(.page-home) .home-models__controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
}

:where(.page-home) .home-models__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #222;
    border-radius: 50%;
    background: #fff;
    color: #222;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

:where(.page-home) .home-models__arrow:hover:not(:disabled) {
    border-color: #006fd6;
    color: #006fd6;
}

:where(.page-home) .home-models__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: #999;
    color: #999;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    :where(.page-home) .home-models__inner {
        width: 90vw;
    }

    :where(.page-home) .home-models__card {
        flex: 0 0 80%;
        /* 1 full card + 20% peek on mobile */
    }

    :where(.page-home) .home-models__card .vehicle-image {
        height: 220px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    :where(.page-home) .home-models__card {
        flex: 0 0 calc((100% - 28px) / 1.2);
        /* 1 full + 20% peek on tablet */
    }

    :where(.page-home) .home-models__card .vehicle-image {
        height: 300px;
    }
}

:where(.page-home) #mhSegments .seg {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    cursor: pointer;
    overflow: hidden;
}

:where(.page-home) #mhSegments .seg__fill {
    height: 100%;
    background: #fff;
    width: 0%;
}

:where(.page-home) #mhContent.fading {
    opacity: 0 !important;
}

/* ==========================================================================
   Parolni tiklash (.page-password-reset)
   ========================================================================== */

    :where(.page-password-reset) .auth__btn {
    width: 100%;
    background: #0072CE;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    :where(.page-password-reset) .auth__btn:hover {
        background: #173F7E;
    }

  :where(.page-password-reset) .m-l-t {
    color: #000;
}

/* ==========================================================================
   Dilerlar (.page-dealer)
   ========================================================================== */

    :where(.page-dealer) #chooese_region {
        text-transform: uppercase;
        font-weight: 500;
        color: #5E5E5E !important;
        font-family: ChevySans, Arial, sans-serif;
    }

    :where(.page-dealer) #chooese_region option {
        text-transform: uppercase;
        font-weight: 500;
        color: #5E5E5E !important;
        font-family: ChevySans, Arial, sans-serif;
    }

    :where(.page-dealer) #dealer_box .col-md-6 {
        display: flex;
    }

    :where(.page-dealer) .dealer__cart {
        border: 2px solid #0077d9;
        border-radius: 8px;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        flex: 1;
        height: 270px;
        background: #fff;
        font-family: ChevySans, Arial, sans-serif;
    }

   :where(.page-dealer) .dealer__cart-info {
        display: flex;
        flex-direction: column;
        flex: 1;
        margin-right: 15px;
    }

    :where(.page-dealer) .dealer__cart-info a {
        color: inherit;
        text-decoration: none;
    }

    :where(.page-dealer) .dealer__cart-info a.btn {
        font-size: 16px;
        margin-top: auto !important;
    }

    :where(.page-dealer) .dealer__cart-img img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 6px;
        }

   @media (max-width: 768px) {

    :where(.page-dealer) .dealer__cart {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        text-align: left;
        height:auto;
    }

    :where(.page-dealer) .dealer__cart-img img {
        width: 100% !important;
        height: 200px !important;
        border-radius: 6px;
    }

    :where(.page-dealer) .dealer__cart-info {
        margin-top: 10px;
        order: 2;
        text-align: left !important;
    }

    :where(.page-dealer) .dealer__cart-info a.btn {
        margin-left: 0;
        width: fit-content;
    }

     :where(.page-dealer) #dealer_box .row {
        margin-top: 25px !important;
    }
    
    :where(.page-dealer) #chooese_region {
        width: 100% !important;
        font-size: 15px;
        padding: 10px 12px;
    }
}

:where(.page-dealer) .autocomplete-box {
    position: relative;
    margin-top: 10px;
    background: #fff;
    padding: 10px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: none;
    z-index: 9999;
}
:where(.page-dealer) .autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
}
:where(.page-dealer) .autocomplete-item:hover {
    background: #f5f5f5;
}
:where(.page-dealer) .autocomplete-title {
    font-weight: bold;
}
:where(.page-dealer) .autocomplete-pos {
    font-size: 12px;
    color: #777;
    margin-top: 3px;
}

@media (max-width: 768px) {

      :where(.page-dealer) .dealer__map-filter {
        width: 92% !important;  
        max-width: 92% !important;
        margin: 0 auto !important;       
        margin-top: 35px !important;
        margin-bottom: 15px !important;
        padding: 18px 15px !important;
        background: #fff !important;
        border-radius: 14px !important;
        box-shadow: 0 3px 12px rgba(0,0,0,0.10) !important;
        box-sizing: border-box !important;
        display: block !important;
    }

      :where(.page-dealer) .dealer__map {
        width: 100% !important;
        margin: 0 auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    :where(.page-dealer) .dealer__map-filter h4 {
        margin-bottom: 15px !important;
        font-size: 18px !important;
    }

     :where(.page-dealer) .search-wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    :where(.page-dealer) .search-wrapper input {
        width: 100% !important;
        padding: 14px 16px;
        font-size: 15px;
        border: 1px solid #ccc !important;
        border-radius: 10px;
        border: 1px solid #ccc;
        background: #fafafa;
        box-sizing: border-box !important;
    }

   :where(.page-dealer) .search-wrapper button {
        width: 100% !important;
        padding: 14px 16px;
        border-radius: 10px;
        background: #555;
        color: #fff;
        font-weight: 600;
        border: none;
        letter-spacing: 1px;
    }

    /* Autocomplete dropdown */
     :where(.page-dealer) #searchResults {
        width: 100% !important;
        margin-top: 10px;
        border-radius: 12px;
        background: #fff;
        border: 1px solid #ddd;
        box-shadow: 0 3px 10px rgba(0,0,0,0.15);
        overflow: hidden;
        display: none;
    }

    :where(.page-dealer) .autocomplete-item {
        padding: 12px 15px !important;
        border-bottom: 1px solid #eee !important;
    }

    :where(.page-dealer) .autocomplete-item:last-child {
        border-bottom: none !important;
    }
}

:where(.page-dealer) .dealer .container {
    width: 100%;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Tablet */
@media (max-width: 1199px) {
    :where(.page-dealer) .dealer .container {
        max-width: 970px;
    }
}

/* Small tablet */
@media (max-width: 991px) {
    :where(.page-dealer) .dealer .container {
        max-width: 750px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :where(.page-dealer) .dealer .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

:where(.page-dealer) .dealer #dealer_title h5 {
    margin-top: 20px;
    margin-bottom: 20px;
}
:where(.page-dealer) .dealer__cart-info .btn {
    padding: 0 !important;
    text-align: left;
    display: inline-flex !important;
    align-items: center;
    width: fit-content;
    gap: 6px;
}
:where(.page-dealer) .dealer-region-title {
    display: block;
    color: #262626;
    font-weight: 600;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: ChevySans, Arial, sans-serif;

}

/* ==========================================================================
   Savol-javob (.page-faq)
   ========================================================================== */

:where(.page-faq) .faq-section,
:where(.page-faq) .header-image__text {
    font-weight:500;
    font-family: ChevySans, Arial, sans-serif;
}

:where(.page-faq) section,
:where(.page-faq) section h1,
:where(.page-faq) section h2,
:where(.page-faq) section h3,
:where(.page-faq) section span,
:where(.page-faq) section button,
:where(.page-faq) section div,
:where(.page-faq) .header-image__text {
    font-family: ChevySans, Arial, sans-serif !important;
}

:where(.page-faq) .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
:where(.page-faq) .faq-content.open {
    max-height: 1000px;
}

/* ==========================================================================
   Xorijdagi dilerlar (.page-abroad)
   ========================================================================== */

    :where(.page-abroad) .dealer .container{
        max-width:1170px;
        margin:30px auto;
    }

    :where(.page-abroad) .dealer__cart {
        border: 2px solid #0076e4;
        border-radius: 8px;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        flex: 1;
        height: 270px;
        background: #fff;
        font-family: ChevySans, Arial, sans-serif;

    }
    :where(.page-abroad) .dealer__cart-info .btn {
        padding: 0 !important;
        text-align: left;
        display: inline-flex !important;
        align-items: center;
        width: fit-content;
        gap: 6px;
    }
    :where(.page-abroad) .header-image__text {
        font-family: ChevySans, Arial, sans-serif;
        font-weight:500;
    }

    :where(.page-abroad) .dealer__cart-info a {
        color: inherit;
        text-decoration: none;
    }

    @media (max-width:1200px){
        :where(.page-abroad) .dealer .container{
            padding-left:15px;
            padding-right:15px;
        }
    }
    @media (max-width: 767px) {
    :where(.page-abroad) .dealer__cart {
        flex-direction: column;
        height: auto;
        gap: 16px;
    }

    :where(.page-abroad) .dealer__cart-img {
        order: -1;
    }

    :where(.page-abroad) .dealer__cart-img img {
        border-radius: 6px;
    }
}
    :where(.page-abroad) .title.title--sm{
        margin-bottom:25px;
        font-weight:600;
        text-transform:uppercase;
        font-family: ChevySans, Arial, sans-serif;
    }

    :where(.page-abroad) .dealer .row{
        margin-bottom:20px;
    }

/* ==========================================================================
   Broshyuralar (.page-brochure)
   ========================================================================== */

    /* Texnik reglament sahifasi uchun container */
:where(.page-brochure) .p-l-y .container {
    width: 100%;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
:where(.page-brochure) .p-l-y,
:where(.page-brochure) .header-image__text {
    font-weight:500;
    font-family: ChevySans, Arial, sans-serif;
}

:where(.page-brochure) .brochure-card__title {
    font-family: ChevySans, Arial, sans-serif;
}

:where(.page-brochure) .brochure-card__btn {
    font-family: ChevySans, Arial, sans-serif;
}

/* Tablet */
@media (max-width: 1199px) {
    :where(.page-brochure) .p-l-y .container {
        max-width: 970px;
    }
}

/* Small tablet */
@media (max-width: 991px) {
    :where(.page-brochure) .p-l-y .container {
        max-width: 750px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :where(.page-brochure) .p-l-y .container {
        max-width: 100%;
    }
}

/* ==========================================================================
   Korporativ sahifa (.page-corporate)
   ========================================================================== */

:where(.page-corporate) .p-l-y .container{
    width: 100%;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
@media (max-width: 767px) {
    :where(.page-corporate) .p-l-y .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ==========================================================================
   Me’yoriy-texnik hujjatlar (.page-documents)
   ========================================================================== */

/* Faqat shu sahifa uchun container */
:where(.page-documents) .p-l-y .container{
    width:100%;
    max-width:1170px;
    margin-left:auto;
    margin-right:auto;
    padding-left:15px;
    padding-right:15px;
}
:where(.page-documents) .p-l-y,
:where(.page-documents) .header-image__text {
    font-weight:500;
    font-family: ChevySans, Arial, sans-serif;
}

/* Tablet */
@media (max-width:1199px){
    :where(.page-documents) .p-l-y .container{
        max-width:970px;
    }
}

/* Small tablet */
@media (max-width:991px){
    :where(.page-documents) .p-l-y .container{
        max-width:750px;
    }
}

/* Mobile */
@media (max-width:767px){
    :where(.page-documents) .p-l-y .container{
        max-width:100%;
    }

    :where(.page-documents) .p-l-y .row {
        display: flex;
        flex-direction: column;
    }

    :where(.page-documents) .p-l-y .col-xs-6 {
        width: 100% !important;
        max-width: 100% !important;
    }

    :where(.page-documents) .brochure-card {
        width: 100% !important;
        max-height: none !important;   /* ← muammoni hal qiladi */
        min-height: auto !important;
/*        margin: 0 0 30px 0 !important;*/
    }

    :where(.page-documents) .brochure-card__btn {
        display: block;
        text-align: center;
        padding: 12px;
        margin-top: 12px;
    }
}

/* ==========================================================================
   Xorijdagi ehtiyot qismlar (.page-service-abroad)
   ========================================================================== */

/* faqat dealer sahifalari uchun */
:where(.page-service-abroad) .dealer .container{
    width:100%;
    max-width:1170px;
    margin-left:auto;
    margin-right:auto;
    padding-left:15px;
    padding-right:15px;
}

    :where(.page-service-abroad) .dealer__cart {
        border: 2px solid #0076e4;
        border-radius: 8px;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        flex: 1;
        height: 270px;
        background: #fff;
        font-family: ChevySans, Arial, sans-serif;
    }

      :where(.page-service-abroad) .dealer__cart-info a {
        color: inherit;
        text-decoration: none;
    }

/* Tablet */
@media (max-width:1199px){
    :where(.page-service-abroad) .dealer .container{
        max-width:970px;
    }
}

/* Small tablet */
@media (max-width:991px){
    :where(.page-service-abroad) .dealer .container{
        max-width:750px;
    }
}

/* Mobile */
@media (max-width:767px){
    :where(.page-service-abroad) .dealer .container{
        max-width:100%;
    }

    :where(.page-service-abroad) .dealer__cart {
        flex-direction: column;
        height: auto;
        gap: 16px;
    }

    :where(.page-service-abroad) .dealer__cart-img {
        order: -1;
    }

    :where(.page-service-abroad) .dealer__cart-img img {
        border-radius: 6px;
    }
}

:where(.page-service-abroad) .dealer .title.title--sm{
    margin-top:40px;
    margin-bottom:40px;
    font-weight:600;
    font-family: ChevySans, Arial, sans-serif;
}
:where(.page-service-abroad) .header-image__text {
    font-weight:600;
    font-family: ChevySans, Arial, sans-serif;
}
:where(.page-service-abroad) .dealer__cart-info .btn {
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

/* ==========================================================================
   O’zbekistondagi ehtiyot qismlar (.page-service-uzbekistan)
   ========================================================================== */

    :where(.page-service-uzbekistan) .dealer .container{
        width:100%;
        max-width:1170px;
        margin-left:auto;
        margin-right:auto;
    }
    
    :where(.page-service-uzbekistan) .dealer__cart-info .btn {
        padding: 0 !important;
        text-align: left;
        display: inline-flex !important;
        align-items: center;
        width: fit-content;
        gap: 6px;
    }

    :where(.page-service-uzbekistan) .dealer__cart {
        border: 2px solid #0076e4;
        border-radius: 8px;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        flex: 1;
        height: 270px;
        background: #fff;
        font-family: ChevySans, Arial, sans-serif;
    }

     :where(.page-service-uzbekistan) .dealer__cart-info a {
        color: inherit;
        text-decoration: none;
    }

    /* Tablet */
    @media (max-width:1199px){
        :where(.page-service-uzbekistan) .dealer .container{
            max-width:970px;
        }
    }

    /* Small tablet */
    @media (max-width:991px){
        :where(.page-service-uzbekistan) .dealer .container{
            max-width:750px;
        }
    }

 @media (max-width:767px){
    :where(.page-service-uzbekistan) .dealer .container{
        max-width:100%;
        padding-left:15px;
        padding-right:15px;
    }

    :where(.page-service-uzbekistan) .dealer__cart {
        flex-direction: column;
        height: auto;
        gap: 16px;
    }

    :where(.page-service-uzbekistan) .dealer__cart-img {
        order: -1;
    }

    :where(.page-service-uzbekistan) .dealer__cart-img img {
        border-radius: 6px;
    }
}
    :where(.page-service-uzbekistan) .dealer .title.title--sm{
        margin-top:40px;
        margin-bottom:40px;
        font-weight:600;
        font-family: ChevySans, Arial, sans-serif;
    }

/* ==========================================================================
   Kafolat (.page-warranty)
   ========================================================================== */

:where(.page-warranty) .p-l-y,
:where(.page-warranty) .header-image__text {
    font-weight:500;
    font-family: ChevySans, Arial, sans-serif;
}

:where(.page-warranty) .main-links__item:hover p {
    color: #0076e4;
}

/* ==========================================================================
   Maxsus takliflar (.page-sale)
   ========================================================================== */

:where(.page-sale) .p-l-y .container{
    width:1270px;
    margin-left:auto;
    margin-right:auto;
}
:where(.page-sale) .p-l-y,
:where(.page-sale) .header-image__text {
    font-weight:500;
    font-family: ChevySans, Arial, sans-serif;
}

:where(.page-sale) .p-l-y select,
:where(.page-sale) .p-l-y option {
    font-family: ChevySans, Arial, sans-serif;
}

:where(.page-sale) .main-news::after {
  content: "";
  position: absolute;
  bottom: -5px;
  height: 3px;
  width: 100%;
  left: 0px;
  background-color: #0d6efd !important;
  transition: 0.3s;
  transition-timing-function: ease-in-out;
  transform: scaleX(0);
}

:where(.page-sale) .p-l-y .chevy-offer-banner{
    position: static;
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    border-radius: 8px;
    overflow: hidden;
}

/* ==========================================================================
   Servis (.page-service)
   ========================================================================== */

:where(.page-service) .service__block {
    margin-bottom: 15px;
}

:where(.page-service) .regions li{
    padding-bottom: 5px;
    position: relative;
}

:where(.page-service) .regions li:hover {
    color: #E29724;
        width: max-content;
}

:where(.page-service) .regions li:after {
	display: block;
	position: absolute;
	left: 0;
	width: 0;
	height: 3px;
	background-color: #E29724;
	content: "";
	transition: width 0.5s ease-out;
}

:where(.page-service) .regions li:hover:after,
:where(.page-service) .regions li:focus:after {
	width: 100%; 
}

:where(.page-service) .regions h3 {
    margin-bottom: 15px;
    /*text-decoration: underline;*/
    border-bottom: 2px solid;
}

:where(.page-service) .regions {
    /*position: -webkit-sticky;*/
    /*position: sticky;*/
    /*top: 10px;*/
    top: 20px;
    list-style: none;
    padding: 0;
    gap: 15px;
    height: -webkit-fill-available;
    overflow-y: scroll;
}

/* ==========================================================================
   Yangilik sahifasi (.page-news-show)
   ========================================================================== */

    :where(.page-news-show) .news-hero {
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    :where(.page-news-show) .news-hero { height: 250px; }
}

:where(.page-news-show) .news-show-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 20px 60px; }
:where(.page-news-show) .news-show-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 50px; }

:where(.page-news-show) .ns-cat { 
    display: inline-block; 
    background: #eef4fb; 
    color: #0076e4; 
    font-size: 12px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: .5px; 
    padding: 5px 12px; 
    border-radius: 4px; 
    margin-bottom: 16px;

}

:where(.page-news-show) .ns-title { 
    font-size: 28px; 
    line-height: 1.25; 
    font-weight: 500; 
    color: #1a1a2e; 
    margin: 0 0 12px; 
    font-family: ChevySans, Arial, sans-serif;

}

:where(.page-news-show) .ns-date { font-size: 13px; color: #888; margin-bottom: 28px; }
:where(.page-news-show) .redactor-content { font-size: 17px; line-height: 1.8; color: #333; }
:where(.page-news-show) .redactor-content p { margin: 0 0 20px; }
:where(.page-news-show) .redactor-content img { max-width: 100%; height: auto; border-radius: 8px; }
:where(.page-news-show) .redactor-content h2, :where(.page-news-show) .redactor-content h3 { color: #1a1a2e; margin: 32px 0 14px; }

:where(.page-news-show) .ns-side { position: sticky; top: 90px; align-self: start; }
:where(.page-news-show) .ns-card { margin-bottom: 34px; }
:where(.page-news-show) .ns-card h4 { font-size: 15px; font-weight: 600; color: #1a1a2e; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid #1a1a2e; }

:where(.page-news-show) .ns-pick { display: flex; gap: 12px; text-decoration: none; padding: 12px 0; border-bottom: 1px solid #eee; }
:where(.page-news-show) .ns-pick:last-child { border-bottom: none; }
:where(.page-news-show) .ns-pick img { width: 72px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
:where(.page-news-show) .ns-pick .p-date { font-size: 11px; color: #999; margin-bottom: 4px; }
:where(.page-news-show) .ns-pick .p-title { font-size: 13px; line-height: 1.4; color: #333; }
:where(.page-news-show) .ns-pick:hover .p-title { color: #0076e4; }

:where(.page-news-show) .ns-topics { display: flex; flex-wrap: wrap; gap: 8px; }
:where(.page-news-show) .ns-topics a { font-size: 13px; color: #444; background: #f0f1f3; padding: 7px 14px; border-radius: 20px; text-decoration: none; transition: .2s; }
:where(.page-news-show) .ns-topics a:hover { background: #0076e4; color: #fff; }

:where(.page-news-show) .ns-follow {
    display: flex;
    gap: 16px;
    align-items: center;
}
:where(.page-news-show) .ns-follow svg {
    width: 44px;
    height: 44px;
}
:where(.page-news-show) .ns-follow a { width: 40px; height: 40px;   display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: #1a1a2e; color: #fff; text-decoration: none; }
:where(.page-news-show) .ns-follow a:hover { background: #0076e4; }
:where(.page-news-show) .ns-follow {
    display: flex;
    gap: 24px;
    align-items: center;
}

:where(.page-news-show) .ns-follow a {
    display: inline-flex;
}

:where(.page-news-show) .ns-follow svg {
    width: 48px;
    height: 48px;
}

:where(.page-news-show) .ns-related { max-width: 1200px; margin: 0 auto; padding: 0 20px 70px; }
:where(.page-news-show) .ns-related h3 { font-size: 24px; font-weight: 600; color: #1a1a2e; margin: 0 0 28px; }
:where(.page-news-show) .ns-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
:where(.page-news-show) .ns-rel-card { text-decoration: none; color: #1a1a2e; }
:where(.page-news-show) .ns-rel-card img { width: 100%; height: 190px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
:where(.page-news-show) .ns-rel-card .r-cat { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #0076e4; margin-bottom: 6px; }
:where(.page-news-show) .ns-rel-card h4 { font-size: 16px; line-height: 1.4; font-weight: 600; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:where(.page-news-show) .ns-rel-card:hover h4 { color: #0076e4; }

@media (max-width: 900px) {
    :where(.page-news-show) .news-show-grid { grid-template-columns: 1fr; gap: 40px; }
    :where(.page-news-show) .ns-side { position: static; }
    :where(.page-news-show) .ns-title { font-size: 26px; }
    :where(.page-news-show) .ns-rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :where(.page-news-show) .header-image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0a1628; /* fon rangi, rasmning asosiy rangiga moslang */
    height: auto;
    aspect-ratio: 16/9;
  }
}

/* ==========================================================================
   Test-drayv (.page-test-drive)
   ========================================================================== */

:where(.page-test-drive) input[type=checkbox] {
    background-color: #f5f5f700;
    border: 1.3px solid #0076e4 !important;
}
:where(.page-test-drive) input[type=checkbox]:checked {
    background-color: #0076e4 !important;
    -webkit-box-shadow: inset 0 0 0 3px #0076e4 !important;
}

.page-test-drive .test-drive {
    padding: 60px 0;
    font-family: ChevySans, Arial, sans-serif;
    color: #333;
    background-color: #fff;
}
.page-test-drive .test-drive__container {
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.page-test-drive .test-drive__title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #222;
}
.page-test-drive .test-drive__alert {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.page-test-drive .test-drive__alert-list {
    margin: 0;
    padding-left: 20px;
}
.page-test-drive .test-drive__form {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.page-test-drive .test-drive__column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.page-test-drive .test-drive__column--wide {
    gap: 20px;
}
.page-test-drive .test-drive__step-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
}
.page-test-drive .test-drive__step-title--wide {
    margin-bottom: 10px;
}
.page-test-drive .test-drive__preview {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}
.page-test-drive .test-drive__preview-img {
    width: 100%;
    height: auto;
    opacity: 0.85;
}
.page-test-drive .test-drive__field {
    display: flex;
    flex-direction: column;
}
.page-test-drive .test-drive__field--labeled {
    gap: 5px;
}
.page-test-drive .test-drive__field--comment {
    margin-top: 15px;
}
.page-test-drive .test-drive__label {
    font-size: 12px;
    font-weight: 600;
}
.page-test-drive .test-drive__select-wrap {
    position: relative;
}
.page-test-drive .test-drive__input,
.page-test-drive .test-drive__select {
    width: 100%;
    padding: 14px;
    background-color: #f0f0f2;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.page-test-drive .test-drive__select {
    color: #444;
    appearance: none;
    -webkit-appearance: none;
}
.page-test-drive .test-drive__select--model {
    font-weight: 500;
}
.page-test-drive .test-drive__select--dealer {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    color: #666;
}
.page-test-drive .test-drive__select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}
.page-test-drive .test-drive__textarea {
    width: 100%;
    height: 220px;
    padding: 12px;
    background-color: #f0f0f2;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    box-sizing: border-box;
}
.page-test-drive .test-drive__agreement {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.page-test-drive .test-drive__consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.6;
    cursor: pointer;
    background-color: #f7f8fa;
    border: 1px solid #e3e5e8;
    border-radius: 6px;
    padding: 14px 16px;
    color: #444;
}
.page-test-drive .test-drive__checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    margin: 1px 0 0;
    cursor: pointer;
}
.page-test-drive .test-drive__consent-link {
    color: #0071d2;
    font-weight: 600;
}
.page-test-drive .test-drive__submit {
    width: 100%;
    padding: 16px;
    background-color: #0076e4;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Malibu XL (.page-car-malibu-xl)
   ========================================================================== */

  :where(.page-car-malibu-xl) .chevy-offer-banner__specs-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

:where(.page-car-malibu-xl) .chevy-offer-banner__specs-list li {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  margin: 8px 0;
  min-height: 20px;
}

:where(.page-car-malibu-xl) .chevy-offer-banner__specs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

:where(.page-car-malibu-xl) .offer-list {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

:where(.page-car-malibu-xl) .offer-list li {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  margin: 6px 0;
  min-height: 18px;
}

:where(.page-car-malibu-xl) .offer-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

:where(.page-car-malibu-xl) .gallery-modal__header {
  overflow: visible !important;
}

:where(.page-car-malibu-xl) .gallery-modal__header {
  overflow: visible !important;
}

:where(.page-car-malibu-xl) .gallery-modal__category {
  position: relative !important;
  overflow: visible !important;
  z-index: 1 !important;
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-10px) !important;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
  z-index: 99999 !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  padding: 0px !important;
  min-width: 200px !important;
  margin-top: 0px !important;
  margin-left: 0px !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  /* padding: 12px 16px !important; */
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  text-align: left !important;
  /* border-bottom: 1px solid #8c8c8c !important; */
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown-item:hover {
  background: #f9fafb !important;
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown-item.active {
  background: #f3f4f6 !important;
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown-text {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  justify-content: space-between !important;
  font-size: 17px !important;
  font-weight: 500 !important;
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown-text span {
  padding-left: 6px !important;
  border-left: 2px solid #fff !important;
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown-text span:first-child {
  font-weight: 500 !important;
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown-text span:last-child {
  opacity: 0.6 !important;
  font-size: 16px !important;
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown-item:hover .gallery-modal__dropdown-text span:first-child {
  border-left: 2px solid #0077d9 !important;
}

:where(.page-car-malibu-xl) .gallery-modal__dropdown-item.active .gallery-modal__dropdown-text span:first-child {
  border-left: 2px solid #0077d9 !important;
}

/* Hidden slides styling */
:where(.page-car-malibu-xl) .swiper-slide-hidden {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  flex: 0 0 0 !important;
}

/* Ensure thumbnail slider properly adjusts when slides are hidden */
:where(.page-car-malibu-xl) .gallery-modal__thumbnails-slider .swiper-wrapper {
  display: flex !important;
  transition: transform 0.3s ease !important;
}

:where(.page-car-malibu-xl) .gallery-modal__thumbnails-slider .swiper-slide:not(.swiper-slide-hidden) {
  flex-shrink: 0 !important;
}

/* Ensure swiper container maintains proper layout */
:where(.page-car-malibu-xl) .gallery-modal__main .swiper-wrapper {
  display: flex !important;
  transition: transform 0.3s ease !important;
}

:where(.page-car-malibu-xl) .gallery-modal__thumbnails-slider .swiper-wrapper {
  display: flex !important;
  transition: transform 0.3s ease !important;
}

/* ==========================================================================
   Tahoe (.page-car-tahoe)
   ========================================================================== */

  :where(.page-car-tahoe) .chevy-offer-banner__specs-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
  }

:where(.page-car-tahoe) .chevy-offer-banner__specs-list li {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  margin: 8px 0;
  min-height: 20px;
}

:where(.page-car-tahoe) .chevy-offer-banner__specs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

:where(.page-car-tahoe) .offer-list {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

:where(.page-car-tahoe) .offer-list li {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  margin: 6px 0;
  min-height: 18px;
}

:where(.page-car-tahoe) .offer-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

/* Fix dropdown visibility and positioning */
:where(.page-car-tahoe) .gallery-modal__header {
  overflow: visible !important;
}
.page-car-tahoe ...

.gallery-modal__header {
  overflow: visible !important;
}

:where(.page-car-tahoe) .gallery-modal__category {
  position: relative !important;
  overflow: visible !important;
  z-index: 1 !important;
}

:where(.page-car-tahoe) .gallery-modal__dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-10px) !important;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
  z-index: 99999 !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  padding: 0px !important;
  min-width: 200px !important;
  margin-top: 0px !important;
  margin-left: 0px !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

:where(.page-car-tahoe) .gallery-modal__dropdown.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

:where(.page-car-tahoe) .gallery-modal__dropdown-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  /* padding: 12px 16px !important; */
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  text-align: left !important;
  /* border-bottom: 1px solid #8c8c8c !important; */
}

:where(.page-car-tahoe) .gallery-modal__dropdown-item:hover {
  background: #f9fafb !important;
}

:where(.page-car-tahoe) .gallery-modal__dropdown-item.active {
  background: #f3f4f6 !important;
}

:where(.page-car-tahoe) .gallery-modal__dropdown-text {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  justify-content: space-between !important;
  font-size: 17px !important;
  font-weight: 500 !important;
}

:where(.page-car-tahoe) .gallery-modal__dropdown-text span {
  padding-left: 6px !important;
  border-left: 2px solid #fff !important;
}

:where(.page-car-tahoe) .gallery-modal__dropdown-text span:first-child {
  font-weight: 500 !important;
}

:where(.page-car-tahoe) .gallery-modal__dropdown-text span:last-child {
  opacity: 0.6 !important;
  font-size: 16px !important;
}

:where(.page-car-tahoe) .gallery-modal__dropdown-item:hover .gallery-modal__dropdown-text span:first-child {
  border-left: 2px solid #0077d9 !important;
}

:where(.page-car-tahoe) .gallery-modal__dropdown-item.active .gallery-modal__dropdown-text span:first-child {
  border-left: 2px solid #0077d9 !important;
}

/* Hidden slides styling */
:where(.page-car-tahoe) .swiper-slide-hidden {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  flex: 0 0 0 !important;
}

/* Ensure thumbnail slider properly adjusts when slides are hidden */
:where(.page-car-tahoe) .gallery-modal__thumbnails-slider .swiper-wrapper {
  display: flex !important;
  transition: transform 0.3s ease !important;
}

:where(.page-car-tahoe) .gallery-modal__thumbnails-slider .swiper-slide:not(.swiper-slide-hidden) {
  flex-shrink: 0 !important;
}

/* Ensure swiper container maintains proper layout */
:where(.page-car-tahoe) .gallery-modal__main .swiper-wrapper {
  display: flex !important;
  transition: transform 0.3s ease !important;
}

:where(.page-car-tahoe) .gallery-modal__thumbnails-slider .swiper-wrapper {
  display: flex !important;
  transition: transform 0.3s ease !important;
}

/* ==========================================================================
   Traverse (.page-car-traverse)
   ========================================================================== */

:where(.page-car-traverse) .offer-list {
  list-style: none;
  margin: 12px 0;
  padding: 0;
}

:where(.page-car-traverse) .offer-list li {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 20px;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  margin: 6px 0;
  min-height: 18px;
}

:where(.page-car-traverse) .offer-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

:where(.page-car-traverse) .chevy-offer-banner__specs-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

:where(.page-car-traverse) .chevy-offer-banner__specs-list li {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  margin: 8px 0;
  min-height: 20px;
}

:where(.page-car-traverse) .chevy-offer-banner__specs-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

@media (max-width: 768px) {
  :where(.page-car-traverse) .chevy-offer-banner__specs-list li {
    font-size: 15px;
  }
}
/* Fix dropdown visibility and positioning */
:where(.page-car-traverse) .gallery-modal__header {
  overflow: visible !important;
}

:where(.page-car-traverse) .gallery-modal__category {
  position: relative !important;
  overflow: visible !important;
  z-index: 1 !important;
}

:where(.page-car-traverse) .gallery-modal__dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-10px) !important;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
  z-index: 99999 !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
  padding: 0px !important;
  min-width: 200px !important;
  margin-top: 0px !important;
  margin-left: 0px !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

:where(.page-car-traverse) .gallery-modal__dropdown.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

:where(.page-car-traverse) .gallery-modal__dropdown-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  /* padding: 12px 16px !important; */
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  text-align: left !important;
  /* border-bottom: 1px solid #8c8c8c !important; */
}

:where(.page-car-traverse) .gallery-modal__dropdown-item:hover {
  background: #f9fafb !important;
}

:where(.page-car-traverse) .gallery-modal__dropdown-item.active {
  background: #f3f4f6 !important;
}

:where(.page-car-traverse) .gallery-modal__dropdown-text {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  justify-content: space-between !important;
  font-size: 17px !important;
  font-weight: 500 !important;
}

:where(.page-car-traverse) .gallery-modal__dropdown-text span {
  padding-left: 6px !important;
  border-left: 2px solid #fff !important;
}

:where(.page-car-traverse) .gallery-modal__dropdown-text span:first-child {
  font-weight: 500 !important;
}

:where(.page-car-traverse) .gallery-modal__dropdown-text span:last-child {
  opacity: 0.6 !important;
  font-size: 16px !important;
}

:where(.page-car-traverse) .gallery-modal__dropdown-item:hover .gallery-modal__dropdown-text span:first-child {
  border-left: 2px solid #0077d9 !important;
}

:where(.page-car-traverse) .gallery-modal__dropdown-item.active .gallery-modal__dropdown-text span:first-child {
  border-left: 2px solid #0077d9 !important;
}

/* Hidden slides styling */
:where(.page-car-traverse) .swiper-slide-hidden {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  flex: 0 0 0 !important;
}

/* Ensure thumbnail slider properly adjusts when slides are hidden */
:where(.page-car-traverse) .gallery-modal__thumbnails-slider .swiper-wrapper {
  display: flex !important;
  transition: transform 0.3s ease !important;
}

:where(.page-car-traverse) .gallery-modal__thumbnails-slider .swiper-slide:not(.swiper-slide-hidden) {
  flex-shrink: 0 !important;
}

/* Ensure swiper container maintains proper layout */
:where(.page-car-traverse) .gallery-modal__main .swiper-wrapper {
  display: flex !important;
  transition: transform 0.3s ease !important;
}

:where(.page-car-traverse) .gallery-modal__thumbnails-slider .swiper-wrapper {
  display: flex !important;
  transition: transform 0.3s ease !important;
}

/* ===== Mobil: iOS Safari input fokusida avtomatik zoom qilmasligi uchun =====
   iOS 16px dan kichik shriftli maydonga fokus berilganda sahifani kattalashtiradi. */
@media (max-width: 991px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="file"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}
