.topbar,
.eyebrow,
.hero-proof,
.inspection-stamp,
.intro-center > p,
.intro-center > small,
.intro-status,
.hero-scroll,
.service-card-label,
.brand-lockup small { display: none !important; }
.language-switcher { display: none !important; }

.header-inner { min-height: 78px; }
.hero { min-height: calc(100svh - 78px); }
.hero-copy { padding-top: 20px; }
.hero h1 { max-width: 760px; }
.inspection-image img { width: 100%; }
.admin-link { opacity: .86; }
.admin-link:hover { color: #4b94f1 !important; opacity: 1; }

/* The vehicle detail is intentionally high-contrast, independent of the dark sections. */
.vehicle-modal,
.vehicle-modal .modal-vehicle-copy { color: #102433 !important; background: #fff !important; }
.vehicle-modal .modal-vehicle-copy .eyebrow { display: none !important; }
.vehicle-modal .modal-vehicle-copy h2,
.vehicle-modal .modal-price,
.vehicle-modal .modal-specs strong { color: #102433 !important; opacity: 1 !important; }
.vehicle-modal .modal-vehicle-copy > p,
.vehicle-modal .modal-specs small { color: #667581 !important; opacity: 1 !important; }
.vehicle-modal .modal-specs { border-color: #dbe2e7 !important; }
.vehicle-modal .modal-specs div { border-color: #dbe2e7 !important; background: #fbfcfd; }
.vehicle-modal .modal-close { color: #102433 !important; background: #fff !important; box-shadow: 0 8px 24px rgba(13,31,45,.12); }

.site-editor-shell {
  --editor-blue: #2f80ed;
  --editor-blue-dark: #1766ca;
  --editor-ink: #102433;
  position: fixed;
  z-index: 4900;
  inset: 0;
  pointer-events: none;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

.site-editor-toolbar {
  position: absolute;
  top: 16px;
  left: 50%;
  display: flex;
  min-height: 54px;
  max-width: calc(100vw - 32px);
  align-items: center;
  gap: 4px;
  padding: 7px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  color: #fff;
  background: rgba(10,24,35,.97);
  box-shadow: 0 22px 65px rgba(0,17,31,.3);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-22px);
  transition: opacity .2s ease,transform .2s ease;
  scrollbar-width: none;
}
.site-editor-toolbar::-webkit-scrollbar { display: none; }
.site-editor-shell.is-active .site-editor-toolbar {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,0);
}
.site-editor-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  white-space: nowrap;
}
.site-editor-brand b { color: #83b9ff; font-weight: 800; }
.site-editor-dot { width: 7px; height: 7px; border-radius: 50%; background: #4aa0ff; box-shadow: 0 0 0 5px rgba(74,160,255,.13); }
.site-editor-mode { padding-right: 10px; color: rgba(255,255,255,.55); font-size: 10px; white-space: nowrap; }
.site-editor-divider { width: 1px; height: 25px; margin: 0 3px; background: rgba(255,255,255,.13); }
.site-editor-toolbar button {
  min-height: 38px;
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  color: rgba(255,255,255,.73);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
.site-editor-toolbar button:hover,
.site-editor-toolbar button.active { color: #fff; background: rgba(255,255,255,.09); }
.site-editor-toolbar .site-editor-save {
  min-width: 92px;
  color: #fff;
  background: var(--editor-blue);
}
.site-editor-toolbar .site-editor-save:hover { background: var(--editor-blue-dark); }
.site-editor-toolbar .site-editor-save:disabled { color: rgba(255,255,255,.58); background: rgba(255,255,255,.09); cursor: default; }
.site-editor-toolbar .site-editor-language { min-width: 38px; color: #fff; background: rgba(47,128,237,.2); }
.site-editor-toolbar .site-editor-close { width: 38px; padding: 0; font-size: 20px; font-weight: 400; }

.site-editor-drawer {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(640px,96vw);
  grid-template-rows: 58px 1fr;
  overflow: hidden;
  border-left: 1px solid #cbd6df;
  background: #eef2f5;
  box-shadow: -25px 0 75px rgba(0,20,35,.24);
  pointer-events: auto;
  transform: translateX(104%);
  transition: transform .32s cubic-bezier(.2,.75,.2,1);
}
.site-editor-shell.drawer-open .site-editor-drawer { transform: translateX(0); }
.site-editor-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 22px; color: #fff; background: #102433; }
.site-editor-drawer-head strong { font-size: 12px; letter-spacing: .02em; }
.site-editor-drawer-head button { width: 34px; height: 34px; border: 0; border-radius: 8px; color: #fff; background: rgba(255,255,255,.08); cursor: pointer; font-size: 21px; }
.site-editor-drawer iframe { width: 100%; height: 100%; border: 0; background: #eef2f5; }

.site-editor-toast {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: min(390px,calc(100vw - 48px));
  padding: 13px 17px;
  border-radius: 10px;
  color: #fff;
  background: #102433;
  box-shadow: 0 16px 45px rgba(0,20,35,.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s,transform .2s;
  font-size: 11px;
  font-weight: 650;
}
.site-editor-toast.is-visible { opacity: 1; transform: translateY(0); }
.site-editor-toast[data-kind="error"] { background: #b42318; }
.site-editor-toast[data-kind="info"] { background: #245b93; }

body.site-editor-active [data-live-edit] {
  position: relative;
  outline: 1px dashed rgba(47,128,237,.58);
  outline-offset: 5px;
  cursor: text !important;
  transition: outline-color .15s,box-shadow .15s,background-color .15s;
}
body.site-editor-active [data-live-edit]:hover {
  outline: 2px solid rgba(47,128,237,.88);
  outline-offset: 5px;
}
body.site-editor-active [data-live-edit]:focus {
  z-index: 3;
  outline: 3px solid #2f80ed;
  outline-offset: 6px;
  border-radius: 2px;
  background-color: rgba(47,128,237,.1) !important;
  box-shadow: 0 0 0 7px rgba(47,128,237,.11);
}
body.site-editor-active .vehicle-card,
body.site-editor-active .news-card,
body.site-editor-active .testimonial-card {
  outline: 1px dashed rgba(47,128,237,.48);
  outline-offset: 5px;
  cursor: pointer;
}
body.site-editor-active .vehicle-card:hover,
body.site-editor-active .news-card:hover,
body.site-editor-active .testimonial-card:hover { outline: 2px solid #2f80ed; }
body.site-editor-active [data-live-edit] a { pointer-events: none; }
body.site-editor-active.site-editor-dirty .site-editor-save { background: var(--editor-blue); }

@media (max-width: 980px) {
  .site-editor-toolbar { top: 8px; left: 8px; right: 8px; max-width: none; transform: translateY(-20px); }
  .site-editor-shell.is-active .site-editor-toolbar { transform: translateY(0); }
  .site-editor-mode, .site-editor-brand { display: none; }
  .site-editor-drawer { width: 100%; top: 62px; }
}

@media (max-width: 720px) {
  .hero, .hero-inner { min-height: 650px; }
  .hero-copy { padding-top: 0; }
  .site-editor-toast { right: 12px; bottom: 12px; }
}
