/* Top strip source-of-truth. Keep the strip, marquee, close button, and route-scoped visibility here. */
.top-strip {
    position: relative;
    top: auto;
    z-index: var(--bodycare-z-top-strip, 170);
    display: block;
    width: 100%;
    min-height: var(--bodycare-top-strip-open-height, 36px);
    max-width: none;
    overflow: hidden;
    margin: 0;
    padding: 0 54px;
    background: #f4ede8;
    color: var(--ink, #111111);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    transform: none;
}

body.home-page .top-strip,
.checkout-page .top-strip {
    display: none;
}

body.home-page .top-strip--promo {
    display: block;
}

.top-marquee {
    display: flex;
    min-height: var(--bodycare-top-strip-open-height, 36px);
    align-items: center;
    overflow: hidden;
}

.top-marquee__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: center;
    gap: clamp(34px, 7vw, 120px);
    white-space: nowrap;
    animation: none;
}

.top-strip:hover .top-marquee__track {
    animation-play-state: paused;
}

.top-marquee__track a {
    color: inherit;
    text-decoration: none;
}

.top-marquee__track a:hover,
.top-marquee__track a:focus-visible {
    color: var(--pink);
}

.top-strip__close {
    position: absolute;
    top: 50%;
    right: 16px;
    z-index: 2;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 0;
    border-radius: var(--radius-pill, 999px);
    background: #e8ddd6;
    color: var(--ink, #111111);
    cursor: pointer;
    transform: translateY(-50%);
}

.top-strip__close,
.top-strip__close:hover,
.top-strip__close:focus-visible,
.top-strip__close:active {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.top-strip__close svg,
.top-strip__close i[data-lucide] {
    width: 17px;
    height: 17px;
    stroke-width: 3;
}

.top-strip.is-closing {
    pointer-events: none;
    opacity: 0;
    transform: none;
    transition: opacity 150ms ease;
}

@keyframes topMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
