/* Active promotion marquee. */
.stpp-promo-marquee,
.stpp-promo-marquee * {
    box-sizing: border-box;
}

.stpp-promo-marquee {
    --stpp-marquee-accent: #ff6726;
    --stpp-marquee-bg: #171717;
    --stpp-marquee-text: #ffffff;
    --stpp-marquee-duration: 55s;
    position: relative;
    z-index: 4;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 40px !important;
    margin: 0;
    height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--stpp-marquee-text);
    background: var(--stpp-marquee-bg);
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.stpp-promo-marquee[hidden] {
    display: none !important;
}

.stpp-promo-marquee__label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 0 22px;
    gap: 8px;
    color: #ffffff;
    background: var(--stpp-marquee-accent);
    box-shadow: 8px 0 22px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 180ms ease;
}

.stpp-promo-marquee__label:hover,
.stpp-promo-marquee__label:focus-visible {
    color: #ffffff;
    background: #e95316;
}

.stpp-promo-marquee__label:focus-visible,
.stpp-promo-marquee__item:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: -3px;
}

.stpp-promo-marquee__label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    font-size: 12px;
}

.stpp-promo-marquee__viewport {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.stpp-promo-marquee__track {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: max-content;
    min-width: 200vw;
    will-change: transform;
    animation: stpp-marquee-scroll var(--stpp-marquee-duration) linear infinite;
}

.stpp-promo-marquee__group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-around;
    min-width: 100vw;
    padding-right: 34px;
    gap: 34px;
}

.stpp-promo-marquee__item {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 52px;
    gap: 10px;
    color: var(--stpp-marquee-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
    transition: color 180ms ease;
}

.stpp-promo-marquee__item:hover,
.stpp-promo-marquee__item:focus-visible {
    color: #ffb18f;
}

.stpp-promo-marquee__dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--stpp-marquee-accent);
    box-shadow: 0 0 0 4px rgba(255, 103, 38, 0.16);
}

.stpp-promo-marquee__cta {
    color: var(--stpp-marquee-accent);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.stpp-promo-marquee:hover .stpp-promo-marquee__track,
.stpp-promo-marquee:focus-within .stpp-promo-marquee__track {
    animation-play-state: paused;
}

@keyframes stpp-marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 767px) {
    .stpp-promo-marquee {
        min-height: 35px !important;	
    }

    .stpp-promo-marquee__label {
        min-width: 82px;
        padding: 0 10px;
        gap: 5px;
        font-size: 12px;
        letter-spacing: 0.02em;
    }

    .stpp-promo-marquee__label-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .stpp-promo-marquee__group {
        padding-right: 22px;
        gap: 22px;
    }

    .stpp-promo-marquee__item {
        min-height: 41px;
        gap: 8px;
        font-size: 12px;
    }

    .stpp-promo-marquee__dot {
        width: 6px;
        height: 6px;
        flex-basis: 6px;
    }

    .stpp-promo-marquee__cta {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stpp-promo-marquee__viewport {
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .stpp-promo-marquee__track {
        min-width: max-content;
        animation: none;
        transform: none;
        will-change: auto;
    }

    .stpp-promo-marquee__group {
        min-width: max-content;
    }

    .stpp-promo-marquee__group[aria-hidden="true"] {
        display: none;
    }
}
