/**
 * Shym Claim Codes.
 * Layout, spacing and container width come from the Elementor page this
 * renders inside. Only the pieces Elementor has no widget for live here.
 */

.shym-claim {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
}

.shym-claim h2 {
	margin: 0 0 14px;
	font-size: clamp(28px, 4.4vw, 40px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #26222f;
	text-wrap: balance;
}

.shym-claim__intro {
	margin: 0 auto 32px;
	max-width: 52ch;
	font-size: 16px;
	line-height: 1.55;
	color: #5b5766;
	text-wrap: balance;
}

.shym-claim__codebox {
	display: flex;
	gap: 8px;
	margin: 0 0 20px;
	animation: shym-claim-rise .45s cubic-bezier(.22, 1, .36, 1) both;
}

.shym-claim__code {
	flex: 1;
	min-width: 0;
	padding: 17px 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: clamp(17px, 2.6vw, 21px);
	letter-spacing: .08em;
	text-align: center;
	color: #1a1a1a;
	background: #fbfbfc;
	border: 1px solid #d9d7de;
	border-radius: 5px;
}

.shym-claim__code:focus {
	outline: 2px solid #26222f;
	outline-offset: 2px;
}

.shym-claim__copy {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 22px;
	border: 0;
	border-radius: 3px;
	background: #1a1a1a;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: background .2s cubic-bezier(.22, 1, .36, 1);
}

.shym-claim__copy:hover { background: #000; }
.shym-claim__copy.is-done { background: #1f7a3f; }

.shym-claim__expiry {
	margin: 0 0 4px;
	font-size: 15px;
	line-height: 1.5;
	color: #26222f;
}

.shym-claim__expiry strong { font-weight: 600; }

.shym-claim__note {
	margin: 0 0 32px;
	font-size: 14px;
	line-height: 1.5;
	color: #5b5766;
}

.shym-claim__btn {
	display: inline-block;
	padding: 15px 34px;
	border-radius: 3px;
	background: #1a1a1a;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background .2s cubic-bezier(.22, 1, .36, 1);
}

.shym-claim__btn:hover,
.shym-claim__btn:focus { background: #000; color: #fff; }

@keyframes shym-claim-rise {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.shym-claim__codebox { animation: none; }
	.shym-claim__copy,
	.shym-claim__btn { transition: none; }
}

@media (max-width: 480px) {
	.shym-claim__codebox { flex-direction: column; }
	.shym-claim__copy { padding: 15px; justify-content: center; }
}
