/* Global YITH mini-cart appearance for shop and WPBakery/builder pages. */
html body #yith-wacp-mini-cart {
    z-index: 10020 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

html body #yith-wacp-mini-cart .yith-wacp-mini-cart-icon {
    display: flex !important;
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 50% !important;
    background-color: #064429 !important;
    background-image: none !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 0 0 !important;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .22) !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

html body #yith-wacp-mini-cart .yith-wacp-mini-cart-icon::before {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
    padding: 0 !important;
    content: "" !important;
    background: #fff !important;
    pointer-events: none !important;
}

html body #yith-wacp-mini-cart:hover .yith-wacp-mini-cart-icon {
    background-color: #04351f !important;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .28) !important;
}

html body #yith-wacp-mini-cart .yith-wacp-mini-cart-count {
    position: absolute !important;
    z-index: 2 !important;
    top: -7px !important;
    right: -7px !important;
    display: flex !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    background: #ff2029 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
}

html body #yith-wacp-mini-cart .yith-wacp-mini-cart-count.is-empty {
    display: none !important;
}

@media (max-width: 575px) {
    html body #yith-wacp-mini-cart .yith-wacp-mini-cart-icon {
        width: 50px !important;
        min-width: 50px !important;
        max-width: 50px !important;
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
    }

    html body #yith-wacp-mini-cart .yith-wacp-mini-cart-icon::before {
        width: 23px !important;
        height: 23px !important;
    }
}

/* 2026-09-02 — YITH popup actions on builder pages use the shop accent too. */
html body #yith-wacp-popup .popup-actions .button,
html body #yith-wacp-popup .popup-actions a.button,
html body #yith-wacp-popup .popup-actions button,
html body #yith-wacp-popup a.yith-wacp-go-cart,
html body #yith-wacp-popup a.yith-wacp-go-checkout {
    border-color: #064429 !important;
    background: #064429 !important;
    color: #fff !important;
}

html body #yith-wacp-popup .popup-actions .button:hover,
html body #yith-wacp-popup .popup-actions a.button:hover,
html body #yith-wacp-popup .popup-actions button:hover,
html body #yith-wacp-popup a.yith-wacp-go-cart:hover,
html body #yith-wacp-popup a.yith-wacp-go-checkout:hover {
    border-color: #04351f !important;
    background: #04351f !important;
    color: #fff !important;
}
