.nw-button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	max-width: 100%;
	gap: 0.45em;
	padding: 0.72rem 1rem;
	color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
	background: transparent;
	border: 1px solid transparent;
	border-radius: 4px;
	font: inherit;
	font-size: max(1rem, 16px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	cursor: pointer;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		color 160ms ease,
		transform 160ms ease,
		opacity 160ms ease;
}

.nw-button:hover {
	transform: translateY(-1px);
}

.nw-button:active {
	transform: translateY(1px);
}

.nw-button:focus-visible {
	outline: 2px solid var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	outline-offset: 3px;
}

.nw-button:disabled,
.nw-button[disabled],
.nw-button[aria-disabled="true"] {
	opacity: 0.48;
	cursor: not-allowed;
	pointer-events: none;
	transform: none;
}

.nw-button--primary {
	color: var(--nw-black, var(--wp--preset--color--nightweeds-background, #080808));
	background: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	border-color: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
}

.nw-button--primary:hover {
	background: #d6ff64;
	border-color: #d6ff64;
}

.nw-button--secondary {
	color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
	background: transparent;
	border-color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
}

.nw-button--secondary:hover {
	color: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	border-color: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
}

.nw-button--text {
	min-height: 44px;
	padding-inline: 0;
	color: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	background: transparent;
	border-color: transparent;
	text-decoration-line: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.24em;
}

.nw-button--text::after {
	content: ">";
	font-family: "Courier New", Courier, monospace;
	font-weight: 700;
	text-decoration: none;
}

.nw-button--text:hover {
	color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
}

.nw-field {
	box-sizing: border-box;
	display: grid;
	gap: 0.42rem;
	min-width: 0;
	max-width: 100%;
	color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
}

.nw-label {
	color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
	font-size: max(0.95rem, 15px);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: uppercase;
}

.nw-input,
.nw-textarea,
.nw-select {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 50px;
	padding: 0.78rem 0.88rem;
	color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
	background-color: #111;
	border: 1px solid var(--nw-graphite, var(--wp--preset--color--nightweeds-border, #2a2a2a));
	border-radius: 4px;
	color-scheme: dark;
	font: inherit;
	font-size: max(1rem, 16px);
	line-height: 1.35;
	letter-spacing: 0;
	transition:
		background-color 160ms ease,
		border-color 160ms ease,
		box-shadow 160ms ease,
		color 160ms ease,
		opacity 160ms ease;
}

.nw-input::placeholder,
.nw-textarea::placeholder {
	color: var(--nw-muted, var(--wp--preset--color--nightweeds-muted, #8d8a80));
	opacity: 1;
}

.nw-input:focus,
.nw-textarea:focus,
.nw-select:focus {
	border-color: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	box-shadow: 0 0 0 3px rgba(200, 255, 46, 0.18);
}

.nw-input:focus-visible,
.nw-textarea:focus-visible,
.nw-select:focus-visible,
.nw-checkbox:focus-visible,
.nw-radio:focus-visible {
	outline: 2px solid var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	outline-offset: 3px;
}

.nw-input:disabled,
.nw-textarea:disabled,
.nw-select:disabled,
.nw-checkbox:disabled,
.nw-radio:disabled,
.nw-input[aria-disabled="true"],
.nw-textarea[aria-disabled="true"],
.nw-select[aria-disabled="true"] {
	color: var(--nw-muted, var(--wp--preset--color--nightweeds-muted, #8d8a80));
	background-color: #151515;
	border-color: #242424;
	opacity: 0.62;
	cursor: not-allowed;
}

.nw-textarea {
	min-height: 9rem;
	resize: vertical;
}

.nw-select {
	padding-inline-end: 2.75rem;
}

.nw-checkbox,
.nw-radio {
	box-sizing: border-box;
	inline-size: 1.38rem;
	block-size: 1.38rem;
	min-inline-size: 1.38rem;
	margin: 0;
	accent-color: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	color-scheme: dark;
	cursor: pointer;
}

.nw-checkbox:disabled,
.nw-radio:disabled {
	cursor: not-allowed;
}

.nw-field-help,
.nw-field-error {
	margin: 0;
	font-size: max(0.88rem, 14px);
	line-height: 1.45;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.nw-field-help {
	color: var(--nw-muted, var(--wp--preset--color--nightweeds-muted, #8d8a80));
}

.nw-field-error {
	color: var(--nw-error, #ff5a5f);
	font-weight: 700;
}

.nw-badge {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	min-height: 1.75rem;
	max-width: 100%;
	gap: 0.38em;
	padding: 0.24rem 0.48rem;
	color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
	background: #111;
	border: 1px solid var(--nw-graphite, var(--wp--preset--color--nightweeds-border, #2a2a2a));
	border-radius: 3px;
	font-family: "Courier New", Courier, monospace;
	font-size: max(0.75rem, 12px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.nw-badge--drop::before,
.nw-badge--limited::before,
.nw-badge--archive::before,
.nw-badge--sold-out::before,
.nw-badge--low-stock::before {
	font-weight: 900;
}

.nw-badge--drop {
	color: var(--nw-black, var(--wp--preset--color--nightweeds-background, #080808));
	background: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	border-color: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
}

.nw-badge--drop::before {
	content: "DROP";
}

.nw-badge--limited {
	color: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	border-color: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
}

.nw-badge--limited::before {
	content: "LIMITED";
}

.nw-badge--archive {
	color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
	border-style: dashed;
}

.nw-badge--archive::before {
	content: "ARCHIVE";
}

.nw-badge--sold-out {
	color: var(--nw-muted, var(--wp--preset--color--nightweeds-muted, #8d8a80));
	background: #101010;
	border-color: #3a3a3a;
}

.nw-badge--sold-out::before {
	content: "SOLD OUT";
}

.nw-badge--low-stock {
	color: var(--nw-warning, #ffbf3f);
	border-color: var(--nw-warning, #ffbf3f);
}

.nw-badge--low-stock::before {
	content: "LOW STOCK";
}

.nw-notice {
	box-sizing: border-box;
	max-width: 100%;
	padding: 1rem;
	color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
	background: #101010;
	border: 1px solid var(--nw-graphite, var(--wp--preset--color--nightweeds-border, #2a2a2a));
	border-left-width: 4px;
	border-left-color: var(--nw-bone, var(--wp--preset--color--nightweeds-foreground, #f1f0e8));
	border-radius: 4px;
	font-size: max(1rem, 16px);
	line-height: 1.5;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.nw-notice a {
	color: var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	text-decoration-line: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

.nw-notice a:focus-visible {
	outline: 2px solid var(--nw-acid, var(--wp--preset--color--nightweeds-accent, #c8ff2e));
	outline-offset: 3px;
}

.nw-notice--success {
	border-left-color: var(--nw-success, #6ee787);
}

.nw-notice--error {
	border-left-color: var(--nw-error, #ff5a5f);
}

.nw-notice--warning {
	border-left-color: var(--nw-warning, #ffbf3f);
}

.nw-notice--info {
	border-left-color: var(--nw-info, #7db7ff);
}

@media (prefers-reduced-motion: reduce) {
	.nw-button,
	.nw-input,
	.nw-textarea,
	.nw-select {
		transition-duration: 0.01ms;
	}

	.nw-button:hover,
	.nw-button:active {
		transform: none;
	}
}
