/* Hoker — koszyk / checkout: dostawa mebli vs próbki tkanin */

:root {
	--hoker-shipping-layout-max: min(1480px, calc(100vw - 48px));
	--hoker-shipping-burgundy: #760022;
	--hoker-shipping-card-bg: #fffaf4;
	--hoker-shipping-card-border: rgba(118, 0, 34, 0.12);
	--hoker-shipping-card-shadow: 0 12px 32px rgba(58, 35, 25, 0.06);
	--hoker-shipping-badge-bg: rgba(153, 0, 0, 0.06);
	--hoker-shipping-badge-pad-y: 0.75rem;
	--hoker-shipping-badge-pad-x: 1.1rem;
	--hoker-shipping-badge-min-h: 2.75rem;
	--hoker-shipping-badge-radius: 8px;
	--hoker-shipping-badge-line: 1.45;
}

.hoker-shipping-clarity-notice {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 1rem;
	padding: 0.95rem 1.05rem;
	border: 1px solid rgba(153, 0, 0, 0.22);
	border-radius: 8px;
	background: #fffaf8;
	color: #241f1c;
	font-size: 0.92rem;
	line-height: 1.45;
}

.hoker-shipping-clarity-notice--checkout-panel {
	margin-bottom: 0;
}

.hoker-shipping-clarity-notice__title {
	margin: 0 0 0.55rem;
	font-weight: 700;
	color: #990000;
}

.hoker-shipping-clarity-notice__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hoker-shipping-clarity-notice__list li {
	display: grid;
	gap: 0.25rem;
	padding: 0.5rem 0;
	border-bottom: 1px dashed rgba(36, 31, 28, 0.14);
}

.hoker-shipping-clarity-notice__list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.hoker-shipping-clarity-notice__method,
.hoker-shipping-clarity-method,
.hoker-shipping-clarity-fallback__value {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box;
	max-width: 100%;
	min-height: var(--hoker-shipping-badge-min-h);
	padding: var(--hoker-shipping-badge-pad-y) var(--hoker-shipping-badge-pad-x) !important;
	border-radius: var(--hoker-shipping-badge-radius);
	background: var(--hoker-shipping-badge-bg);
	font-weight: 600;
	color: #241f1c;
	line-height: 1.25;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
	text-align: center !important;
	text-indent: 0 !important;
}

.hoker-shipping-clarity-notice__method {
	font-weight: 700;
}

.hoker-shipping-clarity-checkout-panel {
	display: none !important;
}

/* Szerokość jak strona główna (Kategorie). */
body.woocommerce-cart .site-content > .ast-container,
body.woocommerce-cart.ast-plain-container .site-content > .ast-container,
body.woocommerce-cart.ast-separate-container .site-content > .ast-container,
body.hoker-shipping-clarity-checkout-page .site-content > .ast-container,
body.hoker-shipping-clarity-checkout-page.ast-plain-container .site-content > .ast-container,
body.hoker-shipping-clarity-checkout-page.ast-separate-container .site-content > .ast-container {
	box-sizing: border-box;
	max-width: var(--hoker-shipping-layout-max) !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
}

body.woocommerce-cart .entry-content,
body.woocommerce-cart .site-main,
body.woocommerce-cart #primary,
body.hoker-shipping-clarity-checkout-page .entry-content,
body.hoker-shipping-clarity-checkout-page .site-main,
body.hoker-shipping-clarity-checkout-page #primary,
body.hoker-shipping-clarity-checkout-page .content-area,
body.hoker-shipping-clarity-checkout-page .ast-article-single {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.woocommerce-cart .woocommerce,
body.hoker-shipping-clarity-checkout-page .woocommerce {
	max-width: 100% !important;
	width: 100% !important;
}

/* Koszyk — produkty lewo, podsumowanie prawo (jak mockup). */
body.hoker-shipping-clarity-cart-page .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1.62fr) minmax(0, 0.88fr);
	column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
	row-gap: 1.25rem;
	align-items: start;
}

body.hoker-shipping-clarity-cart-page .woocommerce-cart-form {
	grid-column: 1;
	grid-row: 1;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

body.hoker-shipping-clarity-cart-page .cart-collaterals {
	grid-column: 2;
	grid-row: 1;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.hoker-shipping-clarity-cart-page .cart-collaterals .cart_totals {
	box-sizing: border-box;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.hoker-shipping-clarity-cart-page .cart_totals > h2 {
	display: none !important;
}

body.hoker-shipping-clarity-cart-page .hoker-cart-summary-heading,
body.hoker-shipping-clarity-checkout-page #order_review_heading,
body.hoker-shipping-clarity-checkout-page #billing_heading {
	float: none !important;
	width: 100% !important;
	margin: 0 0 0.35rem !important;
	padding: 0 !important;
	border: 0 !important;
	border-width: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: 600;
	color: #241f1c;
	line-height: 1.25;
}

body.hoker-shipping-clarity-cart-page .hoker-cart-summary-card {
	box-sizing: border-box;
	width: 100%;
	padding: 1rem 1.1rem;
	border: 1px solid var(--hoker-shipping-card-border);
	border-radius: 16px;
	background: var(--hoker-shipping-card-bg);
	box-shadow: var(--hoker-shipping-card-shadow);
}

body.hoker-shipping-clarity-cart-page .cart_totals .shop_table {
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

body.hoker-shipping-clarity-cart-page .cart_totals .shop_table th,
body.hoker-shipping-clarity-cart-page .cart_totals .shop_table td {
	padding: 0.72rem 0;
	border-top: 1px solid rgba(36, 31, 28, 0.1);
	vertical-align: top;
}

body.hoker-shipping-clarity-cart-page .cart_totals .shop_table tr:first-child th,
body.hoker-shipping-clarity-cart-page .cart_totals .shop_table tr:first-child td {
	border-top: 0;
	padding-top: 0;
}

body.hoker-shipping-clarity-cart-page .cart_totals .order-total th {
	font-weight: 600;
	font-size: 1.02rem;
}

body.hoker-shipping-clarity-cart-page .cart_totals .order-total td {
	font-size: 1.02rem;
}

body.hoker-shipping-clarity-cart-page .cart_totals .shop_table th,
body.hoker-shipping-clarity-cart-page .cart_totals .shop_table td,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table th,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table td {
	font-weight: 500;
	color: #241f1c;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table .order-total th {
	font-weight: 600;
}

/* Kwoty (zł) — grubsze; etykiety w th zostają cieńsze. */
body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents .product-price,
body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents .product-subtotal,
body.hoker-shipping-clarity-cart-page .cart_totals .cart-subtotal td,
body.hoker-shipping-clarity-cart-page .cart_totals .order-total td,
body.hoker-shipping-clarity-cart-page .cart_totals .woocommerce-shipping-totals td,
body.hoker-shipping-clarity-cart-page .cart_totals .fee td,
body.hoker-shipping-clarity-cart-page .cart_totals .tax-rate td,
body.hoker-shipping-clarity-cart-page .cart_totals .tax-total td,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table td.product-total,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table .cart-subtotal td,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table .order-total td,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
	font-weight: 700;
}

/* Astra/WooCommerce ustawia 400 na .woocommerce-Price-amount w tabelach — wyższa specyficzność. */
body.hoker-shipping-clarity-cart-page table.shop_table .woocommerce-Price-amount,
body.hoker-shipping-clarity-cart-page table.shop_table .woocommerce-Price-amount bdi,
body.hoker-shipping-clarity-checkout-page table.shop_table .woocommerce-Price-amount,
body.hoker-shipping-clarity-checkout-page table.shop_table .woocommerce-Price-amount bdi {
	font-weight: 700 !important;
}

body.hoker-shipping-clarity-cart-page .cart_totals .hoker-shipping-clarity-notice {
	display: none !important;
}

body.hoker-shipping-clarity-cart-page .wc-proceed-to-checkout {
	margin-top: 1rem;
	padding: 0;
}

body.hoker-shipping-clarity-cart-page .wc-proceed-to-checkout .checkout-button,
body.hoker-shipping-clarity-cart-page .wc-proceed-to-checkout .button {
	border-radius: 999px !important;
}

body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents .product-name > a,
body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents .hoker-shipping-clarity-product-title,
body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents .product-name .hoker-shipping-clarity-product-title {
	color: var(--hoker-shipping-burgundy);
	font-weight: 700;
	text-decoration: none;
}

body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents .product-name > a:hover {
	color: #560019;
}

/* Koszyk laptop — cena/ilość/suma maks. w prawo, nazwa bez łamania wiersza. */
@media (min-width: 922px) {
	body.hoker-shipping-clarity-cart-page .woocommerce {
		grid-template-columns: minmax(0, 1.78fr) minmax(0, 0.82fr);
	}

	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents.shop_table,
	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive {
		table-layout: auto !important;
		width: 100% !important;
	}

	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents .product-thumbnail {
		width: 84px !important;
		padding-right: 0.5rem !important;
	}

	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents .product-name {
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
	}

	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive thead th.product-price,
	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive thead th.product-quantity,
	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive thead th.product-subtotal,
	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tbody td.product-price,
	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tbody td.product-quantity,
	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tbody td.product-subtotal {
		width: 1% !important;
		white-space: nowrap !important;
		text-align: right !important;
		vertical-align: top !important;
		padding-left: 0.75rem !important;
	}

	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents tbody .product-quantity .quantity {
		display: inline-flex;
		justify-content: flex-end;
		margin-left: auto;
	}

	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents .product-name > a,
	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form__contents .product-name .hoker-shipping-clarity-product-title {
		display: inline-block;
		max-width: 100%;
		white-space: nowrap;
	}
}

body.hoker-shipping-clarity-cart-page .cart_totals .shipping-calculator-button {
	color: var(--hoker-shipping-burgundy);
	font-weight: 600;
}

/* Checkout: lewa = zamówienie, prawa góra = dane, prawa dół = płatność (wąska kolumna). */
body.hoker-shipping-clarity-checkout-page form.checkout.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
	column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
	row-gap: 0.65rem;
	grid-template-areas:
		"review-heading billing-heading"
		"review billing"
		"review payment";
	align-items: start;
	width: 100%;
	max-width: 100%;
	float: none !important;
	clear: both !important;
}

body.hoker-shipping-clarity-checkout-page #order_review_heading,
body.hoker-shipping-clarity-checkout-page #billing_heading {
	float: none !important;
	width: 100% !important;
	margin: 0 0 0.35rem !important;
	padding: 0 !important;
	border: 0 !important;
	border-width: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: 600;
	color: #241f1c;
	line-height: 1.25;
}

body.hoker-shipping-clarity-checkout-page #order_review_heading {
	grid-area: review-heading;
}

body.hoker-shipping-clarity-checkout-page #billing_heading {
	grid-area: billing-heading;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-billing-fields > h3 {
	display: none !important;
}

body.hoker-shipping-clarity-checkout-page #order_review {
	display: contents;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-width: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table {
	grid-area: review;
	box-sizing: border-box;
	width: 100% !important;
	margin: 0 !important;
	padding: 1rem 1.1rem !important;
	border: 1px solid var(--hoker-shipping-card-border) !important;
	border-width: 1px !important;
	border-radius: 16px !important;
	background: var(--hoker-shipping-card-bg) !important;
	box-shadow: var(--hoker-shipping-card-shadow) !important;
	border-collapse: separate;
	border-spacing: 0;
}

body.hoker-shipping-clarity-checkout-page #customer_details {
	grid-area: billing;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 1rem 1.1rem;
	border: 1px solid var(--hoker-shipping-card-border);
	border-radius: 16px;
	background: var(--hoker-shipping-card-bg);
	box-shadow: var(--hoker-shipping-card-shadow);
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

body.hoker-shipping-clarity-checkout-page #customer_details.col2-set {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	float: none !important;
}

body.hoker-shipping-clarity-checkout-page #customer_details .col-1,
body.hoker-shipping-clarity-checkout-page #customer_details .col-2 {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-billing-fields > h3,
body.hoker-shipping-clarity-checkout-page .woocommerce-additional-fields > h3 {
	margin: 0 0 0.75rem;
	padding: 0;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
	font-weight: 700;
	color: #241f1c;
}

body.hoker-shipping-clarity-checkout-page #customer_details .form-row {
	margin: 0 0 0.65rem;
	padding: 0;
}

body.hoker-shipping-clarity-checkout-page #customer_details .form-row label {
	margin-bottom: 0.25rem;
	font-size: 0.92rem;
	font-weight: 500;
}

body.hoker-shipping-clarity-checkout-page #customer_details .input-text,
body.hoker-shipping-clarity-checkout-page #customer_details textarea,
body.hoker-shipping-clarity-checkout-page #customer_details select {
	padding: 0.55rem 0.7rem;
	font-size: 0.95rem;
	border: 1px solid rgba(36, 31, 28, 0.16);
	border-radius: 8px;
	background: #fff;
}

body.hoker-shipping-clarity-checkout-page #order_comments_field textarea {
	min-height: 84px;
	max-height: 120px;
}

body.hoker-shipping-clarity-checkout-page #ship-to-different-address {
	margin: 0.15rem 0 0.35rem;
}

body.hoker-shipping-clarity-checkout-page #payment {
	grid-area: payment;
	float: none !important;
	width: 100% !important;
	max-width: 100%;
	margin: 0 !important;
	padding: 1rem 1.1rem !important;
	border: 1px solid var(--hoker-shipping-card-border) !important;
	border-radius: 16px !important;
	background: var(--hoker-shipping-card-bg) !important;
	box-shadow: var(--hoker-shipping-card-shadow) !important;
	align-self: start;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table {
	table-layout: auto !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.cart_item td.product-name {
	vertical-align: top;
	width: auto !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.cart_item td.product-total {
	vertical-align: top;
	width: 1% !important;
	padding-left: 0.5rem;
	text-align: right;
	white-space: nowrap;
}

.hoker-checkout-item-total-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-start;
	gap: 0.35rem;
	margin-left: auto;
	width: fit-content;
	max-width: 100%;
}

.hoker-checkout-item-delivery-badge {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.2rem;
	box-sizing: border-box;
	max-width: 9.75rem;
	padding: 0.28rem 0.5rem;
	border: 1px solid rgba(118, 0, 34, 0.2);
	border-radius: 7px;
	background: rgba(153, 0, 0, 0.06);
	color: #760022;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: right;
	white-space: normal;
}

.hoker-checkout-item-delivery-badge__mark {
	flex: 0 0 auto;
	font-size: 0.72rem;
	line-height: 1;
}

.hoker-checkout-item-delivery-badge__text {
	min-width: 0;
}

.hoker-checkout-item-delivery-badge--samples {
	border-color: rgba(118, 0, 34, 0.24);
}

/* Checkout — bez dolnych ramek KOSZT DOSTAWY (info jest przy pozycjach). */
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tfoot tr.woocommerce-shipping-totals,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tfoot tr.hoker-shipping-clarity-delivery-frame-row,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tfoot tr.hoker-shipping-clarity-destination {
	display: none !important;
}

/* Wiersz pozycji: nazwa (lewo) — ilość (przed ceną) — kwota w osobnej kolumnie. */
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.cart_item .hoker-checkout-item-head {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0.65rem;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 0.35rem;
	padding: 0;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.cart_item .hoker-checkout-item-title {
	flex: 0 1 auto;
	min-width: 0;
	color: var(--hoker-shipping-burgundy);
	font-weight: 700;
	font-size: clamp(1rem, 1.6vw, 1.06rem);
	line-height: 1.35;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.cart_item .hoker-checkout-item-title .hoker-shipping-clarity-product-title {
	color: inherit;
	font: inherit;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.cart_item .hoker-checkout-qty-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin-left: auto;
	box-sizing: border-box;
	min-width: 52px;
	padding: 4px 10px;
	border: 1px solid rgba(36, 31, 28, 0.35);
	border-radius: 4px;
	background: #fffaf4;
	font-size: 0.85rem;
	font-weight: 700;
	color: #241f1c;
	line-height: 1.2;
	white-space: nowrap;
}

@media (min-width: 922px) {
	body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.cart_item .hoker-checkout-item-title {
		white-space: nowrap;
	}
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table .product-name .product-quantity {
	display: none !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.cart_item + tr.cart_item td {
	border-top: 1px dashed rgba(36, 31, 28, 0.14);
	padding-top: 1rem;
}

body.hoker-shipping-clarity-mixed .cart_totals .shop_table,
body.hoker-shipping-clarity-mixed .woocommerce-checkout-review-order-table {
	width: 100%;
}

body.hoker-shipping-clarity-mixed .cart_totals .shop_table {
	table-layout: auto;
}

body.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card .shop_table {
	table-layout: auto !important;
}

body.hoker-shipping-clarity-checkout-page.hoker-shipping-clarity-mixed .woocommerce-checkout-review-order-table {
	table-layout: auto !important;
}

/* Podsumowanie — etykiety z projektu. */
body.hoker-shipping-clarity-cart-page .cart_totals .cart-subtotal th,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table .cart-subtotal th {
	font-weight: 700;
}

body.hoker-shipping-clarity-cart-page .cart_totals tr.order-total th,
body.hoker-shipping-clarity-cart-page .cart_totals tr.order-total td,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.order-total th,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.order-total td {
	font-size: clamp(1.18rem, 2.35vw, 1.55rem) !important;
	font-weight: 700 !important;
	line-height: 1.25;
	padding-top: 1rem !important;
}

body.hoker-shipping-clarity-cart-page .cart_totals tr.order-total th,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.order-total th {
	white-space: nowrap !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table .order-total th {
	font-weight: 700 !important;
}

/* „Łącznie do zapłaty” — tabela w karcie podsumowania (nadpisuje hoker-cart-page mobile block). */
body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.order-total,
body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.cart-subtotal {
	display: table-row !important;
}

body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.order-total th,
body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.order-total td,
body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.cart-subtotal th,
body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.cart-subtotal td {
	display: table-cell !important;
	vertical-align: middle !important;
}

body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.order-total th,
body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.cart-subtotal th {
	text-align: left !important;
	width: auto !important;
	white-space: nowrap !important;
}

body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.order-total td,
body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.cart-subtotal td {
	text-align: right !important;
	width: 1% !important;
	white-space: nowrap !important;
}

body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.order-total td::before,
body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table tr.cart-subtotal td::before {
	content: none !important;
	display: none !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.order-total {
	display: table-row !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.order-total th,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.order-total td {
	display: table-cell !important;
	vertical-align: middle !important;
	white-space: nowrap !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.order-total th {
	text-align: left !important;
	width: auto !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.order-total td {
	text-align: right !important;
	width: 1% !important;
}

body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table tr.order-total td::before {
	content: none !important;
	display: none !important;
}

@media (max-width: 768px) {
	body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table.shop_table_responsive {
		display: table !important;
		table-layout: auto !important;
		width: 100% !important;
	}

	body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table.shop_table_responsive tbody {
		display: table-row-group !important;
	}

	body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table.shop_table_responsive tr {
		display: table-row !important;
	}

	body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table.shop_table_responsive th,
	body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table.shop_table_responsive td {
		display: table-cell !important;
	}

	body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table.shop_table_responsive tr td {
		text-align: right !important;
	}

	body.woocommerce-cart.hoker-cart-page.hoker-shipping-clarity-cart-page .cart_totals .hoker-cart-summary-card table.shop_table.shop_table_responsive tr th {
		text-align: left !important;
	}
}

/* Ramki KOSZT DOSTAWY — projekt graficzny. */
body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame-row td,
body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame-cell {
	display: table-cell !important;
	border-top: 0 !important;
	padding: 0.55rem 0 !important;
	vertical-align: top;
}

body.hoker-shipping-clarity-mixed tr.hoker-shipping-clarity-delivery-frame-row + tr.hoker-shipping-clarity-delivery-frame-row .hoker-shipping-clarity-delivery-frame-cell {
	padding-top: 0.35rem !important;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame {
	box-sizing: border-box;
	padding: 0.85rem 0.95rem;
	border: 1px solid rgba(36, 31, 28, 0.24);
	border-radius: 14px;
	background: #fffaf4;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.55rem 0.75rem;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__title {
	flex: 1 1 8.5rem;
	min-width: 0;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #241f1c;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__methods {
	flex: 1 1 100%;
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__methods .woocommerce-shipping-methods {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	width: 100%;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__methods .woocommerce-shipping-methods li {
	display: flex;
	justify-content: center;
	align-items: stretch;
	margin: 0 !important;
	padding: 0 !important;
	text-indent: 0 !important;
	list-style: none !important;
}

body.hoker-shipping-clarity-mixed .cart_totals .woocommerce-shipping-methods li,
body.hoker-shipping-clarity-mixed .woocommerce-checkout-review-order-table .woocommerce-shipping-methods li {
	margin: 0 !important;
	padding: 0 !important;
	text-indent: 0 !important;
	list-style: none !important;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__methods .shipping_method {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__divider {
	height: 1px;
	margin: 0.65rem 0 0.7rem;
	background: rgba(36, 31, 28, 0.16);
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__list {
	display: grid;
	gap: 0.45rem;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.65rem;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__name {
	flex: 1 1 auto;
	min-width: 0;
	color: rgba(36, 31, 28, 0.82);
	font-size: 0.92rem;
	line-height: 1.45;
	text-align: left;
	word-break: normal;
	overflow-wrap: break-word;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame .hoker-checkout-qty-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin-left: auto;
	box-sizing: border-box;
	min-width: 52px;
	padding: 4px 10px;
	border: 1px solid rgba(36, 31, 28, 0.35);
	border-radius: 4px;
	background: #fffaf4;
	font-size: 0.85rem;
	font-weight: 700;
	color: #241f1c;
	line-height: 1.2;
	white-space: nowrap;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame .woocommerce-shipping-destination,
body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame .shipping-calculator-button,
body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame .woocommerce-shipping-calculator {
	display: none !important;
}

body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame .hoker-shipping-clarity-method {
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	text-align: center !important;
	justify-content: center !important;
	text-indent: 0 !important;
}

body.hoker-shipping-clarity-cart-page .cart_totals .woocommerce-shipping-methods .hoker-shipping-clarity-method,
body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table .woocommerce-shipping-methods .hoker-shipping-clarity-method {
	width: 100% !important;
	max-width: 100%;
	text-align: center !important;
	justify-content: center !important;
	text-indent: 0 !important;
}

.hoker-shipping-clarity-destination th,
.hoker-shipping-clarity-destination td {
	border-top: 1px dashed rgba(36, 31, 28, 0.18);
	padding-top: 0.85rem;
	vertical-align: top;
}

.hoker-shipping-clarity-destination__text {
	margin: 0 0 0.45rem;
	color: #241f1c;
	line-height: 1.45;
}

.hoker-shipping-clarity-fallback {
	display: grid;
	gap: 0.65rem;
}

.hoker-shipping-clarity-fallback__row {
	display: grid;
	gap: 0.15rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px dashed rgba(36, 31, 28, 0.18);
}

.hoker-shipping-clarity-fallback__row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.hoker-shipping-clarity-fallback__label {
	font-weight: 700;
	color: #241f1c;
}

.hoker-shipping-clarity-fallback__value {
	width: fit-content;
	max-width: 100%;
}

@media (max-width: 921px) {
	body.hoker-shipping-clarity-cart-page .woocommerce {
		grid-template-columns: 1fr;
	}

	body.hoker-shipping-clarity-cart-page .woocommerce-cart-form,
	body.hoker-shipping-clarity-cart-page .cart-collaterals {
		grid-column: 1;
	}

	body.hoker-shipping-clarity-cart-page .cart-collaterals {
		grid-row: auto;
	}

	body.hoker-shipping-clarity-checkout-page form.checkout.woocommerce-checkout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"review-heading"
			"review"
			"billing-heading"
			"billing"
			"payment";
	}
}

@media (max-width: 768px) {
	body.woocommerce-cart .site-content > .ast-container,
	body.woocommerce-cart.ast-plain-container .site-content > .ast-container,
	body.woocommerce-cart.ast-separate-container .site-content > .ast-container,
	body.hoker-shipping-clarity-checkout-page .site-content > .ast-container,
	body.hoker-shipping-clarity-checkout-page.ast-plain-container .site-content > .ast-container,
	body.hoker-shipping-clarity-checkout-page.ast-separate-container .site-content > .ast-container {
		max-width: calc(100vw - 28px) !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	.hoker-shipping-clarity-notice,
	.hoker-shipping-clarity-checkout-panel {
		font-size: 0.88rem;
	}

	body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__head {
		flex-direction: column;
		align-items: stretch;
	}

	body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__title {
		flex: 0 0 auto;
	}

	body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__methods {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 100%;
	}

	body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__methods .woocommerce-shipping-methods,
	body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__methods .woocommerce-shipping-methods li {
		justify-content: center;
		text-align: center;
	}

	body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame .hoker-shipping-clarity-method,
	body.hoker-shipping-clarity-cart-page .cart_totals .hoker-shipping-clarity-method,
	body.hoker-shipping-clarity-cart-page .cart_totals .hoker-shipping-clarity-notice__method,
	body.hoker-shipping-clarity-checkout-page .woocommerce-checkout-review-order-table .hoker-shipping-clarity-method {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.hoker-shipping-clarity-notice__method,
	body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-fallback__value {
		width: 100%;
	}

	body.hoker-shipping-clarity-mixed .hoker-shipping-clarity-delivery-frame__item {
		align-items: flex-start;
	}

	/* Koszyk mobile — cena, ilość i wartość w jednym rzędzie (bez pionowej „ściany tekstu”). */
	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tbody tr.cart_item {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 8px;
		row-gap: 0;
		align-items: start;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tbody tr.cart_item td.product-thumbnail {
		grid-column: 1 / -1;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tbody tr.cart_item td.product-name {
		grid-column: 1 / -1;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tbody tr.cart_item td.product-price {
		grid-column: 1;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tbody tr.cart_item td.product-quantity {
		grid-column: 2;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tbody tr.cart_item td.product-subtotal {
		grid-column: 3;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-price,
	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-quantity,
	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-subtotal {
		display: block !important;
		flex: unset !important;
		width: auto !important;
		max-width: none !important;
		padding: 10px 2px 0 !important;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-price::before,
	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-quantity::before,
	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-subtotal::before {
		font-size: 9px;
		margin-bottom: 3px;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-price,
	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-price .woocommerce-Price-amount {
		text-align: left !important;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-quantity {
		text-align: center !important;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-quantity .quantity {
		display: inline-flex;
		justify-content: center;
		margin: 0 auto;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-subtotal,
	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form__contents.shop_table.shop_table_responsive tr td.product-subtotal .woocommerce-Price-amount {
		text-align: right !important;
	}

	/* Mobile — „Zaktualizuj koszyk” + „Usuń wszystko” jak pigułki pod podsumowaniem. */
	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form .actions {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 0 !important;
		margin-top: 4px;
		padding: 0 !important;
		width: 100% !important;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form .actions > .button[name="update_cart"],
	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form .actions button.hoker-cart-clear-all {
		align-items: center !important;
		box-sizing: border-box !important;
		display: flex !important;
		justify-content: center !important;
		width: 100% !important;
		max-width: 100% !important;
		height: 54px !important;
		min-height: 54px !important;
		margin: 0 !important;
		padding: 0 18px !important;
		border-radius: 999px !important;
		font-size: 16px !important;
		font-weight: 800 !important;
		line-height: 1.2 !important;
		text-transform: none !important;
		white-space: normal !important;
	}

	/* Ten sam odstęp co między „Przejdź do płatności” a „Kontynuuj zakupy” (margin-bottom: 18px). */
	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form .actions > .button[name="update_cart"] {
		margin: 0 0 18px !important;
		background: var(--hoker-shipping-burgundy) !important;
		border: 1px solid var(--hoker-shipping-burgundy) !important;
		color: #fff !important;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form .actions > .button[name="update_cart"]:hover {
		background: #560019 !important;
		border-color: #560019 !important;
		color: #fff !important;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form .actions button.hoker-cart-clear-all {
		background: var(--hoker-shipping-burgundy) !important;
		border: 1px solid var(--hoker-shipping-burgundy) !important;
		color: #fff !important;
	}

	body.hoker-shipping-clarity-cart-page.woocommerce-cart.hoker-cart-page .woocommerce-cart-form .actions button.hoker-cart-clear-all:hover {
		background: #560019 !important;
		border-color: #560019 !important;
		color: #fff !important;
	}
}
