/* ═══════════════════════════════════════════
   ZERO MAX — HEADER CSS
   Centered-logo nav · Dark & Orange Theme
   ═══════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
    --gv-gold:        #C9A84C;
    --gv-gold-light:  #E0C978;
    --gv-gold-dark:   #A8872E;
    /* Zero Max brand accent — scoped to header-only selectors so the
       site-wide --gv-gold tokens (buttons/prices on other pages) are
       left untouched. Approximate hex until final brand colors land. */
    --zm-orange:       #FF6A2B;
    --zm-orange-light: #FF8A52;
    --zm-orange-dark:  #D9531B;
    --gv-black:       #0A0A0A;
    --gv-black-soft:  #141414;
    --gv-gray-900:    #1A1A1A;
    --gv-gray-800:    #222222;
    --gv-gray-700:    #2C2C2C;
    --gv-gray-600:    #3A3A3A;
    --gv-gray-500:    #4A4A4A;
    --gv-gray-400:    #6A6A6A;
    --gv-gray-300:    #9A9A9A;
    --gv-gray-200:    #CCCCCC;
    --gv-gray-100:    #E8E8E8;
    --gv-white:       #FFFFFF;
    --gv-font:        'Poppins', sans-serif;
    --gv-font-display:'Poppins', sans-serif;
    --gv-transition:  0.28s cubic-bezier(.4,0,.2,1);
    --gv-shadow-sm:   0 2px 8px rgba(0,0,0,.25);
    --gv-shadow-md:   0 4px 20px rgba(0,0,0,.35);
    --gv-shadow-lg:   0 8px 40px rgba(0,0,0,.5);
    --gv-radius:      8px;
    --gv-radius-sm:   4px;
    --gv-header-h:    65px;
    --gv-ticker-h:    30px;
}

/* This is the first stylesheet that reliably loads on every page (see
   includes/header.php), so the dark background is set here rather than
   only in each page's own CSS — otherwise the browser paints its default
   white background for a moment before the page-specific stylesheet
   (home.css/all-cars.css/etc.) finishes loading, producing a visible
   white flash on every page load/navigation. */
html, body { background: var(--gv-black, #0A0A0A); }

/* Real iOS Safari silently boosts font-size on text it judges likely to
   need "reading" (a heuristic desktop Chrome — and its DevTools mobile
   emulation, still the same Blink engine — never applies), which can
   widen `white-space: nowrap` text (e.g. the ticker items below, nav
   labels) past whatever width JS/CSS assumed, pushing the whole page
   wider than the real device screen. Set here, sitewide and first, since
   it has to win before any page-specific CSS or nowrap content renders. */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ─── Google Translate overrides ─── */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
.skiptranslate { display: none !important; }

/* ══════════════════════════════════════════
   TICKER BAR — thin orange strip below header
   ══════════════════════════════════════════ */
.gv-ticker {
    width: 100%;
    height: var(--gv-ticker-h);
    background: var(--zm-orange);
    /* `clip` is the modern, purpose-built replacement for `hidden` here —
       unlike `hidden`, it's spec'd to never create a scrollable region at
       all, so a wide/animated descendant has no scroll box to (on some
       real WebKit builds) leak into the document's scroll extent through.
       `hidden` stays first as the fallback for the rare browser that
       doesn't parse `clip` — an unsupported value invalidates only that
       one declaration, leaving `hidden` in effect. `contain` isolates this
       element's layout/paint from ever affecting an ancestor regardless. */
    overflow: hidden;
    overflow: clip;
    contain: layout paint style;
    isolation: isolate;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 999;
}

/* Pure-CSS marquee: .gv-ticker-track holds exactly two identical
   server-rendered .gv-ticker-lap copies (see includes/header.php),
   sized to its natural content (`max-content`) rather than a
   JS-measured viewport multiple, and scrolled by translateX(-50%) —
   since the two laps are byte-identical, that exact halfway point loops
   with no visible seam. No JS width calculation means no dependency on
   iOS Safari's dynamic address-bar viewport resizing.
   Each lap repeats the item set 6x (see $gvTickerRepeats in
   header.php) so one lap stays wider than any viewport — duration here
   is scaled 6x alongside it (30s -> 180s) to keep the same visual
   scroll speed; if the repeat count ever changes, scale this with it. */
.gv-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: gv-ticker-scroll 180s linear infinite;
}
.gv-ticker:hover .gv-ticker-track { animation-play-state: paused; }

.gv-ticker-lap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@keyframes gv-ticker-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .gv-ticker-track { animation: none; }
}

.gv-ticker-item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    padding: 0 24px;
    font-family: var(--gv-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--gv-black);
}

.gv-ticker-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.45);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   MAIN HEADER — FLEX ROW, LOGO LEFT-ALIGNED
   Logo sits first, left-nav follows it, right-nav
   is pushed to the far right via margin-left:auto.
   ══════════════════════════════════════════ */
.gv-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Dark gradient base + faint angled light-streak overlay, approximating
       the designer's photographic dark backdrop (no source image supplied
       for it yet — swap for a real background-image here if one arrives). */
    background:
        linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.05) 52%, transparent 64%),
        linear-gradient(120deg, #0B0C10 0%, #16181D 55%, #0B0C10 100%);
    height: var(--gv-header-h);
    transition: box-shadow var(--gv-transition), border-color var(--gv-transition);
}

/* Content is capped and centered (matches the site's .wrap container
   convention — see all-cars.css/contact.css/location.css/etc. — so the
   nav+logo read as one centered block instead of stretching edge-to-edge
   on wide screens); .gv-header itself stays full-width for the bar look. */
.gv-header-inner {
    max-width: 1380px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 32px;
    /* Must not rely on a host page's own reset for this — without it,
       width:100% + padding overflows the viewport by 2x the padding. */
    box-sizing: border-box;
}

.gv-header.scrolled {
    box-shadow: var(--gv-shadow-lg);
    border-color: transparent;
}

/* ─── Hamburger (hidden desktop, shown mobile) ─── */
.gv-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 2;
}

.gv-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gv-white);
    border-radius: 2px;
    transition: transform var(--gv-transition), opacity var(--gv-transition);
    transform-origin: center;
}

.gv-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gv-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.gv-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Logo: absolute true screen-center ── */
.gv-logo-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gv-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.gv-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ══════════════════════════════════════════
   DESKTOP NAVIGATION
   ══════════════════════════════════════════ */
.gv-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.gv-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    align-items: center;
}

/* Left nav and .gv-nav-right-group evenly split the space flanking the
   absolutely-positioned logo (which doesn't participate in flex layout),
   so both sides stay equal width regardless of how much nav content each
   side has — keeps the logo optically centered, not just pixel-centered.
   Content stays hugging the OUTER edge of each 50% column (flex-start on
   the left, flex-end on the right group) — same as the original flush-left
   / flush-right layout — so nav items never encroach on the logo's own
   footprint in the middle. */
.gv-nav--left  { flex: 1 1 0; min-width: 0; }
.gv-nav--left ul  { justify-content: flex-start; }

.gv-nav--right { flex: 0 1 auto; min-width: 0; }
.gv-nav--right ul { justify-content: flex-start; }

/* Wraps .gv-nav--right + .gv-right into one column matching .gv-nav--left's
   width; flex-end packs both flush to the outer (right) edge, mirroring
   the left nav. */
.gv-nav-right-group { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: flex-end; }

.gv-nav li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.gv-nav li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 15px;
    height: 100%;
    font-family: var(--gv-font);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--gv-transition);
    position: relative;
}

/* Dropdown trigger button same style */
.gv-has-drop > a {
    background: none;
    border: none;
    cursor: pointer;
}

/* White underline reveal on hover / active */
.gv-nav li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--gv-white);
    transform: scaleX(0);
    transition: transform var(--gv-transition);
    transform-origin: center;
}

.gv-nav li > a:hover { color: var(--gv-white); }
.gv-nav li > a:hover::after { transform: scaleX(1); }

.gv-nav li.gv-active > a {
    color: var(--zm-orange);
    font-weight: 700;
}

/* Chevron */
.gv-chevron {
    font-size: 9px;
    opacity: 0.7;
    transition: transform var(--gv-transition);
    margin-top: 1px;
}
.gv-has-drop.is-open .gv-chevron { transform: rotate(180deg); }

/* ══════════════════════════════════════════
   DROPDOWNS
   ══════════════════════════════════════════ */
.gv-has-drop { position: relative; }

.gv-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--gv-gray-900);
    border: 1px solid var(--gv-gray-700);
    border-radius: var(--gv-radius);
    box-shadow: var(--gv-shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--gv-transition), transform var(--gv-transition), visibility var(--gv-transition);
    z-index: 999;
}

.gv-has-drop.is-open .gv-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Invisible bridge: fills gap between nav item and dropdown so hover doesn't break */
.gv-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

/* Left-nav dropdowns align to left edge of the trigger item */
.gv-nav--left .gv-has-drop .gv-dropdown {
    left: 0;
    transform: translateX(0) translateY(6px);
}
.gv-nav--left .gv-has-drop.is-open .gv-dropdown {
    transform: translateX(0) translateY(0);
}

.gv-drop-title {
    font-family: var(--gv-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gv-gray-300);
    padding: 12px 16px 8px;
    border-bottom: 1px solid var(--gv-gray-700);
}

/* ─── Brands dropdown ───
   6 fixed Zero Max brands — same bordered logo-tile look as the
   .zm-*-brand-card component used sitewide (home/all-cars/brand pages),
   just sized for a mega-menu. Fixed count means no scrolling needed. */
.gv-brands-drop {
    width: 480px;
    max-width: 90vw;
}

.gv-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 20px;
}

.gv-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2 / 1;
    padding: 16px 18px;
    border: 1px solid var(--gv-gray-600);
    border-radius: var(--gv-radius-sm);
    text-decoration: none;
    transition: border-color var(--gv-transition), transform var(--gv-transition), background var(--gv-transition);
}
.gv-brand-item:hover {
    border-color: var(--zm-orange);
    background: rgba(255, 255, 255, .04);
    transform: translateY(-2px);
}
.gv-brand-item img { width: 100%; height: 100%; object-fit: contain; }

/* ─── Categories dropdown ─── */
.gv-cats-drop {
    width: 280px;
    max-width: 90vw;
}

.gv-cats-drop .gv-cats-grid {
    display: block;
    padding: 6px;
}

.gv-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-radius: var(--gv-radius-sm);
    text-decoration: none;
    transition: background var(--gv-transition);
}
.gv-cat-item:hover { background: var(--gv-gray-700); }

.gv-cat-icon {
    width: 38px;
    height: 30px;
    background: var(--gv-gray-700);
    border-radius: var(--gv-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.gv-cat-icon img { width: 100%; height: 100%; object-fit: cover; }

.gv-cat-name {
    flex: 1;
    font-family: var(--gv-font);
    font-size: 13px;
    font-weight: 500;
    color: var(--gv-gray-100);
    transition: color var(--gv-transition);
}
.gv-cat-item:hover .gv-cat-name { color: var(--gv-white); }

.gv-cat-arrow {
    font-size: 14px;
    color: var(--gv-gray-400);
    transition: color var(--gv-transition), transform var(--gv-transition);
}
.gv-cat-item:hover .gv-cat-arrow { color: var(--gv-white); transform: translateX(3px); }

/* ══════════════════════════════════════════
   RIGHT CONTACT + LANGUAGE STRIP
   Trailing flex item, flush against the right edge
   ══════════════════════════════════════════ */
.gv-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
    padding-left: 16px;
    border-left: 1px solid var(--gv-gray-700);
    flex-shrink: 0;
}

/* Icon-only by design (not just a narrow-screen fallback) — keeps the
   right side of the centered nav row close in weight to the left side,
   which has no phone/language equivalent. */
.gv-phone-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--gv-font);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--gv-gray-300);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--gv-transition);
}
.gv-phone-link:hover { color: var(--zm-orange); }
.gv-phone-link span { display: none; }

.gv-phone-link svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--gv-gray-300);
    transition: color var(--gv-transition);
}
.gv-phone-link:hover svg { color: var(--zm-orange); }

/* Email always hidden in header — shown in mobile sidebar */
.gv-email-link { display: none !important; }

/* ══════════════════════════════════════════
   LANGUAGE SWITCHER
   ══════════════════════════════════════════ */
.gv-lang { position: relative; }

/* Icon-only (flag + chevron) — the visible label text is hidden below so
   this reads as a compact button, matching the icon-only phone link. */
.gv-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    background: var(--gv-gray-800);
    border: 1px solid var(--gv-gray-600);
    border-radius: var(--gv-radius-sm);
    cursor: pointer;
    font-family: var(--gv-font);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--gv-gray-200);
    transition: border-color var(--gv-transition), color var(--gv-transition);
    white-space: nowrap;
}
.gv-lang-btn-text { display: none; }
.gv-lang-btn:hover,
.gv-lang.is-open .gv-lang-btn { border-color: var(--zm-orange); color: var(--gv-white); }

.gv-lang-btn img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.gv-lang-chevron {
    font-size: 8px;
    opacity: 0.7;
    transition: transform var(--gv-transition);
}
.gv-lang.is-open .gv-lang-chevron { transform: rotate(180deg); }

.gv-lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 150px;
    background: var(--gv-gray-900);
    border: 1px solid var(--gv-gray-700);
    border-radius: var(--gv-radius);
    box-shadow: var(--gv-shadow-lg);
    padding: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--gv-transition), visibility var(--gv-transition), transform var(--gv-transition);
    z-index: 1010;
}
.gv-lang.is-open .gv-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gv-lang-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--gv-radius-sm);
    font-family: var(--gv-font);
    font-size: 12.5px;
    color: var(--gv-gray-200);
    cursor: pointer;
    transition: background var(--gv-transition), color var(--gv-transition);
}
.gv-lang-opt:hover { background: var(--gv-gray-700); color: var(--gv-white); }
.gv-lang-opt.gv-lang-active { color: var(--zm-orange); font-weight: 700; }

.gv-lang-opt img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   MOBILE OVERLAY
   ══════════════════════════════════════════ */
.gv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--gv-transition), visibility var(--gv-transition);
}
.gv-overlay.is-open { opacity: 1; visibility: visible; }

/* ══════════════════════════════════════════
   MOBILE SIDEBAR
   ══════════════════════════════════════════ */
.gv-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: linear-gradient(160deg, #0B0C10 0%, #16181D 60%, #0B0C10 100%);
    border-left: 1px solid var(--gv-gray-700);
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.gv-sidebar.is-open { transform: translateX(0); }

.gv-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    min-height: 60px;
    border-bottom: 1px solid var(--gv-gray-700);
    flex-shrink: 0;
}

.gv-sidebar-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.gv-sidebar-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--gv-gray-600);
    border-radius: var(--gv-radius-sm);
    color: var(--gv-gray-300);
    font-size: 14px;
    cursor: pointer;
    transition: border-color var(--gv-transition), color var(--gv-transition);
}
.gv-sidebar-close:hover { border-color: var(--zm-orange); color: var(--zm-orange); }

/* Mobile nav links */
.gv-mob-nav { flex: 1; }

.gv-mob-nav > ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.gv-mob-nav > ul > li > a,
.gv-mob-nav > ul > li > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 20px;
    font-family: var(--gv-font);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--gv-gray-200);
    text-decoration: none;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: color var(--gv-transition), background var(--gv-transition);
    box-sizing: border-box;
}

.gv-mob-nav > ul > li > a:hover,
.gv-mob-nav > ul > li > button:hover {
    color: var(--gv-white);
    background: var(--gv-gray-900);
}

.gv-mob-nav > ul > li.gv-page-active > a {
    color: var(--zm-orange);
    border-left-color: var(--zm-orange);
    background: var(--gv-gray-900);
}

.gv-mob-chev {
    font-size: 10px;
    opacity: 0.6;
    transition: transform var(--gv-transition);
}
.gv-mob-trigger.is-open .gv-mob-chev { transform: rotate(180deg); }

/* Mobile submenus */
.gv-mob-sub {
    max-height: 0;
    overflow: hidden;
    background: var(--gv-gray-900);
    transition: max-height 0.3s ease;
}
.gv-mob-sub.is-open { max-height: 500px; }

.gv-mob-sub a {
    display: block;
    padding: 10px 20px 10px 32px;
    font-family: var(--gv-font);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--gv-gray-300);
    text-decoration: none;
    border-bottom: 1px solid var(--gv-gray-800);
    transition: color var(--gv-transition), background var(--gv-transition);
}
.gv-mob-sub a:last-child { border-bottom: none; }
.gv-mob-sub a:hover { color: var(--gv-white); background: var(--gv-gray-800); }

/* Sidebar footer */
.gv-sidebar-foot {
    border-top: 1px solid var(--gv-gray-700);
    padding: 18px 20px;
    flex-shrink: 0;
}

.gv-mob-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.gv-mob-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--gv-font);
    font-size: 12.5px;
    color: var(--gv-gray-300);
    text-decoration: none;
    transition: color var(--gv-transition);
}
.gv-mob-contact-item:hover { color: var(--gv-white); }

.gv-mob-langs-label {
    font-family: var(--gv-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gv-gray-400);
    margin-bottom: 10px;
}

.gv-mob-langs { display: flex; flex-wrap: wrap; gap: 6px; }

.gv-mob-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: none;
    border: 1px solid var(--gv-gray-600);
    border-radius: var(--gv-radius-sm);
    font-family: var(--gv-font);
    font-size: 11px;
    font-weight: 600;
    color: var(--gv-gray-300);
    cursor: pointer;
    transition: border-color var(--gv-transition), color var(--gv-transition), background var(--gv-transition);
}
.gv-mob-lang-btn img { width: 16px; height: 11px; object-fit: cover; border-radius: 1px; }
.gv-mob-lang-btn:hover { border-color: var(--zm-orange); color: var(--gv-white); }
.gv-mob-lang-btn.is-active { border-color: var(--zm-orange); color: var(--zm-orange); background: var(--gv-gray-800); }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1280px)
   Compress nav padding
   ══════════════════════════════════════════ */
@media (max-width: 1280px) {
    .gv-nav li > a { padding: 0 11px; }
    .gv-right { gap: 8px; }
}

@media (max-width: 1100px) {
    .gv-nav li > a { font-size: 12px; padding: 0 8px; }
    .gv-logo img { height: 44px; }
    .gv-right { padding-left: 10px; gap: 8px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 900px)
   Hamburger + centered logo only
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
    .gv-header { height: 60px; }
    .gv-header-inner { padding: 0 16px; }

    /* margin-left:auto pins the hamburger to the right edge — it's the
       only in-flow flex child left in .gv-header-inner once the nav
       columns are hidden below, since .gv-logo-wrap keeps the desktop
       rule's absolute centering (see above) rather than rejoining the
       flex flow. */
    .gv-hamburger { display: flex; order: 2; margin-left: auto; }

    .gv-nav--left,
    .gv-nav--right,
    .gv-right,
    .gv-nav-right-group { display: none; }

    /* .gv-logo-wrap intentionally keeps the desktop rule's absolute
       true-screen-center positioning here — it used to get reset to
       flex:1 + justify-content:center, which only centers the logo
       within the space left over *after* the hamburger's own width,
       pulling it visibly left of true center. Absolute positioning
       takes it out of the flex flow entirely, so the hamburger's
       width/presence can't affect it. */
    .gv-logo img { height: 38px; }

    .gv-ticker-item { font-size: 10px; padding: 0 16px; gap: 8px; }
}

@media (max-width: 480px) {
    .gv-header  { height: 56px; }
    .gv-header-inner { padding: 0 12px; }
    .gv-logo img { height: 34px; }
    .gv-sidebar { width: 280px; }
    .gv-ticker  { height: 30px; }
    .gv-ticker-item { font-size: 9.5px; padding: 0 12px; }
}


/* ════════════════════════════════════════════════════════════
   CARD IMAGE CYCLER — shared sitewide across every vehicle card
   grid (homepage fleet, all-cars, brand pages, similar-vehicles).
   Hooked purely via [data-images] + .zm-card-nav so it needs no
   changes to any page's own card CSS. JS lives in header.js.
════════════════════════════════════════════════════════════ */
[data-images] { position: relative }
.zm-card-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10,10,10,.55); border: 1px solid rgba(255,255,255,.25);
    color: #fff; opacity: 0; z-index: 3; cursor: pointer;
    transition: opacity .2s, background .2s, border-color .2s;
}
[data-images]:hover .zm-card-nav { opacity: 1 }
.zm-card-nav:hover { background: var(--zm-orange, #FF6A2B); border-color: var(--zm-orange, #FF6A2B) }
.zm-card-nav--prev { left: 10px }
.zm-card-nav--next { right: 10px }
.zm-card-nav svg { width: 14px; height: 14px }

@media (hover: none) {
    .zm-card-nav { opacity: .85 }
}


/* ════════════════════════════════════════════════════════════
   SWEETALERT2 — mobile-responsive overrides, shared sitewide.
   Library is loaded once in includes/footer.php, so every form's
   result modal (contact.php, index.php, vehicle-details.php)
   inherits this automatically without per-page duplication.
════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .swal2-popup {
        width: calc(100% - 32px) !important;
        padding: 1.25em 1em 1.5em !important;
    }
    .swal2-title { font-size: 1.2em !important; padding: .5em .5em 0 !important; }
    .swal2-html-container { font-size: .95em !important; margin: .8em 1em 0 !important; }
    .swal2-icon { width: 3.5em !important; height: 3.5em !important; margin: 1.4em auto 1em !important; }
    .swal2-actions { width: 100%; margin-top: 1.2em !important; }
    .swal2-styled.swal2-confirm { width: 100%; padding: 12px !important; font-size: 15px !important; }
}
