/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* =======================================================
   Premium WooCommerce Cart Styling (Refined Specificity)
   ======================================================= */

/* General Cart Container */
body.woocommerce-cart .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    justify-content: space-between;
}

/* Cart Form (Left Side) */
body.woocommerce-cart .woocommerce-cart-form {
    flex: 1 1 60% !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

/* Cart Totals (Right Side) */
body.woocommerce-cart .cart-collaterals {
    flex: 1 1 35% !important;
}

body.woocommerce-cart .cart_totals {
    background: #fff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    width: 100% !important;
    float: none !important;
}

body.woocommerce-cart .cart_totals h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    color: #333 !important;
    border-bottom: 2px solid #eaeaea !important;
    padding-bottom: 15px !important;
}

/* Cart Table Styling */
body.woocommerce-cart table.shop_table {
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

body.woocommerce-cart table.shop_table th {
    background-color: transparent !important;
    color: #666 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    border-bottom: 2px solid #eaeaea !important;
    padding: 15px 10px !important;
}

body.woocommerce-cart table.shop_table td {
    border-top: none !important;
    border-bottom: 1px solid #eaeaea !important;
    padding: 20px 10px !important;
    vertical-align: middle !important;
}

/* Product Info in Table */
body.woocommerce-cart table.shop_table .product-thumbnail img {
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    width: 80px !important;
    height: auto !important;
}

body.woocommerce-cart table.shop_table .product-name a {
    color: #333 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 16px !important;
    transition: color 0.3s ease !important;
}

body.woocommerce-cart table.shop_table .product-name a:hover {
    color: #0073aa !important;
}

/* Quantity Input Styling */
body.woocommerce-cart .quantity .qty {
    width: 60px !important;
    height: 40px !important;
    padding: 0 10px !important;
    text-align: center !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    background: #fff !important;
    color: #333 !important;
}

/* Buttons */
body.woocommerce-cart a.remove {
    color: #ff4a4a !important;
    font-size: 20px !important;
    font-weight: 400 !important;
}

body.woocommerce-cart a.remove:hover {
    background: #ff4a4a !important;
    color: #fff !important;
}

body.woocommerce-cart button.button,
body.woocommerce-cart button.button[name="update_cart"] {
    background-color: #333 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
}

body.woocommerce-cart button.button:hover,
body.woocommerce-cart button.button[name="update_cart"]:hover {
    background-color: #145229 !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 20px rgba(24, 101, 50, 0.2) !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #186532 !important;
    color: #fff !important;
    display: block !important;
    text-align: center !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 5px 15px rgba(24, 101, 50, 0.2) !important;
    margin-top: 20px !important;
    text-decoration: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 10px 25px rgba(24, 101, 50, 0.3) !important;
    background: #145229 !important;
}

/* Coupon Section */
body.woocommerce-cart form .coupon {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

body.woocommerce-cart form .coupon input.input-text {
    width: 200px !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
}

/* Responsive */
@media (max-width: 991px) {
    body.woocommerce-cart .woocommerce {
        flex-direction: column !important;
        gap: 30px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals {
        flex: 1 1 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    body.woocommerce-cart form .coupon {
        flex-direction: column !important;
        width: 100% !important;
    }

    body.woocommerce-cart form .coupon input.input-text,
    body.woocommerce-cart form .coupon button.button {
        width: 100% !important;
    }
}