/* Top header buttons repeater (left side of .header-top).
   Style is chosen per button via an ACF select:
   - "pink": linear-gradient pill, black on hover
   - "none" (or empty): plain text link */

.header-top__btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    min-width: 0;
}

.header-top__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-Montserrat);
    font-weight: 700;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    max-width: 100%;
    transition: background-color .3s, color .3s;
}

.header-top__btn .btn-link-txt {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Without background = plain text link */
.header-top__btn--link {
    color: var(--c-700);
}

.header-top__btn--link:hover {
    color: var(--c-900);
}

/* Pink = linear gradient pill, black on hover.
   Gradient sits on a ::before layer over a solid black base so it can
   fade out smoothly without a white flash (background-image can't animate). */
.header-top__btn--pink {
    position: relative;
    isolation: isolate;
    padding: 5px 18px;
    border-radius: 999px;
    color: #fff;
    background-color: #141414;
}

.header-top__btn--pink::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background-image: linear-gradient(135deg, #EF0D33 0%, #CD1B97 100%);
    transition: opacity .3s;
}

.header-top__btn--pink:hover::before {
    opacity: 0;
}
