/* Cart & Checkout - remove blue, keep radio button accent */
/* Breakdance renders WooCommerce buttons/links using its own CSS custom
   properties (--bde-button-secondary-*, --bde-link-color, etc). Rather than
   fight Breakdance's highly-specific selectors, we override those variables
   directly, scoped to the cart and checkout pages only. */

body.woocommerce-cart .breakdance-woocommerce,
body.woocommerce-checkout .breakdance-woocommerce {
    --bde-button-secondary-text-color: #1a1a1a;
    --bde-button-secondary-border-color: #1a1a1a;
    --bde-button-secondary-background-color: transparent;
    --bde-link-color: #1a1a1a;
}

/* Product title link */
body.woocommerce-cart .product-name a,
body.woocommerce-checkout .product-name a {
    color: #1a1a1a !important;
}
body.woocommerce-cart .product-name a:hover,
body.woocommerce-checkout .product-name a:hover {
    color: #1a1a1a !important;
    text-decoration: underline;
}

/* Calculate shipping link */
body.woocommerce-cart .shipping-calculator-button,
body.woocommerce-checkout .shipping-calculator-button {
    color: #1a1a1a !important;
}
body.woocommerce-cart .shipping-calculator-button:hover,
body.woocommerce-checkout .shipping-calculator-button:hover {
    color: #1a1a1a !important;
    text-decoration: underline;
}

/* Any other generic WooCommerce links on these pages */
body.woocommerce-cart .woocommerce a,
body.woocommerce-checkout .woocommerce a {
    color: #1a1a1a !important;
}

/* Fallback: if any Breakdance button still reads a hardcoded blue rather
   than the variable above, force it directly on the coupon button. */
body.woocommerce-cart .breakdance-woocommerce button[name="apply_coupon"],
body.woocommerce-checkout .breakdance-woocommerce button[name="apply_coupon"] {
    color: #1a1a1a !important;
    border-color: #1a1a1a !important;
    background: transparent !important;
}

/* Keep the shipping method radio buttons blue when selected */
.woocommerce-shipping-methods input[type="radio"]:checked {
    accent-color: #1a73e8;
}
