.mqf-cart-drawer__quote-host {
  grid-row: 2 / -1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #ffffff;
  scrollbar-color: #c9ced3 transparent;
  scrollbar-width: thin;
}

.mqf-cart-drawer__quote-host[hidden] {
  display: none;
}

.mqf-quote {
  padding: 20px 24px 30px;
}

.mqf-quote__back {
  display: inline-flex;
  min-height: 36px;
  margin: 0 0 14px;
  padding: 5px 0;
  align-items: center;
  gap: 8px;
  color: #555d65;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
  transition: color 150ms ease;
}

.mqf-quote__back:hover {
  color: #e20917;
}

.mqf-quote__back svg,
.mqf-quote-form__submit svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mqf-quote-selection {
  margin: 0 0 22px;
  background: #f3f5f6;
  border: 1px solid #e1e5e8;
  border-radius: 6px;
}

.mqf-quote-selection summary {
  display: flex;
  min-height: 54px;
  padding: 13px 15px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  font-weight: 680;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.mqf-quote-selection summary::-webkit-details-marker {
  display: none;
}

.mqf-quote-selection summary strong {
  flex: 0 0 auto;
  color: #e20917;
  font-size: 12px;
  font-weight: 760;
}

.mqf-quote-selection ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 15px 14px;
  list-style: none;
}

.mqf-quote-selection li {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  color: #5b636b;
  font-size: 12px;
  line-height: 1.35;
}

.mqf-quote-selection li span {
  min-width: 0;
}

.mqf-quote-selection li strong {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: #30343a;
  background: #ffffff;
  border-radius: 50%;
  font-size: 11px;
}

.mqf-quote-selection__remaining {
  font-weight: 650;
}

.mqf-quote-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 12px;
}

.mqf-quote-form__field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.mqf-quote-form__field--full {
  grid-column: 1 / -1;
}

.mqf-quote-form__field label,
.mqf-quote-form__field > label {
  color: #343a40;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.3;
}

.mqf-quote-form__field label > span[aria-hidden="true"] {
  color: #e20917;
}

.mqf-quote-form__optional {
  margin-left: 5px;
  color: #818991;
  font-size: 11px;
  font-weight: 500;
}

.mqf-quote-form input[type="text"],
.mqf-quote-form input[type="email"],
.mqf-quote-form input[type="tel"],
.mqf-quote-form textarea {
  width: 100%;
  color: #17191c;
  background: #ffffff;
  border: 1px solid #cfd5da;
  border-radius: 5px;
  outline: none;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.mqf-quote-form input[type="text"],
.mqf-quote-form input[type="email"],
.mqf-quote-form input[type="tel"] {
  height: 46px;
  padding: 10px 12px;
}

.mqf-quote-form textarea {
  min-height: 88px;
  padding: 11px 12px;
  resize: vertical;
}

.mqf-quote-form input:focus,
.mqf-quote-form textarea:focus {
  border-color: #656d75;
  box-shadow: 0 0 0 3px rgba(48, 52, 58, 0.1);
}

.mqf-quote-form input:user-invalid,
.mqf-quote-form textarea:user-invalid {
  border-color: #c51622;
}

.mqf-quote-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5b636b;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.mqf-quote-form__privacy input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: #e20917;
}

.mqf-quote-form__privacy a {
  color: #30343a;
  font-weight: 680;
  text-underline-offset: 2px;
}

.mqf-quote-form__recaptcha {
  margin: -2px 0 0;
  color: #858c93;
  font-size: 10px;
  line-height: 1.45;
}

.mqf-quote-form__recaptcha a {
  color: #626970;
  text-underline-offset: 2px;
}

.mqf-quote-form__status {
  min-height: 19px;
  margin: -3px 0 0;
  color: #5b636b;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.45;
}

.mqf-quote-form__status:empty {
  min-height: 0;
}

.mqf-quote-form__status[data-tone="error"] {
  color: #a70d17;
}

.mqf-quote-form__submit {
  display: flex;
  min-height: 54px;
  padding: 14px 17px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #ffffff;
  background: #e20917;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 150ms ease, opacity 150ms ease;
}

.mqf-quote-form__submit:hover:not(:disabled) {
  background: #bd0712;
}

.mqf-quote-form__submit:disabled {
  opacity: 0.68;
  cursor: wait;
}

.mqf-quote-form__honeypot {
  position: absolute;
  top: auto;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mqf-quote-success {
  display: flex;
  min-height: 100%;
  padding: 70px 30px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.mqf-quote-success__icon {
  display: inline-flex;
  width: 62px;
  height: 62px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #e20917;
  border-radius: 50%;
}

.mqf-quote-success__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mqf-quote-success__eyebrow {
  margin: 0 0 8px;
  color: #e20917;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.mqf-quote-success h3 {
  max-width: 15ch;
  margin: 0;
  font-size: 25px;
  font-weight: 780;
  line-height: 1.15;
}

.mqf-quote-success > p:not(.mqf-quote-success__eyebrow) {
  max-width: 32ch;
  margin: 13px 0 18px;
  color: #5b636b;
  font-size: 14px;
  line-height: 1.5;
}

.mqf-quote-success small {
  color: #818991;
  font-size: 11px;
}

.mqf-quote button:focus-visible,
.mqf-quote input:focus-visible,
.mqf-quote textarea:focus-visible,
.mqf-quote a:focus-visible {
  outline: 3px solid rgba(226, 9, 23, 0.32);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .mqf-quote {
    padding: 15px 18px calc(24px + env(safe-area-inset-bottom));
  }

  .mqf-quote-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .mqf-quote-form__field--full {
    grid-column: auto;
  }

  .mqf-quote-selection {
    margin-bottom: 19px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .mqf-quote__back,
  .mqf-quote-form input,
  .mqf-quote-form textarea,
  .mqf-quote-form__submit {
    transition: none;
  }
}
