.elementor-24 .elementor-element.elementor-element-2462706{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:50px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}@media(min-width:768px){.elementor-24 .elementor-element.elementor-element-2462706{--content-width:1361px;}}/* Start custom CSS */<!-- 
  MOBILE-OPTIMIZED WooCommerce Cart Styling for Elementor Pro
  
  This version has ENHANCED mobile responsiveness with stronger CSS rules
  
  INSTALLATION:
  1. Go to your Elementor page editor
  2. Add/edit HTML widget
  3. Paste this entire code
  4. Update the page
  5. Test on actual mobile device or Chrome DevTools mobile view
-->

<style>
/* ========================================
   DESKTOP & MOBILE CART STYLING
   ======================================== */

/* Remove border around cart table */
.woocommerce-cart table.cart {
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
    margin-bottom: 30px;
    background: #fff;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

/* Cart Table Headers */
.woocommerce-cart table.cart thead {
    background: linear-gradient(135deg, #7c88ff 0%, #8b7bff 100%);
}

.woocommerce-cart table.cart thead th {
    color: #fff !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 20px 25px;
    border: none;
}

/* Cart Table Body */
.woocommerce-cart table.cart tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.woocommerce-cart table.cart tbody tr:hover {
    background-color: #f9f9fc;
}

.woocommerce-cart table.cart tbody td {
    padding: 30px 25px;
    vertical-align: middle;
    border: none;
    color: #000 !important;
}

/* Product Thumbnail */
.woocommerce-cart table.cart .product-thumbnail img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 80px;
    height: auto;
}

.woocommerce-cart table.cart .product-thumbnail img:hover {
    transform: scale(1.05);
}

/* Product Name */
.woocommerce-cart table.cart .product-name a {
    color: #000 !important;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-cart table.cart .product-name a:hover {
    color: #7c88ff !important;
}

/* Product Price */
.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
    font-weight: 600;
    color: #000 !important;
    font-size: 16px;
}

.woocommerce-cart table.cart .product-price .amount,
.woocommerce-cart table.cart .product-subtotal .amount {
    color: #000 !important;
}

/* Quantity Input */
.woocommerce-cart table.cart .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart table.cart .quantity input[type="number"] {
    width: 70px;
    height: 40px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #000 !important;
    transition: border-color 0.3s ease;
    padding: 0 10px;
}

.woocommerce-cart table.cart .quantity input[type="number"]:focus {
    border-color: #7c88ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 136, 255, 0.1);
}

/* Remove Button */
.woocommerce-cart table.cart .product-remove a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ff4757 !important;
    color: #fff !important;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    line-height: 1;
}

.woocommerce-cart table.cart .product-remove a:hover {
    background: #ff3838 !important;
    transform: rotate(90deg) scale(1.1);
}

/* Cart Actions Row */
.woocommerce-cart table.cart .actions {
    background: transparent;
    padding: 25px !important;
    border-top: none;
}

.woocommerce-cart table.cart .actions td {
    padding: 25px !important;
}

/* Coupon Section */
.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.woocommerce-cart .coupon label {
    color: #000 !important;
    font-weight: 600;
    margin-right: 10px;
}

.woocommerce-cart .coupon input[type="text"] {
    flex: 1;
    min-width: 200px;
    height: 45px;
    padding: 0 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #000 !important;
    transition: border-color 0.3s ease;
}

.woocommerce-cart .coupon input[type="text"]:focus {
    border-color: #7c88ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 136, 255, 0.1);
}

.woocommerce-cart .coupon input[type="text"]::placeholder {
    color: #999 !important;
}

/* Apply Coupon Button */
.woocommerce-cart .coupon button[name="apply_coupon"],
.woocommerce-cart button[name="apply_coupon"] {
    height: 45px;
    padding: 0 30px;
    background: linear-gradient(135deg, #7c88ff 0%, #8b7bff 100%) !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart .coupon button[name="apply_coupon"]:hover,
.woocommerce-cart button[name="apply_coupon"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 136, 255, 0.4);
}

/* Update Cart Button */
button[name="update_cart"],
.woocommerce-cart button[name="update_cart"] {
    height: 45px;
    padding: 0 30px;
    background: #f0f0f0 !important;
    color: #000 !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[name="update_cart"]:hover,
.woocommerce-cart button[name="update_cart"]:hover {
    background: #e0e0e0 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Cart Totals Section */
.cart-collaterals .cart_totals {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    padding: 35px !important;
    margin-top: 0;
    border: none;
}

.cart-collaterals .cart_totals h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 700;
    color: #000 !important;
    padding-bottom: 15px;
    border-bottom: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-collaterals .cart_totals table {
    border: none;
    width: 100%;
}

.cart-collaterals .cart_totals table tr {
    border-bottom: 1px solid #f0f0f0;
}

.cart-collaterals .cart_totals table tr:last-child {
    border-bottom: 2px solid #000;
}

.cart-collaterals .cart_totals table th,
.cart-collaterals .cart_totals table td {
    padding: 15px 0;
    border: none;
}

.cart-collaterals .cart_totals table th {
    font-weight: 600;
    color: #000 !important;
    text-align: left;
    font-size: 15px;
}

.cart-collaterals .cart_totals table td {
    text-align: right;
    font-weight: 600;
    color: #000 !important;
    font-size: 15px;
}

/* Cart Total Row */
.cart-collaterals .cart_totals .order-total th {
    font-size: 18px;
    color: #000 !important;
    text-transform: uppercase;
    padding-top: 20px !important;
}

.cart-collaterals .cart_totals .order-total td {
    font-size: 20px;
    color: #000 !important;
    font-weight: 700;
    padding-top: 20px !important;
}

.cart-collaterals .cart_totals .order-total .amount {
    color: #000 !important;
}

/* Proceed to Checkout Button */
.wc-proceed-to-checkout {
    margin-top: 25px;
}

.wc-proceed-to-checkout .checkout-button,
.wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    height: 55px;
    background: linear-gradient(135deg, #7c88ff 0%, #8b7bff 100%) !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 136, 255, 0.3);
}

.wc-proceed-to-checkout .checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 136, 255, 0.5);
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   Breakpoint: 768px and below
   ======================================== */

@media screen and (max-width: 768px) {
    
    /* Hide desktop table headers on mobile */
    .woocommerce-cart table.cart thead {
        display: none !important;
    }
    
    /* Stack table rows as cards */
    .woocommerce-cart table.cart,
    .woocommerce-cart table.cart tbody,
    .woocommerce-cart table.cart tbody tr {
        display: block !important;
        width: 100% !important;
    }
    
    .woocommerce-cart table.cart tbody tr {
        margin-bottom: 25px !important;
        border: 2px solid #e0e0e0 !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    }
    
    /* Table cells as stacked blocks */
    .woocommerce-cart table.cart tbody td {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid #f5f5f5 !important;
    }
    
    .woocommerce-cart table.cart tbody td:last-child {
        border-bottom: none !important;
    }
    
    /* Add labels before each field on mobile */
    .woocommerce-cart table.cart tbody td:before {
        content: attr(data-title);
        font-weight: 700;
        color: #000 !important;
        display: block;
        margin-bottom: 8px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Product thumbnail on mobile */
    .woocommerce-cart table.cart .product-thumbnail {
        text-align: center !important;
        padding: 20px !important;
        background: #f9f9fc !important;
    }
    
    .woocommerce-cart table.cart .product-thumbnail:before {
        display: none !important;
    }
    
    .woocommerce-cart table.cart .product-thumbnail img {
        max-width: 120px !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Product name on mobile */
    .woocommerce-cart table.cart .product-name {
        padding: 20px !important;
        background: #fff !important;
    }
    
    .woocommerce-cart table.cart .product-name a {
        font-size: 18px !important;
        line-height: 1.4 !important;
        display: block !important;
    }
    
    /* Price fields on mobile */
    .woocommerce-cart table.cart .product-price,
    .woocommerce-cart table.cart .product-subtotal {
        font-size: 18px !important;
    }
    
    /* Quantity on mobile */
    .woocommerce-cart table.cart .product-quantity {
        padding: 20px !important;
    }
    
    .woocommerce-cart table.cart .quantity {
        justify-content: flex-start !important;
    }
    
    .woocommerce-cart table.cart .quantity input[type="number"] {
        width: 80px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
    
    /* Remove button on mobile - make it bigger */
    .woocommerce-cart table.cart .product-remove {
        text-align: center !important;
        padding: 15px !important;
        background: #fff5f5 !important;
        border-bottom: none !important;
    }
    
    .woocommerce-cart table.cart .product-remove:before {
        content: "Remove Item" !important;
        display: block !important;
        margin-bottom: 10px !important;
    }
    
    .woocommerce-cart table.cart .product-remove a {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
    
    /* Cart actions on mobile */
    .woocommerce-cart table.cart .actions {
        padding: 20px !important;
        background: #f9f9fc !important;
    }
    
    .woocommerce-cart table.cart .actions td {
        padding: 0 !important;
    }
    
    /* Coupon section on mobile */
    .woocommerce-cart .coupon {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
    }
    
    .woocommerce-cart .coupon label {
        width: 100% !important;
        margin: 0 0 5px 0 !important;
    }
    
    .woocommerce-cart .coupon input[type="text"] {
        width: 100% !important;
        min-width: 100% !important;
        height: 50px !important;
        font-size: 16px !important;
    }
    
    .woocommerce-cart .coupon button[name="apply_coupon"],
    .woocommerce-cart button[name="apply_coupon"] {
        width: 100% !important;
        height: 50px !important;
        font-size: 15px !important;
    }
    
    /* Update cart button on mobile */
    button[name="update_cart"],
    .woocommerce-cart button[name="update_cart"] {
        width: 100% !important;
        height: 50px !important;
        margin-top: 15px !important;
        font-size: 18px !important;
    }
    
    /* Cart totals on mobile */
    .cart-collaterals .cart_totals {
        padding: 25px !important;
        margin-top: 30px !important;
        border: 2px solid #e0e0e0 !important;
        border-radius: 12px !important;
    }
    
    .cart-collaterals .cart_totals h2 {
        font-size: 18px !important;
        margin-bottom: 20px !important;
    }
    
    .cart-collaterals .cart_totals table th,
    .cart-collaterals .cart_totals table td {
        font-size: 14px !important;
        padding: 12px 0 !important;
    }
    
    .cart-collaterals .cart_totals .order-total th {
        font-size: 16px !important;
    }
    
    .cart-collaterals .cart_totals .order-total td {
        font-size: 18px !important;
    }
    
    /* Checkout button on mobile */
    .wc-proceed-to-checkout .checkout-button,
    .wc-proceed-to-checkout a.checkout-button {
        height: 60px !important;
        font-size: 17px !important;
        border-radius: 12px !important;
    }
    
    /* Empty cart on mobile */
    .woocommerce-cart .cart-empty {
        padding: 40px 20px !important;
        font-size: 16px !important;
    }
}

/* Extra small devices (under 480px) */
@media screen and (max-width: 480px) {
    
    .woocommerce-cart table.cart tbody td {
        padding: 12px 15px !important;
    }
    
    .woocommerce-cart table.cart .product-thumbnail img {
        max-width: 100px !important;
    }
    
    .woocommerce-cart table.cart .product-name a {
        font-size: 16px !important;
    }
    
    .cart-collaterals .cart_totals {
        padding: 10px 30px 20px 30px !important;
        
    }
    
    .wc-proceed-to-checkout .checkout-button,
    .wc-proceed-to-checkout a.checkout-button {
        font-size: 15px !important;
    }
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.woocommerce-message {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #000 !important;
}

.woocommerce-error {
    background: #ffebee;
    border-color: #f44336;
    color: #000 !important;
}

.woocommerce-info {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #000 !important;
}

</style>

<!-- Smooth animations -->
<script>
document.addEventListener('DOMContentLoaded', function() {
    const cartTable = document.querySelector('.woocommerce-cart table.cart');
    const cartTotals = document.querySelector('.cart_totals');
    
    if (cartTable) {
        cartTable.style.opacity = '0';
        cartTable.style.transform = 'translateY(20px)';
        cartTable.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
        
        setTimeout(function() {
            cartTable.style.opacity = '1';
            cartTable.style.transform = 'translateY(0)';
        }, 100);
    }
    
    if (cartTotals) {
        cartTotals.style.opacity = '0';
        cartTotals.style.transform = 'translateY(20px)';
        cartTotals.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
        
        setTimeout(function() {
            cartTotals.style.opacity = '1';
            cartTotals.style.transform = 'translateY(0)';
        }, 200);
    }
});
</script>/* End custom CSS */