/*
 * RAPHA PUBLISHING PLATFORM (RPP) - WooCommerce Custom Fixes
 * Ensures that WooCommerce components blend perfectly with RPP Design system
 */

.woocommerce-message, .woocommerce-info, .woocommerce-error {
    border-top-color: var(--rpp-sky-blue) !important;
    background-color: var(--rpp-white) !important;
    border-radius: var(--rpp-radius) !important;
    box-shadow: var(--rpp-shadow-md) !important;
}

.woocommerce-message::before {
    color: var(--rpp-sky-blue) !important;
}

.woocommerce-Button, .button.wc-forward {
    background-color: var(--rpp-deep-blue) !important;
    color: var(--rpp-white) !important;
    border-radius: var(--rpp-radius) !important;
    font-family: var(--rpp-font-sans) !important;
    font-weight: 600 !important;
    border: none !important;
    transition: var(--rpp-transition) !important;
}

.woocommerce-Button:hover, .button.wc-forward:hover {
    background-color: var(--rpp-deep-blue-hover) !important;
}

.checkout-button {
    background-color: var(--rpp-gold) !important;
    border-radius: var(--rpp-radius) !important;
}

.checkout-button:hover {
    background-color: var(--rpp-gold-hover) !important;
}

span.onsale {
    background-color: var(--rpp-gold) !important;
}

.woocommerce-checkout-payment {
    background-color: var(--rpp-bg-light) !important;
    border: 1px solid var(--rpp-border) !important;
    border-radius: var(--rpp-card-radius) !important;
}
