/**
 * Cart page – Lufga, split quantity (− / n / +), trash on right, tight image–product gap.
 * Enqueued by Print Checkout on the cart page (classic shortcode).
 */

/* Page-wide Lufga (table, subtotal, coupon, buttons text, prices) */
body.woocommerce-cart .woocommerce,
.elementor-widget-woocommerce-cart .woocommerce {
	font-family: 'Lufga', sans-serif !important;
}

/* Tighter gap between thumbnail and product column */
.woocommerce-cart .woocommerce-cart-form__contents td.product-thumbnail,
.elementor-widget-woocommerce-cart .woocommerce-cart-form__contents td.product-thumbnail {
	padding-right: 8px;
	box-sizing: border-box;
}

/* Remove control: right column, trash icon */
.woocommerce-cart .woocommerce-cart-form__contents td.product-remove,
.elementor-widget-woocommerce-cart .woocommerce-cart-form__contents td.product-remove {
	text-align: right;
	vertical-align: middle;
	width: 1%;
	white-space: nowrap;
}

.woocommerce-cart .woocommerce-cart-form__contents .print-cart-remove,
.elementor-widget-woocommerce-cart .woocommerce-cart-form__contents .print-cart-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: inherit;
	line-height: 0;
}

.woocommerce-cart .woocommerce-cart-form__contents .print-cart-remove:hover,
.woocommerce-cart .woocommerce-cart-form__contents .print-cart-remove:focus,
.elementor-widget-woocommerce-cart .woocommerce-cart-form__contents .print-cart-remove:hover,
.elementor-widget-woocommerce-cart .woocommerce-cart-form__contents .print-cart-remove:focus {
	opacity: 0.75;
}

.woocommerce-cart .woocommerce-cart-form__contents .print-cart-trash-icon,
.elementor-widget-woocommerce-cart .woocommerce-cart-form__contents .print-cart-trash-icon {
	display: block;
	flex-shrink: 0;
}

/* Split quantity: − | value | + as three separate controls */
.woocommerce-cart .print-checkout-qty-split,
.elementor-widget-woocommerce-cart .print-checkout-qty-split {
	display: inline-flex;
	align-items: stretch;
	flex-direction: row;
	gap: 6px;
}

.woocommerce-cart .print-checkout-qty-split .print-checkout-qty-btn,
.elementor-widget-woocommerce-cart .print-checkout-qty-split .print-checkout-qty-btn {
	box-sizing: border-box;
	min-width: 36px;
	min-height: 36px;
	padding: 0;
	margin: 0;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	background: #f0f0f0;
	color: #262223;
	font-family: 'Lufga', sans-serif !important;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	-webkit-appearance: none;
	appearance: none;
}

.woocommerce-cart .print-checkout-qty-split .print-checkout-qty-btn:hover,
.elementor-widget-woocommerce-cart .print-checkout-qty-split .print-checkout-qty-btn:hover {
	background: #e4e4e4;
}

.woocommerce-cart .print-checkout-qty-split .print-checkout-qty-btn:focus,
.elementor-widget-woocommerce-cart .print-checkout-qty-split .print-checkout-qty-btn:focus {
	outline: 2px solid #262223;
	outline-offset: 1px;
}

.woocommerce-cart .print-checkout-qty-split input.qty.print-checkout-qty-value,
.elementor-widget-woocommerce-cart .print-checkout-qty-split input.qty.print-checkout-qty-value {
	box-sizing: border-box;
	width: 48px;
	min-height: 36px;
	margin: 0;
	padding: 0 4px;
	border: 1px solid #d9d9d9;
	border-radius: 6px;
	background: #f0f0f0;
	color: #262223;
	font-family: 'Lufga', sans-serif !important;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	line-height: 1.2;
	-moz-appearance: textfield;
	appearance: textfield;
}

.woocommerce-cart .print-checkout-qty-split input.qty.print-checkout-qty-value::-webkit-outer-spin-button,
.woocommerce-cart .print-checkout-qty-split input.qty.print-checkout-qty-value::-webkit-inner-spin-button,
.elementor-widget-woocommerce-cart .print-checkout-qty-split input.qty.print-checkout-qty-value::-webkit-outer-spin-button,
.elementor-widget-woocommerce-cart .print-checkout-qty-split input.qty.print-checkout-qty-value::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/**
 * Mobile: WooCommerce smallscreen hides .product-thumbnail and right-aligns responsive cells.
 * Show thumbnails; keep price label + amount left-aligned (matches data-title ::before + value).
 */
@media (max-width: 768px) {
	.woocommerce-cart table.shop_table_responsive.cart td.product-thumbnail,
	.woocommerce-page table.shop_table_responsive.cart td.product-thumbnail,
	.elementor-widget-woocommerce-cart table.shop_table_responsive.cart td.product-thumbnail {
		display: block !important;
	}

	.woocommerce-cart table.shop_table_responsive.cart td.product-thumbnail img,
	.elementor-widget-woocommerce-cart table.shop_table_responsive.cart td.product-thumbnail img {
		width: auto !important;
		max-width: min(200px, 100%) !important;
		height: auto !important;
	}

	.woocommerce-cart table.shop_table_responsive.cart tr td.product-price,
	.woocommerce-page table.shop_table_responsive.cart tr td.product-price,
	.elementor-widget-woocommerce-cart table.shop_table_responsive.cart tr td.product-price,
	.woocommerce-cart table.shop_table_responsive.cart tr td.product-subtotal,
	.woocommerce-page table.shop_table_responsive.cart tr td.product-subtotal,
	.elementor-widget-woocommerce-cart table.shop_table_responsive.cart tr td.product-subtotal {
		text-align: left !important;
	}
}
