.pow-checkout,
.pow-confirmation {
	--pow-ink: #252a25;
	--pow-muted: #6e746c;
	--pow-green: #2f6b45;
	--pow-green-dark: #245438;
	--pow-yellow: #fcb800;
	--pow-yellow-dark: #e5a700;
	--pow-line: #dedbd2;
	--pow-surface: #f7f4ed;
	--pow-white: #fff;
	color: var(--pow-ink);
	font-family: inherit;
}

body:has(.pow-checkout) .page-header-page {
	height: auto;
	min-height: 0;
	padding: 0;
}

body:has(.pow-checkout) .page-header-page .entry-title {
	padding-top: 35px;
	padding-bottom: 20px;
}

body:has(.pow-checkout) .site-content {
	padding-top: 36px;
	padding-bottom: 50px;
}

.pow-checkout {
	box-sizing: border-box;
	max-width: 960px;
	margin: 0 auto 46px;
	padding: 0 20px;
}

.pow-checkout *,
.pow-confirmation * { box-sizing: border-box; }

.pow-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.pow-steps li {
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 0 8px;
	color: var(--pow-muted);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
}

.pow-steps li:not(:last-child)::before {
	position: absolute;
	top: 17px;
	right: -7px;
	width: 14px;
	height: 2px;
	background: transparent;
	color: #a4a096;
	content: "→";
	font-size: 17px;
	font-weight: 500;
	line-height: 1;
}

.pow-steps li.is-complete::before { background: transparent; color: var(--pow-green); }

.pow-step-number {
	position: relative;
	z-index: 1;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border: 2px solid var(--pow-line);
	border-radius: 50%;
	background: var(--pow-white);
	color: var(--pow-muted);
	font-size: 14px;
	font-weight: 700;
}

.pow-steps li[aria-current="step"] { color: var(--pow-ink); }
.pow-steps li[aria-current="step"] .pow-step-number {
	border-color: var(--pow-yellow);
	background: var(--pow-yellow);
	color: #1d1d1d;
	box-shadow: 0 0 0 4px rgb(252 184 0 / 18%);
}

.pow-steps li.is-complete .pow-step-number {
	border-color: var(--pow-green);
	background: var(--pow-green);
	color: transparent;
}

.pow-steps li.is-complete .pow-step-number::after {
	position: absolute;
	color: var(--pow-white);
	content: "✓";
	font-size: 17px;
}

.pow-form,
.pow-summary {
	border: 1px solid #e7e2d8;
	border-radius: 12px;
	background: var(--pow-white);
	box-shadow: 0 10px 30px rgb(50 48 42 / 7%);
}

.pow-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	padding: 32px 38px;
}

.pow-summary { padding: 32px 38px; }
.pow-form-heading { grid-column: 1 / -1; margin-bottom: 4px; }
.pow-form-heading h2,
.pow-summary .pow-form-heading h2,
.pow-confirmation h1 {
	margin: 0 0 8px;
	color: var(--pow-ink);
	font-size: clamp(27px, 4vw, 36px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.pow-form-heading p { margin: 0; color: var(--pow-muted); font-size: 16px; }
.pow-field--full,
.pow-section-title,
.pow-helper,
.pow-actions { grid-column: 1 / -1; }

.pow-field label {
	display: block;
	margin: 0 0 8px;
	color: var(--pow-ink);
	font-size: 14px;
	font-weight: 650;
}

.pow-checkout .pow-field input,
.pow-checkout .pow-field select,
.pow-checkout .pow-field textarea {
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 12px 15px;
	border: 1px solid #cbc8c0;
	border-radius: 7px;
	background-color: var(--pow-white);
	box-shadow: none;
	color: var(--pow-ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pow-checkout .pow-field textarea { min-height: 112px; resize: vertical; }
.pow-checkout .pow-field input:focus,
.pow-checkout .pow-field select:focus,
.pow-checkout .pow-field textarea:focus {
	border-color: var(--pow-green);
	box-shadow: 0 0 0 3px rgb(86 112 79 / 13%);
	outline: none;
}

.pow-section-title {
	margin: 9px 0 -5px;
	padding-top: 25px;
	border-top: 1px solid var(--pow-line);
	color: var(--pow-green-dark);
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 0.09em;
}

.pow-helper {
	margin: -10px 0 0;
	padding: 12px 15px;
	border-left: 3px solid var(--pow-yellow);
	background: var(--pow-surface);
	color: var(--pow-muted);
	font-size: 13px;
}

.pow-actions {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-top: 8px;
	padding-top: 22px;
	border-top: 1px solid var(--pow-line);
}

.pow-actions--end { justify-content: flex-end; }
.pow-checkout .pow-actions .button,
.pow-confirmation .pow-shop-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border: 1px solid var(--pow-green);
	border-radius: 7px;
	background: var(--pow-white);
	box-shadow: none;
	color: var(--pow-green-dark);
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.pow-checkout .pow-actions .button.alt,
.pow-confirmation .pow-shop-button {
	min-width: 240px;
	border-color: var(--pow-yellow);
	background: var(--pow-yellow);
	color: #1d1d1d;
}
.pow-checkout .pow-actions .button:hover,
.pow-confirmation .pow-shop-button:hover {
	border-color: #1d1d1d;
	background: #1d1d1d;
	color: var(--pow-white);
	transform: translateY(-1px);
}

.pow-checkout .woocommerce-error,
.pow-checkout .woocommerce-info,
.pow-checkout .woocommerce-message { margin-bottom: 24px; border-radius: 7px; }
.pow-summary-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.pow-summary-box {
	margin-top: 16px;
	padding: 22px 24px;
	border: 1px solid #e3ded3;
	border-radius: 9px;
	background: var(--pow-surface);
}

.pow-summary-grid .pow-summary-box { margin-top: 0; }
.pow-summary-box h3 { margin: 0 0 12px; color: var(--pow-green-dark); font-size: 16px; font-weight: 750; }
.pow-summary-box p { margin: 0; color: var(--pow-ink); line-height: 1.7; }
.pow-summary-box--delivery { border-left: 4px solid var(--pow-yellow); }
.pow-summary-box--table { padding-bottom: 10px; background: var(--pow-white); }
.pow-checkout .pow-order-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: transparent;
}

.pow-checkout .pow-order-table th,
.pow-checkout .pow-order-table td {
	padding: 13px 6px;
	border: 0;
	border-bottom: 1px solid var(--pow-line);
	background: transparent;
	color: var(--pow-ink);
	text-align: left;
}

.pow-checkout .pow-order-table th:last-child,
.pow-checkout .pow-order-table td:last-child,
.pow-checkout .pow-summary-box--totals td { text-align: right; }
.pow-checkout .pow-summary-box--totals th { font-weight: 500; }
.pow-checkout .pow-order-table .order-total th,
.pow-checkout .pow-order-table .order-total td {
	padding-top: 18px;
	border-bottom: 0;
	color: var(--pow-green-dark);
	font-size: 19px;
	font-weight: 750;
}

.pow-confirm-form { margin-top: 22px; }
.pow-terms {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 17px 19px;
	border-radius: 8px;
	background: var(--pow-surface);
	color: var(--pow-ink);
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
}

.pow-terms input[type="checkbox"] {
	width: 19px;
	height: 19px;
	min-width: 19px;
	margin: 1px 0 0;
	accent-color: var(--pow-green);
}

.pow-is-invalid { border-color: #b32d2e !important; box-shadow: 0 0 0 3px rgb(179 45 46 / 12%) !important; }
.pow-confirmation {
	max-width: 900px;
	margin: 36px auto 54px;
	padding: 0 20px;
	text-align: center;
}

.pow-confirmation-card {
	padding: clamp(34px, 7vw, 64px);
	border: 1px solid #e5e0d5;
	border-radius: 14px;
	background: var(--pow-white);
	box-shadow: 0 18px 50px rgb(50 48 42 / 8%);
}

.pow-success-icon {
	display: grid;
	width: 70px;
	height: 70px;
	margin: 0 auto 24px;
	place-items: center;
	border-radius: 50%;
	background: var(--pow-green);
	box-shadow: 0 0 0 9px rgb(86 112 79 / 10%);
	color: var(--pow-white);
	font-size: 34px;
	font-weight: 700;
}

.pow-confirmation-lead { margin: 0 0 12px; color: var(--pow-ink); font-size: 18px; font-weight: 650; }
.pow-confirmation-card > p { color: var(--pow-muted); }
.pow-deadline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 26px 0;
	padding: 15px 20px;
	border-left: 4px solid var(--pow-yellow);
	border-radius: 6px;
	background: var(--pow-surface);
	color: var(--pow-ink);
}

.pow-deadline span { color: #b17f00; font-size: 22px; }
.pow-confirmation-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 0 30px;
	border: 1px solid var(--pow-line);
	border-radius: 9px;
	background: var(--pow-surface);
}

.pow-confirmation-details div { padding: 20px; }
.pow-confirmation-details div + div { border-left: 1px solid var(--pow-line); }
.pow-confirmation-details dt { margin-bottom: 7px; color: var(--pow-muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pow-confirmation-details dd { margin: 0; color: var(--pow-ink); font-size: 18px; font-weight: 750; }

@media (max-width: 640px) {
	.pow-checkout { margin-top: 24px; padding: 0 14px; }
	.pow-steps { margin-bottom: 28px; }
	.pow-steps li { flex-direction: column; gap: 6px; padding: 0 3px; font-size: 11px; }
	.pow-steps li:not(:last-child)::before { top: 13px; right: -6px; width: 12px; font-size: 14px; }
	.pow-step-number { width: 30px; height: 30px; }
	.pow-form,
	.pow-summary { grid-template-columns: 1fr; padding: 26px 20px; }
	.pow-field,
	.pow-form-heading,
	.pow-section-title,
	.pow-helper,
	.pow-actions { grid-column: 1; }
	.pow-summary-grid,
	.pow-confirmation-details { grid-template-columns: 1fr; }
	.pow-confirmation-details div + div { border-top: 1px solid var(--pow-line); border-left: 0; }
	.pow-actions { flex-direction: column-reverse; }
	.pow-checkout .pow-actions .button { width: 100%; }
	.pow-order-table { font-size: 14px; }
	.pow-confirmation { margin: 32px auto 54px; padding: 0 14px; }
}
