/* Car Drive overrides on top of the Framer template */
#__framer-badge-container, .__framer-badge { display: none !important; }

.um-logo {
  display: inline-flex; align-items: baseline; gap: .28em; white-space: nowrap;
  font-family: "Space Grotesk", "Space Grotesk Placeholder", sans-serif;
  font-weight: 500; font-size: 20px; letter-spacing: .02em; line-height: 1; color: currentColor;
}
.um-logo b { font-weight: 700; }

/* FAQ accordions (re-implemented without the Framer runtime) */
[data-um-faq] { cursor: pointer; }
[data-um-faq] [data-framer-name="Answer"] { display: none; }
[data-um-faq].um-open [data-framer-name="Answer"] { display: block; height: auto !important; opacity: 1 !important; }

/* inventory filtering */
.um-hidden { display: none !important; }
.um-note { font-size: 13px; line-height: 1.5; opacity: .65; margin-top: 14px; }
.um-map { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: 16px; }
a .um-logo, .um-logo { color: #000; }
footer .um-logo { color: inherit; }
.um-acc.um-open, .um-acc.um-open > div, .um-acc.um-open [data-um-acc-body] { height: auto !important; overflow: visible !important; }
.um-acc [data-um-acc-head] { cursor: pointer; }
.um-acc.um-open [data-um-acc-body] { opacity: 1 !important; }
.um-acc:not(.um-open) [data-um-acc-body] { pointer-events: none; }
.um-lease { margin-top: 12px; }
[data-um-cprev], [data-um-cnext], [data-um-dot] { cursor: pointer; }


/* mobile header (the clone only has the desktop nav) */
.um-burger, .um-mnav { display: none; }
@media (max-width: 809.98px) {
  nav.um-nav { width: 100% !important; max-width: 100vw; }
  nav.um-nav [data-framer-name="Links"] { display: none !important; }
  nav.um-nav [data-framer-name="Content"] { padding: 8px 16px !important; justify-content: space-between !important; }
  nav.um-nav [data-framer-name="Content"] > div:not([data-framer-name="Logo Container"]):not(.um-mnav) { display: none !important; }
  .um-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 12px;
    border: 0; background: #0a0a0a; cursor: pointer; padding: 0 13px; }
  .um-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; }
  .um-mnav:not([hidden]) { display: flex; flex-direction: column; position: absolute; top: 100%; left: 12px; right: 12px; margin-top: 8px;
    background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.15); z-index: 50; }
  .um-mnav a { padding: 14px 16px; font: 500 16px/1.2 "Space Grotesk", sans-serif; color: #000; text-decoration: none; border-radius: 10px; }
  .um-mnav a:hover { background: #f2f2f2; }
}

/* inner-page hero photo (fills the band the template left empty) */
[data-um-hero] { position: relative; }
.um-hero-photo { position: absolute; left: 50%; transform: translateX(-50%); top: 32%; bottom: 25%; width: min(1000px, calc(100% - 80px)); border-radius: 20px; overflow: hidden; pointer-events: none; z-index: 0; }
.um-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
[data-um-hero] > *:not(.um-hero-photo) { position: relative; z-index: 1; }
@media (max-width: 809.98px) {
  .um-hero-photo { position: relative; left: auto; transform: none; top: auto; bottom: auto; width: calc(100% - 32px); height: 240px; margin: 0 16px 24px; }
}

/* Footer on phones: the SSR footer is the desktop variant (Framer swapped it at runtime),
   so stack the heading above the link pills instead of squeezing them side by side. */
@media (max-width: 809.98px) {
  footer [data-framer-name="Main"] { flex-direction: column !important; align-items: stretch !important; gap: 40px !important; width: 100% !important; }
  footer [data-framer-name="Infos"], footer [data-framer-name="Infos"] > *, footer [data-framer-name="Text & Buttons"] { width: 100% !important; max-width: none !important; }
  footer [data-framer-name="Links"] { width: 100% !important; justify-content: flex-start !important; gap: 12px !important; }
  footer [data-framer-name="Column Left"], footer [data-framer-name="Column Right"] { width: auto !important; flex: 1 1 0 !important; align-items: stretch !important; }
  footer [data-framer-name="CTAs"] { flex-wrap: wrap !important; width: 100% !important; }
}
@media (max-width: 809.98px) {
  footer [data-framer-name="Copyright"], footer [data-framer-name="Copyright"] > * { width: 100% !important; max-width: 100% !important; flex-wrap: wrap !important; }
  footer [data-framer-name="Copyright"] span { white-space: normal !important; }
}
