.quote-form {
  min-height: 710px;
  scroll-margin-top: 150px;
}

.quote-panel {
  padding: 38px 40px 42px;
}

.quote-panel[hidden] {
  display: none;
}

.quote-panel > header {
  max-width: 800px;
  margin-bottom: 28px;
}

.quote-panel > header > span,
.quote-process article > span {
  display: block;
  margin-bottom: 10px;
  color: var(--quote-blue);
  font-size: 12px;
  font-weight: 700;
}

.quote-panel h2,
.quote-section h2 {
  margin: 0 0 12px;
  color: var(--quote-ink);
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.quote-panel h2:focus-visible {
  outline: 2px solid var(--quote-blue);
  outline-offset: 4px;
}

.quote-panel header p,
.quote-section header p {
  margin: 0;
  color: var(--quote-muted);
  font-size: 16px;
  line-height: 1.65;
}

.quote-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--quote-line);
  border-left: 1px solid var(--quote-line);
}

.quote-product-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--quote-line);
  border-bottom: 1px solid var(--quote-line);
  color: var(--quote-ink);
  cursor: pointer;
  background: #fff;
}

.quote-product-card input {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 19px;
  height: 19px;
  accent-color: var(--quote-blue);
  z-index: 1;
}

.quote-product-card img {
  width: 100%;
  aspect-ratio: 8 / 5;
  display: block;
  padding: 15px 24px 8px;
  object-fit: contain;
  background: #f7f8f9;
}

.quote-product-card > span {
  min-height: 108px;
  display: block;
  padding: 17px 18px 19px;
}

.quote-product-card strong,
.quote-product-card small {
  display: block;
}

.quote-product-card strong {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.3;
}

.quote-product-card small {
  color: var(--quote-muted);
  font-size: 12px;
  line-height: 1.45;
}

.quote-product-card:hover,
.quote-product-card:focus-within,
.quote-product-card.is-selected {
  box-shadow: inset 0 0 0 2px var(--quote-blue);
  z-index: 2;
}

.quote-specific {
  max-width: 520px;
  margin-top: 24px;
}

.quote-field {
  min-width: 0;
  display: block;
}

.quote-field > span {
  display: block;
  margin-bottom: 7px;
  color: var(--quote-ink);
  font-size: 14px;
  font-weight: 700;
}

.quote-field input,
.quote-field select,
.quote-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #aeb9c2;
  border-radius: 2px;
  color: var(--quote-ink);
  font: inherit;
  background: #fff;
}

.quote-field textarea {
  min-height: 130px;
  resize: vertical;
}

.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  border-color: var(--quote-blue);
  outline: 2px solid rgba(0, 115, 185, .18);
  outline-offset: 0;
}

.quote-detail-grid,
.quote-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.quote-detail-grid .quote-field:last-child,
.quote-full {
  grid-column: 1 / -1;
}

.quote-panel-nav {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--quote-line);
}

.quote-back {
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  color: var(--quote-blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
}

.quote-back:hover,
.quote-back:focus-visible {
  color: var(--quote-blue-dark);
  text-decoration: underline;
}

.quote-privacy,
.quote-fallback,
.quote-form .form-status {
  margin: 18px 0 0;
  color: var(--quote-muted);
  font-size: 13px;
  line-height: 1.55;
}

.quote-form .form-status:not(:empty) {
  padding: 12px 14px;
  border-left: 3px solid var(--quote-blue);
  background: var(--quote-soft);
}
