:root {
    /* Defaults */
    --tooltip-color-def: #000;
    --coupon-bg-def: rgba(225, 84, 75, 0.25);
    --coupon-color-def: #e2534b;
}

.active-coupon-notice {
    /* Optional overrides */
    --coupon-bg: var(--red);
    --coupon-color: var(--light);
}

.coupon-tooltip-wrapper:hover .coupon-tooltip-text {
    visibility: visible !important;
    opacity: .9 !important;
}


.active-coupon-notice {
    background: var(--coupon-bg);
    color: var(--coupon-color);
    padding: .25rem .5rem;
    border-radius: 4px;
    font-size: var(--small);
    font-weight: 300;
    display: inline-block;
    margin: 0 0 5px 0;
    position: relative;
    cursor: pointer;
    font-weight: 700
}


.coupon-tooltip-text {
    visibility: hidden;
    width: 20px;
    opacity: 0;
    transition: opacity .2s ease;
    background-color: rgba(255, 255, 255, .2);
    color: var(--tooltip-color);
    padding: .5rem .6rem;
    border-radius: 4px;
    font-size: 0.95rem;
    position: absolute;
    bottom: 110%;
    left: 0;
    /* white-space: nowrap; */
    z-index: 999;
    pointer-events: none;
    width: 310px;
    backdrop-filter: blur(10px);
}


.coupon-icon {
    display: inline-block;
    width: auto;
    margin-bottom: -2px;
    margin-right: 3px;
    margin-left: 8px;
    height: 16px;
}

.hhm-mini-cart-summary {
    font-size: 1rem;
    padding: .5rem 0;
}

.hhm-row {
    display: flex;
    justify-content: space-between;
    padding: 0 0 .35rem 0;
    gap: 0rem;
}


.hhm-row.cart-tax .hhm-left {
    font-size: .8rem;
}

.hhm-left {
    color: #444;
}

.hhm-right {
    font-weight: 700;
}

.hhm-coupon-code {
    margin-left: 0rem;
    font-weight: 600;
    color: #111;
}

.hhm-sep {
    border: 0;
    border-top: 1px solid #efefef;
    margin: .6rem 0;
}

body .elementor-menu-cart__footer-buttons .elementor-button--view-cart {
    background-color: #fff;
    color: var(--dark);
    padding: .75rem;
    font-weight: 600;
}

body .elementor-menu-cart__footer-buttons .elementor-button--checkout {
    padding: .75rem;

}

body .elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
    background-color: #fff;
    font-weight: 600;
    color: var(--dark);
}

.elementor-menu-cart__products {
    height: 100%;
}

.elementor-menu-cart__product.dummy.woocommerce-cart-form__cart-item.cart_item {
    display: flex !important;

}

.elementor-menu-cart__product.dummy.woocommerce-cart-form__cart-item.cart_item .active-coupon-notice {
    margin-top: 4px;
}


.coupon-error-notice {
    padding: .25rem .5rem;
    display: inline-block;
    margin: 1rem 0;
    border: 1px solid var(--dark);
    border-radius: 2px;
    opacity: .7;
}




/*add to cart fix */

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.added::after {
    margin-left: 0;
}

.woocommerce a.button.loading {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.woocommerce a.button.loading svg {
    opacity: 0 !important;
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.loading::after {
    right: calc(50% - 6px);
    top: calc(50% - 11px);
}
