/* Compact StoreX cart rows on desktop.
 * The parent theme uses very large table padding and fixed-width columns.
 * Keep the existing responsive/mobile cart layout unchanged.
 */
@media (min-width: 993px) {
	.woocommerce-cart .shop_table.cart thead tr > th {
		padding: 14px 12px;
	}

	.woocommerce-cart .shop_table.cart tr.cart_item > td {
		line-height: 1.35;
		padding: 16px 12px;
		vertical-align: middle;
	}

	.woocommerce-cart .shop_table.cart tr.cart_item > td.product-remove {
		padding: 0 6px;
		width: 34px;
	}

	.woocommerce-cart .shop_table.cart .product-thumbnail {
		width: 88px;
	}

	.woocommerce-cart .shop_table.cart .product-thumbnail img {
		height: auto;
		max-width: 72px;
	}

	.woocommerce-cart .shop_table.cart tr.cart_item > td.product-name {
		padding-left: 12px;
	}

	.woocommerce-cart .shop_table.cart .product-name > a {
		display: inline-block;
		margin-bottom: 4px;
	}

	.woocommerce-cart .shop_table.cart .product-name .variation dd {
		margin-bottom: 4px;
	}

	.woocommerce-cart .shop_table.cart tr.cart_item > td.avail {
		padding: 10px 8px;
	}

	.woocommerce-cart .shop_table.cart th.product-price,
	.woocommerce-cart .shop_table.cart tr.cart_item > td.product-price {
		padding-left: 8px;
		padding-right: 8px;
		text-align: right;
		width: 96px;
	}

	.woocommerce-cart .shop_table.cart th.product-quantity,
	.woocommerce-cart .shop_table.cart tr.cart_item > td.product-quantity {
		padding-left: 8px;
		padding-right: 8px;
		text-align: center;
		width: 86px;
	}

	.woocommerce-cart .shop_table.cart th.product-subtotal,
	.woocommerce-cart .shop_table.cart tr.cart_item > td.product-price,
	.woocommerce-cart .shop_table.cart tr.cart_item > td.product-subtotal {
		white-space: nowrap;
	}

	.woocommerce-cart .shop_table.cart th.product-subtotal,
	.woocommerce-cart .shop_table.cart tr.cart_item > td.product-subtotal {
		padding-left: 8px;
		padding-right: 8px;
		text-align: right;
		width: 104px;
	}

	.woocommerce-cart .shop_table.cart tr.cart_item .quantity input.qty {
		height: 34px;
		line-height: 18px;
		margin: 0;
		padding: 7px 8px !important;
		width: 58px;
	}

	/* Preserve StoreX's table proportions. A fixed pixel colspan makes the
	 * product and empty action areas expand excessively on wide screens.
	 */
	.woocommerce-cart .shop_table.cart .coupon-cart_totals > td.actions {
		width: 56%;
	}

	.woocommerce-cart .shop_table.cart .coupon-cart_totals > td.cart-totals {
		width: 44%;
	}

	/* Use one consistent label/value grid for subtotal, shipping, tax and total. */
	.woocommerce-cart .shop_table.cart td.cart-totals .cart_totals table {
		table-layout: fixed;
		width: 100%;
	}

	.woocommerce-cart .shop_table.cart td.cart-totals .cart_totals table th {
		padding: 8px 14px !important;
		text-align: right;
		vertical-align: middle;
		width: 34%;
	}

	.woocommerce-cart .shop_table.cart td.cart-totals .cart_totals table td {
		padding: 8px 14px !important;
		text-align: right;
		vertical-align: middle;
		width: 66%;
	}

	.woocommerce-cart .shop_table.cart td.cart-totals .cart_totals .shipping td,
	.woocommerce-cart .shop_table.cart td.cart-totals .cart_totals .woocommerce-shipping-totals td {
		max-width: none;
	}

	.woocommerce-cart .shop_table.cart td.cart-totals .cart_totals .order-total th,
	.woocommerce-cart .shop_table.cart td.cart-totals .cart_totals .order-total td {
		padding-bottom: 10px !important;
		padding-top: 10px !important;
	}

	.woocommerce-cart .shop_table.cart td.cart-totals .cart_totals .order-total td:last-child {
		font-size: 20px !important;
	}

	/* Keep StoreX's working custom radios. Size the list to its longest option
	 * and position the whole group at the right, so every bullet shares a start.
	 */
	.woocommerce-cart .shop_table.cart td.cart-totals ul#shipping_method {
		display: inline-block;
		margin: 0;
		max-width: 100%;
		text-align: left !important;
		vertical-align: top;
		width: max-content;
	}

	.woocommerce-cart .shop_table.cart td.cart-totals ul#shipping_method li {
		text-align: left;
		width: 100%;
	}

	.woocommerce-cart .shop_table.cart td.cart-totals ul#shipping_method label {
		text-align: left;
		white-space: nowrap;
	}
}
