/* Additional Theme Styles */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
}

.pagination a:hover {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.pagination .current {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

/* Brand Filters */
.brand-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

/* Vehicle Single Page Enhancements */
.single-vehicle .vehicle-details {
    max-width: 900px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ── Outlined red button (View All Vehicles) ───────────────────────────────── */
.btn-red-outline {
    display: inline-block;
    padding: 15px 35px;
    background: #fff;
    color: #9b1c1c;
    border: 2px solid #9b1c1c;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none;
}
.btn-red-outline:hover {
    background: #9b1c1c;
    color: #fff;
}

/* ── PRODANO banner (single vehicle photo overlay) ─────────────────────────── */
.prodano-banner {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #9b1c1c;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 20px;
    z-index: 10;
    border-radius: 2px;
}

/* ── PRODANO badge (archive vehicle grid) ──────────────────────────────────── */
.vpc-sold-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #9b1c1c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 5;
}

/* ── Vehicle carousel — drag cursor ────────────────────────────────────────── */
.vehicle-carousel-grid {
    cursor: grab;
    user-select: none;
}
.vehicle-carousel-grid.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

/* ── Split slideshow nav (arrows + dots) ───────────────────────────────────── */
.split-slideshow-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.split-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    padding: 0;
}
.split-dot.active {
    background: #fff;
}
.split-slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 2px;
}
.split-slide-arrow:hover { background: rgba(0,0,0,0.6); }
.split-slide-arrow.prev { left: 12px; }
.split-slide-arrow.next { right: 12px; }

/* ── Raw specs table (single vehicle) ─────────────────────────────────────── */
.avtonet-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 15px;
}
.avtonet-specs-table caption {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    padding: 10px 0 8px;
    color: #222;
    border-bottom: 2px solid #9b1c1c;
    margin-bottom: 4px;
    caption-side: top;
}
.avtonet-specs-table tr:nth-child(even) { background: #f9f9f9; }
.avtonet-specs-table td {
    padding: 9px 14px;
    border-bottom: 1px solid #eee;
    color: #333;
}
.avtonet-specs-table td:first-child {
    width: 40%;
    color: #555;
    font-weight: 500;
}
.avtonet-specs-table td:last-child { font-weight: 600; }

/* ── Categorized equipment section ────────────────────────────────────────── */
.avtonet-equipment-section {
    margin: 30px 0;
}
.avtonet-equipment-section h3.equip-main-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    border-bottom: 2px solid #9b1c1c;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.equip-category {
    margin-bottom: 18px;
}
.equip-category h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9b1c1c;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #eee;
}
.equip-category ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 4px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.equip-category ul li {
    font-size: 13px;
    color: #444;
    padding: 3px 0 3px 14px;
    position: relative;
}
.equip-category ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9b1c1c;
    font-weight: 700;
    font-size: 11px;
}

/* ── Flat equipment list fallback ─────────────────────────────────────────── */
.avtonet-flat-equip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 4px 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}
.avtonet-flat-equip li {
    font-size: 13px;
    color: #444;
    padding: 3px 0 3px 14px;
    position: relative;
}
.avtonet-flat-equip li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9b1c1c;
    font-weight: 700;
    font-size: 11px;
}

@media (max-width: 600px) {
    .equip-category ul,
    .avtonet-flat-equip { grid-template-columns: 1fr; }
    .split-slide-arrow { display: none; }
    .home-split-section.reverse-layout .split-image-slideshow {
        margin: 0 !important;
    }
}