/* GENEROWANY — nie edytować; scripts/perf/build_css_bundles.py */
/* --- checkout.css --- */
/* ============================================================
   Artistly PL – strona zamowienia (checkout)
   Paleta i typografia zgodne z landingiem (style.css)
   ============================================================ */

:root {
	--co-bg: #040d30;
	--co-surface: #181b3a;
	--co-surface-2: #1f2347;
	--co-line: rgba(181, 26, 252, 0.35);
	--co-line-soft: rgba(255, 255, 255, 0.10);
	--co-purple: #b51afc;
	--co-purple-deep: #6a14d1;
	--co-blue: #4760ff;
	--co-orange: #f28e27;
	--co-red: #fd644f;
	--co-green: #29c07a;
	--co-text: #ffffff;
	--co-muted: #b3b6d3;
	--co-radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', "Inter FB", "Inter FBR", sans-serif;
	background: var(--co-bg);
	color: var(--co-text);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}

a { color: var(--co-orange); }

.public-language-switch { margin-top: 8px; }
.public-language-switch a { font-weight: 700; }

/* ---------------- topbar ---------------- */
.co-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 32px;
	border-bottom: 1px solid var(--co-line-soft);
	background: rgba(4, 13, 48, 0.92);
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(8px);
}

.co-back {
	color: var(--co-muted);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	/* Obszar dotyku ~44px; ujemny margines oddaje padding, więc pasek nie rośnie. */
	padding: 12px 8px;
	margin: -12px -8px;
}

.co-back:hover { color: #fff; }

.co-logo img { height: 48px; width: auto; display: block; }

.co-secure {
	color: var(--co-muted);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.co-lock { margin-right: 4px; }

/* ---------------- layout ---------------- */
.co-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 28px;
	max-width: 1320px;
	margin: 0 auto;
	padding: 36px 32px 64px;
	align-items: start;
}

.co-col { min-width: 0; }

.co-col-info { display: flex; flex-direction: column; gap: 20px; }

/* Kolumna płatności jest pierwsza w HTML (na telefonie widoczna u góry); na szerokim ekranie
   wraca na prawą stronę. Bez `order` częściowo wczytany HTML nie przesuwa kolumny zamówienia. */
.co-col-info { grid-column: 1; grid-row: 1; }

.co-col-pay { grid-column: 2; grid-row: 1; }

/* ---------------- karty ---------------- */
.co-card {
	background: var(--co-surface);
	border: 1px solid var(--co-line-soft);
	border-radius: var(--co-radius);
	padding: 26px 28px;
}

.co-card-order {
	border: 2px dotted var(--co-line);
	background: linear-gradient(160deg, #1d1547 0%, var(--co-surface) 60%);
}

.co-eyebrow {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 12px;
	font-weight: 800;
	color: var(--co-orange);
	margin-bottom: 8px;
}

.co-plan-name {
	font-family: 'K2D', "K2D FB", "K2D FBR", 'Outfit', "Outfit FB", "Outfit FBR", sans-serif;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 6px;
}

.co-plan-sub {
	margin: 0 0 22px;
	color: var(--co-muted);
	font-size: 15px;
}

.co-h2 {
	font-family: 'Outfit', "Outfit FB", "Outfit FBR", sans-serif;
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 16px;
}

/* ---------------- podsumowanie ---------------- */
.co-summary {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--co-line-soft);
}

.co-summary li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--co-line-soft);
	font-size: 15px;
	color: var(--co-muted);
}

.co-summary li strong { color: #fff; font-weight: 700; white-space: nowrap; }

.co-summary li em { font-style: normal; color: #fff; }

.co-summary-total {
	border-bottom: 0 !important;
	padding-top: 16px !important;
	font-size: 17px !important;
	color: #fff !important;
	font-weight: 700;
}

.co-summary-total strong {
	font-family: 'K2D', "K2D FB", "K2D FBR", sans-serif;
	font-size: 30px;
	color: var(--co-orange) !important;
}

.co-coupon-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 14px;
	padding: 11px 13px;
	border: 1px solid color-mix(in srgb, var(--co-green) 55%, transparent);
	border-radius: 10px;
	background: color-mix(in srgb, var(--co-green) 12%, transparent);
	color: var(--co-text);
}

.co-coupon-note svg {
	flex: 0 0 auto;
	width: 19px;
	height: 19px;
	margin-top: 2px;
	color: var(--co-green);
}

.co-coupon-note p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
}

.co-coupon-note strong { color: var(--co-green); }

.co-once {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 0;
	font-size: 14px;
	color: var(--co-muted);
}

.co-badge-once {
	background: linear-gradient(90deg, var(--co-purple-deep), var(--co-purple));
	color: #fff;
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
}

/* ---------------- lista funkcji ---------------- */
.co-features {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 8px 22px;
}

.co-features li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
	color: var(--co-muted);
}

.co-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--co-green);
	font-weight: 800;
}

.co-switch {
	display: flex;
	align-items: center;
	min-height: 44px;
	width: fit-content;
	max-width: 100%;
	margin-bottom: 8px;
	padding-block: 6px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.4;
	overflow-wrap: anywhere;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.co-switch:focus-visible { outline: 2px solid var(--co-orange); outline-offset: 3px; }

.co-benefits-title { margin: 0; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.co-benefits-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: 14px; }
.co-benefits-selected { color: var(--co-green); font-size: 13px; font-weight: 700; }
.co-benefits-limit { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 12px 0 0; color: var(--co-muted); font-size: 14px; overflow-wrap: anywhere; }
.co-premium-benefits { margin-top: 22px; padding-top: 20px; border-top: 2px solid var(--co-orange); }
.co-premium-benefits .co-benefits-title { color: var(--co-orange); }
.co-benefits-title + .co-features { margin-top: 12px; }
.co-benefits-details { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 0; }
.co-benefits-details li { color: var(--co-text); padding-left: 0; padding-inline-start: 26px; overflow-wrap: anywhere; }
.co-benefits-details li::before { left: auto; inset-inline-start: 0; }

/* ---------------- metody platnosci ---------------- */
.co-pay-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 16px;
}

.co-pay {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--co-surface-2);
	border: 1px solid var(--co-line-soft);
	border-radius: 14px;
	padding: 14px 16px;
}

.co-pay strong { display: block; font-size: 15px; margin-bottom: 2px; }

.co-pay > div { min-width: 0; overflow-wrap: anywhere; }

.co-pay p { margin: 0; font-size: 13px; color: var(--co-muted); line-height: 1.45; }

.co-pay-mark {
	flex: 0 0 auto;
	min-width: 52px;
	text-align: center;
	font-family: 'Outfit', "Outfit FB", "Outfit FBR", sans-serif;
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.5px;
	padding: 8px 6px;
	border-radius: 9px;
	background: #fff;
	color: #111827;
}

.co-pay-blik { color: #e5097f; }
.co-pay-card { color: #1a1f71; }
.co-pay-transfer { color: #d13239; }
.co-pay-wallet { color: #635bff; }

.co-pay-strip { display: block; margin-top: 18px; max-width: 330px; width: 100%; height: auto; }

/* ---------------- gwarancja ---------------- */
.co-card-guarantee { display: flex; gap: 20px; align-items: center; }

.co-guarantee-img { width: 92px; height: auto; flex: 0 0 auto; }

.co-card-guarantee p { margin: 0; font-size: 14px; color: var(--co-muted); }

/* ---------------- faq ---------------- */
.co-faq { margin: 0; }

.co-faq dt { font-weight: 700; font-size: 15px; margin-top: 14px; }

.co-faq dt:first-child { margin-top: 0; }

.co-faq dd { margin: 4px 0 0; font-size: 14px; color: var(--co-muted); }

.co-legal { font-size: 13px; line-height: 1.7; color: var(--co-muted); margin: 0; }

/* Linki w zdaniu: większy obszar dotyku bez zmiany układu wiersza. */
.co-legal a { padding-block: 5px; }

/* ---------------- okno platnosci ---------------- */
.co-col-pay { position: sticky; top: 96px; }

.co-paybox {
	background: var(--co-surface);
	border: 2px dotted var(--co-line);
	border-radius: var(--co-radius);
	padding: 22px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.co-paybox-head {
	display: grid;
	gap: 4px;
	margin-bottom: 4px;
}

.co-selected-plan {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
	font-size: 16px;
	line-height: 1.4;
}

.co-selected-plan strong { min-width: 0; overflow-wrap: anywhere; }

.co-paybox-head h2 {
	/* Stable first paint: PT heading wrapped only after Outfit swapped in. */
	font-family: Arial, sans-serif;
	font-size: 21px;
	font-weight: 800;
	margin: 0;
}

.co-amount {
	font-family: 'K2D', "K2D FB", "K2D FBR", sans-serif;
	font-size: 28px;
	font-weight: 800;
	color: var(--co-orange);
	white-space: nowrap;
}

.co-iframe-wrap {
	position: relative;
	background: #0b1338;
	border: 1px solid var(--co-line-soft);
	border-radius: 14px;
	overflow: hidden;
	min-height: 620px;
}

#subify-frame {
	display: block;
	width: 100%;
	height: 620px;
	border: 0;
}

.co-paybox-foot {
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--co-muted);
	text-align: center;
}

/* ---------------- footer ---------------- */
.co-footer {
	border-top: 1px solid var(--co-line-soft);
	padding: 22px 32px;
	text-align: center;
}

.co-footer p { margin: 0; font-size: 14px; color: var(--co-muted); }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
	.co-shell { grid-template-columns: 1fr; }

	.co-col-info,
	.co-col-pay { grid-column: auto; grid-row: auto; }

	.co-col-pay { position: static; }
}

@media (max-width: 640px) {
	.co-topbar { padding: 14px 18px; }

	.co-secure { display: none; }

	/* logo 34px + link powrotu nie mieszcza sie razem na waskich telefonach */
	.co-logo img { height: 28px; }

	.co-back { font-size: 14px; }

	.co-shell { padding: 24px 16px 48px; gap: 20px; }

	.co-card { padding: 20px 18px; }

	.co-plan-name { font-size: 26px; }

	.co-summary-total strong { font-size: 26px; }

	.co-card-guarantee { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
	.co-topbar { padding: 12px 12px; gap: 8px; }

	.co-logo img { height: 24px; }

	.co-back { font-size: 13px; }

	.co-shell { padding: 20px 12px 40px; }

	.co-card { padding: 18px 14px; }

	.co-paybox { padding: 16px 12px; }
}

/* --- checkout-pay.css --- */
/* Formularz platnosci na stronie zamowienia (Stripe + TPay).
   Warstwa UI - bez logiki platnosci. */

.co-payform {
	display: block;
	margin: 18px 0 6px;
}

.co-field {
	display: block;
	margin-bottom: 16px;
}

/* Tylko etykieta — komunikat .co-field-error (też span w label) zachowuje własny styl. */
.co-field > span:not(.co-field-error) {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
}

.co-field input {
	width: 100%;
	font: inherit;
	font-size: 15px;
	color: #111827;
	background: #fff;
	border: 1.5px solid #e5e7eb;
	border-radius: 12px;
	padding: 12px 14px;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.co-field input:focus {
	border-color: #6d28d9;
	box-shadow: 0 0 0 3px rgba(109, 40, 217, .15);
}

.co-field.is-error input {
	border-color: #ef4444;
	background: #fef2f2;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, .15);
}

.co-field.is-error input:focus {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .2);
}

.co-field-error {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 13px;
	line-height: 1.45;
	color: #b91c1c;
	margin-top: 8px;
}

.co-field-error::before {
	/* Wariant tekstowy (FE0E): ikona w kolorze komunikatu, nie kolorowe emoji. */
	content: "\26A0\FE0E";
	font-size: 13px;
	line-height: inherit;
	flex: 0 0 auto;
}

.co-methods {

	display: grid;
	gap: 10px;
	margin-bottom: 18px;
}

.co-method {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-align: left;
	background: #fff;
	border: 1.5px solid #e5e7eb;
	border-radius: 12px;
	padding: 12px 14px;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.co-method:hover {
	border-color: #c4b5fd;
}

.co-method.is-active {
	border-color: #6d28d9;
	background: #faf5ff;
	box-shadow: 0 0 0 3px rgba(109, 40, 217, .12);
}

.co-method-text {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: anywhere;
}

.co-method-text strong {
	display: block;
	font-size: 15px;
	color: #111827;
	line-height: 1.3;
}

.co-method-text em {
	display: block;
	font-style: normal;
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
}

.co-method-dot {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #d1d5db;
	position: relative;
}

.co-method.is-active .co-method-dot {
	border-color: #6d28d9;
}

.co-method.is-active .co-method-dot::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: #6d28d9;
}

.co-submit {
	display: block;
	width: 100%;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(90deg, #7c3aed, #db2777);
	border: 0;
	border-radius: 14px;
	padding: 15px 18px;
	cursor: pointer;
}

.co-submit:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.co-payform-note {
	font-size: 12px;
	line-height: 1.6;
	color: #6b7280;
	margin: 12px 0 0;
}

.co-payform-note strong {
	color: #374151;
}

/* Stany platnosci: blad, potwierdzanie BLIK, strona potwierdzenia */

.co-payform-error {
	background: #fef2f2;
	border: 1.5px solid #fecaca;
	color: #b91c1c;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 14px;
}

.co-confirming {
	text-align: center;
	padding: 26px 8px 8px;
}

.co-confirming h3 {
	font-size: 18px;
	color: #111827;
	margin: 18px 0 8px;
}

.co-confirming p {
	font-size: 14px;
	line-height: 1.6;
	color: #6b7280;
	margin: 0 0 6px;
}

.co-countdown strong {
	color: #6d28d9;
}

.co-spinner {
	width: 42px;
	height: 42px;
	margin: 0 auto;
	border-radius: 50%;
	border: 4px solid #ede9fe;
	border-top-color: #6d28d9;
	animation: co-spin .9s linear infinite;
}

@keyframes co-spin {
	to { transform: rotate(360deg); }
}

.co-shell-narrow {
	display: block;
	max-width: 720px;
	margin: 0 auto;
}

.co-confirm-card {
	text-align: center;
	color: var(--co-text);
}

.co-confirm-icon {
	font-size: 42px;
	line-height: 1;
	margin-bottom: 10px;
}

.co-confirm-title {
	font-size: 26px;
	line-height: 1.25;
	color: var(--co-text);
	margin: 0 0 14px;
}

.co-confirm-lead {
	font-size: 15px;
	line-height: 1.7;
	color: var(--co-muted);
	margin: 0 0 12px;
}

.co-confirm-details {
	list-style: none;
	margin: 20px 0;
	padding: 0;
	text-align: left;
	border: 1.5px solid var(--co-line-soft);
	border-radius: 12px;
	overflow: hidden;
}

.co-confirm-details li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 14px;
	font-size: 14px;
	border-bottom: 1px solid var(--co-line-soft);
}

.co-confirm-details li:last-child {
	border-bottom: 0;
}

.co-confirm-details span {
	color: var(--co-muted);
}

.co-confirm-details strong {
	color: var(--co-text);
	word-break: break-all;
}

.co-confirm-note {
	font-size: 13px;
	line-height: 1.6;
	color: var(--co-muted);
	margin: 0 0 12px;
}

.co-submit-link {
	display: block;
	text-align: center;
	text-decoration: none;
	margin-top: 8px;
}

/* ============================================================
   Karta platnosci – uklad wzorowany na projekcie referencyjnym
   (ikony, panel BLIK, stany), w naszej kolorystyce.
   ============================================================ */

.co-methods-title {
	font-size: 14px;
	font-weight: 700;
	color: #111827;
	margin: 24px 0 12px;
}

/* Komunikat „wybierz metodę” tuż pod nagłówkiem — odstęp od kart. */
.co-methods-title + .co-field-error {
	margin: 0 0 12px;
}

.co-methods {
	display: grid;
	gap: 12px;
	/* Kontekst nakładki „Ładowanie…” przed hydracją. */
	position: relative;
}

.co-method {
	gap: 12px;
	border-radius: 14px;
	padding: 12px 14px;
}

.co-method.is-active {
	box-shadow: 0 6px 18px -8px rgba(109, 40, 217, .45);
}

.co-method-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #f5f3ff;
	color: #6d28d9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.co-method-icon svg {
	width: 20px;
	height: 20px;
}

.co-method.is-active .co-method-icon {
	background: #ede9fe;
}

.co-method-text strong {
	font-size: 14px;
	font-weight: 700;
}

.co-method-text em {
	font-size: 12px;
	line-height: 1.35;
	margin-top: 2px;
}

/* Panel z kodem BLIK */

.co-blik-panel,
.co-card-panel {
	border: 1.5px solid #e5e7eb;
	border-radius: 14px;
	background: #fff;
	padding: 16px;
	display: grid;
	gap: 12px;
	animation: co-slide-in .18s ease-out;
}

@keyframes co-slide-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}

.co-blik-hint {
	font-size: 12px;
	color: #6b7280;
	text-align: center;
	margin: 0;
}

.co-blik-input {
	width: 100%;
	height: 56px;
	font: inherit;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: .3em;
	text-align: center;
	font-variant-numeric: tabular-nums;
	color: #111827;
	background: #fff;
	border: 2px solid rgba(109, 40, 217, .25);
	border-radius: 12px;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.co-blik-input:focus {
	border-color: #6d28d9;
	box-shadow: 0 0 0 3px rgba(109, 40, 217, .15);
}

.co-blik-input:disabled {
	opacity: .6;
}

/* Przyciski */

.co-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 56px;
	line-height: 1.25;
}

.co-submit svg {
	width: 20px;
	height: 20px;
}

.co-btn-outline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #6d28d9;
	background: #fff;
	border: 1.5px solid #ddd6fe;
	border-radius: 12px;
	padding: 12px 14px;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease;
}

.co-btn-outline:hover {
	background: #faf5ff;
	border-color: #c4b5fd;
}

.co-btn-outline svg {
	width: 16px;
	height: 16px;
}

.co-icon-spin {
	animation: co-spin .9s linear infinite;
}

.co-linkbtn {
	font: inherit;
	font-size: 12px;
	color: #6b7280;
	background: none;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
}

.co-linkbtn:hover {
	color: #111827;
}

/* Bledy */

.co-error-block {
	display: grid;
	gap: 10px;
}

.co-error-msg {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: #fef2f2;
	border: 1.5px solid #fecaca;
	color: #b91c1c;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.5;
}

.co-error-msg svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	margin-top: 2px;
}

/* Teksty prawne pod przyciskiem */

.co-legal-note {
	font-size: 12px;
	line-height: 1.5;
	color: #6b7280;
	text-align: center;
	margin: 0;
}

.co-consent {
	font-size: 12px;
	line-height: 1.7;
	color: #6b7280;
	text-align: center;
	margin: 0;
}

.co-consent a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	/* Obszar dotyku ~24px bez zmiany wysokości wiersza (padding linku w wierszu nie przesuwa tekstu). */
	padding-block: 5px;
}

/* Gwarancja i zaufanie */

.co-guarantee-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
	font-size: 14px;
	font-weight: 600;
	color: #6d28d9;
}

.co-guarantee-line svg {
	width: 16px;
	height: 16px;
}

.co-trust {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #e5e7eb;
	text-align: center;
}

.co-trust-title {
	font-size: 12px;
	color: #6b7280;
	margin: 0 0 8px;
}

.co-trust-row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 8px;
}

.co-trust-row svg {
	width: 20px;
	height: 20px;
	color: #9ca3af;
}

.co-trust-row span {
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
}

.co-trust-wallets {
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
	margin: 0 0 8px;
}

.co-trust-ssl {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 12px;
	color: #6b7280;
	margin: 0;
}

.co-trust-ssl svg {
	width: 12px;
	height: 12px;
}

/* Stany: potwierdzanie w banku / sukces */

.co-state-card {
	border: 2px solid rgba(109, 40, 217, .3);
	border-radius: 14px;
	background: #fff;
	padding: 24px 18px;
	text-align: center;
	display: grid;
	justify-items: center;
	gap: 12px;
}

.co-state-card h3 {
	font-size: 18px;
	font-weight: 700;
	color: #111827;
	margin: 0;
}

.co-state-card p {
	font-size: 14px;
	line-height: 1.6;
	color: #6b7280;
	margin: 0;
}

.co-state-icon {
	width: 48px;
	height: 48px;
	color: #6d28d9;
}

.co-pulse {
	animation: co-pulse 1.6s ease-in-out infinite;
}

@keyframes co-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .5; }
}

.co-progress {
	width: 100%;
	height: 6px;
	border-radius: 999px;
	background: #f3f4f6;
	overflow: hidden;
}

.co-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #7c3aed, #db2777);
	transition: width 1s linear;
}

/* Etykiety na ciemnym tle panelu platnosci */

.co-paybox .co-field > span:not(.co-field-error),
.co-paybox .co-methods-title {
	color: rgba(255, 255, 255, .85);
}

/* Ciemna karta płatności: kolory czytelne na granacie (kontrast >= 4.5:1). */
.co-paybox .co-field-error {
	color: #fca5a5;
}

.co-paybox .co-guarantee-line {
	color: #c4b5fd;
}

.co-paybox .co-card-panel .co-legal-note,
.co-paybox .co-card-panel .co-consent,
.co-paybox .co-trust-title,
.co-paybox .co-trust-row span,
.co-paybox .co-trust-row svg,
.co-paybox .co-trust-wallets,
.co-paybox .co-trust-ssl {
	color: var(--co-muted);
}

.co-paybox .co-trust {
	border-top-color: var(--co-line-soft);
}

/* Blok z informacją o linku do ustawienia hasła (strona potwierdzenia) */
.co-confirm-access {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid rgba(124, 58, 237, .25);
  border-radius: 14px;
  background: rgba(124, 58, 237, .06);
  text-align: left;
}
.co-confirm-access h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.co-confirm-access p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
}
.co-submit-secondary {
  background: #fff;
  color: #5b21b6;
  border: 1px solid rgba(124, 58, 237, .4);
}
.co-submit-secondary:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.co-field input[readonly] { background: #eef0f6; color: #4b5563; cursor: not-allowed; }

/* DE: obowiązkowa zgoda na natychmiastowe wykonanie (Widerrufsverzicht) */
.co-consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #e3e1f0;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #3b3950;
  cursor: pointer;
}
.co-consent-check input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; accent-color: #6d28d9; }
.co-consent-check a { color: inherit; text-decoration: underline; }
.co-consent-check.is-error { border-color: #dc2626; background: #fef2f2; }

/* DE: panel zgody jest częścią ciemnej karty płatności, nie jasną nakładką. */
.co-paybox .co-card-panel {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
}
.co-paybox .co-consent-check {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .9);
}
.co-paybox .co-consent-check.is-error {
  border-color: #f87171;
  background: rgba(127, 29, 29, .28);
}

/* Przed hydracją: metody płatności nieaktywne do czasu ożycia strony; wskaźnik nakłada się na karty
   (poza przepływem), więc nie zostawia pustego miejsca i jego zniknięcie nie przesuwa układu. */
.co-method:disabled { opacity: .55; cursor: progress; }
/* Przed hydracją: sam spinner na miejscu radia (tekst zostaje dla czytników ekranu), nie zasłania nazw metod. */
.co-methods-loading { position: absolute; top: 50%; inset-inline-end: 12px; z-index: 1; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0; padding: 0; overflow: hidden; border-radius: 999px; background: rgba(24, 27, 58, .92); color: #fff; font-size: 0; white-space: nowrap; pointer-events: none; }
.co-methods-loading svg { flex: none; width: 18px; height: 18px; }

/* Audyt mobilny: krótkie końcówki zdań zgody (np. JA „す。”) nie zostają same w wierszu. */
.co-consent, .co-legal-note { text-wrap: pretty; }

/* RTL (he/ar): strzałki „wstecz” i „dalej” wskazują kierunek czytania. */
[dir="rtl"] .co-back > span[aria-hidden="true"],
[dir="rtl"] .co-submit .lucide-arrow-right { display: inline-block; transform: scaleX(-1); }

