/* ============================================================
   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', sans-serif;
	background: var(--co-bg);
	color: var(--co-text);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}

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

/* ---------------- 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;
}

.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; }

/* ---------------- 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', 'Outfit', 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', 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-discount strong { color: var(--co-green) !important; }

.co-summary-vat { font-size: 13px !important; }

.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', sans-serif;
	font-size: 30px;
	color: var(--co-orange) !important;
}

.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: inline-block;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 1px dashed currentColor;
}

/* ---------------- metody platnosci ---------------- */
.co-pay-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(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 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', 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; color: var(--co-muted); margin: 0; }

/* ---------------- 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: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.co-paybox-head h2 {
	font-family: 'Outfit', sans-serif;
	font-size: 21px;
	font-weight: 800;
	margin: 0;
}

.co-amount {
	font-family: 'K2D', 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-pay { position: static; order: -1; }
}

@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; }
}
