* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.list-section {
    padding: 64px 60px 80px;
    background: #f9f9f9;
    font-family: 'Jost', sans-serif;
    min-height: 60vh;
}

.list-header {
    padding: 36px 0 28px;
    border-bottom: 0.5px solid #e0e0e0;
    margin-bottom: 32px;
}

.list-breadcrumb {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.list-breadcrumb a {
    color: #999;
    text-decoration: none;
}

.list-breadcrumb a:hover { color: #ffa406; }

.list-title {
    font-size: 30px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.list-count {
    font-size: 14px;
    color: #888;
}

.list-count span {
    color: #ffa406;
    font-weight: 600;
}

.list-clear-filter {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #111;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 14px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.list-clear-filter:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ─── DESKTOP GRID (3 columns, no filter sidebar — full width) ─── */
.list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ─── EMPTY STATE ─── */
.list-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px;
    background: #fff;
    border-radius: 14px;
    border: 0.5px dashed #ddd;
}

.list-empty p {
    color: #999;
    font-size: 15px;
    max-width: 360px;
    line-height: 1.6;
}

/* ─── MOBILE AUTO-SCROLL CAROUSEL ROWS (hidden on desktop) ─── */
.list-mobile-carousels {
    display: none;
}

.carousel-row {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 14px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
}

.carousel-slide {
    flex-shrink: 0;
    padding: 0 5px;
    box-sizing: border-box;
}

/* ─── PAGINATION ─── */
.list-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-btn:hover:not(:disabled) {
    border-color: #ffa406;
    color: #ffa406;
}

.page-btn.active {
    background: #111;
    border-color: #111;
    color: #fff;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-ellipsis {
    color: #aaa;
    font-size: 14px;
    padding: 0 4px;
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {

    .list-section {
        padding: 12px 16px 60px;
    }

    .list-header {
        padding: 20px 0 18px;
        margin-bottom: 20px;
    }

    .list-title {
        font-size: 20px;
    }

    .list-count {
        font-size: 12px;
    }

    /* Hide the static grid on mobile, show auto-scroll carousels instead */
    .list-grid {
        display: none;
    }

    .list-mobile-carousels {
        display: block;
    }

    .list-mobile-carousels .list-empty {
        padding: 50px 16px;
    }

    .carousel-track .vehicle-img-wrap {
        height: 110px;
    }

    .carousel-track .vehicle-info {
        padding: 10px 10px 12px;
    }

    .carousel-track .vehicle-name {
        font-size: 12px;
    }

    .carousel-track .vehicle-price {
        font-size: 12px;
    }

    .carousel-track .vehicle-top-row {
        margin-bottom: 8px;
    }

    .carousel-track .vehicle-specs {
        padding-top: 8px;
        margin-bottom: 10px;
    }

    .carousel-track .spec-label {
        font-size: 7px;
    }

    .carousel-track .spec-value {
        font-size: 10px;
    }

    .carousel-track .spec-icon svg {
        width: 13px;
        height: 13px;
    }

    .carousel-track .contact-btn {
        padding: 7px 0;
        font-size: 11px;
    }

    .carousel-track .wish-btn {
        width: 26px;
        height: 26px;
        top: 8px;
        right: 8px;
    }

    .carousel-track .wish-btn svg {
        width: 13px;
        height: 13px;
    }

    .list-pagination {
        margin-top: 30px;
        gap: 6px;
    }

    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}