/* CQ Head Unit Studio — the parts that are new to this page. The shared look (header, buttons, cards, modal, forms, FAQ, dock)
   comes from /dashcam/styles.css, loaded first; this page keeps the cq-dashcam body class so those rules apply. */

/* ---- the real install: a before / after slider (the two photos are aligned on the dash, so the vents, the hazard button and the climate controls stay put) ---- */
.cq-ba-card .cq-ba-hint{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#8e9aab}
.cq-ba{position:relative;aspect-ratio:1/1;overflow:hidden;background:#0b0d10;--ba-pos:50%;touch-action:pan-y;user-select:none}
.cq-ba-layer{position:absolute;inset:0}
.cq-ba-layer img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block}
.cq-ba-before{clip-path:inset(0 calc(100% - var(--ba-pos)) 0 0)}
.cq-ba-tag{position:absolute;top:14px;z-index:3;padding:6px 11px;border-radius:999px;font-size:9px;letter-spacing:1.4px;font-weight:700;background:#090b0ecc;border:1px solid var(--cq-border);backdrop-filter:blur(6px);pointer-events:none}
.cq-ba-tag-before{left:14px;color:#c9d1db}
.cq-ba-tag-after{right:14px;color:var(--cq-bright)}
.cq-ba-handle{position:absolute;top:0;bottom:0;left:var(--ba-pos);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 0 1px #0006;z-index:2;pointer-events:none}
.cq-ba-handle span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--cq-orange);color:#170d05;font-size:20px;font-weight:700;box-shadow:0 6px 22px #0008,0 0 0 6px #f7792033}
.cq-ba-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;z-index:4;-webkit-appearance:none;appearance:none;touch-action:pan-y}
.cq-ba:focus-within{outline:2px solid var(--cq-bright);outline-offset:-2px}

/* ---- from box to dash ---- */
.cq-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;counter-reset:none}
.cq-step{position:relative;padding:22px 4px 0;border-top:2px solid #2a2d33;opacity:.42;transition:opacity .5s,border-color .5s}
.cq-step:before{content:"";position:absolute;left:0;top:-7px;width:12px;height:12px;border-radius:50%;background:#2a2d33;transition:background .5s,box-shadow .5s}
.cq-step.is-lit{opacity:1;border-color:var(--cq-orange)}
.cq-step.is-lit:before{background:var(--cq-orange);box-shadow:0 0 0 6px #f7792022}
.cq-step-num{display:block;font-family:var(--cq-display);font-size:48px;line-height:1;color:var(--cq-orange);letter-spacing:-1px}
.cq-step h3{font-family:var(--cq-display);font-size:25px;margin:10px 0 8px}
.cq-step p{font-size:12px;line-height:1.8;color:#a6b0be}

/* ---- cards, options, estimate ---- */
.cq-photo-ph-button{background:#171a1f!important}
.cq-photo-ph{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:6px;text-align:center;padding:14px;color:#8d96a2;background:repeating-linear-gradient(135deg,#1b1e23 0 12px,#15181c 12px 24px)}
.cq-photo-ph svg{width:34px!important;height:34px!important;color:#59616b}
.cq-photo-ph strong{font-size:12px;font-weight:600;color:#c3cad3}
.cq-photo-ph small{font-size:10px;color:#7d8793}
.cq-detail-ph{background:#171a1f}
.cq-card-price .cq-soon{font-family:var(--cq-font)!important;font-size:21px!important;font-weight:600;letter-spacing:-.3px;color:#ffb071;line-height:1.2}
.cq-modal-sub{font-size:14px;margin:22px 0 8px;font-weight:600}
.cq-options{display:grid;gap:12px}
.cq-option{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;padding:16px;border:1px solid #2a2d33;border-radius:8px;background:#101216;cursor:pointer;transition:border-color .2s,background .2s}
.cq-option:hover{border-color:#58606d}
.cq-option.is-on{border-color:#d97a35;background:#1a1510}
.cq-option input{accent-color:var(--cq-orange);width:18px;height:18px;margin:2px 0 0}
.cq-opt-copy strong{display:block;font-size:13px;font-weight:600}
.cq-opt-copy small{display:block;font-size:11px;line-height:1.7;color:#97a1ad;margin-top:3px}
.cq-opt-price{font-size:11px;color:#ffb071;white-space:nowrap;padding-top:2px}
.cq-price-soon-total{font-size:21px!important;line-height:1.15!important;max-width:150px;text-align:right;letter-spacing:-.3px!important;color:#ffb071;white-space:normal!important}
.cq-enquiry-summary>div{flex:1;min-width:0}
.cq-enquiry-summary label{display:block;font-size:9px;letter-spacing:.9px;text-transform:uppercase;color:#aa9d90;margin-bottom:7px}
.cq-enquiry-summary select{width:100%;min-height:44px;font-size:13px;margin-bottom:2px}
.cq-cross-tile{display:grid;grid-template-columns:26px 1fr;gap:6px 12px;padding:22px;border:1px solid #2a2d33;border-radius:8px;background:#101216;transition:border-color .2s,background .2s;max-width:420px}
.cq-cross-tile:hover{border-color:#75513a;background:#171311}
.cq-cross-tile strong{font-size:15px;font-weight:600}
.cq-cross-tile>span:last-child{grid-column:2;font-size:11px;color:#a6b0be}

@media(max-width:980px){
  .cq-steps{grid-template-columns:1fr;gap:0;border-left:2px solid #2a2d33;margin-left:6px}
  .cq-step{border-top:0;padding:0 0 28px 26px;opacity:.5}
  .cq-step:before{left:-8px;top:6px}
  .cq-step.is-lit{border-color:transparent}
}
@media(max-width:620px){
  /* "From box to dash" (the five stages) the "Not an extra. Part of the install." box and the "Fit both. Take 10% off the whole bill." banner are not shown on a phone; a computer keeps all three (owner, 2026-10-25) */
  .cq-dashcam #process,.cq-headunit .cq-included-card,.cq-headunit .cq-promo-wrap[data-bundle-ui]{display:none}
  .cq-headunit .cq-enquiry-summary{flex-direction:column;align-items:stretch;gap:12px}
  .cq-headunit .cq-enquiry-summary>span{text-align:left;max-width:none}
  .cq-ba{aspect-ratio:4/5}
  .cq-ba-layer img{object-position:50% 50%}
  .cq-ba-handle span{width:40px;height:40px;font-size:17px}
  .cq-headunit .cq-dock-price strong{font-size:15px;line-height:1.2;white-space:normal;max-width:105px;text-align:right}
  .cq-headunit .cq-dock-plan small{display:none}
  .cq-headunit .cq-dock-plan{max-width:96px}
  .cq-option{padding:14px;gap:12px}
}
@media(prefers-reduced-motion:reduce){
  .cq-step,.cq-step:before{transition:none}
}
/* ---- a package with a base price: choices (memory, camera) and the vehicle type ---- */
.cq-fixed-note{display:block;padding:16px;border:1px solid #d97a35;border-radius:8px;background:#1a1510}
.cq-fixed-note strong{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.cq-fixed-note small{display:block;color:#a8aeb6;font-size:11px;line-height:1.7}
/* the setups sit in the same slider as the dashcam packages: three across on a computer, swipe on a phone */
.cq-price-from{font-style:normal;font-size:10px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:#ffad4a;align-self:flex-end;margin:0 6px 9px 0}
.cq-inclusions li.cq-lead{color:#ffbd5a;font-weight:600}
.cq-reco-tag{display:inline-flex;vertical-align:middle;align-items:center;height:18px;line-height:1;margin:0;padding:0 9px;border-radius:999px;background:linear-gradient(135deg,#ffbd5a,#f27620);color:#1a0b03;font-size:9px;font-style:normal;font-weight:800;letter-spacing:1.1px}
.cq-opt-copy .cq-reco-tag + strong{margin-top:9px}
.cq-choice-hint{margin:0;font-size:11px;line-height:1.7;color:#8f99a6}
.cq-choice-title{margin:8px 0 -2px;font-size:10px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:#ffad4a}
.cq-choice-title:first-child{margin-top:0}
.cq-price-note{margin:-4px 0 14px;font-size:10px;line-height:1.7;color:#8f99a6}
.cq-dashcam .cq-option input[type=radio]{width:18px;height:18px;min-height:0;padding:0;border:0;background:none;border-radius:50%;accent-color:var(--cq-orange);margin:2px 0 0}
/* the CQ RECOMMENDS tag and the round button sit on one line and share a centre line (owner, 2026-10-25) */
.cq-dashcam .cq-option:has(.cq-reco-tag) input[type=radio]{vertical-align:middle;margin:0 10px 0 0}
#hu-vehicle-wrap{margin-top:22px}
#hu-vehicle-options{grid-template-columns:repeat(6,1fr)}
#hu-vehicle-options button{grid-column:span 2}
#hu-vehicle-options button:nth-child(n+4){grid-column:span 3}
/* optional photos of the dashboard in the enquiry (owner, 2026-10-25) */
.cq-photo-field{display:grid;gap:8px}
.cq-dashcam .cq-photo-field input[type=file]{width:100%;min-height:0;padding:10px;border:1px dashed #6c4a2b;border-radius:6px;background:#1a1410;color:#d7dce2;font-size:13px}
.cq-photo-field input[type=file]::file-selector-button{margin-right:12px;padding:9px 14px;border:0;border-radius:6px;background:linear-gradient(135deg,#ffbd5a,#f27620);color:#1a0b03;font-weight:700;cursor:pointer}
.cq-photo-field small{font-size:11px;line-height:1.65;color:#97a1ad}
.cq-photo-previews{display:flex;flex-wrap:wrap;gap:12px;margin-top:2px}
.cq-photo-chip{position:relative;width:84px;height:84px;border:1px solid #4a3626;border-radius:6px;background:#0d0a07}
.cq-photo-chip img{display:block;width:100%;height:100%;object-fit:cover;border-radius:5px}
.cq-photo-chip button{position:absolute;top:-9px;right:-9px;width:26px;height:26px;min-height:0;padding:0;border-radius:50%;border:1px solid #777;background:#000;color:#fff;font-size:16px;line-height:1;display:grid;place-items:center;cursor:pointer}
