/*
Theme Name: Divi Novia Child
Description: Novia Advertising Portal — child theme of Divi. All custom Novia functionality (templates, File and Go integration, Stripe billing, campaigns) lives here so the parent Divi theme stays stock and updatable.
Template: Divi
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
*/

/*
 * The parent Divi stylesheet is enqueued automatically by Divi
 * (et_divi_enqueue_stylesheet), and Divi also auto-enqueues this file
 * when a child theme is active — after the WooCommerce plugin styles,
 * so rules here win equal-specificity cascade fights. Novia pages style
 * themselves via Tailwind CDN + inline <style> blocks; this file holds
 * only overrides of plugin/parent styles.
 */

/* Checkout payment box: dark, rounded (overrides WooCommerce core) */
#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding: 1em;
    margin: 1em 0;
    font-size: .92em;
    line-height: 1.5;
    background-color: #111;
    color: #515151;
    border-radius: 10px;
}

/* Remove the WooCommerce speech-bubble arrow from the Stripe payment box */
#add_payment_method #payment div.payment_box.payment_method_stripe::before,
.woocommerce-cart #payment div.payment_box.payment_method_stripe::before,
.woocommerce-checkout #payment div.payment_box.payment_method_stripe::before {
    content: none;
    display: none;
}

/* Hide the card-brand icons next to the Stripe payment method label */
label[for="payment_method_stripe"] img.stripe-cards-icon.stripe-icon {
    display: none;
}
