/* SpaceArcade Coming Soon – storefront styles */
.sa-cs-single-wrap {
	clear: both;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	max-width: 440px;
	margin: 16px 0 20px;
}
.sa-cs-notice {
	display: flex;
	flex-direction: column;
	gap: 5px;
	box-sizing: border-box;
	width: 100%;
	padding: 15px 18px;
	border: 1px solid #e7a52b;
	border-left: 5px solid #e39a16;
	border-radius: 7px;
	background: #fff7e6;
	color: #754400;
}
.sa-cs-notice-title {
	color: #a65b00;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: .7px;
}
.sa-cs-notice > span:last-child { font-size: 15px; font-weight: 600; line-height: 1.5; }
.sa-cs-interest-button, .sa-cs-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	padding: 14px 18px;
	border: 1px solid #d9890f;
	border-radius: 4px;
	background: linear-gradient(180deg, #ffb84d 0%, #f5a623 55%, #e8941a 100%);
	color: #1a1a1a;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .035em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
	box-shadow: 0 2px 6px rgba(245,166,35,.28);
}
.sa-cs-interest-button:hover, .sa-cs-submit:hover:not(:disabled) {
	color: #1a1a1a;
	transform: translateY(-1px);
	box-shadow: 0 5px 14px rgba(245,166,35,.38);
}
.sa-cs-thumbnail-badge {
	position: absolute;
	z-index: 5;
	top: 10px;
	left: 10px;
	display: inline-block;
	max-width: calc(100% - 20px);
	padding: 7px 10px;
	border: 1px solid #e7a52b;
	border-radius: 3px;
	background: #fff7e6;
	color: #925000;
	font-size: 11px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: .045em;
	text-transform: uppercase;
	pointer-events: none;
	box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { position: relative; }
.sa-cs-overlay[hidden] { display: none !important; }
.sa-cs-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-y: auto;
	padding: 18px;
	background: rgba(0,0,0,.62);
}
.sa-cs-modal {
	position: relative;
	width: 100%;
	max-width: 460px;
	max-height: calc(100vh - 36px);
	overflow-y: auto;
	box-sizing: border-box;
	padding: 34px 32px 28px;
	border-top: 5px solid #f5a623;
	border-radius: 8px;
	background: #fff;
	color: #222;
	box-shadow: 0 12px 48px rgba(0,0,0,.2);
}
.sa-cs-close {
	position: absolute;
	top: 11px;
	right: 13px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid #e0e0e0;
	border-radius: 50%;
	background: #f5f5f5;
	color: #555;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}
.sa-cs-modal-header { margin: 0 0 18px; text-align: center; }
.sa-cs-modal-header h2 {
	margin: 0 0 7px;
	color: #0d2b5e;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
}
.sa-cs-modal-header p { margin: 0; color: #666; font-size: 13.5px; line-height: 1.55; }
.sa-cs-product-context {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	padding: 11px 13px;
	border: 1px solid #ececec;
	border-radius: 6px;
	background: #f9f9f9;
}
.sa-cs-product-context img {
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
	object-fit: cover;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	background: #fff;
}
.sa-cs-product-context div { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.sa-cs-product-context strong { color: #222; font-size: 13.5px; line-height: 1.35; }
.sa-cs-product-context span { color: #b87912; font-size: 14px; font-weight: 700; }
.sa-cs-field { margin-bottom: 14px; }
.sa-cs-field label {
	display: block;
	margin-bottom: 5px;
	color: #333;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.sa-cs-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 12px;
	border: 1.5px solid #ccc;
	border-radius: 4px;
	background: #fff;
	color: #222;
	font: inherit;
	font-size: 14px;
}
.sa-cs-field input:focus { outline: none; border-color: #0d2b5e; box-shadow: 0 0 0 3px rgba(13,43,94,.1); }
.sa-cs-field input.sa-cs-invalid { border-color: #c33; }
.sa-cs-error { display: block; min-height: 15px; margin-top: 3px; color: #c33; font-size: 12px; }
.sa-cs-phone { display: flex; }
.sa-cs-phone > span {
	display: flex;
	align-items: center;
	padding: 0 12px;
	border: 1.5px solid #0d2b5e;
	border-right: 0;
	border-radius: 4px 0 0 4px;
	background: #0d2b5e;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}
.sa-cs-phone input { border-radius: 0 4px 4px 0; }
.sa-cs-privacy { margin: 0 0 14px; color: #777; font-size: 11.5px; line-height: 1.5; }
.sa-cs-message { display: none; margin: 0 0 13px; padding: 11px 13px; border-radius: 4px; font-size: 13px; line-height: 1.5; text-align: center; }
.sa-cs-message-success { display: block; border: 1px solid #69b978; background: #eaf6ed; color: #286b35; font-weight: 700; }
.sa-cs-message-error { display: block; border: 1px solid #d9534f; background: #fdf2f2; color: #a02020; }
.sa-cs-submit:disabled { opacity: .65; cursor: wait; }
.sa-cs-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
body.sa-cs-modal-open { overflow: hidden; }

/* Hide common third-party Buy Now controls on Coming Soon single-product pages.
   Purchase validation remains enforced server-side by WooCommerce hooks. */
body.sa-cs-product .buy-now,
body.sa-cs-product .buy_now_button,
body.sa-cs-product .single_buy_now_button,
body.sa-cs-product .wd-buy-now-btn,
body.sa-cs-product .rey-buy-now,
body.sa-cs-product .wpcbn-btn,
body.sa-cs-product .woosb-btn,
body.sa-cs-product button[name="buy-now"],
body.sa-cs-product a[name="buy-now"] { display: none !important; }

@media (max-width: 767px) {
	.sa-cs-notice { padding: 12px 14px; }
	.sa-cs-notice-title { font-size: 18px; }
	.sa-cs-modal { padding: 30px 18px 22px; }
}


/* -------------------------------------------------------------------------
   Space Arcade visual polish – v1.1.1
   Premium orange + deep-navy treatment for the Coming Soon CTA and form.
   ------------------------------------------------------------------------- */

/* Main product-page CTA */
.sa-cs-interest-button {
	position: relative;
	gap: 12px;
	min-height: 54px;
	padding: 15px 22px;
	border: 1px solid #e88b12;
	border-radius: 8px;
	background: linear-gradient(135deg, #ffbf55 0%, #f5a623 48%, #e88912 100%);
	color: #17243b;
	font-family: inherit;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .045em;
	line-height: 1.25;
	text-transform: uppercase;
	box-shadow: 0 5px 13px rgba(218, 135, 17, .22), inset 0 1px 0 rgba(255,255,255,.48);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.sa-cs-interest-button::after {
	content: "\2192";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border: 1px solid rgba(23,36,59,.22);
	border-radius: 50%;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	transition: transform .2s ease, background .2s ease;
}
.sa-cs-interest-button:hover {
	color: #101d32;
	filter: saturate(1.08) brightness(1.025);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(218, 135, 17, .32), inset 0 1px 0 rgba(255,255,255,.55);
}
.sa-cs-interest-button:hover::after {
	transform: translateX(3px);
	background: rgba(255,255,255,.24);
}
.sa-cs-interest-button:focus-visible,
.sa-cs-submit:focus-visible,
.sa-cs-close:focus-visible {
	outline: 3px solid rgba(13, 43, 94, .35);
	outline-offset: 3px;
}
.sa-cs-interest-button:active {
	transform: translateY(0);
	box-shadow: 0 3px 8px rgba(218, 135, 17, .22);
}

/* Popup backdrop and modal */
.sa-cs-overlay {
	padding: 20px;
	background: rgba(8, 18, 36, .76);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}
.sa-cs-modal {
	max-width: 480px;
	padding: 34px 32px 30px;
	border: 1px solid rgba(255,255,255,.72);
	border-top: 0;
	border-radius: 16px;
	background:
		radial-gradient(ellipse at top right, rgba(245,166,35,.11), transparent 42%),
		#fff;
	color: #17243b;
	box-shadow: 0 24px 70px rgba(0,0,0,.30);
	animation: sa-cs-modal-in .22s ease-out both;
}
.sa-cs-modal::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	border-radius: 16px 16px 0 0;
	background: linear-gradient(90deg, #0d2b5e 0%, #f5a623 55%, #ffbd55 100%);
}
@keyframes sa-cs-modal-in {
	from { opacity: 0; transform: translateY(10px) scale(.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
.sa-cs-close {
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border: 1px solid #e6eaf0;
	background: #f5f7fa;
	color: #24334d;
	font-size: 24px;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}
.sa-cs-close:hover {
	background: #102b54;
	color: #fff;
	transform: rotate(90deg);
}
.sa-cs-modal-header {
	padding: 5px 26px 0;
	margin-bottom: 22px;
	text-align: center;
}
.sa-cs-modal-header h2 {
	color: #102b54;
	font-size: 25px;
	font-weight: 800;
	letter-spacing: -.02em;
}
.sa-cs-modal-header p {
	color: #657087;
	font-size: 14px;
	line-height: 1.6;
}

/* Product context panel */
.sa-cs-product-context {
	gap: 13px;
	margin-bottom: 22px;
	padding: 12px 14px;
	border: 1px solid #e8edf4;
	border-radius: 10px;
	background: #f7f9fc;
}
.sa-cs-product-context img {
	width: 62px;
	height: 62px;
	flex-basis: 62px;
	border: 1px solid #e6eaf0;
	border-radius: 8px;
}
.sa-cs-product-context strong {
	color: #17243b;
	font-size: 14px;
	font-weight: 700;
}
.sa-cs-product-context span {
	color: #b8750d;
	font-size: 15px;
	font-weight: 800;
}

/* Form fields */
.sa-cs-field {
	margin-bottom: 16px;
}
.sa-cs-field label {
	margin-bottom: 7px;
	color: #26344d;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .055em;
}
.sa-cs-field input {
	min-height: 48px;
	padding: 12px 14px;
	border: 1.5px solid #dce2eb;
	border-radius: 8px;
	background: #fff;
	color: #17243b;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	box-shadow: 0 1px 2px rgba(16,43,84,.025);
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.sa-cs-field input::placeholder {
	color: #9aa4b4;
	opacity: 1;
}
.sa-cs-field input:hover {
	border-color: #b9c4d4;
}
.sa-cs-field input:focus {
	outline: none;
	border-color: #e99a22;
	background: #fffdfa;
	box-shadow: 0 0 0 3px rgba(245,166,35,.16);
}
.sa-cs-field input.sa-cs-invalid {
	border-color: #c83d3d;
	background: #fffafa;
	box-shadow: 0 0 0 3px rgba(200,61,61,.08);
}
.sa-cs-phone > span {
	min-width: 60px;
	justify-content: center;
	border: 1.5px solid #102b54;
	border-right: 0;
	border-radius: 8px 0 0 8px;
	background: #102b54;
	color: #fff;
}
.sa-cs-phone input {
	border-radius: 0 8px 8px 0;
}
.sa-cs-error {
	min-height: 14px;
	margin-top: 5px;
	font-size: 11.5px;
}
.sa-cs-privacy {
	margin: 2px 0 16px;
	padding: 10px 12px;
	border-left: 3px solid #e9a02a;
	border-radius: 0 6px 6px 0;
	background: #fff8eb;
	color: #78613d;
	font-size: 11.5px;
	line-height: 1.55;
}

/* Form submit button shares the product CTA visual language */
.sa-cs-submit {
	min-height: 52px;
	padding: 14px 20px;
	border: 1px solid #e88b12;
	border-radius: 8px;
	background: linear-gradient(135deg, #ffbf55 0%, #f5a623 48%, #e88912 100%);
	color: #17243b;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .055em;
	text-transform: uppercase;
	box-shadow: 0 5px 13px rgba(218,135,17,.22), inset 0 1px 0 rgba(255,255,255,.45);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.sa-cs-submit:hover:not(:disabled) {
	color: #101d32;
	filter: saturate(1.08) brightness(1.025);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(218,135,17,.30);
}
.sa-cs-submit:disabled {
	opacity: .7;
	cursor: wait;
	filter: grayscale(.12);
}
.sa-cs-message {
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 13px;
}
.sa-cs-message-success {
	border-color: #a7d9b2;
	background: #eff9f1;
	color: #246b37;
}
.sa-cs-message-error {
	border-color: #efb2b2;
	background: #fff4f4;
	color: #a02020;
}

@media (max-width: 767px) {
	.sa-cs-single-wrap { max-width: 100%; }
	.sa-cs-interest-button { min-height: 52px; padding: 13px 16px; font-size: 14px; }
	.sa-cs-modal { max-height: calc(100vh - 24px); padding: 30px 20px 22px; border-radius: 13px; }
	.sa-cs-modal-header { padding: 4px 18px 0; }
	.sa-cs-modal-header h2 { font-size: 22px; }
	.sa-cs-overlay { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.sa-cs-interest-button,
	.sa-cs-interest-button::after,
	.sa-cs-close,
	.sa-cs-field input,
	.sa-cs-submit,
	.sa-cs-modal { transition: none !important; animation: none !important; }
}
