/* Shopyzee Promo Bar (announcement bar) — shared by the global bar and the page-builder widget. 2026-11-11 */
.szpb { position: relative; overflow: hidden; font-size: var(--szpb-fs, 14px); font-weight: var(--szpb-fw, 600); line-height: 1.4; min-height: calc(var(--szpb-fs, 14px) * 1.4 + var(--szpb-py, 10px) * 2); }
.szpb.szpb-sticky { position: sticky; top: 0; z-index: 1050; }
.szpb-inner { display: flex; align-items: center; gap: 8px; padding: var(--szpb-py, 10px) 12px; }
.szpb-viewport { flex: 1; min-width: 0; overflow: hidden; }
.szpb-track { display: flex; align-items: center; gap: var(--szpb-gap, 48px); white-space: nowrap; }
.szpb-msg { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; white-space: nowrap; }
.szpb-link { color: var(--szpb-link, inherit); }
.szpb-link:hover { text-decoration: underline; color: var(--szpb-link, inherit); }
.szpb-msg i { font-size: 1.15em; }
.szpb-sep { opacity: .55; }
.szpb-text { unicode-bidi: isolate; }
.szpb-close, .szpb-pause, .szpb-nav { flex-shrink: 0; background: rgba(255,255,255,.14); border: 0; color: inherit; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; padding: 0; }
.szpb-close { font-size: 20px; }
.szpb-pause .szpb-ic-play { display: none; } .szpb-pause .szpb-ic-pause { font-size: 9px; }
.szpb-paused .szpb-pause .szpb-ic-play { display: inline; } .szpb-paused .szpb-pause .szpb-ic-pause { display: none; }
/* marquee: the JS duplicates the track content so the loop is seamless, and sets --szpb-duration from the real width */
.szpb-marquee .szpb-track { width: max-content; animation: szpb-scroll var(--szpb-duration, 20s) linear infinite; will-change: transform; }
.szpb-marquee[dir="rtl"] .szpb-track { animation-name: szpb-scroll-rtl; }
.szpb-marquee.szpb-paused .szpb-track, .szpb-marquee[data-pause-hover="1"]:hover .szpb-track, .szpb-marquee .szpb-track:focus-within { animation-play-state: paused; }
@keyframes szpb-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(-1 * var(--szpb-half, 50%)), 0, 0); } }
@keyframes szpb-scroll-rtl { from { transform: translate3d(0,0,0); } to { transform: translate3d(var(--szpb-half, 50%), 0, 0); } }
/* static: everything centered, wraps on small screens */
.szpb-static .szpb-track { justify-content: center; flex-wrap: wrap; white-space: normal; gap: 10px var(--szpb-gap, 48px); }
/* rotate: one message at a time */
.szpb-rotate .szpb-track { display: block; text-align: center; position: relative; }
.szpb-rotate .szpb-msg { display: none; justify-content: center; width: 100%; }
.szpb-rotate .szpb-msg.is-active { display: inline-flex; animation: szpb-fade .4s ease; }
.szpb-rotate[data-transition="slide"] .szpb-msg.is-active { animation: szpb-slide .4s ease; }
@keyframes szpb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes szpb-slide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.szpb-cd { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.szpb-widget { border-radius: 10px; }
@media (max-width: 767px) { .szpb-hide-mobile { display: none !important; } .szpb-inner { padding-left: 8px; padding-right: 8px; } }
@media (min-width: 768px) { .szpb-hide-desktop { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .szpb-marquee .szpb-track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; white-space: normal; } .szpb-marquee .szpb-pause, .szpb-marquee .szpb-dup { display: none !important; } .szpb-rotate .szpb-msg.is-active { animation: none; } }
