/* --- Scrolling Offer Banner --- */
.offer-banner {
    position: fixed;
    top: 65px; /* Positioned just below the main header */
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #525252, #3a3a3a);
    color: #ffffff;
    z-index: 999; /* Below header (1000) but above page content */
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: top 0.4s ease-in-out;
}

.offer-banner.hidden {
    top: -100px; /* Animate it off-screen */
}

.offer-text-container {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
}

.offer-text {
    display: inline-block;
    padding-left: 100%; /* Start the text off-screen to the right */
    animation: scroll-left 25s linear infinite;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.offer-text span {
    padding: 0 2rem; /* Spacing between repeated text blocks */
}

.close-offer-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 1.5rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.close-offer-btn:hover {
    color: #d3d3d3;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}