/* Shared public site shell: header, navigation and footer. */
:root {
    --mw-shell-red: #c91f2c;
    --mw-shell-red-dark: #a91520;
    --mw-shell-dark: #202020;
    --mw-shell-text: #292929;
    --mw-shell-muted: #6b7280;
    --mw-shell-border: #e2e4e8;
}

html { scroll-behavior: smooth; }
body.mw-site-body {
    margin: 0;
    overflow-x: hidden;
    background: #fff;
    color: var(--mw-shell-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}
body.mw-site-body a { text-decoration: none; }
body.mw-site-body img { max-width: 100%; }
body.mw-site-body :focus-visible {
    outline: 3px solid rgba(201, 31, 44, .35);
    outline-offset: 3px;
}
.mw-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    transform: translateY(-160%);
    border-radius: 4px;
    background: #fff;
    color: #111;
    font-weight: 700;
    padding: 10px 14px;
}
.mw-skip-link:focus { transform: translateY(0); }

/* Header */
.mw-site-header { position: relative; z-index: 1030; }
.mw-site-header .container,
.mw-footer .container { max-width: 1200px; }
.mw-topbar {
    background: var(--mw-shell-dark);
    color: #fff;
    font-size: .82rem;
}
.mw-topbar-inner {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.mw-topbar a,
.mw-topbar button { color: #fff; }
.mw-topbar-contact,
.mw-topbar-actions,
.mw-social-links {
    display: flex;
    align-items: center;
}
.mw-topbar-contact { gap: 14px; }
.mw-topbar-contact a,
.mw-topbar-actions > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.mw-topbar-contact i { font-size: .92rem; }
.mw-topbar-divider { width: 1px; height: 22px; background: rgba(255,255,255,.45); }
.mw-topbar-actions { gap: 9px; font-size: .8rem; font-weight: 700; }
.mw-social-links { gap: 7px; margin-right: 14px; }
.mw-social-links a {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #d7d7d7;
}
.mw-social-links a:hover,
.mw-topbar a:hover,
.mw-topbar button:hover { color: #fff; opacity: .82; }
.mw-logout-form { display: inline; margin: 0; }
.mw-logout-form button {
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 700;
    padding: 0;
}

.mw-navbar {
    min-height: 112px;
    border-bottom: 1px solid #ededed;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    padding: 0;
}
.mw-navbar-inner { position: relative; min-height: 112px; }
.mw-brand {
    display: inline-flex;
    width: 195px;
    min-width: 160px;
    align-items: center;
    padding: 10px 0;
}
.mw-brand img {
    width: auto;
    max-width: 190px;
    height: 74px;
    object-fit: contain;
}
.mw-navbar-toggler {
    display: grid;
    width: 44px;
    height: 42px;
    place-items: center;
    border: 1px solid #d7d9dd;
    border-radius: 5px;
    color: #222;
    font-size: 1.25rem;
}
.mw-main-nav { gap: 1px; }
.mw-main-nav .nav-item { position: relative; }
.mw-nav-link {
    position: relative;
    color: #202020 !important;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .015em;
    padding: 43px 10px 38px !important;
    white-space: nowrap;
}
.mw-nav-link::after {
    position: absolute;
    right: 10px;
    bottom: 27px;
    left: 10px;
    height: 4px;
    transform: scaleX(0);
    background: var(--mw-shell-red);
    content: "";
    transition: transform .18s ease;
}
.mw-nav-link:hover,
.mw-nav-link:focus,
.mw-has-mega.is-active .mw-nav-link { color: var(--mw-shell-red) !important; }
.mw-nav-link:hover::after,
.mw-nav-link:focus::after,
.mw-has-mega.is-active .mw-nav-link::after { transform: scaleX(1); }
.mw-mega-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    font-family: inherit;
    line-height: inherit;
    text-align: left;
}
.mw-mega-trigger i { color: #3d3d3d; font-size: .9rem; transition: transform .18s ease, color .18s ease; }
.mw-has-mega.is-open .mw-mega-trigger { color: var(--mw-shell-red) !important; }
.mw-has-mega.is-open .mw-mega-trigger::after { transform: scaleX(1); }
.mw-has-mega.is-open .mw-mega-trigger i { transform: rotate(180deg); color: var(--mw-shell-red); }
.mw-post-nav { margin-left: 20px; }
.mw-post-ad {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--mw-shell-red);
    border-radius: 6px;
    background: var(--mw-shell-red);
    box-shadow: 0 5px 10px rgba(201, 31, 44, .22);
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
    padding: 0 24px;
    white-space: nowrap;
}
.mw-post-ad:hover,
.mw-post-ad:focus { background: var(--mw-shell-red-dark); color: #fff; }

/* Used Cars mega menu */
.mw-has-mega { position: static !important; }
.mw-mega-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    width: min(1120px, calc(100vw - 32px));
    visibility: hidden;
    transform: translate(-50%, 10px);
    border: 1px solid #e4e5e7;
    border-bottom: 5px solid var(--mw-shell-red);
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.mw-has-mega.is-open .mw-mega-menu {
    visibility: visible;
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}
.mw-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mw-mega-column {
    min-width: 0;
    border-right: 1px solid #e7e8eb;
    padding: 24px 18px 20px;
}
.mw-mega-column:last-child { border-right: 0; }
.mw-mega-column h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 10px;
    color: #262626;
    font-size: 1rem;
    font-weight: 700;
}
.mw-mega-column h2 i { color: #444; }
.mw-mega-column > a {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid #ececef;
    color: #353535;
    padding: 9px 4px;
}
.mw-mega-column > a:last-child { border-bottom: 0; }
.mw-mega-column > a:hover,
.mw-mega-column > a:focus { color: var(--mw-shell-red); }
.mw-mega-column > a strong,
.mw-mega-column > a small { display: block; }
.mw-mega-column > a strong { font-size: .86rem; }
.mw-mega-column > a small { margin-top: 2px; color: #777; font-size: .71rem; line-height: 1.35; }
.mw-mega-icon {
    display: grid;
    width: 28px;
    flex: 0 0 28px;
    color: #333;
    font-size: 1rem;
    place-items: center;
}
.mw-maker-mark,
.mw-city-mark {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: #f4f4f5;
    color: var(--mw-shell-red);
    font-size: .75rem;
    font-weight: 800;
}
.mw-maker-mark img { width: 26px; height: 26px; object-fit: contain; }
.mw-mega-list > a { min-height: 49px; }
.mw-mega-list > a strong { font-weight: 600; }
.mw-mega-empty { margin: 18px 0 0; color: #777; font-size: .82rem; }

/* Footer */
.mw-footer { background: #242424; color: #d0d0d0; }
.mw-footer-main { padding-top: 54px; padding-bottom: 48px; }
.mw-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.25fr .72fr 1.15fr;
    gap: 34px;
}
.mw-footer h3 {
    margin: 0 0 17px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
}
.mw-footer p { color: #c2c2c2; font-size: .82rem; line-height: 1.7; }
.mw-footer a { display: block; color: #d0d0d0; font-size: .79rem; margin-bottom: 7px; }
.mw-footer a:hover,
.mw-footer a:focus { color: #fff; }
.mw-footer-logo { width: 178px; height: 88px; object-fit: contain; object-position: left center; }
.mw-footer-about > p { max-width: 315px; margin: 12px 0 20px; }
.mw-store-buttons,
.mw-home-app-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-store-buttons > a,
.mw-store-buttons > span,
.mw-home-app-actions > a,
.mw-home-app-actions > span {
    display: inline-flex;
    min-width: 126px;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    border: 1px solid #505050;
    border-radius: 4px;
    background: #111;
    color: #fff;
    margin: 0;
    padding: 6px 10px;
}
.mw-store-buttons i,
.mw-home-app-actions i { font-size: 1.3rem; }
.mw-store-buttons span span,
.mw-store-buttons a span,
.mw-home-app-actions span span,
.mw-home-app-actions a span { display: flex; flex-direction: column; font-size: .72rem; font-weight: 700; line-height: 1.05; }
.mw-store-buttons small,
.mw-home-app-actions small { font-size: .48rem; font-weight: 400; }
.mw-footer-link-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.mw-newsletter { display: flex; margin-bottom: 5px; }
.mw-newsletter input {
    width: 100%;
    min-width: 0;
    height: 40px;
    border: 1px solid #555;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    background: #fff;
    color: #222;
    font-size: .78rem;
    padding: 0 11px;
}
.mw-newsletter button {
    height: 40px;
    border: 1px solid var(--mw-shell-red);
    border-radius: 0 4px 4px 0;
    background: var(--mw-shell-red);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 0 13px;
}
.mw-newsletter-status { min-height: 18px; margin: 0 0 12px; color: #ececec !important; font-size: .72rem !important; }
.mw-footer-contact-list a,
.mw-footer-contact-list p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
}
.mw-footer-contact-list i { width: 16px; margin-top: 4px; color: #fff; text-align: center; }
.mw-footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mw-footer-social a {
    display: grid;
    width: 31px;
    height: 31px;
    margin: 0;
    place-items: center;
    border-radius: 3px;
    background: #fff;
    color: #242424;
}
.mw-footer-social a:hover { background: var(--mw-shell-red); color: #fff; }
.mw-footer-bottom { border-top: 1px solid #3a3a3a; background: #1c1c1c; font-size: .73rem; }
.mw-footer-bottom .container {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.mw-footer-bottom a { display: inline; margin: 0; font-size: inherit; }

@media (min-width: 992px) {
    .mw-navbar-collapse { align-self: stretch; }
    .mw-main-nav { height: 100%; }
    .mw-main-nav > .nav-item { display: flex; align-items: center; }
}

@media (max-width: 1199px) {
    .mw-brand { width: 150px; min-width: 135px; }
    .mw-brand img { max-width: 145px; height: 64px; }
    .mw-nav-link { font-size: .75rem; padding-right: 7px !important; padding-left: 7px !important; }
    .mw-nav-link::after { right: 7px; left: 7px; }
    .mw-post-nav { margin-left: 8px; }
    .mw-post-ad { padding: 0 15px; }
    .mw-footer-grid { grid-template-columns: 1.1fr 1.15fr .7fr 1fr; gap: 24px; }
}

@media (max-width: 991px) {
    .mw-navbar,
    .mw-navbar-inner { min-height: 84px; }
    .mw-brand { width: auto; min-width: 0; }
    .mw-brand img { max-width: 165px; height: 62px; }
    .mw-navbar-collapse {
        position: absolute;
        top: 100%;
        right: 12px;
        left: 12px;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        border: 1px solid #e2e3e6;
        border-top: 4px solid var(--mw-shell-red);
        border-radius: 0 0 7px 7px;
        background: #fff;
        box-shadow: 0 18px 35px rgba(0,0,0,.18);
        padding: 8px 16px 18px;
    }
    .mw-main-nav { align-items: stretch !important; }
    .mw-nav-link {
        width: 100%;
        flex: 1;
        justify-content: space-between;
        border-bottom: 1px solid #ededed;
        padding: 13px 4px !important;
    }
    .mw-nav-link::after { right: auto; bottom: -1px; left: 4px; width: 46px; }
    .mw-mega-trigger i { margin-right: 12px; }
    .mw-post-nav { margin: 13px 0 0; }
    .mw-post-ad { width: 100%; min-height: 47px; }
    .mw-mega-menu {
        position: static;
        width: 100%;
        max-height: 0;
        visibility: visible;
        overflow: hidden;
        transform: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: none;
        transition: max-height .25s ease;
    }
    .mw-has-mega.is-open .mw-mega-menu { max-height: 1800px; transform: none; pointer-events: auto; }
    .mw-mega-grid { grid-template-columns: 1fr 1fr; border-bottom: 4px solid var(--mw-shell-red); }
    .mw-mega-column { border-right: 1px solid #e7e8eb; border-bottom: 1px solid #e7e8eb; padding: 18px 13px; }
    .mw-mega-column:nth-child(2n) { border-right: 0; }
    .mw-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .mw-topbar-inner { min-height: 38px; }
    .mw-topbar-contact a:nth-of-type(2),
    .mw-topbar-divider { display: none; }
    .mw-topbar-actions { margin-left: auto; }
    .mw-topbar-actions > a i { display: none; }
    .mw-mega-grid { grid-template-columns: 1fr; }
    .mw-mega-column,
    .mw-mega-column:nth-child(2n) { border-right: 0; }
    .mw-footer-main { padding-top: 42px; }
    .mw-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .mw-footer-link-columns { max-width: 480px; }
    .mw-footer-bottom .container { flex-direction: column; justify-content: center; padding-top: 12px; padding-bottom: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .mw-topbar { font-size: .72rem; }
    .mw-topbar-contact span { max-width: 135px; overflow: hidden; text-overflow: ellipsis; }
    .mw-topbar-actions { gap: 5px; font-size: .7rem; }
    .mw-navbar-collapse { right: 8px; left: 8px; }
    .mw-brand img { max-width: 145px; height: 56px; }
    .mw-footer-link-columns { grid-template-columns: 1fr; }
}

/* Typography alignment with the supplied live MyWheels reference. */
body.mw-site-body,
body.mw-site-body button,
body.mw-site-body input,
body.mw-site-body select,
body.mw-site-body textarea {
    font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
}

.mw-topbar { font-size: 13px; }
.mw-topbar-actions { font-size: 13px; font-weight: 600; }
.mw-nav-link { font-size: 14px; font-weight: 600; }
.mw-post-ad { font-size: 14px; font-weight: 700; }
.mw-mega-column h2 { font-size: 17px; }
.mw-mega-column > a strong { font-size: 14px; }
.mw-mega-column > a small { font-size: 12px; }
.mw-mega-empty { font-size: 13px; }
.mw-footer h3 { font-size: 18px; }
.mw-footer p { font-size: 13px; }
.mw-footer a { font-size: 13px; }

@media (max-width: 991px) {
    .mw-nav-link { font-size: 14px; }
}
