.storefront-promotion {
    position: relative;
    z-index: 91;
    min-height: 36px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fdf2ed;
    background: color-mix(in srgb, var(--primary, #d5410f) 9%, var(--surface, #ffffff));
    border-bottom: 1px solid #f2cfc2;
    border-bottom-color: color-mix(in srgb, var(--primary, #d5410f) 22%, var(--border, #eaecef));
    color: var(--foreground, #18181b);
    font-family: var(--app-font, "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif);
}

html[data-theme="dark"] .storefront-promotion,
html[data-theme-effective="dark"] .storefront-promotion,
.force-dark .storefront-promotion {
    background: #21161c;
    background: color-mix(in srgb, var(--gfx-brand-vivid, #ff6933) 14%, var(--surface, #121620));
    border-bottom-color: rgba(255, 105, 51, 0.28);
    border-bottom-color: color-mix(in srgb, var(--gfx-brand-vivid, #ff6933) 28%, var(--border, rgba(160, 180, 220, 0.14)));
    color: var(--foreground, #eef1f7);
}

@media (prefers-color-scheme: dark) {
    html[data-theme="system"]:not([data-theme-effective="light"]) .storefront-promotion {
        background: #21161c;
        background: color-mix(in srgb, var(--gfx-brand-vivid, #ff6933) 14%, var(--surface, #121620));
        border-bottom-color: color-mix(in srgb, var(--gfx-brand-vivid, #ff6933) 28%, var(--border, rgba(160, 180, 220, 0.14)));
        color: var(--foreground, #eef1f7);
    }
}

.storefront-promotion__link,
.storefront-promotion__text {
    display: block;
    width: 100%;
    min-width: 0;
    color: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.005em;
    text-align: center;
    text-decoration: none;
}

.storefront-promotion__link {
    cursor: pointer;
}

.storefront-promotion__viewport {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 8px 16px;
}

.storefront-promotion__message {
    display: flex;
    width: max-content;
    min-width: max-content;
    will-change: transform;
    animation: storefront-promotion-scroll 45s linear infinite;
}

.storefront-promotion__sequence {
    display: flex;
    flex: none;
    width: max-content;
    min-width: 100vw;
    align-items: center;
    justify-content: space-around;
    gap: clamp(48px, 8vw, 140px);
    padding-inline: clamp(24px, 4vw, 70px);
}

.storefront-promotion__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    white-space: nowrap;
}

.storefront-promotion__dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: var(--primary, #d5410f);
    flex-shrink: 0;
}

html[data-theme="dark"] .storefront-promotion__dot,
html[data-theme-effective="dark"] .storefront-promotion__dot,
.force-dark .storefront-promotion__dot {
    background: var(--gfx-brand-vivid, #ff6933);
}

.storefront-promotion[data-promotion-speed="slow"] .storefront-promotion__message { animation-duration: 60s; }
.storefront-promotion[data-promotion-speed="medium"] .storefront-promotion__message { animation-duration: 45s; }
.storefront-promotion[data-promotion-speed="fast"] .storefront-promotion__message { animation-duration: 30s; }

.storefront-promotion__link:hover,
.storefront-promotion__link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.storefront-promotion:hover .storefront-promotion__message,
.storefront-promotion:focus-within .storefront-promotion__message {
    animation-play-state: paused;
}

.storefront-promotion__link:focus-visible {
    outline: 2px solid var(--primary, #d5410f);
    outline-offset: -2px;
}

@keyframes storefront-promotion-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 640px) {
    .storefront-promotion__link,
    .storefront-promotion__text {
        font-size: 0.76rem;
    }
    .storefront-promotion__viewport {
        padding: 7px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-promotion__message {
        width: 100%;
        min-width: 0;
        justify-content: center;
        animation: none;
        transform: none;
    }
    .storefront-promotion__sequence {
        min-width: 0;
        width: 100%;
        justify-content: center;
        padding-inline: 0;
    }
    .storefront-promotion__item {
        flex: 0 1 auto;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
        justify-content: center;
    }
    .storefront-promotion__sequence:nth-child(2),
    .storefront-promotion__item:nth-child(2) {
        display: none;
    }
}
