/* ==========================================================================
   SMS Age Restriction - front office styles
   ========================================================================== */

:root {
	--sms-age-accent: #c0392b;
	--sms-age-accent-bg: #fdf1f0;
	--sms-age-accent-border: #f3c6c2;
	--sms-age-text: #4a2b28;
}

/* ---- Product page badge ---- */
.sms-age-box {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--sms-age-accent-bg);
	border: 1px solid var(--sms-age-accent-border);
	color: var(--sms-age-text);
	padding: 10px 12px;
	border-radius: 6px;
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.4;
}

.sms-age-icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.sms-age-box-text {
	flex: 1 1 auto;
}

.sms-age-info-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: var(--sms-age-accent);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.sms-age-info-btn:hover,
.sms-age-info-btn:focus {
	background-color: rgba(192, 57, 43, 0.12);
	outline: none;
}

/* ---- Cart / checkout notice ---- */
.sms-age-cart-box {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: var(--sms-age-accent-bg);
	border: 1px solid var(--sms-age-accent-border);
	color: var(--sms-age-text);
	padding: 12px 14px;
	border-radius: 6px;
	margin-bottom: 16px;
}

.sms-age-cart-icon {
	color: var(--sms-age-accent);
	flex-shrink: 0;
	margin-top: 1px;
}

.sms-age-cart-title {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

/* ---- Checkout address-step widget ---- */
.sms-age-restriction-box {
	background: #fff;
	border: 1px solid var(--sms-age-accent-border);
	border-left: 4px solid var(--sms-age-accent);
	border-radius: 6px;
	padding: 18px 20px;
	margin: 16px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sms-age-restriction-header {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--sms-age-accent);
	margin-bottom: 8px;
	font-size: 16px;
}

.sms-age-restriction-copy {
	margin: 0 0 14px;
	color: #555;
	font-size: 14px;
	line-height: 1.5;
}

.sms-age-restriction-error {
	background: #fbeaea;
	border: 1px solid #e6a5a0;
	color: #a12a2a;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 13px;
	margin-bottom: 14px;
}

.sms-age-restriction-success {
	background: #eaf7ee;
	border: 1px solid #a7dcb5;
	color: #256b3a;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 13px;
	margin-bottom: 0;
}

.sms-age-restriction-birthday-on-file {
	font-size: 14px;
	margin-bottom: 8px;
}

.sms-age-restriction-consent {
	margin-top: 12px;
}

.sms-age-restriction-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	font-size: 14px;
	cursor: pointer;
}

.sms-age-restriction-checkbox input[type='checkbox'] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}

.sms-age-restriction-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.sms-age-restriction-edit-link {
	font-size: 13px;
}

.sms-age-birthday-hint {
	display: block;
	margin-top: 4px;
	color: var(--sms-age-accent);
	font-size: 12px;
}

/* ---- Small screens ---- */
@media (max-width: 480px) {
	.sms-age-restriction-box {
		padding: 14px;
	}

	.sms-age-restriction-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.sms-age-restriction-actions .btn {
		width: 100%;
	}
}
