/* AIR Avionics quick quote ([aav_quote]); accent per form via --aavq-accent */
.aavq { --aavq-accent: #e32ca0; --aavq-line: #d2d2d4; --aavq-mute: #5f5f63; max-width: 760px; margin: 0 auto; scroll-margin-top: 110px; }
.aavq-title { margin: 0 0 18px; }
.aavq-lead { font-size: 17px; line-height: 1.5; margin: 0 0 36px; max-width: 640px; }
.aavq-note { margin: -16px 0 36px; max-width: 640px; padding: 12px 16px; border-left: 3px solid var(--aavq-accent); background: #f6f6f7; font-size: 15px; }

.aavq-progress { list-style: none; margin: 0 0 36px; padding: 0; display: flex; gap: 6px; counter-reset: s; }
.aavq-progress li { flex: 1 1 0; min-width: 0; border-top: 3px solid var(--aavq-line); padding-top: 10px; display: flex; gap: 8px; align-items: baseline; color: var(--aavq-mute); }
.aavq-progress li.is-done { border-color: #000; color: #000; }
.aavq-progress li.is-current { border-color: var(--aavq-accent); color: #000; }
.aavq-progress-n { font-family: "Vito Wide", sans-serif; font-weight: 700; font-size: 12px; }
.aavq-progress-t { font-family: "Vito Wide", sans-serif; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.aavq-step-h { font-family: "Vito Wide", sans-serif; font-size: 26px; margin: 0 0 6px; }
.aavq-intro { color: var(--aavq-mute); margin: 0 0 28px; }
.aavq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
.aavq-field { grid-column: 1 / -1; min-width: 0; }
.aavq-w-third { grid-column: span 1; }
.aavq-w-twothirds { grid-column: span 2; }
.aavq-label { display: block; font-family: "Vito Wide", sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; color: #000; }
.aavq-req { color: var(--aavq-accent); }
.aavq-help { font-size: 13px; color: var(--aavq-mute); margin: 6px 0 0; }
.aavq .uk-input, .aavq .uk-select, .aavq .uk-textarea { border: 1px solid var(--aavq-line); background: #fff; font-size: 16px; }
.aavq .uk-input, .aavq .uk-select { height: 46px; }
.aavq .uk-input:focus, .aavq .uk-select:focus, .aavq .uk-textarea:focus { border-color: #000; outline: 2px solid var(--aavq-accent); outline-offset: 1px; }
.aavq-err { color: #c40000; font-size: 13px; margin: 6px 0 0; }
.aavq-field.has-err .uk-input, .aavq-field.has-err .uk-select, .aavq-field.has-err .aavq-opt { border-color: #c40000; }

/* section background picture (the page's product shot, top right): only as wide as the free space beside
   the form, gone when that space is too narrow — otherwise it lies on the questions */
.uk-section:has(> .uk-container .aavq) { background-size: min(600px, calc((100vw - 760px) / 2 - 40px)) auto !important; }
@media (max-width: 1299px) {
    .uk-section:has(> .uk-container .aavq) { background-image: none !important; }
}

/* option cards, chips and checkboxes */
.aavq-sr { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.aavq-options { display: grid; gap: 10px; }
.aavq-cards .aavq-options { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.aavq-checks .aavq-options { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.aavq-cards .aavq-options.aavq-n4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.aavq-chips .aavq-options { display: flex; flex-wrap: wrap; gap: 8px; }
.aavq-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--aavq-line); background: #fff; padding: 14px 16px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.aavq-opt:hover { border-color: #000; }
.aavq-opt.is-on { border-color: #000; box-shadow: inset 0 0 0 1px #000; }
.aavq-opt:focus-within { outline: 2px solid var(--aavq-accent); outline-offset: 2px; }
.aavq-opt-mark { flex: none; width: 18px; height: 18px; border: 1.5px solid #000; border-radius: 50%; margin-top: 1px; position: relative; }
.aavq-checks .aavq-opt-mark { border-radius: 2px; }
.aavq-opt.is-on .aavq-opt-mark { background: var(--aavq-accent); border-color: var(--aavq-accent); }
.aavq-opt.is-on .aavq-opt-mark::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.aavq-opt-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.aavq-opt-t { font-weight: 700; line-height: 1.3; color: #000; }
.aavq-opt-d { font-size: 14px; line-height: 1.4; color: var(--aavq-mute); }
.aavq-chips .aavq-opt { padding: 9px 16px; border-radius: 999px; }
.aavq-chips .aavq-opt-mark { display: none; }
.aavq-chips .aavq-opt-t { font-weight: 400; white-space: nowrap; }
.aavq-chips .aavq-opt.is-on { background: #000; }
.aavq-chips .aavq-opt.is-on .aavq-opt-t { color: #fff; }

/* "more options" fold (third-party units) */
.aavq-fold { grid-column: 1 / -1; }
.aavq-fold summary { cursor: pointer; font-size: 14px; color: var(--aavq-mute); padding: 4px 0; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
.aavq-fold summary::-webkit-details-marker { display: none; }
.aavq-fold summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; line-height: 1; }
.aavq-fold[open] summary::before { content: "–"; }
.aavq-fold summary:hover { color: #000; }
.aavq-fold-body { margin-top: 10px; }
.aavq-cards .aavq-fold-body { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* switch */
.aavq-switch-l { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; color: #000; }
.aavq-switch-ui { width: 42px; height: 24px; border-radius: 12px; background: var(--aavq-line); position: relative; transition: background .15s; flex: none; }
.aavq-switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s; }
.aavq-switch-l input:checked + .aavq-switch-ui { background: var(--aavq-accent); }
.aavq-switch-l input:checked + .aavq-switch-ui::after { transform: translateX(18px); }
.aavq-switch-l input:focus-visible + .aavq-switch-ui { outline: 2px solid #000; outline-offset: 2px; }

/* navigation */
.aavq-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--aavq-line); }
.aavq-next { min-width: 180px; }

/* review */
.aavq-sum-block { border-top: 1px solid var(--aavq-line); padding: 18px 0 8px; }
.aavq-sum-head { display: flex; justify-content: space-between; align-items: baseline; }
.aavq-sum-head h3 { font-family: "Vito Wide", sans-serif; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.aavq-sum { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 20px; margin: 0; }
.aavq-sum dt { color: var(--aavq-mute); font-weight: 400; }
.aavq-sum dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.aavq-privacy { margin-top: 26px; }
.aavq-privacy label { display: flex; gap: 10px; align-items: flex-start; }
.aavq-privacy .uk-checkbox { flex: none; margin-top: 3px; }
.aavq-privacy a { color: var(--aavq-accent); }
.aavq-turnstile { margin-top: 18px; }
.aavq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.aavq-fail { margin: 16px 0 0; }
.aavq .aavq-retry { color: inherit; text-decoration: underline; padding: 0; vertical-align: baseline; }
.aavq-thanks { padding: 20px 0 40px; }

@media (max-width: 639px) {
    .aavq-lead { font-size: 16px; margin-bottom: 28px; }
    .aavq-progress-t { display: none; }
    .aavq-progress li.is-current .aavq-progress-t { display: inline; }
    .aavq-progress li.is-current { flex: 4 1 0; }
    .aavq-grid { grid-template-columns: minmax(0, 1fr); }
    .aavq-w-third, .aavq-w-twothirds { grid-column: 1 / -1; }
    .aavq-step-h { font-size: 22px; }
    .aavq-sum { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .aavq-sum dd { margin-bottom: 10px; }
    .aavq-nav .uk-button { padding: 0 18px; }
    .aavq-next { min-width: 0; flex: 1; }
}
