/* Tablet & Mobile Only (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .woocommerce-cart .woocommerce table.shop_table.cart {
        border: none;
        box-shadow: none;
        background: transparent;
        margin-bottom: 24px;
    }
    
    .woocommerce-cart .woocommerce table.shop_table.cart thead {
        display: none;
    }

    .woocommerce-cart .woocommerce table.shop_table.cart tbody tr.woocommerce-cart-form__cart-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        background: #fffdfa; /* Warm ivory / white */
        border: 1px solid #e8e6e1; /* Soft light beige/gray */
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.03);
        margin-bottom: 16px;
        padding: 16px;
        position: relative;
    }

    .woocommerce-cart .woocommerce table.shop_table.cart td {
        border: none;
        padding: 0;
        display: block;
    }

    .woocommerce-cart .woocommerce table.shop_table.cart td.product-remove {
        position: absolute;
        top: 16px;
        right: 16px;
        width: auto;
        padding: 0;
        z-index: 2;
    }
    
    .woocommerce-cart .woocommerce table.shop_table.cart td.product-remove a.remove {
        color: #d35400 !important; /* Terracotta/orange accent */
        font-size: 24px;
        font-weight: 300;
        line-height: 1;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent !important;
    }
    
    .woocommerce-cart .woocommerce table.shop_table.cart td.product-remove a.remove:hover {
        color: #b94a00 !important;
    }

    .woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail {
        width: 80px;
        margin-right: 16px;
    }
    
    .woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .woocommerce-cart .woocommerce table.shop_table.cart td.product-name {
        flex: 1;
        min-width: 0;
        margin-bottom: 8px;
        padding-right: 24px;
    }
    
    .woocommerce-cart .woocommerce table.shop_table.cart td.product-name a {
        color: #1a3c34; /* Deep botanical green */
        font-weight: 600;
        font-size: 16px;
        text-decoration: none;
        display: block;
        word-wrap: break-word;
        white-space: normal;
        line-height: 1.4;
    }

    .woocommerce-cart .woocommerce table.shop_table.cart td.product-price {
        width: 100%;
        color: #1a3c34;
        font-size: 14px;
        margin-top: 8px;
    }
    
    .woocommerce-cart .woocommerce table.shop_table.cart td.product-price::before {
        content: "Price: ";
        font-weight: 600;
        opacity: 0.7;
    }

    .woocommerce-cart .woocommerce table.shop_table.cart td.product-quantity {
        width: 50%;
        display: flex;
        align-items: center;
        margin-top: 12px;
    }
    
    .woocommerce-cart .woocommerce table.shop_table.cart td.product-quantity .quantity input.qty {
        width: 60px;
        padding: 8px;
        border: 1px solid #e8e6e1;
        border-radius: 4px;
        color: #1a3c34;
        background: #fff;
    }

    .woocommerce-cart .woocommerce table.shop_table.cart td.product-subtotal {
        width: 50%;
        margin-top: 12px;
        font-weight: 700;
        color: #1a3c34;
        text-align: right;
        font-size: 16px;
    }

    /* Coupon & Actions */
    .woocommerce-cart .woocommerce table.shop_table.cart tbody tr.actions {
        display: block;
        padding: 16px 0 0 0;
        border: none;
        background: transparent;
    }
    
    .woocommerce-cart .woocommerce table.shop_table.cart .coupon {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 16px;
        float: none;
    }
    
    .woocommerce-cart .woocommerce table.shop_table.cart .coupon .input-text {
        width: 100% !important;
        margin-bottom: 12px;
        padding: 12px;
        border-radius: 4px;
        border: 1px solid #e8e6e1;
        box-sizing: border-box;
    }
    
    .woocommerce-cart .woocommerce table.shop_table.cart .coupon button.button {
        width: 100%;
        background-color: #1a3c34;
        color: #fff;
        padding: 14px;
        border-radius: 4px;
        float: none;
        font-weight: 600;
    }

    .woocommerce-cart .woocommerce table.shop_table.cart button[name="update_cart"] {
        width: 100%;
        padding: 14px;
        background-color: #f4f0ea;
        color: #1a3c34;
        border: 1px solid #e8e6e1;
        border-radius: 4px;
        font-weight: 600;
    }

    /* Cart Totals Section */
    .woocommerce-cart .woocommerce .cart-collaterals .cart_totals {
        width: 100%;
        float: none;
        padding: 24px;
        background: #fffdfa;
        border: 1px solid #e8e6e1;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.03);
        margin-top: 24px;
        box-sizing: border-box;
    }
    
    .woocommerce-cart .woocommerce .cart-collaterals .cart_totals h2 {
        color: #1a3c34;
        font-size: 20px;
        margin-bottom: 16px;
        font-weight: 700;
    }
    
    .woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table {
        width: 100%;
        border: none;
    }
    
    .woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table th,
    .woocommerce-cart .woocommerce .cart-collaterals .cart_totals table.shop_table td {
        padding: 12px 0;
        color: #1a3c34;
    }
    
    .woocommerce-cart .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout {
        padding: 16px 0 0 0;
    }
    
    .woocommerce-cart .woocommerce .cart-collaterals .cart_totals .checkout-button {
        background-color: #d35400;
        color: #fff;
        width: 100%;
        text-align: center;
        padding: 16px;
        border-radius: 4px;
        font-size: 16px;
        font-weight: 600;
        display: block;
        box-sizing: border-box;
    }
    
    .woocommerce-cart .woocommerce .cart-collaterals .cart_totals .checkout-button:hover {
        background-color: #b94a00;
        color: #fff;
    }
}
