/* Customer entry points share Karo's existing desktop and mobile header slots. */
.ftc-account-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    font-weight: 600;
}
.header-layout3 .header-nav .ftc-sb-account {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-right: 18px;
}
.header-layout3 .header-nav .ftc-account-links a {
    color: #fff;
    line-height: 40px;
    text-decoration: none;
}
.ftc-account-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.ftc-account-links a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
.mobile-account .ftc-account-links {
    padding: 12px 0;
    gap: 12px 20px;
}
.mobile-account .ftc-account-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
}

/* Keep desktop search beside its trigger, clear of the customer links. */
@media (min-width: 992px) {
    .header-layout3 .header-nav .ftc-search-product .ftc-search,
    .header-layout3 .header-nav .ftc-search-product .search-button {
        height: 40px;
        line-height: 40px;
    }
    .header-layout3 .header-nav .ftc-search-product .search-button::before {
        line-height: inherit;
    }
    .header-layout3 .header-nav .ftc-search-product form {
        position: absolute;
        top: 0;
        right: calc(100% + 12px);
        width: 270px;
        height: 40px;
    }
    .header-layout3 .header-nav .ftc_search_ajax {
        height: 40px;
    }
    .header-layout3 .header-nav .ftc_search_ajax input[type="text"] {
        top: 0;
        width: 100%;
        height: 40px;
        line-height: 40px;
    }
    .header-layout3 .header-nav .ftc-enable-ajax-search {
        top: calc(100% + 5px);
    }
    .header-layout3 .header-nav .ftc_search_ajax.loading::after {
        top: 12px;
        right: 10px;
    }
}
