.shoptimizer-phone.h2-header-phone a {
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.shoptimizer-phone.h2-header-phone svg {
    display: block;
    flex: 0 0 auto;
}

.shoptimizer-phone.h2-header-phone .h2-header-phone__link--mobile {
    display: inline-flex;
    color: #c4142b;
}

.shoptimizer-phone.h2-header-phone .h2-header-phone__link--mobile svg {
    width: 24px;
    height: 24px;
    stroke: #c4142b;
}

.shoptimizer-phone.h2-header-phone .h2-header-phone__link--desktop {
    display: none;
    font-size: 0.875rem;
    color: #111827;
}

.h2-header-phone__link--desktop svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.h2-header-phone__number {
    font-size: inherit;
    line-height: 1.25;
}

.shoptimizer-phone.h2-header-phone a:hover,
.shoptimizer-phone.h2-header-phone a:focus {
    color: #c4142b;
    text-decoration: none;
}

.h2-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.h2-header-actions .h2-header-cart .cart-contents .amount {
    display: none !important;
}

.h2-header-actions .h2-header-cart .cart-contents {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    line-height: 1;
    color: #111827;
    text-decoration: none;
    transition: none;
}

.h2-header-actions .h2-header-cart .cart-contents:hover,
.h2-header-actions .h2-header-cart .cart-contents:focus,
.h2-header-actions .h2-header-cart .cart-contents:active {
    border: 0 !important;
    background: transparent !important;
    color: #111827;
    text-decoration: none;
}

.h2-header-actions .h2-header-cart .shoptimizer-cart-icon,
.h2-header-actions .h2-header-cart .h2-header-cart__trigger {
    position: relative;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.h2-header-actions .h2-header-cart .h2-header-cart__icon,
.h2-header-actions .h2-header-cart .shoptimizer-cart-icon svg {
    position: static !important;
    top: auto !important;
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.h2-header-actions .h2-header-cart .mini-count {
    position: absolute;
    top: -0.5rem !important;
    right: -0.5rem !important;
    left: auto !important;
    z-index: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0 !important;
    padding: 0;
    border: 0 !important;
    border-radius: 9999px;
    background-color: #c4142b !important;
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    letter-spacing: 0;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
}

.h2-header-actions .h2-header-cart a.cart-contents:hover .mini-count,
.h2-header-actions .h2-header-cart a.cart-contents:focus .mini-count,
.h2-header-actions .h2-header-cart a.cart-contents:hover .shoptimizer-cart-icon .mini-count {
    top: -0.5rem !important;
    background-color: #c4142b !important;
    color: #fff !important;
}

@media (min-width: 993px) {
    .header-5 .h2-header-actions {
        gap: 1rem;
    }

    .shoptimizer-phone.h2-header-phone .h2-header-phone__link--mobile {
        display: none;
    }

    .shoptimizer-phone.h2-header-phone .h2-header-phone__link--desktop {
        display: inline-flex;
    }

    .header-5.wc-active .h2-header-actions .site-header-cart {
        display: block;
        height: auto;
        margin-left: 0;
        line-height: 1;
    }

    .header-5.wc-active .h2-header-actions .h2-header-cart a.cart-contents {
        height: auto;
        padding: 0;
        border: 0 !important;
        border-radius: 0;
        line-height: 1;
    }

    .header-5.wc-active .h2-header-actions .h2-header-cart a.cart-contents:hover {
        border-color: transparent !important;
    }

    .header-5.wc-active .h2-header-actions .h2-header-cart a.cart-contents .shoptimizer-cart-icon .mini-count {
        margin-right: 0 !important;
        background-color: #c4142b !important;
        color: #fff !important;
    }
}

@media (max-width: 992px) {
    .h2-header-actions {
        position: absolute;
        top: 0;
        right: 15px;
        z-index: 2;
        height: 100%;
        overflow: visible;
    }

    .shoptimizer-phone.h2-header-phone {
        display: flex;
        align-items: center;
        height: 100%;
        font-size: 17px;
        cursor: pointer;
    }

    .h2-header-actions .site-header-cart {
        position: static;
        line-height: 1;
        overflow: visible;
    }

    .h2-header-actions .h2-header-cart .shoptimizer-cart-icon,
    .h2-header-actions .h2-header-cart .h2-header-cart__trigger {
        top: 0 !important;
        right: 0 !important;
    }

    .h2-header-actions .h2-header-cart .mini-count {
        display: flex !important;
    }


    .site-header button.mobile-search-toggle {
        right: 5.75rem;
    }

    .site-header button.mobile-search-toggle.with-myaccount-icon {
        right: 8.5rem;
    }


    body.mobile-menu-open .h2-header-phone,
    body.menu-open .h2-header-phone,
    body.nav-open .h2-header-phone,
    .mobile-menu-open .h2-header-phone,
    .menu-open .h2-header-phone,
    .nav-open .h2-header-phone {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}
