* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}


/* =========================================
   HEADER
   ========================================= */

header {
    background: #111;
    color: white;
    padding: 25px 8%;
}

header h1 {
    font-size: 30px;
    letter-spacing: 2px;
}

header p {
    margin-top: 5px;
    color: #ccc;
}


/* =========================================
   NAVIGATION
   ========================================= */

nav {
    margin-top: 20px;
    position: relative;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 25px;
    font-weight: bold;
}

nav a:hover {
    color: #d4a017;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    color: white;
    padding: 8px;
}

.main-nav-links {
    display: flex;
    align-items: center;
}

@media (max-width: 700px) {

    .mobile-menu-button {
        display: block;
        position: fixed;
        top: 75px;
        left: 18px;
        z-index: 9999;
    }

    .main-nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 260px;
        height: 100vh;
        padding: 125px 18px 20px;
        background: #111;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        z-index: 1000;

        transform: translateX(-100%);
        transition: transform 0.3s ease;

        box-shadow: 8px 0 25px rgba(0, 0, 0, 0.25);
        box-sizing: border-box;
    }

    .main-nav-links.show {
        transform: translateX(0);
    }

    .main-nav-links a {
        display: block;
        margin-right: 0;
        padding: 13px 12px;
        border-radius: 7px;
    }

    .main-nav-links a:hover {
        background: #222;
        color: #d4a017;
    }
}


/* =========================================
   MAIN
   ========================================= */

main {
    padding: 50px 8%;
}

section {
    background: white;
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

section h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

section h3 {
    margin-top: 20px;
    font-size: 24px;
}

section p {
    margin-top: 8px;
}


/* =========================================
   GENERAL BUTTONS
   ========================================= */

button {
    padding: 15px 25px;
    border: none;
    border-radius: 6px;
    background: #d4a017;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #b8860b;
}


/* =========================================
   HERO
   ========================================= */

.hero {

    background: linear-gradient(
        135deg,
        #111 0%,
        #1d1d1d 55%,
        #333 100%
    );

    color: white;

    padding: 90px 50px;

    border-radius: 16px;

    text-align: center;

    margin-bottom: 40px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.16);

}

.hero-content {

    max-width: 850px;

    margin: auto;

}

.hero-label {

    color: #d4a017;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 16px;

    text-transform: uppercase;

}

.hero h2 {

    font-size: 52px;

    line-height: 1.1;

    margin: 0 0 18px;

    font-weight: 800;

    letter-spacing: -0.5px;

}

.hero-text {

    max-width: 680px;

    margin: 0 auto 32px;

    font-size: 18px;

    line-height: 1.6;

    color: #ddd;
}

/* =========================================
   SEARCH
   ========================================= */

.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}
.search-box button {
    width: 52px;
    height: 52px;
    padding: 0;

    border: none;
    border-radius: 10px;

    background: #111;
    color: white;

    font-size: 20px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s ease;
}

.search-box button:hover {
    background: #b8860b;
    transform: translateY(-1px);
}

.search-box input {
    width: 65%;
    margin-top: 0;
    padding: 16px 18px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.search-box input:focus {
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.10);
}

input {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}


/* =========================================
   CARS
   ========================================= */

.car-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
    margin-top: 28px;
}

.car-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.car-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.car-image {
    height: 220px;
    overflow: hidden;
    background: #f3f3f3;
    position: relative;
}
.photo-count-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(17, 17, 17, 0.92);
    color: white;
    padding: 8px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}
.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.car-image:hover img {
    transform: scale(1.04);
}

.car-image:hover {
    cursor: pointer;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-info {

    padding: 22px;

}

.car-info h3 {

    margin: 0 0 12px;

    font-size: 23px;

    line-height: 1.25;

    color: #111;

    font-weight: 800;

}

.car-info p {

    margin: 7px 0;

    line-height: 1.5;

    color: #666;

    font-size: 14px;

}

.car-info h4 {

    margin: 18px 0 14px;

    font-size: 23px;

    color: #b8860b;

    font-weight: 800;

    letter-spacing: 0.2px;

}

.car-info button {
    margin-right: 8px;
    margin-top: 8px;
    padding: 11px 17px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.car-info button:hover {
    transform: translateY(-2px);
}

.car-info button:not(.save-car-button) {
    background: #111;
    color: white;
    border: 1px solid #111;
}

.car-info button:not(.save-car-button):hover {
    background: #b8860b;
    border-color: #b8860b;
}

.car-info .save-car-button {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.car-info .save-car-button:hover {
    background: #fffdf7;
    border-color: #b8860b;
    color: #b8860b;
}


/* =========================================
   CAR DETAILS POPUP
   ========================================= */

.car-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#carModal {
    padding: 20px;
    box-sizing: border-box;
}

#carModal > div {
    width: 100%;
    max-width: 850px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 14px;
    padding: 30px;
    box-sizing: border-box;
    position: relative;
}


/* =========================================
   MODAL IMAGE
   ========================================= */

.modal-car-image {
    display: block;
    width: 100%;
    max-width: 650px;
    height: 350px;
    object-fit: cover;
    margin: 0 auto 20px;
    border-radius: 10px;
}


/* =========================================
   MODAL TEXT
   ========================================= */

#modalCarName {
    margin: 5px 0 12px;
    font-size: 28px;
    line-height: 1.2;
    color: #111;
}

#modalCarDetails {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

#modalCarPrice {
    margin: 20px 0;
    font-size: 24px;
    font-weight: 800;
    color: #b8860b;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#modalCarPrice::before {
    content: "PRICE";
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #777;
}


/* =========================================
   MODAL CLOSE BUTTON
   ========================================= */

.modal-close-button {
    position: absolute;
    top: 15px;
    right: 15px;

    width: auto;
    min-width: 0;
    height: auto;

    padding: 8px 14px;

    background: #111;
    color: white;

    border: none;
    border-radius: 6px;

    font-size: 14px;
    font-weight: bold;

    cursor: pointer;

    z-index: 1001;
}

.modal-close-button:hover {
    background: #333;
}


/* =========================================
   WHATSAPP BUTTON
   ========================================= */

.whatsapp-button {
    width: 100%;
    background: #25D366;
    margin-bottom: 10px;
    font-size: 16px;
}

.whatsapp-button:hover {
    background: #1da851;
}

#modalWhatsAppButton {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 7px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}

#modalWhatsAppButton:hover {
    background: #1da851;
}


/* =========================================
   VEHICLE SPECIFICATIONS
   ========================================= */

.vehicle-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.vehicle-spec {
    padding: 15px;
    background: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 8px;
}

.vehicle-spec span {
    display: block;
    color: #777;
    font-size: 13px;
    margin-bottom: 6px;
}

.vehicle-spec strong {
    display: block;
    color: #111;
    font-size: 15px;
}

.vehicle-location {
    grid-column: 1 / -1;
    padding: 15px;
    background: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vehicle-location span {
    color: #777;
    font-size: 14px;
}

.vehicle-location strong {
    color: #111;
}


/* =========================================
   VEHICLE DESCRIPTION
   ========================================= */

.vehicle-description {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e5e5;
}

.vehicle-description span {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
}

.vehicle-description p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}


/* =========================================
   VEHICLE STATUS
   ========================================= */

.vehicle-status {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 100px;

    margin: 10px 0 6px;

    padding: 8px 15px;

    border-radius: 999px;

    box-sizing: border-box;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.7px;

    line-height: 1;

    border: 1px solid transparent;

}

.vehicle-status.available {

    background: #e8f7ee;

    color: #16803c;

    border-color: #bfe8cf;

}

.vehicle-status.reserved {

    background: #fff3df;

    color: #b86b00;

    border-color: #f0d39b;

}

.vehicle-status.sold {

    background: #fde8e8;

    color: #c62828;

    border-color: #f0bcbc;

}


/* =========================================
   PHOTO THUMBNAILS
   ========================================= */

.modal-car-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: -10px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.modal-car-thumbnail {
    width: 82px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: 0.2s ease;
    opacity: 0.75;
}

.modal-car-thumbnail.active {
    border-color: #b8860b;
    opacity: 1;
    transform: scale(1.03);
}


/* =========================================
   SHARE VEHICLE
   ========================================= */

.modal-share-button {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px 18px;
    background: #f5f5f5;
    color: #111;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.modal-share-button:hover {
    background: #eaeaea;
}


/* =========================================
   SAVED CARS
   ========================================= */

.save-car-button {

    width: 100%;

    margin-top: 10px;

    padding: 12px;

    background: white;

    color: #111;

    border: 1px solid #d8d8d8;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;

}

.save-car-button:hover {

    border-color: #b8860b;

    color: #b8860b;

    background: #fffdf7;

}

.save-car-button.saved {

    background: #111;

    color: white;

    border-color: #111;

}

.save-car-button.saved:hover {

    background: #b8860b;

    border-color: #b8860b;

}
#savedCarsCount {
    font-size: 18px;
    font-weight: 700;
    color: #b8860b;
}
#saved {
    padding-top: 10px;
    padding-bottom: 55px;
}

#saved .section-heading {
    margin-bottom: 25px;
}

#savedCarsGrid {
    margin-top: 0;
}

#noSavedCars {
    width: 100%;
    padding: 35px 20px;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    color: #777;
    font-size: 15px;
    line-height: 1.6;
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 12px;
}


/* =========================================
   SEARCH FILTERS
   ========================================= */

.car-filters {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    margin-top: 18px;

}

.car-filters select {

    width: 100%;

    padding: 15px 16px;

    border: 1px solid #ddd;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 500;

    background: #fff;

    color: #222;

    outline: none;

    box-sizing: border-box;

    cursor: pointer;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.05);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;

}

.car-filters select:hover {

    border-color: #bbb;

    transform: translateY(-1px);

}

.car-filters select:focus {

    border-color: #b8860b;

    box-shadow:
        0 0 0 3px rgba(184, 134, 11, 0.10);

}


/* =========================================
   SECTION HEADINGS
   ========================================= */

.section-heading {

    margin-bottom: 28px;

}

.section-label {

    color: #b8860b;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2.2px;

    margin-bottom: 8px;

    text-transform: uppercase;

}

.section-heading h2 {

    margin: 0 0 7px;

    font-size: 30px;

    line-height: 1.2;

    color: #111;

    font-weight: 800;

}

.section-subtitle {

    color: #777;

    font-size: 15px;

    line-height: 1.5;

    margin: 0;

}


/* =========================================
   SELL VEHICLE FORM
   ========================================= */

.sell-form {

    max-width: 850px;

    margin: 0 auto;

    padding: 38px;

    background: #fafafa;

    border: 1px solid #e8e8e8;

    border-radius: 14px;

    text-align: left;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.06);

}

.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-bottom: 20px;

}

.form-group {

    margin-bottom: 20px;

}

.form-group label {

    display: block;

    margin-bottom: 8px;

    font-size: 13px;

    font-weight: 700;

    color: #222;

}

.form-group input,

.form-group select,

.form-group textarea {

    width: 100%;

    padding: 14px 15px;

    border: 1px solid #ddd;

    border-radius: 8px;

    font-size: 15px;

    font-family: inherit;

    box-sizing: border-box;

    background: white;

    color: #222;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}

.form-group input::placeholder,

.form-group textarea::placeholder {

    color: #999;

}

.form-group input:focus,

.form-group select:focus,

.form-group textarea:focus {

    outline: none;

    border-color: #b8860b;

    box-shadow:
        0 0 0 3px rgba(184, 134, 11, 0.10);

}

.form-group textarea {

    resize: vertical;

    min-height: 120px;

}

.sell-submit-button {

    width: 100%;

    padding: 15px;

    background: #111;

    color: white;

    border: none;

    border-radius: 8px;

    font-size: 15px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}

.sell-submit-button:hover {

    background: #b8860b;

    transform: translateY(-1px);

}


/* =========================================
   FEATURED VEHICLES
   ========================================= */

.featured-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 8px;

    padding: 7px 13px;

    background: #b8860b;

    color: white;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.4px;

    line-height: 1;

    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.25);

}

#featured {
    padding-bottom: 60px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 50px;
}

#featured .car-card {
    position: relative;
    border: 1px solid #e5e5e5;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#featured .car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

#featured .featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    margin: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

#featuredCarsGrid {
    margin-top: 25px;
}

#featured .car-info h3 {
    margin-top: 5px;
}

#featured .car-info button:first-of-type {

    background: #b8860b;

    color: white;

    border: 1px solid #b8860b;

    font-weight: 800;

    padding: 11px 18px;

    border-radius: 8px;

    box-shadow: 0 3px 8px rgba(184, 134, 11, 0.18);

}

#featured .car-info button:first-of-type:hover {

    background: #9a6f08;

    border-color: #9a6f08;

    box-shadow: 0 5px 12px rgba(184, 134, 11, 0.25);

}


/* =========================================
   ADMIN
   ========================================= */

#adminLogoutButton {
    display: block;
    margin: 0 auto 25px;
    padding: 11px 25px;
    background: #111;
    color: white;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

#adminLogoutButton:hover {
    background: #b8860b;
}

nav a[href="#adminLogin"] {
    font-size: 13px;
    opacity: 0.65;
}

nav a[href="#adminLogin"]:hover {
    opacity: 1;
}

.admin-lock {
    font-size: 13px;
    opacity: 0.6;
    text-decoration: none;
}

.admin-lock:hover {
    opacity: 1;
}


/* =========================================
   IMAGE VIEWER
   ========================================= */

.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.92);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
    box-sizing: border-box;
}

.image-viewer-image {
    max-width: 92%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}
.image-viewer-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5002;

    background: rgba(0, 0, 0, 0.7);
    color: white;

    padding: 8px 14px;
    border-radius: 20px;

    font-size: 14px;
    font-weight: 600;
}


/* IMAGE VIEWER CLOSE */

.image-viewer-close {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 45px;
    height: 45px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: white;
    color: #111;

    font-size: 22px;
    font-weight: bold;

    cursor: pointer;

    z-index: 5001;
}

.image-viewer-close:hover {
    background: #b8860b;
    color: white;
}


/* IMAGE VIEWER PREVIOUS / NEXT */

.image-viewer-nav {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;

    height: 70px !important;
    min-height: 70px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: none;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.9);
    color: #111;

    font-size: 42px;
    line-height: 1;

    cursor: pointer;

    z-index: 5001;

    transition: 0.2s ease;
}

.image-viewer-nav:hover {
    background: #b8860b;
    color: white;
}

.image-viewer-previous {
    left: 25px;
    right: auto;
}

.image-viewer-next {
    right: 25px;
    left: auto;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 900px) {

    .car-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .car-filters {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    #carModal {
        padding: 12px;
    }

    #carModal > div {
        padding: 20px;
    }

    .vehicle-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

    .vehicle-location {
        display: block;
    }

    .vehicle-location strong {
        display: block;
        margin-top: 5px;
    }
    .vehicle-spec {
    padding: 12px;
}

.vehicle-spec span {
    font-size: 12px;
    margin-bottom: 5px;
}

.vehicle-spec strong {
    font-size: 14px;
    line-height: 1.35;
}

    .sell-form {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .car-filters {
        grid-template-columns: 1fr;
    }

        .image-viewer {
        padding: 10px;
    }

    .image-viewer-image {
        max-width: 100%;
        max-height: 78%;
        border-radius: 6px;
    }

    .image-viewer-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    .image-viewer-counter {
    bottom: 15px;
    padding: 7px 12px;
    font-size: 13px;
}
    .modal-car-thumbnails {
        gap: 8px;
        margin-bottom: 18px;
        padding-bottom: 4px;
    }

    .modal-car-thumbnail {
        width: 76px;
        height: 58px;
    }
    .image-viewer-nav {
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;

        height: 58px !important;
        min-height: 58px !important;

        font-size: 34px;
    }

    .image-viewer-previous {
        left: 10px;
    }

    .image-viewer-next {
        right: 10px;
    }

    .modal-car-image {
        height: 230px;
    }.modal-car-thumbnails {
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.modal-car-thumbnail {
    width: 72px;
    height: 56px;
}

    #modalCarName {
        font-size: 22px;
    }

    #modalCarPrice {
    margin: 14px 0;
    font-size: 21px;
}
    .vehicle-status {
        min-width: 90px;
        padding: 7px 12px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .vehicle-description {
    margin-top: 16px;
    padding-top: 14px;
}

.vehicle-description p {
    font-size: 13px;
    line-height: 1.6;
}
    #modalWhatsAppButton {
        padding: 13px;
        font-size: 15px;
    }

    .modal-close-button {
        padding: 7px 12px;
        font-size: 13px;
    }
    .modal-share-button {
    padding: 11px 16px;
    font-size: 13px;
}
.modal-share-button {
    padding: 11px 16px;
    font-size: 13px;
}

.save-car-button {
    padding: 10px;
    font-size: 13px;
}    .car-image {
        height: 200px;
    }    .car-info {
        padding: 18px;
    }

    .car-info h3 {
        font-size: 21px;
        margin-bottom: 8px;
    }

    .car-info p {
        margin: 6px 0;
        line-height: 1.4;
    }

    .car-info h4 {
        margin: 13px 0;
        font-size: 20px;
    }
        .car-info button {
        margin-right: 5px;
        padding: 9px 12px;
        font-size: 12px;
    }
        .search-box input {
        padding: 14px 16px;
        font-size: 15px;
    }
}


@media (max-width: 600px) {

    .car-grid {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 38px;
    }

    .search-box {
    flex-direction: row;
    gap: 8px;
}

.search-box input {
    width: 100%;
    min-width: 0;
}

    .car-modal-content {
        padding: 30px 22px;
    }

    .car-modal-content h2 {
        font-size: 25px;
    }

    .car-modal-content h3 {
        font-size: 24px;
    }

    #carModal .modal-content {
        width: 94%;
        padding: 20px;
    }
}
.whatsapp-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}
.modal-gallery-label {
    margin: 0 0 8px;
    color: #777;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}#about {
    max-width: 850px;
    margin: 0 auto 60px;
    padding: 40px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-sizing: border-box;
}

#about .section-label {
    margin-bottom: 8px;
}

#about h2 {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.2;
    color: #111;
    font-weight: 800;
}

#about p:not(.section-label) {
    margin: 0 0 12px;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

#about p:last-child {
    margin-bottom: 0;
}
#contact {
    max-width: 850px;
    margin: 0 auto 60px;
    padding: 40px;
    background: #111;
    color: white;
    border-radius: 14px;
    box-sizing: border-box;
    text-align: center;
}

#contact .section-label {
    margin-bottom: 8px;
    color: #d4a017;
}

#contact h2 {
    margin: 0 0 15px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
}

#contact p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 25px;
    color: #ddd;
    font-size: 15px;
    line-height: 1.7;
}

#contact button {
    padding: 13px 22px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

#contact button:hover {
    background: #1da851;
    transform: translateY(-1px);
}
.site-footer {
    margin-top: 60px;
    background: #111;
    color: white;
}

.site-footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
}

.site-footer-brand h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}

.site-footer-brand p {
    margin: 0;
    color: #aaa;
    font-size: 13px;
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 22px;
}

.site-footer-links a {
    color: #ddd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s ease;
}

.site-footer-links a:hover {
    color: #d4a017;
}

.site-footer-bottom {
    border-top: 1px solid #292929;
    text-align: center;
    padding: 18px 20px;
}

.site-footer-bottom p {
    margin: 0;
    color: #777;
    font-size: 12px;
}
.admin-dashboard {
    margin-bottom: 30px;
    padding: 28px;
    background: #111;
    color: white;
    border-radius: 14px;
    box-sizing: border-box;
}

.admin-dashboard-header {
    margin-bottom: 22px;
}

.admin-dashboard-label {
    margin: 0 0 6px;
    color: #d4a017;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.admin-dashboard-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.admin-dashboard-stats {
    display: grid;
    grid-template-columns:
        repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.admin-stat-card {
    padding: 18px;
    background: #1c1c1c;
    border: 1px solid #2b2b2b;
    border-radius: 10px;
    box-sizing: border-box;
}

.admin-stat-card span {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-size: 12px;
    font-weight: 600;
}

.admin-stat-card strong {
    display: block;
    color: white;
    font-size: 28px;
    font-weight: 800;
}


@media (max-width: 800px) {

    .admin-dashboard {
        padding: 22px;
    }

    .admin-dashboard-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 480px) {

    .admin-dashboard {
        padding: 18px;
    }

    .admin-dashboard-header h3 {
        font-size: 21px;
    }

    .admin-dashboard-stats {
        grid-template-columns:
            1fr;
    }

}
.admin-recent-activity {
    margin-bottom: 30px;
    padding: 28px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-sizing: border-box;
}

.admin-recent-header {
    margin-bottom: 20px;
}

.admin-recent-label {
    margin: 0 0 6px;
    color: #b8860b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.admin-recent-header h3 {
    margin: 0;
    color: #111;
    font-size: 24px;
    font-weight: 800;
}

.admin-recent-vehicles {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-recent-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 18px;
    padding: 15px 16px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-sizing: border-box;
}

.admin-recent-name {
    color: #111;
    font-size: 14px;
    font-weight: 800;
}

.admin-recent-price {
    color: #b8860b;
    font-size: 14px;
    font-weight: 800;
}

.admin-recent-status {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-recent-status.available {
    background: #e8f7ee;
    color: #16803c;
}

.admin-recent-status.reserved {
    background: #fff3df;
    color: #b86b00;
}

.admin-recent-status.sold {
    background: #fde8e8;
    color: #c62828;
}

.admin-recent-date {
    color: #888;
    font-size: 12px;
}

.admin-recent-empty {
    margin: 0;
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
    background: white;
    border: 1px dashed #ddd;
    border-radius: 10px;
}


@media (max-width: 700px) {

    .admin-recent-activity {
        padding: 20px;
    }

    .admin-recent-header h3 {
        font-size: 21px;
    }

    .admin-recent-item {
        grid-template-columns: 1fr auto;
        gap: 10px 12px;
    }

    .admin-recent-name {
        grid-column: 1;
    }

    .admin-recent-price {
        grid-column: 2;
        grid-row: 1;
    }

    .admin-recent-status {
        grid-column: 1;
        justify-self: start;
    }

    .admin-recent-date {
        grid-column: 2;
        text-align: right;
    }

}
.admin-manage-inventory {
    margin-bottom: 30px;
    padding: 28px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-sizing: border-box;
}

.admin-manage-header {
    margin-bottom: 20px;
}

.admin-manage-label {
    margin: 0 0 6px;
    color: #b8860b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.admin-manage-header h3 {
    margin: 0;
    color: #111;
    font-size: 24px;
    font-weight: 800;
}

.admin-inventory-controls {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        210px
        210px;
    gap: 12px;
    margin-bottom: 20px;
}

.admin-inventory-controls input,
.admin-inventory-controls select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #222;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.admin-inventory-controls input:focus,
.admin-inventory-controls select:focus {
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.10);
}

.admin-inventory-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-inventory-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-sizing: border-box;
}

.admin-inventory-name {
    color: #111;
    font-size: 14px;
    font-weight: 800;
}

.admin-inventory-price {
    color: #b8860b;
    font-size: 14px;
    font-weight: 800;
}

.admin-inventory-actions {
    display: flex;
    gap: 8px;
}

.admin-inventory-actions button {
    padding: 9px 13px;
    border: none;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.admin-inventory-edit {
    background: #111;
    color: white;
}

.admin-inventory-edit:hover {
    background: #b8860b;
}

.admin-inventory-delete {
    background: #fde8e8;
    color: #c62828;
}

.admin-inventory-delete:hover {
    background: #f6d1d1;
}

.admin-inventory-empty {
    margin: 0;
    padding: 25px;
    text-align: center;
    color: #888;
    background: white;
    border: 1px dashed #ddd;
    border-radius: 10px;
}


@media (max-width: 700px) {

    .admin-manage-inventory {
        padding: 20px;
    }

    .admin-manage-header h3 {
        font-size: 21px;
    }

    .admin-inventory-controls {
        grid-template-columns: 1fr;
    }

    .admin-inventory-item {
        grid-template-columns: 1fr auto;
        gap: 10px 12px;
    }

    .admin-inventory-name {
        grid-column: 1;
    }

    .admin-inventory-price {
        grid-column: 2;
        grid-row: 1;
    }

    .admin-inventory-actions {
        grid-column: 1 / -1;
    }

    .admin-inventory-actions button {
        flex: 1;
    }

}

.admin-business-insights {
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #2b2b2b;
}

.admin-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.admin-insight-card {
    min-width: 0;
    padding: 20px;
    background: #1c1c1c;
    border: 1px solid #2b2b2b;
    border-radius: 10px;
    box-sizing: border-box;
}

.admin-insight-card span {
    display: block;
    margin-bottom: 10px;
    color: #aaa;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.admin-insight-card strong {
    display: block;
    color: #d4a017;
    font-size: clamp(18px, 2.5vw, 27px);
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    .admin-insight-grid {
        grid-template-columns: 1fr;
    }

    .admin-insight-card {
        padding: 17px;
    }
}

/* Verified Listing Badge */

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 4px 0 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e8f7ee;
    color: #16803c;
    border: 1px solid #bfe8cf;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

/* Seller Verification Panel */

.seller-verification-panel {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid #d9e4dd;
    border-radius: 10px;
    background: #f7faf8;
    color: #24352b;
}

.seller-verification-heading {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d9e4dd;
    font-size: 13px;
    font-weight: 800;
    color: #16803c;
}

.seller-verification-panel label {
    display: flex !important;
    align-items: flex-start;
    gap: 7px;
    margin: 9px 0 !important;
    font-size: 12px !important;
    line-height: 1.4;
}

.seller-verification-panel input[type="checkbox"] {
    flex-shrink: 0;
    margin: 2px 0 0;
    accent-color: #16803c;
}

.seller-verification-panel p {
    overflow-wrap: anywhere;
}

/* Verification Status Label */

.verification-status {
    display: inline-block;
    margin: 0 0 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff3d6;
    color: #8a5b00;
    font-size: 11px;
    font-weight: 800;
}

.verification-status.is-verified {
    background: #e8f7ee;
    color: #16803c;
}

/* Verification Recheck Reminder */

.recheck-reminder {
    margin: 8px 0 0;
    padding: 7px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.recheck-reminder.needs-recheck {
    background: #fff0e8;
    color: #a63c12;
}

.recheck-reminder.verification-recent {
    background: #e8f7ee;
    color: #16803c;
}

/* Recheck Now Button */

.recheck-now-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border: 1px solid #16803c;
    border-radius: 7px;
    background: #ffffff;
    color: #16803c;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.recheck-now-button:hover {
    background: #e8f7ee;
}

.recheck-now-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.admin-recent-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.admin-recent-image {
    width: 90px;
    height: 70px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 8px;
    background: #f1f3f5;
}

.admin-recent-details {
    flex: 1;
    min-width: 0;
}

.admin-recent-name {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.admin-recent-price {
    margin-top: 4px;
    font-weight: 700;
}

.admin-recent-date {
    margin-top: 5px;
    font-size: 12px;
    color: #6b7280;
}

.admin-recent-edit {
    margin-top: 8px;
    padding: 7px 12px;
    border: 0;
    border-radius: 6px;
    background: #111827;
    color: white;
    cursor: pointer;
}

@media (max-width: 500px) {
    .admin-recent-image {
        width: 72px;
        height: 64px;
    }

    .admin-recent-item {
        gap: 10px;
    }
}

/* MOBILE HERO IMPROVEMENTS */
@media (max-width: 700px) {
    .hero {
        padding: 55px 18px;
    }

    .hero h2 {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.15;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    main {
        padding: 25px 16px;
    }
}

/* TWO CARDS SIDE BY SIDE ON MOBILE */
@media (max-width: 700px) {
    .car-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .car-grid > * {
        min-width: 0;
    }

    .car-grid img {
        max-width: 100%;
    }
}

/* COMPACT TWO-COLUMN CAR CARDS */
@media (max-width: 700px) {
    .car-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .car-grid > * {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .car-grid img {
        width: 100%;
        height: 125px;
        object-fit: cover;
        display: block;
    }

    .car-grid h3 {
        font-size: 14px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .car-grid p {
        font-size: 12px;
        line-height: 1.4;
    }

    .car-grid button {
        max-width: 100%;
        padding: 9px 6px;
        font-size: 11px;
        white-space: normal;
    }
}


/* EXTRA-COMPACT CAR CARDS ON MOBILE */
@media (max-width: 700px) {

    .car-card .car-image img {
        width: 100%;
        height: 90px;
        object-fit: cover;
        display: block;
    }

    .car-card .car-info {
        padding: 7px;
    }

    .car-card .car-info p {
        display: none;
    }

    .car-card .car-info h3 {
        font-size: 12px;
        line-height: 1.25;
        margin: 5px 0;
        overflow-wrap: anywhere;
    }

    .car-card .car-info h4 {
        font-size: 14px;
        line-height: 1.2;
        margin: 5px 0 2px;
        overflow-wrap: anywhere;
    }

    .car-card .verified-badge {
        font-size: 9px;
        padding: 3px 5px;
        margin: 2px 0;
    }

    .car-card .featured-badge,
    .car-card .photo-count-badge {
        font-size: 9px;
    }
}

/* FIX EMPTY SPACE IN MOBILE CAR CARDS */
@media (max-width: 700px) {

    .car-card {
        height: auto !important;
        min-height: 0 !important;
        align-self: start;
    }

    .car-card .car-image {
        height: 135px !important;
        min-height: 0 !important;
        flex: none !important;
        overflow: hidden;
    }

    .car-card .car-image img {
        display: block;
        width: 100%;
        height: 135px !important;
        object-fit: cover;
    }

    .car-card .car-info {
        height: auto !important;
        min-height: 0 !important;
        flex: none !important;
        margin-top: 0 !important;
    }
}

/* =========================================
   KORAH AUTOLINK — PREMIUM BRANDING
   ========================================= */

header#home {
    position: relative;
    overflow: visible;
    background: #101010;
    color: #fff;
    border-bottom: 2px solid #d4a017;
    padding: 25px 7% 20px;
    box-sizing: border-box;
}

header#home h1 {
    margin: 0;
    color: #f2c14e;
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 900;
    letter-spacing: 2px;
}

header#home > p {
    margin: 7px 0 20px;
    color: #ccc;
    font-size: 14px;
    letter-spacing: 1.5px;
}

header#home nav {
    margin-top: 10px;
}

header#home .main-nav-links a {
    transition: color 0.2s ease, background 0.2s ease;
}

header#home .main-nav-links a:hover {
    color: #f2c14e;
}

header#home .admin-lock {
    color: #d4a017;
}

/* Premium hero refinement */
.hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.25);
    background:
        radial-gradient(
            ellipse at top right,
            rgba(212, 160, 23, 0.13),
            transparent 55%
        ),
        linear-gradient(135deg, #101010, #202020 60%, #111);
}

.hero-label {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid rgba(212, 160, 23, 0.45);
    border-radius: 30px;
    background: rgba(212, 160, 23, 0.08);
}

.hero h2 {
    color: #fff;
    text-wrap: balance;
}

.hero h2::first-letter {
    color: #f2c14e;
}

.hero-text {
    color: #d5d5d5;
}

/* Keep the branding comfortable on phones */
@media (max-width: 700px) {
    header#home {
        padding: 22px 18px 18px;
        text-align: center;
    }

    header#home h1 {
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    header#home > p {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .hero {
        padding: 45px 16px;
    }

    .hero-label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
}

/* KORAH AUTOLINK - CLICKABLE BRAND SHOWCASE */
.brand-showcase {
    padding: 35px 7%;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.brand-heading h2 {
    margin: 8px 0;
    color: #171717;
    font-size: clamp(21px, 3vw, 30px);
}

.brand-heading > p:last-child {
    color: #777;
    font-size: 14px;
    margin-bottom: 24px;
}

.brand-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    max-width: 850px;
    margin: 0 auto;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 85px;
    padding: 15px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    color: #222;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s,
                box-shadow 0.2s, background 0.2s;
}

.brand-item:hover {
    border-color: #d4a017;
    background: #fffdf6;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.brand-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 2px solid #d4a017;
    border-radius: 50%;
    color: #a77b08;
    font-size: 20px;
    font-weight: 900;
}

@media (max-width: 500px) {
    .brand-showcase {
        padding: 28px 12px;
    }

    .brand-list {
        gap: 8px;
    }

    .brand-item {
        flex-direction: column;
        gap: 7px;
        min-height: 95px;
        padding: 10px 4px;
        font-size: 10px;
        overflow-wrap: anywhere;
    }

    .brand-symbol {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }
}

/* REAL CAR BRAND LOGOS */
.brand-item {
    flex-direction: column;
    gap: 12px;
}

.brand-logo {
    display: block;
    width: 100%;
    max-width: 130px;
    height: 55px;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 500px) {
    .brand-item {
        gap: 8px;
        min-height: 100px;
    }

    .brand-logo {
        max-width: 90px;
        height: 42px;
    }
}

/* =========================================
   KORAH AUTOLINK — COMPARE CARS
   ========================================= */

.compare-car-button,
.korah-compare-actions button,
.korah-compare-selected-item button,
.korah-comparison-results > button {
    border: 1px solid #c9a227;
    border-radius: 6px;
    padding: 9px 12px;
    margin: 5px 4px 5px 0;
    background: #111;
    color: #f0cc58;
    cursor: pointer;
    font-weight: 600;
}

.compare-car-button.is-comparing {
    background: #c9a227;
    color: #111;
}

.korah-compare-panel,
.korah-comparison-results {
    margin: 24px auto;
    padding: 20px;
    width: min(1100px, calc(100% - 28px));
    box-sizing: border-box;
    border: 1px solid #d8c27a;
    border-radius: 12px;
    background: #fff;
    color: #222;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.korah-compare-panel h2,
.korah-comparison-results h2 {
    margin-top: 0;
    color: #171717;
}

.korah-compare-count {
    color: #666;
}

.korah-compare-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.korah-compare-actions button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.korah-compare-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.korah-compare-selected-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 7px;
    background: #f5f2e9;
}

.korah-comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.korah-comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.korah-comparison-table th,
.korah-comparison-table td {
    border: 1px solid #e4e4e4;
    padding: 12px;
    text-align: left;
    vertical-align: middle;
}

.korah-comparison-table thead th {
    background: #171717;
    color: #f0cc58;
}

.korah-comparison-table tbody th {
    background: #f5f2e9;
    min-width: 110px;
}

.korah-comparison-table img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: 95px;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 600px) {
    .korah-compare-panel,
    .korah-comparison-results {
        padding: 14px;
        width: calc(100% - 20px);
    }

    .korah-compare-selected-list {
        flex-direction: column;
    }

    .korah-compare-selected-item {
        justify-content: space-between;
    }
}