
/*
 * Rhigi global account and cart header controls.
 * Kept intentionally small so the full account dashboard stylesheet is not
 * loaded on ordinary storefront pages.
 */
.rhigi-header-account-icon,
.rhigi-header-cart-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    white-space: nowrap !important;
    color: #111827 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.rhigi-header-avatar {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ff5a00 !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(255,90,0,.25) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.rhigi-header-cart-bag {
    position: relative !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff3ea !important;
    color: #ff5a00 !important;
    font-size: 20px !important;
    line-height: 1 !important;
}

.rhigi-cart-count-badge {
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    min-width: 19px !important;
    height: 19px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background: #ff5a00 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

.rhigi-header-link-label {
    display: inline !important;
}

@media (max-width: 420px) {
    .rhigi-header-account-icon,
    .rhigi-header-cart-icon {
        width: 40px !important;
        max-width: 40px !important;
        gap: 0 !important;
    }

    .rhigi-header-link-label {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0,0,0,0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
}
