.imoje-card .imoje-card-content{
	justify-content: center;
    display: flex;
    flex-direction: column;
}
.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title{
	    line-height: 32px;
    margin-top: 24px;
}

@media (max-width: 768px) {
	.woocommerce-order-received .woocommerce-customer-details .woocommerce-column--shipping-address{
	margin-top: 42px;
}
}
.section-banner-hero--without-image {
	min-height: 200px;
}
/* ===========================
   WooCommerce: Koszyk
   =========================== */

.woocommerce form .form-row {
	border: 0;
}
.woocommerce-checkout #payment div.payment_box {
	background-color: transparent;
	padding: 0;
	color: var(--grey-900);
}
.woocommerce-checkout #payment div.payment_box::before {
	content: unset;
}
.woocommerce-checkout #payment ul.payment_methods li {
	padding: 8px 0;
}
.ywgc_have_code {
	padding: 1.1em 2em 1.1em 3.5em;
	margin: 0 0 2em;
	position: relative;
	background-color: #f6f5f8;
	color: #515151;
	list-style: none outside;
	width: auto;
	word-wrap: break-word;
	line-height: 40px;
	background-color: var(--grey-50);
	color: var(--grey-900);
	border-radius: 0 0 16px 16px;
	border: 0;
	border-top: 3px solid #720eec;

	border-top-color: var(--primary-500);
	box-shadow: unset;
}
.ywgc_enter_code {
	border: 1px solid #cfc8d8;
	padding: 20px;
	border-radius: 5px;
}
/* Kontener koszyka */
.woocommerce-cart-form,
.cart-collaterals {
	background: #fff;
	border-radius: 16px;
	margin-bottom: 24px;
}
.imoje-regulations a {
	color: var(--primary-500) !important;
	text-decoration: none !important;
}
body .imoje-regulations a:hover {
	text-decoration: none !important;
}

.woocommerce-cart .product-quantity .quantity_wrap .number-wrap input.qty {
	border: unset !important;
	background: transparent !important;
}

/* Tabela produktów w koszyku */
.woocommerce table.shop_table {
	width: 100%;
	border: 1px solid var(--grey-300);
	border-radius: 12px;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	/* overflow: hidden; */
	overflow: visible!important;
}
.dd-options{
	z-index: 99999;
}

.woocommerce table.shop_table thead th {
	background: var(--grey-50);
	color: var(--grey-900);
	font-weight: 700;
	font-family: var(--primary-font);
	font-size: 14px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--grey-300);
	text-align: center;
}

.woocommerce table.shop_table tbody td {
	padding: 14px 16px;
	border-top: 1px solid var(--grey-300);
	color: var(--grey-900);
	font-size: 15px;
	vertical-align: middle;
	text-align: center;
}

/* zebra dla całego wiersza */
.woocommerce table.shop_table tbody tr:nth-child(2n) th,
.woocommerce table.shop_table tbody tr:nth-child(2n) td {
	background: rgba(0, 0, 0, 0.02);
}

/* Miniatura produktu */
.product-thumbnail img {
	max-width: 60px;
	border-radius: 8px;
}

/* Nazwa produktu */
.woocommerce-cart .woocommerce table.shop_table td.product-name,
.woocommerce-cart .woocommerce table.shop_table th.product-name {
	text-align: left;
}
.product-name a {
	display: inline-flex;
	color: var(--grey-900);
	font-weight: 700;
	text-decoration: none;
	transition: color var(--transition);
}
.product-name a:hover {
	color: var(--primary-500);
}

/* Cena i kwoty */
.product-price,
.product-subtotal {
	font-weight: 700;
	color: var(--grey-900);
}

/* Usuwanie produktu */
.product-remove a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(237, 28, 36, 0.1);
	color: var(--primary-500);
	font-size: 18px;
	text-decoration: none;
	transition: background-color var(--transition), color var(--transition);
}
.product-remove a.remove::before {
	content: unset !important;
}
.product-remove a.remove:hover {
	background: var(--primary-500);
	color: var(--white);
}

/* Sekcja kuponu i przycisków */
.woocommerce-cart-form .actions {
	padding-top: 16px;
}
.woocommerce-cart-form .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 16px;
}
.woocommerce-cart-form .coupon input.input-text {
	border: 1px solid var(--grey-300);
	border-radius: 8px;
	padding: 8px 12px;
	width: 125px !important;
	font-size: 16px;
}
.woocommerce-cart-form button.button {
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	transition: background-color var(--transition), border-color var(--transition);
}
.woocommerce-cart-form button.button:hover {
	background: var(--secondary-500);
	color: var(--white);
}

/* Podsumowanie koszyka */
.cart_totals h2 {
	font-size: 20px;
	margin-bottom: 16px;
	font-weight: 700;
	color: var(--grey-900);
}

.cart_totals table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--grey-300);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}
.cart_totals th {
	background: var(--grey-50);
	font-weight: 700;
	padding: 12px 16px;
	color: var(--grey-900);
}
.cart_totals td {
	padding: 12px 16px;
	color: var(--grey-900);
	font-weight: 700;
}

/* Przycisk „Przejdź do płatności” */
.wc-proceed-to-checkout a.checkout-button {
	display: block;
	text-align: center;
	padding: 14px;
	background: var(--primary-500);
	color: var(--white);
	font-weight: 700;
	font-size: 16px;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color var(--transition);
	margin-top: 16px;
}
.wc-proceed-to-checkout a.checkout-button:hover {
	background: var(--secondary-500);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	font-size: 18px;
}
#add_payment_method table.cart td.actions .coupon .coupon-error-notice,
.woocommerce-cart table.cart td.actions .coupon .coupon-error-notice,
.woocommerce-checkout table.cart td.actions .coupon .coupon-error-notice {
	font-size: 16px;
}

	.woocommerce table.shop_table td, .woocommerce table.shop_table th{
		text-align: center;
	}
/* === FIX: desktop – przywróć <th> jako komórki tabeli === */
@media (min-width: 769px) {
	.woocommerce table.shop_table tbody th,
	.woocommerce-page table.shop_table tbody th {
		display: table-cell;
		background: transparent;
		padding: 14px 16px;
		border-top: 1px solid var(--grey-300);
		vertical-align: middle;
		width: auto;
	}
	.woocommerce table.shop_table tbody th.product-name::before {
		content: none;
	}
	.woocommerce table.shop_table tbody th.product-name a {
		display: inline;
		white-space: normal;
	}
}

/* === Mobile: poprawiona widoczność nazw produktów === */
@media (max-width: 768px) {
	#add_payment_method .cart-collaterals .cart_totals table th,
	.woocommerce-cart .cart-collaterals .cart_totals table th,
	.woocommerce-checkout .cart-collaterals .cart_totals table th {
		width: 100%;
	}

	.ywgc_enter_code .form-row {
		width: 100%;
	}
	.woocommerce form .form-row-first,
	.woocommerce .form-row.form-row-last {
		width: 100%;
	}

	.woocommerce-cart-form .coupon input.input-text,
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
		width: 100%;
	}
	.woocommerce table.shop_table tbody .cart_item .product-thumbnail {
		display: none;
	}
	.woocommerce-page table.cart td.actions .coupon .input-text,
	.woocommerce-page table.cart td.actions .coupon input,
	.woocommerce-page table.cart td.actions .coupon .button {
		width: 100% !important;
	}
	.woocommerce table.shop_table thead {
		display: none;
	}
	.woocommerce table.shop_table,
	.woocommerce table.shop_table tbody,
	.woocommerce table.shop_table tr,
	.woocommerce table.shop_table td {
		display: block;
		width: 100%;
	}
	.woocommerce table.shop_table td {
		text-align: right;
	}

	.woocommerce-checkout.woocommerce table.shop_table tr {
		width: 100%;
		display: flex;
		justify-content: space-between;
	}
	.woocommerce table.shop_table tfoot th {
		width: 50%;
	}
	.woocommerce table.shop_table tfoot {
		width: 100%;
		display: flex;
		flex-direction: column;
	}
	.woocommerce table.shop_table tfoot td {
		text-align: right;
	}
	.woocommerce-checkout table.shop_table tr {
		border-bottom: 1px solid var(--grey-300);
		display: flex;
	}
	.woocommerce table.shop_table tbody td {
		border: 0;
		padding: 10px 12px;
	}
	.woocommerce table.shop_table tbody td:before {
		content: attr(data-title);
		display: block;
		font-size: 12px;
		color: var(--grey-500);
		margin-bottom: 4px;
	}
	.woocommerce-checkout table.shop_table th{
		text-align: left;
	}
	.woocommerce table.shop_table_responsive tbody th,
	.woocommerce-page table.shop_table_responsive tbody th {
		display: block;
		width: 100%;
		border: 0;
		padding: 10px 12px;
	}
	.woocommerce table.shop_table tbody th.product-name::before {
		content: 'Produkt';
		display: block;
		font-size: 12px;
		color: var(--grey-500);
		margin-bottom: 4px;
		font-weight: 400;
	}
	.woocommerce table.shop_table tbody th.product-name a {
		display: block;
		font-weight: 700;
		word-break: break-word;
	}
	.woocommerce table.shop_table tbody td.product-thumbnail {
		padding-top: 10px;
	}
	.woocommerce table.shop_table tbody td.product-thumbnail img {
		display: none;
	}
	.woocommerce-cart-form .coupon {
		flex-direction: column;
		align-items: stretch;
	}
	.product-quantity .quantity_wrap {
		margin-right: 0;
		justify-content: flex-end;
	}
	.product-quantity .quantity_wrap .unit {
		display: none;
	}

	.product-quantity .quantity_wrap .quantity_name {
		display: none;
	}

	.product-quantity .quantity_wrap .number-wrap {
		padding: 6px;
	}
	.woocommerce table.shop_table tbody .cart_item td {
		display: flex;
		align-content: center;
		justify-content: space-between;
	}
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
	background-color: #fff;
}

/* === Wyszarzenie całego number-wrap gdy oba przyciski zablokowane === */
.quantity_wrap .decrement[disabled],
.quantity_wrap .increment[disabled] {
	opacity: 0.25;
	cursor: not-allowed;
	pointer-events: none;
}
.quantity_wrap .decrement[disabled] ~ input.qty,
.quantity_wrap input.qty[max="1"][min="1"] {
	color: var(--grey-400);
}
/* gdy oba disabled — wyszarz cały number-wrap */
.quantity_wrap .number-wrap:has(.decrement[disabled]):has(.increment[disabled]) {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
	background-color: var(--grey-100, #f5f5f5);
}

/* === AWDR: darmowy gratis – wybór wariantu w koszyku === */

.awdr-select-variant-product {
	margin-top: 8px;
	background: var(--grey-50);
	border: 1px solid var(--grey-200);
	border-radius: 10px;
	padding: 8px;
	min-width: 160px;
	display: inline-block;
}
.awdr_free_product_variants {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.awdr_change_product {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 8px;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.15s;
	font-size: 13px;
	color: var(--grey-900);
}
.awdr_change_product:hover {
	background: var(--grey-200);
}
.awdr_variation_image img {
	width: 36px !important;
	height: 36px !important;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
}
.awdr-product-name {
	font-size: 13px;
	font-weight: 500;
	color: var(--grey-800);
}
