/*
Theme Name: Digital Service Platform
Theme URI: http://localhost
Author: Waibao
Description: Custom theme for Digital Service Platform (WooCommerce ready).
Version: 1.0.0
Text Domain: digitalservice
*/

/* High priority overrides for Cart page */
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout button.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 1.2rem !important;
    padding: 20px 30px !important;
    background: linear-gradient(135deg, var(--brand), var(--brand2)) !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 10px 30px rgba(108,140,255,0.4) !important;
    transition: all 0.3s ease !important;
    border: none !important;
    margin-top: 20px !important;
    cursor: pointer !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout button.checkout-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(108,140,255,0.6) !important;
    filter: brightness(1.1) !important;
    color: #fff !important;
}

/* WooCommerce Block cart - Proceed to Checkout button */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-button,
.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-cart__submit .wc-block-components-button,
a.wc-block-components-button.wc-block-cart__submit-button,
.wc-block-components-button.wc-block-cart__submit-button {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #6c8cff, #9d6cff) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(108,140,255,0.4) !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
    cursor: pointer !important;
    letter-spacing: .3px !important;
}
.wc-block-cart__submit-container .wc-block-components-button:hover,
.wc-block-cart__submit .wc-block-components-button:hover,
.wc-block-components-button.wc-block-cart__submit-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 36px rgba(108,140,255,0.55) !important;
    color: #fff !important;
}
