/* Christmas Sale - Fixed Top Banner Styles */

.christmas-sale-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px 20px;
    z-index: 9998;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: slideDownBanner 0.4s ease-out;
}

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

.christmas-sale-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.christmas-sale-banner p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

.christmas-sale-banner-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.christmas-sale-banner-close:hover {
    opacity: 1;
}

.christmas-sale-banner-close span {
    display: block;
}

/* Adjust body padding when banner is visible */
body.christmas-sale-banner-active {
    padding-top: 50px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .christmas-sale-banner {
        padding: 10px 15px;
    }

    .christmas-sale-banner p {
        font-size: 12px;
    }

    .christmas-sale-banner-close {
        font-size: 24px;
    }

    body.christmas-sale-banner-active {
        padding-top: 45px;
    }
}

@media (max-width: 480px) {
    .christmas-sale-banner {
        padding: 8px 10px;
    }

    .christmas-sale-banner p {
        font-size: 11px;
    }

    .christmas-sale-banner-close {
        font-size: 20px;
    }

    body.christmas-sale-banner-active {
        padding-top: 40px;
    }
}

/* Hidden state for banner */
.christmas-sale-banner.hidden {
    display: none !important;
}
