/* Mobile Header Icon Spacing */

/* Improve spacing for mobile header icons */
@media (max-width: 1023px) {

    /* Reduce gap between icons on mobile */
    .region-logobar-right {
        gap: 0.5rem !important;
    }

    /* Remove extra padding from account menu */
    .myaccount-menu-dropdown {
        padding-left: 0 !important;
    }

    /* Reduce padding on cart and wishlist blocks */
    .cart--cart-block,
    .wishlist--wishlist-block {
        padding-right: 0 !important;
    }

    /* Ensure icons are properly sized for touch targets */
    .myaccount-user-icon,
    .cart-block--summary__icon svg,
    .wishlist-block--summary__icon svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* Adjust badge positioning for better alignment */
    .cart-block--summary__count,
    .wishlist-block--summary__count {
        top: -6px !important;
        left: -6px !important;
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
    }
}

/* Extra small screens - even tighter spacing */
@media (max-width: 640px) {
    .region-logobar-right {
        gap: 0.25rem !important;
    }

    /* Slightly smaller icons on very small screens */
    .myaccount-user-icon,
    .cart-block--summary__icon svg,
    .wishlist-block--summary__icon svg {
        width: 20px !important;
        height: 20px !important;
    }
}