/* Бегущая строка под шапкой: чёрное на белом, в палитре сайта */
.notice-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--line, #e5e5e5);
    overflow: hidden;
    position: relative;
}

/* Тонкая лаймовая линия слева — акцент бренда, не отвлекая от текста */
.notice-bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent, #b5d335);
    z-index: 1;
}

.notice-track {
    display: flex;
    width: max-content;
    animation: notice-scroll 48s linear infinite;
}

.notice-text {
    display: inline-block;
    padding: 11px 72px 11px 0;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink, #080808);
}

.notice-text strong {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 6px;
}

/* Пауза при наведении: длинный текст можно дочитать */
.notice-bar:hover .notice-track,
.notice-bar:focus-within .notice-track {
    animation-play-state: paused;
}

@keyframes notice-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Уважаем настройку «меньше движения»: строку не двигаем, текст переносится */
@media (prefers-reduced-motion: reduce) {
    .notice-track {
        animation: none;
        width: auto;
        display: block;
    }
    .notice-text:last-child { display: none; }
    .notice-text {
        display: block;
        white-space: normal;
        padding: 11px 20px 11px 20px;
    }
}

@media (max-width: 640px) {
    .notice-text { font-size: 13px; padding: 9px 48px 9px 0; }
    .notice-track { animation-duration: 34s; }
}
