/* =========================================================================
   Kasa (Figma 13:2 komputer / 13:6 telefon) i podziękowanie (14:2 / 14:7).
   Kontener kasy 1200 px (x 120–1320), lewa kolumna 728, prawa 432, odstęp 40. Telefon: margines 20 px.
   ========================================================================= */

/* ---------- wspólne: tło, kontener WoodMart ---------- */
body.pf-co-page .wd-page-content.main-page-wrapper,
body.pf-thanks-page .wd-page-content.main-page-wrapper { background-color: var(--pf-sand) !important; }
body.pf-co-page main.wd-content-layout,
body.pf-thanks-page main.wd-content-layout { max-width: none; padding: 0; }
body.pf-co-page .woocommerce-notices-wrapper:not(:empty),
body.pf-thanks-page .woocommerce-notices-wrapper:not(:empty) { max-width: 1200px; margin: 24px auto 0; }

/* ---------- nagłówek uproszczony (header.php wspólny — chowamy wyszukiwarkę, akcje, menu) ---------- */
body:is(.pf-co-page, .pf-thanks-page) .pf-topbar,
body:is(.pf-co-page, .pf-thanks-page) .pf-search,
body:is(.pf-co-page, .pf-thanks-page) .pf-actions,
body:is(.pf-co-page, .pf-thanks-page) .pf-nav,
body:is(.pf-co-page, .pf-thanks-page) .pf-headbar .pf-iconbtn { display: none !important; }
body:is(.pf-co-page, .pf-thanks-page) .pf-headbar__in { justify-content: space-between; border-top: 0; }
body:is(.pf-co-page, .pf-thanks-page) .pf-headbar .pf-logo { flex: none; }
body.pf-co-page .pf-headbar__in::after {
	content: "Bezpieczne zamówienie";
	display: block;
	padding-left: 30px;
	background: url(../img/checkout/lock.svg) no-repeat 0 50% / 20px 20px;
	color: var(--pf-muted);
	font: 400 14px/20px var(--pf-font);
}
body.pf-thanks-page .pf-headbar__in::before,
body.pf-thanks-page .pf-headbar__in::after { color: var(--pf-cream); font-family: var(--pf-font); }
body.pf-thanks-page .pf-headbar__in::before {
	content: "18+";
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 38px;
	height: 38px;
	border: 1px solid #51465c;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
}

/* ---------- uproszczona stopka kasy ---------- */
body.pf-co-page .pf-footer { display: none; }
.pf-co-foot { background: var(--pf-cream); color: var(--pf-text-2); font: 400 14px/24px var(--pf-font); }
:where(.pf-co-foot) p { margin: 0; }
.pf-co-foot a { color: var(--pf-purple); text-decoration: none; }
.pf-co-foot a.pf-co-foot__tel { color: inherit; }
.pf-co-foot__title { color: var(--pf-ink); font-weight: 600; }
.pf-co-foot__title { font-size: 16px; font-weight: 500; }
.pf-co-foot__help a { font-size: 15px; }
.pf-co-foot__help p:last-child { font-size: 15px; }

/* ---------- formularz kasy ---------- */
.pf-co { color: var(--pf-ink); font-family: var(--pf-font); }
:where(.pf-co) p { margin: 0; }
.pf-co__title {
	margin: 0;
	color: var(--pf-ink);
	font: italic 700 44px/1 var(--pf-display);
	text-transform: uppercase;
}
.pf-co__lead { color: var(--pf-text-2); font-size: 15px; line-height: 20px; }
.pf-co__card { box-sizing: border-box; background: var(--pf-cream); border-radius: 8px; }
.pf-co__h {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0;
	color: var(--pf-ink);
	font: 700 28px/1 var(--pf-display);
	text-transform: uppercase;
}
.pf-co__h span { color: var(--pf-purple); font-size: 18px; }
.pf-co__note { color: var(--pf-text-2); font-size: 13px; line-height: 18px; }
.pf-co__fine { color: var(--pf-text-2); font-size: 13px; line-height: 18px; }

/* pola */
.pf-co .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 22px; }
.pf-co .woocommerce-billing-fields h3, .pf-co .woocommerce-shipping-fields, .pf-co .woocommerce-additional-fields:empty { display: none; }
.pf-co .form-row { float: none; width: auto; margin: 0; padding: 0; }
.pf-co .pf-f-full { grid-column: 1 / -1; }
.pf-co .pf-co-firm { display: none; }
.pf-co.pf-co--invoice .pf-co-firm { display: block; margin-top: 10px; }
.pf-co .pf-co-invoice { margin-top: 9px; }
.pf-co .form-row label:not(.checkbox, .pf-co-check) {
	display: block;
	margin: 0 0 7px;
	padding: 0;
	color: var(--pf-ink);
	font: 600 14px/18px var(--pf-font);
}
.pf-co .form-row .required, .pf-co .form-row .pf-req { color: inherit; text-decoration: none; border: 0; font-weight: inherit; }
.pf-co .form-row .optional { display: none; }
.pf-co .form-row .input-text {
	box-sizing: border-box;
	width: 100%;
	height: 51px;
	padding: 0 13px;
	border: 1px solid var(--pf-muted);
	border-radius: 4px;
	background: var(--pf-cream);
	box-shadow: none;
	color: var(--pf-ink);
	font: 400 16px/1 var(--pf-font);
}
.pf-co .form-row .input-text::placeholder { color: var(--pf-text-2); opacity: 1; }
.pf-co .form-row .input-text:focus { border-color: var(--pf-purple); outline: 2px solid rgba(105, 36, 223, .25); outline-offset: 0; }
.pf-co .form-row.woocommerce-invalid .input-text {
	border: 2px solid #b42318;
	padding-right: 44px;
	background: var(--pf-cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Ccircle cx='10' cy='10' r='8.2' stroke='%23B42318' stroke-width='1.6'/%3E%3Cpath d='M10 5.8v5.2' stroke='%23B42318' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='14' r='1.1' fill='%23B42318'/%3E%3C/svg%3E") no-repeat right 13px center;
}
.pf-co .checkout-inline-error-message { margin: 12px 0 0; color: #b42318; font: 400 13px/16px var(--pf-font); }

/* kraj — jeden kraj sprzedaży, wiersz informacyjny (Figma: „Kraj dostawy … Polska”) */
.pf-co #billing_country_field { margin-top: -2px; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 12px; background: var(--pf-sand); border-radius: 2px; }
.pf-co #billing_country_field label { margin: 0; color: var(--pf-text-2); font-weight: 400; font-size: 13px; }
.pf-co #billing_country_field label .required { display: none; }
.pf-co #billing_country_field .woocommerce-input-wrapper { display: block; }
.pf-co #billing_country_field select,
.pf-co #billing_country_field strong {
	appearance: none;
	-webkit-appearance: none;
	height: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--pf-ink);
	font: 600 14px/20px var(--pf-font);
	text-align: right;
	pointer-events: none;
}
.pf-co #billing_country_field .select2-container { display: none; }

/* checkboxy */
.pf-co input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	border: 1.5px solid var(--pf-ink);
	border-radius: 3px;
	background: var(--pf-cream);
	cursor: pointer;
}
.pf-co input[type="checkbox"]:checked {
	border-color: var(--pf-purple);
	background: var(--pf-purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none'%3E%3Cpath d='M3 7.2l2.6 2.6L11 4.4' stroke='%23FFFDF7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.pf-co input[type="checkbox"]:focus-visible { outline: 2px solid var(--pf-purple); outline-offset: 2px; }
.pf-co .pf-co-invoice label.checkbox,
.pf-co .pf-co-check {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--pf-ink);
	font: 500 14px/22px var(--pf-font);
	cursor: pointer;
}
.pf-co .pf-co-check { align-items: flex-start; font-weight: 400; }
.pf-co .pf-co-check a { color: var(--pf-purple); text-decoration: underline; }
.pf-co .pf-co-consent.woocommerce-invalid input[type="checkbox"] { border-color: #b42318; }

/* karty wyboru: dostawa i płatność */
.pf-co-options { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.pf-co-options > li { margin: 0; }
.pf-co-option {
	position: relative;
	box-sizing: border-box;
	padding: 17px 18px 18px 16px;
	border: 1px solid var(--pf-muted);
	border-radius: 4px;
	background: var(--pf-cream);
}
.pf-co-option:has(> input:checked) { border-color: var(--pf-purple); box-shadow: inset 0 0 0 1px var(--pf-purple); }
.pf-co-option.is-disabled { background: var(--pf-sand); }
.pf-co-option > input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pf-co .pf-co-option > label {
	display: grid;
	grid-template-columns: 20px 1fr auto;
	column-gap: 12px;
	margin: 0;
	color: var(--pf-ink);
	cursor: pointer;
}
.pf-co-option > label::before {
	content: "";
	grid-row: 1 / span 2;
	align-self: center;
	box-sizing: border-box;
	width: 20px;
	height: 20px;
	border: 1.5px solid var(--pf-ink);
	border-radius: 50%;
	background: var(--pf-cream);
}
.pf-co-option > input:checked + label::before { border: 6px solid var(--pf-purple); }
.pf-co-option > input:focus-visible + label::before { outline: 2px solid var(--pf-purple); outline-offset: 2px; }
.pf-co-option.is-disabled > label { cursor: default; color: var(--pf-text-2); }
.pf-co-option__name { grid-column: 2; font: 600 15px/22px var(--pf-font); }
.pf-co-option__price { grid-column: 3; grid-row: 1 / span 2; align-self: center; font: 600 14px/20px var(--pf-font); white-space: nowrap; }
.pf-co-option__eta { grid-column: 2; margin-top: 3px; color: var(--pf-text-2); font: 400 13px/20px var(--pf-font); }
.pf-co-option__note { grid-column: 1 / -1; margin-top: 8px; color: var(--pf-text-2); font: 400 13px/18px var(--pf-font); }
.pf-co #payment .pf-co-option__note { grid-column: 2; margin-top: 4px; }
.pf-co-option__extra { width: 100%; margin: 12px 0 0; border: 0; }
.pf-co-option__extra:not(:has(td, th)) { display: none; }
.pf-co-option__extra th, .pf-co-option__extra td { padding: 0; border: 0; }
.pf-co #payment { background: transparent; border-radius: 0; }
.pf-co #payment .payment_box { margin: 12px 0 0; padding: 0; background: transparent; }
.pf-co #payment .payment_box::before { display: none; }

/* zgody */
.pf-co-consent { margin: 0; }

/* podsumowanie */
.pf-co__toggle { display: none; }
.pf-co__sumhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 25px; border-bottom: 1px solid var(--pf-muted); }
.pf-co-count { color: var(--pf-text-2); font-size: 13px; }
.pf-co-review__items { display: grid; row-gap: 25px; margin: 0; padding: 25px 0 24px; list-style: none; border-bottom: 1px solid var(--pf-muted); }
.pf-co-review__item { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; margin: 0; }
.pf-co-review__name, .pf-co-review__price { font: 600 15px/22px var(--pf-font); color: var(--pf-ink); }
.pf-co-review__price { text-align: right; white-space: nowrap; }
.pf-co-review__qty { grid-column: 1 / -1; margin-top: 6px; color: var(--pf-text-2); font-size: 13px; line-height: 18px; }
.pf-co-review__item .variation { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12px; color: var(--pf-text-2); }
.pf-co-review__sums { margin: 0; padding: 24px 0 24px; border-bottom: 1px solid var(--pf-muted); }
.pf-co-review__sums > div { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.pf-co-review__sums dt { color: var(--pf-text-2); font: 400 14px/20px var(--pf-font); }
.pf-co-review__sums dd { margin: 0; color: var(--pf-ink); font: 600 14px/20px var(--pf-font); white-space: nowrap; }
.pf-co-review__method { color: var(--pf-text-2); font-size: 13px; line-height: 18px; }
.pf-co-total__row { display: flex; align-items: center; justify-content: space-between; }
.pf-co-total__row span { font: 600 17px/24px var(--pf-font); }
.pf-co-total__row strong { font: italic 700 36px/1 var(--pf-display); }
.pf-co-total__row .woocommerce-Price-amount { font: inherit; color: inherit; }
.pf-co-total__vat { margin-top: 34px; color: var(--pf-text-2); font-size: 13px; line-height: 18px; }
.pf-co .pf-co__btn {
	justify-content: center;
	width: 100%;
	height: 58px;
	min-height: 0;
	padding: 0 14px;
	margin-top: 24px;
	font-size: 15px;
	text-transform: none;
	letter-spacing: 0;
}
.pf-co .pf-co__btn:hover { background: var(--pf-purple); }
.pf-co-paynote { margin-top: 25px; color: var(--pf-text-2); font-size: 13px; line-height: 18px; text-align: center; }
.pf-co__info p { color: var(--pf-text-2); font-size: 14px; line-height: 20px; margin: 0 0 10px; }
.pf-co__info p strong { color: var(--pf-ink); font-weight: 600; font-size: 13px; }
.pf-co__info .pf-co__info-small { font-size: 12px; }
.pf-co .amount, .pf-co .woocommerce-Price-currencySymbol { color: inherit; font: inherit; }
.pf-co #place_order.pf-co__btn { text-transform: none; letter-spacing: 0; font: 600 15px/1 var(--pf-font); border: 2px solid var(--pf-ink); border-radius: 2px; background: var(--pf-purple); box-shadow: 3px 3px 0 var(--pf-ink); color: var(--pf-cream); }
.pf-co .blockUI.blockOverlay { background: rgba(255, 253, 247, .6) !important; }

/* =========================== KOMPUTER =========================== */
@media (min-width: 1280px) {
	body.pf-co-page .pf-headbar__in { height: 90px; max-width: calc(1200px + 2 * var(--pf-gutter)); }
	body.pf-co-page .pf-headbar .pf-logo { flex: none; font-size: 30px; }
	body.pf-thanks-page .pf-headbar__in { height: 86px; max-width: calc(1120px + 2 * var(--pf-gutter)); }
	body.pf-thanks-page .pf-headbar__in::after { content: "POTWIERDZENIE ZAMÓWIENIA"; font-size: 12px; letter-spacing: .02em; color: var(--pf-muted); }

	form.checkout.pf-co {
		display: grid;
		grid-template-columns: 728px 432px;
		column-gap: 40px;
		row-gap: 0;
		align-items: start;
		max-width: 1200px;
		margin: 0 auto;
		padding: 59px 0 56px;
	}
	.pf-co > .woocommerce-NoticeGroup, .pf-co__head { grid-column: 1 / -1; }
	form.checkout.pf-co > * { order: 0; }
	.pf-co > .woocommerce-NoticeGroup { margin-bottom: 24px; }
	.pf-co__lead { margin-top: 16px; }
	.pf-co__head { margin-bottom: 33px; }
	.pf-co__main { grid-column: 1; display: grid; gap: 24px; min-width: 0; }
	.pf-co__side { grid-column: 2; position: sticky; top: 24px; }
	.pf-co__card { padding: 33px 28px 28px; }
	.pf-co__card > .pf-co__note { margin: 26px 0 0; }
	.pf-co__card #customer_details { margin-top: 22px; }
	.pf-co__card .pf-co-ship { margin-top: 21px; }
	.pf-co__card #payment { margin-top: 24px; }
	.pf-co__card--consent .pf-co-consent { margin-top: 21px; }
	.pf-co__card--consent .pf-co__fine { margin-top: 39px; }
	.pf-co__card--consent .pf-co__fine + .pf-co__fine { margin-top: 17px; }

	.pf-co__sum { padding: 33px 28px 0; background: var(--pf-cream); border-radius: 8px 8px 0 0; }
	.pf-co__place { padding: 32px 28px 30px; background: var(--pf-cream); border-radius: 0 0 8px 8px; }
	.pf-co__info { padding: 17px 4px 0; }

	.pf-co-foot__in { display: flex; max-width: 1200px; margin: 0 auto; padding: 27px 0 30px; }
	.pf-co-foot__help { flex: 0 0 610px; }
}

/* =========================== TELEFON =========================== */
@media (max-width: 1279.98px) {
	body:is(.pf-co-page, .pf-thanks-page) .pf-headbar__in { height: 72px; padding: 0 20px; }
	body:is(.pf-co-page, .pf-thanks-page) .pf-headbar .pf-logo { position: static; transform: none; font-size: 22px; }
	body.pf-co-page .pf-headbar__in::before { display: none; }
	body.pf-co-page .pf-headbar__in::after { box-sizing: border-box; width: 87px; padding-left: 28px; font-size: 11px; line-height: 16px; }
	body.pf-thanks-page .pf-headbar__in::before { position: static; left: auto; right: auto; top: auto; height: 36px; width: 36px; background: transparent; }

	form.checkout.pf-co { display: flex; flex-direction: column; align-items: stretch; row-gap: 0; padding: 24px 20px 32px; }
	.pf-co__side { display: contents; }
	form.checkout.pf-co > .woocommerce-NoticeGroup { order: 0; margin-bottom: 16px; }
	form.checkout.pf-co .pf-co__sum { order: 1; }
	form.checkout.pf-co > .pf-co__head { order: 2; margin-top: 31px; }
	form.checkout.pf-co > .pf-co__main { order: 3; display: grid; gap: 24px; margin-top: 25px; }
	form.checkout.pf-co .pf-co__place { order: 4; margin-top: 30px; }
	.pf-co__info { display: none; }
	.pf-co__title { font-size: 36px; }
	.pf-co__lead { margin-top: 14px; font-size: 15px; }
	.pf-co__card { padding: 25px 20px 20px; }
	.pf-co__card > .pf-co__note { margin: 26px 0 0; font-size: 13px; }
	.pf-co__card #customer_details { margin-top: 22px; }
	.pf-co__card .pf-co-ship,
	.pf-co__card #payment { margin-top: 24px; }
	.pf-co .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
	.pf-co__shipinfo { margin-top: 20px; color: var(--pf-text-2); font-size: 13px; line-height: 20px; }
	.pf-co__card--consent { border: 2px solid var(--pf-ink); border-radius: 4px; }
	.pf-co__card--consent .pf-co-consent { margin-top: 20px; }
	.pf-co__card--consent .pf-co__fine { margin-top: 17px; }
	.pf-co__card--consent .pf-co__fine + .pf-co__fine { margin-top: 18px; }
	/* Figma 13:6: po polach Telefon i Miejscowość odstęp o 4 px mniejszy niż w pozostałych wierszach */
	.pf-co #billing_phone_field, .pf-co #billing_city_field { margin-top: -4px; }
	.pf-co:not(.pf-co--invoice) .pf-co-invoice { margin-bottom: 11px; }
	.pf-co-total__row strong { font-size: 28px; }

	.pf-co__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		box-sizing: border-box;
		width: 100%;
		min-height: 76px;
		padding: 12px 16px;
		border: 1px solid var(--pf-muted);
		border-radius: 4px;
		background: var(--pf-cream);
		color: var(--pf-ink);
		text-align: left;
		text-transform: none;
		letter-spacing: 0;
		cursor: pointer;
	}
	.pf-co__toggle > span { display: grid; gap: 2px; font: 400 14px/22px var(--pf-font); }
	.pf-co__toggle strong { font-weight: 600; }
	.pf-co__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.pf-co__sumbody { display: none; margin-top: -1px; padding: 20px 16px 4px; border: 1px solid var(--pf-muted); border-top: 0; border-radius: 0 0 4px 4px; background: var(--pf-cream); }
	.pf-co--sum-open .pf-co__sumbody { display: block; }
	.pf-co--sum-open .pf-co__toggle { border-radius: 4px 4px 0 0; }
	.pf-co-review__sums { border-bottom: 0; }

	.pf-co #place_order.pf-co__btn { height: 52px; margin-top: 14px; }
	.pf-co-total__vat { margin-top: 22px; }
	.pf-co-paynote { margin-top: 15px; }

	.pf-co-foot__in { padding: 24px 20px 21px; }
	.pf-co-foot__title { margin-bottom: 3px; }
}

/* =========================================================================
   Podziękowanie (Figma 14:2 komputer / 14:7 telefon) — kontener 1120 px.
   ========================================================================= */
body.pf-thanks-page .pf-footer { margin-top: 0; }
.pf-ty { color: var(--pf-ink); font-family: var(--pf-font); }
:where(.pf-ty) p, :where(.pf-ty) ul, :where(.pf-ty) ol, :where(.pf-ty) dl, :where(.pf-ty) dd, :where(.pf-ty) h1, :where(.pf-ty) h2 { margin: 0; padding: 0; }
body.pf-thanks-page .pf-ty.woocommerce-order > *, body.pf-thanks-page .pf-ty__grid > * { margin-bottom: 0; } /* WoodMart: .wd-builder-off .woocommerce-order > :not(:last-child) */
.pf-ty :is(p, ul, ol, dl, dd, h1, h2) { margin-bottom: 0; }
.pf-ty dd { margin-left: 0; }
.pf-ty ul, .pf-ty ol { list-style: none; }
.pf-ty li { margin: 0; }
.pf-ty .amount, .pf-ty .woocommerce-Price-currencySymbol { color: inherit; font: inherit; }
.pf-ty__steps ol { display: grid; color: var(--pf-text-2); font: 400 13px/18px var(--pf-font); text-align: center; }
.pf-ty__steps .is-current { color: var(--pf-purple); font-weight: 600; }
.pf-ty__check { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 16px; background: var(--pf-cream); }
.pf-ty__kicker { color: var(--pf-purple); font: 600 12px/16px var(--pf-font); letter-spacing: .12em; text-transform: uppercase; }
.pf-ty__title { color: var(--pf-ink); font: italic 700 56px/1 var(--pf-display); text-transform: uppercase; }
.pf-ty__lead { color: var(--pf-ink-2); font: 500 22px/28px var(--pf-font); }
.pf-ty__card { box-sizing: border-box; background: var(--pf-cream); border-radius: 8px; }
.pf-ty__h { color: var(--pf-ink); font: 700 25px/1 var(--pf-display); text-transform: uppercase; }
.pf-ty__next .pf-ty__h { font-size: 23px; }
.pf-ty__next li img { display: block; width: 24px; height: 24px; }
.pf-ty__next li strong { display: block; margin-top: 8px; font: 600 15px/20px var(--pf-font); }
.pf-ty__next li span { display: block; margin-top: 9px; color: var(--pf-text-2); font: 400 14px/20px var(--pf-font); }
.pf-ty__pay { box-sizing: border-box; border: 1px solid var(--pf-purple); border-radius: 6px; background: var(--pf-cream); }
.pf-ty__pay-head { margin-top: 8px; font: 600 16px/20px var(--pf-font); }
.pf-ty__pay .pf-ty__kicker { letter-spacing: .08em; }
.pf-ty__muted { color: var(--pf-text-2); font: 400 13px/18px var(--pf-font); }
.pf-ty__pay .pf-ty__muted { margin-top: 8px; font-size: 14px; }
.pf-ty__pay .pf-ty__due .pf-ty__muted { margin-top: 0; font-size: 13px; }
.pf-ty__amount { margin-top: 3px; font: italic 700 40px/1 var(--pf-display); }
.pf-ty__small { margin-top: 6px; color: var(--pf-text-2); font: 400 11px/14px var(--pf-font); }
.pf-ty__label { margin-top: 30px; color: var(--pf-text-2); font: 600 11px/14px var(--pf-font); letter-spacing: .1em; text-transform: uppercase; }
.pf-ty__items { display: grid; row-gap: 22px; padding: 21px 0 22px !important; border-bottom: 1px solid var(--pf-muted); }
.pf-ty__items li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
.pf-ty__name { font: 500 16px/20px var(--pf-font); }
.pf-ty__price { font: 600 15px/20px var(--pf-font); text-align: right; white-space: nowrap; }
.pf-ty__qty { grid-column: 1 / -1; margin-top: 7px; color: var(--pf-text-2); font: 400 13px/16px var(--pf-font); }
.pf-ty__sums { padding: 20px 0 22px; border-bottom: 1px solid var(--pf-muted); }
.pf-ty__sums > div { display: flex; justify-content: space-between; gap: 16px; }
.pf-ty__sums > div + div { margin-top: 20px; }
.pf-ty__sums dt { color: var(--pf-text-2); font: 400 14px/20px var(--pf-font); }
.pf-ty__sums dd { color: var(--pf-text-2); font: 400 14px/20px var(--pf-font); white-space: nowrap; }
.pf-ty__sums dd.is-strong { color: var(--pf-ink); font-weight: 600; }
.pf-ty__free { margin-top: 20px; color: var(--pf-purple); font: 600 13px/18px var(--pf-font); }
.pf-ty__total { display: flex; justify-content: space-between; padding-top: 20px; color: var(--pf-text-2); font: 400 14px/20px var(--pf-font); }
.pf-ty__total strong { color: var(--pf-ink); font-weight: 600; }
.pf-ty__method { margin-top: 25px; font: 600 15px/20px var(--pf-font); }
.pf-ty__addr { margin-top: 20px; color: var(--pf-text-2); font: 400 15px/22px var(--pf-font); }
.pf-ty__ship hr { margin: 19px 0 0; border: 0; border-top: 1px solid var(--pf-muted); }
.pf-ty__contact-h { margin-top: 19px; font: 600 13px/18px var(--pf-font); }
.pf-ty__ship .pf-ty__contact-h + .pf-ty__addr { margin-top: 18px; font-size: 14px; line-height: 20px; }
.pf-ty__actions { display: flex; flex-wrap: wrap; gap: 11px 14px; }
.pf-ty .pf-ty__btn { justify-content: center; height: 52px; padding: 0 22px; font-size: 14px; }
.pf-ty .pf-ty__btn--ghost {
	display: inline-flex;
	align-items: center;
	box-sizing: border-box;
	border: 1px solid var(--pf-ink);
	border-radius: 4px;
	background: var(--pf-cream);
	color: var(--pf-ink);
	font-weight: 600;
	text-decoration: none;
}

@media (min-width: 1280px) {
	body.pf-thanks-page .pf-headbar__in { position: relative; }
	body.pf-thanks-page .pf-headbar__in::before { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
	body.pf-thanks-page .pf-ty.woocommerce-order { max-width: 1120px; margin: 0 auto; padding: 29px 0 107px; }
	.pf-ty__steps ol { grid-template-columns: repeat(5, 191px); justify-content: center; }
	.pf-ty__hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
	.pf-ty__check { margin-top: 32px; }
	.pf-ty__hero .pf-ty__kicker { margin-top: 17px; }
	.pf-ty__title { margin-top: 18px; }
	.pf-ty__lead { margin-top: 19px; }
	.pf-ty__next { margin-top: 32px; padding: 31px 24px 26px; }
	.pf-ty__next ul { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; margin-top: 22px; }
	.pf-ty__pay { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 36px; padding: 26px 24px 25px; }
	.pf-ty__due { flex: 0 0 220px; }
	.pf-ty__grid { display: grid; grid-template-columns: 726px 370px; column-gap: 24px; align-items: start; margin-top: 24px; }
	.pf-ty__order { padding: 28px 24px 24px; }
	.pf-ty__ship { padding: 30px 23px 28px; border: 2px solid var(--pf-ink); }
	.pf-ty__actions { margin-top: 26px; }
}

@media (max-width: 1279.98px) {
	body.pf-thanks-page .pf-headbar__in { height: 78px; padding: 0 24px; }
	body.pf-thanks-page .pf-headbar__in::before { order: 2; width: 38px; height: 38px; }
	body.pf-thanks-page .pf-headbar__in::after { display: none; }
	body.pf-thanks-page .pf-ty.woocommerce-order { max-width: none; margin: 0; padding: 25px 24px 80px; }
	.pf-ty__steps ol { grid-template-columns: 1fr auto 1fr auto 1fr; column-gap: 10px; align-items: center; font-size: 12px; line-height: 16px; }
	.pf-ty__check { margin-top: 29px; }
	.pf-ty__hero .pf-ty__kicker { margin-top: 17px; }
	.pf-ty__title { margin-top: 16px; font-size: 40px; line-height: 43px; }
	.pf-ty__lead { margin-top: 14px; font-size: 19px; line-height: 27px; }
	.pf-ty__card { border: 2px solid var(--pf-ink); }
	.pf-ty__next { margin-top: 29px; padding: 31px 24px 24px; }
	.pf-ty__next ul { display: grid; row-gap: 24px; margin-top: 24px; }
	.pf-ty__pay { margin-top: 28px; padding: 23px 24px 22px; }
	.pf-ty__due { margin-top: 12px; }
	.pf-ty__grid { display: grid; row-gap: 24px; margin-top: 24px; }
	.pf-ty__order, .pf-ty__ship { padding: 30px 24px 24px; }
	.pf-ty__actions { flex-direction: column; margin-top: 24px; }
	.pf-ty__actions > * { width: 100%; }
}

/* Tablet i mały laptop (768–1279): układ jednokolumnowy, wyśrodkowany zamiast rozciągniętego na cały ekran (QA 14.11 Q01). */
@media (min-width: 768px) and (max-width: 1279.98px) {
	form.checkout.pf-co { box-sizing: border-box; max-width: 800px; margin-inline: auto; }
}

/* Błędy walidacji kasy w stylu projektu: ciemny tekst na kremowym, czerwony pasek (domyślny WoodMart: biały na musztardowym, kontrast ~2:1 — QA 14.11 Q13). */
form.checkout.pf-co .woocommerce-error {
	margin: 0; padding: 14px 16px 14px 20px; list-style: none;
	background: var(--pf-cream); border: 1px solid var(--pf-ink); border-left: 6px solid #c8102e; border-radius: 2px;
	color: var(--pf-ink); font: 400 14px/1.45 var(--pf-font);
}
form.checkout.pf-co .woocommerce-error::before { display: none; }
form.checkout.pf-co .woocommerce-error li { margin: 0; padding: 0; list-style: none; }
form.checkout.pf-co .woocommerce-error li + li { margin-top: 6px; }
form.checkout.pf-co .woocommerce-error a { color: var(--pf-purple); text-decoration: underline; }

/* Skrzypas nad podsumowaniem (inc/v-naklejka.php), ten sam obrazek co w koszyku: 720×482, narysowana krawędź na 93,07% wysokości.
   Komputer: kotwica = sticky .pf-co__side (górna krawędź panelu), miejsce nad panelem daje odstęp nagłówka. Telefon: kotwica = .pf-co__place. */
.pf-co__skrzypas { position: absolute; left: 50%; bottom: 100%; z-index: 2; width: min(78%, 270px); transform: translate(-50%, 6.93%); pointer-events: none; }
.pf-co__skrzypas img { display: block; width: 100%; height: auto; filter: drop-shadow(1px 2px 2px rgba(23, 17, 31, .3)); }
@media (max-width: 1279.98px) {
	/* Telefon: blok „Razem” + przycisk dostaje ramkę jak karta Zgody, dłonie łapią jej górną krawędź (2px) jak w koszyku */
	form.checkout.pf-co .pf-co__place:has(.pf-co__skrzypas) { position: relative; margin-top: calc(30px + min(78vw, 270px) * .623); padding: 30px 20px 20px; border: 2px solid var(--pf-ink); border-radius: 4px; background: var(--pf-cream); }
	.pf-co__place .pf-co__skrzypas { transform: translate(-50%, calc(6.93% + 2px)); }
	.pf-co__place:has(.pf-co__skrzypas) #place_order.pf-co__btn { padding-inline: 12px; } /* tekst przycisku w jednej linii przy 375 px */
}
/* Pole kodu w kasie (inc/v-promocje.php, PF-42) */
.pf-co-kod { margin: 0 0 12px; font: 400 14px/1.4 var(--pf-font); }
.pf-co-kod summary { cursor: pointer; color: var(--pf-purple, #7b11db); font-weight: 500; }
.pf-co-kod__row { display: flex; gap: 8px; margin-top: 8px; }
.pf-co-kod__row input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--pf-line, #d9d3c7); border-radius: 6px; text-transform: uppercase; }
.pf-co-kod__row .pf-btn { height: 44px; min-height: 44px; padding: 0 16px; }
