/**
 * Claim flow (`/reklama/claim/?id=N`) — стилі.
 *
 * Намагаємось підбирати тон під catalog.css (var-токени, .cat-btn, .cat-field
 * перевикористовуємо). Власний namespace — `.claim-*`.
 */

.claim-page {
	padding: 8px 0 60px;
	min-height: 70vh;
}

.claim-crumbs {
	max-width: 720px;
	margin: 0 auto;
	padding: 16px 28px 0;
	font-size: 12px;
	color: var(--muted);
}
.claim-crumbs .sep { margin: 0 6px; opacity: .6; }
.claim-crumbs a:hover { color: var(--ink); text-decoration: underline; }

.claim-card {
	max-width: 640px;
	margin: 24px auto 0;
	padding: 28px 28px 36px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: var(--shadow-2);
}

@media (max-width: 720px) {
	.claim-card { margin: 14px 14px 0; padding: 18px 16px 28px; border-radius: 16px; }
}

/* ---- HEAD: компанія ---- */
.claim-card__head { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.claim-card__company { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; }
.claim-card__logo {
	width: 64px; height: 64px;
	border-radius: 14px;
	overflow: hidden;
	object-fit: cover;
	background: var(--paper-2);
}
.claim-card__logo--fb {
	display: flex; align-items: center; justify-content: center;
	font-family: 'Unbounded', system-ui, sans-serif;
	font-weight: 800; font-size: 22px;
	color: var(--ink-2);
	background: linear-gradient(135deg, var(--yellow-soft), var(--paper-2));
}
.claim-card__eyebrow {
	font-size: 11px;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 4px;
}
.claim-card__title {
	font-family: 'Unbounded', system-ui, sans-serif;
	font-weight: 700; font-size: 22px;
	letter-spacing: -.01em;
	margin: 0 0 4px;
	color: var(--ink);
}
.claim-card__sub { font-size: 13px; color: var(--muted); line-height: 1.45; }
.claim-card__view {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px; font-weight: 600;
	color: var(--ink-2);
	text-decoration: underline;
}
.claim-card__view:hover { color: var(--red); }

/* ---- STEP container ---- */
.claim-step__title {
	font-family: 'Unbounded', system-ui, sans-serif;
	font-weight: 700;
	font-size: 22px;
	letter-spacing: -.01em;
	margin: 0 0 12px;
	line-height: 1.2;
}
.claim-step__lead {
	font-size: 14px;
	color: var(--ink-3);
	line-height: 1.55;
	margin: 0 0 18px;
}
.claim-step__footer {
	margin-top: 18px;
	font-size: 12px;
	color: var(--muted);
	text-align: center;
}
.claim-link {
	background: transparent;
	color: var(--ink-2);
	font-size: 12px;
	text-decoration: underline;
	padding: 4px 6px;
	font-weight: 500;
}
.claim-link:hover { color: var(--red); }

/* ---- INTRO step ---- */
.claim-perks {
	list-style: none; padding: 0; margin: 0 0 24px;
	display: grid; gap: 14px;
}
.claim-perks li {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 12px;
	align-items: start;
}
.claim-perks__icon {
	display: flex; align-items: center; justify-content: center;
	width: 36px; height: 36px;
	background: var(--yellow-soft);
	border-radius: 10px;
	font-size: 18px;
}
.claim-perks li b {
	display: block;
	font-family: 'Unbounded', system-ui, sans-serif;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 2px;
	color: var(--ink);
}
.claim-perks li span {
	font-size: 13px;
	color: var(--ink-3);
	line-height: 1.5;
}

.claim-action {
	padding: 16px 0;
	text-align: center;
}
.claim-action__main {
	width: 100%;
	height: 52px;
	font-size: 15px;
	justify-content: center;
}
.claim-action__sub {
	margin-top: 10px;
	font-size: 12px;
	color: var(--muted);
}

.claim-noemail {
	padding: 12px 14px;
	background: var(--paper-2);
	border-radius: 10px;
	font-size: 13px;
	color: var(--ink-3);
	margin-bottom: 14px;
}

.claim-toggle {
	display: block;
	margin-top: 14px;
	text-align: center;
	font-size: 12px;
	color: var(--muted);
	text-decoration: underline;
}
.claim-toggle:hover { color: var(--ink); }

/* ---- CODE step ---- */
.claim-code-input {
	display: flex; justify-content: center;
	margin: 14px 0 18px;
}
.claim-code-input input {
	width: 240px;
	height: 64px;
	padding: 0 12px;
	text-align: center;
	font-family: 'JetBrains Mono', 'Menlo', monospace;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.6em;
	color: var(--ink);
	background: var(--paper);
	border: 2px solid var(--line-strong);
	border-radius: 12px;
	outline: 0;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.claim-code-input input:focus {
	border-color: var(--ink);
	box-shadow: 0 0 0 4px var(--yellow-soft);
}

.claim-code-form__submit,
.claim-manual-form__submit {
	width: 100%;
	height: 48px;
	font-size: 14px;
	justify-content: center;
}

.claim-msg {
	margin-top: 10px;
	min-height: 18px;
	font-size: 12.5px;
	text-align: center;
}
.claim-msg.is-error { color: var(--red-deep); }
.claim-msg.is-ok    { color: var(--green); }

/* ---- MANUAL step ---- */
.claim-step--manual .cat-field { margin-bottom: 12px; }
.claim-flash {
	padding: 10px 12px;
	background: var(--yellow-soft);
	border-radius: 8px;
	font-size: 12.5px;
	color: var(--ink-2);
	margin: 0 0 14px;
}

/* ---- DONE step ---- */
.claim-step--done {
	text-align: center;
	padding: 12px 0;
}
.claim-done__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 72px; height: 72px;
	background: rgba(42, 123, 58, 0.12);
	color: var(--green);
	border-radius: 50%;
	font-size: 36px;
	margin: 0 auto 14px;
}
.claim-done__lead {
	max-width: 480px;
	margin: 0 auto 22px;
	color: var(--ink-3);
	font-size: 14px;
	line-height: 1.55;
}
.claim-done__cta {
	display: inline-flex;
	min-width: 220px;
	height: 48px;
	font-size: 14px;
	justify-content: center;
}

/* Prevent form-flicker on hidden steps */
.claim-step[hidden] { display: none !important; }

/* ---- DARK MODE inheritance ---- */
body[data-theme="dark"] .claim-card { background: var(--paper-2); }
body[data-theme="dark"] .claim-code-input input {
	background: var(--paper);
	color: var(--ink);
}
body[data-theme="dark"] .claim-flash { background: rgba(255, 212, 0, .15); }
