.wm-rfq:not([open]) { display: none; }
.wm-rfq[open] {
	--rfq-navy: #1d3444;
	--rfq-red: #b91e31;
	display: flex; flex-direction: column; position: fixed; inset: 0;
	box-sizing: border-box; width: min(620px, calc(100% - 32px)); max-width: none;
	height: fit-content; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
	margin: auto; padding: 0; overflow: hidden; color: #1c3242; background: white;
	border: 0; border-radius: 16px; box-shadow: 0 18px 85px #0717224d;
	font-family: inherit; text-align: start;
	animation: wm-rfq-appear .2s ease-out both;
}
.wm-rfq *, .wm-rfq *::before, .wm-rfq *::after { box-sizing: border-box; }
.wm-rfq::backdrop { background: rgb(12 27 38 / 58%); }
html.wm-rfq-open { overflow: hidden; scrollbar-gutter: stable; }
.wm-rfq-head { position: relative; flex: none; display: flex; isolation: isolate; overflow: hidden; min-height: 144px; background: var(--rfq-navy); }
.wm-rfq-heading { z-index: 1; align-self: center; width: 68%; padding: 22px 10px 21px 30px; }
.wm-rfq-brand { display: inline-flex; align-items: center; gap: 9px; font: 700 10px/1.2 Arial,sans-serif; color: #eef2f4; letter-spacing: .15em; text-transform: uppercase; }
.wm-rfq-brand::before { content: ""; width: 21px; height: 3px; background: #f06a71; }
.wm-rfq h2 { margin: 8px 0 5px; color: white; font-size: clamp(23px, 3vw, 29px); font-weight: 720; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.wm-rfq-head p { margin: 0; max-width: 40ch; color: #e1e9ee; font-size: 13px; line-height: 1.5; }
.wm-rfq-figure { position: absolute; inset: 0 0 0 68%; display: flex; align-items: center; justify-content: center; background: #f1f3f3; }
.wm-rfq-figure::before { position: absolute; z-index: -1; inset: 0 100% 0 -18px; background: #f1f3f3; content: ""; clip-path: polygon(100% 0,100% 100%,0 100%); }
.wm-rfq-figure img { width: 94%; height: 114px; max-height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.wm-rfq-figure .wm-pump-photo-frame { width: min(94%, 134px); margin: 0; mix-blend-mode: multiply; }
.wm-rfq-no-photo .wm-rfq-heading { width: 100%; padding-inline-end: 56px; }
.wm-rfq-close { position: absolute; z-index: 3; top: 6px; right: 6px; display: grid; place-content: center; height: 40px; width: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #243d4b; cursor: pointer; }
.wm-rfq-close::before { position: absolute; z-index: -1; content: ""; inset: 5px; border: 1px solid #d6dee1; border-radius: inherit; background: #fff; }
.wm-rfq-close:hover::before { border-color: #93a5ae; background: #f9fafb; }
.wm-rfq-form { display: flex; flex-direction: column; min-height: 0; margin: 0; }
.wm-rfq-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 18px; padding: 23px 30px 21px; overflow-y: auto; overscroll-behavior: contain; }
.wm-rfq-fields label { display: block; min-width: 0; margin: 0; color: #293e4b; font-size: 13px; line-height: 1.4; font-weight: 650; }
.wm-rfq-fields label > span { color: var(--rfq-red); }
.wm-rfq-fields :is(input,textarea) { display: block; width: 100%; min-width: 0; min-height: 42px; margin: 5px 0 0; padding: 9px 11px; border: 1px solid #bcc9d0; border-radius: 6px; background: white; color: #203645; font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.35; }
.wm-rfq-fields textarea { min-height: 63px; max-height: 170px; resize: vertical; }
.wm-rfq-fields :is(input,textarea):hover { border-color: #899da8; }
.wm-rfq-fields :is(input,textarea):focus { outline: 2px solid #355e79; outline-offset: 1px; border-color: #355e79; }
.wm-rfq-fields textarea::placeholder { color: #637580; opacity: 1; }
.wm-rfq-message { grid-column: 1/-1; }
.wm-rfq-actions { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 30px; border-top: 1px solid #e1e7ea; background: #f7f9fa; }
.wm-rfq-actions a { color: #425c6c; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.wm-rfq-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 11px 18px; min-height: 44px; border: 0; border-radius: 6px; background: var(--rfq-red); color: white; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.35; cursor: pointer; }
.wm-rfq-actions button:hover { background: #991b2a; }
.wm-rfq :is(button,a):focus-visible { outline: 2px solid #27668a; outline-offset: 2px; }
@keyframes wm-rfq-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 540px) {
	.wm-rfq[open] { width: calc(100% - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
	.wm-rfq-head { min-height: 112px; }
	.wm-rfq-heading { width: 73%; padding: 15px 12px 15px 18px; }
	.wm-rfq h2 { margin: 5px 0 3px; font-size: 21px; }
	.wm-rfq-head p { font-size: 12px; line-height: 1.4; }
	.wm-rfq-figure { left: 73%; }
	.wm-rfq-figure img { width: 96%; height: 72px; margin-top: 20px; }
	.wm-rfq-figure .wm-pump-photo-frame { width: min(95%, 85px); margin-top: 18px; }
	.wm-rfq-close { top: 1px; right: 1px; }
	.wm-rfq-fields { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
	.wm-rfq-fields :is(input,textarea) { min-height: 40px; font-size: 16px; margin-top: 3px; padding: 8px 10px; }
	.wm-rfq-fields textarea { min-height: 58px; }
	.wm-rfq-actions { padding: 10px 18px; }
}
@media (max-height: 500px) {
	.wm-rfq-head { min-height: 0; }
	.wm-rfq-heading { padding-top: 9px; padding-bottom: 9px; }
	.wm-rfq-brand, .wm-rfq-head p { display: none; }
	.wm-rfq h2 { margin: 3px 0; font-size: 20px; }
	.wm-rfq-figure img { width: auto; height: 36px; margin: 0; }
	.wm-rfq-figure .wm-pump-photo-frame { width: 38px; margin: 0; }
	.wm-rfq-actions { padding-block: 5px; }
}
@media (prefers-reduced-motion: reduce) {
	.wm-rfq[open] { animation: none; }
}
html[dir=rtl] .wm-rfq-figure { left: 0; right: 68%; }
html[dir=rtl] .wm-rfq-figure::before { left: 100%; right: -18px; transform: scaleX(-1); }
html[dir=rtl] .wm-rfq-heading { padding-inline: 30px 10px; }
html[dir=rtl] .wm-rfq-no-photo .wm-rfq-heading { padding-inline-end: 56px; }
html[dir=rtl] .wm-rfq-close { left: 6px; right: auto; }
@media (max-width: 540px) {
  html[dir=rtl] .wm-rfq-figure { right: 73%; }
  html[dir=rtl] .wm-rfq-heading { padding-inline: 18px 12px; }
  html[dir=rtl] .wm-rfq-close { left: 1px; }
}
