/**
 * MeasureMade — Launch (waitlist) mode (fix round 34, LAUNCH-MODE.md).
 *
 * The launch panel (Sold out label + watch control) the theme prints
 * in the buy area of every product page while launch mode is on,
 * and the My Account "Saved configurations" list. Same tokens as
 * the configurator: system font stack, #1d1d1f ink, white cards on
 * the #f5f5f7 ground, Steppets pink (--measuremade-primary) for
 * brand/selection moments, #0071e3 for the primary action.
 *
 * The loop "Sold out" badge (.mm-launch-badge) is positioned by the
 * theme's woocommerce.css alongside the sale flash it sits with —
 * loop card chrome belongs to the theme.
 */

.mm-launch-panel {
	--mm-primary: var(--measuremade-primary, #bb5c80);
	--mm-accent: #0071e3;
	--mm-text: var(--measuremade-text, #1d1d1f);
	--mm-grey: #6e6e73;
	--mm-border: var(--measuremade-border, #d2d2d7);
	display: grid;
	gap: 14px;
	margin-top: 18px;
	color: var(--mm-text);
	font-size: 16px;
	line-height: 1.5;
}

.mm-launch-panel p {
	margin: 0;
}

.mm-launch-soldout-label {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--mm-text);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.mm-launch-soldout-note,
.mm-launch-note {
	color: var(--mm-grey);
}

/* ---- Watch control ------------------------------------------- */

.mm-watch {
	display: grid;
	gap: 10px;
}

.mm-watch-state {
	margin: 0;
	color: var(--mm-grey);
}

.mm-watch-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.mm-watch-form-guest {
	display: grid;
	justify-items: start;
}

.mm-watch-email-label {
	display: grid;
	gap: 6px;
	font-weight: 600;
}

.mm-watch-email-label input[type="email"] {
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--mm-border);
	border-radius: 12px;
	font: inherit;
	font-weight: 400;
}

.mm-watch-optin {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--mm-grey);
	cursor: pointer;
}

.mm-watch-button {
	min-height: 48px;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--mm-accent);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.mm-watch-button:hover,
.mm-watch-button:focus-visible {
	background: #0060c9;
}

.mm-watch-button-off {
	background: transparent;
	color: var(--mm-accent);
	box-shadow: inset 0 0 0 1px var(--mm-border);
}

.mm-watch-button-off:hover,
.mm-watch-button-off:focus-visible {
	background: var(--mm-surface, #f5f5f7);
}

/* ---- My Account: saved configurations ------------------------- */

.mm-saved-configs {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	gap: 14px;
}

.mm-saved-config {
	background: #fff;
	border: 1px solid var(--measuremade-border, #d2d2d7);
	border-radius: 16px;
	padding: 18px 20px;
	line-height: 1.55;
}

.mm-saved-lane {
	font-weight: 600;
	color: var(--measuremade-primary, #bb5c80);
}

.mm-saved-detail,
.mm-saved-measures {
	color: #6e6e73;
	font-size: 14px;
}

.mm-saved-quote {
	color: #6e6e73;
	font-size: 14px;
	font-style: italic;
}

.mm-saved-actions {
	margin-top: 12px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.mm-saved-actions form {
	margin: 0;
}
