/* ========================================== */
/* RECENTLY ADDED SECTION */
/* ========================================== */

/* Sezione aggiunte di recente */
.recently-added-section {
    margin: 60px auto 80px auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #2A2A2A, #1F1F1F);
    max-width: 1200px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.recently-added-title {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.recently-added-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #D93829, #F25252);
    border-radius: 2px;
}

.recently-added-title .highlight {
    color: #D93829;
    text-shadow: 0 2px 4px rgba(217, 56, 41, 0.3);
}

/* Grid per le auto aggiunte di recente */
.recently-added-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 350px);
    gap: 30px;
    justify-content: center;
}

/* Tag "Novità" */
.recently-added-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #D93829, #F25252);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(217, 56, 41, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Messaggio quando non ci sono novità */
.no-recently-added {
    text-align: center;
    color: #CCCCCC;
    font-style: italic;
    font-size: 1.1rem;
    margin: 40px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px dashed rgba(255,255,255,0.2);
}

/* Le card usano gli stili standard con dimensioni FISSE identiche */
.recently-added-section .car-card {
    width: 100%;
    max-width: 350px;
    min-width: 280px;
    border: none !important;
}

/* Tag "Novità" nel modal dei dettagli */
.car-detail-recently-added-tag {
    display: inline-block;
    background: linear-gradient(135deg, #D93829, #F25252);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(217, 56, 41, 0.4);
}
