/* ============================================
   CAR CARDS - HORIZONTAL SWIPE
   ============================================ */

.swipe-container {
    position: relative;
    overflow: hidden;
    padding: 0 1.5rem 1.5rem;
}

.swipe-wrapper {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
}

.swipe-wrapper::-webkit-scrollbar {
    display: none;
}

.car-card {
    flex: 0 0 280px;
    height: 340px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.car-card:active {
    transform: scale(0.98);
}

.car-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.9) 100%);
}

.car-card-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
}

.car-card-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 3;
}

.car-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    z-index: 2;
}

.car-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.car-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.car-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Swipe Dots Indicator */
.swipe-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.swipe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glass-border);
    transition: all 0.3s;
}

.swipe-dot.active {
    background: var(--accent-primary);
    width: 24px;
    border-radius: 4px;
}
