.header-account {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 44px;
    margin-left: 16px;
    font-size: 15px;
    text-transform: none;
    white-space: nowrap;
}
.header-account:focus-visible {
    outline: 2px solid #4e7661;
    outline-offset: 3px;
}
.header-basket-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-left: 16px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #29392f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    transition: color .15s ease;
}
.header-basket-link:hover {
    background: transparent;
    color: #4e7661;
}
.header-basket-link:focus-visible {
    outline: 2px solid #4e7661;
    outline-offset: 3px;
}
.header-basket-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.header-basket-count {
    position: absolute;
    top: 0;
    right: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 12px;
    background: #4e7661;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
@media (min-width: 1200px) {
    .header-basket-link {
        /* Match the gap after the last navigation label, including its horizontal padding. */
        margin-left: calc(16px + var(--bs-navbar-nav-link-padding-x, 1.25rem) - 8px);
    }
}
@media (max-width: 575.98px) {
    .header-account {
        justify-content: center;
        width: 44px;
        margin-left: 8px;
    }
    .header-account-label,
    .header-account .user-menu-name {
        display: none;
    }
    .header-account .icon {
        margin-right: 0 !important;
    }
    .header-basket-link {
        margin-left: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .header-basket-link { transition: none; }
}
