.wm-marketplace {
	--wm-ink: var(--color-body-foreground, #102a43);
	--wm-primary: var(--color-primary-background, #075dab);
	--wm-primary-foreground: var(--color-primary-foreground, #ffffff);
	--wm-accent: var(--color-orange, #f97316);
	--wm-surface: var(--color-white, #ffffff);
	--wm-soft: var(--color-gray-50, #fafafa);
	--wm-border: var(--color-gray-200, #e4e4e7);
	--wm-muted: var(--color-gray-600, #52525b);
	--wm-success: var(--color-green, #16a34a);
	--wm-danger: var(--color-red, #e11d48);
	--wm-radius: var(--theme-radius-base, 16px);
	--wm-radius-small: var(--theme-radius-sm, 12px);
	color: var(--wm-ink);
	font-family: var(--theme-body-font, Inter, sans-serif);
	font-size: var(--theme-body-font-size, 16px);
	line-height: var(--theme-body-line-height, 1.5);
}

.wm-marketplace *,
.wm-marketplace *::before,
.wm-marketplace *::after {
	box-sizing: border-box;
}

body.wm-marketplace-auth-body .klb-mobile-bottom.site-mobile-navbar,
body.wm-marketplace-onboarding-body .klb-mobile-bottom.site-mobile-navbar {
	display: none !important;
}

.wm-marketplace-stall-band {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 18px;
	padding: clamp(24px, 4vw, 38px);
	color: var(--wm-primary-foreground);
	background: var(--wm-primary);
	border-left: 8px solid var(--wm-accent);
	border-radius: var(--wm-radius);
}

.wm-marketplace-stall-band h2 {
	margin: 4px 0 8px;
	color: inherit;
	font-family: var(--theme-heading-font, Inter, sans-serif);
	font-size: clamp(28px, 4vw, 42px);
	font-weight: var(--theme-heading-font-weight, 600);
	letter-spacing: var(--theme-heading-letter-spacing, -0.025em);
	line-height: 1.12;
}

.wm-marketplace-stall-band p {
	max-width: 720px;
	margin: 0;
	color: inherit;
	opacity: 0.9;
}

.wm-marketplace-kicker {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.wm-marketplace-stage {
	flex: 0 0 auto;
	padding: 8px 12px;
	color: var(--wm-primary);
	background: var(--wm-primary-foreground);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.wm-marketplace-progress {
	height: 7px;
	margin: 0 0 22px;
	overflow: hidden;
	background: var(--wm-border);
	border-radius: 999px;
}

.wm-marketplace-progress span {
	display: block;
	height: 100%;
	background: var(--wm-accent);
	border-radius: inherit;
	transition: width 220ms ease;
}

.wm-marketplace-form,
.wm-marketplace-step-card,
.wm-marketplace-account-note,
.wm-marketplace-notice {
	border-radius: var(--wm-radius-small);
}

.wm-marketplace-registration > .wm-marketplace-form,
.wm-marketplace-access > .wm-marketplace-button,
.wm-marketplace-status-page > .wm-marketplace-button {
	margin-top: 18px;
}

.wm-marketplace-registration > .wm-marketplace-form {
	padding: clamp(22px, 4vw, 36px);
	background: var(--wm-surface);
	border: 1px solid var(--wm-border);
}

.wm-marketplace-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.wm-marketplace-field {
	display: grid;
	gap: 8px;
	margin-bottom: 18px;
}

.wm-marketplace-field > span,
.wm-marketplace-upload > span {
	font-family: var(--theme-input-font, Inter, sans-serif);
	font-size: var(--theme-input-font-size, 14px);
	font-weight: 600;
}

.wm-marketplace-field input:not([type="checkbox"]):not([type="file"]),
.wm-marketplace-field select,
.wm-marketplace-field textarea {
	width: 100%;
	min-height: var(--theme-input-height, 52px);
	padding: var(--theme-input-padding, 14px);
	color: var(--wm-ink);
	background: var(--wm-surface);
	border: 1px solid var(--color-gray-300, #d4d4d8);
	border-radius: var(--theme-input-border-radius, 8px);
	font: inherit;
	outline: 0;
	transition: border-color 120ms ease, box-shadow 120ms ease;
}

.wm-marketplace-field textarea {
	min-height: 118px;
	resize: vertical;
}

.wm-marketplace-field input:focus,
.wm-marketplace-field select:focus,
.wm-marketplace-field textarea:focus {
	border-color: var(--wm-primary);
	box-shadow: 0 0 0 3px rgba(7, 93, 171, 0.18);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wm-primary) 18%, transparent);
}

.wm-marketplace-field small,
.wm-marketplace-account-note small,
.wm-marketplace-step-copy {
	color: var(--wm-muted);
	font-size: 13px;
}

.wm-marketplace-check {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 4px 0 22px;
	cursor: pointer;
}

.wm-marketplace-check input {
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--wm-primary);
}

.wm-marketplace-button {
	display: inline-flex;
	min-height: var(--theme-button-height, 54px);
	align-items: center;
	justify-content: center;
	padding: 0 var(--theme-button-padding, 32px);
	color: var(--wm-primary-foreground);
	background: var(--wm-primary);
	border: 1px solid var(--wm-primary);
	border-radius: var(--wm-radius-small);
	font-family: var(--theme-button-font, Inter, sans-serif);
	font-size: var(--theme-button-font-size, 15px);
	font-weight: var(--theme-button-font-weight, 600);
	letter-spacing: var(--theme-button-letter-spacing, -0.02em);
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: filter 120ms ease, transform 120ms ease;
}

.wm-marketplace-button:hover {
	color: var(--wm-primary-foreground);
	filter: brightness(0.92);
}

.wm-marketplace-button:focus-visible {
	outline: 3px solid rgba(7, 93, 171, 0.28);
	outline: 3px solid color-mix(in srgb, var(--wm-primary) 28%, transparent);
	outline-offset: 3px;
}

.wm-marketplace-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.wm-marketplace-button.is-secondary {
	color: var(--wm-ink);
	background: var(--wm-surface);
	border-color: var(--wm-border);
}

.wm-marketplace-notice {
	margin: 18px 0;
	padding: 16px 18px;
	background: var(--wm-soft);
	border: 1px solid var(--wm-border);
}

.wm-marketplace-notice strong {
	display: block;
	margin-bottom: 4px;
}

.wm-marketplace-notice p,
.wm-marketplace-notice ul {
	margin: 5px 0 0;
}

.wm-marketplace-notice.is-error {
	color: #8c1730;
	background: var(--color-red-light, #fff1f2);
	border-color: #efb5c0;
	border-color: color-mix(in srgb, var(--wm-danger) 35%, white);
}

.wm-marketplace-notice.is-success {
	color: #0b6847;
	background: var(--color-green-light, #f0fdf4);
	border-color: #9ed6bd;
	border-color: color-mix(in srgb, var(--wm-success) 35%, white);
}

.wm-marketplace-notice.is-warning,
.wm-marketplace-notice.is-info {
	border-left: 4px solid var(--wm-accent);
}

.wm-marketplace-account-note {
	display: grid;
	gap: 3px;
	margin-bottom: 20px;
	padding: 16px 18px;
	background: var(--wm-soft);
	border: 1px solid var(--wm-border);
}

.wm-marketplace-honeypot {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.wm-marketplace-onboarding-layout {
	display: grid;
	grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.wm-marketplace-step-nav {
	position: sticky;
	top: 32px;
}

.wm-marketplace-step-nav ol {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--wm-soft);
	border: 1px solid var(--wm-border);
	border-radius: var(--wm-radius-small);
}

.wm-marketplace-step-nav li {
	margin: 0;
}

.wm-marketplace-step-nav a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 10px;
	color: var(--wm-muted);
	border-radius: 9px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.wm-marketplace-step-nav a > span {
	display: inline-grid;
	width: 26px;
	height: 26px;
	place-items: center;
	background: var(--wm-surface);
	border: 1px solid var(--wm-border);
	border-radius: 50%;
	font-size: 12px;
}

.wm-marketplace-step-nav .is-current a {
	color: var(--wm-primary-foreground);
	background: var(--wm-primary);
}

.wm-marketplace-step-nav .is-current a > span {
	color: var(--wm-primary);
}

.wm-marketplace-step-nav .is-visited a > span {
	color: var(--wm-primary-foreground);
	background: var(--wm-primary);
	border-color: var(--wm-primary);
}

.wm-marketplace-step-card {
	min-width: 0;
	padding: clamp(22px, 4vw, 36px);
	background: var(--wm-surface);
	border: 1px solid var(--wm-border);
}

.wm-marketplace-step-heading {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--wm-border);
}

.wm-marketplace-step-heading span {
	color: var(--wm-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wm-marketplace-step-heading h3 {
	margin: 3px 0 0;
	font-family: var(--theme-heading-font, Inter, sans-serif);
	font-size: clamp(24px, 3vw, 32px);
}

.wm-marketplace-form-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 24px;
}

.wm-marketplace-form-actions > form {
	margin: 0;
}

.wm-marketplace-upload-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.wm-marketplace-upload {
	display: grid;
	gap: 12px;
	align-content: start;
	min-height: 210px;
	padding: 18px;
	background: var(--wm-soft);
	border: 1px dashed var(--color-gray-400, #a1a1aa);
	border-radius: var(--wm-radius-small);
}

.wm-marketplace-upload img {
	max-width: 100%;
	height: 120px;
	object-fit: contain;
	object-position: left center;
}

.wm-marketplace-slug-input {
	display: flex;
	align-items: center;
	overflow: hidden;
	border: 1px solid var(--color-gray-300, #d4d4d8);
	border-radius: var(--theme-input-border-radius, 8px);
}

.wm-marketplace-slug-input small {
	padding-left: 12px;
	white-space: nowrap;
}

.wm-marketplace-slug-input input {
	min-width: 0;
	border: 0 !important;
	box-shadow: none !important;
}

.wm-marketplace-review-list {
	display: grid;
	gap: 0;
	margin: 24px 0;
	border: 1px solid var(--wm-border);
	border-radius: var(--wm-radius-small);
}

.wm-marketplace-review-list > div {
	display: grid;
	grid-template-columns: minmax(130px, 0.35fr) 1fr;
	gap: 16px;
	padding: 14px 16px;
}

.wm-marketplace-review-list > div + div {
	border-top: 1px solid var(--wm-border);
}

.wm-marketplace-review-list dt {
	font-weight: 600;
}

.wm-marketplace-review-list dd {
	margin: 0;
}

@media (max-width: 820px) {
	.wm-marketplace-onboarding-layout {
		grid-template-columns: 1fr;
	}

	.wm-marketplace-step-nav {
		position: static;
		overflow-x: auto;
	}

	.wm-marketplace-step-nav ol {
		display: flex;
		min-width: max-content;
	}

	.wm-marketplace-step-nav a {
		flex-direction: column;
		min-width: 82px;
		font-size: 12px;
	}
}

@media (max-width: 640px) {
	.wm-marketplace-stall-band {
		display: block;
		padding: 24px 20px;
	}

	.wm-marketplace-stage {
		display: inline-block;
		margin-top: 18px;
	}

	.wm-marketplace-form-grid,
	.wm-marketplace-upload-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.wm-marketplace-step-card,
	.wm-marketplace-registration > .wm-marketplace-form {
		padding: 20px 16px;
	}

	.wm-marketplace-form-actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.wm-marketplace-form-actions > *,
	.wm-marketplace-form-actions > form,
	.wm-marketplace-form-actions .wm-marketplace-button {
		width: 100%;
	}

	.wm-marketplace-review-list > div {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.wm-marketplace-slug-input {
		align-items: stretch;
		flex-direction: column;
	}

	.wm-marketplace-slug-input small {
		padding: 10px 12px 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wm-marketplace *,
	.wm-marketplace *::before,
	.wm-marketplace *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
