/* ============================================
   ফ্ল্যাশ সেল হিরো সেকশন - প্রাইমারী কালার থিম
    ============================================  */
.flash-sale-hero {
    background   : linear-gradient(135deg, var(--primary, #017e3d), var(--primary-dark, #00632f));
    padding      : 15px 10px;
    border-radius: 16px;
    margin-bottom: 30px;
    color        : white;
    text-align   : center;
    position     : relative;
    overflow     : hidden;
}

/* ব্যাকগ্রাউন্ড ডেকোরেশন */
.flash-sale-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.flash-sale-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.flash-sale-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* আইকন */
.flash-sale-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: inline-block;
    animation: flash-icon 2s ease-in-out infinite;
}

@keyframes flash-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* টাইটেল */
.flash-sale-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.flash-sale-title span {
    color: #ffd700;
    position: relative;
}

.flash-sale-title span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffd700;
    border-radius: 2px;
}

/* সাবটাইটেল */
.flash-sale-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* ============================================
   ফ্ল্যাশ সেল টাইমার - প্রাইমারী থিম
   ============================================ */
.flash-sale-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.timer-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 22px;
    border-radius: 12px;
    min-width: 75px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.timer-box:hover {
    transform: translateY(-2px);
}

.timer-box span {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.timer-box small {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   অফার ব্যাজ
   ============================================ */
.flash-sale-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #ffd700;
}

.flash-sale-offer-badge i {
    font-size: 14px;
}

/* ============================================
   ফ্ল্যাশ সেল কার্ড - প্রাইমারী থিম
   ============================================ */
.flash-sale-card {
    border: 2px solid var(--primary, #017e3d);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flash-sale-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(1, 126, 61, 0.25);
}

/* ফ্ল্যাশ ব্যাজ - প্রাইমারী */
.flash-sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary, #017e3d);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 3;
    animation: pulse-badge 1.5s infinite;
}

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

/* ফ্ল্যাশ প্রাইস - প্রাইমারী */
.flash-price {
    color: var(--primary, #017e3d);
    font-size: 20px;
}

/* ফ্ল্যাশ কার্ট বাটন - প্রাইমারী */
.flash-cart-btn {
    background: var(--primary, #017e3d) !important;
    border: none !important;
}

.flash-cart-btn:hover {
    background: var(--primary-dark, #00632f) !important;
    transform: translateY(-2px);
}

/* স্টক বার - প্রাইমারী */
.stock-bar-fill {
    height: 100%;
    background: var(--primary, #017e3d);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* ============================================
   রেসপন্সিভ
   ============================================ */
@media (max-width: 768px) {
    .flash-sale-hero {
        padding: 30px 16px;
    }

    .flash-sale-title {
        font-size: 28px;
    }

    .flash-sale-subtitle {
        font-size: 14px;
    }

    .flash-sale-timer {
        gap: 8px;
    }

    .timer-box {
        padding: 8px 14px;
        min-width: 55px;
    }

    .timer-box span {
        font-size: 22px;
    }

    .flash-sale-icon {
        font-size: 32px;
    }

    .flash-sale-offer-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .flash-sale-title {
        font-size: 22px;
    }

    .flash-sale-timer {
        gap: 6px;
    }

    .timer-box {
        padding: 6px 10px;
        min-width: 45px;
    }

    .timer-box span {
        font-size: 18px;
    }

    .timer-box small {
        font-size: 9px;
    }

    .flash-price {
        font-size: 16px;
    }
}
