.vendrest-inquiry {
	--vendrest-form-ink: var(--wp--preset--color--ink, #202b27);
	--vendrest-form-pine: var(--wp--preset--color--pine, #263b32);
	--vendrest-form-mint: var(--wp--preset--color--mint, #e8ede7);
	--vendrest-form-paper: var(--wp--preset--color--paper, #f8f9f6);
	--vendrest-form-white: var(--wp--preset--color--white, #fff);
	--vendrest-form-accent: var(--wp--preset--color--accent, #b94324);
	--vendrest-form-border: var(--wp--preset--color--line, #cdd4ce);
	--vendrest-form-muted: var(--wp--preset--color--muted, #59665e);
	--vendrest-form-fast: var(--vr-fast, 160ms);
	--vendrest-form-medium: var(--vr-medium, 320ms);
	--vendrest-form-ease: var(--vr-ease, cubic-bezier(.22, 1, .36, 1));
	color: inherit;
	font-family: inherit;
}

.vendrest-inquiry-form { margin-top: 1.75rem; }
.vendrest-inquiry-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem 1.5rem; }
.vendrest-inquiry-field-location, .vendrest-inquiry-field-message { grid-column: 1 / -1; }
.vendrest-inquiry-field label { display: block; margin-bottom: .55rem; font-size: .875rem; font-weight: 600; line-height: 1.4; }
.vendrest-inquiry-field label span { color: var(--vendrest-form-accent); }
.vendrest-inquiry-field input, .vendrest-inquiry-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 56px;
	border: 1px solid var(--vendrest-form-border);
	border-radius: 4px;
	background: var(--vendrest-form-white);
	color: var(--vendrest-form-ink);
	padding: .9rem 1rem;
	font: inherit;
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color var(--vendrest-form-fast) var(--vendrest-form-ease), box-shadow var(--vendrest-form-fast) var(--vendrest-form-ease), background-color var(--vendrest-form-fast) var(--vendrest-form-ease);
}
.vendrest-inquiry-field textarea { display: block; resize: vertical; min-height: 10rem; }
.vendrest-inquiry-field :is(input, textarea):hover { border-color: var(--vendrest-form-muted); }
.vendrest-inquiry-field :is(input, textarea):focus-visible { border-color: var(--vendrest-form-accent); box-shadow: inset 3px 0 0 var(--vendrest-form-accent); }
.vendrest-inquiry :is(input, textarea, button, a):focus-visible { outline: 2px solid var(--vendrest-form-pine); outline-offset: 4px; }
.vendrest-inquiry [aria-invalid="true"] { border-color: #9e281f; }
.vendrest-inquiry-field [aria-invalid="true"]:focus-visible { border-color: #9e281f; box-shadow: inset 3px 0 0 #9e281f; }
.vendrest-inquiry-field-error { margin: .4rem 0 0; color: #9e281f; font-size: .8125rem; line-height: 1.5; }
.vendrest-inquiry-field-error:empty { display: none; }
.vendrest-inquiry-consent { margin-top: 1.4rem; }
.vendrest-inquiry-consent label { display: flex; align-items: flex-start; gap: .7rem; font-size: .875rem; line-height: 1.55; cursor: pointer; }
.vendrest-inquiry-consent input { flex: none; width: 1.15rem; height: 1.15rem; margin: .1rem 0 0; accent-color: var(--vendrest-form-pine); }
.vendrest-inquiry-note, .vendrest-inquiry-privacy { color: var(--vendrest-form-muted); font-size: .8125rem; line-height: 1.6; }
.vendrest-inquiry-privacy a { color: var(--vendrest-form-ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.vendrest-inquiry-privacy a:hover { color: var(--vendrest-form-accent); }
.vendrest-inquiry-trap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vendrest-inquiry .vendrest-inquiry-submit {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 56px;
	max-width: 100%;
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 1rem 1.25rem;
	background: var(--vendrest-form-accent);
	color: var(--vendrest-form-white);
	font: inherit;
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	cursor: pointer;
	transition: background-color var(--vendrest-form-fast) var(--vendrest-form-ease), box-shadow var(--vendrest-form-fast) var(--vendrest-form-ease), transform var(--vendrest-form-fast) var(--vendrest-form-ease);
}
.vendrest-inquiry-button-indicator { display: block; flex: none; width: .95rem; height: .95rem; position: relative; }
.vendrest-inquiry-button-indicator::before { content: ""; position: absolute; inset: .2rem .1rem .2rem .35rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.vendrest-inquiry-button-indicator::after { content: ""; position: absolute; width: .85rem; height: 1.5px; left: -.05rem; top: .43rem; background: currentColor; }
.vendrest-inquiry .vendrest-inquiry-submit:not(:disabled):hover { background: var(--vendrest-form-ink); box-shadow: 0 4px 0 color-mix(in srgb, var(--vendrest-form-ink) 12%, transparent); transform: translateY(-2px); }
.vendrest-inquiry .vendrest-inquiry-submit:not(:disabled):active { box-shadow: none; transform: translateY(1px); }
.vendrest-inquiry .vendrest-inquiry-submit:disabled { background: var(--vendrest-form-pine); color: var(--vendrest-form-white); cursor: default; opacity: .78; }
.vendrest-inquiry .vendrest-inquiry-submit[data-loading="true"] { cursor: wait; }
.vendrest-inquiry-submit[data-loading="true"] .vendrest-inquiry-button-indicator { box-sizing: border-box; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: vendrest-inquiry-spin 900ms linear infinite; }
.vendrest-inquiry-submit[data-loading="true"] .vendrest-inquiry-button-indicator::before,
.vendrest-inquiry-submit[data-loading="true"] .vendrest-inquiry-button-indicator::after { content: none; }
.vendrest-inquiry-status { margin: 1rem 0 0; color: var(--vendrest-form-muted); font-size: .875rem; line-height: 1.6; }
.vendrest-inquiry-status:empty { display: none; }
.vendrest-inquiry-summary { padding: 1.15rem 1.25rem; border: 1px solid #9e281f; border-left-width: 3px; border-radius: 4px; margin-bottom: 1.5rem; background: var(--vendrest-form-white); color: var(--vendrest-form-ink); font-size: .9375rem; line-height: 1.6; }
.vendrest-inquiry-summary p { margin: 0; }
.vendrest-inquiry-summary ul { margin: .65rem 0 0; padding-left: 1.25rem; }
.vendrest-inquiry-summary a { color: inherit; text-underline-offset: 3px; }
.vendrest-inquiry-summary a:hover { color: #9e281f; }
.vendrest-inquiry-form[data-state="accepted"] .vendrest-inquiry-status { padding: 1.25rem 1.5rem; border: 1px solid var(--vendrest-form-border); border-left: 3px solid var(--vendrest-form-pine); border-radius: 4px; background: var(--vendrest-form-mint); color: var(--vendrest-form-ink); font-weight: 500; }
.vendrest-inquiry-form[data-state="accepted"] .vendrest-inquiry-submit { opacity: 1; }
.vendrest-inquiry-form[data-state="accepted"] .vendrest-inquiry-button-indicator::before { inset: .1rem .3rem .15rem .25rem; border-top: none; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.vendrest-inquiry-form[data-state="accepted"] .vendrest-inquiry-button-indicator::after { content: none; }
.vendrest-inquiry-form[data-state="sending"] .vendrest-inquiry-field :is(input, textarea),
.vendrest-inquiry-form[data-state="accepted"] .vendrest-inquiry-field :is(input, textarea) { background: var(--vendrest-form-paper); }
.vendrest-inquiry [hidden] { display: none !important; }
.vendrest-inquiry-setup { padding: 1.25rem 1.5rem; border: 1px solid var(--vendrest-form-border); border-left: 3px solid var(--vendrest-form-accent); border-radius: 4px; background: var(--vendrest-form-white); }
.vendrest-inquiry-setup p:first-child { margin-top: 0; }
.vendrest-inquiry-setup p:last-child { margin-bottom: 0; }
@keyframes vendrest-inquiry-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
	.vendrest-inquiry-fields { grid-template-columns: 1fr; gap: 1.25rem; }
	.vendrest-inquiry .vendrest-inquiry-submit { width: 100%; }
	.vendrest-inquiry-summary, .vendrest-inquiry-form[data-state="accepted"] .vendrest-inquiry-status { padding: 1rem 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
	.vendrest-inquiry :is(input, textarea, button) { transition: none !important; }
	.vendrest-inquiry .vendrest-inquiry-submit:not(:disabled):is(:hover, :active) { transform: none; }
	.vendrest-inquiry-button-indicator { animation: none !important; }
}

