.chip-variants{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.chip-variants__label{flex-basis:100%;font-weight:600;margin-bottom:4px}
.chip-metrics__grid>.chip-metric:nth-child(3){grid-column:1/-1}
.chip-option--included{cursor:default}
.chip-option--included b{color:#26c979}

/* A quiet notice, separate from the tuning metrics and purchase actions. */
.chip-search {
  --chip-notice-accent: #f0bd70;
  --chip-notice-background: rgba(240, 189, 112, .045);
  --chip-notice-border: rgba(240, 189, 112, .24);
  --chip-positive: #45d888;
}

.chip-search .chip-source-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--chip-notice-border);
  border-left: 3px solid var(--chip-notice-accent);
  border-radius: var(--theme-border-radius);
  background: var(--chip-notice-background);
}

.chip-source-note__copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.chip-search .chip-source-note h4 {
  margin: 0 0 6px;
  color: var(--chip-notice-accent);
  font: 600 15px/1.45 Montserrat, "Open Sans", Arial, sans-serif;
}

.chip-search .chip-source-note p {
  margin: 0;
  color: var(--chip-muted);
  font-size: 14px;
  line-height: 1.7;
}

.chip-search .chip-source-note + .chip-options {
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
}

.chip-search .chip-metric__value--after {
  color: var(--chip-positive);
}

.chip-search .chip-option__copy small {
  font-size: 13px;
  line-height: 1.55;
}

.chip-search .chip-options h4 {
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .chip-search .chip-source-note {
    margin-top: 20px;
    padding: 16px;
  }

  .chip-search .chip-source-note + .chip-options {
    margin-top: 20px;
  }
}

/* Only the calculator's prefilled order form: keep all message text visible. */
.jqmWindow.popup textarea.chip-order-message {
  min-height: 112px;
  max-height: none;
  overflow-y: hidden;
  resize: vertical !important;
}

.jqmWindow.popup.chip-order-popup {
  box-sizing: border-box;
  inset: 0;
  width: 580px;
  max-width: calc(100vw - 24px);
  height: max-content !important;
  min-height: 0;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto !important;
  padding: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.jqmWindow.popup.chip-order-popup::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* The theme's inner scroller must not compete with the popup itself. */
.jqmWindow.popup.chip-order-popup > .scrollbar {
  height: auto;
  max-height: none;
  overflow: visible;
}

.jqmWindow.popup.chip-order-popup .form-header {
  padding: 20px 56px 10px 24px;
}

.jqmWindow.popup.chip-order-popup .form-header .title {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.jqmWindow.popup.chip-order-popup .form-header .form_desc {
  display: none;
}

.jqmWindow.popup.chip-order-popup .form-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  padding: 8px 24px 12px;
}

.jqmWindow.popup.chip-order-popup .form-body > .row {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
}

.jqmWindow.popup.chip-order-popup .form-body > .row.chip-order-half {
  grid-column: auto;
}

.jqmWindow.popup.chip-order-popup .form-body > .row.chip-order-subject {
  display: none;
}

.jqmWindow.popup.chip-order-popup .form-body > .row > [class*="col-"] {
  width: 100%;
  float: none;
  padding: 0;
}

.jqmWindow.popup.chip-order-popup .form-group {
  margin: 0;
}


.jqmWindow.popup.chip-order-popup .form-footer {
  padding: 0 24px 20px;
}

.jqmWindow.popup.chip-order-popup .form-footer .userconsent-wrap {
  margin-bottom: 12px;
}

.jqmWindow.popup.chip-order-popup .form-footer .licence_block {
  margin-bottom: 0;
}


@media (max-width: 560px) {
  .jqmWindow.popup.chip-order-popup .form-header {
    padding: 18px 52px 8px 18px;
  }

  .jqmWindow.popup.chip-order-popup .form-header .title {
    font-size: 20px;
  }

  .jqmWindow.popup.chip-order-popup .form-body {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 6px 18px 12px;
  }

  .jqmWindow.popup.chip-order-popup .form-body > .row.chip-order-half {
    grid-column: 1 / -1;
  }

  .jqmWindow.popup.chip-order-popup .form-control {
    font-size: 16px;
  }

  .jqmWindow.popup.chip-order-popup .form-footer {
    padding: 0 18px 18px;
  }
}

/* The service is fixed: only brand, model and engine are selected. */
.chip-search .chip-search__fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 767px) {
  .chip-search .chip-search__fields {
    grid-template-columns: 1fr;
  }
}

