/* The airbag price popup on /car-module-services-brisbane/ (owner 2026-11-19): one big number box with a drop-down of modules, then the price, then Book us.
   Same look as the contact popup (dark panel, orange edge, square corners, square close box). Script: cq-airbag-popup.js */
body.abq-open { overflow: hidden; }
.abq-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2,3,4,.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.abq-modal[hidden] { display: none !important; }
.abq-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(26px, 4.4vw, 46px) clamp(20px, 4.4vw, 46px) clamp(24px, 3.6vw, 38px);
  border: 1px solid rgba(255,146,40,.5);
  background: linear-gradient(135deg, #2a0d03, #111317 46%, #090a0c 100%);
  box-shadow: 0 32px 100px rgba(0,0,0,.72), 0 0 42px rgba(255,100,11,.17);
}
/* while the number is asked the drop-down floats over the background, so the panel itself does not clip or scroll */
.abq-dialog.is-asking { overflow: visible; }
.abq-close {
  position: absolute;
  z-index: 3;
  top: 11px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: rgba(0,0,0,.34);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.abq-close:hover { color: #1a0b02; border-color: #ffc35c; background: #ffc35c; }
.abq-close:focus-visible, .abq-input:focus-visible, .abq-link:focus-visible { outline: 3px solid #ffe6a1; outline-offset: 3px; }
.abq-view[hidden] { display: none !important; }
.abq-title:focus { outline: 0; } /* the script moves focus here for screen readers when the price appears */
.abq-list { scrollbar-width: thin; scrollbar-color: #6a4a28 #101216; }
.abq-dialog .eyebrow { margin: 0 0 14px; }
.abq-title {
  margin: 0 0 20px;
  max-width: 520px;
  font: 700 clamp(32px, 5.4vw, 46px)/1.02 "Barlow Condensed", sans-serif;
  letter-spacing: .01em;
  color: #fff;
}

/* the big number box */
.abq-field { position: relative; }
.abq-input {
  display: block;
  width: 100%;
  height: clamp(66px, 11vw, 86px);
  margin: 0;
  padding: 0 18px;
  border: 2px solid rgba(255,152,48,.72);
  border-radius: 0;
  color: #fff;
  background: rgba(255,255,255,.06);
  font: 700 clamp(26px, 6.2vw, 38px)/1 "Barlow Condensed", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255,133,40,.1) inset, 0 0 30px rgba(255,112,17,.12);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.abq-input::placeholder { color: #6d747d; letter-spacing: .04em; opacity: 1; }
.abq-input:focus { outline: 0; border-color: #ffbd5a; background: rgba(255,113,19,.08); box-shadow: 0 0 0 1px rgba(255,189,90,.4) inset, 0 0 36px rgba(255,122,22,.3); }
.abq-hint { margin: 12px 0 0; color: #aeb4bc; font-size: 14px; line-height: 1.55; }

/* the drop-down of matching modules */
.abq-list {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 4px;
  list-style: none;
  max-height: min(376px, 46svh);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #101216;
  border: 1px solid #4a3a2a;
  box-shadow: 0 22px 54px rgba(0,0,0,.72);
}
.abq-list[hidden] { display: none; }
.abq-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 6px 12px;
  cursor: pointer;
  color: #f4f1eb;
}
.abq-opt-part { min-width: 0; font: 600 clamp(21px, 4.8vw, 25px)/1.1 "Barlow Condensed", sans-serif; letter-spacing: .05em; overflow-wrap: anywhere; }
.abq-opt-part b { color: #ffbd5a; font-weight: 700; }
.abq-opt-brand {
  flex: none;
  padding: 4px 9px;
  border: 1px solid rgba(255,173,74,.4);
  color: #ffbd5a;
  background: rgba(255,173,74,.1);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.abq-opt.is-active, .abq-opt:hover { background: #2a1c10; }
.abq-opt.is-active .abq-opt-part { color: #fff; }
.abq-note { padding: 14px 14px; color: #aeb4bc; font-size: 14px; line-height: 1.5; cursor: default; }
.abq-note b { color: #ffbd5a; }

/* messages and the button */
.abq-msg { min-height: 22px; margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: #c8ccd1; }
.abq-msg.is-error { color: #ff9b86; font-weight: 600; }
.abq-msg.is-ok { color: #ffbd5a; font-weight: 600; }
.abq-go {
  width: 100%;
  min-height: 62px;
  margin-top: 10px;
  font-size: 19px;
  cursor: pointer;
}
.abq-go.is-busy { opacity: .78; cursor: progress; }
/* no part number: send a request instead (owner 2026-11-21) */
.abq-skip { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.abq-skip p { margin: 0 0 12px; color: #c8ccd1; font-size: 14.5px; line-height: 1.55; }
.abq-skip .abq-skip-btn { width: 100%; min-height: 50px; font-size: 16px; cursor: pointer; }
.abq-skip .abq-skip-btn:disabled { opacity: .6; cursor: progress; }
.abq-skip-btn:focus-visible { outline: 3px solid #ffe6a1; outline-offset: 3px; }
.abq-spin {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  border: 3px solid rgba(26,15,5,.25);
  border-top-color: #1a0f05;
  border-radius: 50%;
  vertical-align: -3px;
  animation: abq-turn .9s linear infinite;
}
@keyframes abq-turn { to { transform: rotate(360deg); } }

/* the price */
.abq-module { margin: 0 0 16px; color: #c8ccd1; font-size: 15px; }
.abq-module b { color: #fff; }
.abq-choices { display: grid; gap: 10px; margin: 0 0 16px; }
.abq-choice {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.045);
}
.abq-choice.is-best { border-color: rgba(255,152,48,.85); background: rgba(255,113,19,.1); }
.abq-choice strong { font-size: 16px; color: #fff; }
.abq-choice span { grid-column: 1; color: #aeb4bc; font-size: 13.5px; line-height: 1.45; }
.abq-amount { grid-row: 1 / span 2; grid-column: 2; font: 700 clamp(36px, 7vw, 46px)/1 "Barlow Condensed", sans-serif; color: #ffbd5a; letter-spacing: .01em; }
.abq-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; background: #ff8528; color: #1a0f05; font-size: 10.5px; font-weight: 800; font-style: normal; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.abq-facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.abq-facts li { position: relative; padding-left: 22px; color: #c8ccd1; font-size: 14px; line-height: 1.5; }
.abq-facts li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border: 2px solid var(--orange-bright, #ffad4a); transform: rotate(45deg); }
.abq-actions { display: grid; gap: 12px; }
.abq-actions .button { width: 100%; min-height: 60px; font-size: 19px; text-decoration: none; cursor: pointer; }
.abq-actions .button-ghost { min-height: 50px; font-size: 15px; }
.abq-call { margin: 4px 0 0; text-align: center; color: #c8ccd1; font-size: 14px; }
.abq-call a { color: var(--orange-bright, #ffad4a); font-weight: 700; text-decoration: none; }
.abq-text { margin: 0 0 18px; max-width: 540px; color: #c8ccd1; font-size: 15px; line-height: 1.65; }

@media (max-width: 720px) {
  .abq-modal { align-items: start; padding: 10px; }
  .abq-dialog { max-height: calc(100svh - 20px); }
  .abq-title { padding-right: 34px; }
  .abq-choice { grid-template-columns: 1fr; }
  .abq-amount { grid-row: auto; grid-column: 1; }
  /* long numbers (some Mercedes labels hold three) get the whole width; the make sits under the number */
  .abq-opt { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 9px 12px; }
}
/* short phone screens (320x568 and the like): the "send a request" button must stay on the screen, so the box gets compact and the hint line goes */
@media (max-height: 690px) {
  .abq-dialog { padding-top: 22px; padding-bottom: 18px; }
  .abq-dialog .eyebrow { margin-bottom: 10px; }
  .abq-title { margin-bottom: 14px; font-size: 30px; }
  .abq-input { height: 56px; }
  .abq-msg { min-height: 0; margin-top: 8px; }
  .abq-go { min-height: 54px; margin-top: 8px; }
  .abq-skip { margin-top: 12px; padding-top: 12px; }
  .abq-skip p { margin-bottom: 8px; font-size: 13.5px; line-height: 1.5; }
  .abq-skip .abq-skip-btn { min-height: 46px; }
}
@media (max-height: 600px) {
  .abq-hint { display: none; }
}
/* a phone held sideways: the box scrolls instead of running off the screen */
@media (max-height: 520px) {
  .abq-dialog.is-asking { overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .abq-input { transition: none; }
}
