/**
 * Base Styles for Seasonal Themes
 * Banner, decorations, and global effects
 */

/* ==========================================
   SEASONAL BANNER (Above header - smaller & narrower)
   ========================================== */
.seasonal-theme-banner {
    position: relative;
    width: 100%;
    padding: 8px 12px;
    margin: 0;
    text-align: center;
    z-index: 10001;
    display: block;
    visibility: visible;
    opacity: 1;
    animation: bannerSlideDown 0.5s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    border-radius: 0;
    backdrop-filter: blur(10px);
    line-height: 1.3;
}

@keyframes bannerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Banner is part of page flow, scrolls with content */

.seasonal-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap;
    margin: 0 auto;
    white-space: nowrap;
}

.seasonal-banner-icon {
    font-size: 14px;
    line-height: 1;
    animation: bounce 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.seasonal-banner-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    flex-shrink: 1;
    min-width: 0;
}

.seasonal-banner-text strong {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.seasonal-banner-text span {
    font-size: 9px;
    opacity: 0.85;
    line-height: 1.2;
}

.seasonal-banner-discount {
    margin-left: 4px;
    flex-shrink: 0;
}

.discount-badge {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    line-height: 1.2;
}

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

/* ==========================================
   FLOATING DECORATIONS - BIGGER & MORE VISIBLE
   ========================================== */
.seasonal-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.seasonal-decorations > div {
    position: absolute;
    font-size: 48px !important;
    animation: float 15s ease-in-out infinite;
    opacity: 0.7 !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.seasonal-decorations > div:nth-child(1) { left: 10%; animation-delay: 0s; }
.seasonal-decorations > div:nth-child(2) { left: 30%; animation-delay: 2s; }
.seasonal-decorations > div:nth-child(3) { left: 50%; animation-delay: 4s; }
.seasonal-decorations > div:nth-child(4) { left: 70%; animation-delay: 6s; }
.seasonal-decorations > div:nth-child(5) { left: 90%; animation-delay: 8s; }
.seasonal-decorations > div:nth-child(6) { left: 20%; animation-delay: 10s; }

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ==========================================
   THEME-SPECIFIC BANNER COLORS
   ========================================== */

/* Christmas */
.seasonal-theme-banner-christmas {
    background: linear-gradient(135deg, #dc143c 0%, #228b22 100%);
    color: white;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

/* Halloween */
.seasonal-theme-banner-halloween {
    background: linear-gradient(135deg, #ff8c00 0%, #8a2be2 100%);
    color: white;
    border-bottom: 3px solid rgba(0, 0, 0, 0.3);
}

/* Easter */
.seasonal-theme-banner-easter {
    background: linear-gradient(135deg, #ffc0cb 0%, #ffb6c1 100%);
    color: #8b008b;
    border-bottom: 3px solid rgba(255, 182, 193, 0.5);
}

/* Valentine */
.seasonal-theme-banner-valentine {
    background: linear-gradient(135deg, #dc143c 0%, #ff1493 100%);
    color: white;
    border-bottom: 3px solid rgba(255, 20, 147, 0.5);
}

/* Summer */
.seasonal-theme-banner-summer {
    background: linear-gradient(135deg, #ffa500 0%, #ffd700 100%);
    color: #8b4513;
    border-bottom: 3px solid rgba(255, 215, 0, 0.5);
}

/* New Year */
.seasonal-theme-banner-new-year {
    background: linear-gradient(135deg, #ffd700 0%, #ffffff 100%);
    color: #000;
    border-bottom: 3px solid rgba(255, 215, 0, 0.5);
}

/* St. Patrick */
.seasonal-theme-banner-st-patrick {
    background: linear-gradient(135deg, #008000 0%, #00ff00 100%);
    color: white;
    border-bottom: 3px solid rgba(0, 255, 0, 0.5);
}

/* Thanksgiving */
.seasonal-theme-banner-thanksgiving {
    background: linear-gradient(135deg, #cd853f 0%, #ff8c00 100%);
    color: white;
    border-bottom: 3px solid rgba(255, 140, 0, 0.5);
}

/* Independence Day */
.seasonal-theme-banner-independence-day {
    background: linear-gradient(135deg, #dc143c 0%, #0000ff 100%);
    color: white;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
}

/* Winter */
.seasonal-theme-banner-winter {
    background: linear-gradient(135deg, #b0e0e6 0%, #ffffff 100%);
    color: #1e3a5f;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
}

/* Spring */
.seasonal-theme-banner-spring {
    background: linear-gradient(135deg, #90ee90 0%, #ffc0cb 100%);
    color: #006400;
    border-bottom: 3px solid rgba(255, 192, 203, 0.5);
}

/* Black Friday */
.seasonal-theme-banner-black-friday {
    background: linear-gradient(135deg, #000000 0%, #dc143c 100%);
    color: white;
    border-bottom: 4px solid #ff0000;
    animation: blackFridayFlash 1s ease-in-out infinite;
}

@keyframes blackFridayFlash {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5); }
    50% { box-shadow: 0 4px 30px rgba(255, 0, 0, 0.8); }
}

/* Sale Theme */
.seasonal-theme-banner-sale {
    background: linear-gradient(135deg, #ff0000 0%, #dc143c 100%);
    color: white;
    border-bottom: 4px solid #ffffff;
    animation: saleFlash 1s ease-in-out infinite;
}

@keyframes saleFlash {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 0, 0, 0.6); }
    50% { box-shadow: 0 4px 30px rgba(255, 0, 0, 0.9); }
}

/* ==========================================
   TITLE COLORS BY THEME
   ========================================== */

/* Christmas - Red & Green - ELEGANT */
.seasonal-theme-christmas h1,
.seasonal-theme-christmas h2,
.seasonal-theme-christmas h3,
.seasonal-theme-christmas .section-title {
    color: #dc143c !important;
    text-shadow: 0 0 8px rgba(220, 20, 60, 0.25);
    transition: all 0.3s ease;
}

/* Brand card title - preserve gradient text, only add glow effect */
.seasonal-theme-christmas .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 8px rgba(220, 20, 60, 0.3));
    transition: filter 0.3s ease;
}

.seasonal-theme-christmas .brand-card-title:hover {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 12px rgba(34, 139, 34, 0.4));
}

.seasonal-theme-christmas h2:hover,
.seasonal-theme-christmas h3:hover {
    color: #228b22 !important;
    text-shadow: 0 0 12px rgba(34, 139, 34, 0.4);
}

/* Halloween - Orange & Purple */
.seasonal-theme-halloween h1,
.seasonal-theme-halloween h2,
.seasonal-theme-halloween h3,
.seasonal-theme-halloween .section-title {
    color: #ff8c00 !important;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
}

.seasonal-theme-halloween .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 140, 0, 0.4));
    transition: filter 0.3s ease;
}

.seasonal-theme-halloween .brand-card-title:hover {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 15px rgba(138, 43, 226, 0.5));
}

.seasonal-theme-halloween h2:hover,
.seasonal-theme-halloween h3:hover {
    color: #8a2be2 !important;
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

/* Easter - Pink */
.seasonal-theme-easter h1,
.seasonal-theme-easter h2,
.seasonal-theme-easter h3,
.seasonal-theme-easter .section-title {
    color: #ff69b4 !important;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.seasonal-theme-easter .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 105, 180, 0.3));
}

/* Valentine - Red & Pink */
.seasonal-theme-valentine h1,
.seasonal-theme-valentine h2,
.seasonal-theme-valentine h3,
.seasonal-theme-valentine .section-title {
    color: #dc143c !important;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.4);
}

.seasonal-theme-valentine .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(220, 20, 60, 0.4));
    transition: filter 0.3s ease;
}

.seasonal-theme-valentine .brand-card-title:hover {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 15px rgba(255, 20, 147, 0.5));
}

.seasonal-theme-valentine h2:hover,
.seasonal-theme-valentine h3:hover {
    color: #ff1493 !important;
    text-shadow: 0 0 15px rgba(255, 20, 147, 0.5);
}

/* Summer - Orange & Gold */
.seasonal-theme-summer h1,
.seasonal-theme-summer h2,
.seasonal-theme-summer h3,
.seasonal-theme-summer .section-title {
    color: #ffa500 !important;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.4);
}

.seasonal-theme-summer .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 165, 0, 0.4));
    transition: filter 0.3s ease;
}

.seasonal-theme-summer .brand-card-title:hover {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.seasonal-theme-summer h2:hover,
.seasonal-theme-summer h3:hover {
    color: #ffd700 !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* New Year - Gold */
.seasonal-theme-new-year h1,
.seasonal-theme-new-year h2,
.seasonal-theme-new-year h3,
.seasonal-theme-new-year .section-title {
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.seasonal-theme-new-year .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

/* St. Patrick - Green */
.seasonal-theme-st-patrick h1,
.seasonal-theme-st-patrick h2,
.seasonal-theme-st-patrick h3,
.seasonal-theme-st-patrick .section-title {
    color: #00ff00 !important;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.seasonal-theme-st-patrick .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(0, 255, 0, 0.4));
}

/* Thanksgiving - Orange & Brown */
.seasonal-theme-thanksgiving h1,
.seasonal-theme-thanksgiving h2,
.seasonal-theme-thanksgiving h3,
.seasonal-theme-thanksgiving .section-title {
    color: #ff8c00 !important;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
}

.seasonal-theme-thanksgiving .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 140, 0, 0.4));
}

/* Independence Day - Red, White & Blue */
.seasonal-theme-independence-day h1,
.seasonal-theme-independence-day h2,
.seasonal-theme-independence-day h3,
.seasonal-theme-independence-day .section-title {
    color: #dc143c !important;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.4);
}

.seasonal-theme-independence-day .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(220, 20, 60, 0.4));
    transition: filter 0.3s ease;
}

.seasonal-theme-independence-day .brand-card-title:hover {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 15px rgba(0, 0, 255, 0.5));
}

.seasonal-theme-independence-day h2:hover,
.seasonal-theme-independence-day h3:hover {
    color: #0000ff !important;
    text-shadow: 0 0 15px rgba(0, 0, 255, 0.5);
}

/* Winter - Light Blue */
.seasonal-theme-winter h1,
.seasonal-theme-winter h2,
.seasonal-theme-winter h3,
.seasonal-theme-winter .section-title {
    color: #b0e0e6 !important;
    text-shadow: 0 0 10px rgba(176, 224, 230, 0.4);
}

.seasonal-theme-winter .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(176, 224, 230, 0.4));
}

/* Spring - Green & Pink */
.seasonal-theme-spring h1,
.seasonal-theme-spring h2,
.seasonal-theme-spring h3,
.seasonal-theme-spring .section-title {
    color: #90ee90 !important;
    text-shadow: 0 0 10px rgba(144, 238, 144, 0.4);
}

.seasonal-theme-spring .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(144, 238, 144, 0.4));
    transition: filter 0.3s ease;
}

.seasonal-theme-spring .brand-card-title:hover {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 15px rgba(255, 192, 203, 0.5));
}

.seasonal-theme-spring h2:hover,
.seasonal-theme-spring h3:hover {
    color: #ffc0cb !important;
    text-shadow: 0 0 15px rgba(255, 192, 203, 0.5);
}

/* Black Friday - Red */
.seasonal-theme-black-friday h1,
.seasonal-theme-black-friday h2,
.seasonal-theme-black-friday h3,
.seasonal-theme-black-friday .section-title {
    color: #ff0000 !important;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6),
                 0 0 25px rgba(255, 0, 0, 0.4);
}

.seasonal-theme-black-friday .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 15px rgba(255, 0, 0, 0.6)) drop-shadow(0 0 25px rgba(255, 0, 0, 0.4));
}

/* Sale Theme - Intense Red */
.seasonal-theme-sale h1,
.seasonal-theme-sale h2,
.seasonal-theme-sale h3,
.seasonal-theme-sale .section-title {
    color: #ff0000 !important;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.7),
                 0 0 30px rgba(255, 0, 0, 0.5);
    animation: titlePulse 2s ease-in-out infinite;
}

.seasonal-theme-sale .brand-card-title {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 15px rgba(255, 0, 0, 0.7)) drop-shadow(0 0 30px rgba(255, 0, 0, 0.5));
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 15px rgba(255, 0, 0, 0.7); }
    50% { text-shadow: 0 0 20px rgba(255, 0, 0, 0.9); }
}

/* ==========================================
   SALE BADGES ON BRAND CARDS
   ========================================== */

/* Ensure brand cards have relative positioning for badges - only if not already set */
body.seasonal-theme .brand-card {
    position: relative !important;
}

/* Ensure brand cards and boxes have relative positioning and overflow visible */
body.seasonal-theme .brand-card,
body.seasonal-theme .glass-box,
body.seasonal-theme .related-brand-card,
body.seasonal-theme .brand-page-wrapper,
body.seasonal-theme .brand-page-content {
    position: relative;
    overflow: visible;
}

/* Ensure wrapper and container don't clip content */
body.seasonal-theme .brand-page-wrapper {
    overflow: visible;
}

body.seasonal-theme .brand-page-container {
    overflow: visible;
}

/* SALE BADGE for discount themes - positioned on LEFT with theme colors */
/* Only on brand cards (homepage and archive), NOT on single brand page */
body.seasonal-theme-christmas .brand-card::before,
body.seasonal-theme-christmas .related-brand-card::before {
    content: 'SALE';
    position: absolute;
    top: -12px;
    left: 20px;
    right: auto;
    background: linear-gradient(135deg, #dc143c 0%, #228b22 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.5);
    animation: saleBadgePulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hide badge on single brand page */
body.seasonal-theme-christmas .brand-page-content::before {
    display: none;
}

body.seasonal-theme-new-year .brand-card::before,
body.seasonal-theme-new-year .related-brand-card::before {
    content: 'SALE';
    position: absolute;
    top: -12px;
    left: 20px;
    right: auto;
    background: linear-gradient(135deg, #ffd700 0%, #ffffff 100%);
    color: #000000;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
    animation: saleBadgePulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hide badge on single brand page */
body.seasonal-theme-new-year .brand-page-content::before {
    display: none;
}

body.seasonal-theme-valentine .brand-card::before,
body.seasonal-theme-valentine .related-brand-card::before {
    content: 'SALE';
    position: absolute;
    top: -12px;
    left: 20px;
    right: auto;
    background: linear-gradient(135deg, #dc143c 0%, #ff1493 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.5);
    animation: saleBadgePulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hide badge on single brand page */
body.seasonal-theme-valentine .brand-page-content::before {
    display: none;
}

body.seasonal-theme-summer .brand-card::before,
body.seasonal-theme-summer .related-brand-card::before {
    content: 'SALE';
    position: absolute;
    top: -12px;
    left: 20px;
    right: auto;
    background: linear-gradient(135deg, #ffa500 0%, #ffd700 100%);
    color: #8b4513;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.6);
    animation: saleBadgePulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hide badge on single brand page */
body.seasonal-theme-summer .brand-page-content::before {
    display: none;
}

body.seasonal-theme-thanksgiving .brand-card::before,
body.seasonal-theme-thanksgiving .related-brand-card::before {
    content: 'SALE';
    position: absolute;
    top: -12px;
    left: 20px;
    right: auto;
    background: linear-gradient(135deg, #cd853f 0%, #ff8c00 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(205, 133, 63, 0.6);
    animation: saleBadgePulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hide badge on single brand page */
body.seasonal-theme-thanksgiving .brand-page-content::before {
    display: none;
}

body.seasonal-theme-easter .brand-card::before,
body.seasonal-theme-easter .related-brand-card::before {
    content: 'SALE';
    position: absolute;
    top: -12px;
    left: 20px;
    right: auto;
    background: linear-gradient(135deg, #ffc0cb 0%, #ffb6c1 100%);
    color: #8b008b;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 192, 203, 0.6);
    animation: saleBadgePulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hide badge on single brand page */
body.seasonal-theme-easter .brand-page-content::before {
    display: none;
}

@keyframes saleBadgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(255, 0, 0, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 6px 16px rgba(255, 0, 0, 0.7); }
}

/* BIG SALE BADGE for Sale theme - positioned on LEFT */
/* Only on brand cards (homepage and archive), NOT on single brand page */
body.seasonal-theme-sale .brand-card::before,
body.seasonal-theme-sale .related-brand-card::before {
    content: 'SALE';
    position: absolute;
    top: -20px;
    left: 15px;
    right: auto;
    background: linear-gradient(135deg, #ff0000 0%, #dc143c 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.7),
                0 0 30px rgba(255, 0, 0, 0.4);
    animation: bigSaleBadgePulse 1.5s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

/* Hide badge on single brand page */
body.seasonal-theme-sale .brand-page-content::before {
    display: none;
}

@keyframes bigSaleBadgePulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        box-shadow: 0 6px 20px rgba(255, 0, 0, 0.7),
                    0 0 30px rgba(255, 0, 0, 0.4);
    }
    50% { 
        transform: scale(1.1) rotate(2deg); 
        box-shadow: 0 8px 25px rgba(255, 0, 0, 0.9),
                    0 0 40px rgba(255, 0, 0, 0.6);
    }
}

/* Banner positioning above header - no space above */
body.seasonal-theme {
    padding-top: 0;
    margin-top: 0;
}

body.seasonal-theme.has-seasonal-banner {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.seasonal-theme-banner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Remove any space before banner */
body > .seasonal-theme-banner:first-child,
body > *:first-child .seasonal-theme-banner {
    margin-top: 0 !important;
}

body.seasonal-theme.has-seasonal-banner .site-header {
    margin-top: 0;
    position: relative;
}

body.seasonal-theme.has-seasonal-banner .site-header .header-container {
    position: relative;
}

/* Banner scrolls with page, no fixed positioning */

body.seasonal-theme.has-seasonal-banner:not(.admin-bar) .site-header {
    margin-top: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body.seasonal-theme.has-seasonal-banner {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    body.seasonal-theme.has-seasonal-banner.admin-bar {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .seasonal-theme-banner {
        width: 100% !important;
        padding: 6px 10px !important;
        position: relative !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* Remove any space before banner on mobile */
    body > .seasonal-theme-banner:first-child,
    body > *:first-child .seasonal-theme-banner {
        margin-top: 0 !important;
        padding-top: 6px !important;
    }
    
    .seasonal-banner-content {
        gap: 4px;
    }
    
    .seasonal-banner-text strong {
        font-size: 9px;
    }
    
    .seasonal-banner-text span {
        font-size: 7px;
    }
    
    .discount-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .seasonal-banner-icon {
        font-size: 12px;
    }
    
    body.seasonal-theme.has-seasonal-banner:not(.admin-bar) .site-header {
        margin-top: -2px;
    }
    
    body.seasonal-theme.has-seasonal-banner.admin-bar .site-header {
        margin-top: 0;
    }
    
    body.seasonal-theme-sale .brand-card::before {
        font-size: 14px;
        padding: 10px 18px;
        top: -15px;
    }
}
