/* RUO Compliance Scanner — storefront styles.
   Deliberately neutral: these notices inherit the theme's type so they read as
   part of the store rather than as a bolted-on banner people learn to ignore. */

.rcs-gate {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(17, 17, 17, 0.92);
}

.rcs-gate-open {
	overflow: hidden;
}

.rcs-gate__panel {
	background: #fff;
	color: #1d2327;
	max-width: 520px;
	width: 100%;
	padding: 32px;
	border-radius: 4px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.rcs-gate__title {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.25;
}

.rcs-gate__body {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
	color: #3c434a;
}

.rcs-gate__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.rcs-gate__confirm,
.rcs-gate__decline {
	font: inherit;
	padding: 11px 20px;
	border-radius: 3px;
	cursor: pointer;
	border: 1px solid #1d2327;
}

.rcs-gate__confirm {
	background: #1d2327;
	color: #fff;
	flex: 1 1 auto;
}

.rcs-gate__decline {
	background: transparent;
	color: #1d2327;
}

.rcs-gate__confirm:focus-visible,
.rcs-gate__decline:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: 2px;
}

/* Notices */

.rcs-product-notice {
	margin: 14px 0;
	padding: 10px 14px;
	border-left: 3px solid #b32d2e;
	background: #fbf2f2;
}

.rcs-notice-line {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.5;
}

.rcs-notice-line:last-child {
	margin-bottom: 0;
}

.rcs-footer-notice {
	margin: 32px auto 0;
	padding: 18px 20px;
	max-width: 80ch;
	border-top: 1px solid #dcdcde;
	color: #50575e;
	font-size: 12px;
	line-height: 1.6;
	text-align: center;
}

.rcs-notice-line--complaint {
	margin-top: 8px;
}

/* COA */

.rcs-coa {
	margin: 12px 0;
	font-size: 13px;
}

.rcs-coa__batch {
	color: #646970;
}

.rcs-coa__note {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #646970;
	max-width: 70ch;
}

/* Checkout */

.rcs-attestation {
	margin: 20px 0;
	padding: 16px 18px;
	border: 1px solid #dcdcde;
	background: #fafafa;
}

.rcs-attestation__title {
	margin: 0 0 6px;
	font-size: 15px;
}

.rcs-attestation__intro {
	margin: 0 0 12px;
	font-size: 13px;
	color: #50575e;
}

.rcs-attestation__row {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
}

.rcs-attestation__row:last-of-type {
	margin-bottom: 0;
}

.rcs-attestation__input {
	margin-right: 6px;
}

.rcs-sms-consent {
	margin: 14px 0;
	font-size: 12px;
	line-height: 1.5;
	color: #50575e;
}

.rcs-descriptor {
	margin: 12px 0 0;
	font-size: 13px;
	color: #50575e;
}
