.store-announcement {
    --store-announcement-bg: #000;
    display: flex;
    align-items: center;
    direction: ltr;
    justify-content: flex-start;
    width: 100%;
    height: 36px;
    overflow: hidden;
    background: var(--store-announcement-bg);
    color: #fff;
    box-shadow: inset 0 -1px #ffffff20;
}

.store-announcement-track {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    width: max-content;
    min-width: max-content;
    direction: ltr;
    animation: store-announcement-marquee 28s linear infinite;
    will-change: transform;
}

.store-announcement-panel {
    flex-shrink: 0;
    height: 34px;
    margin-bottom: 12px;
}

.store-announcement-group {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    direction: rtl;
    width: max-content;
}

.store-announcement-phrase {
    display: inline-flex;
    flex: 0 0 auto;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    direction: rtl;
    unicode-bidi: plaintext;
}

.store-announcement-separator {
    flex: 0 0 auto;
    padding-inline: 2.5ch;
    color: #ffffffb8;
    font-size: 12px;
    line-height: 1;
    direction: ltr;
    unicode-bidi: isolate;
}

@keyframes store-announcement-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-25%); }
}

@media (max-width: 768px) {
    .mobile-catalog-theme .store-announcement-desktop { display: none; }
    .store-announcement-mobile { width: calc(100% + 32px); height: 34px; margin: 0 -16px 12px; }
    .store-announcement-phrase { font-size: 12px; }
    .store-announcement-separator { font-size: 11px; }
}

@media (min-width: 769px) {
    .mobile-catalog-theme .store-announcement-mobile { display: none; }
}
