.aom-rfq-scope {
	--aom-rfq-bg: transparent;
	--aom-rfq-surface: color-mix(in srgb, currentColor 8%, transparent);
	--aom-rfq-text: currentColor;
	--aom-rfq-muted: color-mix(in srgb, currentColor 64%, transparent);
	--aom-rfq-border: color-mix(in srgb, currentColor 20%, transparent);
	--aom-rfq-accent: var(--wp--preset--color--primary, currentColor);
	--aom-rfq-accent-text: currentColor;
	--aom-rfq-field-bg: color-mix(in srgb, currentColor 6%, transparent);
	--aom-rfq-field-text: currentColor;
	--aom-rfq-field-border: color-mix(in srgb, currentColor 26%, transparent);
	--aom-rfq-button-bg: color-mix(in srgb, currentColor 14%, transparent);
	--aom-rfq-button-text: currentColor;
	--aom-rfq-radius: 18px;
	--aom-rfq-shadow: 0 1px 0 color-mix(in srgb, currentColor 8%, transparent);
	box-sizing: border-box;
	width: 100%;
	max-width: 72rem;
	margin: 0 auto 3rem;
	padding: 0;
	color: var(--aom-rfq-text);
	background: var(--aom-rfq-bg);
	font-family: inherit;
	color-scheme: inherit;
}
.aom-rfq-scope *,
.aom-rfq-scope *::before,
.aom-rfq-scope *::after { box-sizing: border-box; }

.aom-rfq-scope[data-aom-rfq-theme="light"] {
	color-scheme: light;
	--aom-rfq-bg: transparent;
	--aom-rfq-surface: #ffffff;
	--aom-rfq-text: #111827;
	--aom-rfq-muted: #6b7280;
	--aom-rfq-border: #e5e7eb;
	--aom-rfq-accent: #6d28d9;
	--aom-rfq-accent-text: #ffffff;
	--aom-rfq-field-bg: #ffffff;
	--aom-rfq-field-text: #111827;
	--aom-rfq-field-border: #d1d5db;
	--aom-rfq-button-bg: #6d28d9;
	--aom-rfq-button-text: #ffffff;
	--aom-rfq-shadow: 0 8px 24px rgba(17, 24, 39, .06);
}
.aom-rfq-scope[data-aom-rfq-theme="dark"] {
	color-scheme: dark;
	--aom-rfq-bg: transparent;
	--aom-rfq-surface: #16161c;
	--aom-rfq-text: #f4f4f5;
	--aom-rfq-muted: #a1a1aa;
	--aom-rfq-border: #2e2e38;
	--aom-rfq-accent: #c4b5fd;
	--aom-rfq-accent-text: #1a1328;
	--aom-rfq-field-bg: #0f0f14;
	--aom-rfq-field-text: #f4f4f5;
	--aom-rfq-field-border: #3f3f4a;
	--aom-rfq-button-bg: #c4b5fd;
	--aom-rfq-button-text: #1a1328;
	--aom-rfq-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

.aom-rfq-hub__head {
	margin: 0 0 1.75rem;
	max-width: 40rem;
}
.aom-rfq-kicker {
	display: inline-flex;
	align-items: center;
	letter-spacing: .14em;
	font-size: .7rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--aom-rfq-accent);
	margin: 0 0 .75rem;
}
.aom-rfq-hub__head h2,
.aom-rfq-page__side h2 {
	margin: 0 0 .6rem;
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	line-height: 1.25;
	font-weight: 700;
	color: var(--aom-rfq-text);
}
.aom-rfq-hub__head p,
.aom-rfq-page__side p {
	color: var(--aom-rfq-muted);
	margin: 0;
	line-height: 1.7;
	font-size: .98rem;
}

.aom-rfq-hub__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.aom-rfq-card {
	display: flex;
	flex-direction: column;
	gap: .7rem;
	min-height: 100%;
	padding: 1.2rem 1.25rem 1.1rem;
	background: var(--aom-rfq-surface);
	border: 1px solid var(--aom-rfq-border);
	border-radius: var(--aom-rfq-radius);
	text-decoration: none;
	color: var(--aom-rfq-text);
	box-shadow: var(--aom-rfq-shadow);
	transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.aom-rfq-card:hover,
.aom-rfq-card:focus-visible {
	border-color: var(--aom-rfq-accent);
	transform: translateY(-2px);
	outline: none;
}
.aom-rfq-card:focus-visible {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--aom-rfq-accent) 35%, transparent);
}
.aom-rfq-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in srgb, var(--aom-rfq-accent) 14%, transparent);
	color: var(--aom-rfq-accent);
	flex-shrink: 0;
}
.aom-rfq-card__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}
.aom-rfq-card__en {
	font-size: .68rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--aom-rfq-accent);
}
.aom-rfq-card strong {
	font-size: 1.08rem;
	line-height: 1.35;
	font-weight: 700;
}
.aom-rfq-card__desc {
	color: var(--aom-rfq-muted);
	font-size: .9rem;
	line-height: 1.65;
	flex: 1;
}
.aom-rfq-card__cta {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	margin-top: .35rem;
	font-style: normal;
	font-weight: 700;
	font-size: .88rem;
	color: var(--aom-rfq-accent);
}
.aom-rfq-card__cta svg {
	width: 16px;
	height: 16px;
	transition: transform .18s ease;
}
.aom-rfq-card:hover .aom-rfq-card__cta svg {
	transform: translateX(-3px);
}
[dir="ltr"] .aom-rfq-card:hover .aom-rfq-card__cta svg {
	transform: translateX(3px);
}

.aom-rfq-page {
	display: grid;
	grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
	gap: 28px;
	align-items: start;
}
.aom-rfq-back {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	margin-bottom: 14px;
	color: var(--aom-rfq-accent);
	text-decoration: none;
	font-size: .9rem;
	font-weight: 600;
}
.aom-rfq-page__other {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 1.25rem;
}
.aom-rfq-page__other a {
	color: var(--aom-rfq-muted);
	text-decoration: none;
	font-size: .9rem;
}
.aom-rfq-page__other a:hover { color: var(--aom-rfq-text); }

.aom-rfq-form,
.aom-rfq-success {
	background: var(--aom-rfq-surface);
	border: 1px solid var(--aom-rfq-border);
	border-radius: var(--aom-rfq-radius);
	padding: 1.35rem 1.4rem;
	box-shadow: var(--aom-rfq-shadow);
}
.aom-rfq-section { margin-bottom: 1.35rem; }
.aom-rfq-section h3 {
	margin: 0 0 .75rem;
	font-size: 1.02rem;
	color: var(--aom-rfq-text);
}
.aom-rfq-help {
	color: var(--aom-rfq-muted);
	font-size: .88rem;
	margin: 0 0 .85rem;
}
.aom-rfq-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 12px;
	font-weight: 600;
	font-size: .88rem;
	color: var(--aom-rfq-text);
}
.aom-rfq-form input,
.aom-rfq-form select,
.aom-rfq-form textarea {
	font: inherit;
	padding: 10px 12px;
	border: 1px solid var(--aom-rfq-field-border);
	border-radius: 12px;
	width: 100%;
	max-width: 100%;
	color: var(--aom-rfq-field-text);
	background: var(--aom-rfq-field-bg);
	color-scheme: inherit;
}
.aom-rfq-form input:focus,
.aom-rfq-form select:focus,
.aom-rfq-form textarea:focus {
	outline: none;
	border-color: var(--aom-rfq-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--aom-rfq-accent) 22%, transparent);
}
.aom-rfq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aom-rfq-grid--contact {
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.7fr) minmax(0, 1.3fr) minmax(0, 1.3fr);
}
@media (max-width: 800px) {
	.aom-rfq-grid--contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.aom-rfq-grid--contact { grid-template-columns: 1fr; }
}
.aom-rfq-grid .is-full { grid-column: 1 / -1; }
.aom-rfq-list__row {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 1rem;
	position: relative;
	/* extra space on the end side so remove button never overlaps qty */
	padding: 0.85rem;
	padding-inline-end: 2.75rem;
	background: #fff;
	border: 1px solid var(--aom-rfq-border);
	border-radius: 14px;
	box-shadow: 0 1px 2px color-mix(in srgb, currentColor 5%, transparent);
}
.aom-rfq-list__line {
	display: grid;
	gap: 12px;
	align-items: start;
	width: 100%;
}
.aom-rfq-list__line--main {
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(4.2rem, 5.2rem);
}
.aom-rfq-list__line--meta {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
}
.aom-rfq-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	margin: 0;
	margin-bottom: 0;
	font-weight: 400;
	font-size: inherit;
	color: inherit;
}
.aom-rfq-list__row .aom-rfq-field {
	margin-bottom: 0;
	font-weight: 400;
	font-size: inherit;
}
.aom-rfq-field__cap {
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--aom-rfq-muted);
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.aom-rfq-list__row input[type="text"],
.aom-rfq-list__row input[type="url"],
.aom-rfq-list__row input[type="number"] {
	width: 100%;
	box-sizing: border-box;
	min-height: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: .875rem;
	line-height: 38px;
}
.aom-rfq-list__row input.aom-rfq-qty {
	text-align: center;
	padding-inline: 6px;
}
.aom-rfq-list__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 12px;
}
.aom-rfq-list__toolbar .aom-rfq-help {
	flex: 1 1 auto;
	margin: 0;
	font-size: .8125rem;
	line-height: 1.45;
	color: var(--aom-rfq-muted);
}
.aom-rfq-list__sep {
	display: none; /* cards provide separation */
}
/* File inputs: same height, vertically centered Browse button */
.aom-rfq-list__row input[type="file"],
.aom-rfq-list__row input.aom-rfq-file-input {
	display: block;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	min-height: 40px;
	height: 40px;
	padding: 5px 10px;
	font-size: .8125rem;
	border: 1px solid var(--aom-rfq-border);
	border-radius: 12px;
	background: var(--aom-rfq-field-bg);
	color: var(--aom-rfq-field-text);
	cursor: pointer;
}
.aom-rfq-list__row input[type="file"]::file-selector-button,
.aom-rfq-list__row input.aom-rfq-file-input::file-selector-button {
	margin: 0;
	margin-inline-end: 8px;
	padding: 0 10px;
	height: 28px;
	line-height: 26px;
	vertical-align: middle;
	border: 1px solid var(--aom-rfq-border);
	border-radius: 8px;
	background: color-mix(in srgb, var(--aom-rfq-accent) 12%, transparent);
	color: var(--aom-rfq-accent);
	font: inherit;
	font-size: .75rem;
	font-weight: 700;
	cursor: pointer;
}
.aom-rfq-list__row input[type="file"]::-webkit-file-upload-button {
	margin: 0;
	margin-inline-end: 8px;
	padding: 0 10px;
	height: 28px;
	line-height: 26px;
	vertical-align: middle;
	border: 1px solid var(--aom-rfq-border);
	border-radius: 8px;
	background: color-mix(in srgb, var(--aom-rfq-accent) 12%, transparent);
	color: var(--aom-rfq-accent);
	font: inherit;
	font-size: .75rem;
	font-weight: 700;
	cursor: pointer;
}

.aom-rfq-list__toolbar-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}
.aom-rfq-list__toolbar .aom-rfq-sample,
.aom-rfq-list__toolbar .aom-rfq-import {
	appearance: none;
	border: 1px solid var(--aom-rfq-border);
	border-radius: 10px;
	padding: 4px 12px;
	min-height: 32px;
	font: inherit;
	font-size: .8125rem;
	font-weight: 600;
	cursor: pointer;
	background: var(--aom-rfq-field-bg, #fff);
	color: var(--aom-rfq-text);
}
.aom-rfq-list__toolbar .aom-rfq-sample:hover,
.aom-rfq-list__toolbar .aom-rfq-import:hover {
	border-color: var(--aom-rfq-accent);
	color: var(--aom-rfq-accent);
}
.aom-rfq-import-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	clip: rect(0,0,0,0);
}
.aom-rfq-add,
.aom-rfq-submit {
	appearance: none;
	border: 0;
	border-radius: 12px;
	padding: 6px 16px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	color: var(--aom-rfq-button-text);
	background: var(--aom-rfq-button-bg);
}
.aom-rfq-add {
	margin-top: 0;
	flex: 0 0 auto;
	min-height: 32px;
	padding: 4px 12px;
	font-size: .8125rem;
	background: color-mix(in srgb, var(--aom-rfq-accent) 14%, transparent);
	color: var(--aom-rfq-accent);
}
.aom-rfq-submit-wrap {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
}
.aom-rfq-submit {
	width: auto;
	min-width: 10rem;
	margin: 0;
	padding: 8px 18px;
	font-size: .875rem;
	min-height: 40px;
}
/* Circular remove button — never overlaps fields */
.aom-rfq-list__remove {
	position: absolute;
	top: 10px;
	inset-inline-end: 8px;
	z-index: 2;
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--aom-rfq-muted);
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.aom-rfq-list__remove[hidden] {
	display: none !important;
}
.aom-rfq-list__remove:hover,
.aom-rfq-list__remove:focus-visible {
	background: color-mix(in srgb, #ef4444 14%, transparent);
	color: #ef4444;
	outline: none;
}
.aom-rfq-list__remove svg {
	display: block;
	width: 14px;
	height: 14px;
	pointer-events: none;
}
.aom-rfq-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.aom-rfq-msg { margin-top: 12px; padding: 10px 12px; border-radius: 10px; }
.aom-rfq-msg.is-error {
	background: color-mix(in srgb, #ef4444 16%, transparent);
	color: inherit;
	border: 1px solid color-mix(in srgb, #ef4444 40%, var(--aom-rfq-border));
}
.aom-rfq-success h3 { margin-top: 0; }
.aom-rfq-success a { color: var(--aom-rfq-accent); }

@media (max-width: 800px) {
	.aom-rfq-hub__grid,
	.aom-rfq-page,
	.aom-rfq-grid,
	.aom-rfq-list__line--main,
	.aom-rfq-list__line--meta { grid-template-columns: 1fr 1fr; }
	.aom-rfq-list__line--main .aom-rfq-qty { max-width: 6rem; }
}
@media (prefers-reduced-motion: reduce) {
	.aom-rfq-card,
	.aom-rfq-card__cta svg { transition: none; }
	.aom-rfq-card:hover { transform: none; }
}


.aom-rfq-label-text {
	display: inline-flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0;
	white-space: nowrap;
	line-height: 1.3;
	max-width: 100%;
}
.aom-rfq-req {
	color: #ef4444;
	font-weight: 700;
	margin-inline-start: 3px;
	white-space: nowrap;
}
.aom-rfq-field__cap .aom-rfq-req {
	display: inline;
}
