/*
 * Cart Links Fix - Remove Underlines
 * Version: 1.1 - Added WooCommerce Block Components
 * Priority: High
 */

/* Remove underlines from ALL links in WooCommerce cart */
.woocommerce-cart-page a,
.woocommerce-cart-page a:hover,
.woocommerce-cart-page a:focus,
.woocommerce-cart-page a:active,
.woocommerce-cart-page a:visited,
.woocommerce table.shop_table a,
.woocommerce table.shop_table a:hover,
.woocommerce table.shop_table a:focus,
.woocommerce table.shop_table a:active,
.woocommerce table.shop_table a:visited,
.shop_table.cart .product-name a,
.shop_table.cart .product-name a:hover,
.shop_table.cart .product-name a:focus,
.shop_table.cart .product-name a:active,
.shop_table.cart .product-name a:visited,
.cart-table-wrapper a,
.cart-table-wrapper a:hover,
.cart-table-wrapper a:focus,
.cart-table-wrapper a:active,
.cart-table-wrapper a:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* WooCommerce Block Components - CRITICAL */
.wc-block-components-product-name,
.wc-block-components-product-name a,
.wc-block-components-product-name a:hover,
.wc-block-components-product-name a:focus,
.wc-block-components-product-name a:active,
.wc-block-components-product-name a:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    font-family: 'Assistant', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.1rem !important;
    color: #574b37 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.3px !important;
}

.wc-block-components-product-name a:hover {
    color: #c5ad84 !important;
    transition: color 0.3s ease !important;
}

/* WooCommerce Blocks Cart */
.wc-block-cart a,
.wc-block-cart a:hover,
.wc-block-cart a:focus,
.wc-block-cart a:active,
.wc-block-cart a:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* WooCommerce Block Cart Submit Container - Enhanced AsEver Styling */
.wc-block-cart__submit-container {
    padding: 1.5rem 0 !important;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-cart__submit-container button,
.wc-block-cart__submit-container .wp-block-button__link,
.wc-block-cart__submit-container .wc-block-components-button {
    background: linear-gradient(145deg, #c5ad84 0%, #b8a286 100%) !important;
    color: #f8f6f3 !important;
    border: none !important;
    padding: 1.2rem 2.5rem !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
    font-family: 'Assistant', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 6px 20px rgba(197,173,132,0.3) !important;
    width: 100% !important;
    text-align: center !important;
    text-decoration: none !important;
    display: block !important;
}

.wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.wc-block-cart__submit-container button:hover,
.wc-block-cart__submit-container .wp-block-button__link:hover,
.wc-block-cart__submit-container .wc-block-components-button:hover {
    background: linear-gradient(145deg, #574b37 0%, #3d3d3d 100%) !important;
    color: #f8f6f3 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    text-decoration: none !important;
}

/* WooCommerce Block Cart Totals Enhancement */
.wc-block-cart__totals-container {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%) !important;
    border: 1px solid rgba(197,173,132,.2) !important;
    border-radius: 16px !important;
    padding: 2rem !important;
    box-shadow: 0 12px 40px rgba(197,173,132,.15) !important;
    margin-bottom: 1rem !important;
}

/* Even more specific targeting */
body.woocommerce-cart .woocommerce a,
body.woocommerce-cart .woocommerce a:hover,
body.woocommerce-cart .woocommerce a:focus,
body.woocommerce-cart .woocommerce a:active,
body.woocommerce-cart .woocommerce a:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* WordPress body classes targeting */
body.page-id-cart a,
body.page-id-cart a:hover,
body.page-id-cart a:focus,
body.page-id-cart a:active,
body.page-id-cart a:visited {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}