.announcement-bar {
    background: linear-gradient(90deg, #b071eb 0%, #7cb3ec 100%);
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1002;
    max-width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: announcementTicker 30s linear infinite;
    will-change: transform;
}

.announcement-item {
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.announcement-dot {
    width: 4px;
    height: 4px;
    background-color: #f59e0b; /* VoltMart theme color */
    border-radius: 50%;
    margin: 0 20px;
    flex-shrink: 0;
}

@keyframes announcementTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Modal and Overlay styles - starting from the top as the header scrolls away */
.mobile-menu,
.mobile-menu-overlay,
.search-modal-overlay,
.search-modal {
    top: 0 !important;
    z-index: 2500 !important;
}

.desktop-menu-overlay {
    top: 0 !important;
    z-index: 1050 !important;
}

.nav-dropdown-panel {
    top: 1rem !important;
    z-index: 1060 !important;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .announcement-bar {
        height: 34px;
        font-size: 11px;
    }

    .announcement-track {
        animation-duration: 20s;
    }
}
