#enquiry-form [hidden] { display: none !important; }
#enquiry-form { container-type: inline-size; min-width: 0; }
.field-required { color: #a51818; font-weight: 700; }
.field-optional { color: #595959; font-size: .82em; font-weight: 400; }
.enquiry-required-note { color: #444; font-size: 14px; }
.enquiry-errors, .field-error { color: #a51818; font-size: 14px; }
.enquiry-errors { margin: 10px 0 14px; padding: 10px 12px; background: #fff3f2; border-left: 3px solid #a51818; }
.field-error { margin: 5px 0 0; }
#enquiry-form [aria-invalid="true"] { border-color: #a51818; box-shadow: 0 0 0 1px #a51818; }
#enquiry-form input:focus-visible, #enquiry-form textarea:focus-visible, #enquiry-form select:focus-visible,
.range-picker-trigger:focus-visible, .range-picker-option:focus-visible {
  outline: 2px solid #232323;
  outline-offset: 2px;
}
.range-picker { position: relative; }
.range-picker[open] { z-index: 2; }
.range-picker-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  list-style: none;
}
.range-picker-trigger::-webkit-details-marker { display: none; }
.range-picker-trigger::after { content: '▾'; flex: 0 0 auto; }
.range-picker[open] .range-picker-trigger::after { content: '▴'; }
.range-picker-panel {
  position: absolute;
  z-index: 1;
  inset: calc(100% + 4px) auto auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  width: min(420px, calc(100vw - 44px));
  width: min(420px, 100cqi);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 20px #0002;
}
.range-picker-options { max-height: min(300px, 46vh); overflow-y: auto; overscroll-behavior: contain; }
.range-picker-option {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.range-picker-option:hover, .range-picker-option:focus-visible { background: #eee; }
.range-picker-option:focus-visible { outline-offset: -2px; }
.range-picker-option[aria-pressed="true"] { font-weight: 700; }
.range-picker-preview {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 8px;
  border-left: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
}
.range-picker-preview img, .range-picker-selected-image {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: contain;
  background: #fff;
}
.range-picker-selected-image { display: none; }
@container (max-width: 520px) {
  .quote-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .quote-line .quote-field:first-child { grid-column: 1 / -1; }
  .quote-line .quote-remove { grid-column: 2; justify-self: end; }
}
@media (max-width: 680px), (hover: none) {
  .range-picker-option { min-height: 44px; }
  .range-picker-selected-image { display: block; }
  .range-picker-selected-image { width: min(132px, 100%); height: 100px; margin-top: 6px; }
  .range-picker-preview img { height: 108px; }
}
