/* JS-generated enquiry forms: no extra field wrappers or labels required. */
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback {
  --feedback-bg: #faf9f7;
  --feedback-color: var(--ink, #141416);
  --feedback-placeholder: rgba(20, 20, 22, .4);
  --feedback-border: 1px solid rgba(20, 20, 22, .18);
  --feedback-bottom: var(--feedback-border);
  --feedback-radius: 3px;
  --feedback-padding: 13px 15px;
  --feedback-focus-bg: #fff;
  --feedback-focus-ring: 0 0 0 3px rgba(213, 0, 4, .09);
  --feedback-error: #b62430;
  --feedback-textarea-height: 130px;
  min-width: 0;
  align-self: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 20px;
}
.page-home #quote .wmkcfeedback {
  --feedback-bg: transparent;
  --feedback-color: var(--paper, #f2f0ec);
  --feedback-placeholder: rgba(242, 240, 236, .45);
  --feedback-border: 0;
  --feedback-bottom: 1px solid rgba(255, 255, 255, .24);
  --feedback-radius: 0;
  --feedback-padding: 10px 0;
  --feedback-focus-bg: transparent;
  --feedback-focus-ring: none;
  --feedback-error: #ff9a9d;
  --feedback-textarea-height: 88px;
}
.page-contact-us #main .wmkcfeedback { margin-top: clamp(24px, 3vw, 32px); }
.page-home #quote .wmkcfeedback::before,
.page-contact-us #main .wmkcfeedback::before {
  content: none;
}
.page-home #quote .wmkcfeedback .feedback-note,
.page-contact-us #main .wmkcfeedback .feedback-note {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  max-width: 44ch;
  margin: 24px 0 0;
  color: var(--feedback-color);
  font-size: 12px;
  line-height: 1.6;
  opacity: .68;
}
.page-home #quote .wmkcfeedback .feedback-note { opacity: .56; }
.page-home #quote .wmkcfeedback .send-inquiry,
.page-contact-us #main .wmkcfeedback .send-inquiry {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .send-inquiry .inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .inquiry-form > * { min-width: 0; }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .inquiry-form > :is(input, select) { grid-column: auto; }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback :is(input, textarea, select) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: var(--feedback-padding);
  border: var(--feedback-border);
  border-bottom: var(--feedback-bottom);
  border-radius: var(--feedback-radius);
  background: var(--feedback-bg);
  color: var(--feedback-color);
  font: 16px/1.6 var(--font, sans-serif);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback :is(input, textarea)::placeholder {
  color: var(--feedback-placeholder);
  opacity: 1;
}
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback :is(input, textarea, select):focus {
  outline: none;
  border-color: var(--red, #d50004);
  background-color: var(--feedback-focus-bg);
  box-shadow: var(--feedback-focus-ring);
}
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .inquiry-form > textarea {
  grid-column: 1 / -1;
  min-height: var(--feedback-textarea-height);
  resize: vertical;
}
.page-contact-us #main .wmkcfeedback .inquiry-form > textarea {
  height: 130px;
  min-height: 130px;
}
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback select option { background: var(--feedback-focus-bg, #fff); color: var(--feedback-color); }
.page-home #quote .wmkcfeedback select option { background: #242426; }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .feed-verification { grid-column: 1 / -1; }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .feed-verification { display: flex; align-items: center; gap: 12px; }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .feed-verification input { flex: 1; }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .feed-verification img { max-width: 40%; height: 48px; object-fit: contain; cursor: pointer; }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback :is(input[type="checkbox"], input[type="radio"]) { width: auto; min-height: 0; }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .input-error { border-color: var(--feedback-error); }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin: 24px 0 0 auto;
  padding: 16px 26px;
  border: 0;
  border-radius: 2px;
  background: var(--red, #d50004);
  color: #fff;
  font: 600 14.5px/1.4 var(--font, sans-serif);
  text-align: center;
  cursor: pointer;
  transition: background-color .25s;
}
.page-home #quote .wmkcfeedback .send-btn,
.page-contact-us #main .wmkcfeedback .send-btn {
  grid-column: 2;
  grid-row: 2;
}
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .send-btn::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s;
}
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .send-btn:hover { background: var(--red-dk, #9c070a); }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .send-btn:hover::after { transform: translateX(3px); }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .send-btn:focus-visible { outline: 2px solid var(--feedback-color); outline-offset: 4px; }
:is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .send-btn:disabled { opacity: .6; cursor: wait; }
@media (max-width: 639px) {
  :is(.page-home #quote, .page-contact-us #main) .wmkcfeedback { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  :is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .send-inquiry .inquiry-form { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .page-contact-us #main .wmkcfeedback { margin-top: 16px; --feedback-padding: 11px 13px; }
  .page-home #quote .wmkcfeedback .feedback-note,
  .page-contact-us #main .wmkcfeedback .feedback-note { grid-column: 1; grid-row: 2; margin-top: 0; }
  .page-home #quote .wmkcfeedback .send-btn,
  .page-contact-us #main .wmkcfeedback .send-btn { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 0; padding: 14px 22px; }
}
/* Match the original contact button and prevent the grid row stretching it. */
.page-contact-us #main .wmkcfeedback .send-btn {
  align-self: center;
  min-height: 0;
  padding: 14px 22px;
  border: 1px solid transparent;
  line-height: 1;
  letter-spacing: -.005em;
}
.page-contact-us #main .wmkcfeedback .send-btn::after { width: 15px; height: 15px; }
@media (max-width: 899px) {
  .page-contact-us #main .wmkcfeedback .send-btn { padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.page-home #quote, .page-contact-us #main) .wmkcfeedback :is(input, textarea, select, .send-btn),
  :is(.page-home #quote, .page-contact-us #main) .wmkcfeedback .send-btn::after { transition: none; }
}
