/* ============================================================
   CA AUTOBODY — HOMEPAGE REDESIGN
   Header/footer are intentionally owned by the active theme.
   Homepage body uses Raleway to match CA Autobody.
   Everything is scoped under .cahx9-autobody-home-root to minimise theme conflicts.
   ============================================================ */

.cahx9-autobody-home-root {
  --cahx9-black: #050505;
  --cahx9-ink: #151515;
  --cahx9-body: #595959;
  --cahx9-gold: #b7832f;
  --cahx9-gold-dark: #8f641f;
  --cahx9-gold-soft: #c8a260;
  --cahx9-paper: #f6f5f2;
  --cahx9-white: #ffffff;
  --cahx9-line: #ded9cf;
  --cahx9-shell: 1440px;
  --cahx9-pad: clamp(20px, 4.1vw, 72px);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: clip;
  color: var(--cahx9-ink);
  background: var(--cahx9-white);
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

.cahx9-autobody-home-root *,
.cahx9-autobody-home-root *::before,
.cahx9-autobody-home-root *::after { box-sizing: border-box; }

.cahx9-autobody-home-root img { display: block; max-width: 100%; }
.cahx9-autobody-home-root a { color: inherit; text-decoration: none; }
.cahx9-autobody-home-root button,
.cahx9-autobody-home-root input,
.cahx9-autobody-home-root textarea { font: inherit; }
.cahx9-autobody-home-root button { appearance: none; -webkit-appearance: none; border-radius: 0; box-shadow: none; text-transform: none; }

.cahx9-r-shell {
  width: min(100%, var(--cahx9-shell));
  margin-inline: auto;
  padding-inline: var(--cahx9-pad);
}

.cahx9-r-kicker {
  margin: 0 0 13px;
  color: var(--cahx9-gold-dark);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.cahx9-r-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.cahx9-r-btn:hover { transform: translateY(-2px); }
.cahx9-r-btn--gold { background: var(--cahx9-gold); color: var(--cahx9-white) !important; border-color: var(--cahx9-gold); }
.cahx9-r-btn--gold:hover { background: var(--cahx9-gold-dark); border-color: var(--cahx9-gold-dark); }
.cahx9-r-btn--outline { background: transparent; color: var(--cahx9-ink) !important; border-color: var(--cahx9-gold-soft); }
.cahx9-r-btn--outline:hover { background: var(--cahx9-ink); color: var(--cahx9-white) !important; border-color: var(--cahx9-ink); }
.cahx9-r-text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; padding-bottom: 5px; border-bottom: 1px solid var(--cahx9-gold); color: var(--cahx9-ink) !important; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }

/* HERO — closely follows the supplied reference while preserving CA Autobody's existing message */
.cahx9-r-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #f7f7f5;
  border-bottom: 1px solid #ded9cf;
}

.cahx9-r-hero__wash {
  position: absolute;
  inset: 0;
  z-index: -4;
  background: #f4f4f1;
}

.cahx9-r-hero::before {
  content: "CA";
  position: absolute;
  z-index: -3;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  color: rgba(183, 131, 47, .045);
  font-size: clamp(180px, 25vw, 390px);
  font-weight: 800;
  letter-spacing: -.12em;
  line-height: .78;
  pointer-events: none;
}

.cahx9-r-hero__vehicle {
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  width: min(24vw, 360px);
  overflow: hidden;
  pointer-events: none;
}

.cahx9-r-hero__vehicle--left { left: 0; }
.cahx9-r-hero__vehicle--right { right: 0; }

.cahx9-r-hero__vehicle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .98;
}

.cahx9-r-hero__vehicle--left img { object-position: right center; }
.cahx9-r-hero__vehicle--right img { object-position: left center; }

.cahx9-r-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 970px);
  padding-top: clamp(62px, 6vw, 88px);
  padding-bottom: clamp(66px, 6vw, 90px);
  text-align: center;
}

.cahx9-r-hero .cahx9-r-kicker {
  margin-bottom: 14px;
  color: var(--cahx9-gold-dark);
  font-size: clamp(10px, .9vw, 13px);
  letter-spacing: .25em;
}

.cahx9-r-hero h2 {
  max-width: 900px;
  margin: 0 auto 18px;
  color: var(--cahx9-black);
  font-size: clamp(42px, 4.55vw, 70px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.052em;
  text-transform: uppercase;
}

.cahx9-r-hero h2 span {
  display: block;
  margin-top: 8px;
  color: var(--cahx9-gold);
}

.cahx9-r-hero__lead {
  max-width: 720px;
  margin: 0 auto 25px;
  color: #252525;
  font-size: clamp(13px, 1.08vw, 16px);
  line-height: 1.55;
  font-weight: 500;
}

.cahx9-r-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cahx9-r-hero__actions .cahx9-r-btn {
  min-width: 230px;
  min-height: 54px;
  box-shadow: 0 8px 22px rgba(143, 100, 31, .13);
}

.cahx9-r-hero__call {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(143,100,31,.48);
  color: #151515 !important;
  font-size: 13px;
  font-weight: 700;
  transition: color .2s ease, border-color .2s ease;
}

.cahx9-r-hero__call:hover {
  color: var(--cahx9-gold-dark) !important;
  border-color: var(--cahx9-gold-dark);
}

.cahx9-r-hero__call-icon {
  color: var(--cahx9-gold);
  font-size: 17px;
}

.cahx9-r-hero__rule {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(calc(100% - (var(--cahx9-pad) * 2)), 980px);
  height: 1px;
  transform: translateX(-50%);
  background: var(--cahx9-gold-soft);
  opacity: .58;
}


/* INTRO */
.cahx9-r-intro { padding: clamp(72px, 8vw, 118px) 0 44px; background: var(--cahx9-white); }
.cahx9-r-intro__inner { max-width: 1050px; text-align: center; }
.cahx9-r-intro h1 {
  margin: 0 auto 23px;
  max-width: 920px;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -.04em;
}
.cahx9-r-intro p:not(.cahx9-r-kicker) { max-width: 920px; margin: 0 auto 15px; color: var(--cahx9-body); font-size: 14px; line-height: 1.85; }

/* BRANDS */
.cahx9-r-brands { padding: 28px 0 clamp(76px, 8vw, 116px); background: var(--cahx9-white); }
.cahx9-r-brand-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--cahx9-line); border-left: 1px solid var(--cahx9-line); }
.cahx9-r-brand-grid > div { min-height: 112px; display: grid; place-items: center; padding: 20px 14px; border-right: 1px solid var(--cahx9-line); border-bottom: 1px solid var(--cahx9-line); background: #fff; }
.cahx9-r-brand-grid img { width: 100%; max-width: 98px; max-height: 58px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease, transform .2s ease; }
.cahx9-r-brand-grid > div:hover img { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }

/* SERVICES — original six-service layout, now a true content carousel */
.cahx9-r-services {
  padding: 0 0 clamp(84px, 8vw, 124px);
  background: transparent;
}

.cahx9-r-services__frame {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: 620px;
  background: transparent;
}

.cahx9-r-services__nav {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  align-self: stretch;
  background: rgba(4, 4, 4, .96);
  border: 1px solid #171717;
  border-right: 0;
}

.cahx9-r-service-tab {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr 26px;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  padding: 19px 24px 19px 26px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}
.cahx9-r-service-tab:last-child { border-bottom: 0; }
.cahx9-r-service-tab span {
  align-self: start;
  padding-top: 2px;
  color: #d7b270;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}
.cahx9-r-service-tab strong {
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .015em;
}
.cahx9-r-service-tab b {
  color: #c8a260;
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
  text-align: right;
  opacity: .72;
  transition: transform .2s ease, opacity .2s ease;
}
.cahx9-r-service-tab:hover,
.cahx9-r-service-tab.is-active {
  background: rgba(17,17,17,.98);
  color: #fff;
  padding-left: 31px;
}
.cahx9-r-service-tab:hover b,
.cahx9-r-service-tab.is-active b { transform: translateX(4px); opacity: 1; }
.cahx9-r-service-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 32px;
  transform: translateY(-50%);
  background: var(--cahx9-gold);
}

.cahx9-r-service-stage {
  position: relative;
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
  background: #111;
  border: 1px solid #171717;
}

.cahx9-r-service-stage__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #151515;
}
.cahx9-r-service-stage__media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: opacity .34s ease, transform .7s cubic-bezier(.2,.65,.2,1);
}
.cahx9-r-service-stage:hover .cahx9-r-service-stage__media img { transform: scale(1.018); }
.cahx9-r-service-stage.is-changing .cahx9-r-service-stage__media img { opacity: .12; transform: scale(1.025); }

.cahx9-r-service-card {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 76px;
  width: min(47%, 510px);
  padding: 36px 38px 38px;
  background: rgba(5,5,5,.93);
  color: #fff;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: opacity .22s ease, transform .22s ease;
}
.cahx9-r-service-stage.is-changing .cahx9-r-service-card { opacity: .08; transform: translateY(8px); }
.cahx9-r-service-card__topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  color: #d9b575;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.cahx9-r-service-card__topline span:first-child {
  padding-right: 12px;
  border-right: 1px solid rgba(216,181,117,.42);
}
.cahx9-r-service-card h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(27px, 3vw, 45px);
  line-height: 1;
  font-weight: 750;
  letter-spacing: -.035em;
}
.cahx9-r-service-card p {
  margin: 0;
  color: rgba(255,255,255,.77);
  font-size: 13px;
  line-height: 1.72;
}
.cahx9-r-service-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.cahx9-r-service-card .cahx9-r-btn { min-width: 154px; min-height: 48px; padding-inline: 20px; }
.cahx9-r-service-book {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0 7px;
  border-bottom: 1px solid rgba(200,162,96,.7);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.cahx9-r-service-book:hover { color: #d7b270 !important; }

.cahx9-r-service-controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 62px minmax(90px, 1fr) auto 62px;
  align-items: center;
  gap: 17px;
  padding: 0 20px;
  background: rgba(5,5,5,.92);
  border-top: 1px solid rgba(255,255,255,.12);
  color: #fff;
}
.cahx9-r-service-control {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(200,162,96,.68);
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.cahx9-r-service-control:hover { background: var(--cahx9-gold); border-color: var(--cahx9-gold); color: #fff; }
.cahx9-r-service-progress {
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,.22);
}
.cahx9-r-service-progress span {
  display: block;
  width: 16.666%;
  height: 100%;
  background: var(--cahx9-gold-soft);
  transition: width .3s ease;
}
.cahx9-r-service-count {
  color: rgba(255,255,255,.58);
  font-size: 10px;
  letter-spacing: .12em;
}
.cahx9-r-service-count strong { color: #fff; font-weight: 700; }


/* ZEEKR */
.cahx9-r-zeekr { padding: clamp(86px, 9vw, 132px) 0; background: var(--cahx9-paper); }
.cahx9-r-zeekr__grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(50px, 7vw, 110px); align-items: center; }
.cahx9-r-zeekr__media { position: relative; min-height: 720px; background: #ddd; }
.cahx9-r-zeekr__media img { width: 100%; height: 100%; min-height: 720px; object-fit: cover; }
.cahx9-r-zeekr__media span { position: absolute; left: 0; bottom: 0; padding: 16px 20px; background: var(--cahx9-black); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cahx9-r-zeekr__copy h2 { margin: 0 0 28px; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.03; letter-spacing: -.045em; }
.cahx9-r-zeekr__copy p:not(.cahx9-r-kicker) { margin: 0 0 18px; color: var(--cahx9-body); font-size: 14px; line-height: 1.82; }
.cahx9-r-zeekr__copy p:last-child { margin-bottom: 0; color: var(--cahx9-ink); font-weight: 600; }

/* ACCIDENT / MAP */
.cahx9-r-contact { padding: clamp(86px, 9vw, 128px) 0; background: #fff; }
.cahx9-r-contact__head { max-width: 1040px; margin-bottom: 42px; }
.cahx9-r-contact__head h2 { margin: 0 0 20px; max-width: 980px; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.03; letter-spacing: -.045em; }
.cahx9-r-contact__head > p:not(.cahx9-r-kicker) { max-width: 950px; margin: 0; color: var(--cahx9-body); font-size: 14px; line-height: 1.82; }
.cahx9-r-contact__bar { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 24px 28px; border: 1px solid var(--cahx9-line); border-bottom: 0; background: var(--cahx9-paper); }
.cahx9-r-contact__bar > div:first-child { display: grid; gap: 2px; }
.cahx9-r-contact__bar strong { font-size: 18px; }
.cahx9-r-contact__bar span { color: var(--cahx9-body); font-size: 12px; }
.cahx9-r-contact__actions { display: flex; gap: 10px; }
.cahx9-r-map { position: relative; height: 440px; border: 1px solid var(--cahx9-line); background: #e9e7e2; }
.cahx9-r-map iframe { width: 100%; height: 100%; border: 0; filter: none !important; }

/* EXISTING GALLERY STRIP */
.cahx9-r-gallery { background: var(--cahx9-black); }
.cahx9-r-gallery__grid { display: grid; grid-template-columns: .8fr 1.45fr .9fr; height: 460px; }
.cahx9-r-gallery figure { margin: 0; min-width: 0; overflow: hidden; border-right: 1px solid rgba(255,255,255,.18); }
.cahx9-r-gallery figure:last-child { border-right: 0; }
.cahx9-r-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .3s ease; }
.cahx9-r-gallery__a img { object-position: center; }
.cahx9-r-gallery__b img { object-position: center; }
.cahx9-r-gallery__c img { object-position: center; filter: grayscale(1); }
.cahx9-r-gallery figure:hover img { transform: scale(1.025); }
.cahx9-r-gallery__c:hover img { filter: grayscale(0); }

/* INSURERS */
.cahx9-r-insurers { padding: 58px 0 66px; background: var(--cahx9-paper); border-bottom: 1px solid var(--cahx9-line); }
.cahx9-r-insurers__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--cahx9-line); border: 1px solid var(--cahx9-line); }
.cahx9-r-insurers__grid > div { min-height: 100px; display: grid; place-items: center; padding: 18px; background: #fff; }
.cahx9-r-insurers__grid img { width: 100%; max-width: 112px; max-height: 52px; object-fit: contain; filter: grayscale(1); opacity: .77; transition: filter .2s ease, opacity .2s ease, transform .2s ease; }
.cahx9-r-insurers__grid > div:hover img { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }

/* MOTION */
@media (prefers-reduced-motion: no-preference) {
  .cahx9-autobody-home-root .cahx9-r-intro__inner,
  .cahx9-autobody-home-root .cahx9-r-brand-grid,
  .cahx9-autobody-home-root .cahx9-r-services__frame,
  .cahx9-autobody-home-root .cahx9-r-zeekr__grid,
  .cahx9-autobody-home-root .cahx9-r-contact__head,
  .cahx9-autobody-home-root .cahx9-r-contact__bar,
  .cahx9-autobody-home-root .cahx9-r-map,
  .cahx9-autobody-home-root .cahx9-r-gallery__grid,
  .cahx9-autobody-home-root .cahx9-r-insurers__grid {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .58s ease, transform .58s ease;
  }
  .cahx9-autobody-home-root .is-visible { opacity: 1; transform: none; }
}

/* TABLET */
@media (max-width: 1100px) {
  .cahx9-r-hero { min-height: 530px; }
  .cahx9-r-hero__vehicle { width: min(25vw, 290px); }
  .cahx9-r-brand-grid { grid-template-columns: repeat(4, 1fr); }
  .cahx9-r-services__frame { grid-template-columns: 300px minmax(0, 1fr); min-height: 570px; }
  .cahx9-r-service-tab { min-height: 88px; padding-inline: 20px; }
  .cahx9-r-service-stage,
  .cahx9-r-service-stage__media img { min-height: 570px; }
  .cahx9-r-service-card { width: min(54%, 470px); padding: 30px; }
  .cahx9-r-zeekr__grid { gap: 52px; }
  .cahx9-r-zeekr__media,
  .cahx9-r-zeekr__media img { min-height: 620px; }
  .cahx9-r-gallery__grid { height: 390px; }
  .cahx9-r-insurers__grid { grid-template-columns: repeat(5, 1fr); }
}

/* MOBILE + SMALL TABLET */
@media (max-width: 780px) {
  .cahx9-autobody-home-root { --cahx9-pad: 20px; }
  .cahx9-r-kicker { letter-spacing: .18em; }

  .cahx9-r-hero { min-height: 590px; align-items: end; }
  .cahx9-r-hero__wash { background: #f4f4f1; }
  .cahx9-r-hero::before { top: 54%; font-size: 175px; }
  .cahx9-r-hero__vehicle { top: 0; bottom: auto; width: 52%; height: 235px; opacity: .86; }
  .cahx9-r-hero__vehicle--left { left: -9%; }
  .cahx9-r-hero__vehicle--right { right: -9%; }
  .cahx9-r-hero__content { padding-top: 265px; padding-bottom: 52px; }
  .cahx9-r-hero h2 { font-size: clamp(34px, 10vw, 50px); }
  .cahx9-r-hero__lead { max-width: 540px; font-size: 13px; }
  .cahx9-r-hero__actions { display: grid; grid-template-columns: 1fr; width: min(100%, 350px); margin-inline: auto; gap: 14px; }
  .cahx9-r-hero__call { justify-content: center; border: 0; }

  .cahx9-r-intro { padding-top: 72px; }
  .cahx9-r-intro h1 { font-size: clamp(34px, 9vw, 48px); }
  .cahx9-r-intro p:not(.cahx9-r-kicker) { font-size: 13px; }

  .cahx9-r-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .cahx9-r-brand-grid > div { min-height: 96px; }

  .cahx9-r-services__frame { display: block; min-height: 0; }
  .cahx9-r-services__nav { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 1px solid #171717; border-bottom: 0; }
  .cahx9-r-service-tab { min-height: 82px; padding: 14px 14px; grid-template-columns: 28px 1fr 18px; }
  .cahx9-r-service-tab:hover,
  .cahx9-r-service-tab.is-active { padding-left: 17px; }
  .cahx9-r-service-tab:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .cahx9-r-service-tab b { font-size: 22px; }
  .cahx9-r-service-tab.is-active::after { width: 3px; height: 28px; }
  .cahx9-r-service-stage { min-height: 600px; }
  .cahx9-r-service-stage__media { position: relative; height: 340px; }
  .cahx9-r-service-stage__media img { min-height: 340px; height: 340px; }
  .cahx9-r-service-card { position: relative; right: auto; bottom: auto; width: 100%; min-height: 230px; padding: 26px 22px 94px; background: #090909; backdrop-filter: none; }
  .cahx9-r-service-card h2 { font-size: clamp(27px, 8vw, 38px); }
  .cahx9-r-service-card__actions { gap: 18px; }
  .cahx9-r-service-controls { min-height: 68px; grid-template-columns: 50px minmax(50px,1fr) auto 50px; gap: 10px; padding-inline: 10px; }
  .cahx9-r-service-control { width: 40px; height: 40px; }

  .cahx9-r-zeekr__grid { grid-template-columns: 1fr; gap: 44px; }
  .cahx9-r-zeekr__media,
  .cahx9-r-zeekr__media img { min-height: 420px; }
  .cahx9-r-zeekr__copy h2 { font-size: clamp(34px, 9vw, 48px); }

  .cahx9-r-contact__head h2 { font-size: clamp(34px, 9vw, 48px); }
  .cahx9-r-contact__bar { align-items: stretch; flex-direction: column; gap: 20px; }
  .cahx9-r-contact__actions { display: grid; grid-template-columns: 1fr; }
  .cahx9-r-map { height: 360px; }

  .cahx9-r-gallery__grid { grid-template-columns: 1fr; height: auto; }
  .cahx9-r-gallery figure { height: 280px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .cahx9-r-gallery figure:last-child { border-bottom: 0; }

  .cahx9-r-insurers { padding: 32px 0 42px; }
  .cahx9-r-insurers__grid { grid-template-columns: repeat(2, 1fr); }
  .cahx9-r-insurers__grid > div { min-height: 88px; }
}

@media (max-width: 430px) {
  .cahx9-r-service-tab strong { font-size: 10px; }
  .cahx9-r-service-tab { grid-template-columns: 24px 1fr 14px; gap: 8px; padding-inline: 10px; }
  .cahx9-r-service-card__actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .cahx9-r-service-book { align-self: flex-start; }
  .cahx9-r-brand-grid img { max-width: 82px; max-height: 48px; }
  .cahx9-r-insurers__grid img { max-width: 94px; }
}

/* === REFERENCE HERO + WORKSHOP CAROUSEL UPDATE === */
.cahx9-autobody-home-root .cahx9-r-hero {
  position: relative;
  min-height: 0;
  display: block;
  overflow: hidden;
  isolation: isolate;
  padding: 48px 0 10px;
  background: #f8f8f6;
  border: 0;
}
.cahx9-autobody-home-root .cahx9-r-hero::before {
  content: "CA";
  position: absolute;
  z-index: -3;
  left: 50%; top: 48%;
  transform: translate(-50%,-50%);
  color: rgba(179,126,42,.035);
  font-size: clamp(190px,24vw,360px);
  font-weight: 800;
  line-height: .75;
  letter-spacing: -.12em;
}
.cahx9-autobody-home-root .cahx9-r-hero__vehicle { position:absolute; z-index:-1; top:0; bottom:0; width:min(24vw,360px); pointer-events:none; }
.cahx9-autobody-home-root .cahx9-r-hero__vehicle--left { left:0; }
.cahx9-autobody-home-root .cahx9-r-hero__vehicle--right { right:0; }
.cahx9-autobody-home-root .cahx9-r-hero__vehicle img { width:100%; height:100%; object-fit:cover; opacity:1; }
.cahx9-autobody-home-root .cahx9-r-hero__vehicle--left img { object-position:right center; }
.cahx9-autobody-home-root .cahx9-r-hero__vehicle--right img { object-position:left center; }
.cahx9-autobody-home-root .cahx9-r-hero__content { position:relative; z-index:2; width:min(100%,990px); padding:0 var(--cahx9-pad); text-align:center; }
.cahx9-autobody-home-root .cahx9-r-hero__eyebrow { margin:0 0 11px; color:#9c6b22; font-size:13px; line-height:1.2; font-weight:700; letter-spacing:.23em; text-transform:uppercase; }
.cahx9-autobody-home-root .cahx9-r-hero h2 { max-width:940px; margin:0 auto; color:#060606; font-size:clamp(35px,3.6vw,58px); line-height:.98; font-weight:800; letter-spacing:-.045em; text-transform:uppercase; }
.cahx9-autobody-home-root .cahx9-r-hero h2 span { display:block; margin-top:7px; color:#ad7928; }
.cahx9-autobody-home-root .cahx9-r-hero__lead { max-width:760px; margin:14px auto 17px; color:#202020; font-size:14px; line-height:1.55; font-weight:500; }
.cahx9-autobody-home-root .cahx9-r-hero__quote { min-width:255px; min-height:50px; display:inline-flex; align-items:center; justify-content:center; gap:18px; padding:0 28px; background:#b77e27; color:#fff !important; font-size:14px; font-weight:700; text-decoration:none; border:1px solid #b77e27; border-radius:0; transition:background .2s ease,border-color .2s ease; }
.cahx9-autobody-home-root .cahx9-r-hero__quote:hover { background:#97651b; border-color:#97651b; }
.cahx9-autobody-home-root .cahx9-r-hero-brands { width:min(100%,840px); margin:18px auto 0; display:grid; grid-template-columns:repeat(7,1fr); align-items:center; column-gap:25px; row-gap:10px; }
.cahx9-autobody-home-root .cahx9-r-hero-brands > div { height:48px; display:grid; place-items:center; min-width:0; }
.cahx9-autobody-home-root .cahx9-r-hero-brands img { width:auto; max-width:82px; max-height:43px; object-fit:contain; filter:grayscale(1); opacity:.88; }
.cahx9-autobody-home-root .cahx9-r-hero__makes { width:min(100%,960px); margin:14px auto 0; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:15px; color:#222; }
.cahx9-autobody-home-root .cahx9-r-hero__makes span { height:1px; background:#d3b075; }
.cahx9-autobody-home-root .cahx9-r-hero__makes strong { font-size:11px; line-height:1.2; font-weight:600; letter-spacing:.23em; text-transform:uppercase; white-space:nowrap; }

.cahx9-autobody-home-root .cahx9-r-proof { background:#fff; border:0; }
.cahx9-autobody-home-root .cahx9-r-proof__grid { display:grid; grid-template-columns:repeat(4,1fr); padding:24px var(--cahx9-pad) 25px; }
.cahx9-autobody-home-root .cahx9-r-proof__item { min-height:108px; display:flex; align-items:center; gap:18px; padding:0 24px; border-right:1px solid #d7d4ce; }
.cahx9-autobody-home-root .cahx9-r-proof__item:first-child { padding-left:0; }
.cahx9-autobody-home-root .cahx9-r-proof__item:last-child { border-right:0; padding-right:0; }
.cahx9-autobody-home-root .cahx9-r-proof__item strong,.cahx9-autobody-home-root .cahx9-r-proof__item b { display:block; color:#090909; font-size:14px; line-height:1.25; font-weight:800; text-transform:uppercase; }
.cahx9-autobody-home-root .cahx9-r-proof__big { font-size:31px !important; letter-spacing:-.04em; }
.cahx9-autobody-home-root .cahx9-r-proof__item p { margin:6px 0 0; color:#252525; font-size:11px; line-height:1.45; font-weight:500; }
.cahx9-autobody-home-root .cahx9-r-proof__google { flex:0 0 auto; width:68px; display:grid; place-items:center; }
.cahx9-autobody-home-root .cahx9-r-proof__google img {
  display:block;
  width:58px;
  height:58px;
  object-fit:contain;
}
.cahx9-autobody-home-root .cahx9-r-proof__stars { margin-top:5px; color:#efb11e; font-size:18px; letter-spacing:1px; white-space:nowrap; }
.cahx9-autobody-home-root .cahx9-r-proof__icon { flex:0 0 auto; width:56px; color:#ac7626; }
.cahx9-autobody-home-root .cahx9-r-proof__icon svg { width:100%; height:auto; fill:none; stroke:currentColor; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.cahx9-autobody-home-root .cahx9-r-proof__icon--pin { width:52px; }
.cahx9-autobody-home-root .cahx9-r-proof__copy { width:100%; }
.cahx9-autobody-home-root .cahx9-r-proof__ev { display:flex; align-items:center; gap:17px; margin-top:8px; color:#111; font-size:10px; font-weight:700; letter-spacing:.24em; }
.cahx9-autobody-home-root .cahx9-r-proof__zeekr { padding-left:15px; border-left:1px solid #bbb; }

.cahx9-autobody-home-root .cahx9-r-why { padding:14px 0 13px; background:#050505; color:#fff; }
.cahx9-autobody-home-root .cahx9-r-why__inner { text-align:center; }
.cahx9-autobody-home-root .cahx9-r-why__title { display:grid; grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr); align-items:center; gap:18px; width:min(100%,850px); margin:0 auto; }
.cahx9-autobody-home-root .cahx9-r-why__title span { height:1px; background:#b47c2a; }
.cahx9-autobody-home-root .cahx9-r-why__title h2 { margin:0; color:#c18a39; font-size:20px; line-height:1.1; font-weight:700; letter-spacing:.075em; text-transform:uppercase; }
.cahx9-autobody-home-root .cahx9-r-why__values { margin:9px 0 0; color:#fff; font-size:11px; line-height:1.2; font-weight:500; letter-spacing:.21em; text-transform:uppercase; }
.cahx9-autobody-home-root .cahx9-r-why__values i { margin:0 10px; color:#b47c2a; font-style:normal; }
.cahx9-autobody-home-root .cahx9-r-why__copy { margin:10px auto 0; color:#e7e7e7; font-size:12px; line-height:1.55; font-weight:400; }

.cahx9-autobody-home-root .cahx9-r-hero-cta { background:#fff; padding:10px 0 0; }
.cahx9-autobody-home-root .cahx9-r-hero-cta__inner { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:30px; padding:10px 20px; border:1px solid #d7d1c7; background:#fbfaf8; }
.cahx9-autobody-home-root .cahx9-r-hero-cta__message { display:flex; align-items:center; gap:14px; }
.cahx9-autobody-home-root .cahx9-r-hero-cta__phone { width:48px; height:48px; display:grid; place-items:center; flex:0 0 auto; background:#050505; color:#fff; border-radius:50%; font-size:22px; }
.cahx9-autobody-home-root .cahx9-r-hero-cta__message strong { display:block; color:#090909; font-size:14px; font-weight:800; }
.cahx9-autobody-home-root .cahx9-r-hero-cta__message p { margin:3px 0 0; color:#333; font-size:11px; }
.cahx9-autobody-home-root .cahx9-r-hero-cta__actions { display:flex; gap:12px; }
.cahx9-autobody-home-root .cahx9-r-hero-cta__actions a { min-height:49px; display:inline-flex; align-items:center; justify-content:center; gap:14px; padding:0 28px; font-size:13px; font-weight:700; text-decoration:none; border-radius:0; white-space:nowrap; }
.cahx9-autobody-home-root .cahx9-r-hero-cta__call { background:#b77e27; border:1px solid #b77e27; color:#fff !important; }
.cahx9-autobody-home-root .cahx9-r-hero-cta__quote { background:#fff; border:1px solid #b77e27; color:#8d5d19 !important; }

/* The old logo section is integrated into the hero now. */
.cahx9-autobody-home-root .cahx9-r-brands { display:none !important; }

/* Workshop image strip -> real carousel */
.cahx9-autobody-home-root .cahx9-r-gallery { position:relative; padding:0; background:#fff; overflow:hidden; }
.cahx9-autobody-home-root .cahx9-r-gallery__viewport { position:relative; width:100%; overflow:hidden; background:#f5f4f1; }
.cahx9-autobody-home-root .cahx9-r-gallery__track { display:flex; width:100%; height:460px; will-change:transform; transition:transform .58s cubic-bezier(.22,.61,.36,1); }
.cahx9-autobody-home-root .cahx9-r-gallery__slide { position:relative; flex:0 0 33.333333%; min-width:0; margin:0; overflow:hidden; border-right:1px solid rgba(255,255,255,.55); transition:flex-basis .58s cubic-bezier(.22,.61,.36,1),filter .3s ease; }
.cahx9-autobody-home-root .cahx9-r-gallery__slide.is-active { flex-basis:46%; }
.cahx9-autobody-home-root .cahx9-r-gallery__slide:not(.is-active) { flex-basis:27%; }
.cahx9-autobody-home-root .cahx9-r-gallery__slide img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .65s ease; }
.cahx9-autobody-home-root .cahx9-r-gallery__slide:nth-child(1) img { object-position:center; }
.cahx9-autobody-home-root .cahx9-r-gallery__slide:nth-child(2) img { object-position:center; }
.cahx9-autobody-home-root .cahx9-r-gallery__slide:nth-child(3) img { object-position:center; filter:none !important; }
.cahx9-autobody-home-root .cahx9-r-gallery__slide.is-active img { transform:scale(1.015); }
.cahx9-autobody-home-root .cahx9-r-gallery__arrow { position:absolute; z-index:4; top:50%; width:48px; height:48px; display:grid; place-items:center; transform:translateY(-50%); border:1px solid rgba(255,255,255,.75); border-radius:0; background:rgba(5,5,5,.78); color:#fff; font-size:21px; line-height:1; cursor:pointer; transition:background .2s ease,border-color .2s ease; }
.cahx9-autobody-home-root .cahx9-r-gallery__arrow:hover { background:#b77e27; border-color:#b77e27; }
.cahx9-autobody-home-root .cahx9-r-gallery__arrow--prev { left:20px; }
.cahx9-autobody-home-root .cahx9-r-gallery__arrow--next { right:20px; }
.cahx9-autobody-home-root .cahx9-r-gallery__dots { position:absolute; z-index:4; left:50%; bottom:18px; transform:translateX(-50%); display:flex; gap:8px; }
.cahx9-autobody-home-root .cahx9-r-gallery__dots button { width:30px; height:3px; padding:0; border:0; border-radius:0; background:rgba(255,255,255,.62); cursor:pointer; transition:background .2s ease,width .2s ease; }
.cahx9-autobody-home-root .cahx9-r-gallery__dots button.is-active { width:52px; background:#b77e27; }

@media (max-width:1180px) {
  .cahx9-autobody-home-root .cahx9-r-hero__vehicle { width:23vw; opacity:.76; }
  .cahx9-autobody-home-root .cahx9-r-hero__content { width:min(100%,850px); }
  .cahx9-autobody-home-root .cahx9-r-hero-brands { width:min(100%,760px); column-gap:16px; }
  .cahx9-autobody-home-root .cahx9-r-proof__grid { grid-template-columns:repeat(2,1fr); }
  .cahx9-autobody-home-root .cahx9-r-proof__item { border-bottom:1px solid #d7d4ce; }
  .cahx9-autobody-home-root .cahx9-r-proof__item:nth-child(2) { border-right:0; }
  .cahx9-autobody-home-root .cahx9-r-proof__item:nth-child(3),.cahx9-autobody-home-root .cahx9-r-proof__item:nth-child(4) { border-bottom:0; padding-top:18px; }
}
@media (max-width:780px) {
  .cahx9-autobody-home-root .cahx9-r-hero { padding:236px 0 18px; }
  .cahx9-autobody-home-root .cahx9-r-hero::before { top:58%; font-size:175px; }
  .cahx9-autobody-home-root .cahx9-r-hero__vehicle { top:0; bottom:auto; width:57%; height:235px; opacity:.94; }
  .cahx9-autobody-home-root .cahx9-r-hero__vehicle--left { left:-11%; }
  .cahx9-autobody-home-root .cahx9-r-hero__vehicle--right { right:-11%; }
  .cahx9-autobody-home-root .cahx9-r-hero__content { padding:0 18px; }
  .cahx9-autobody-home-root .cahx9-r-hero__eyebrow { font-size:9px; letter-spacing:.18em; }
  .cahx9-autobody-home-root .cahx9-r-hero h2 { font-size:clamp(31px,9.3vw,45px); }
  .cahx9-autobody-home-root .cahx9-r-hero__lead { font-size:12px; }
  .cahx9-autobody-home-root .cahx9-r-hero__quote { min-width:220px; min-height:48px; }
  .cahx9-autobody-home-root .cahx9-r-hero-brands { grid-template-columns:repeat(4,1fr); gap:6px 13px; margin-top:18px; }
  .cahx9-autobody-home-root .cahx9-r-hero-brands > div { height:42px; }
  .cahx9-autobody-home-root .cahx9-r-hero-brands img { max-width:70px; max-height:35px; }
  .cahx9-autobody-home-root .cahx9-r-hero__makes { grid-template-columns:1fr; gap:8px; margin-top:12px; }
  .cahx9-autobody-home-root .cahx9-r-hero__makes span { display:none; }
  .cahx9-autobody-home-root .cahx9-r-hero__makes strong { white-space:normal; font-size:9px; line-height:1.45; }
  .cahx9-autobody-home-root .cahx9-r-proof__grid { grid-template-columns:1fr; padding:0 18px; }
  .cahx9-autobody-home-root .cahx9-r-proof__item,.cahx9-autobody-home-root .cahx9-r-proof__item:first-child,.cahx9-autobody-home-root .cahx9-r-proof__item:last-child,.cahx9-autobody-home-root .cahx9-r-proof__item:nth-child(3),.cahx9-autobody-home-root .cahx9-r-proof__item:nth-child(4) { min-height:112px; padding:18px 4px; border-right:0; border-bottom:1px solid #dedbd6; }
  .cahx9-autobody-home-root .cahx9-r-proof__item:last-child { border-bottom:0; }
  .cahx9-autobody-home-root .cahx9-r-why { padding:23px 0; }
  .cahx9-autobody-home-root .cahx9-r-why__title { grid-template-columns:1fr; gap:8px; }
  .cahx9-autobody-home-root .cahx9-r-why__title span { display:none; }
  .cahx9-autobody-home-root .cahx9-r-why__title h2 { font-size:18px; }
  .cahx9-autobody-home-root .cahx9-r-why__values { font-size:9px; letter-spacing:.13em; }
  .cahx9-autobody-home-root .cahx9-r-why__values i { margin:0 5px; }
  .cahx9-autobody-home-root .cahx9-r-why__copy { font-size:11px; }
  .cahx9-autobody-home-root .cahx9-r-why__copy br { display:none; }
  .cahx9-autobody-home-root .cahx9-r-hero-cta__inner { align-items:stretch; flex-direction:column; gap:16px; padding:18px; }
  .cahx9-autobody-home-root .cahx9-r-hero-cta__actions { display:grid; grid-template-columns:1fr; }
  .cahx9-autobody-home-root .cahx9-r-hero-cta__actions a { width:100%; }
  .cahx9-autobody-home-root .cahx9-r-gallery__track { height:330px; }
  .cahx9-autobody-home-root .cahx9-r-gallery__slide,.cahx9-autobody-home-root .cahx9-r-gallery__slide.is-active,.cahx9-autobody-home-root .cahx9-r-gallery__slide:not(.is-active) { flex:0 0 100%; }
  .cahx9-autobody-home-root .cahx9-r-gallery__arrow { width:42px; height:42px; }
  .cahx9-autobody-home-root .cahx9-r-gallery__arrow--prev { left:12px; }
  .cahx9-autobody-home-root .cahx9-r-gallery__arrow--next { right:12px; }
}


/* ============================================================
   FINAL PRODUCTION POLISH — unified hero background + true first fold
   ============================================================ */

/* Full-bleed is implemented by the widget itself; no global html/body selector is used. */
.cahx9-autobody-home-root {
  position: relative;
  left: auto !important;
  width: 100dvw;
  max-width: none !important;
  margin-left: calc(50% - 50dvw) !important;
  margin-right: calc(50% - 50dvw) !important;
  overflow-x: clip;
}

/* Inner content remains disciplined even though backgrounds run edge-to-edge. */
.cahx9-autobody-home-root .cahx9-r-shell {
  width: min(100% - 48px, 1440px);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 0;
}

/* Hero + proof are deliberately one first-screen composition.
   This prevents "Why Choose CA Autobody?" from peeking into the initial viewport. */
.cahx9-autobody-home-root .cahx9-r-first-screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.cahx9-autobody-home-root .cahx9-r-hero {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  min-height: calc(100svh - 205px);
  display: grid;
  place-items: center;
  padding: clamp(48px, 5vh, 76px) 0 clamp(26px, 3.5vh, 42px);
  overflow: hidden;
  background-color: #fff;
  background-image: var(--cahx9-hero-bg, url("../images/hero-bg-unified.webp"));
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Old decorative layers are intentionally disabled: the hero is now ONE background image. */
.cahx9-autobody-home-root .cahx9-r-hero::before,
.cahx9-autobody-home-root .cahx9-r-hero__vehicle {
  display: none !important;
  content: none !important;
}

.cahx9-autobody-home-root .cahx9-r-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1080px);
  max-width: 1080px;
  padding: 0;
  text-align: center;
}

.cahx9-autobody-home-root .cahx9-r-hero__eyebrow {
  margin: 0 0 14px;
  color: #9c6b22;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.cahx9-autobody-home-root .cahx9-r-hero h2 {
  max-width: 1040px;
  margin: 0 auto;
  color: #050505;
  font-size: clamp(40px, 3.15vw, 54px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.047em;
  text-transform: uppercase;
}

.cahx9-autobody-home-root .cahx9-r-hero h2 .cahx9-r-hero__headline-main {
  display: block;
  margin: 0;
  color: #050505;
  white-space: nowrap;
}

.cahx9-autobody-home-root .cahx9-r-hero h2 .cahx9-r-hero__headline-gold {
  display: block;
  margin-top: 8px;
  color: #b67d26;
}

.cahx9-autobody-home-root .cahx9-r-hero__lead {
  max-width: 780px;
  margin: 18px auto 22px;
  color: #202020;
  font-size: 14px;
  line-height: 1.58;
  font-weight: 500;
}

.cahx9-autobody-home-root .cahx9-r-hero__quote {
  min-width: 260px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 30px;
  background: #bb8128;
  border: 1px solid #bb8128;
  border-radius: 0;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.cahx9-autobody-home-root .cahx9-r-hero__quote:hover {
  background: #98651d;
  border-color: #98651d;
  transform: translateY(-1px);
}

.cahx9-autobody-home-root .cahx9-r-hero-brands {
  width: min(100%, 900px);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  gap: 13px 27px;
}

.cahx9-autobody-home-root .cahx9-r-hero-brands > div {
  min-width: 0;
  height: 48px;
  display: grid;
  place-items: center;
}

.cahx9-autobody-home-root .cahx9-r-hero-brands img {
  width: auto;
  max-width: 86px;
  max-height: 43px;
  object-fit: contain;
  filter: grayscale(1) saturate(0) !important;
  opacity: .72;
  transform: translateY(0) scale(1);
  transition: filter .22s ease, opacity .22s ease, transform .22s ease;
}

/* Use the real source colours on pointer hover/focus. */
.cahx9-autobody-home-root .cahx9-r-hero-brands > div:hover img,
.cahx9-autobody-home-root .cahx9-r-hero-brands > div:focus-within img {
  filter: none !important;
  opacity: 1;
  transform: translateY(-2px) scale(1.045);
}

.cahx9-autobody-home-root .cahx9-r-hero__makes {
  width: min(100%, 980px);
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: #151515;
}

.cahx9-autobody-home-root .cahx9-r-hero__makes span {
  height: 1px;
  background: #cda967;
}

.cahx9-autobody-home-root .cahx9-r-hero__makes strong {
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Proof row — visually matches the reference and closes the first screen. */
.cahx9-autobody-home-root .cahx9-r-proof {
  flex: 0 0 auto;
  min-height: 205px;
  display: flex;
  align-items: center;
  background: #fff;
  border-top: 1px solid #ece7de;
}

.cahx9-autobody-home-root .cahx9-r-proof__grid {
  width: min(100% - 48px, 1440px);
  max-width: 1440px;
  min-height: 150px;
}

.cahx9-autobody-home-root .cahx9-r-proof__item {
  min-height: 128px;
}

.cahx9-autobody-home-root .cahx9-r-proof__icon--car {
  width: 58px;
  min-width: 58px;
  color: #b77e27;
}

.cahx9-autobody-home-root .cahx9-r-proof__icon--car svg {
  display: block;
  width: 58px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Why Choose — exact editorial black/gold treatment, but starts BELOW first fold. */
.cahx9-autobody-home-root .cahx9-r-why {
  padding: 28px 0 26px;
  background: #050505;
  color: #fff;
  overflow: hidden;
}

.cahx9-autobody-home-root .cahx9-r-why__inner {
  text-align: center;
}

.cahx9-autobody-home-root .cahx9-r-why__title {
  width: min(100%, 930px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(70px, 1fr) auto minmax(70px, 1fr);
  align-items: center;
  gap: 22px;
}

.cahx9-autobody-home-root .cahx9-r-why__title span {
  height: 1px;
  background: #b77e27;
}

.cahx9-autobody-home-root .cahx9-r-why__title h2 {
  margin: 0;
  color: #c18a39;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.cahx9-autobody-home-root .cahx9-r-why__values {
  margin: 12px 0 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.cahx9-autobody-home-root .cahx9-r-why__values i {
  margin: 0 12px;
  color: #b77e27;
  font-style: normal;
}

.cahx9-autobody-home-root .cahx9-r-why__copy {
  margin: 12px auto 0;
  max-width: 980px;
  color: #e9e9e9;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 400;
}

/* Accident CTA under Why Choose — clean white card from the reference. */
.cahx9-autobody-home-root .cahx9-r-hero-cta {
  padding: 14px 0 28px;
  background: #fff;
}

.cahx9-autobody-home-root .cahx9-r-hero-cta__inner {
  width: min(100% - 72px, 1280px);
  max-width: 1280px;
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 18px;
  border: 1px solid #d8d1c7;
  background: #fbfaf8;
}

.cahx9-autobody-home-root .cahx9-r-hero-cta__phone {
  width: 46px;
  height: 46px;
}

.cahx9-autobody-home-root .cahx9-r-hero-cta__actions a {
  min-height: 48px;
  padding-inline: 30px;
}

/* Responsive */
@media (max-width: 1280px) {
  .cahx9-autobody-home-root .cahx9-r-hero__content {
    width: min(100% - 56px, 930px);
  }

  .cahx9-autobody-home-root .cahx9-r-hero h2 {
    font-size: clamp(36px, 3.55vw, 46px);
  }

  .cahx9-autobody-home-root .cahx9-r-hero h2 .cahx9-r-hero__headline-main {
    white-space: normal;
  }

  .cahx9-autobody-home-root .cahx9-r-hero-brands {
    width: min(100%, 800px);
    gap-inline: 18px;
  }
}

@media (max-width: 900px) {
  .cahx9-autobody-home-root .cahx9-r-shell {
    width: min(100% - 36px, 1440px);
  }

  .cahx9-autobody-home-root .cahx9-r-first-screen {
    min-height: 100svh;
  }

  .cahx9-autobody-home-root .cahx9-r-hero {
    min-height: auto;
    padding: 58px 0 34px;
    background-position: center center;
    background-size: cover;
  }

  .cahx9-autobody-home-root .cahx9-r-hero__content {
    width: min(100% - 40px, 760px);
  }

  .cahx9-autobody-home-root .cahx9-r-hero__eyebrow {
    font-size: 10px;
    letter-spacing: .2em;
  }

  .cahx9-autobody-home-root .cahx9-r-hero h2 {
    font-size: clamp(34px, 5.6vw, 45px);
    line-height: 1.01;
  }

  .cahx9-autobody-home-root .cahx9-r-hero-brands {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px 13px;
  }

  .cahx9-autobody-home-root .cahx9-r-hero-brands img {
    max-width: 70px;
    max-height: 36px;
  }

  .cahx9-autobody-home-root .cahx9-r-proof {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .cahx9-autobody-home-root .cahx9-r-first-screen {
    min-height: auto;
  }

  /* Still ONE background image on mobile; no split car boxes. */
  .cahx9-autobody-home-root .cahx9-r-hero {
    display: block;
    min-height: 0;
    padding: 250px 0 38px;
    background-image: var(--cahx9-hero-bg-mobile, url("../images/hero-bg-unified-mobile.webp"));
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: #fff;
  }

  .cahx9-autobody-home-root .cahx9-r-hero__content {
    width: calc(100% - 34px);
    padding: 0;
  }

  .cahx9-autobody-home-root .cahx9-r-hero__eyebrow {
    max-width: 300px;
    margin: 0 auto 15px;
    font-size: 9px;
    line-height: 1.35;
    letter-spacing: .18em;
  }

  .cahx9-autobody-home-root .cahx9-r-hero h2 {
    max-width: 390px;
    font-size: clamp(31px, 9.7vw, 43px);
    line-height: 1;
    letter-spacing: -.04em;
  }

  .cahx9-autobody-home-root .cahx9-r-hero h2 .cahx9-r-hero__headline-main {
    white-space: normal;
  }

  .cahx9-autobody-home-root .cahx9-r-hero h2 .cahx9-r-hero__headline-gold {
    margin-top: 12px;
  }

  .cahx9-autobody-home-root .cahx9-r-hero__lead {
    max-width: 390px;
    margin-top: 22px;
    margin-bottom: 23px;
    font-size: 13px;
    line-height: 1.65;
  }

  .cahx9-autobody-home-root .cahx9-r-hero__quote {
    width: min(100%, 310px);
    min-width: 0;
    min-height: 54px;
  }

  .cahx9-autobody-home-root .cahx9-r-hero-brands {
    width: 100%;
    margin-top: 30px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px 12px;
  }

  .cahx9-autobody-home-root .cahx9-r-hero-brands > div {
    height: 45px;
  }

  .cahx9-autobody-home-root .cahx9-r-hero-brands img {
    max-width: 72px;
    max-height: 36px;
  }

  .cahx9-autobody-home-root .cahx9-r-hero__makes {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cahx9-autobody-home-root .cahx9-r-hero__makes span {
    display: none;
  }

  .cahx9-autobody-home-root .cahx9-r-hero__makes strong {
    white-space: normal;
    font-size: 9px;
    line-height: 1.45;
    letter-spacing: .19em;
  }

  .cahx9-autobody-home-root .cahx9-r-proof__grid {
    width: calc(100% - 36px);
  }

  .cahx9-autobody-home-root .cahx9-r-why {
    padding: 30px 0;
  }

  .cahx9-autobody-home-root .cahx9-r-why__title {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cahx9-autobody-home-root .cahx9-r-why__title span {
    display: none;
  }

  .cahx9-autobody-home-root .cahx9-r-why__title h2 {
    font-size: 19px;
  }

  .cahx9-autobody-home-root .cahx9-r-why__values {
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: .13em;
  }

  .cahx9-autobody-home-root .cahx9-r-why__values i {
    margin-inline: 5px;
  }

  .cahx9-autobody-home-root .cahx9-r-why__copy {
    font-size: 12px;
  }

  .cahx9-autobody-home-root .cahx9-r-why__copy br {
    display: none;
  }

  .cahx9-autobody-home-root .cahx9-r-hero-cta {
    padding: 12px 0 24px;
  }

  .cahx9-autobody-home-root .cahx9-r-hero-cta__inner {
    width: calc(100% - 28px);
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .cahx9-autobody-home-root .cahx9-r-hero-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cahx9-autobody-home-root .cahx9-r-hero-cta__actions a {
    width: 100%;
  }
}

@media (max-width: 600px) and (hover: none) {
  .cahx9-autobody-home-root .cahx9-r-hero-brands img {
    filter: none !important;
    opacity: .88;
  }
}


/* Plugin / Elementor integration */
.cahx9-autobody-home-page,
.cahx9-autobody-home-page #page,
.cahx9-autobody-home-page .site,
.cahx9-plugin-page-template {
  overflow-x: hidden;
}

.cahx9-plugin-page-template {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* The active theme keeps ownership of header/footer. Only the Elementor content canvas is reset. */
.cahx9-plugin-page-template > .elementor,
.cahx9-plugin-page-template > .elementor-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

.elementor-widget-cahx9-ca-autobody-home,
.elementor-widget-cahx9-ca-autobody-home > .elementor-widget-container {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}

/* Elementor color controls feed these CSS variables. */
.cahx9-autobody-home-root .cahx9-r-hero__eyebrow,
.cahx9-autobody-home-root .cahx9-r-kicker { color: var(--cahx9-gold-dark); }
.cahx9-autobody-home-root .cahx9-r-hero h2 .cahx9-r-hero__headline-gold,
.cahx9-autobody-home-root .cahx9-r-why__title h2,
.cahx9-autobody-home-root .cahx9-r-proof__icon--car,
.cahx9-autobody-home-root .cahx9-r-proof__icon--pin { color: var(--cahx9-gold); }
.cahx9-autobody-home-root .cahx9-r-hero__quote,
.cahx9-autobody-home-root .cahx9-r-hero-cta__call,
.cahx9-autobody-home-root .cahx9-r-btn--gold { background: var(--cahx9-gold); border-color: var(--cahx9-gold); }
.cahx9-autobody-home-root .cahx9-r-hero__quote:hover,
.cahx9-autobody-home-root .cahx9-r-hero-cta__call:hover,
.cahx9-autobody-home-root .cahx9-r-btn--gold:hover { background: var(--cahx9-gold-dark); border-color: var(--cahx9-gold-dark); }
.cahx9-autobody-home-root .cahx9-r-why { background: var(--cahx9-black); }

/* Elementor editor can wrap the widget in constrained containers; keep this homepage full bleed. */
body.elementor-editor-active .elementor-widget-cahx9-ca-autobody-home .cahx9-autobody-home-root {
  margin-left: calc(50% - 50dvw) !important;
  margin-right: calc(50% - 50dvw) !important;
}


/* CAHX9 v1.4.0 — real Google mark in the proof row. */
.cahx9-autobody-home-root .cahx9-r-proof__google {
  flex:0 0 68px;
  width:68px;
  min-width:68px;
  display:grid;
  place-items:center;
}
.cahx9-autobody-home-root .cahx9-r-proof__google img {
  width:58px !important;
  height:58px !important;
  max-width:none !important;
  filter:none !important;
  opacity:1 !important;
}
@media (max-width: 767px) {
  .cahx9-autobody-home-root .cahx9-r-proof__google { flex-basis:56px; width:56px; min-width:56px; }
  .cahx9-autobody-home-root .cahx9-r-proof__google img { width:50px !important; height:50px !important; }
}

/* ============================================================
   v1.6.0 — compact desktop hero after restoring the theme header
   The old 100svh first-screen lock made the hero feel excessively tall once
   the real header was placed back in normal document flow.
   ============================================================ */
.cahx9-autobody-home-root .cahx9-r-first-screen {
  min-height: 0 !important;
  display: block;
}

.cahx9-autobody-home-root .cahx9-r-hero {
  flex: none !important;
  min-height: 660px !important;
  padding: 54px 0 34px !important;
  background-position: center center !important;
  background-size: cover !important;
}

.cahx9-autobody-home-root .cahx9-r-proof {
  min-height: 190px !important;
}

.cahx9-autobody-home-root .cahx9-r-proof__grid {
  min-height: 146px !important;
}

@media (max-width: 1280px) and (min-width: 901px) {
  .cahx9-autobody-home-root .cahx9-r-hero {
    min-height: 620px !important;
    padding-top: 48px !important;
    padding-bottom: 30px !important;
  }
}

@media (max-width: 900px) and (min-width: 601px) {
  .cahx9-autobody-home-root .cahx9-r-first-screen {
    min-height: 0 !important;
  }

  .cahx9-autobody-home-root .cahx9-r-hero {
    min-height: 560px !important;
    padding: 46px 0 30px !important;
  }

  .cahx9-autobody-home-root .cahx9-r-proof {
    min-height: 0 !important;
  }
}

@media (max-width: 600px) {
  .cahx9-autobody-home-root .cahx9-r-first-screen {
    min-height: 0 !important;
  }

  .cahx9-autobody-home-root .cahx9-r-hero {
    min-height: 0 !important;
    padding: 238px 0 40px !important;
    background-size: 100% auto !important;
    background-position: top center !important;
  }

  .cahx9-autobody-home-root .cahx9-r-proof {
    min-height: 0 !important;
  }
}

/* ============================================================
   CAHX9 v3 — PAGE-SPECIFIC REPLICA HEADER
   ------------------------------------------------------------
   This header belongs only to the CA Autobody Home Elementor widget.
   It does not depend on the legacy theme header or front-page classes.
   ============================================================ */

body.cahx9-v3-home-page {
  overflow-x: clip;
}

/* Fallback safety when the widget is used with Default / Elementor Full Width:
   hide the old theme header only on this CA homepage. The v3 custom template
   does not load it at all. */
body.cahx9-v3-home-page header.mainheader,
body.cahx9-v3-home-page .mainheader.home-head,
body.cahx9-v3-home-page > .togglebtn,
body.cahx9-v3-home-page > .overlay {
  display: none !important;
}

body.cahx9-v3-replica-template #cahx9-v3-page-content,
body.cahx9-v3-replica-shell #cahx9-v3-page-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

body.cahx9-v3-home-page .entry-header,
body.cahx9-v3-home-page .entry-title,
body.cahx9-v3-home-page .page-title {
  display: none !important;
}

.cahx9-autobody-home-root {
  --cahx9-v3-header-gold: #d5bd79;
  --cahx9-v3-menu-gold: #b29b4f;
}

.cahx9-autobody-home-root .cahx9-v3-header {
  position: absolute;
  z-index: 2147480000;
  top: 0;
  left: 0;
  right: 0;
  height: 136px;
  color: #fff;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  transition: height .25s ease, background-color .25s ease, box-shadow .25s ease;
}

body.admin-bar .cahx9-autobody-home-root .cahx9-v3-header {
  top: 32px;
}

.cahx9-autobody-home-root .cahx9-v3-header__fade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.60) 0%,
    rgba(0,0,0,.52) 28%,
    rgba(0,0,0,.40) 52%,
    rgba(0,0,0,.20) 76%,
    rgba(0,0,0,0) 100%
  );
}

.cahx9-autobody-home-root .cahx9-v3-header.is-sticky {
  position: fixed;
  height: 92px;
  background: #030303;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}

.cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-header__fade {
  opacity: 0;
}

.cahx9-autobody-home-root .cahx9-v3-header__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0 clamp(28px, 4.4vw, 84px);
  display: grid;
  grid-template-columns: minmax(165px,1fr) auto minmax(230px,1fr);
  align-items: center;
  gap: clamp(28px, 3vw, 52px);
}

.cahx9-autobody-home-root .cahx9-v3-header__logo {
  width: 148px;
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.cahx9-autobody-home-root .cahx9-v3-header__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 112px;
  object-fit: contain;
  filter: none !important;
}

.cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-header__logo {
  width: 112px;
}

.cahx9-autobody-home-root .cahx9-v3-header__nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 3.6vw, 66px);
}

.cahx9-autobody-home-root .cahx9-v3-header__nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.cahx9-autobody-home-root .cahx9-v3-header__nav-link {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 18px 0;
  color: #fff !important;
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .015em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none !important;
  cursor: pointer;
  transition: color .18s ease;
}

.cahx9-autobody-home-root .cahx9-v3-header__nav-item:first-child .cahx9-v3-header__nav-link,
.cahx9-autobody-home-root .cahx9-v3-header__nav-link:hover,
.cahx9-autobody-home-root .cahx9-v3-header__nav-link:focus-visible,
.cahx9-autobody-home-root .cahx9-v3-header__nav-item.is-open > .cahx9-v3-header__nav-link {
  color: var(--cahx9-v3-header-gold) !important;
}

/* Thin down arrow with a stem — matches the current CA header more closely
   than a generic font chevron. */
.cahx9-autobody-home-root .cahx9-v3-arrow-down {
  position: relative;
  display: block;
  width: 11px;
  height: 13px;
  flex: 0 0 11px;
}
.cahx9-autobody-home-root .cahx9-v3-arrow-down::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 1px;
  height: 8px;
  background: currentColor;
}
.cahx9-autobody-home-root .cahx9-v3-arrow-down::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.cahx9-autobody-home-root .cahx9-v3-header__call {
  justify-self: end;
  min-width: 198px;
  height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cahx9-v3-header-gold);
  color: var(--cahx9-v3-header-gold) !important;
  background: rgba(0,0,0,.10);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background .18s ease, color .18s ease;
}
.cahx9-autobody-home-root .cahx9-v3-header__call:hover,
.cahx9-autobody-home-root .cahx9-v3-header__call:focus-visible {
  background: var(--cahx9-v3-header-gold);
  color: #050505 !important;
}

.cahx9-autobody-home-root .cahx9-v3-header__burger {
  display: none;
}

/* Desktop dropdown replica */
.cahx9-autobody-home-root .cahx9-v3-dropdown {
  position: absolute;
  top: calc(100% - 20px);
  left: 50%;
  z-index: 40;
  width: 332px;
  overflow: hidden;
  background: #fff;
  color: #171717;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .17s ease, visibility .17s ease, transform .17s ease;
}

.cahx9-autobody-home-root .cahx9-v3-header__nav-item:nth-child(3) .cahx9-v3-dropdown {
  width: 365px;
}

.cahx9-autobody-home-root .cahx9-v3-header__nav-item:hover > .cahx9-v3-dropdown,
.cahx9-autobody-home-root .cahx9-v3-header__nav-item:focus-within > .cahx9-v3-dropdown,
.cahx9-autobody-home-root .cahx9-v3-header__nav-item.is-open > .cahx9-v3-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cahx9-autobody-home-root .cahx9-v3-dropdown__links {
  padding: 16px 0;
}

.cahx9-autobody-home-root .cahx9-v3-dropdown__links a {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 13px 22px;
  color: #171717 !important;
  font-size: 15.5px;
  line-height: 1.18;
  font-weight: 500;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease;
}
.cahx9-autobody-home-root .cahx9-v3-dropdown__links a:hover,
.cahx9-autobody-home-root .cahx9-v3-dropdown__links a:focus-visible {
  color: #8b671f !important;
  background: #f6f3ec;
}

.cahx9-autobody-home-root .cahx9-v3-link-arrow {
  position: relative;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  margin-top: 2px;
}
.cahx9-autobody-home-root .cahx9-v3-link-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 8px;
  height: 1px;
  background: currentColor;
}
.cahx9-autobody-home-root .cahx9-v3-link-arrow::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 3px;
  width: 4px;
  height: 4px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.cahx9-autobody-home-root .cahx9-v3-dropdown__promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 28px 24px;
  text-align: center;
  border-top: 1px solid #ddd;
}
.cahx9-autobody-home-root .cahx9-v3-dropdown__promo::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--cahx9-hero-bg, url("../images/hero-bg-unified.webp")) center 48% / cover no-repeat;
  opacity: .18;
}
.cahx9-autobody-home-root .cahx9-v3-dropdown__promo::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(255,255,255,.84);
}
.cahx9-autobody-home-root .cahx9-v3-dropdown__promo p {
  margin: 0 0 16px;
  color: #171717;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  text-transform: uppercase;
}
.cahx9-autobody-home-root .cahx9-v3-dropdown__call,
.cahx9-autobody-home-root .cahx9-v3-dropdown__book {
  width: min(100%, 220px);
  min-height: 43px;
  margin: 10px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}
.cahx9-autobody-home-root .cahx9-v3-dropdown__call {
  background: #c1a451;
  color: #fff !important;
}
.cahx9-autobody-home-root .cahx9-v3-dropdown__book {
  background: #050505;
  color: #fff !important;
}

/* The hero sits behind the replica header. */
.cahx9-autobody-home-root .cahx9-r-hero {
  padding-top: clamp(168px, 12vh, 198px);
}

/* ---------------- FULL-SCREEN MOBILE / TABLET MENU ---------------- */
.cahx9-autobody-home-root .cahx9-v3-mobile {
  position: fixed;
  inset: 0;
  z-index: 2147481000;
  overflow: auto;
  background: #fff;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
}
.cahx9-autobody-home-root .cahx9-v3-mobile[hidden] {
  display: none !important;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__head {
  height: 148px;
  padding: 10px 16px 10px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #fff;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__logo {
  width: 158px;
  height: 125px;
  display: flex;
  align-items: center;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__logo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: none !important;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__close {
  position: relative;
  width: 60px;
  height: 60px;
  margin-top: 10px;
  padding: 0;
  border: 1px solid #b29b4f;
  background: #fff;
  cursor: pointer;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__close span {
  position: absolute;
  left: 15px;
  top: 29px;
  width: 30px;
  height: 1.5px;
  background: #b29b4f;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__close span:first-child { transform: rotate(45deg); }
.cahx9-autobody-home-root .cahx9-v3-mobile__close span:last-child { transform: rotate(-45deg); }

.cahx9-autobody-home-root .cahx9-v3-mobile__gold {
  min-height: calc(100vh - 148px);
  display: flex;
  flex-direction: column;
  background: #b29b4f;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__nav {
  padding: 31px 32px 24px;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,.13);
  color: #fff !important;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none !important;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__row.is-active {
  color: #050505 !important;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__details {
  margin: 0;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__details summary {
  list-style: none;
  cursor: pointer;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__details summary::-webkit-details-marker {
  display: none;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__down {
  position: relative;
  width: 16px;
  height: 18px;
  flex: 0 0 16px;
  color: #fff;
  transition: transform .18s ease;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__down::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 1px;
  width: 1.5px;
  height: 11px;
  background: currentColor;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__down::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.cahx9-autobody-home-root .cahx9-v3-mobile__details[open] .cahx9-v3-mobile__down {
  transform: rotate(180deg);
}
.cahx9-autobody-home-root .cahx9-v3-mobile__submenu {
  padding: 4px 0 11px 16px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.cahx9-autobody-home-root .cahx9-v3-mobile__submenu a {
  display: block;
  padding: 11px 0;
  color: #fff !important;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  text-decoration: none !important;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__submenu a:hover {
  color: #050505 !important;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__promo {
  margin-top: auto;
  padding: 35px 32px 80px;
  border-top: 1px solid rgba(255,255,255,.26);
  color: #fff;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__promo p {
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(25px, 5vw, 30px);
  line-height: 1.3;
  font-weight: 400;
  text-transform: uppercase;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cahx9-autobody-home-root .cahx9-v3-mobile__promo-actions a {
  min-width: 194px;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid #050505;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #050505 !important;
  background: transparent;
  font-size: 19px;
  font-weight: 400;
  text-decoration: none !important;
}
body.cahx9-v3-menu-open {
  overflow: hidden !important;
}

@media (max-width: 1120px) {
  .cahx9-autobody-home-root .cahx9-v3-header__inner {
    grid-template-columns: 150px 1fr 190px;
    gap: 24px;
    padding-inline: 30px;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__nav {
    gap: 26px;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__nav-link {
    font-size: 12px;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__call {
    min-width: 180px;
    padding-inline: 16px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .cahx9-autobody-home-root .cahx9-v3-header {
    height: 104px;
  }
  body.admin-bar .cahx9-autobody-home-root .cahx9-v3-header {
    top: 46px;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__inner {
    grid-template-columns: 1fr auto;
    padding-inline: 24px;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__logo {
    width: 112px;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__nav,
  .cahx9-autobody-home-root .cahx9-v3-header__call {
    display: none;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__burger {
    display: grid;
    place-content: center;
    gap: 5px;
    justify-self: end;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(224,200,136,.7);
    background: rgba(0,0,0,.16);
    cursor: pointer;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #fff;
  }
  .cahx9-autobody-home-root .cahx9-r-hero {
    padding-top: 138px;
  }
}

@media (max-width: 600px) {
  .cahx9-autobody-home-root .cahx9-v3-header__fade {
    background: linear-gradient(
      180deg,
      rgba(0,0,0,.62) 0%,
      rgba(0,0,0,.48) 48%,
      rgba(0,0,0,.18) 78%,
      rgba(0,0,0,0) 100%
    );
  }
  .cahx9-autobody-home-root .cahx9-v3-mobile__promo-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .cahx9-autobody-home-root .cahx9-v3-mobile__promo-actions a {
    min-width: 0;
    width: 100%;
    padding-inline: 8px;
    font-size: clamp(15px, 4.6vw, 19px);
  }
  /* The mobile hero already reserves its own image-led top space; do not double it. */
  .cahx9-autobody-home-root .cahx9-r-hero {
    padding-top: 250px;
  }
}

/* ============================================================
   CAHX9 v3.1.0 — CA AUTOBODY HEADER REPLICA REFINEMENT
   Desktop measurements are tuned from the supplied CA Autobody
   reference: 178px top header, 160px logo, centered navigation,
   245x54 call CTA and restrained 60%→0% vignette.
   ============================================================ */

/* Keep the replica pinned to the actual viewport rather than an Elementor
   wrapper. This removes the lowered-header issue caused by page/container
   spacing while preserving the overlay-on-hero look. */
.cahx9-autobody-home-root .cahx9-v3-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 178px !important;
  z-index: 2147480000 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.admin-bar .cahx9-autobody-home-root .cahx9-v3-header {
  top: 32px !important;
}

/* Same visual behavior as the reference: strong enough for readability at
   the top, lighter through the middle, then disappearing into the hero. */
.cahx9-autobody-home-root .cahx9-v3-header__fade {
  inset: 0 !important;
  opacity: 1 !important;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.60) 0%,
    rgba(0,0,0,.53) 24%,
    rgba(0,0,0,.40) 52%,
    rgba(0,0,0,.18) 78%,
    rgba(0,0,0,0) 100%
  ) !important;
}

/* Reference header content is centered inside an approximately 1720px
   working width on a 1880px desktop. Flex + absolute-centered nav keeps the
   navigation exactly centered even when logo/call widths differ. */
.cahx9-autobody-home-root .cahx9-v3-header__inner {
  position: relative !important;
  width: min(calc(100% - 80px), 1720px) !important;
  max-width: 1720px !important;
  height: 178px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;
}

.cahx9-autobody-home-root .cahx9-v3-header__logo {
  width: 160px !important;
  min-width: 160px !important;
  margin: 0 !important;
  justify-self: auto !important;
}

.cahx9-autobody-home-root .cahx9-v3-header__logo img {
  width: 160px !important;
  max-width: 160px !important;
  max-height: 132px !important;
  object-fit: contain !important;
}

.cahx9-autobody-home-root .cahx9-v3-header__nav {
  position: absolute !important;
  left: 50% !important;
  top: 0 !important;
  height: 178px !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 46px !important;
  white-space: normal !important;
}

.cahx9-autobody-home-root .cahx9-v3-header__nav-item {
  height: 178px !important;
  display: flex !important;
  align-items: center !important;
}

.cahx9-autobody-home-root .cahx9-v3-header__nav-link {
  min-height: 42px !important;
  gap: 9px !important;
  padding: 0 !important;
  color: #fff !important;
  font-family: "Raleway", Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
  text-transform: uppercase !important;
}

/* HOME is gold on this homepage; submenu/open/hover states follow the same
   understated gold used by the original CA header. */
.cahx9-autobody-home-root .cahx9-v3-header__nav-item:first-child .cahx9-v3-header__nav-link,
.cahx9-autobody-home-root .cahx9-v3-header__nav-link:hover,
.cahx9-autobody-home-root .cahx9-v3-header__nav-link:focus-visible,
.cahx9-autobody-home-root .cahx9-v3-header__nav-item.is-open > .cahx9-v3-header__nav-link {
  color: #d5bd79 !important;
}

/* Thin down-arrow with the short vertical stem used in the reference. */
.cahx9-autobody-home-root .cahx9-v3-arrow-down {
  position: relative !important;
  width: 10px !important;
  height: 14px !important;
  flex: 0 0 10px !important;
  margin-left: 1px !important;
  transform: translateY(1px) !important;
  opacity: .95 !important;
}
.cahx9-autobody-home-root .cahx9-v3-arrow-down::before {
  left: 4.5px !important;
  top: 1px !important;
  width: 1px !important;
  height: 8px !important;
  background: currentColor !important;
}
.cahx9-autobody-home-root .cahx9-v3-arrow-down::after {
  left: 2.5px !important;
  top: 6px !important;
  width: 5px !important;
  height: 5px !important;
  border-right: 1px solid currentColor !important;
  border-bottom: 1px solid currentColor !important;
  border-top: 0 !important;
  border-left: 0 !important;
  transform: rotate(45deg) !important;
}

.cahx9-autobody-home-root .cahx9-v3-header__call {
  width: 245px !important;
  min-width: 245px !important;
  height: 54px !important;
  margin-left: auto !important;
  padding: 0 20px !important;
  border: 1px solid #d5bd79 !important;
  background: rgba(0,0,0,.10) !important;
  color: #e0cd95 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease !important;
}

/* Match the site's hover: white fill and dark type, without scale/glow. */
.cahx9-autobody-home-root .cahx9-v3-header__call:hover,
.cahx9-autobody-home-root .cahx9-v3-header__call:focus-visible {
  background: #fff !important;
  border-color: #fff !important;
  color: #111 !important;
}

/* Dropdown starts just under the visual header content and keeps the flatter
   original-site treatment. */
.cahx9-autobody-home-root .cahx9-v3-dropdown {
  top: 126px !important;
  border-radius: 2px !important;
  box-shadow: 0 9px 24px rgba(0,0,0,.13) !important;
}

/* Solid compact sticky variant. It keeps the same horizontal geometry while
   shrinking vertically, like the real CA sticky header. */
.cahx9-autobody-home-root .cahx9-v3-header.is-sticky {
  position: fixed !important;
  height: 92px !important;
  background: #030303 !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.12) !important;
}
.cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-header__fade {
  opacity: 0 !important;
}
.cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-header__inner,
.cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-header__nav,
.cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-header__nav-item {
  height: 92px !important;
}
.cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-header__logo,
.cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-header__logo img {
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  max-height: 82px !important;
}
.cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-dropdown {
  top: 84px !important;
}
.cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-header__call {
  width: 210px !important;
  min-width: 210px !important;
  height: 46px !important;
  font-size: 15px !important;
}

/* The overlay header is fixed to the viewport, so deliberately reserve visual
   breathing room before the hero copy. This prevents the eyebrow/headline from
   sitting directly behind the navigation. */
@media (min-width: 901px) {
  .cahx9-autobody-home-root .cahx9-r-hero {
    min-height: 700px !important;
    padding: 190px 0 38px !important;
  }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .cahx9-autobody-home-root .cahx9-v3-header__inner {
    width: calc(100% - 48px) !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__logo,
  .cahx9-autobody-home-root .cahx9-v3-header__logo img {
    width: 138px !important;
    min-width: 138px !important;
    max-width: 138px !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__nav {
    gap: 28px !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__nav-link {
    font-size: 12px !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__call {
    width: 190px !important;
    min-width: 190px !important;
    height: 48px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 900px) {
  .cahx9-autobody-home-root .cahx9-v3-header {
    height: 104px !important;
  }
  body.admin-bar .cahx9-autobody-home-root .cahx9-v3-header {
    top: 46px !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__inner {
    width: 100% !important;
    height: 104px !important;
    padding: 0 24px !important;
    display: flex !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__logo,
  .cahx9-autobody-home-root .cahx9-v3-header__logo img {
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    max-height: 88px !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__nav,
  .cahx9-autobody-home-root .cahx9-v3-header__call {
    display: none !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-header__burger {
    margin-left: auto !important;
  }
}


/* =========================================================
   v3.1.1 — dropdown text clipping fix
   Root cause: white-space: nowrap on the desktop nav inherited into the
   dropdown, while the dropdown itself uses overflow:hidden. Keep nowrap only
   on the top-level nav labels and explicitly restore wrapping inside panels.
   ========================================================= */
@media (min-width: 901px) {
  .cahx9-autobody-home-root .cahx9-v3-header__nav > .cahx9-v3-header__nav-item > .cahx9-v3-header__nav-link {
    white-space: nowrap !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-dropdown {
    width: min(414px, calc(100vw - 32px)) !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-header__nav-item:nth-child(3) .cahx9-v3-dropdown {
    width: min(470px, calc(100vw - 32px)) !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-dropdown,
  .cahx9-autobody-home-root .cahx9-v3-dropdown * {
    white-space: normal !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-dropdown__links a {
    min-width: 0 !important;
    padding: 15px 24px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-dropdown__promo {
    padding: 30px 30px 28px !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-dropdown__promo p {
    max-width: 100% !important;
    margin: 0 auto 18px !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.45 !important;
  }
}

/* =========================================================
   v3.2.0 — reference-video hover + dropdown geometry match
   Tuned from the user-supplied CA Autobody screen recording.
   ========================================================= */
@media (min-width: 901px) {
  /* The live site's top-level menu only shifts to CA gold on hover/open;
     there is no extra underline, fill or scale treatment. */
  .cahx9-autobody-home-root .cahx9-v3-header__nav-link {
    transition: color .14s ease !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-header__nav-link:hover,
  .cahx9-autobody-home-root .cahx9-v3-header__nav-link:focus-visible,
  .cahx9-autobody-home-root .cahx9-v3-header__nav-item.is-open > .cahx9-v3-header__nav-link,
  .cahx9-autobody-home-root .cahx9-v3-header__nav-item:hover > .cahx9-v3-header__nav-link {
    color: #d5bd79 !important;
  }

  /* Recording shows About and Services using the same compact white panel,
     approximately 230px wide at desktop, rather than two oversized cards. */
  .cahx9-autobody-home-root .cahx9-v3-dropdown,
  .cahx9-autobody-home-root .cahx9-v3-header__nav-item:nth-child(3) .cahx9-v3-dropdown {
    width: 230px !important;
    max-width: calc(100vw - 28px) !important;
    top: 112px !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 1px !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.12) !important;
    transform: translate(-50%, 4px) !important;
    transition: opacity .12s ease, visibility .12s ease, transform .12s ease !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-header__nav-item:hover > .cahx9-v3-dropdown,
  .cahx9-autobody-home-root .cahx9-v3-header__nav-item:focus-within > .cahx9-v3-dropdown,
  .cahx9-autobody-home-root .cahx9-v3-header__nav-item.is-open > .cahx9-v3-dropdown {
    transform: translate(-50%, 0) !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-dropdown__links {
    padding: 8px 0 !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-dropdown__links a {
    min-height: 30px !important;
    padding: 8px 14px !important;
    gap: 9px !important;
    align-items: flex-start !important;
    color: #171717 !important;
    background: #fff !important;
    font-size: 11px !important;
    line-height: 1.22 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    transition: color .12s ease !important;
  }

  /* The recording's child-link hover is intentionally quiet: text turns
     CA gold but the white panel does not get a chunky highlighted row. */
  .cahx9-autobody-home-root .cahx9-v3-dropdown__links a:hover,
  .cahx9-autobody-home-root .cahx9-v3-dropdown__links a:focus-visible {
    color: #9a7226 !important;
    background: #fff !important;
  }

  /* Slim right-arrow used inside the live dropdown. */
  .cahx9-autobody-home-root .cahx9-v3-link-arrow {
    width: 8px !important;
    height: 9px !important;
    flex: 0 0 8px !important;
    margin-top: 2px !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-link-arrow::before {
    left: 0 !important;
    top: 4px !important;
    width: 6px !important;
    height: 1px !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-link-arrow::after {
    right: 0 !important;
    top: 2px !important;
    width: 3px !important;
    height: 3px !important;
    border-top-width: 1px !important;
    border-right-width: 1px !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-dropdown__promo {
    padding: 15px 13px 14px !important;
    border-top: 1px solid #dedede !important;
  }

  /* Use the same repair-workshop style background visible in the live menu. */
  .cahx9-autobody-home-root .cahx9-v3-dropdown__promo::before {
    background-image: url("https://caautobody.com.au/wp-content/uploads/2021/05/menu-img.jpg") !important;
    background-position: center center !important;
    background-size: cover !important;
    opacity: .12 !important;
  }
  .cahx9-autobody-home-root .cahx9-v3-dropdown__promo::after {
    background: rgba(255,255,255,.88) !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-dropdown__promo p {
    width: 190px !important;
    max-width: 100% !important;
    margin: 0 auto 10px !important;
    color: #222 !important;
    font-size: 9.5px !important;
    line-height: 1.38 !important;
    font-weight: 500 !important;
    letter-spacing: .01em !important;
    text-transform: uppercase !important;
  }

  .cahx9-autobody-home-root .cahx9-v3-dropdown__call,
  .cahx9-autobody-home-root .cahx9-v3-dropdown__book {
    width: 122px !important;
    min-height: 26px !important;
    height: 26px !important;
    margin: 7px auto 0 !important;
    padding: 0 7px !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
  }

  /* Recorded header CTA: default CA gold, hover changes BORDER + TYPE to
     white while remaining transparent over the moving hero. */
  .cahx9-autobody-home-root .cahx9-v3-header__call:hover,
  .cahx9-autobody-home-root .cahx9-v3-header__call:focus-visible {
    background: rgba(0,0,0,.10) !important;
    border-color: #fff !important;
    color: #fff !important;
  }

  /* Keep the compact proportions in the sticky state too. */
  .cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-dropdown,
  .cahx9-autobody-home-root .cahx9-v3-header.is-sticky .cahx9-v3-header__nav-item:nth-child(3) .cahx9-v3-dropdown {
    top: 78px !important;
    width: 230px !important;
  }
}

/* ============================================================
   v4.0 — Native Elementor section widgets
   ============================================================ */

/* The replica header is its own Elementor widget. Allow it to overlay the Hero widget
   even though the rest of the redesign remains isolated from the theme. */
.cahx9-autobody-home-root.cahx9-native-header-root {
  position: relative;
  z-index: 2147480000;
  width: 100%;
  height: 0;
  min-height: 0;
  overflow: visible;
  isolation: auto;
  background: transparent;
}

.cahx9-autobody-home-root.cahx9-native-header-root .cahx9-v3-home-content {
  display: none;
}

/* Only pages that actually contain the native CA Header widget receive this class.
   Hide the legacy theme header/toggle on that page while preserving the theme footer. */
body.cahx9-native-header-page header.mainheader,
body.cahx9-native-header-page .mainheader,
body.cahx9-native-header-page > a.toggletbn,
body.cahx9-native-header-page a.toggletbn {
  display: none !important;
}

body.cahx9-v4-home-page .page-title,
body.cahx9-v4-home-page .entry-title {
  display: none !important;
}

/* Native widgets are designed to meet edge-to-edge. Elementor Advanced controls can
   still add spacing deliberately when needed. */
body.cahx9-v4-home-page .elementor-widget-cahx9-ca-header,
body.cahx9-v4-home-page .elementor-widget-cahx9-ca-hero,
body.cahx9-v4-home-page .elementor-widget-cahx9-ca-why,
body.cahx9-v4-home-page .elementor-widget-cahx9-ca-intro,
body.cahx9-v4-home-page .elementor-widget-cahx9-ca-services,
body.cahx9-v4-home-page .elementor-widget-cahx9-ca-zeekr,
body.cahx9-v4-home-page .elementor-widget-cahx9-ca-contact,
body.cahx9-v4-home-page .elementor-widget-cahx9-ca-gallery,
body.cahx9-v4-home-page .elementor-widget-cahx9-ca-insurers {
  margin-block: 0 !important;
}


/* =========================================================
   v4.0.1 — Theme header ownership
   The original WordPress theme header/footer are authoritative.
   The former replica header widget is deprecated and must never
   hide or duplicate the theme header on the public page.
   ========================================================= */
body.cahx9-v4-home-page header.mainheader,
body.cahx9-v4-home-page .mainheader,
body.cahx9-v4-home-page > a.toggletbn,
body.cahx9-v4-home-page a.toggletbn {
  /* Restore theme defaults if older v4 rules were cached/loaded above. */
  display: revert !important;
}

/* If an old CA Header widget is still present in the Elementor document,
   its renderer is empty on frontend. These rules are an additional guard. */
body:not(.elementor-editor-active) .elementor-widget-cahx9-ca-header,
body:not(.elementor-editor-active) .cahx9-native-header-root,
body:not(.elementor-editor-active) .cahx9-v3-header,
body:not(.elementor-editor-active) .cahx9-v3-mobile {
  display: none !important;
}
