/* GalloShop Core 16.2.0 — cart cards only on phones. */
@media (max-width: 600px) {
    body.woocommerce-cart .gshop-commerce-shell { width: calc(100% - 18px) !important; padding: 9px 0 24px !important; }
    body.woocommerce-cart .gshop-commerce-content .woocommerce-cart-form { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
    body.woocommerce-cart table.shop_table.cart,
    body.woocommerce-cart table.shop_table.cart tbody { display: block !important; }
    body.woocommerce-cart table.shop_table.cart thead { display: none !important; }
    body.woocommerce-cart table.shop_table.cart tr.cart_item {
        position: relative; display: grid !important; grid-template-columns: 76px minmax(0,1fr) auto; grid-template-areas:
        'image name remove' 'image price price' 'image quantity subtotal'; gap: 4px 9px;
        margin-bottom: 8px; padding: 9px !important; border: 1px solid #e1e5ea; border-radius: 10px; background: #fff;
        box-shadow: 0 3px 10px rgba(17,24,39,.045);
    }
    body.woocommerce-cart table.shop_table.cart tr.cart_item > td { display: block !important; width: auto !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; text-align: left !important; }
    body.woocommerce-cart table.shop_table.cart td::before { display: none !important; }
    body.woocommerce-cart td.product-thumbnail { grid-area: image; }
    body.woocommerce-cart td.product-thumbnail a { display: block; }
    body.woocommerce-cart td.product-thumbnail img { width: 72px !important; height: 72px !important; border-radius: 8px !important; }
    body.woocommerce-cart td.product-name { grid-area: name; padding-right: 4px !important; }
    body.woocommerce-cart td.product-name a { display: block; font-size: 11px !important; line-height: 1.25 !important; }
    body.woocommerce-cart td.product-price { grid-area: price; color: #d70000 !important; font-size: 12px !important; }
    body.woocommerce-cart td.product-quantity { grid-area: quantity; align-self: end; }
    body.woocommerce-cart td.product-subtotal { grid-area: subtotal; align-self: center; justify-self: end; font-size: 12px !important; }
    body.woocommerce-cart td.product-subtotal::before { content: 'Subtotal '; display: inline !important; color: #6b7280; font-size: 8px; }
    body.woocommerce-cart td.product-remove { grid-area: remove; }
    body.woocommerce-cart td.product-remove a { width: 24px !important; height: 24px !important; font-size: 16px !important; border: 0 !important; }
    body.woocommerce-cart .quantity.gshop-cart-qty-ready { display: grid !important; grid-template-columns: 30px 34px 30px; width: 94px; height: 32px; border: 1px solid #d8dde4; border-radius: 7px; overflow: hidden; }
    body.woocommerce-cart .quantity.gshop-cart-qty-ready button { min-height: 30px !important; height: 30px; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #f5f6f8 !important; color: #17191c !important; font-size: 15px; }
    body.woocommerce-cart .quantity.gshop-cart-qty-ready input.qty { width: 34px !important; min-height: 30px !important; height: 30px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; font-size: 11px; }
    body.woocommerce-cart table.shop_table.cart tr:not(.cart_item) { display: block; }
    body.woocommerce-cart table.shop_table.cart .actions { padding: 5px 0 0 !important; }
    body.woocommerce-cart .actions .coupon { display: grid !important; grid-template-columns: minmax(0,1fr) auto; gap: 6px !important; }
    body.woocommerce-cart .actions .coupon #coupon_code { min-height: 39px !important; height: 39px; }
    body.woocommerce-cart .actions .coupon .button { min-height: 39px !important; height: 39px; padding-inline: 10px !important; font-size: 9px; }
    body.woocommerce-cart button[name='update_cart'] { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0,0,0,0); }

    body.woocommerce-cart .cart-collaterals,
    body.woocommerce-cart .cart_totals { margin: 8px 0 0 !important; }
    body.woocommerce-cart .cart_totals { padding: 11px !important; border-radius: 10px !important; box-shadow: 0 3px 12px rgba(17,24,39,.05) !important; }
    body.woocommerce-cart .cart_totals > h2 { margin-bottom: 7px !important; font-size: 15px !important; }
    body.woocommerce-cart .cart_totals table th,
    body.woocommerce-cart .cart_totals table td { padding: 7px 0 !important; font-size: 10px !important; }
    body.woocommerce-cart .cart_totals .order-total th,
    body.woocommerce-cart .cart_totals .order-total td { padding-top: 9px !important; font-size: 17px !important; }
    body.woocommerce-cart .wc-proceed-to-checkout { padding-top: 8px !important; }
    body.woocommerce-cart .wc-proceed-to-checkout .checkout-button { min-height: 48px !important; font-size: 12px !important; }

    body.woocommerce-cart .wc-block-cart-items__row { border: 1px solid #e1e5ea !important; border-radius: 10px; background: #fff; }
    body.woocommerce-cart .wc-block-cart-item__image img { width: 72px !important; height: 72px !important; }
    body.woocommerce-cart .wc-block-components-sidebar { padding: 11px !important; border-radius: 10px !important; }
}
