/* Festive Season Banner Styles */
.festive-banner {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 16px;
    color: white;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.festive-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.festive-banner-content {
    position: relative;
    z-index: 2;
}

.festive-banner h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.festive-banner p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.festive-banner .btn-shop {
    background: white;
    color: #8B5CF6;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.festive-banner .btn-shop:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #8B5CF6;
}

/* Flash Sale Section Styles */
.flash-sale-section {
    margin: 50px 0;
    padding: 0 15px;
}

.flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.flash-sale-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-sale-title h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.flash-sale-badge {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.flash-sale-timer {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ef4444;
    font-weight: 600;
}

.timer-text {
    font-size: 0.9rem;
}

.countdown {
    display: flex;
    gap: 8px;
}

.countdown-item {
    background: #ef4444;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 45px;
}

.countdown-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.countdown-label {
    display: block;
    font-size: 0.7rem;
    opacity: 0.9;
}

.view-all-flash {
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.view-all-flash:hover {
    text-decoration: underline;
}

/* Flash Sale Product Grid */
.flash-sale-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.flash-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f3f4f6;
}

.flash-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.flash-product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.flash-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flash-product-card:hover .flash-product-image img {
    transform: scale(1.05);
}

.flash-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.flash-product-info {
    padding: 20px;
}

.flash-product-brand {
    color: #6b7280;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.flash-product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flash-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.flash-current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ef4444;
}

.flash-original-price {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.flash-product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.flash-stars {
    display: flex;
    gap: 2px;
}

.flash-star {
    color: #fbbf24;
    font-size: 0.9rem;
}

.flash-rating-text {
    font-size: 0.8rem;
    color: #6b7280;
}

.flash-product-specs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.flash-spec-item {
    background: #f3f4f6;
    color: #4b5563;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.flash-product-actions {
    display: flex;
    gap: 10px;
}

.flash-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.flash-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.flash-btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
}

.flash-btn-secondary {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.flash-btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Responsive Design */
@media (max-width: 768px) {
    .festive-banner {
        padding: 30px 20px;
        text-align: center;
    }
    
    .festive-banner h2 {
        font-size: 2rem;
    }
    
    .flash-sale-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .flash-sale-timer {
        align-self: stretch;
        justify-content: center;
    }
    
    .flash-sale-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 40px;
        padding: 6px 10px;
    }
    
    .countdown-number {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .festive-banner h2 {
        font-size: 1.8rem;
    }
    
    .flash-sale-grid {
        grid-template-columns: 1fr;
    }
    
    .flash-product-actions {
        flex-direction: column;
    }
}