/**
 * Fix Minicart Icon Visibility on ALL Pages Including Cart
 * IMPORTANT: These rules must override the theme's default hiding behavior
 */

/* Override checkout page rules that hide minicart - MAXIMUM SPECIFICITY */
html body.checkout-cart-index .header-container .header .col-search .minicart-wrapper,
html body.checkout-cart-index .header-container .header .minicart-wrapper,
html body.checkout-cart-index .header .minicart-wrapper,
html body.checkout-cart-index .minicart-wrapper,
body.checkout-cart-index .header-container .header .minicart-wrapper,
body.checkout-cart-index .header .minicart-wrapper,
body.checkout-cart-index .minicart-wrapper,
.checkout-cart-index .header-container .header .minicart-wrapper,
.checkout-cart-index .header .minicart-wrapper,
.checkout-cart-index .minicart-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
}

/* Ensure minicart wrapper is visible on all pages */
.minicart-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure minicart icon and link is visible */
.minicart-wrapper .action.showcart,
body .minicart-wrapper .action.showcart,
html body .minicart-wrapper .action.showcart {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
}

/* Icon container */
.minicart-wrapper .icon-cart-header,
body .minicart-wrapper .icon-cart-header {
    display: inline-block !important;
    visibility: visible !important;
}

/* Font Awesome icon */
.minicart-wrapper .icon-cart-header .fa,
.minicart-wrapper .icon-cart-header i,
body .minicart-wrapper .icon-cart-header .fa,
body .minicart-wrapper .icon-cart-header i {
    display: inline-block !important;
    visibility: visible !important;
    font-size: 24px !important;
}

/* Counter/Badge visibility */
.minicart-wrapper .counter.qty,
body .minicart-wrapper .counter.qty {
    display: block !important;
    visibility: visible !important;
}

.minicart-wrapper .counter-number,
body .minicart-wrapper .counter-number {
    display: inline-block !important;
    visibility: visible !important;
}

/* Cart text label */
.minicart-wrapper .text-cart,
body .minicart-wrapper .text-cart {
    display: block !important;
    visibility: visible !important;
}

/* Additional override for checkout index pages */
.checkout-index-index .header-container .header .minicart-wrapper {
    display: block !important;
}


