/* ObonGlow v2.9.7 — silent AJAX add to cart + large native remove control. */

/* While an AJAX add is running, WoodMart's automatic side-cart opening is suppressed. */
html.obonglow-silent-add-pending .cart-widget-side,
body.obonglow-silent-add-pending .cart-widget-side,
html.obonglow-silent-add-pending .shopping-cart-widget-side,
body.obonglow-silent-add-pending .shopping-cart-widget-side {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate3d(110%, 0, 0) !important;
}

html.obonglow-silent-add-pending .wd-close-side,
body.obonglow-silent-add-pending .wd-close-side {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* One large, unambiguous remove icon. */
.cart-widget-side .mini_cart_item a.obonglow-native-remove,
.widget_shopping_cart_content .mini_cart_item a.obonglow-native-remove,
.shopping-cart-widget-body .mini_cart_item a.obonglow-native-remove,
.woocommerce-mini-cart-item a.obonglow-native-remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #333 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    touch-action: manipulation;
}

.cart-widget-side .mini_cart_item a.obonglow-native-remove::before,
.widget_shopping_cart_content .mini_cart_item a.obonglow-native-remove::before,
.shopping-cart-widget-body .mini_cart_item a.obonglow-native-remove::before,
.woocommerce-mini-cart-item a.obonglow-native-remove::before {
    content: "×" !important;
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    color: currentColor !important;
    font-family: Arial, sans-serif !important;
    font-size: 27px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    transform: none !important;
}

.cart-widget-side .mini_cart_item a.obonglow-native-remove::after,
.widget_shopping_cart_content .mini_cart_item a.obonglow-native-remove::after,
.shopping-cart-widget-body .mini_cart_item a.obonglow-native-remove::after,
.woocommerce-mini-cart-item a.obonglow-native-remove::after {
    content: none !important;
    display: none !important;
}

.cart-widget-side .mini_cart_item a.obonglow-native-remove:hover,
.widget_shopping_cart_content .mini_cart_item a.obonglow-native-remove:hover {
    color: #ec4c82 !important;
    background: rgba(236, 76, 130, 0.08) !important;
}

@media (max-width: 767px) {
    .cart-widget-side .mini_cart_item a.obonglow-native-remove,
    .widget_shopping_cart_content .mini_cart_item a.obonglow-native-remove,
    .shopping-cart-widget-body .mini_cart_item a.obonglow-native-remove,
    .woocommerce-mini-cart-item a.obonglow-native-remove {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
    }

    .cart-widget-side .mini_cart_item a.obonglow-native-remove::before,
    .widget_shopping_cart_content .mini_cart_item a.obonglow-native-remove::before,
    .shopping-cart-widget-body .mini_cart_item a.obonglow-native-remove::before,
    .woocommerce-mini-cart-item a.obonglow-native-remove::before {
        font-size: 30px !important;
    }
}


/* ==========================================================
   ObonGlow v2.9.8 Rev7.3 — Mini Cart Color + Hover System
   Keeps WoodMart mini-cart readable and consistent with the
   ObonGlow black CTA / pink hover design system.
   ========================================================== */

/* Product quantity, multiplication mark and product price. */
body .cart-widget-side .woocommerce-mini-cart-item .quantity,
body .cart-widget-side .woocommerce-mini-cart-item .quantity > * ,
body .cart-widget-side .woocommerce-mini-cart-item .quantity .amount,
body .cart-widget-side .woocommerce-mini-cart-item .quantity .woocommerce-Price-amount,
body .cart-widget-side .woocommerce-mini-cart-item .quantity .woocommerce-Price-currencySymbol,
body .shopping-cart-widget-side .woocommerce-mini-cart-item .quantity,
body .shopping-cart-widget-side .woocommerce-mini-cart-item .quantity > *,
body .shopping-cart-widget-side .woocommerce-mini-cart-item .quantity .amount,
body .shopping-cart-widget-side .woocommerce-mini-cart-item .quantity .woocommerce-Price-amount,
body .shopping-cart-widget-side .woocommerce-mini-cart-item .quantity .woocommerce-Price-currencySymbol,
body .widget_shopping_cart_content .woocommerce-mini-cart-item .quantity,
body .widget_shopping_cart_content .woocommerce-mini-cart-item .quantity > *,
body .widget_shopping_cart_content .woocommerce-mini-cart-item .quantity .amount,
body .widget_shopping_cart_content .woocommerce-mini-cart-item .quantity .woocommerce-Price-amount,
body .widget_shopping_cart_content .woocommerce-mini-cart-item .quantity .woocommerce-Price-currencySymbol {
    color: #111111 !important;
    opacity: 1 !important;
}

/* Mini-cart subtotal amount. */
body .cart-widget-side .woocommerce-mini-cart__total .amount,
body .cart-widget-side .woocommerce-mini-cart__total .woocommerce-Price-amount,
body .cart-widget-side .woocommerce-mini-cart__total .woocommerce-Price-currencySymbol,
body .shopping-cart-widget-side .woocommerce-mini-cart__total .amount,
body .shopping-cart-widget-side .woocommerce-mini-cart__total .woocommerce-Price-amount,
body .shopping-cart-widget-side .woocommerce-mini-cart__total .woocommerce-Price-currencySymbol,
body .widget_shopping_cart_content .woocommerce-mini-cart__total .amount,
body .widget_shopping_cart_content .woocommerce-mini-cart__total .woocommerce-Price-amount,
body .widget_shopping_cart_content .woocommerce-mini-cart__total .woocommerce-Price-currencySymbol,
body .shopping-cart-widget-footer .woocommerce-mini-cart__total .amount,
body .shopping-cart-widget-footer .woocommerce-mini-cart__total .woocommerce-Price-amount,
body .shopping-cart-widget-footer .woocommerce-mini-cart__total .woocommerce-Price-currencySymbol {
    color: #111111 !important;
    opacity: 1 !important;
}

/* View Cart + Checkout buttons: luxury black default. */
body .cart-widget-side .woocommerce-mini-cart__buttons a,
body .shopping-cart-widget-side .woocommerce-mini-cart__buttons a,
body .widget_shopping_cart_content .woocommerce-mini-cart__buttons a,
body .shopping-cart-widget-footer .woocommerce-mini-cart__buttons a,
body .cart-widget-side a.button.checkout,
body .shopping-cart-widget-side a.button.checkout,
body .widget_shopping_cart_content a.button.checkout,
body .shopping-cart-widget-footer a.button.checkout,
body .cart-widget-side a.btn-cart,
body .shopping-cart-widget-side a.btn-cart {
    background: #111111 !important;
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease !important;
}

body .cart-widget-side .woocommerce-mini-cart__buttons a:hover,
body .cart-widget-side .woocommerce-mini-cart__buttons a:focus,
body .shopping-cart-widget-side .woocommerce-mini-cart__buttons a:hover,
body .shopping-cart-widget-side .woocommerce-mini-cart__buttons a:focus,
body .widget_shopping_cart_content .woocommerce-mini-cart__buttons a:hover,
body .widget_shopping_cart_content .woocommerce-mini-cart__buttons a:focus,
body .shopping-cart-widget-footer .woocommerce-mini-cart__buttons a:hover,
body .shopping-cart-widget-footer .woocommerce-mini-cart__buttons a:focus,
body .cart-widget-side a.button.checkout:hover,
body .cart-widget-side a.button.checkout:focus,
body .shopping-cart-widget-side a.button.checkout:hover,
body .shopping-cart-widget-side a.button.checkout:focus,
body .widget_shopping_cart_content a.button.checkout:hover,
body .widget_shopping_cart_content a.button.checkout:focus,
body .shopping-cart-widget-footer a.button.checkout:hover,
body .shopping-cart-widget-footer a.button.checkout:focus,
body .cart-widget-side a.btn-cart:hover,
body .cart-widget-side a.btn-cart:focus,
body .shopping-cart-widget-side a.btn-cart:hover,
body .shopping-cart-widget-side a.btn-cart:focus {
    background: #ef4d7a !important;
    background-color: #ef4d7a !important;
    border-color: #ef4d7a !important;
    color: #ffffff !important;
    opacity: 1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(239,77,122,.24) !important;
}

/* Keep any nested text/icons white. */
body .cart-widget-side .woocommerce-mini-cart__buttons a *,
body .shopping-cart-widget-side .woocommerce-mini-cart__buttons a *,
body .widget_shopping_cart_content .woocommerce-mini-cart__buttons a *,
body .shopping-cart-widget-footer .woocommerce-mini-cart__buttons a * {
    color: inherit !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}


/* ==========================================================
   ObonGlow Cart & Checkout v1.1.1 — Premium Button Consistency
   Cart, mini-cart and checkout CTAs use luxury black by default
   and ObonGlow pink on hover. Quantity and remove controls are
   intentionally excluded.
   ========================================================== */

/* Cart: Apply Coupon button. */
body.woocommerce-cart .coupon button.button,
body.woocommerce-cart .coupon button[name="apply_coupon"],
body.woocommerce-cart form.woocommerce-cart-form button[name="apply_coupon"],
body.woocommerce-cart .cart-actions .coupon button,
body.woocommerce-cart .wd-coupon-form button {
    background: #111111 !important;
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    box-shadow: none !important;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease !important;
}

body.woocommerce-cart .coupon button.button:hover,
body.woocommerce-cart .coupon button.button:focus,
body.woocommerce-cart .coupon button[name="apply_coupon"]:hover,
body.woocommerce-cart .coupon button[name="apply_coupon"]:focus,
body.woocommerce-cart form.woocommerce-cart-form button[name="apply_coupon"]:hover,
body.woocommerce-cart form.woocommerce-cart-form button[name="apply_coupon"]:focus,
body.woocommerce-cart .cart-actions .coupon button:hover,
body.woocommerce-cart .cart-actions .coupon button:focus,
body.woocommerce-cart .wd-coupon-form button:hover,
body.woocommerce-cart .wd-coupon-form button:focus {
    background: #ef4d7a !important;
    background-color: #ef4d7a !important;
    border-color: #ef4d7a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(239,77,122,.24) !important;
}

/* Cart: Proceed to Checkout button/link. */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .cart_totals a.checkout-button,
body.woocommerce-cart a.checkout-button.button,
body.woocommerce-cart .checkout-button,
body.woocommerce-cart .wd-proceed-to-checkout a {
    background: #111111 !important;
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    opacity: 1 !important;
    box-shadow: none !important;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus,
body.woocommerce-cart .cart_totals a.checkout-button:hover,
body.woocommerce-cart .cart_totals a.checkout-button:focus,
body.woocommerce-cart a.checkout-button.button:hover,
body.woocommerce-cart a.checkout-button.button:focus,
body.woocommerce-cart .checkout-button:hover,
body.woocommerce-cart .checkout-button:focus,
body.woocommerce-cart .wd-proceed-to-checkout a:hover,
body.woocommerce-cart .wd-proceed-to-checkout a:focus {
    background: #ef4d7a !important;
    background-color: #ef4d7a !important;
    border-color: #ef4d7a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(239,77,122,.24) !important;
}

/* Optional native Update Cart action, when visible. */
body.woocommerce-cart button[name="update_cart"] {
    background: #111111 !important;
    background-color: #111111 !important;
    border-color: #111111 !important;
    color: #ffffff !important;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease !important;
}
body.woocommerce-cart button[name="update_cart"]:not(:disabled):hover,
body.woocommerce-cart button[name="update_cart"]:not(:disabled):focus {
    background: #ef4d7a !important;
    background-color: #ef4d7a !important;
    border-color: #ef4d7a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(239,77,122,.24) !important;
}
body.woocommerce-cart button[name="update_cart"]:disabled {
    transform: none !important;
    box-shadow: none !important;
}

/* Keep nested button labels/icons readable. */
body.woocommerce-cart .coupon button *,
body.woocommerce-cart .wc-proceed-to-checkout a *,
body.woocommerce-cart .cart_totals a.checkout-button *,
body.woocommerce-cart button[name="update_cart"] * {
    color: inherit !important;
    fill: currentColor !important;
    stroke: currentColor !important;
}
