html body.creatilab-modern-cart,
body.creatilab-modern-cart {
	background: #ffffff;
	color: #111827;
	margin: 0 !important;
	padding: 0 !important;
	overflow-x: hidden;
    /* Ereditiamo il font Nunito del tema */
}

/* Hidden Header/Footer defaults */
body.creatilab-modern-cart .site-header,
body.creatilab-modern-cart .site-footer,
body.creatilab-modern-cart .creatilab-breadcrumb,
body.creatilab-modern-cart .breadcrumb-wrapper,
body.creatilab-modern-cart .creatilab-page-header,
body.creatilab-modern-cart .whatsapp-btn,
body.creatilab-modern-cart .creatilab-handheld-footer-bar {
	display: none !important;
}

body.creatilab-modern-cart klarna-placement,
body.creatilab-modern-cart .klarna-placement,
body.creatilab-modern-cart [data-klarna-placement],
body.creatilab-modern-cart [data-testid*="klarna"],
body.creatilab-modern-cart [id*="klarna"],
body.creatilab-modern-cart [class*="klarna"],
body.creatilab-modern-cart [data-testid*="Klarna"],
body.creatilab-modern-cart [id*="Klarna"],
body.creatilab-modern-cart [class*="Klarna"] {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

body.creatilab-modern-cart #content.site-content {
	padding: 0;
	margin: 0;
	background: #ffffff;
}

body.creatilab-modern-cart #page,
body.creatilab-modern-cart #content > div,
body.creatilab-modern-cart #primary,
body.creatilab-modern-cart .content-area,
body.creatilab-modern-cart .site-main,
body.creatilab-modern-cart .hentry,
body.creatilab-modern-cart article.page,
body.creatilab-modern-cart .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

/* Layout - 2 Columns Full Width */
body.creatilab-modern-cart .creatilab-cart-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(380px, 0.85fr);
	width: 100vw;
	max-width: none;
	min-height: auto;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	background: #ffffff;
}

body.creatilab-modern-cart .creatilab-cart-main {
	background: #ffffff;
	padding: 40px clamp(24px, 5vw, 60px) 60px;
	box-sizing: border-box;
}

body.creatilab-modern-cart .creatilab-cart-summary {
	float: none !important;
	width: auto !important;
	background: #fafafa !important;
	padding: 40px clamp(24px, 5vw, 60px) 60px !important;
	font-size: 15px;
	position: sticky;
	top: 0;
	align-self: start;
	min-height: auto;
	box-sizing: border-box;
	border-left: 1px solid #e5e7eb;
}

@media (min-width: 981px) {
	body.creatilab-modern-cart .creatilab-cart-shell,
	body.creatilab-modern-cart .creatilab-cart-summary {
		min-height: 100dvh;
	}

	body.admin-bar.creatilab-modern-cart .creatilab-cart-shell,
	body.admin-bar.creatilab-modern-cart .creatilab-cart-summary {
		min-height: calc(100dvh - 32px);
	}
}

/* Header & Brand */
body.creatilab-modern-cart .creatilab-cart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 40px;
}

body.creatilab-modern-cart .creatilab-cart-brand img {
	max-width: 140px;
	height: auto;
}

body.creatilab-modern-cart .creatilab-cart-brand .site-title,
body.creatilab-modern-cart .creatilab-cart-brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

body.creatilab-modern-cart .creatilab-cart-return {
	color: #6b7280;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
	display: inline-flex;
	align-items: center;
}
body.creatilab-modern-cart .creatilab-cart-return::before {
	content: "\2190";
	margin-right: 6px;
	font-size: 16px;
}
body.creatilab-modern-cart .creatilab-cart-return:hover {
	color: #111827;
}

/* Headings */
body.creatilab-modern-cart .creatilab-cart-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 30px;
}

body.creatilab-modern-cart .creatilab-cart-kicker {
	margin: 0 0 4px;
	padding: 0;
	color: #9ca3af;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

body.creatilab-modern-cart .creatilab-cart-main h1 {
	margin: 0;
	color: #111827;
	font-size: 36px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

body.creatilab-modern-cart .creatilab-cart-count {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 14px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #ffffff;
	color: #4b5563;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

/* Notices */
body.creatilab-modern-cart .woocommerce-notices-wrapper,
body.creatilab-modern-cart .woocommerce-message,
body.creatilab-modern-cart .woocommerce-error,
body.creatilab-modern-cart .woocommerce-info {
	max-width: 860px;
	margin: 18px auto 0;
	border-radius: 6px;
	box-sizing: border-box;
}

/* Cart Table */
body.creatilab-modern-cart .creatilab-cart-form {
	margin: 0;
}

body.creatilab-modern-cart table.creatilab-shop-cart {
	width: 100%;
	margin: 0 !important;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
	background: transparent;
}

body.creatilab-modern-cart table.creatilab-shop-cart thead th {
	padding: 0 10px 14px;
	border: 0;
	background: transparent;
	color: #9ca3af;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 1px solid #e5e7eb;
}

body.creatilab-modern-cart table.creatilab-shop-cart thead th.product-remove,
body.creatilab-modern-cart table.creatilab-shop-cart thead th.product-thumbnail {
	font-size: 0;
}

body.creatilab-modern-cart table.creatilab-shop-cart thead th.product-price,
body.creatilab-modern-cart table.creatilab-shop-cart thead th.product-quantity,
body.creatilab-modern-cart table.creatilab-shop-cart thead th.product-subtotal {
	text-align: right;
}

body.creatilab-modern-cart table.creatilab-shop-cart thead th.product-info {
	text-align: left;
}

body.creatilab-modern-cart table.creatilab-shop-cart th,
body.creatilab-modern-cart table.creatilab-shop-cart td {
	border: 0;
	background: transparent;
}

body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item {
	position: relative;
	transition: background 0.2s ease;
}

body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item:hover {
	background: #fafafa;
}

body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item td {
	padding: 14px 10px;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: middle;
}

/* Remove Button */
body.creatilab-modern-cart table.creatilab-shop-cart td.product-remove {
	width: 36px;
	padding-left: 10px;
	padding-right: 4px;
}

body.creatilab-modern-cart table.creatilab-shop-cart td.product-remove a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #9ca3af !important;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	transition: all 0.2s ease;
}

body.creatilab-modern-cart table.creatilab-shop-cart td.product-remove a.remove:hover {
	background: #ef4444;
	color: #ffffff !important;
}

/* Thumbnail */
body.creatilab-modern-cart table.creatilab-shop-cart td.product-thumbnail {
	width: 90px;
}

body.creatilab-modern-cart table.creatilab-shop-cart td.product-thumbnail img {
	width: 76px;
	height: 76px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #ffffff;
}

/* Product Info */
body.creatilab-modern-cart table.creatilab-shop-cart td.product-name {
	min-width: 0;
}

body.creatilab-modern-cart .creatilab-cart-product-info {
	min-width: 0;
}

body.creatilab-modern-cart .creatilab-cart-mobile-price {
	display: none;
}

body.creatilab-modern-cart table.creatilab-shop-cart td.product-info {
	width: auto;
	min-width: 0;
	padding-left: 14px;
}

body.creatilab-modern-cart table.creatilab-shop-cart td.product-info .product-name {
	min-width: 0;
}

body.creatilab-modern-cart table.creatilab-shop-cart td.product-info .product-price {
	margin-top: 8px;
	color: #111827;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

body.creatilab-modern-cart table.creatilab-shop-cart td.product-info .product-quantity {
	margin-top: 10px;
	text-align: left;
}

body.creatilab-modern-cart .creatilab-cart-mobile-remove {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

body.creatilab-modern-cart .creatilab-cart-remove-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 32px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: #6b7280 !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
}

body.creatilab-modern-cart .woocommerce-message {
	display: none !important;
}

body.creatilab-modern-cart .creatilab-cart-shipping-row td {
	padding: 18px 0 12px !important;
	border-bottom: none !important;
	text-align: left;
}

body.creatilab-modern-cart .creatilab-shipping-time {
	width: 100%;
	height: 8px;
	margin: 0 0 12px;
	border-radius: 999px;
	background: #d1d5db;
	overflow: hidden;
}

body.creatilab-modern-cart .creatilab-subtotal-time {
	position: relative;
	height: 100%;
	min-width: 28px;
	border-radius: 999px;
	background: #6b3a5a;
	transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body.creatilab-modern-cart .creatilab-subtotal-time.free-shipping {
	background: #10b981;
}

body.creatilab-modern-cart .creatilab-total-number {
	position: absolute;
	right: 0;
	top: -999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

body.creatilab-modern-cart .creatilab-total-condition-desc {
	color: #111827;
	font-size: 14px;
	line-height: 1.55;
}

body.creatilab-modern-cart .creatilab-total-condition-desc strong {
	font-weight: 800;
}

body.creatilab-modern-cart .free-shipping-check {
	color: #10b981;
	margin-right: 6px;
}

body.creatilab-modern-cart table.creatilab-shop-cart .cart-title,
body.creatilab-modern-cart table.creatilab-shop-cart td.product-name > a {
	color: #111827;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.creatilab-modern-cart table.creatilab-shop-cart .cart-title:hover,
body.creatilab-modern-cart table.creatilab-shop-cart td.product-name > a:hover {
	text-decoration: underline;
}

body.creatilab-modern-cart table.creatilab-shop-cart .variation {
	margin: 6px 0 0;
	color: #6b7280;
	font-size: 13px;
	line-height: 1.4;
}

body.creatilab-modern-cart table.creatilab-shop-cart .variation dt,
body.creatilab-modern-cart table.creatilab-shop-cart .variation dd,
body.creatilab-modern-cart table.creatilab-shop-cart .variation p {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: inherit;
}

/* Prices */
body.creatilab-modern-cart table.creatilab-shop-cart td.product-price,
body.creatilab-modern-cart table.creatilab-shop-cart td.product-subtotal {
	color: #111827;
	font-size: 15px;
	font-weight: 600;
	text-align: right;
	white-space: nowrap;
}

body.creatilab-modern-cart table.creatilab-shop-cart td.product-subtotal {
	font-weight: 800;
}

/* Quantity */
body.creatilab-modern-cart table.creatilab-shop-cart td.product-quantity {
	width: 120px;
	text-align: right;
}

body.creatilab-modern-cart .creatilab-cart-quantity-row {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

body.creatilab-modern-cart table.creatilab-shop-cart .quantity {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

body.creatilab-modern-cart table.creatilab-shop-cart .qty {
	width: 58px;
	min-height: 36px;
	padding: 6px 8px;
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	background: #ffffff !important;
	box-shadow: none !important;
	color: #111827;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	transition: border-color 0.2s ease;
}

body.creatilab-modern-cart table.creatilab-shop-cart .qty:focus {
	border-color: #111827 !important;
	outline: none;
}

body.creatilab-modern-cart .creatilab-cart-mobile-label {
	display: none;
}

/* Actions */
body.creatilab-modern-cart table.creatilab-shop-cart td.actions {
	padding: 16px 0 0 !important;
	text-align: left !important;
	border-bottom: none !important;
}

body.creatilab-modern-cart .creatilab-cart-hidden-actions {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}

body.creatilab-modern-cart .button,
body.creatilab-modern-cart button.button,
body.creatilab-modern-cart a.button,
body.creatilab-modern-cart .checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border: 1px solid #111827 !important;
	border-radius: 6px !important;
	background: #111827 !important;
	color: #ffffff !important;
	box-shadow: none !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}

body.creatilab-modern-cart .button:hover,
body.creatilab-modern-cart button.button:hover,
body.creatilab-modern-cart a.button:hover,
body.creatilab-modern-cart .checkout-button:hover {
	background: #374151 !important;
	border-color: #374151 !important;
}

body.creatilab-modern-cart button[name="update_cart"] {
	border-color: #e5e7eb !important;
	background: #ffffff !important;
	color: #374151 !important;
}

body.creatilab-modern-cart .creatilab-cart-hidden-actions button[name="update_cart"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	border: 0 !important;
	clip: rect(0, 0, 0, 0) !important;
	overflow: hidden !important;
	white-space: nowrap !important;
}

body.creatilab-modern-cart button[name="update_cart"]:hover {
	border-color: #d1d5db !important;
	background: #f9fafb !important;
	color: #111827 !important;
}

/* Sidebar Summary */
body.creatilab-modern-cart .creatilab-cart-summary {
	display: flex;
	flex-direction: column;
}

body.creatilab-modern-cart .creatilab-cart-summary h2 {
	margin: 0 0 24px;
	color: #111827;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

body.creatilab-modern-cart .cart-collaterals,
body.creatilab-modern-cart .cart-collaterals .cart_totals,
body.creatilab-modern-cart .cart-collaterals .shipping_calculator,
body.creatilab-modern-cart .cart-collaterals .cross-sells {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	clear: none !important;
}

body.creatilab-modern-cart .cart-collaterals .cross-sells {
	display: none;
}

body.creatilab-modern-cart .creatilab-minimal-cart-totals .cart-discount,
body.creatilab-modern-cart .creatilab-minimal-cart-totals .woocommerce-shipping-totals,
body.creatilab-modern-cart .creatilab-minimal-cart-totals .shipping,
body.creatilab-modern-cart .creatilab-minimal-cart-totals .fee,
body.creatilab-modern-cart .creatilab-minimal-cart-totals .tax-rate,
body.creatilab-modern-cart .creatilab-minimal-cart-totals .tax-total {
	display: none !important;
}

body.creatilab-modern-cart .cart_totals {
	padding: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #ffffff;
	box-shadow: none;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

body.creatilab-modern-cart .cart_totals h2 {
	display: none;
}

/* Standard WooCommerce table for totals */
body.creatilab-modern-cart .cart_totals table.shop_table {
	width: 100%;
	margin: 0 !important;
	border: 0;
	background: transparent;
	table-layout: auto;
	border-collapse: collapse;
}

body.creatilab-modern-cart .cart_totals table.shop_table th,
body.creatilab-modern-cart .cart_totals table.shop_table td {
	padding: 16px 0;
	border-bottom: 1px solid #f3f4f6 !important;
	background: transparent !important;
	color: #4b5563;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	vertical-align: top;
	display: table-cell !important;
	width: auto !important;
}

body.creatilab-modern-cart .cart_totals table.shop_table td {
	color: #111827;
	text-align: right;
	font-weight: 700;
	white-space: nowrap; /* Prevents total wrapping */
}

body.creatilab-modern-cart .cart_totals small.includes_tax {
	display: none !important;
}

body.creatilab-modern-cart .cart_totals table.shop_table tr:last-child th,
body.creatilab-modern-cart .cart_totals table.shop_table tr:last-child td {
	border-bottom: 0 !important;
}

body.creatilab-modern-cart .cart_totals table.shop_table tr.order-total th,
body.creatilab-modern-cart .cart_totals table.shop_table tr.order-total td {
	padding-top: 20px;
	color: #111827;
	font-size: 18px;
	font-weight: 800;
}

body.creatilab-modern-cart .wc-proceed-to-checkout {
	margin: 0;
	padding: 0;
	width: 100%;
}

body.creatilab-modern-cart .wc-proceed-to-checkout .checkout-button {
	width: 100%;
	min-height: 52px;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

body.creatilab-modern-cart .creatilab-cart-toast {
	position: fixed;
	left: 50%;
	bottom: 20px;
	z-index: 99999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	max-width: calc(100vw - 32px);
	padding: 0 18px;
	border: 1px solid #111827;
	border-radius: 8px;
	background: #111827;
	color: #ffffff;
	box-shadow: 0 18px 40px rgba(17, 24, 39, 0.22);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, calc(100% + 28px));
	transition: opacity 0.22s ease, transform 0.22s ease;
}

body.creatilab-modern-cart .creatilab-cart-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* Hide Klarna messages on cart: they overlap the checkout CTA after lazy loading. */
body.creatilab-modern-cart klarna-placement,
body.creatilab-modern-cart .klarna-placement,
body.creatilab-modern-cart .klarna-onsite-messaging,
body.creatilab-modern-cart [data-klarna-placement],
body.creatilab-modern-cart [data-testid*="klarna"],
body.creatilab-modern-cart [id*="klarna"],
body.creatilab-modern-cart [class*="klarna"],
body.creatilab-modern-cart [data-testid*="Klarna"],
body.creatilab-modern-cart [id*="Klarna"],
body.creatilab-modern-cart [class*="Klarna"] {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	margin: 0 !important;
	clear: none !important;
}

/* Mobile & Tablet Overhaul */
@media (max-width: 980px) {
	body.creatilab-modern-cart .creatilab-cart-shell {
		display: block;
		width: 100%;
		max-width: 100%;
		min-height: 0;
		height: auto;
		margin-right: 0;
		margin-left: 0;
		background: #ffffff;
	}

	body.creatilab-modern-cart .creatilab-cart-main {
		min-height: 0;
		padding: 16px clamp(16px, 5vw, 32px) !important;
		background: transparent;
	}

	body.creatilab-modern-cart .creatilab-cart-summary {
		min-height: 0;
		height: auto;
		padding: 16px clamp(16px, 5vw, 32px) !important;
		position: static;
		background: transparent !important;
		border-left: none;
	}

	body.creatilab-modern-cart .creatilab-cart-header {
		margin-bottom: 20px;
	}

	body.creatilab-modern-cart .creatilab-cart-main h1 {
		font-size: 24px;
	}
	
	body.creatilab-modern-cart .creatilab-cart-heading {
		margin: 0 0 20px;
	}

	/* Compact two-column product row on mobile */
	body.creatilab-modern-cart table.creatilab-shop-cart {
		border-spacing: 0 10px;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart thead {
		display: none;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item {
		display: grid !important;
		grid-template-columns: 88px minmax(0, 1fr);
		column-gap: 14px;
		row-gap: 0;
		align-items: start !important;
		position: relative;
		padding: 14px 12px 0;
		border: 1px solid #e5e7eb;
		border-radius: 8px;
		background: #ffffff;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item:hover {
		background: #ffffff;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item td {
		display: block !important;
		width: 100% !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		text-align: left !important;
	}

	/* Thumbnail positioning */
	body.creatilab-modern-cart table.creatilab-shop-cart td.product-thumbnail {
		grid-column: 1;
		grid-row: 1 / span 2;
		width: 88px !important;
		max-width: 88px !important;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart td.product-thumbnail img {
		width: 88px;
		height: 88px;
		aspect-ratio: 1 / 1;
		object-fit: cover;
		border-radius: 8px;
	}

	/* Title and variations */
	body.creatilab-modern-cart table.creatilab-shop-cart td.product-info {
		grid-column: 2;
		grid-row: 1 / span 2;
		display: flex !important;
		flex-direction: column;
		align-items: flex-start;
		min-width: 0;
		padding-left: 0 !important;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart td.product-info .cart-title {
		font-size: 16px;
		line-height: 1.25;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart .variation {
		margin-top: 4px;
		font-size: 13px;
		line-height: 1.3;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart td.product-info .product-price {
		margin-top: 6px;
		margin-bottom: 0;
		color: #111827;
		font-size: 14px;
		font-weight: 500;
		line-height: 1.2;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart td.product-remove {
		display: none !important;
	}

	/* Quantity - compact row */
	body.creatilab-modern-cart table.creatilab-shop-cart td.product-info .product-quantity {
		display: flex !important;
		align-items: center;
		justify-content: flex-start;
		margin-top: 8px;
	}

	body.creatilab-modern-cart .creatilab-cart-quantity-row {
		display: flex;
		flex-direction: row;
		align-items: center;
		width: 100%;
		gap: 8px;
		flex-wrap: nowrap;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart .qty {
		width: 56px;
		min-height: 32px;
		padding: 4px 6px;
		font-size: 13px;
	}

	body.creatilab-modern-cart .creatilab-cart-mobile-remove {
		display: inline-flex;
		align-items: center;
		margin-left: 2px;
		width: auto;
		flex: 0 0 auto;
	}

	body.creatilab-modern-cart .creatilab-cart-mobile-remove .creatilab-cart-remove-text {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: auto;
		height: 28px;
		padding: 0;
		border-radius: 0;
		background: transparent !important;
		color: #6b7280 !important;
		font-size: 12px;
		font-weight: 700;
		line-height: 1;
		text-decoration: none;
		text-transform: none;
		white-space: nowrap;
	}

	body.creatilab-modern-cart .creatilab-cart-mobile-remove .creatilab-cart-remove-text:hover {
		background: transparent !important;
		color: #ef4444 !important;
	}

	/* Hidden elements on mobile - specificity must beat tr.cart_item td (0,3,4) */
	body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item td.hidden-mobile,
	body.creatilab-modern-cart table.creatilab-shop-cart tr td.hidden-mobile {
		display: none !important;
		visibility: hidden !important;
		max-height: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		overflow: hidden !important;
	}

	body.creatilab-modern-cart .creatilab-cart-mobile-label {
		display: inline-flex;
		flex: 0 0 auto;
		color: #6b7280;
		font-size: 11px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart td.actions > .button {
		width: 100%;
	}

	body.creatilab-modern-cart .cart_totals {
		padding: 20px;
		overflow: hidden;
	}

	body.creatilab-modern-cart .cart_totals table.shop_table {
		table-layout: fixed;
		width: 100%;
	}

	body.creatilab-modern-cart .cart_totals table.shop_table th,
	body.creatilab-modern-cart .cart_totals table.shop_table td {
		word-break: break-word;
		overflow-wrap: break-word;
	}
}

@media (max-width: 480px) {
	body.creatilab-modern-cart .creatilab-cart-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	body.creatilab-modern-cart .creatilab-cart-header {
		align-items: center;
		flex-direction: row;
		gap: 8px;
	}
	
	body.creatilab-modern-cart .creatilab-cart-brand img {
		max-width: 110px;
	}
	
	body.creatilab-modern-cart .creatilab-cart-return {
		font-size: 13px;
		text-align: right;
	}
}

/* Ensure WooCommerce data-title pseudo-elements don't mess up our layout */
body.creatilab-modern-cart table.shop_table_responsive tr td::before,
body.creatilab-modern-cart table.shop_table_responsive tr th::before {
	display: none !important;
}

@media (max-width: 980px) {
	body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item > td.product-remove {
		display: none !important;
		visibility: hidden !important;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item td.product-info .product-quantity .creatilab-cart-quantity-row {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		gap: 10px !important;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item td.product-info .product-quantity .creatilab-cart-mobile-remove {
		display: inline-flex !important;
		align-items: center !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		flex: 0 0 auto !important;
	}

	body.creatilab-modern-cart table.creatilab-shop-cart tr.cart_item td.product-info .product-quantity .creatilab-cart-remove-text {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: auto !important;
		height: auto !important;
		min-height: 32px !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: #6b7280 !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		line-height: 1 !important;
		text-decoration: none !important;
		text-transform: none !important;
		white-space: nowrap !important;
	}
}
