/* CSS Override per Offerte del Momento - Stili forzati per visibilità immediata */

/* Forza il nuovo stile della sezione offerte */
.hot-deals {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

.hot-deals::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%) !important;
    pointer-events: none !important;
}

/* Stile migliorato per il titolo */
.hot-deals h2 {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9, #f59e0b) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    position: relative !important;
}

.hot-deals h2::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 4px !important;
    background: linear-gradient(135deg, #3b82f6, #0ea5e9) !important;
    border-radius: 2px !important;
}

/* Forza il nuovo design delle card offerte - COMPATTE */
.offer-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 3px 8px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    max-height: 500px !important;
    height: auto !important;
}

.offer-card:hover {
    transform: translateY(-15px) scale(1.03) !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    border-color: #3b82f6 !important;
}

/* Badge migliorato */
.offer-badge {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    background: linear-gradient(135deg, #dc2626, #ef4444) !important;
    color: white !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4) !important;
    animation: pulse 2s ease-in-out infinite !important;
}

/* Sezione immagine - RIDOTTA */
.offer-image {
    position: relative !important;
    height: 140px !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #3b82f6, #0ea5e9) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.offer-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
}

.offer-card:hover .offer-image img {
    transform: scale(1.1) !important;
}

/* RIMOSSO: elementi overlay che occupano troppo spazio */
.offer-fallback {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 2.5rem !important;
    color: white !important;
    z-index: 2 !important;
}

.offer-overlay {
    display: none !important; /* NASCOSTO per risparmiare spazio */
}

.offer-destination {
    display: none !important; /* NASCOSTO per risparmiare spazio */
}

/* Contenuto della card - COMPATTO */
.offer-content {
    padding: 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    gap: 0.75rem !important;
}

.offer-content h3 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.2 !important;
}

/* Griglia info offerta - ULTRA COMPATTA */
.offer-info-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.4rem !important;
    margin-bottom: 0.75rem !important;
}

.offer-duration,
.offer-dates,
.offer-includes,
.offer-departure {
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    font-size: 0.75rem !important;
    color: #475569 !important;
    font-weight: 500 !important;
    padding: 0.3rem 0.5rem !important;
    background: rgba(59, 130, 246, 0.05) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
}

.offer-duration .icon,
.offer-dates .icon,
.offer-includes .icon,
.offer-departure .icon {
    font-size: 0.8rem !important;
}

/* Descrizione - RIDOTTA */
.offer-description p {
    color: #64748b !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.85rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Highlights - COMPATTI */
.offer-highlights {
    display: flex !important;
    gap: 0.25rem !important;
    flex-wrap: wrap !important;
    margin-bottom: 0.75rem !important;
}

.highlight {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5) !important;
    color: #065f46 !important;
    padding: 0.2rem 0.5rem !important;
    border-radius: 4px !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    border: 1px solid #10b981 !important;
}

.offer-card:hover .highlight {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
}

/* Sezione prezzi - COMPATTA */
.offer-pricing {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0) !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    margin-bottom: 0.75rem !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
}

/* RIMOSSO: effetti complessi per risparmiare spazio */
.price-section {
    position: relative !important;
    z-index: 1 !important;
}

.old-price {
    font-size: 0.9rem !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    display: inline-block !important;
    margin-right: 0.5rem !important;
    font-weight: 500 !important;
}

.current-price {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #dc2626 !important;
    display: inline-block !important;
    margin-right: 0.5rem !important;
}

.price-note {
    font-size: 0.8rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    display: block !important;
    margin-top: 0.25rem !important;
}

.savings-badge {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    color: white !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 0.7rem !important;
    margin-top: 0.5rem !important;
    display: inline-block !important;
}

/* Pulsante CTA - COMPATTO */
.offer-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.8rem 1.5rem !important;
    background: linear-gradient(135deg, #3b82f6, #0ea5e9) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    margin-top: auto !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

.offer-cta::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
    transition: left 0.6s ease !important;
}

.offer-cta:hover::before {
    left: 100% !important;
}

.offer-cta:hover {
    transform: translateY(-3px) !important;
    background-position: 100% 100% !important;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.cta-arrow {
    transition: transform 0.3s ease !important;
    font-size: 1rem !important;
}

.offer-cta:hover .cta-arrow {
    transform: translateX(4px) !important;
}

/* Grid responsive - COMPATTO */
.deals-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Media queries per mobile - ULTRA COMPATTE */
@media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .offer-card {
        max-height: 400px !important;
    }
    
    .offer-image {
        height: 120px !important;
    }
    
    .offer-content {
        padding: 1rem !important;
        gap: 0.5rem !important;
    }
    
    .offer-content h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .offer-info-grid {
        grid-template-columns: 1fr !important;
        gap: 0.3rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .offer-duration,
    .offer-dates,
    .offer-includes,
    .offer-departure {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.4rem !important;
    }
    
    .current-price {
        font-size: 1.6rem !important;
    }
    
    .offer-cta {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.85rem !important;
    }
    
    .offer-pricing {
        padding: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .offer-card {
        max-height: 350px !important;
    }
    
    .offer-image {
        height: 100px !important;
    }
    
    .offer-content {
        padding: 0.75rem !important;
        gap: 0.4rem !important;
    }
    
    .offer-content h3 {
        font-size: 1rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .offer-description p {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 1 !important;
        line-clamp: 1 !important;
    }
    
    .highlight {
        font-size: 0.6rem !important;
        padding: 0.15rem 0.4rem !important;
    }
    
    .current-price {
        font-size: 1.4rem !important;
    }
    
    .old-price {
        font-size: 0.8rem !important;
    }
    
    .price-note {
        font-size: 0.7rem !important;
    }
    
    .savings-badge {
        font-size: 0.65rem !important;
        padding: 0.2rem 0.5rem !important;
    }
    
    .offer-cta {
        padding: 0.6rem 1rem !important;
        font-size: 0.8rem !important;
    }
    
    .hot-deals h2 {
        font-size: 2rem !important;
    }
    
    .offer-pricing {
        padding: 0.5rem !important;
        margin-bottom: 0.4rem !important;
    }
}