/* Final quote request UI fixes loaded after the main flow stylesheet. */
.mbqt-quote-flow .mbqt-inline-qty-stepper {
  position: relative !important;
  z-index: 0;
  display: grid !important;
  grid-template-columns: 48px minmax(56px, 1fr) 48px !important;
  align-items: stretch !important;
  width: 164px !important;
  min-width: 164px !important;
  min-height: 56px !important;
  overflow: hidden !important;
  border: 1px solid #dbe5f5 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65) !important;
  isolation: isolate;
}

/* v0.4.314: final control lock for the quote item editor. */
.mbqt-quote-flow .mbqt-inline-item {
  overflow: visible !important;
}

.mbqt-quote-flow .mbqt-inline-fields,
.mbqt-quote-flow .mbqt-inline-price-field,
.mbqt-quote-flow .mbqt-inline-qty-field {
  min-width: 0 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper {
  display: grid !important;
  align-items: stretch !important;
  overflow: hidden !important;
  border: 1px solid #dbe5f5 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(16, 35, 63, 0.04) !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button,
.mbqt-quote-flow .mbqt-inline-qty-stepper input {
  box-sizing: border-box !important;
  min-width: 0 !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  line-height: 56px !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button {
  position: relative !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  background: #f8fbff !important;
  color: #10233f !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  user-select: none !important;
  pointer-events: auto !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button:first-child {
  border-right: 1px solid #dbe5f5 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button:last-child {
  border-left: 1px solid #dbe5f5 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper input {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
  border: 0 !important;
  background: #fff !important;
  color: #10233f !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  text-align: center !important;
  pointer-events: auto !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper input::-webkit-outer-spin-button,
.mbqt-quote-flow .mbqt-inline-qty-stepper input::-webkit-inner-spin-button {
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.mbqt-quote-flow button.mbqt-inline-remove,
.mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove {
  z-index: 4 !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #dbe5f5 !important;
  background: #fff !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  overflow: hidden !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
}

.mbqt-quote-flow button.mbqt-inline-remove::before,
.mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove::before {
  content: "×" !important;
  position: static !important;
  display: block !important;
  color: #68758f !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  transform: none !important;
}

@media (min-width: 761px) {
  .mbqt-quote-flow .mbqt-inline-item {
    grid-template-columns: 48px 104px minmax(300px, 1fr) 150px 164px 56px !important;
    gap: 18px !important;
    align-items: center !important;
  }

  .mbqt-quote-flow .mbqt-inline-price-field input {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper {
    grid-template-columns: 52px 60px 52px !important;
    width: 164px !important;
    min-width: 164px !important;
    max-width: 164px !important;
    height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper button {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper input {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove,
  .mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove {
    position: relative !important;
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 760px) {
  .mbqt-quote-flow .mbqt-inline-item {
    position: relative !important;
    padding: 16px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper {
    grid-template-columns: 56px minmax(56px, 1fr) 56px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper button {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper input {
    width: 100% !important;
    min-width: 56px !important;
    max-width: none !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove,
  .mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 14px !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove::before,
  .mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove::before {
    font-size: 30px !important;
  }
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: relative !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 48px !important;
  min-width: 48px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f8fbff !important;
  color: #10233f !important;
  font: inherit !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button:first-child {
  border-right: 1px solid #dbe5f5 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button:last-child {
  border-left: 1px solid #dbe5f5 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper input {
  -webkit-appearance: none !important;
  appearance: textfield !important;
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #10233f !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 56px !important;
  text-align: center !important;
  text-align-last: center !important;
  caret-color: #0b63f6 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper input::-webkit-outer-spin-button,
.mbqt-quote-flow .mbqt-inline-qty-stepper input::-webkit-inner-spin-button {
  margin: 0 !important;
  -webkit-appearance: none !important;
}

.mbqt-quote-flow .mbqt-inline-item {
  position: relative !important;
}

.mbqt-quote-flow .mbqt-inline-remove {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 54px !important;
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dbe5f5 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #66728a !important;
  box-shadow: 0 8px 18px rgba(16, 35, 63, .045) !important;
  font-family: inherit !important;
  font-size: 28px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  text-align: center !important;
  cursor: pointer !important;
  aspect-ratio: 1 / 1 !important;
  -webkit-tap-highlight-color: transparent !important;
}

.mbqt-quote-flow .mbqt-inline-remove:hover,
.mbqt-quote-flow .mbqt-inline-remove:focus-visible {
  border-color: #bfcce2 !important;
  color: #10233f !important;
  background: #f8fbff !important;
}

@media (max-width: 760px) {
  .mbqt-quote-flow .mbqt-inline-qty-stepper {
    grid-template-columns: 48px minmax(58px, 1fr) 48px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper button {
    width: 48px !important;
    min-width: 48px !important;
    min-height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper input {
    min-height: 56px !important;
    line-height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-item .mbqt-inline-remove,
  .mbqt-quote-flow .mbqt-inline-item.has-preview .mbqt-inline-remove {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 8 !important;
    display: grid !important;
    place-items: center !important;
    flex: none !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #66728a !important;
    font-size: 34px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: center !important;
  }

  .mbqt-quote-flow .mbqt-inline-item .mbqt-inline-remove:hover,
  .mbqt-quote-flow .mbqt-inline-item .mbqt-inline-remove:focus-visible {
    background: #f6f9ff !important;
    color: #10233f !important;
  }
}

/* Final delete-button guard: render the × as a fixed-size glyph so it never gets crushed. */
.mbqt-quote-flow button.mbqt-inline-remove {
  -webkit-appearance: none !important;
  appearance: none !important;
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  max-width: 54px !important;
  max-height: 54px !important;
  inline-size: 54px !important;
  block-size: 54px !important;
  min-inline-size: 54px !important;
  min-block-size: 54px !important;
  max-inline-size: 54px !important;
  max-block-size: 54px !important;
  flex: 0 0 54px !important;
  aspect-ratio: 1 / 1 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #dbe5f5 !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: transparent !important;
  box-shadow: 0 8px 18px rgba(16, 35, 63, .045) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}

.mbqt-quote-flow button.mbqt-inline-remove > * {
  display: none !important;
}

.mbqt-quote-flow button.mbqt-inline-remove::before {
  content: "×" !important;
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  color: #66728a !important;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 28px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  transform: translateY(-2px) !important;
  pointer-events: none !important;
}

.mbqt-quote-flow button.mbqt-inline-remove:hover,
.mbqt-quote-flow button.mbqt-inline-remove:focus-visible {
  border-color: #bfcce2 !important;
  background: #f8fbff !important;
}

.mbqt-quote-flow button.mbqt-inline-remove:hover::before,
.mbqt-quote-flow button.mbqt-inline-remove:focus-visible::before {
  color: #10233f !important;
}

@media (max-width: 760px) {
  .mbqt-quote-flow button.mbqt-inline-remove,
  .mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 8 !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    inline-size: 42px !important;
    block-size: 42px !important;
    min-inline-size: 42px !important;
    min-block-size: 42px !important;
    max-inline-size: 42px !important;
    max-block-size: 42px !important;
    flex: 0 0 42px !important;
    aspect-ratio: 1 / 1 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove::before {
    font-size: 32px !important;
    font-weight: 500 !important;
    transform: translateY(-2px) !important;
  }
}

/* v0.4.308: keep quantity controls and clear buttons usable across theme CSS. */
.mbqt-quote-flow .mbqt-inline-qty-field {
  min-width: 0 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 52px 64px 52px !important;
  align-items: stretch !important;
  width: 168px !important;
  min-width: 168px !important;
  max-width: 168px !important;
  height: 56px !important;
  min-height: 56px !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button,
.mbqt-quote-flow .mbqt-inline-qty-stepper input {
  position: relative !important;
  pointer-events: auto !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button {
  z-index: 5 !important;
  display: grid !important;
  place-items: center !important;
  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f7faff !important;
  color: #10233f !important;
  font-size: 22px !important;
  line-height: 1 !important;
  touch-action: manipulation !important;
  cursor: pointer !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button:hover,
.mbqt-quote-flow .mbqt-inline-qty-stepper button:focus-visible {
  background: #eef5ff !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper input {
  z-index: 1 !important;
  display: block !important;
  width: 64px !important;
  min-width: 64px !important;
  max-width: 64px !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  padding: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 1px solid #dbe5f5 !important;
  border-right: 1px solid #dbe5f5 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #10233f !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 56px !important;
  text-align: center !important;
  text-indent: 0 !important;
}

.mbqt-quote-flow button.mbqt-inline-remove {
  flex: 0 0 54px !important;
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  overflow: hidden !important;
}

@media (min-width: 761px) {
  .mbqt-quote-flow .mbqt-inline-item {
    grid-template-columns: 52px 96px minmax(260px, 1fr) 170px 172px 58px !important;
    gap: 18px !important;
  }

  .mbqt-quote-flow .mbqt-inline-price-field input {
    max-width: 170px !important;
  }
}

@media (max-width: 760px) {
  .mbqt-quote-flow .mbqt-inline-qty-stepper {
    grid-template-columns: 1fr 1.08fr 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper button {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove,
  .mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    inline-size: 42px !important;
    block-size: 42px !important;
    overflow: visible !important;
  }
}

/* v0.4.311: final quote-request control polish. */
.mbqt-quote-flow .mbuy-account-security-note {
  display: none !important;
}

.mbqt-quote-flow .mbqt-inline-qty-field,
.mbqt-quote-flow .mbqt-inline-qty-stepper {
  overflow: visible !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper {
  position: relative !important;
  display: grid !important;
  align-items: stretch !important;
  border: 1px solid #dbe5f5 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 18px rgba(16, 35, 63, 0.04) !important;
  isolation: isolate !important;
  pointer-events: auto !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button {
  position: relative !important;
  z-index: 20 !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  background: #f8fbff !important;
  color: #10233f !important;
  font-weight: 800 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  cursor: pointer !important;
  user-select: none !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button:first-child {
  border-radius: 16px 0 0 16px !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button:last-child {
  border-radius: 0 16px 16px 0 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button:hover,
.mbqt-quote-flow .mbqt-inline-qty-stepper button:focus-visible {
  background: #eef5ff !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper input {
  position: relative !important;
  z-index: 10 !important;
  display: block !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 1px solid #dbe5f5 !important;
  border-right: 1px solid #dbe5f5 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #10233f !important;
  font-weight: 850 !important;
  text-align: center !important;
  text-align-last: center !important;
  text-indent: 0 !important;
  appearance: textfield !important;
  pointer-events: auto !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper input::-webkit-outer-spin-button,
.mbqt-quote-flow .mbqt-inline-qty-stepper input::-webkit-inner-spin-button {
  margin: 0 !important;
  appearance: none !important;
}

.mbqt-quote-flow button.mbqt-inline-remove {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  overflow: visible !important;
}

.mbqt-quote-flow button.mbqt-inline-remove::before {
  content: "×" !important;
  color: #66738f !important;
  font-size: 28px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}

.mbqt-quote-flow button.mbqt-inline-remove:hover::before,
.mbqt-quote-flow button.mbqt-inline-remove:focus-visible::before {
  color: #10233f !important;
}

@media (min-width: 761px) {
  .mbqt-quote-flow .mbqt-inline-item {
    grid-template-columns: 48px 88px minmax(320px, 1fr) 150px 166px 52px !important;
    column-gap: 18px !important;
    row-gap: 10px !important;
    align-items: center !important;
  }

  .mbqt-quote-flow .mbqt-inline-price-field {
    max-width: 150px !important;
  }

  .mbqt-quote-flow .mbqt-inline-price-field input {
    width: 150px !important;
    max-width: 150px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper {
    grid-template-columns: 50px 66px 50px !important;
    width: 166px !important;
    min-width: 166px !important;
    max-width: 166px !important;
    height: 56px !important;
    min-height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper button {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper input {
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    height: 56px !important;
    line-height: 56px !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
  }
}

@media (max-width: 760px) {
  .mbqt-quote-flow .mbqt-inline-qty-stepper {
    grid-template-columns: 1fr 1.05fr 1fr !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper button,
  .mbqt-quote-flow .mbqt-inline-qty-stepper input {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 56px !important;
    min-height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper input {
    line-height: 56px !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove,
  .mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    inline-size: 42px !important;
    block-size: 42px !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove::before {
    font-size: 30px !important;
  }
}

/* v0.4.312: keep quote item controls tappable and visually stable. */
.mbqt-quote-flow .mbqt-inline-item {
  overflow: visible !important;
}

.mbqt-quote-flow .mbqt-inline-fields,
.mbqt-quote-flow .mbqt-inline-price-field,
.mbqt-quote-flow .mbqt-inline-qty-field {
  min-width: 0 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper {
  pointer-events: auto !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper > button,
.mbqt-quote-flow .mbqt-inline-qty-stepper > input {
  flex: none !important;
  box-sizing: border-box !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper > button {
  cursor: pointer !important;
  touch-action: manipulation !important;
  user-select: none !important;
}

.mbqt-quote-flow button.mbqt-inline-remove {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  border: 1px solid #dbe5f5 !important;
  border-radius: 14px !important;
  background: #fff !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
}

@media (min-width: 761px) {
  .mbqt-quote-flow .mbqt-inline-item {
    grid-template-columns: 52px 90px minmax(330px, 1fr) 150px 168px 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper {
    grid-template-columns: 52px 64px 52px !important;
    width: 168px !important;
    min-width: 168px !important;
    max-width: 168px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper > button {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper > input {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
  }
}

/* v0.4.315: final quote item control override. Keep this block at EOF. */
.mbqt-quote-flow .mbqt-inline-item {
  overflow: visible !important;
}

.mbqt-quote-flow .mbqt-inline-fields,
.mbqt-quote-flow .mbqt-inline-price-field,
.mbqt-quote-flow .mbqt-inline-qty-field {
  min-width: 0 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper {
  display: grid !important;
  align-items: stretch !important;
  overflow: hidden !important;
  border: 1px solid #dbe5f5 !important;
  border-radius: 16px !important;
  background: #fff !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button,
.mbqt-quote-flow .mbqt-inline-qty-stepper input {
  box-sizing: border-box !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  line-height: 56px !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button {
  position: relative !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  background: #f8fbff !important;
  color: #10233f !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  pointer-events: auto !important;
  user-select: none !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button:first-child {
  border-right: 1px solid #dbe5f5 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper button:last-child {
  border-left: 1px solid #dbe5f5 !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper input {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  border: 0 !important;
  background: #fff !important;
  color: #10233f !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  text-align: center !important;
  pointer-events: auto !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

.mbqt-quote-flow .mbqt-inline-qty-stepper input::-webkit-outer-spin-button,
.mbqt-quote-flow .mbqt-inline-qty-stepper input::-webkit-inner-spin-button {
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.mbqt-quote-flow button.mbqt-inline-remove,
.mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove {
  z-index: 4 !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #dbe5f5 !important;
  background: #fff !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  overflow: hidden !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
}

.mbqt-quote-flow button.mbqt-inline-remove::before,
.mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove::before {
  content: "×" !important;
  position: static !important;
  display: block !important;
  color: #68758f !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  transform: none !important;
}

@media (min-width: 761px) {
  .mbqt-quote-flow .mbqt-inline-item {
    grid-template-columns: 48px 104px minmax(300px, 1fr) 150px 164px 56px !important;
    gap: 18px !important;
    align-items: center !important;
  }

  .mbqt-quote-flow .mbqt-inline-price-field input {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper {
    grid-template-columns: 52px 60px 52px !important;
    width: 164px !important;
    min-width: 164px !important;
    max-width: 164px !important;
    height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper button {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper input {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove,
  .mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove {
    position: relative !important;
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 760px) {
  .mbqt-quote-flow .mbqt-inline-item {
    position: relative !important;
    padding: 16px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper {
    grid-template-columns: 56px minmax(56px, 1fr) 56px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper button {
    width: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
  }

  .mbqt-quote-flow .mbqt-inline-qty-stepper input {
    width: 100% !important;
    min-width: 56px !important;
    max-width: none !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove,
  .mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 14px !important;
  }

  .mbqt-quote-flow button.mbqt-inline-remove::before,
  .mbqt-quote-flow .mbqt-inline-item.has-preview button.mbqt-inline-remove::before {
    font-size: 30px !important;
  }
}
