* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b0b0b;
    color: white;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    height: 75px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0b0b0b;
    position: relative;
}

/* Logo */

.logo {
    position: absolute;
    left: 7%;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
}

.logo img {
    width: 145px;
    height: 65px;

    object-fit: contain;
    display: block;

    filter: drop-shadow(0 0 8px rgba(224, 0, 0, 0.25));

    transition: 0.3s ease;
}

.logo:hover img {
    transform: scale(1.04);

    filter: drop-shadow(0 0 14px rgba(224, 0, 0, 0.45));
}


/* Main Navigation */

.main-nav {
    width: 100%;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #ffffff;

    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #e00000;
}


/* Right Side */

.nav-actions {
    position: absolute;
    right: 0;

    display: flex;
    align-items: center;

    gap: 18px;
}


/* Search */

.search-btn {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    text-decoration: none;

    border: none;
    background: transparent;

    transition: 0.3s ease;
}

.search-btn svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: white;

    stroke-width: 2;
    stroke-linecap: round;

    transition: 0.3s ease;
}

.search-btn:hover svg {
    stroke: #e00000;
    transform: scale(1.08);
}


/* Contact */

.contact-btn {
    padding: 10px 21px;

    background: #e00000;
    color: white !important;

    text-decoration: none;

    border-radius: 4px;

    font-size: 14px !important;
    font-weight: 600 !important;

    transition: 0.3s ease;
}

.contact-btn:hover {
    background: #b80000;
}


/* =========================
   HERO
========================= */
/* HERO */

.hero {
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    padding: 70px 8%;

    background:
        linear-gradient(90deg,
            #050505 0%,
            #050505 30%,
            rgba(5, 5, 5, 0.95) 40%,
            rgba(5, 5, 5, 0.70) 52%,
            rgba(5, 5, 5, 0.20) 72%,
            rgba(5, 5, 5, 0) 100%),
        url("/images/IMG_8614.PNG") center / cover no-repeat;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-label {
    color: #e00000;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
    margin: 0 0 22px;
}

.hero h1 {
    margin: 0 0 28px;
    color: #ffffff;
    font-size: 64px;
    line-height: 0.95;
    font-weight: 800;
}

.hero h1 span {
    display: block;
    color: #e00000;
    font-size: 92px;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -2px;
    margin-top: 8px;
}

.hero-text {
    max-width: 570px;
    color: #eeeeee;
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 35px;
}

.hero-buttons {
    display: flex;
    gap: 0;
    align-items: center;
    margin-bottom: 15px;
}

.hero-buttons a {
    text-decoration: none;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;

}

.hero-buttons .hero-btn {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    min-width: 145px;
    padding: 0 26px;
    box-sizing: border-box;
}

.hero-buttons .hero-btn:hover {
    color: #ffffff;
}

.btn-primary {
    background: #e00000;
    color: #ffffff;
    border-radius: 7px 0 0 7px;
}

.btn-secondary {
    background: #111111;
    color: #ffffff;

    border-radius: 0 7px 7px 0;
}

.btn-primary {
    background: #e00000;
    color: #ffffff;

    box-shadow: 0 5px 18px rgba(224, 0, 0, 0.25);
}

.btn-primary:hover {
    background: #b80000;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(224, 0, 0, 0.35);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);

}

.btn-secondary:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.car-search {
    margin-top: 18px;
}

.car-search {
    width: 100%;
    max-width: 1100px;
    margin-top: 45px;
    padding: 20px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid #333;
    border-radius: 8px;

    display: grid;
    grid-template-columns: repeat(9, minmax(120px, 1fr));
    gap: 15px;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.search-field label {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.search-field select {
    width: 100%;
    padding: 0 14px;
    height: 50px;
    background: #222222;
    color: #ffffff;
    border: 1px solid #444444;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

.search-field select:focus {
    border-color: #e00000;
}

.search-cars-btn {
    align-self: end;
    min-height: 50px;
    padding: 15px 24px;
    background: #e00000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}




@media (max-width: 700px) {

    .navbar {
        height: 70px;
        padding: 0 20px;
    }

    .logo {
        left: 20px;
    }

    .logo img {
        width: 110px;
        height: 55px;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        right: 20px;
        gap: 12px;
    }

    .contact-btn {
        padding: 9px 15px;
        font-size: 13px !important;
    }

    .search-btn {
        width: 30px;
        height: 30px;
    }

    .hero {
        min-height: calc(100vh - 70px);

        padding: 55px 25px;

        background-position: center;
    }

    .hero-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons a {
        width: auto;
    }
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.car-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.hero-services {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: -10px 0 28px 15px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-services i {
    width: 5px;
    height: 5px;
    background: #e00000;
    border-radius: 50%;
    display: block;
}

.hero-services span {
    transition: 0.3s ease;
}

.hero-services span:hover {
    color: #e00000;
}

.hero-services b {
    color: #e00000;
}

.car-search {
    position: relative;
    z-index: 10;
    transform: translateY(50%);
    width: 100%;
    max-width: 1350px;
    margin-top: -120px;
    padding: 40px;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    margin-left: 35px;
    display: flex;
    align-items: end;
    gap: 10px;
}

.search-field {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-field label {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.search-field select {
    width: 100%;
    height: 46px;
    padding: 0 10px;
    background: #222222;
    color: #ffffff;
    border: 1px solid #444444;
    border-radius: 5px;
    font-size: 13px;
    outline: none;
}

.search-field select:focus {
    border-color: #e00000;
}

.search-cars-btn {
    flex: 0 0 125px;
    height: 46px;
    padding: 0 14px;

    background: #e00000;
    color: #ffffff;

    border: none;
    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.3s ease;
}


.hero-buttons .btn-secondary {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.search-cars-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;

    height: 46px;
    padding: 0 20px;

    background: #e00000;
    color: #ffffff;
    border: none;
    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.search-cars-btn:hover {
    background: #b80000;
    transform: translateY(-1px);
}


/* Search icon */
.search-cars-btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    height: 48px;
    min-width: 145px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hero-buttons .btn-primary {
    border-radius: 7px 0 0 7px;
}

.hero-buttons .btn-secondary {
    border-radius: 0 7px 7px 0;
    border: none !important;
}

.exchange-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    display: block;
}

/* =========================
   FEATURED CARS
========================= */

.featured-cars {
    width: 100%;
    background: #ffffff;
    color: #111111;
    padding: 100px 5% 60px;
}

.featured-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.featured-label {
    margin: 0 0 6px;
    color: #e00000;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.featured-header h2 {
    margin: 0;
    color: #111111;
    font-size: 32px;
    font-weight: 900;
}

.featured-subtitle {
    margin: 8px 0 0;
    color: #666666;
    font-size: 14px;
}

.view-all-cars {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.view-all-cars span {
    color: #e00000;
    font-size: 18px;
    margin-left: 4px;
}

.view-all-cars:hover {
    color: #e00000;
}


/* Cars Grid */

.cars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* Car Card */

.car-card {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: 0.3s ease;
}

.car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}


/* Car Image */

.car-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #eeeeee;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Status */

.car-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    background: #e00000;
    color: #ffffff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}


/* Favourite */

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;

    border: none;
    border-radius: 50%;

    font-size: 20px;
    cursor: pointer;
}


/* Car Information */

.car-info {
    padding: 15px;
}

.car-info h3 {
    margin: 0 0 6px;
    color: #111111;
    font-size: 16px;
    font-weight: 800;
}

.car-price {
    margin: 0 0 12px;
    color: #e00000;
    font-size: 17px;
    font-weight: 800;
}

.car-details {
    display: flex;
    gap: 18px;
    margin-bottom: 8px;

    color: #555555;
    font-size: 12px;

}

.car-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.car-details svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #777777;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.view-details {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 38px;

    margin-top: 12px;

    background: #e00000;
    color: #ffffff;

    border-radius: 5px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: 0.3s ease;
}

.view-details span {
    margin-left: 5px;
    font-size: 16px;
}

.view-details:hover {
    background: #b80000;
}


/* Responsive */

@media (max-width: 1000px) {

    .cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .featured-cars {
        padding: 45px 20px;

    }

    .featured-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================
   WHY CHOOSE SOHO
========================= */

.why-soho {
    position: relative;
    width: 100%;
    min-height: 180px;
    background:
        linear-gradient(rgba(5, 9, 12, 0.92),
            rgba(5, 9, 12, 0.92)),
        url("/images/IMG_8614.PNG") center/cover no-repeat;
    color: #ffffff;
    padding: 20px 5%;
    overflow: hidden;
}

.why-soho-header {
    text-align: center;
    margin-bottom: 18px;
}

.why-soho-header p {
    margin: 0 0 4px;
    color: #e00000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.why-soho-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 25px;
    font-weight: 900;
}

.why-soho-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.why-soho-item {
    text-align: center;
    padding: 0 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.why-soho-item:last-child {
    border-right: none;
}

.why-soho-item svg {
    width: 27px;
    height: 27px;
    margin-bottom: 7px;
    fill: none;
    stroke: #e00000;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.why-soho-item h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.why-soho-item p {
    margin: 0;
    color: #c8c8c8;
    font-size: 10px;
    line-height: 1.5;
}


/* =========================
   ABOUT SOHO
========================= */

.about-soho {
    width: 100%;
    background: #ffffff;
    color: #111111;
    padding: 45px 5%;
    display: grid;
    grid-template-columns: 1.15fr 1.3fr 0.8fr;
    align-items: center;
    gap: 30px;
}

.about-soho-image img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.about-soho-content {
    padding: 0 5px;
}

.about-label {
    margin: 0 0 5px;
    color: #e00000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.about-soho-content h2 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 20px;
    font-weight: 900;
}

.about-text {
    margin: 0 0 15px;
    color: #555555;
    font-size: 11px;
    line-height: 1.6;
    max-width: 500px;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: #e00000;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s ease;
}

.about-btn span {
    font-size: 15px;
}

.about-btn:hover {
    background: #b80000;
}

.about-contact {
    border-left: 1px solid #dddddd;
    padding-left: 25px;
}

.about-contact h3 {
    margin: 0 0 12px;
    color: #111111;
    font-size: 11px;
    font-weight: 900;
}

.about-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 11px;
    color: #444444;
    font-size: 10px;
}

.about-contact .contact-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
}

.about-contact .contact-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #e00000;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-contact p:hover .contact-icon {
    background: #e00000;
    border-color: #e00000;
}

.about-contact p:hover .contact-icon svg {
    stroke: #ffffff;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .why-soho-items {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }

    .why-soho-item:nth-child(2) {
        border-right: none;
    }

    .about-soho {
        grid-template-columns: 1fr;
    }

    .about-contact {
        border-left: none;
        border-top: 1px solid #dddddd;
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (max-width: 600px) {

    .why-soho {
        padding: 35px 20px;
    }

    .why-soho-items {
        grid-template-columns: 1fr;
    }

    .why-soho-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding: 15px 0;
    }

    .why-soho-item:last-child {
        border-bottom: none;
    }

    .about-soho {
        padding: 35px 20px;
    }
}

/* =========================
   SOHO FOOTER
========================= */

.soho-footer {
    width: 100%;
    background: #0b0b0b;
    padding: 28px 20px;
}

.footer-social {
    width: 100%;
    text-align: center;
}

.footer-social h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #151515;
    border: 1px solid #444444;
    border-radius: 50%;
    text-decoration: none;
}

.social-links svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.social-links a:hover {
    color: #e00000;
    border-color: #e00000;
}

.social-links a:hover svg {
    stroke: #e00000;
}

/* Fix horizontal overflow */
.why-soho,
.about-soho,
.soho-footer {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

/* =========================
   CARS PAGE
========================= */

.cars-hero {
    position: relative;
    width: 100%;
    min-height: 220px;
    background:
        linear-gradient(90deg,
            rgba(5, 8, 11, 0.96),
            rgba(5, 8, 11, 0.68)),
        url("/images/IMG_8614.PNG") center/cover no-repeat;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.cars-hero-content {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 45px 5%;
}

.cars-label {
    margin: 0 0 8px;
    color: #e00000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cars-hero h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.cars-hero h1 span {
    color: #e00000;
}

.cars-hero-content>p:not(.cars-label) {
    margin: 8px 0 15px;
    color: #d0d0d0;
    font-size: 12px;
}

.cars-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #aaaaaa;
}

.cars-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.cars-breadcrumb a:hover {
    color: #e00000;
}


/* Cars Area */

.cars-page {
    width: 100%;
    background: #f5f5f5;
    padding: 35px 5% 60px;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 25px;
    box-sizing: border-box;
}


/* Filter */
.filter-title h2,
.filter-title h3,
h3.filter-title {
    margin: 0;
    color: #111111;
    font-size: 15px;
}


.cars-filter {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 18px;
    height: fit-content;
}

.filter-title {
    margin-bottom: 18px;
}

.filter-title h2 {
    margin: 0;
    color: #111111;
    font-size: 15px;
    font-weight: 900;
}

.filter-group {
    margin-bottom: 13px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    color: #333333;
    font-size: 10px;
    font-weight: 700;
}

.filter-group select {
    width: 100%;
    height: 34px;
    padding: 0 9px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    color: #555555;
    font-size: 10px;
    outline: none;
}

.filter-group select:focus {
    border-color: #e00000;
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.apply-filters {
    width: 100%;
    height: 36px;
    margin-top: 4px;
    border: none;
    border-radius: 4px;
    background: #e00000;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.apply-filters:hover {
    background: #b80000;
}

.clear-filters {
    width: 100%;
    margin-top: 8px;
    border: none;
    background: transparent;
    color: #777777;
    font-size: 10px;
    cursor: pointer;
}

.clear-filters:hover {
    color: #e00000;
}


/* Results */

.cars-results {
    min-width: 0;
}

.cars-results-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.cars-results-top strong {
    color: #222222;
    font-size: 13px;
}

.cars-sort {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cars-sort label {
    color: #777777;
    font-size: 10px;
}

.cars-sort select {
    height: 31px;
    padding: 0 9px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background: #ffffff;
    color: #555555;
    font-size: 10px;
}

.view-toggle {
    width: 31px;
    height: 31px;
    border: 1px solid #dddddd;
    background: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    color: #555555;
}

.view-toggle:hover {
    color: #e00000;
    border-color: #e00000;
}


/* Cards */

.cars-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.inventory-card {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.inventory-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.inventory-image {
    position: relative;
    width: 100%;
    height: 155px;
    overflow: hidden;
    background: #eeeeee;
}

.inventory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inventory-status {
    position: absolute;
    top: 9px;
    left: 9px;
    padding: 4px 8px;
    background: #e00000;
    color: #ffffff;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 800;
}

.inventory-status.exchange {
    background: #111111;
}

.inventory-favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 17px;
    cursor: pointer;
}

.inventory-info {
    padding: 13px;
}

.inventory-info h3 {
    margin: 0 0 5px;
    color: #111111;
    font-size: 14px;
    font-weight: 900;
}

.inventory-price {
    margin: 0 0 10px;
    color: #e00000;
    font-size: 15px;
    font-weight: 900;
}

.inventory-details {
    display: flex;
    gap: 15px;
    margin-bottom: 7px;
    color: #666666;
    font-size: 9px;
}

.inventory-details span {
    position: relative;
}

.inventory-details span+span::before {
    content: "•";
    position: absolute;
    left: -9px;
    color: #bbbbbb;
}

.inventory-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 34px;
    margin-top: 10px;
    background: #e00000;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}

.inventory-button:hover {
    background: #b80000;
}

.inventory-button span {
    margin-left: 5px;
    font-size: 14px;
}


/* Pagination */

.cars-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 25px;
}

.cars-pagination a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    color: #555555;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

.cars-pagination a.active,
.cars-pagination a:hover {
    background: #e00000;
    border-color: #e00000;
    color: #ffffff;
}


/* Responsive */

@media (max-width: 900px) {

    .cars-page {
        grid-template-columns: 1fr;
    }

    .cars-filter {
        width: 100%;
    }

    .cars-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .cars-hero h1 {
        font-size: 25px;
    }

    .cars-page {
        padding: 25px 20px 45px;
    }

    .cars-results-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .cars-sort {
        width: 100%;
        flex-wrap: wrap;
    }

    .cars-list {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CAR DETAILS PAGE
========================= */

.car-details-page {
    width: 100%;
    background: #f5f5f5;
    padding: 30px 5% 70px;
}

.car-details-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.back-to-cars {
    display: inline-block;
    margin-bottom: 18px;
    color: #555555;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
}

.back-to-cars:hover {
    color: #e00000;
}

.car-details-main {
    display: grid;
    grid-template-columns: 1.45fr 0.8fr;
    gap: 22px;
}


/* GALLERY */

.car-gallery {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 7px;
    padding: 10px;
}

.main-car-image {
    width: 100%;
    height: 390px;
    overflow: hidden;
    border-radius: 5px;
    background: #eeeeee;
}

.main-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.car-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.thumbnail {
    height: 65px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

.thumbnail.active {
    border-color: #e00000;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* RIGHT INFO */

.car-details-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.car-main-info {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 7px;
    padding: 20px;
}

.details-status {
    display: inline-block;
    padding: 4px 8px;
    background: #e00000;
    color: #ffffff;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 800;
}

.car-main-info h1 {
    margin: 9px 0 3px;
    color: #111111;
    font-size: 24px;
    font-weight: 900;
}

.details-price {
    margin: 0 0 17px;
    color: #e00000;
    font-size: 20px;
    font-weight: 900;
}


/* SPECS */

.details-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
}

.detail-spec {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-spec svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    fill: none;
    stroke: #e00000;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.detail-spec small {
    display: block;
    color: #888888;
    font-size: 8px;
    margin-bottom: 2px;
}

.detail-spec strong {
    display: block;
    color: #222222;
    font-size: 9px;
}


/* BUTTONS */

.details-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 16px;
}

.details-buttons a {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
}

.details-contact-btn {
    background: #e00000;
    color: #ffffff;
}

.details-whatsapp-btn {
    background: #159447;
    color: #ffffff;
}

.details-call-btn {
    grid-column: 1 / -1;
    background: #111111;
    color: #ffffff;
}

.details-contact-btn:hover {
    background: #b80000;
}

.details-whatsapp-btn:hover {
    background: #117b3a;
}

.details-call-btn:hover {
    background: #222222;
}


/* DESCRIPTION */

.details-section {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 7px;
    margin-top: 12px;
    padding: 20px;
}

.details-tabs {
    display: flex;
    gap: 22px;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 15px;
}

.details-tabs span {
    padding-bottom: 9px;
    color: #777777;
    font-size: 10px;
    font-weight: 800;
}

.details-tabs .active {
    color: #e00000;
    border-bottom: 2px solid #e00000;
}

.details-description {
    margin: 0 0 18px;
    color: #666666;
    font-size: 10px;
    line-height: 1.7;
}

.details-section h3 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 12px;
}

.key-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.key-features span {
    color: #555555;
    font-size: 9px;
}


/* EXCHANGE */

.exchange-box {
    background: #111111;
    border-radius: 7px;
    padding: 17px;
    color: #ffffff;
}

.exchange-box h3 {
    margin: 0 0 5px;
    font-size: 12px;
}

.exchange-box p {
    margin: 0 0 11px;
    color: #bbbbbb;
    font-size: 9px;
    line-height: 1.5;
}

.exchange-box a {
    display: inline-flex;
    padding: 7px 10px;
    background: #e00000;
    color: #ffffff;
    border-radius: 3px;
    text-decoration: none;
    font-size: 8px;
    font-weight: 800;
}


/* ADMIN NOTE */

.admin-note {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 7px;
    padding: 15px;
}

.admin-note span {
    color: #e00000;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1px;
}

.admin-note p {
    margin: 7px 0 0;
    color: #666666;
    font-size: 9px;
    line-height: 1.5;
}


/* =========================
   SIMILAR CARS
========================= */

.similar-cars {
    width: 100%;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #dddddd;
}

.similar-cars-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 15px;
}

.similar-label {
    margin: 0 0 4px;
    color: #e00000;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.similar-cars-header h2 {
    margin: 0;
    color: #111111;
    font-size: 20px;
    font-weight: 900;
}

.similar-view-all {
    color: #111111;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
}

.similar-view-all span {
    color: #e00000;
}

.similar-cars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.similar-car-card {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 5px;
    overflow: hidden;
    transition: 0.25s ease;
}

.similar-car-card:hover {
    transform: translateY(-3px);
}

.similar-car-image {
    position: relative;
    width: 100%;
    height: 105px;
    overflow: hidden;
}

.similar-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-car-image span {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 3px 5px;
    background: #e00000;
    color: #ffffff;
    border-radius: 2px;
    font-size: 7px;
    font-weight: 800;
}

.similar-car-info {
    padding: 9px;
}

.similar-car-info h3 {
    margin: 0 0 3px;
    color: #111111;
    font-size: 10px;
    font-weight: 900;
}

.similar-price {
    margin: 0 0 7px;
    color: #e00000;
    font-size: 11px;
    font-weight: 900;
}

.similar-details {
    display: flex;
    gap: 8px;
    color: #777777;
    font-size: 7px;
}

.similar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 27px;
    margin-top: 8px;
    background: #e00000;
    color: #ffffff;
    border-radius: 3px;
    text-decoration: none;
    font-size: 8px;
    font-weight: 800;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .car-details-main {
        grid-template-columns: 1fr;
    }

    .similar-cars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {

    .car-details-page {
        padding: 25px 20px 50px;
    }

    .main-car-image {
        height: 280px;
    }

    .similar-cars-grid {
        grid-template-columns: 1fr;
    }

    .details-buttons {
        grid-template-columns: 1fr;
    }

    .details-call-btn {
        grid-column: auto;
    }
}

/* =========================
   CAR DETAILS - STANDARD TEXT
========================= */

.car-main-info h1 {
    font-size: 28px;
}

.details-price {
    font-size: 22px;
}

.detail-spec small {
    font-size: 10px;
}

.detail-spec strong {
    font-size: 12px;
}

.details-description {
    font-size: 12px;
    line-height: 1.7;
}

.details-section h3 {
    font-size: 14px;
}

.key-features span {
    font-size: 11px;
}

.details-buttons a {
    font-size: 11px;
}

.exchange-box h3 {
    font-size: 14px;
}

.exchange-box p {
    font-size: 11px;
}

.exchange-box a {
    font-size: 10px;
}

.admin-note span {
    font-size: 9px;
}

.admin-note p {
    font-size: 11px;
    line-height: 1.6;
}

.similar-cars-header h2 {
    font-size: 22px;
}

.similar-label {
    font-size: 10px;
}

.similar-car-info h3 {
    font-size: 12px;
}

.similar-price {
    font-size: 13px;
}

.similar-details {
    font-size: 9px;
}

.similar-btn {
    font-size: 9px;
}

/* =========================
   DETAILS ACTIONS
========================= */

.details-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 20px;
}

.details-buttons a {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    transition: 0.25s ease;
}

.details-contact-btn {
    background: #e00000;
    color: #ffffff;
}

.details-contact-btn:hover {
    background: #b80000;
}

.details-whatsapp-btn {
    background: #ffffff;
    color: #159447;
    border: 1px solid #159447;
}

.details-whatsapp-btn:hover {
    background: #159447;
    color: #ffffff;
}

.details-call-btn {
    grid-column: 1 / -1;
    background: #111111;
    color: #ffffff;
}

.details-call-btn:hover {
    background: #2a2a2a;
}


/* =========================
   EXCHANGE BOX
========================= */

.exchange-box {
    position: relative;
    background: #111111;
    border-radius: 6px;
    padding: 20px;
    overflow: hidden;
}

.exchange-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #e00000;
}

.exchange-box h3 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.exchange-box p {
    margin: 0 0 14px;
    color: #bdbdbd;
    font-size: 11px;
    line-height: 1.6;
}

.exchange-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    background: #e00000;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    transition: 0.25s ease;
}

.exchange-box a:hover {
    background: #b80000;
}


/* =========================
   ADMIN NOTE
========================= */

.admin-note {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 6px;
    padding: 18px;
}

.admin-note span {
    display: block;
    margin-bottom: 7px;
    color: #e00000;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.admin-note p {
    margin: 0;
    color: #555555;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 550px) {

    .details-buttons {
        grid-template-columns: 1fr;
    }

    .details-call-btn {
        grid-column: auto;
    }

    .exchange-box,
    .admin-note {
        padding: 16px;
    }
}

/* =========================
   CONTACT PAGE
========================= */

.contact-page {
    width: 100%;
    background: #f5f5f5;
    color: #111111;
}


/* =========================
   CONTACT HERO
========================= */

.contact-hero {
    position: relative;
    min-height: 230px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, .94), rgba(5, 5, 5, .55)),
        url("/images/IMG_8614.PNG") center/cover no-repeat;
}

.contact-hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 5%;
}

.contact-hero-content p {
    margin: 0 0 7px;
    color: #e00000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.contact-hero-content h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
}

.contact-hero-content>span {
    display: block;
    max-width: 430px;
    color: #d0d0d0;
    font-size: 12px;
    line-height: 1.6;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: #999999;
    font-size: 10px;
}

.contact-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: #e00000;
}


/* =========================
   CONTACT CONTENT
========================= */

.contact-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 5%;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 45px;
    background: #ffffff;
}


/* =========================
   FORM
========================= */

.contact-form-section h2,
.contact-information h2 {
    margin: 0 0 22px;
    color: #111111;
    font-size: 18px;
    font-weight: 900;
}

.contact-field {
    margin-bottom: 15px;
}

.contact-field label {
    display: block;
    margin-bottom: 6px;
    color: #333333;
    font-size: 10px;
    font-weight: 700;
}

.contact-field label span {
    color: #e00000;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background: #ffffff;
    color: #222222;
    font-family: inherit;
    font-size: 11px;
    outline: none;
    transition: .2s ease;
}

.contact-field input {
    height: 40px;
    padding: 0 12px;
}

.contact-field textarea {
    min-height: 115px;
    padding: 11px 12px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #e00000;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #aaaaaa;
}

.send-message-btn {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 4px;
    border: none;
    border-radius: 4px;
    background: #e00000;
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s ease;
}

.send-message-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.send-message-btn:hover {
    background: #b80000;
}


/* =========================
   CONTACT INFORMATION
========================= */

.contact-information {
    padding-left: 30px;
    border-left: 1px solid #e5e5e5;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
}

.contact-info-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e3e3;
    border-radius: 50%;
    background: #fafafa;
}

.contact-info-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #e00000;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 3px;
    color: #222222;
    font-size: 10px;
    font-weight: 800;
}

.contact-info-item span {
    display: block;
    color: #888888;
    font-size: 9px;
}


/* =========================
   MAP
========================= */

.contact-map {
    width: 100%;
    height: 165px;
    margin-top: 22px;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #dddddd;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 800px) {

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-information {
        padding-left: 0;
        padding-top: 35px;
        border-left: none;
        border-top: 1px solid #e5e5e5;
    }
}

@media (max-width: 550px) {

    .contact-hero {
        min-height: 210px;
    }

    .contact-hero-content {
        padding: 40px 20px;
    }

    .contact-hero-content h1 {
        font-size: 27px;
    }

    .contact-content {
        padding: 40px 20px;
    }
}

/* =========================
   FOOTER
========================= */

.soho-footer {
    width: 100%;
    background: #0b0b0b;
    padding: 28px 20px;
}

.footer-social {
    width: 100%;
    text-align: center;
}

.footer-social h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #151515;
    border: 1px solid #444444;
    border-radius: 50%;
    text-decoration: none;
}

.social-links svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-links a:hover {
    color: #e00000;
    border-color: #e00000;
}

.social-links a:hover svg {
    stroke: #e00000;
}

/* =========================
   ABOUT PAGE
========================= */

.about-page {
    width: 100%;
    background: #f5f5f5;
    color: #111111;
}

/* HERO */

.about-hero {
    position: relative;
    min-height: 230px;
    display: flex;
    align-items: center;
    background:
        url("/images/IMG_8614.PNG") center/cover no-repeat;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(5, 5, 5, .95),
            rgba(5, 5, 5, .55));
}

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 5%;
}

.about-hero-label {
    margin: 0 0 6px;
    color: #e00000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.about-hero-content h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
}

.about-hero-text {
    max-width: 440px;
    margin: 0;
    color: #d0d0d0;
    font-size: 12px;
    line-height: 1.6;
}

.about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: #999999;
    font-size: 10px;
}

.about-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.about-breadcrumb a:hover {
    color: #e00000;
}


/* OUR STORY */

.our-story {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 5%;
    background: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.story-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.story-content {
    padding-right: 10px;
}

.section-label {
    margin: 0 0 6px;
    color: #e00000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.story-content h2,
.section-heading h2 {
    margin: 0 0 12px;
    color: #111111;
    font-size: 22px;
    font-weight: 900;
}

.story-content p:not(.section-label) {
    margin: 0 0 9px;
    color: #666666;
    font-size: 11px;
    line-height: 1.7;
}


/* WHY CHOOSE */

.why-about {
    width: 100%;
    padding: 45px 5%;
    background: #f7f7f7;
}

.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.about-features {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border: 1px solid #e5e5e5;
}

.about-feature {
    min-height: 150px;
    padding: 25px 20px;
    text-align: center;
    border-right: 1px solid #e5e5e5;
}

.about-feature:last-child {
    border-right: none;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff4f4;
    border-radius: 50%;
}

.about-feature-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #e00000;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-feature h3 {
    margin: 0 0 6px;
    color: #222222;
    font-size: 11px;
    font-weight: 800;
}

.about-feature p {
    margin: 0;
    color: #888888;
    font-size: 9px;
    line-height: 1.6;
}


/* CUSTOMER REVIEWS */

.customer-reviews {
    width: 100%;
    padding: 50px 5%;
    background: #ffffff;
}

.reviews-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.review-card {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .04);
}

.review-stars {
    margin-bottom: 10px;
    color: #e00000;
    font-size: 12px;
    letter-spacing: 2px;
}

.review-card>p {
    min-height: 55px;
    margin: 0 0 18px;
    color: #555555;
    font-size: 10px;
    line-height: 1.7;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 9px;
    border-top: 1px solid #eeeeee;
    padding-top: 13px;
}

.review-avatar {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    color: #ffffff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}

.review-author strong {
    display: block;
    color: #222222;
    font-size: 10px;
}

.review-author span {
    display: block;
    margin-top: 2px;
    color: #999999;
    font-size: 8px;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .our-story {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-feature:nth-child(2) {
        border-right: none;
    }

    .about-feature:nth-child(-n+2) {
        border-bottom: 1px solid #e5e5e5;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {

    .about-hero-content {
        padding: 40px 20px;
    }

    .about-hero-content h1 {
        font-size: 27px;
    }

    .our-story {
        padding: 40px 20px;
    }

    .story-image img {
        height: 180px;
    }

    .why-about,
    .customer-reviews {
        padding: 40px 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-feature {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .about-feature:last-child {
        border-bottom: none;
    }
}

/* =========================
   ADMIN DASHBOARD
========================= */
.admin-page {
    min-height: 100vh;
    display: flex;
    background: #f4f5f7;
    color: #111111;
}

/* SIDEBAR */

.admin-sidebar {
    width: 235px;
    min-height: 100vh;
    background: #0b0b0b;
    padding: 24px 16px;
    flex-shrink: 0;
}

.admin-logo {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-bottom: 1px solid #262626;
}

.admin-logo img {
    width: 105px;
    max-height: 48px;
    object-fit: contain;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.admin-nav a {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 13px;
    color: #aaaaaa;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    transition: .2s ease;
}

.admin-nav a svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.admin-nav a:hover {
    color: #ffffff;
    background: #181818;
}

.admin-nav a.active {
    color: #ffffff;
    background: #e00000;
}


/* MAIN */

.admin-main {
    flex: 1;
    min-width: 0;
    padding: 30px 35px;
}


/* TOP BAR */

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.admin-topbar h1 {
    margin: 0;
    color: #111111;
    font-size: 26px;
    font-weight: 900;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 5px;
    color: #333333;
    font-size: 11px;
    font-weight: 700;
}

.admin-user svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #555555;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* STATISTICS */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    min-height: 105px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .03);
}

.stat-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
}

.stat-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-icon.blue {
    background: #eef5ff;
    color: #3478d4;
}

.stat-icon.green {
    background: #effaf3;
    color: #28a65b;
}

.stat-icon.red {
    background: #fff0f0;
    color: #e00000;
}

.stat-icon.purple {
    background: #f4efff;
    color: #7954c7;
}

.stat-card span {
    display: block;
    margin-bottom: 5px;
    color: #888888;
    font-size: 10px;
}

.stat-card strong {
    display: block;
    color: #111111;
    font-size: 25px;
    font-weight: 900;
}


/* RECENT CARS */

.recent-cars {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    overflow: hidden;
}

.admin-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #eeeeee;
}

.admin-section-header h2 {
    margin: 0;
    color: #111111;
    font-size: 17px;
    font-weight: 900;
}

.admin-section-header a {
    color: #e00000;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

.cars-table {
    width: 100%;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 80px 1.8fr 1fr 1fr 145px;
    align-items: center;
    gap: 15px;
    padding: 12px 22px;
}

.table-header {
    background: #fafafa;
    border-bottom: 1px solid #eeeeee;
    color: #888888;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.table-row {
    min-height: 72px;
    border-bottom: 1px solid #eeeeee;
    color: #555555;
    font-size: 11px;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row>strong {
    color: #222222;
    font-size: 11px;
    font-weight: 800;
}

.table-image {
    width: 62px;
    height: 43px;
    overflow: hidden;
    border-radius: 4px;
    background: #eeeeee;
}

.table-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.status {
    width: fit-content;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
}

.status.available {
    background: #eaf8ef;
    color: #259653;
}

.status.exchange {
    background: #f2edff;
    color: #7652c2;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.table-actions button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    color: #777777;
    border-radius: 4px;
    cursor: pointer;
    transition: .2s ease;
}

.table-actions button svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.table-actions button:hover {
    color: #e00000;
    border-color: #e00000;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .admin-sidebar {
        width: 190px;
    }

    .admin-main {
        padding: 25px;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .table-header,
    .table-row {
        grid-template-columns: 65px 1.5fr 1fr 1fr 115px;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 650px) {

    .admin-page {
        display: block;
    }

    .admin-sidebar {
        width: 100%;
        min-height: auto;
        padding: 12px;
    }

    .admin-logo {
        margin-bottom: 12px;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-nav a {
        justify-content: center;
        padding: 0 5px;
        font-size: 10px;
    }

    .admin-main {
        padding: 18px;
    }

    .admin-topbar h1 {
        font-size: 22px;
    }

    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        min-height: 90px;
        padding: 12px;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .stat-card strong {
        font-size: 21px;
    }

    .cars-table {
        overflow-x: auto;
    }

    .table-header,
    .table-row {
        min-width: 700px;
    }
}

/* ADD / EDIT CAR */

.add-car-page {
    min-height: 100vh;
    padding: 35px;
    background: #f4f5f7;
    color: #111111;
}

.add-car-header {
    max-width: 1250px;
    margin: 0 auto 25px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.add-car-label {
    margin: 0 0 6px;
    color: #e00000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.add-car-header h1 {
    margin: 0 0 5px;
    font-size: 25px;
    font-weight: 900;
}

.add-car-header>div>span {
    color: #888888;
    font-size: 11px;
}

.back-admin {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555555;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

.back-admin svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.back-admin:hover {
    color: #e00000;
}

.add-car-content {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 20px;
}

.car-form-card,
.photos-card {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 7px;
    padding: 24px;
}

.form-card-title {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eeeeee;
}

.form-card-title>svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #e00000;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-card-title h2 {
    margin: 0 0 3px;
    font-size: 15px;
    font-weight: 900;
}

.form-card-title span {
    color: #999999;
    font-size: 9px;
}

.car-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #333333;
    font-size: 10px;
    font-weight: 800;
}

.form-group label span {
    color: #e00000;
}

.form-group label small {
    color: #999999;
    font-size: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 4px;
    background: #ffffff;
    color: #222222;
    font-family: inherit;
    font-size: 11px;
    outline: none;
    transition: .2s ease;
}

.form-group input,
.form-group select {
    height: 42px;
    padding: 0 12px;
}

.form-group textarea {
    min-height: 105px;
    padding: 11px 12px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #e00000;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaaaaa;
}

.full-width {
    margin-top: 3px;
}

.admin-note-input {
    min-height: 80px !important;
    background: #fffafa !important;
}


/* PHOTOS */

.photos-card {
    height: fit-content;
}

.upload-box {
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cccccc;
    border-radius: 6px;
    background: #fafafa;
    cursor: pointer;
    text-align: center;
}

.upload-box input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    fill: none;
    stroke: #e00000;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.upload-box strong {
    color: #333333;
    font-size: 11px;
}

.upload-box span {
    margin-top: 5px;
    color: #888888;
    font-size: 9px;
}

.upload-box small {
    margin-top: 5px;
    color: #aaaaaa;
    font-size: 8px;
}

.upload-box:hover {
    border-color: #e00000;
    background: #fffafa;
}

.photo-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 12px;
}

.photo-thumb {
    position: relative;
    height: 65px;
    overflow: hidden;
    border-radius: 4px;
    background: #eeeeee;
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.photo-thumb button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .65);
    color: #ffffff;
    cursor: pointer;
}

.photo-thumb button svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.photo-thumb button:hover {
    background: #e00000;
}


/* BUTTONS */

.add-car-actions {
    max-width: 1250px;
    margin: 20px auto 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cancel-car,
.save-car {
    height: 42px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.cancel-car {
    background: #ffffff;
    color: #555555;
    border: 1px solid #dddddd;
}

.save-car {
    border: none;
    background: #e00000;
    color: #ffffff;
}

.save-car svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cancel-car:hover {
    border-color: #999999;
}

.save-car:hover {
    background: #b80000;
}


@media (max-width: 850px) {

    .add-car-page {
        padding: 25px;
    }

    .add-car-content {
        grid-template-columns: 1fr;
    }

    .photos-card {
        height: auto;
    }
}

@media (max-width: 600px) {

    .add-car-page {
        padding: 18px;
    }

    .add-car-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .car-form-grid {
        grid-template-columns: 1fr;
    }

    .car-form-card,
    .photos-card {
        padding: 18px;
    }

    .add-car-actions {
        justify-content: stretch;
    }

    .cancel-car,
    .save-car {
        flex: 1;
    }
}

/* =========================================
   SELL / EXCHANGE PAGE
   ========================================= */

.sell-exchange-page {
    width: 100%;
    background: #f5f5f5;
    color: #111111;
}


/* HERO */

.sell-exchange-hero {
    position: relative;
    min-height: 270px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, .96), rgba(5, 5, 5, .72)),
        url("/images/IMG_8614.PNG") center/cover no-repeat;
}

.sell-exchange-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 5%;
}

.sell-exchange-label {
    margin: 0 0 8px;
    color: #e00000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.sell-exchange-hero h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 900;
}

.sell-exchange-hero h1 span {
    color: #e00000;
}

.sell-exchange-intro {
    max-width: 520px;
    margin: 0;
    color: #c7c7c7;
    font-size: 12px;
    line-height: 1.7;
}

.sell-exchange-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #888888;
    font-size: 10px;
}

.sell-exchange-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.sell-exchange-breadcrumb a:hover {
    color: #e00000;
}


/* OPTIONS */

.sell-exchange-options {
    width: 100%;
    max-width: 1200px;
    margin: -35px auto 0;
    padding: 0 5%;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.sell-option-card {
    min-height: 145px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 7px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .07);
}

.sell-option-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1f1;
    border-radius: 6px;
}

.sell-option-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #e00000;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.option-label {
    margin: 0 0 5px;
    color: #e00000;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.sell-option-card h2 {
    margin: 0 0 7px;
    color: #111111;
    font-size: 18px;
    font-weight: 900;
}

.sell-option-card p:not(.option-label) {
    margin: 0;
    color: #666666;
    font-size: 10px;
    line-height: 1.7;
}


/* FORM SECTION */

.sell-exchange-form-section {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 65px 5% 80px;
}

.form-section-heading {
    text-align: center;
    margin-bottom: 32px;
}

.form-section-heading p {
    margin: 0 0 6px;
    color: #e00000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.form-section-heading h2 {
    margin: 0 0 8px;
    color: #111111;
    font-size: 25px;
    font-weight: 900;
}

.form-section-heading span {
    color: #777777;
    font-size: 11px;
    line-height: 1.6;
}


/* FORM BLOCK */

.sell-exchange-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-block {
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 7px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .03);
}

.form-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

.form-title-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    border-radius: 5px;
}

.form-title-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-block-title h3 {
    margin: 0 0 3px;
    color: #111111;
    font-size: 14px;
    font-weight: 900;
}

.form-block-title span {
    color: #888888;
    font-size: 9px;
}


/* REQUEST TYPE */

.request-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.request-type {
    position: relative;
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    cursor: pointer;
    transition: .2s ease;
}

.request-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.request-type.active {
    border-color: #e00000;
    background: #fff7f7;
}

.request-radio {
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1.5px solid #aaaaaa;
    border-radius: 50%;
    position: relative;
}

.request-type.active .request-radio {
    border-color: #e00000;
}

.request-type.active .request-radio::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    left: 3.5px;
    top: 3.5px;
    background: #e00000;
    border-radius: 50%;
}

.request-type strong {
    display: block;
    margin-bottom: 3px;
    color: #222222;
    font-size: 11px;
}

.request-type span {
    color: #888888;
    font-size: 9px;
}


/* INPUT GRID */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    color: #333333;
    font-size: 10px;
    font-weight: 800;
}

.form-field label span {
    color: #e00000;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    outline: none;
    background: #ffffff;
    color: #222222;
    font-family: inherit;
    font-size: 10px;
    transition: .2s ease;
}

.form-field select {
    cursor: pointer;
}

.form-field textarea {
    min-height: 110px;
    padding: 12px;
    resize: vertical;
    line-height: 1.6;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #aaaaaa;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #e00000;
    box-shadow: 0 0 0 2px rgba(224, 0, 0, .07);
}


/* EXCHANGE */

.exchange-preference {
    border-top: 2px solid #e00000;
}


/* UPLOAD */

.upload-area {
    min-height: 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border: 1.5px dashed #cccccc;
    border-radius: 5px;
    background: #fafafa;
    text-align: center;
    cursor: pointer;
    transition: .2s ease;
}

.upload-area:hover {
    border-color: #e00000;
    background: #fffafa;
}

.upload-area input {
    display: none;
}

.upload-area>svg {
    width: 25px;
    height: 25px;
    margin-bottom: 10px;
    fill: none;
    stroke: #e00000;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.upload-area strong {
    margin-bottom: 4px;
    color: #222222;
    font-size: 11px;
    font-weight: 800;
}

.upload-area span {
    color: #777777;
    font-size: 9px;
}

.upload-area small {
    margin-top: 5px;
    color: #aaaaaa;
    font-size: 8px;
}

.notes-field {
    margin-top: 18px;
}


/* SUBMIT */

.submit-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 4px;
}

.submit-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888888;
    font-size: 9px;
}

.submit-note svg {
    width: 17px;
    height: 17px;
    min-width: 17px;
    fill: none;
    stroke: #999999;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.submit-request {
    min-width: 165px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 5px;
    background: #e00000;
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: .25s ease;
}

.submit-request svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.submit-request:hover {
    background: #b80000;
    transform: translateY(-1px);
}


/* RESPONSIVE */

@media (max-width: 800px) {

    .sell-exchange-options {
        grid-template-columns: 1fr;
    }

    .sell-exchange-form-section {
        padding-top: 50px;
    }

    .admin-note-input {
        width: 100%;
    }
}


@media (max-width: 600px) {

    .sell-exchange-hero {
        min-height: 250px;
    }

    .sell-exchange-hero-content {
        padding: 45px 20px;
    }

    .sell-exchange-hero h1 {
        font-size: 28px;
    }

    .sell-exchange-intro {
        font-size: 11px;
    }

    .sell-exchange-options {
        padding: 0 20px;
        margin-top: -25px;
    }

    .sell-option-card {
        padding: 20px;
    }

    .sell-exchange-form-section {
        padding: 45px 20px 60px;
    }

    .form-block {
        padding: 20px;
    }

    .form-grid,
    .request-type-grid {
        grid-template-columns: 1fr;
    }

    .form-field.full {
        grid-column: auto;
    }

    .submit-area {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-request {
        width: 100%;
    }

    .submit-note {
        justify-content: center;
        text-align: center;
    }
}

.favorite-btn.active {
    color: #e50914 !important;
}

.favorite-btn.active .heart-icon {
    color: #e50914 !important;
}


.inventory-favorite.active {
    color: red;
}


.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-input {
    width: 100%;
    box-sizing: border-box;
}

.custom-options {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 180px;
    overflow-y: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.custom-options div {
    padding: 10px 12px;
    cursor: pointer;
    color: #222;
    background: #fff;
    font-size: 13px;
}

.custom-options div:hover {
    background: #f2f2f2;
}

.custom-select.active .custom-options {
    display: block;
}


/* =========================
   SOHO FILTER SEARCH
   ========================= */

.cars-filter {
    width: 100%;
    max-width: 290px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px 22px;
    box-sizing: border-box;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.filter-title {
    margin-bottom: 24px;
}

.filter-title h2 {
    margin: 0;
    color: #111111;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

/* Filter groups */

.filter-group {
    margin-bottom: 17px;
}

.filter-group label {
    display: block;
    margin-bottom: 7px;
    color: #222222;
    font-size: 12px;
    font-weight: 700;
}

/* Inputs */

.filter-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    box-sizing: border-box;

    background: #fafafa;
    border: 1px solid #d9d9d9;
    border-radius: 6px;

    color: #222222;
    font-size: 13px;
    outline: none;

    transition: all 0.2s ease;
}

.filter-input::placeholder {
    color: #8a8a8a;
}

.filter-input:hover {
    border-color: #bdbdbd;
}

.filter-input:focus {
    background: #ffffff;
    border-color: #e00000;
    box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.08);
}

/* Price row */

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.filter-row .filter-input {
    min-width: 0;
}

/* Custom dropdown */

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-input {
    cursor: text;
}

/* Dropdown options */

.custom-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 1000;

    display: none;

    max-height: 190px;
    overflow-y: auto;

    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 7px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.custom-select.active .custom-options {
    display: block;
}

.custom-options div {
    padding: 10px 12px;

    color: #333333;
    background: #ffffff;

    font-size: 13px;
    cursor: pointer;

    transition: background 0.15s ease, color 0.15s ease;
}

.custom-options div:hover {
    color: #e00000;
    background: #f7f7f7;
}

/* Scrollbar */

.custom-options::-webkit-scrollbar {
    width: 5px;
}

.custom-options::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 10px;
}


h2 {
    color: black;
}

/* Apply button */

.apply-filters {
    width: 100%;
    height: 44px;
    margin-top: 8px;

    border: none;
    border-radius: 6px;

    background: #e00000;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.apply-filters:hover {
    background: #c40000;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(224, 0, 0, 0.22);
}

/* Clear button */

.clear-filters {
    margin-top: 13px;

    color: #777777;
    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}

.clear-filters:hover {
    color: #e00000;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

    .cars-filter {
        max-width: 100%;
        padding: 20px;
    }

    .filter-title {
        margin-bottom: 20px;
    }

}

/* دیزاینی دوگمەی سووری پڕ وەک وێنەکە */
.btn-custom-red {
    background-color: #e50914;
    /* ڕەنگی سووری گەش */
    color: #ffffff !important;
    /* ڕەنگی نووسینی سپی */
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    /* خڕکردنی گۆشەکان */
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* کاتێک ماوس دەچێتە سەر دوگمەکە */
.btn-custom-red:hover {
    background-color: #b80710;
    /* سووری تۆختر */
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* --- FIX CARS PAGE GRID & RESPONSIVE ISSUES --- */
.cars-page {
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 20px 15px !important;
}

.cars-page .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -12px !important;
    margin-left: -12px !important;
}

/* Sidebar Filter */
.cars-filter {
    width: 100% !important;
    position: relative !important;
    float: none !important;
}

/* Reset Layout Grid for Desktop */
@media (min-width: 992px) {
    .cars-filter {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    .cars-results {
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }
}

/* Fix Cars List Grid */
.cars-list {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Reset fixed widths on cards */
.inventory-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.inventory-image {
    width: 100% !important;
}

.inventory-image img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
}

/* Fix Layout Collapse and Overlaps */
.custom-option {
    cursor: pointer;
}

.custom-option:hover {
    background-color: #dc3545 !important;
    color: #fff !important;
}

.card {
    min-width: 0 !important;
}

/* White / Light Theme Background for Pages */
body {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

main,
.cars-page {
    background-color: #f8f9fa !important;
}

/* ==========================================
   GLOBAL RESPONSIVE FIXES FOR ALL PAGES
   ========================================== */

body,
html {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
}

img,
video,
canvas,
svg {
    max-width: 100% !important;
    height: auto !important;
}

.container,
.container-fluid {
    width: 100% !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

table {
    max-width: 100% !important;
    white-space: nowrap;
}

/* Mobile Adjustments for Cards and Forms (EXCLUDING Home Page Hero & Navbar) */
@media (max-width: 768px) {

    /* تەنها بۆ ئەوانەی پێویستن، بێ دەستکاریکردنی هۆم سەید */
    h2 {
        font-size: 1.3rem !important;
    }

    h3 {
        font-size: 1.1rem !important;
    }
}

/* Fix Navbar Logo Size */
.navbar-brand img,
.site-header img,
header img {
    max-height: 50px !important;
    width: auto !important;
}

.navbar,
.site-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* --- HERO SECTION ORIGINAL FIX (لێرەدا هۆم سەید وەک جاران ڕێکخراوەوە) --- */
.hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
    margin-top: 20px !important;
}

.hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Fix Hero Title / NEXTCAR layout to prevent breaking */
.hero-section h1,
.hero-title {
    display: block !important;
    font-size: clamp(2rem, 5vw, 4rem) !important;
    font-weight: 800 !important;
}

.hero-section h1 span,
.next-car-text {
    display: inline-block !important;
}

/* Fix Car Filter Container and Labels on Mobile */
.car-filter-container,
.filter-section,
form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* تەنها لێبڵەکان دەگرێتەوە نەک هەموو small و spanـەکانی سایتەکە */
.car-filter label,
.filter-label,
form label {
    color: #ffffff !important;
    font-size: 0.85rem !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media (max-width: 992px) {

    .car-filter select,
    .filter-select {
        flex: 1 1 40% !important;
        min-width: 120px !important;
    }

    .search-cars-btn {
        width: 100% !important;
        margin-top: 10px !important;
    }
}

.hero h1 {
    display: block !important;
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

.hero h1 .next-car-heading {
    display: block !important;
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    font-weight: 800 !important;
    color: #e60000 !important;
    /* ڕەنگی سووری تۆخ و ڕەسەنی سایتەکە */
    margin-top: 5px !important;
}

.hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0px !important;
    /* لابردنی مەودای نێوان دوگمەکان تا پێکەوە بن */
    flex-wrap: nowrap !important;
    margin-top: 25px !important;
}

.hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    /* لابردنی گۆشە بازنەییەکان بۆ ئەوەی ڕاست ببن و بەیەکەوە بچووسێن */
}

/* لکاندنی قەراغی چەپی دوگمەی یەکەم بە دوگمەی دووەمەوە */
.hero-btn.btn-primary {
    background-color: #e60000 !important;
    border-color: #e60000 !important;
    color: #ffffff !important;
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* لکاندنی قەراغی ڕاستی دوگمەی دووەم بە دوگمەی یەکەمەوە */
.hero-btn.btn-secondary {
    background-color: rgba(15, 15, 15, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-left: none !important;
    /* لابردنی هێڵی ناوەڕاست بۆ ئەوەی بەیەکەوە بن */
    color: #ffffff !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.hero-btn.btn-secondary:hover {
    background-color: rgba(30, 30, 30, 0.95) !important;
}

.hero-btn svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

.hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0px !important;
    flex-wrap: nowrap !important;
    margin-top: 25px !important;
}

.hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    border: none !important;
    /* لابردنی هەموو چوارچێوە و هێڵێک */
    outline: none !important;
}

/* دوگمەی یەکەم (سوور) */
.hero-btn.btn-primary {
    background-color: #e60000 !important;
    color: #ffffff !important;
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* دوگمەی دووەم (ڕەش بێ چوارچێوە) */
.hero-btn.btn-secondary {
    background-color: rgba(15, 15, 15, 0.9) !important;
    color: #ffffff !important;
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.hero-btn.btn-secondary:hover {
    background-color: rgba(30, 30, 30, 1) !important;
}

.hero-btn svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

.hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0px !important;
    flex-wrap: nowrap !important;
    margin-top: 25px !important;
}

.hero-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    outline: none !important;
}

/* دوگمەی یەکەم (سوور - بۆردەر و باکگراوند ڕەش) */
.hero-btn.btn-primary {
    background-color: #e60000 !important;
    border: 2px solid #000000 !important;
    /* بۆردەری ڕەش */
    border-right: none !important;
    /* لابردنی هێڵی ناوەڕاست بۆ ئەوەی بچووسێت بە دوگمەی دووەمدا */
    color: #ffffff !important;
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* دوگمەی دووەم (ڕەش - بۆردەر و باکگراوند ڕەش) */
.hero-btn.btn-secondary {
    background-color: rgba(15, 15, 15, 0.95) !important;
    border: 2px solid #000000 !important;
    /* بۆردەری ڕەش */
    color: #ffffff !important;
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.hero-btn.btn-secondary:hover {
    background-color: rgba(30, 30, 30, 1) !important;
}

.hero-btn svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}



/* --- ڕێکخستنی دەق و زانیارییەکانی ناو کارتی ئۆتۆمبێل --- */

.inventory-card .card-body,
.car-card .card-body {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1 !important;
    padding: 1.25rem !important;
}

/* ڕێکخستنی ناونیشانی ئۆتۆمبێلەکە */
.inventory-card h3,
.inventory-card h4,
.inventory-card h5,
.car-card h3,
.car-card h4,
.car-card h5 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #212529 !important;
    margin-bottom: 0.5rem !important;
}

/* ڕێکخستنی نوسینەکانی خوارەوە (نرخ، ساڵ، کیلۆمەتر و هتد) بۆ ئەوەی ڕێک و یەکسان بن */
.inventory-card p,
.car-card p,
.inventory-card .car-details,
.car-card .car-details {
    margin-bottom: 0.75rem !important;
    color: #555555 !important;
    font-size: 0.95rem !important;
}

/* ڕێکخستنی نرخی ئۆتۆمبێل بە ڕەنگی سوور یان ڕەشی ڕوون */
.inventory-card .price,
.car-card .price,
.inventory-card h4.text-danger,
.car-card h4.text-danger {
    color: #e60000 !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    margin-bottom: 0.75rem !important;
}

/* ڕێکخستنی بەشی تایبەتمەندییەکان (Year, Mileage, Petrol) بۆ ئەوەی بە جوانی ڕێزببن */
.inventory-card .specs,
.car-card .specs,
.inventory-card .row,
.car-card .row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.85rem !important;
    color: #6c757d !important;
    margin-bottom: 1rem !important;
}


/* زیادکردنی ئەمە بۆ ڕێکخستنی قەبارەی وێنەی کارتەکان */
.inventory-card img,
.car-card img,
article.card img {
    height: 220px !important;
    object-fit: cover !important;
    width: 100% !important;
}

.cars-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/images/IMG_8614.PNG') center center no-repeat !important;
    background-size: cover !important;
}

h1 {
    color: #ffffff !important;
}

/* زۆرکردنی هێزی سێلێکتەرەکە بۆ ئەوەی بە دڵنیاییەوە ڕەش بێت */
h1.messages-title,
.messages-title {
    color: #000000 !important;
}

/* گۆڕینی ڕەنگی ناونیشانی Add New Car بۆ ڕەش */
.add-car-header h1,
.add-car-page h1 {
    color: #000000 !important;
}

/* گۆڕینی ڕەنگی ناونیشانی خانەکان و ستوونی زانیارییەکان بۆ ڕەش */
.form-block label,
.form-field label,
.form-label,
label {
    color: #000000 !important;
}

/* دڵنیابوون لەوەی کارتەکە دەبێتە فڵێکس و دوگمەکە دەچێتە בני بنەوە */
.car-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.car-card .car-info {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* پاڵنانی دوگمە بۆ کۆتایی کارتەکە بە شێوازێکی یەکسان */
.car-card .car-info a {
    margin-top: auto !important;
}




/* =========================================================
   GLOBAL RESPONSIVE DESIGN & UI FIXES
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

.container,
.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* =========================================================
   1. FILTER SEARCH FIXES (بەشی فلتەری سەیارەکان)
   ========================================================= */
.filter-card,
.filter-search-box,
[class*="filter"] {
    text-align: left !important;
}

.filter-card label,
.filter-search-box label,
form label {
    text-align: left !important;
    display: block !important;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.filter-card .form-control,
.filter-card .form-select,
.filter-search-box .form-control,
.filter-search-box .form-select {
    text-align: left !important;
    width: 100% !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    border: 1px solid #ced4da !important;
}

.filter-card .btn,
.filter-search-box .btn {
    width: 100% !important;
    border-radius: 8px !important;
    margin-top: 5px;
    padding: 10px !important;
    font-weight: bold;
}

/* =========================================================
   2. ADMIN CARDS & TABLES FIXES (بەشی ئادمین و کاردەکان)
   ========================================================= */
.card .d-flex.align-items-center {
    flex-wrap: wrap;
    gap: 10px;
    text-align: left !important;
}

.card.h-100.p-2.shadow-sm.border {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px !important;
    min-height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card.h-100 img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 6px;
    object-fit: cover;
}

.table-responsive {
    border-radius: 8px;
    overflow-x: auto;
    background: #1e222d;
    -webkit-overflow-scrolling: touch;
}

.table {
    color: #fff;
    margin-bottom: 0;
    white-space: nowrap;
}

.table th,
.table td {
    vertical-align: middle;
    padding: 12px 15px;
}

/* =========================================================
   3. MOBILE & TABLET MEDIA QUERIES (ڕێسپۆنسڤی گشتی شاشەکان)
   ========================================================= */
@media (max-width: 991.98px) {

    .admin-topbar,
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }

    .row {
        margin-right: -10px;
        margin-left: -10px;
    }

    .col-md-6,
    .col-md-4,
    .col-md-3 {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (max-width: 767.98px) {

    h1,
    .h1 {
        font-size: 1.75rem !important;
    }

    h2,
    .h2 {
        font-size: 1.5rem !important;
    }

    h3,
    .h3 {
        font-size: 1.25rem !important;
    }

    .admin-layout,
    .admin-container {
        flex-direction: column;
    }

    form .row>[class*="col-"] {
        margin-bottom: 12px;
    }

    .btn-lg {
        width: 100%;
        margin-top: 10px;
    }
}

/* =========================================================
   FIX FILTER SEARCH LAYOUT & BUTTONS FOR ALL SCREENS
   ========================================================= */

/* ڕێکخستنی گشتی کاردی فلتەر */
.filter-card,
.card:has(form[method="get"]) {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ڕێکخستنی سەرنووسەی Filter Search بۆ سەرەوەی سەرەوە */
.filter-title-area,
.card h4 {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

/* ڕێکخستنی خانەکانی داخلکردن و لیبڵەکان */
.filter-card label,
.card form label {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
    display: block;
    text-align: left;
}

/* ڕێکخستنی ئێپوتەکان لەسەر مۆبایل و کۆمپیوتەر */
.filter-card .form-control,
.filter-card .form-select,
.card form .form-control {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    height: 40px !important;
    background-color: #fff !important;
}

/* ڕێکخستنی دوو بەتنەکەی خوارەوە (Apply Filters و Clear All) لە هەموو بارودۆخێکدا */
.filter-buttons-container,
.card form .col-12.mt-4.text-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 15px !important;
}

/* دڵنیابوونەوە لەوەی بەتنەکان پانیی تەواو و خڕ وەک وێنەکە دەبن */
.filter-buttons-container .btn,
.card form .col-12.mt-4.text-center .btn {
    width: 100% !important;
    border-radius: 50rem !important;
    /* خڕکردنی لێوارەکان */
    padding: 10px 20px !important;
    font-weight: bold !important;
    font-size: 15px !important;
    margin: 0 !important;
}

/* تایبەتمەندی مۆبایل بۆ ئەوەی هیچ شتێک تێکنەچێت */
@media (max-width: 576px) {

    .filter-card,
    .card:has(form[method="get"]) {
        padding: 15px !important;
    }

    /* لەسەر مۆبایلیش با خانە نیوەییەکان (`col-6`) بە جوانی پاڵ یەکەوە بمێنن */
    .row.g-2>.col-6,
    .row.g-3>.col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* چارەسەری فۆڕمی فلتەر بۆ ئەوەی بە جوانی لە شوێنی خۆیدا ڕیز بێت */
aside form.filter-sidebar,
aside form:has(input[name="Make"]) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* دڵنیابوونەوە لەوەی دوو دوگمەکەی خوارەوە بە پانیی تەواو بکەونە ژێر یەک */
aside form .d-grid,
aside form .col-12.mt-3 {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    clear: both !important;
    margin-top: 15px !important;
}

aside form .d-grid .btn,
aside form .col-12.mt-3 .btn {
    width: 100% !important;
    margin: 0 !important;
}

/* پاراستنی تەواوی دیزاینەکە و چارەسەرکردنی تەنها تێکچوونی نوسینەکان */
#car-search.car-search {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

#car-search .search-field {
    flex: 1;
    min-width: 0;
    /* ڕێگری لەوەی خانەکان پاڵ بە یەکەوە بنێن و تێکبکەون */
}

#car-search .search-field label {
    font-size: 0.75rem !important;
    /* بچووککردنەوەیەکی زۆر کەم بۆ ئەوەی ناوەکان هەرگیز تێکەڵ نەبن */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#car-search .search-field select,
#car-search .search-cars-btn {
    white-space: nowrap;
}



/* =========================================================
   EXACT MATCH DESIGN WITH TYPEABLE INPUTS
   ========================================================= */

/* ڕێکخستنی کانتینەری کۆمبۆ بۆ ئەوەی تیرەکەی لای ڕاستی هەبێت */
.custom-combo {
    position: relative;
    width: 100%;
}

.custom-combo input.combo-input,
.custom-combo input {
    width: 100%;
    height: 38px;
    background-color: #242424 !important;
    /* هەمان ڕەنگی تاریکی ناو وێنەکە */
    color: #ffffff !important;
    border: 1px solid #383838 !important;
    border-radius: 6px !important;
    padding: 6px 26px 6px 10px !important;
    font-size: 0.85rem !important;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* ڕەنگی نوسینی placeholder وەک Any */
.custom-combo input::placeholder {
    color: #a0a0a0 !important;
}

/* دروستکردنی تیرەکە (Dropdown Arrow) وەک وێنەکە */
.custom-combo::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #ffffff;
    /* تیری سپی وەک وێنەکە */
    pointer-events: none;
}

/* کاتێک کڵیک لەسەر خانەکە دەکەیت، دەورەکەی سوور دەبێت ڕێک وەک Model لە وێنەکەدا */
.custom-combo input:focus {
    border-color: #dc3545 !important;
    /* ڕەنگی سووری بڵێسەدار */
    box-shadow: 0 0 0 1px #dc3545 !important;
}

/* سڕینەوەی دوگمەی هەڵبژاردنی ژمارە (Spinners) لەسەر Price و Year */
.custom-combo input[type=number]::-webkit-inner-spin-button,
.custom-combo input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* =========================================================
   RESPONSIVE FIX FOR ADMIN TABLES (Sell & Exchange Requests)
   ========================================================= */

/* دڵنیابوونەوە لەوەی کانتینەری خشتەکە سکرۆڵی نەرمی هەبێت لە کاتی تەسکوکیدا */
.admin-main-content,
.container-fluid,
.card,
.table-responsive {
    max-width: 100%;
}

/* خستنە ناو کانتینەرێکی سکرۆڵدارەوە بۆ ئەوەی لەسەر شاشە بچووکەکان هەموو ستوونەکان ببینرێن */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    display: block;
}

/* ڕێکخستنی قەبارەی خشتەکە و خانەکانی بۆ ئەوەی نەپچڕێن */
.table {
    width: 100%;
    white-space: nowrap;
    /* ڕێگری لە تێکچوونی دەقەکان دەکات */
}

/* کەمکردنەوەی پادینگی خانەکان کاتێک شاشە تەسک دەبێتەوە */
.table th,
.table td {
    padding: 12px 15px;
    vertical-align: middle;
}

/* =========================================================
   PERFECT RESPONSIVE TABLES FIX
   ========================================================= */


table {
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    /* ڕێگری لە پچڕان و تێکچوونی نوسینی خانەکان دەکات */
}

/* =========================================================
   CLEAN & PROFESSIONAL TABLE FIX (NO TEXT BREAKING)
   ========================================================= */

/* دڵنیابوونەوە لەوەی نوسینەکان هەرگیز نەشکێنرێن و بە ڕێکی لە یەک ڕездا بمێنن */
.admin-main-content table th,
.admin-main-content table td {
    white-space: nowrap !important;
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
}

/* ڕێگەدان بە سکرۆڵی ئاسۆیی نەرم بۆ ئەوەی خشتەکە قەرەباڵغ نەبێت و نوسینەکان تێک نەچن */
.admin-main-content .table-responsive,
.admin-main-content {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* ڕێکخستنی قەبارەی وێنە و تەگەکان */
.admin-main-content table img {
    width: 40px !important;
    height: 30px !important;
    object-fit: cover;
    border-radius: 4px;
}