/* Cannigma × Seed Supreme growing popup — everything namespaced .cga-ss-popup */

.cga-ss-popup {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
}
.cga-ss-popup[hidden] { display: none; }

.cga-ss-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.55);
}

.cga-ss-popup__dialog {
	position: relative;
	width: 100%;
	max-width: 540px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: linear-gradient(150deg, #fdf3ee 0%, #fceae2 55%, #f9ded2 100%);
	border-radius: 14px;
	padding: 44px 44px 32px;
	text-align: center;
	box-shadow: 0 12px 40px rgba(10, 10, 10, 0.22);
	color: #0a0a0a;
}

.cga-ss-popup__x {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: #0a0a0a;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
}
.cga-ss-popup__x:hover { background: rgba(10, 10, 10, 0.06); }

.cga-ss-popup__brands {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-bottom: 22px;
}
.cga-ss-popup__brand { display: block; max-width: 40%; height: auto; }
.cga-ss-popup__brand--cannigma { width: 118px; }
.cga-ss-popup__brand--ss { width: 124px; }
.cga-ss-popup__times {
	font-size: 22px;
	font-weight: 600;
	color: #1e5464;
	line-height: 1;
}

.cga-ss-popup__lede {
	font-size: 26px;
	line-height: 1.25;
	margin: 0 0 10px;
	font-weight: 400;
}
.cga-ss-popup__headline {
	font-size: 40px;
	line-height: 1.1;
	font-weight: 800;
	margin: 0 0 14px;
	letter-spacing: -0.5px;
}
.cga-ss-popup__support {
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 22px;
}

.cga-ss-popup__form { margin: 0; }
.cga-ss-popup__sr {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	clip: rect(0 0 0 0);
	overflow: hidden;
	white-space: nowrap;
}
.cga-ss-popup__email {
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 20px;
	font-size: 16px;
	color: #0a0a0a;
	background: #ffffff;
	border: 1px solid #e3cfc4;
	border-radius: 26px;
	box-sizing: border-box;
	margin: 0 0 12px;
}
.cga-ss-popup__email:focus {
	outline: 2px solid #9b4f30;
	outline-offset: 1px;
	border-color: #9b4f30;
}
.cga-ss-popup__email::placeholder { color: #9a8d86; }

.cga-ss-popup__error {
	font-size: 14px;
	color: #b3261e;
	margin: -4px 0 10px;
	font-weight: 500;
}

.cga-ss-popup__cta {
	display: block;
	width: 100%;
	height: 52px;
	line-height: 52px;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #ffffff;
	background: #9b4f30;
	border: 0;
	border-radius: 26px;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition: background 0.15s ease;
}
.cga-ss-popup__cta:hover { background: #874428; color: #ffffff; }
.cga-ss-popup__cta:focus-visible { outline: 3px solid #1e5464; outline-offset: 2px; }
.cga-ss-popup__cta[disabled] { opacity: 0.7; cursor: default; }

.cga-ss-popup__nothanks {
	display: inline-block;
	margin: 16px 0 0;
	padding: 6px 10px;
	border: 0;
	background: transparent;
	font-size: 15px;
	color: #4a4a4a;
	cursor: pointer;
	text-decoration: none;
}
.cga-ss-popup__nothanks:hover { text-decoration: underline; }

.cga-ss-popup__consent {
	font-size: 12px;
	line-height: 1.5;
	color: #5c5049;
	margin: 16px 0 0;
}
.cga-ss-popup__consent a { color: #5c5049; text-decoration: underline; }

/* success stage */
.cga-ss-popup__successline {
	font-size: 17px;
	font-weight: 700;
	margin: 4px 0 22px;
}
.cga-ss-popup__usecode {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin: 0 0 4px;
}
.cga-ss-popup__code {
	display: inline-flex;
	align-items: baseline;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 12px;
	max-width: 100%;
	box-sizing: border-box;
	border: 2px dashed #9b4f30;
	background: rgba(255, 255, 255, 0.55);
	border-radius: 12px;
	padding: 8px 18px 10px;
	margin: 4px 0 10px;
	cursor: pointer;
}
.cga-ss-popup__code:focus-visible { outline: 3px solid #1e5464; outline-offset: 2px; }
.cga-ss-popup__code-text {
	font-size: 42px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #0a0a0a;
	line-height: 1.1;
}
.cga-ss-popup__code-hint {
	font-size: 13px;
	font-weight: 600;
	color: #9b4f30;
	white-space: nowrap;
}
.cga-ss-popup__claim {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.01em;
	margin: 0 0 22px;
}
.cga-ss-popup__spam {
	font-size: 13px;
	color: #5c5049;
	margin: 18px 0 0;
}

/* mobile */
@media (max-width: 640px) {
	.cga-ss-popup__dialog { padding: 40px 22px 24px; max-width: 420px; }
	.cga-ss-popup__brands { gap: 10px; margin-bottom: 16px; }
	.cga-ss-popup__brand--cannigma { width: 92px; }
	.cga-ss-popup__brand--ss { width: 98px; }
	.cga-ss-popup__times { font-size: 18px; }
	.cga-ss-popup__lede { font-size: 20px; }
	.cga-ss-popup__headline { font-size: 30px; }
	.cga-ss-popup__support { font-size: 14px; margin-bottom: 16px; }
	.cga-ss-popup__code-text { font-size: 32px; }
	.cga-ss-popup__email, .cga-ss-popup__cta { height: 48px; }
	.cga-ss-popup__cta { line-height: 48px; }
}
@media (max-width: 360px) {
	.cga-ss-popup { padding: 10px; }
	.cga-ss-popup__dialog { padding: 36px 16px 20px; }
	.cga-ss-popup__headline { font-size: 26px; }
	.cga-ss-popup__code-text { font-size: 27px; }
}

/* ---------- USOA (United Strains of America) variant ---------- */

.cga-ss-popup__dialog--usoa {
	background: #ffffff;
	padding: 0;
	display: flex;
	max-width: 760px;
	text-align: center;
	overflow: hidden;
}
.cga-ss-popup__media {
	flex: 0 0 40%;
	/* letterbox the product art on its own background colours so the full
	   composition stays centred instead of being crop-fitted */
	background-image: linear-gradient(180deg, #d1ecf0 0%, #b4e0e6 100%);
	background-size: cover;
	min-height: 100%;
	position: relative;
}
.cga-ss-popup__media::after {
	content: "";
	position: absolute;
	inset: 18px 12px;
	background-image: inherit;
	background-image: var(--cga-ss-media, none);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.cga-ss-popup__body {
	flex: 1 1 auto;
	padding: 48px 40px 30px;
	min-width: 0;
}
.cga-ss-popup--usoa .cga-ss-popup__brands {
	flex-wrap: wrap;
	gap: 10px 12px;
	margin-bottom: 24px;
}
.cga-ss-popup__brand--usoa { width: 180px; max-width: 70%; }
.cga-ss-popup--usoa .cga-ss-popup__times { color: #ef4f4e; }
.cga-ss-popup__kicker {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 6px;
}
.cga-ss-popup__headline--usoa {
	font-size: 33px;
	line-height: 1.18;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}
.cga-ss-popup--usoa .cga-ss-popup__email {
	border-radius: 6px;
	border-color: #cfcfcf;
}
.cga-ss-popup--usoa .cga-ss-popup__email:focus {
	outline-color: #ef4f4e;
	border-color: #ef4f4e;
}
.cga-ss-popup--usoa .cga-ss-popup__cta {
	background: #ef4f4e;
	border-radius: 8px;
	letter-spacing: 0.1em;
}
.cga-ss-popup--usoa .cga-ss-popup__cta:hover { background: #d94341; }
.cga-ss-popup--usoa .cga-ss-popup__cta:focus-visible { outline-color: #1d71b8; }
.cga-ss-popup__nothanks--usoa {
	text-decoration: underline;
	text-underline-offset: 3px;
	color: #2c2c2c;
}
.cga-ss-popup--usoa .cga-ss-popup__consent { margin-top: 14px; }
.cga-ss-popup--usoa .cga-ss-popup__successline { font-size: 20px; margin: 10px 0 8px; }

@media (max-width: 760px) {
	.cga-ss-popup__media { display: none; }
	.cga-ss-popup__dialog--usoa { max-width: 420px; }
	.cga-ss-popup__body { padding: 44px 22px 24px; }
	.cga-ss-popup__headline--usoa { font-size: 25px; }
	.cga-ss-popup__brand--usoa { width: 150px; }
}
@media (max-width: 360px) {
	.cga-ss-popup__body { padding: 40px 16px 20px; }
	.cga-ss-popup__headline--usoa { font-size: 22px; }
}

/* body lock while open */
body.cga-ss-popup-open { overflow: hidden; }
