/* ==========================================================================
   ShopTec Indian Festive Season Theme (Diya & Flower Garland Edition)
   Diwali, Navratri & Auspicious Festive Celebration
   ========================================================================== */

:root {
    --festive-gold: #F59E0B;
    --festive-gold-light: #FDE68A;
    --festive-amber: #D97706;
    --festive-orange: #EA580C;
    --festive-maroon: #702082;
    --festive-glow: rgba(245, 158, 11, 0.45);
}

/* ==========================================================================
   1. TOP MARIGOLD & MANGO LEAF TORAN (फूलों की लड़ी / तोरण)
   ========================================================================== */
.shoptec-festive-toran {
    position: relative;
    width: 100%;
    height: 38px;
    background-image: url('../image/festive/toran-garland.svg');
    background-repeat: repeat-x;
    background-position: top center;
    background-size: 160px 38px;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.18));
    z-index: 1045;
    pointer-events: none;
    margin-bottom: -10px;
    animation: toranGentleSway 4s ease-in-out infinite alternate;
}

@keyframes toranGentleSway {
    0% { transform: translateY(0); }
    50% { transform: translateY(1.5px); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    .shoptec-festive-toran {
        height: 28px;
        background-size: 120px 28px;
        margin-bottom: -6px;
    }
}

/* ==========================================================================
   2. FESTIVE GREETINGS & ANNOUNCEMENT BANNER (शुभ दीपावली एवं त्योहारी बधाई)
   ========================================================================== */
.shoptec-festive-banner {
    position: relative;
    background: linear-gradient(90deg, #3b0764 0%, #702082 18%, #9a3412 50%, #702082 82%, #3b0764 100%);
    color: #ffffff;
    border-bottom: 2px solid #F59E0B;
    box-shadow: 0 2px 10px rgba(112, 32, 130, 0.25);
    overflow: hidden;
    z-index: 1044;
}

.shoptec-festive-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 240, 138, 0.22), transparent);
    animation: bannerGoldShimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bannerGoldShimmer {
    0% { left: -100%; }
    50%, 100% { left: 160%; }
}

.festive-banner-container {
    width: 95%;
    max-width: 1620px;
    margin: 0 auto;
    padding: 6px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-sizing: border-box;
}

.festive-diya-unit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6));
}

.festive-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.festive-highlight-badge {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #451a03;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.festive-main-text {
    color: #FEF3C7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.festive-sub-text {
    color: #FDE68A;
    font-weight: 500;
}

.festive-cta-link {
    background: rgba(254, 243, 199, 0.18);
    color: #FFFFFF !important;
    border: 1px solid #FCD34D;
    padding: 2px 10px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.festive-cta-link:hover {
    background: #F59E0B;
    color: #451a03 !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .festive-banner-container {
        padding: 5px 10px;
        gap: 8px;
    }
    .festive-diya-unit {
        width: 28px;
        height: 24px;
    }
    .festive-banner-content {
        font-size: 12px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .festive-sub-text {
        display: none;
    }
}

/* ==========================================
   3. ANIMATED DIYA STYLING & FLICKER EFFECT
   ========================================== */
.shoptec-diya-svg {
    overflow: visible;
}

.diya-flame-group {
    animation: diyaFlameFlicker 1.8s ease-in-out infinite alternate;
    transform-origin: 50px 36px;
}

.diya-glow-pulse {
    animation: diyaGlowPulse 2.4s ease-in-out infinite alternate;
    transform-origin: 50px 24px;
}

@keyframes diyaFlameFlicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    20% {
        transform: scale(1.06, 0.94) rotate(-2deg);
        filter: brightness(1.1);
    }
    40% {
        transform: scale(0.96, 1.05) rotate(1.5deg);
        filter: brightness(0.95);
    }
    60% {
        transform: scale(1.04, 0.96) rotate(-1deg);
        filter: brightness(1.08);
    }
    80% {
        transform: scale(0.98, 1.02) rotate(1deg);
        filter: brightness(1);
    }
}

@keyframes diyaGlowPulse {
    0% {
        opacity: 0.6;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.12);
    }
    100% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* ==========================================
   4. BRAND LOGO FESTIVE EMBLEM
   ========================================== */
.shoptec-brand-logo {
    position: relative;
}

.shoptec-logo-festive-badge {
    position: absolute;
    bottom: -8px;
    right: -12px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, #F59E0B, #EA580C);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
    letter-spacing: 0.3px;
    border: 1px solid #FEF08A;
    pointer-events: none;
    animation: festiveBadgePulse 2.5s infinite;
}

@keyframes festiveBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 10px rgba(245, 158, 11, 0.7); }
}

/* Header Microbar Festive Accents */
.shoptec-top-microbar {
    border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.shoptec-top-microbar .micro-badge {
    background: rgba(245, 158, 11, 0.25) !important;
    color: #FCD34D !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

/* Top Deals Link Golden Pulse */
.shoptec-deals-link {
    background: linear-gradient(135deg, #EA580C, #D97706) !important;
    border: 1px solid #FDE68A !important;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.45) !important;
    color: #ffffff !important;
}

/* ==========================================
   5. FLOATING FLOWER PETALS & SPARKLES FX
   ========================================== */
#festivePetalsContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    pointer-events: none !important;
    z-index: 9998;
    overflow: hidden;
}

.festive-petal {
    position: absolute;
    top: -50px;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.festive-petal-inner {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.petal-orange {
    background-image: url('../image/festive/marigold-petal-orange.svg');
}

.petal-yellow {
    background-image: url('../image/festive/marigold-petal-yellow.svg');
}

.petal-sparkle {
    color: #F59E0B;
    font-size: 16px;
    text-shadow: 0 0 6px #FDE047;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Petal Falling Animation */
@keyframes petalFallAnim {
    0% {
        transform: translateY(-40px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.85;
    }
    90% {
        opacity: 0.85;
    }
    100% {
        transform: translateY(105vh) translateX(70px) rotate(380deg);
        opacity: 0;
    }
}

/* Floating FX Toggle Pill Button - Hidden by user preference */
.festive-fx-toggle-btn {
    display: none !important;
}

/* ==========================================
   6. FESTIVE FOOTER BLESSING & DIYA ACCENTS
   ========================================== */
.shoptec-festive-footer-banner {
    background: linear-gradient(135deg, #2e0854, #702082 50%, #451a03);
    border-top: 2px solid #F59E0B;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    padding: 16px 20px;
    text-align: center;
    color: #ffffff;
    margin-top: 15px;
}

.festive-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.festive-footer-diya {
    width: 44px;
    height: 36px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.6));
}

.festive-footer-text h5 {
    color: #FEF08A;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.festive-footer-text p {
    color: #FDE68A;
    font-size: 12.5px;
    margin-bottom: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .festive-footer-inner {
        gap: 10px;
    }
    .festive-footer-diya {
        width: 32px;
        height: 26px;
    }
    .festive-footer-text h5 {
        font-size: 13.5px;
    }
    .festive-footer-text p {
        font-size: 11px;
    }
}

/* ==========================================
   7. FESTIVE HIGHLIGHTS ON HOMEPAGE ELEMENTS
   ========================================== */
.categories-card:hover {
    border-color: #F59E0B !important;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.22) !important;
}

