/**
 * Meble DANA Shop UI v1.3.0
 * Scope: WooCommerce notices, checkout login toggle and cart page.
 */

:root {
	--mdc-shop-red: #d71920;
	--mdc-shop-red-dark: #b9141b;
	--mdc-shop-red-soft: #fff5f5;
	--mdc-shop-red-line: #f1c8ca;
	--mdc-shop-text: #17191d;
	--mdc-shop-muted: #666b73;
	--mdc-shop-line: #e2e4e8;
	--mdc-shop-card: #fff;
	--mdc-shop-radius: 14px;
	--mdc-shop-shadow: 0 10px 28px rgba(20, 23, 28, .055);
}

/* ---------------------------------------------------------
 * WooCommerce messages: red Meble DANA visual language.
 * --------------------------------------------------------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	position: relative !important;
	box-sizing: border-box !important;
	margin: 0 0 22px !important;
	padding: 17px 170px 17px 52px !important;
	border: 1px solid var(--mdc-shop-red-line) !important;
	border-top: 3px solid var(--mdc-shop-red) !important;
	border-radius: 12px !important;
	background: var(--mdc-shop-red-soft) !important;
	box-shadow: none !important;
	color: var(--mdc-shop-text) !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	top: 50% !important;
	left: 18px !important;
	color: var(--mdc-shop-red) !important;
	transform: translateY(-50%) !important;
}

.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button) {
	color: var(--mdc-shop-red) !important;
	font-weight: 700 !important;
	text-decoration: underline !important;
	text-decoration-thickness: 1px !important;
	text-underline-offset: 2px !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	position: absolute !important;
	top: 50% !important;
	right: 16px !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 1px solid var(--mdc-shop-red) !important;
	border-radius: 9px !important;
	background: var(--mdc-shop-red) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 40px !important;
	text-decoration: none !important;
	text-transform: none !important;
	transform: translateY(-50%) !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
	border-color: var(--mdc-shop-red-dark) !important;
	background: var(--mdc-shop-red-dark) !important;
	color: #fff !important;
}

/* Checkout: returning customer toggle. */
.woocommerce-checkout .woocommerce-form-login-toggle {
	width: min(1180px, calc(100% - 32px)) !important;
	margin: 0 auto 18px !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
	padding-right: 18px !important;
	border-color: #efd4d5 !important;
	border-top-color: var(--mdc-shop-red) !important;
	background: #fff8f8 !important;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a {
	color: var(--mdc-shop-red) !important;
}

.woocommerce-checkout form.login {
	width: min(1180px, calc(100% - 32px)) !important;
	margin: -4px auto 22px !important;
	padding: 22px !important;
	border: 1px solid var(--mdc-shop-line) !important;
	border-radius: var(--mdc-shop-radius) !important;
	background: #fff !important;
	box-shadow: var(--mdc-shop-shadow) !important;
}

.woocommerce-checkout form.login .button {
	border-color: var(--mdc-shop-red) !important;
	background: var(--mdc-shop-red) !important;
	color: #fff !important;
}

/* ---------------------------------------------------------
 * Cart page: same card language and proportions as checkout.
 * --------------------------------------------------------- */
body.woocommerce-cart .mdc-page,
body.woocommerce-cart .mdc-page .mdc-entry {
	width: min(1180px, calc(100% - 32px)) !important;
	max-width: 1180px !important;
}

body.woocommerce-cart .mdc-page {
	padding-top: 30px !important;
	padding-bottom: 58px !important;
}

body.woocommerce-cart .mdc-entry {
	margin: 0 auto !important;
	text-align: left !important;
}

body.woocommerce-cart .mdc-entry > h1 {
	margin: 0 0 22px !important;
	padding: 0 0 16px !important;
	border-bottom: 1px solid var(--mdc-shop-line) !important;
	color: var(--mdc-shop-text) !important;
	font-size: clamp(28px, 3vw, 38px) !important;
	font-weight: 750 !important;
	line-height: 1.12 !important;
	text-align: left !important;
}

body.woocommerce-cart .mdc-entry > .woocommerce {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 370px !important;
	gap: 24px !important;
	align-items: start !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-form-coupon-toggle {
	grid-column: 1 / -1 !important;
}

body.woocommerce-cart form.woocommerce-cart-form {
	grid-column: 1 !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 20px !important;
	border: 1px solid var(--mdc-shop-line) !important;
	border-radius: var(--mdc-shop-radius) !important;
	background: var(--mdc-shop-card) !important;
	box-shadow: var(--mdc-shop-shadow) !important;
}

body.woocommerce-cart .cart-collaterals {
	grid-column: 2 !important;
	width: auto !important;
	margin: 0 !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	float: none !important;
	position: sticky !important;
	top: 18px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	margin: 0 !important;
	padding: 20px !important;
	border: 1px solid var(--mdc-shop-line) !important;
	border-radius: var(--mdc-shop-radius) !important;
	background: var(--mdc-shop-card) !important;
	box-shadow: var(--mdc-shop-shadow) !important;
}

body.woocommerce-cart .cart_totals h2 {
	margin: 0 0 14px !important;
	padding: 0 0 14px !important;
	border-bottom: 1px solid var(--mdc-shop-line) !important;
	color: var(--mdc-shop-text) !important;
	font-size: 20px !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
	text-align: left !important;
}

body.woocommerce-cart table.shop_table,
body.woocommerce-cart .cart_totals table.shop_table {
	width: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.woocommerce-cart table.shop_table thead th {
	padding: 0 12px 13px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--mdc-shop-line) !important;
	background: transparent !important;
	color: var(--mdc-shop-muted) !important;
	font-size: 12px !important;
	font-weight: 750 !important;
	letter-spacing: .035em !important;
	text-transform: uppercase !important;
}

body.woocommerce-cart table.shop_table td,
body.woocommerce-cart table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td,
body.woocommerce-cart .cart_totals table.shop_table th {
	box-sizing: border-box !important;
	border: 0 !important;
	border-bottom: 1px solid #eceef1 !important;
	background: transparent !important;
	color: var(--mdc-shop-text) !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	vertical-align: middle !important;
}

body.woocommerce-cart table.shop_table td {
	padding: 18px 12px !important;
}

body.woocommerce-cart table.shop_table tr.cart_item:last-of-type td {
	border-bottom-color: var(--mdc-shop-line) !important;
}

body.woocommerce-cart td.product-remove {
	width: 34px !important;
	padding-right: 2px !important;
	padding-left: 2px !important;
}

body.woocommerce-cart a.remove {
	display: inline-grid !important;
	place-items: center !important;
	width: 28px !important;
	height: 28px !important;
	border: 1px solid #efc7c9 !important;
	border-radius: 50% !important;
	background: #fff7f7 !important;
	color: var(--mdc-shop-red) !important;
	font-size: 19px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
}

body.woocommerce-cart a.remove:hover {
	border-color: var(--mdc-shop-red) !important;
	background: var(--mdc-shop-red) !important;
	color: #fff !important;
}

body.woocommerce-cart td.product-thumbnail {
	width: 106px !important;
	min-width: 106px !important;
}

body.woocommerce-cart td.product-thumbnail a {
	display: grid !important;
	place-items: center !important;
	width: 88px !important;
	height: 88px !important;
	margin: 0 auto !important;
	border: 1px solid #eceef1 !important;
	border-radius: 10px !important;
	background: #fff !important;
	overflow: hidden !important;
}

body.woocommerce-cart td.product-thumbnail img {
	display: block !important;
	width: 84px !important;
	height: 84px !important;
	max-width: 84px !important;
	object-fit: contain !important;
}

body.woocommerce-cart td.product-name {
	min-width: 230px !important;
}

body.woocommerce-cart td.product-name > a {
	color: var(--mdc-shop-text) !important;
	font-size: 16px !important;
	font-weight: 750 !important;
	line-height: 1.3 !important;
	text-decoration: none !important;
}

body.woocommerce-cart td.product-name > a:hover {
	color: var(--mdc-shop-red) !important;
}

body.woocommerce-cart td.product-name .variation,
body.woocommerce-cart td.product-name .tc-epo-metadata {
	display: grid !important;
	grid-template-columns: max-content minmax(0, 1fr) !important;
	gap: 3px 8px !important;
	max-width: 430px !important;
	margin: 8px 0 0 !important;
	color: var(--mdc-shop-muted) !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

body.woocommerce-cart td.product-name .variation dt,
body.woocommerce-cart td.product-name .variation dd,
body.woocommerce-cart td.product-name .tc-epo-metadata dt,
body.woocommerce-cart td.product-name .tc-epo-metadata dd {
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart td.product-name .variation dt,
body.woocommerce-cart td.product-name .tc-epo-metadata dt {
	font-weight: 700 !important;
}

body.woocommerce-cart td.product-name .variation p,
body.woocommerce-cart td.product-name .tc-epo-metadata p {
	margin: 0 !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

body.woocommerce-cart .tm-cart-edit-options {
	display: inline-block !important;
	margin-top: 7px !important;
	color: var(--mdc-shop-red) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
}

body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal {
	white-space: nowrap !important;
	font-weight: 700 !important;
}

body.woocommerce-cart td.product-subtotal {
	color: var(--mdc-shop-red) !important;
}

body.woocommerce-cart .quantity .qty {
	width: 70px !important;
	height: 42px !important;
	padding: 0 8px !important;
	border: 1px solid #d8dbe0 !important;
	border-radius: 8px !important;
	background: #fff !important;
	font-size: 15px !important;
	text-align: center !important;
}

body.woocommerce-cart td.actions {
	padding: 18px 0 0 !important;
	border-bottom: 0 !important;
}

body.woocommerce-cart td.actions .coupon {
	display: flex !important;
	align-items: stretch !important;
	gap: 8px !important;
}

body.woocommerce-cart td.actions .coupon .input-text {
	float: none !important;
	width: 210px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid #d8dbe0 !important;
	border-radius: 8px !important;
	font-size: 14px !important;
}

body.woocommerce-cart td.actions .button,
body.woocommerce-cart button[name="update_cart"] {
	min-height: 44px !important;
	padding: 0 16px !important;
	border: 1px solid #3e4146 !important;
	border-radius: 8px !important;
	background: #3e4146 !important;
	color: #fff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 42px !important;
	text-transform: none !important;
}

body.woocommerce-cart td.actions .button:hover,
body.woocommerce-cart button[name="update_cart"]:hover {
	border-color: var(--mdc-shop-red) !important;
	background: var(--mdc-shop-red) !important;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
	padding: 13px 0 !important;
	font-size: 14px !important;
}

body.woocommerce-cart .cart_totals table.shop_table th {
	width: 38% !important;
	font-weight: 700 !important;
	text-align: left !important;
}

body.woocommerce-cart .cart_totals table.shop_table td {
	text-align: right !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
	padding-top: 17px !important;
	border-bottom: 0 !important;
	color: var(--mdc-shop-text) !important;
	font-size: 19px !important;
	font-weight: 800 !important;
}

body.woocommerce-cart .cart_totals .order-total td,
body.woocommerce-cart .cart_totals .order-total .amount {
	color: var(--mdc-shop-red) !important;
	font-size: 22px !important;
}

body.woocommerce-cart .cart_totals ul#shipping_method {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.woocommerce-cart .cart_totals ul#shipping_method li {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

body.woocommerce-cart .cart_totals ul#shipping_method li:last-child {
	margin-bottom: 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout {
	padding: 18px 0 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 52px !important;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 1px solid var(--mdc-shop-red) !important;
	border-radius: 9px !important;
	background: var(--mdc-shop-red) !important;
	box-shadow: 0 9px 20px rgba(215, 25, 32, .16) !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 750 !important;
	line-height: 1.25 !important;
	text-align: center !important;
	text-transform: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
	border-color: var(--mdc-shop-red-dark) !important;
	background: var(--mdc-shop-red-dark) !important;
	color: #fff !important;
}

body.woocommerce-cart .cross-sells {
	grid-column: 1 / -1 !important;
	margin-top: 8px !important;
}

body.woocommerce-cart .cross-sells > h2 {
	font-size: 22px !important;
	text-align: left !important;
}

body.woocommerce-cart .return-to-shop .button {
	border-color: var(--mdc-shop-red) !important;
	background: var(--mdc-shop-red) !important;
	color: #fff !important;
}

@media (max-width: 960px) {
	body.woocommerce-cart .mdc-entry > .woocommerce {
		grid-template-columns: 1fr !important;
	}

	body.woocommerce-cart form.woocommerce-cart-form,
	body.woocommerce-cart .cart-collaterals {
		grid-column: 1 !important;
	}

	body.woocommerce-cart .cart-collaterals .cart_totals {
		position: static !important;
	}
}

@media (max-width: 700px) {
	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error {
		padding: 15px 16px 15px 46px !important;
	}

	.woocommerce-message .button,
	.woocommerce-info .button,
	.woocommerce-error .button {
		position: static !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		margin-top: 12px !important;
		transform: none !important;
	}

	body.woocommerce-cart .mdc-page,
	body.woocommerce-cart .mdc-page .mdc-entry,
	.woocommerce-checkout .woocommerce-form-login-toggle,
	.woocommerce-checkout form.login {
		width: calc(100% - 24px) !important;
	}

	body.woocommerce-cart .mdc-page {
		padding-top: 20px !important;
	}

	body.woocommerce-cart form.woocommerce-cart-form,
	body.woocommerce-cart .cart-collaterals .cart_totals {
		padding: 14px !important;
	}

	body.woocommerce-cart table.shop_table thead {
		display: none !important;
	}

	body.woocommerce-cart table.shop_table tbody,
	body.woocommerce-cart table.shop_table tr,
	body.woocommerce-cart table.shop_table td {
		display: block !important;
		width: 100% !important;
	}

	body.woocommerce-cart table.shop_table tr.cart_item {
		position: relative !important;
		padding: 14px 0 !important;
		border-bottom: 1px solid var(--mdc-shop-line) !important;
	}

	body.woocommerce-cart table.shop_table tr.cart_item td {
		min-width: 0 !important;
		padding: 5px 0 !important;
		border: 0 !important;
		text-align: left !important;
	}

	body.woocommerce-cart td.product-remove {
		position: absolute !important;
		top: 14px !important;
		right: 0 !important;
		z-index: 2 !important;
		width: auto !important;
	}

	body.woocommerce-cart td.product-thumbnail {
		width: 100% !important;
		padding-right: 40px !important;
	}

	body.woocommerce-cart td.product-thumbnail a {
		width: 112px !important;
		height: 92px !important;
		margin: 0 !important;
	}

	body.woocommerce-cart td.product-thumbnail img {
		width: 108px !important;
		height: 88px !important;
		max-width: 108px !important;
	}

	body.woocommerce-cart td.product-name {
		padding-top: 8px !important;
	}

	body.woocommerce-cart td.product-price::before,
	body.woocommerce-cart td.product-quantity::before,
	body.woocommerce-cart td.product-subtotal::before {
		display: inline-block !important;
		min-width: 82px !important;
		margin-right: 8px !important;
		color: var(--mdc-shop-muted) !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		text-transform: uppercase !important;
	}

	body.woocommerce-cart td.product-price::before { content: "Cena:" !important; }
	body.woocommerce-cart td.product-quantity::before { content: "Ilość:" !important; }
	body.woocommerce-cart td.product-subtotal::before { content: "Razem:" !important; }

	body.woocommerce-cart td.actions {
		padding-top: 16px !important;
	}

	body.woocommerce-cart td.actions .coupon {
		display: grid !important;
		grid-template-columns: 1fr !important;
	}

	body.woocommerce-cart td.actions .coupon .input-text,
	body.woocommerce-cart td.actions .coupon .button,
	body.woocommerce-cart td.actions > .button {
		float: none !important;
		width: 100% !important;
	}

	body.woocommerce-cart td.actions > .button {
		margin-top: 8px !important;
	}
}


/* ---------------------------------------------------------
 * V1.1: focus, subtle cart edit link and longer consent copy.
 * --------------------------------------------------------- */
.woocommerce-message:focus,
.woocommerce-message:focus-visible,
.woocommerce-info:focus,
.woocommerce-info:focus-visible,
.woocommerce-error:focus,
.woocommerce-error:focus-visible {
	outline: 0 !important;
	box-shadow: 0 0 0 2px rgba(215, 25, 32, .10) !important;
}

body.woocommerce-cart .tm-cart-edit-options {
	display: inline !important;
	margin: 0 0 0 7px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #8b6264 !important;
	font-size: 11px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
	text-transform: none !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .tm-cart-edit-options:hover,
body.woocommerce-cart .tm-cart-edit-options:focus,
body.woocommerce-cart .tm-cart-edit-options:focus-visible {
	outline: 0 !important;
	background: transparent !important;
	color: var(--mdc-shop-red) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}

body:has(.mdc-checkout-v11) .mdc-v11-consent-copy {
	line-height: 1.55 !important;
}

/* ---------------------------------------------------------
 * V1.2: calmer cart typography, larger thumbnail and P24 copy.
 * --------------------------------------------------------- */
body.woocommerce-cart table.shop_table thead th {
	font-weight: 600 !important;
}

body.woocommerce-cart td.product-name > a {
	font-size: 15px !important;
	font-weight: 600 !important;
}

body.woocommerce-cart td.product-name .variation dt,
body.woocommerce-cart td.product-name .tc-epo-metadata dt {
	font-weight: 500 !important;
}

body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal {
	font-weight: 600 !important;
}

body.woocommerce-cart .cart_totals table.shop_table th {
	font-weight: 600 !important;
}

body.woocommerce-cart .cart_totals ul#shipping_method li label {
	font-weight: 400 !important;
}

body.woocommerce-cart .cart_totals ul#shipping_method li input:checked + label {
	font-weight: 600 !important;
}

body.woocommerce-cart td.product-thumbnail {
	width: 128px !important;
	min-width: 128px !important;
	vertical-align: top !important;
}

body.woocommerce-cart td.product-thumbnail > a {
	width: 108px !important;
	height: 88px !important;
}

body.woocommerce-cart td.product-thumbnail > a img {
	width: 104px !important;
	height: 84px !important;
	max-width: 104px !important;
}

body.woocommerce-cart .mdc-cart-edit-link {
	width: 108px !important;
	margin: 5px auto 0 !important;
	text-align: center !important;
	line-height: 1 !important;
}

body.woocommerce-cart .mdc-cart-edit-link .tm-cart-edit-options {
	display: inline-block !important;
	margin: 0 !important;
	padding: 0 !important;
	color: #8a8e95 !important;
	font-size: 9.5px !important;
	font-weight: 400 !important;
	font-style: normal !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-decoration: none !important;
}

body.woocommerce-cart .mdc-cart-edit-link .tm-cart-edit-options:hover,
body.woocommerce-cart .mdc-cart-edit-link .tm-cart-edit-options:focus-visible {
	color: var(--mdc-shop-red) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
}

body:has(.mdc-checkout-v11) .payment_method_przelewy24 .mdc-shop-p24-copy,
body.woocommerce-checkout .payment_method_przelewy24 .mdc-shop-p24-copy {
	margin: 0 0 8px !important;
	color: #555b63 !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
}

body:has(.mdc-checkout-v11) .payment_method_przelewy24 .mdc-shop-p24-copy strong,
body.woocommerce-checkout .payment_method_przelewy24 .mdc-shop-p24-copy strong {
	color: #17191d !important;
	font-weight: 800 !important;
}

@media (max-width: 700px) {
	body.woocommerce-cart td.product-thumbnail {
		width: 100% !important;
		min-width: 0 !important;
	}

	body.woocommerce-cart td.product-thumbnail > a {
		width: 118px !important;
		height: 94px !important;
		margin: 0 !important;
	}

	body.woocommerce-cart td.product-thumbnail > a img {
		width: 114px !important;
		height: 90px !important;
		max-width: 114px !important;
	}

	body.woocommerce-cart .mdc-cart-edit-link {
		width: 118px !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}


/* ---------------------------------------------------------
 * V1.3: cart thumbnail cleanup, checkout alignment and mobile logo.
 * --------------------------------------------------------- */

/* Cart: one clean, larger thumbnail without a second framed box. */
body.woocommerce-cart td.product-thumbnail {
	width: 166px !important;
	min-width: 166px !important;
	padding-right: 16px !important;
	vertical-align: top !important;
}

body.woocommerce-cart td.product-thumbnail > a {
	display: block !important;
	width: 146px !important;
	height: 108px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: hidden !important;
}

body.woocommerce-cart td.product-thumbnail > a img {
	display: block !important;
	width: 146px !important;
	height: 108px !important;
	max-width: 146px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	object-fit: cover !important;
}

body.woocommerce-cart td.product-thumbnail .mdc-cart-edit-link {
	display: block !important;
	width: 146px !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 6px auto 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-align: center !important;
	overflow: visible !important;
}

/* Override the theme's broad "thumbnail a" styling for the edit link. */
body.woocommerce-cart td.product-thumbnail .mdc-cart-edit-link > a.tm-cart-edit-options {
	display: inline !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #848991 !important;
	font-size: 9px !important;
	font-weight: 400 !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
}

body.woocommerce-cart td.product-thumbnail .mdc-cart-edit-link > a.tm-cart-edit-options:hover,
body.woocommerce-cart td.product-thumbnail .mdc-cart-edit-link > a.tm-cart-edit-options:focus-visible {
	color: var(--mdc-shop-red) !important;
	text-decoration: underline !important;
	text-underline-offset: 2px !important;
	outline: 0 !important;
}

/* Checkout: left and right columns start on exactly the same horizontal line. */
body:has(.mdc-checkout-v11) .mdc-v11-layout {
	align-items: start !important;
}

body:has(.mdc-checkout-v11) .mdc-v11-main,
body:has(.mdc-checkout-v11) .mdc-v11-sidebar,
body:has(.mdc-checkout-v11) .mdc-v11-customer-details,
body:has(.mdc-checkout-v11) .mdc-v11-billing,
body:has(.mdc-checkout-v11) .woocommerce-billing-fields,
body:has(.mdc-checkout-v11) .mdc-v11-card--buyer,
body:has(.mdc-checkout-v11) .mdc-v11-order-card {
	align-self: start !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Restore the card's own intended padding after neutralising wrapper spacing. */
body:has(.mdc-checkout-v11) .mdc-v11-card--buyer {
	padding: 20px !important;
}
body:has(.mdc-checkout-v11) .mdc-v11-order-card {
	padding: 18px 18px 14px !important;
}

/* Give delivery more room than payment on desktop. */
body:has(.mdc-checkout-v11) .mdc-v11-fulfilment {
	grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr) !important;
	gap: 16px !important;
}

/* Mobile header: optical centring of the logo. */
@media (max-width: 640px) {
	body.theme-meble-dana-classic .mdc-container.mdc-header-top,
	body .mdc-container.mdc-header-top {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
	}

	body.theme-meble-dana-classic .mdc-header-top .mdc-logo,
	body .mdc-header-top .mdc-logo {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		float: none !important;
		margin-right: auto !important;
		margin-left: auto !important;
		transform: translateX(-4px) !important;
	}

	body.theme-meble-dana-classic .mdc-header-top .mdc-logo img,
	body .mdc-header-top .mdc-logo img {
		display: block !important;
		margin-right: auto !important;
		margin-left: auto !important;
	}
}

@media (max-width: 900px) {
	body:has(.mdc-checkout-v11) .mdc-v11-fulfilment {
		display: flex !important;
		flex-direction: column !important;
	}
}

@media (max-width: 700px) {
	body.woocommerce-cart td.product-thumbnail {
		width: 100% !important;
		min-width: 0 !important;
		padding-right: 0 !important;
	}

	body.woocommerce-cart td.product-thumbnail > a {
		width: 150px !important;
		height: 112px !important;
		margin: 0 !important;
	}

	body.woocommerce-cart td.product-thumbnail > a img {
		width: 150px !important;
		height: 112px !important;
		max-width: 150px !important;
	}

	body.woocommerce-cart td.product-thumbnail .mdc-cart-edit-link {
		width: 150px !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}

/* ---------------------------------------------------------
 * V1.4: full cart thumbnail, better vertical alignment and
 * exact checkout column alignment.
 * --------------------------------------------------------- */

/* Cart thumbnail: show the complete product image, slightly larger. */
body.woocommerce-cart td.product-thumbnail {
	width: 180px !important;
	min-width: 180px !important;
	padding-top: 18px !important;
	padding-right: 18px !important;
	padding-bottom: 18px !important;
	vertical-align: middle !important;
}

body.woocommerce-cart td.product-thumbnail > a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 160px !important;
	height: 120px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.woocommerce-cart td.product-thumbnail > a img {
	display: block !important;
	width: 160px !important;
	height: 120px !important;
	max-width: 160px !important;
	max-height: 120px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 7px !important;
	background: transparent !important;
	box-shadow: none !important;
	object-fit: contain !important;
	object-position: center center !important;
}

body.woocommerce-cart td.product-thumbnail .mdc-cart-edit-link {
	width: 160px !important;
	margin: 7px auto 0 !important;
	line-height: 1.2 !important;
}

body.woocommerce-cart td.product-thumbnail .mdc-cart-edit-link > a.tm-cart-edit-options {
	font-size: 10px !important;
	line-height: 1.25 !important;
}

/* Keep product copy vertically aligned with the image block. */
body.woocommerce-cart td.product-name,
body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-quantity,
body.woocommerce-cart td.product-subtotal {
	vertical-align: middle !important;
}

/* Checkout: keep both columns on exactly the same top line.
 * The sidebar is intentionally no longer sticky: sticky positioning made the
 * right column appear higher after even a small vertical scroll. */
@media (min-width: 901px) {
	body:has(.mdc-checkout-v11) .mdc-v11-layout {
		align-items: start !important;
	}

	body:has(.mdc-checkout-v11) .mdc-v11-main,
	body:has(.mdc-checkout-v11) .mdc-v11-sidebar,
	body:has(.mdc-checkout-v11) .mdc-v11-main > #customer_details,
	body:has(.mdc-checkout-v11) #customer_details.mdc-v11-customer-details,
	body:has(.mdc-checkout-v11) .woocommerce-billing-fields,
	body:has(.mdc-checkout-v11) .mdc-v11-card--buyer,
	body:has(.mdc-checkout-v11) .mdc-v11-sidebar > .mdc-v11-order-card {
		margin-top: 0 !important;
		padding-top: 0 !important;
		transform: none !important;
	}

	body:has(.mdc-checkout-v11) .mdc-v11-sidebar {
		position: static !important;
		top: auto !important;
		align-self: start !important;
	}

	/* Restore card padding after neutralising wrapper offsets. */
	body:has(.mdc-checkout-v11) .mdc-v11-card--buyer {
		padding: 20px !important;
	}

	body:has(.mdc-checkout-v11) .mdc-v11-sidebar > .mdc-v11-order-card {
		padding: 18px 18px 14px !important;
	}
}

@media (max-width: 700px) {
	body.woocommerce-cart td.product-thumbnail {
		width: 100% !important;
		min-width: 0 !important;
		padding: 6px 42px 6px 0 !important;
		vertical-align: top !important;
	}

	body.woocommerce-cart td.product-thumbnail > a {
		width: 164px !important;
		height: 122px !important;
		margin: 0 !important;
	}

	body.woocommerce-cart td.product-thumbnail > a img {
		width: 164px !important;
		height: 122px !important;
		max-width: 164px !important;
		max-height: 122px !important;
	}

	body.woocommerce-cart td.product-thumbnail .mdc-cart-edit-link {
		width: 164px !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}

/* ---------------------------------------------------------
 * V1.5: exact checkout top alignment and corrected cart row.
 * --------------------------------------------------------- */

/* WooCommerce inserts a custom element containing only hidden attribution
 * inputs before the billing card. It was still a grid item and therefore
 * created one empty 18px grid gap above "Dane kupującego". Hiding the
 * wrapper keeps all hidden inputs in the form but removes that visual gap. */
body:has(.mdc-checkout-v11) #customer_details.mdc-v11-customer-details > wc-order-attribution-inputs,
body:has(.mdc-checkout-v11) .mdc-v11-customer-details > wc-order-attribution-inputs {
	display: none !important;
}

@media (min-width: 901px) {
	body:has(.mdc-checkout-v11) .mdc-v11-layout,
	body:has(.mdc-checkout-v11) .mdc-v11-main,
	body:has(.mdc-checkout-v11) .mdc-v11-sidebar,
	body:has(.mdc-checkout-v11) #customer_details.mdc-v11-customer-details,
	body:has(.mdc-checkout-v11) .mdc-v11-card--buyer,
	body:has(.mdc-checkout-v11) .mdc-v11-order-card {
		margin-top: 0 !important;
		transform: none !important;
	}
}

/* Cart: the product photo and product copy start on the same line. */
body.woocommerce-cart tr.cart_item td.product-thumbnail,
body.woocommerce-cart tr.cart_item td.product-name {
	padding-top: 20px !important;
	vertical-align: top !important;
}

body.woocommerce-cart tr.cart_item td.product-thumbnail {
	width: 198px !important;
	min-width: 198px !important;
	padding-right: 18px !important;
	padding-bottom: 20px !important;
}

body.woocommerce-cart tr.cart_item td.product-thumbnail > a:first-of-type {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 178px !important;
	height: 134px !important;
	min-width: 178px !important;
	min-height: 134px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.woocommerce-cart tr.cart_item td.product-thumbnail > a:first-of-type img {
	display: block !important;
	width: 178px !important;
	height: 134px !important;
	min-width: 178px !important;
	min-height: 134px !important;
	max-width: 178px !important;
	max-height: 134px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 7px !important;
	background: transparent !important;
	box-shadow: none !important;
	object-fit: contain !important;
	object-position: center center !important;
}

body.woocommerce-cart tr.cart_item td.product-thumbnail .mdc-cart-edit-link {
	width: 178px !important;
	margin: 8px auto 0 !important;
	text-align: center !important;
}

body.woocommerce-cart tr.cart_item td.product-thumbnail .mdc-cart-edit-link > a.tm-cart-edit-options {
	font-size: 11px !important;
	line-height: 1.3 !important;
}

/* Price, quantity and subtotal remain centred against the full product row. */
body.woocommerce-cart tr.cart_item td.product-price,
body.woocommerce-cart tr.cart_item td.product-quantity,
body.woocommerce-cart tr.cart_item td.product-subtotal {
	vertical-align: middle !important;
}

@media (max-width: 900px) and (min-width: 701px) {
	body.woocommerce-cart tr.cart_item td.product-thumbnail {
		width: 164px !important;
		min-width: 164px !important;
	}
	body.woocommerce-cart tr.cart_item td.product-thumbnail > a:first-of-type,
	body.woocommerce-cart tr.cart_item td.product-thumbnail > a:first-of-type img,
	body.woocommerce-cart tr.cart_item td.product-thumbnail .mdc-cart-edit-link {
		width: 146px !important;
		min-width: 146px !important;
		max-width: 146px !important;
	}
	body.woocommerce-cart tr.cart_item td.product-thumbnail > a:first-of-type,
	body.woocommerce-cart tr.cart_item td.product-thumbnail > a:first-of-type img {
		height: 110px !important;
		min-height: 110px !important;
		max-height: 110px !important;
	}
}

@media (max-width: 700px) {
	body.woocommerce-cart tr.cart_item td.product-thumbnail,
	body.woocommerce-cart tr.cart_item td.product-name {
		padding-top: 8px !important;
	}
	body.woocommerce-cart tr.cart_item td.product-thumbnail {
		width: 100% !important;
		min-width: 0 !important;
		padding-right: 0 !important;
	}
	body.woocommerce-cart tr.cart_item td.product-thumbnail > a:first-of-type,
	body.woocommerce-cart tr.cart_item td.product-thumbnail > a:first-of-type img {
		width: 170px !important;
		height: 128px !important;
		min-width: 170px !important;
		min-height: 128px !important;
		max-width: 170px !important;
		max-height: 128px !important;
	}
	body.woocommerce-cart tr.cart_item td.product-thumbnail .mdc-cart-edit-link {
		width: 170px !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
}


/* ---------------------------------------------------------
 * V1.6: definitive checkout top alignment.
 * --------------------------------------------------------- */
/* In current WooCommerce, the attribution web component can be printed by
 * woocommerce_checkout_before_customer_details, therefore it may become a
 * direct, invisible grid item of .mdc-v11-main. With an 18px grid gap this
 * pushed the entire left column down by exactly 18px. Remove it from layout
 * regardless of whether WooCommerce places it before or inside customer_details. */
body:has(.mdc-checkout-v11) .mdc-v11-main > wc-order-attribution-inputs,
body:has(.mdc-checkout-v11) .mdc-v11-main wc-order-attribution-inputs,
body:has(.mdc-checkout-v11) .mdc-v11-main > .wc-order-attribution-inputs {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

@media (min-width: 901px) {
	/* Do not use a row-gap on the main wrapper: only real visual sections
	 * receive spacing. This makes the first buyer card and order card share
	 * exactly the same top coordinate even if another invisible hook output
	 * is inserted by WooCommerce or a plugin. */
	body:has(.mdc-checkout-v11) .mdc-v11-main {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	body:has(.mdc-checkout-v11) .mdc-v11-main > #customer_details.mdc-v11-customer-details {
		margin: 0 !important;
		padding: 0 !important;
	}

	body:has(.mdc-checkout-v11) .mdc-v11-main > .mdc-v11-card--fulfilment {
		margin-top: 18px !important;
	}

	body:has(.mdc-checkout-v11) .mdc-v11-layout,
	body:has(.mdc-checkout-v11) .mdc-v11-sidebar,
	body:has(.mdc-checkout-v11) .mdc-v11-sidebar > .mdc-v11-order-card,
	body:has(.mdc-checkout-v11) .mdc-v11-card--buyer {
		align-self: start !important;
		margin-top: 0 !important;
		transform: none !important;
	}
}
