/* Autos Esquivel — navegación pública 2026.
 * Única fuente de estilos para desktop, tablet y móvil.
 * No mantener reglas del menú en otros archivos para evitar cascadas conflictivas.
 */

:root {
    --ae-nav-bg: #050505;
    --ae-nav-surface: #0d0d0e;
    --ae-nav-hover: #151516;
    --ae-nav-text: #f7f7f7;
    --ae-nav-soft: #9a9a9f;
    --ae-nav-muted: #707075;
    --ae-nav-border: #252527;
    --ae-nav-border-strong: #39393c;
    --ae-nav-primary-bg: #f7f7f7;
    --ae-nav-primary-text: #080809;
    --ae-nav-font: "Manrope", "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

html[data-theme="light"] {
    --ae-nav-bg: #ffffff;
    --ae-nav-surface: #f8f8f8;
    --ae-nav-hover: #f1f1f1;
    --ae-nav-text: #101011;
    --ae-nav-soft: #636367;
    --ae-nav-muted: #8a8a8f;
    --ae-nav-border: #e6e6e7;
    --ae-nav-border-strong: #d3d3d5;
    --ae-nav-primary-bg: #101011;
    --ae-nav-primary-text: #ffffff;
}

.ae-public-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid var(--ae-nav-border);
    background: var(--ae-nav-bg);
    color: var(--ae-nav-text);
    font-family: var(--ae-nav-font);
}

.ae-public-nav *,
.ae-public-nav *::before,
.ae-public-nav *::after {
    box-sizing: border-box;
}

.ae-public-nav a {
    text-decoration: none;
}

/* Franja superior */
.ae-nav-meta {
    min-height: 28px;
    border-bottom: 1px solid var(--ae-nav-border);
    background: var(--ae-nav-surface);
}

.ae-nav-meta__inner {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ae-nav-meta__message,
.ae-nav-meta__contact {
    margin: 0;
    font-size: 9px;
    font-weight: 560;
    letter-spacing: .18em;
    line-height: 1;
    text-transform: uppercase;
}

.ae-nav-meta__message { color: var(--ae-nav-muted); }

.ae-nav-meta__contact {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ae-nav-soft);
}

.ae-nav-meta__contact a {
    color: inherit;
    transition: color 180ms ease;
}

.ae-nav-meta__contact a:hover,
.ae-nav-meta__contact a:focus-visible { color: var(--ae-nav-text); }

.ae-nav-meta__divider {
    width: 1px;
    height: 11px;
    background: var(--ae-nav-border-strong);
}

/* Barra principal */
.ae-nav-main {
    position: relative;
    background: color-mix(in srgb, var(--ae-nav-bg) 96%, transparent);
    backdrop-filter: blur(18px) saturate(110%);
    -webkit-backdrop-filter: blur(18px) saturate(110%);
}

.ae-nav-main__inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: 172px minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(18px, 1.8vw, 34px);
}

.ae-nav-brand {
    position: relative;
    width: 164px;
    height: 68px;
    display: block;
    background: none;
    transition: opacity 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1);
}

.ae-nav-brand img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    opacity: 1;
    pointer-events: none !important;
}

.ae-nav-brand:hover,
.ae-nav-brand:focus-visible {
    opacity: .82;
    transform: translateY(-1px);
}

/* Navegación desktop */
.ae-nav-links {
    min-width: 0;
    align-self: stretch;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: clamp(2px, .35vw, 7px);
}

.ae-nav-link,
.ae-nav-dropdown > summary {
    position: relative;
    min-height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(9px, .7vw, 13px);
    color: var(--ae-nav-soft);
    font-family: var(--ae-nav-font);
    font-size: 11px;
    font-weight: 520;
    letter-spacing: .115em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
    transition: color 190ms ease, transform 220ms cubic-bezier(.2,.8,.2,1), letter-spacing 220ms ease;
}

.ae-nav-dropdown > summary::-webkit-details-marker,
.ae-mobile-nav__inventory > summary::-webkit-details-marker { display: none; }

.ae-nav-link::after,
.ae-nav-dropdown > summary::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 28px;
    height: 1px;
    border-radius: 999px;
    background: var(--ae-nav-text);
    opacity: 0;
    transform: translateX(-50%) scaleX(.15);
    transform-origin: center;
    transition: opacity 180ms ease, transform 240ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease;
}

.ae-nav-link:hover,
.ae-nav-link:focus-visible,
.ae-nav-link.is-active,
.ae-nav-dropdown > summary:hover,
.ae-nav-dropdown > summary:focus-visible,
.ae-nav-dropdown[open] > summary {
    color: var(--ae-nav-text);
    transform: translateY(-1px);
    letter-spacing: .13em;
}

.ae-nav-link:hover::after,
.ae-nav-link:focus-visible::after,
.ae-nav-link.is-active::after,
.ae-nav-dropdown > summary:hover::after,
.ae-nav-dropdown > summary:focus-visible::after,
.ae-nav-dropdown[open] > summary::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
    box-shadow: 0 0 5px var(--ae-nav-text), 0 0 14px color-mix(in srgb, var(--ae-nav-text) 42%, transparent);
}

.ae-nav-link.is-active { font-weight: 600; }

.ae-nav-dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
}

.ae-nav-dropdown > summary { gap: 7px; }

.ae-nav-dropdown__chevron {
    width: 12px;
    height: 12px;
    display: inline-grid;
    place-items: center;
    color: var(--ae-nav-muted);
    font-size: 10px;
    transition: transform 220ms ease, color 180ms ease;
}

.ae-nav-dropdown[open] .ae-nav-dropdown__chevron {
    color: var(--ae-nav-text);
    transform: rotate(180deg);
}

.ae-nav-dropdown__panel {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    width: min(370px, calc(100vw - 28px));
    padding: 11px;
    border: 1px solid var(--ae-nav-border);
    border-radius: 15px;
    background: var(--ae-nav-bg);
    box-shadow: 0 28px 70px rgba(0,0,0,.25);
    transform: translateX(-50%);
}

.ae-nav-dropdown__intro {
    padding: 11px 12px 12px;
    border-bottom: 1px solid var(--ae-nav-border);
}

.ae-nav-dropdown__intro small {
    display: block;
    margin-bottom: 5px;
    color: var(--ae-nav-muted);
    font-size: 8.5px;
    font-weight: 560;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ae-nav-dropdown__intro strong {
    color: var(--ae-nav-text);
    font-size: 12px;
    font-weight: 580;
    letter-spacing: .03em;
}

.ae-nav-dropdown__list {
    display: grid;
    gap: 3px;
    padding-top: 8px;
}

.ae-nav-dropdown__list a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--ae-nav-soft);
    font-size: 10.5px;
    font-weight: 530;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.ae-nav-dropdown__list a:hover,
.ae-nav-dropdown__list a:focus-visible {
    background: var(--ae-nav-hover);
    color: var(--ae-nav-text);
    transform: translateX(3px);
}

.ae-nav-dropdown__list a span {
    color: var(--ae-nav-muted);
    font-size: 13px;
}

/* Acciones desktop */
.ae-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.ae-nav-icon-button {
    position: relative;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--ae-nav-border);
    border-radius: 13px;
    background: var(--ae-nav-surface);
    color: var(--ae-nav-text);
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1);
}

.ae-nav-icon-button:hover,
.ae-nav-icon-button:focus-visible {
    background: var(--ae-nav-hover);
    border-color: var(--ae-nav-border-strong);
    transform: translateY(-2px);
}

.ae-nav-icon-button__symbol {
    font-size: 18px;
    line-height: 1;
}

.ae-nav-favorites-count {
    position: absolute;
    top: -6px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--ae-nav-bg);
    border-radius: 999px;
    background: var(--ae-nav-text);
    color: var(--ae-nav-bg);
    font-size: 8px;
    font-weight: 700;
}

.ae-nav-cta {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border-radius: 13px;
    font-family: var(--ae-nav-font);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease;
}

.ae-nav-cta--sell {
    border: 1px solid var(--ae-nav-border-strong);
    background: transparent;
    color: var(--ae-nav-text) !important;
}

.ae-nav-cta--sell:hover,
.ae-nav-cta--sell:focus-visible {
    background: var(--ae-nav-hover);
    border-color: var(--ae-nav-soft);
    transform: translateY(-2px);
}

.ae-nav-cta__icon { transition: transform 220ms ease; }
.ae-nav-cta--sell:hover .ae-nav-cta__icon,
.ae-nav-cta--sell:focus-visible .ae-nav-cta__icon { transform: translate(2px,-2px); }

.ae-nav-cta--inventory {
    position: relative;
    min-width: 166px;
    overflow: hidden;
    border: 1px solid var(--ae-nav-primary-bg);
    background: var(--ae-nav-primary-bg);
    color: var(--ae-nav-primary-text) !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.16);
}

.ae-nav-cta--inventory::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -34%;
    width: 18%;
    height: 160%;
    background: color-mix(in srgb, var(--ae-nav-primary-text) 18%, transparent);
    transform: skewX(-18deg);
    transition: left 430ms cubic-bezier(.2,.8,.2,1);
}

.ae-nav-cta--inventory:hover,
.ae-nav-cta--inventory:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 15px 34px rgba(0,0,0,.22);
}

.ae-nav-cta--inventory:hover::before,
.ae-nav-cta--inventory:focus-visible::before { left: 118%; }

.ae-nav-cta__arrow {
    position: relative;
    z-index: 1;
    font-size: 14px;
    transition: transform 220ms ease;
}

.ae-nav-cta--inventory:hover .ae-nav-cta__arrow,
.ae-nav-cta--inventory:focus-visible .ae-nav-cta__arrow { transform: translateX(3px); }

/* Botón hamburguesa: única definición. */
.ae-nav-menu-toggle {
    position: relative;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    display: none;
    place-items: center;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ae-nav-border);
    border-radius: 14px;
    background: color-mix(in srgb, var(--ae-nav-surface) 92%, transparent);
    color: var(--ae-nav-text);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ae-nav-text) 5%, transparent);
    cursor: pointer;
    transform: translateZ(0);
    -webkit-tap-highlight-color: transparent;
    transition: background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 260ms cubic-bezier(.2,.8,.2,1);
}

.ae-nav-menu-toggle:hover,
.ae-nav-menu-toggle:focus-visible {
    background: var(--ae-nav-hover);
    border-color: var(--ae-nav-border-strong);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--ae-nav-text) 7%, transparent), 0 8px 22px rgba(0,0,0,.10);
}

.ae-nav-menu-toggle > span:not(.sr-only) {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1.5px;
    display: block;
    margin: 0;
    border-radius: 999px;
    background: currentColor;
    opacity: 1;
    transform-origin: 50% 50%;
    will-change: transform, opacity, width;
    transition: transform 360ms cubic-bezier(.22,1,.36,1), opacity 170ms ease, width 280ms cubic-bezier(.22,1,.36,1);
}

.ae-nav-menu-toggle > span:not(.sr-only):nth-child(2) { transform: translate(-50%, -7px); }
.ae-nav-menu-toggle > span:not(.sr-only):nth-child(3) { width: 14px; transform: translate(calc(-50% - 3px), -50%); }
.ae-nav-menu-toggle > span:not(.sr-only):nth-child(4) { transform: translate(-50%, 5.5px); }

.ae-nav-menu-toggle[aria-expanded="true"] {
    background: var(--ae-nav-text);
    border-color: var(--ae-nav-text);
    color: var(--ae-nav-bg);
    box-shadow: 0 10px 28px rgba(0,0,0,.16), 0 0 0 1px color-mix(in srgb, var(--ae-nav-text) 10%, transparent);
}

.ae-nav-menu-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(2) {
    width: 21px;
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ae-nav-menu-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(3) {
    width: 0;
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(.1);
}

.ae-nav-menu-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(4) {
    width: 21px;
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.ae-nav-menu-toggle[aria-expanded="true"]:active { transform: scale(.96); }

/* Menú móvil */
.ae-mobile-nav[hidden] { display: none !important; }

.ae-mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-top: 1px solid var(--ae-nav-border);
    background: color-mix(in srgb, var(--ae-nav-bg) 98%, transparent);
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.ae-mobile-nav:not([hidden]) {
    transform-origin: top center;
    animation: ae-mobile-menu-enter 360ms cubic-bezier(.22,1,.36,1) both;
}

.ae-mobile-nav__inner {
    display: grid;
    padding-block: 8px 22px;
}

.ae-mobile-nav:not([hidden]) .ae-mobile-nav__inner {
    animation: ae-mobile-menu-content 420ms 55ms cubic-bezier(.22,1,.36,1) both;
}

.ae-mobile-nav__link,
.ae-mobile-nav__inventory > summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0 4px;
    border-bottom: 1px solid var(--ae-nav-border);
    color: var(--ae-nav-text) !important;
    font-size: 11px;
    font-weight: 540;
    letter-spacing: .11em;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
}

.ae-mobile-nav__link span,
.ae-mobile-nav__inventory small {
    color: var(--ae-nav-muted);
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: .08em;
}

.ae-mobile-nav__inventory-summary {
    display: grid;
    gap: 4px;
}

.ae-mobile-nav__inventory > summary {
    position: relative;
    transition: color 220ms ease, background 220ms ease, padding 280ms cubic-bezier(.22,1,.36,1);
}

.ae-mobile-nav__inventory > summary::after {
    content: "+";
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--ae-nav-border);
    border-radius: 9px;
    color: var(--ae-nav-soft);
    font-size: 17px;
    font-weight: 350;
    transition: transform 340ms cubic-bezier(.22,1,.36,1), background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 280ms ease;
}

.ae-mobile-nav__inventory[open] > summary::after {
    background: var(--ae-nav-text);
    border-color: var(--ae-nav-text);
    color: var(--ae-nav-bg);
    transform: rotate(45deg) scale(.96);
    box-shadow: 0 7px 18px color-mix(in srgb, var(--ae-nav-text) 12%, transparent);
}

.ae-mobile-nav__categories {
    display: grid;
    gap: 6px;
    padding: 10px 0 14px;
    border-bottom: 1px solid var(--ae-nav-border);
}

.ae-mobile-nav__inventory[open] > .ae-mobile-nav__categories {
    transform-origin: top center;
    animation: ae-mobile-accordion-enter 430ms cubic-bezier(.22,1,.36,1) both;
}

.ae-mobile-nav__categories a {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 0 13px;
    border: 1px solid var(--ae-nav-border);
    border-radius: 10px;
    background: var(--ae-nav-surface);
    color: var(--ae-nav-soft) !important;
    font-size: 9.5px;
    font-weight: 530;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform 230ms cubic-bezier(.22,1,.36,1), background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 230ms ease;
}

.ae-mobile-nav__inventory[open] > .ae-mobile-nav__categories > a {
    opacity: 0;
    animation: ae-mobile-category-enter 360ms cubic-bezier(.22,1,.36,1) forwards;
}

.ae-mobile-nav__inventory[open] > .ae-mobile-nav__categories > a:nth-child(1) { animation-delay: 45ms; }
.ae-mobile-nav__inventory[open] > .ae-mobile-nav__categories > a:nth-child(2) { animation-delay: 70ms; }
.ae-mobile-nav__inventory[open] > .ae-mobile-nav__categories > a:nth-child(3) { animation-delay: 95ms; }
.ae-mobile-nav__inventory[open] > .ae-mobile-nav__categories > a:nth-child(4) { animation-delay: 120ms; }
.ae-mobile-nav__inventory[open] > .ae-mobile-nav__categories > a:nth-child(5) { animation-delay: 145ms; }
.ae-mobile-nav__inventory[open] > .ae-mobile-nav__categories > a:nth-child(6) { animation-delay: 170ms; }
.ae-mobile-nav__inventory[open] > .ae-mobile-nav__categories > a:nth-child(n+7) { animation-delay: 195ms; }

.ae-mobile-nav__categories a::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -35%;
    width: 22%;
    background: linear-gradient(105deg, transparent, color-mix(in srgb, var(--ae-nav-text) 9%, transparent), transparent);
    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
}

.ae-mobile-nav__categories a:hover,
.ae-mobile-nav__categories a:focus-visible {
    background: var(--ae-nav-hover);
    color: var(--ae-nav-text) !important;
    border-color: var(--ae-nav-border-strong);
    transform: translateX(3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.ae-mobile-nav__categories a:hover::before,
.ae-mobile-nav__categories a:focus-visible::before { animation: ae-mobile-link-glint 620ms ease both; }
.ae-mobile-nav__categories a:active { transform: scale(.985); }

.ae-mobile-nav__actions {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    padding-top: 18px;
}

.ae-mobile-nav__actions a {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 11px;
    border-radius: 12px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .09em;
    text-align: center;
    text-transform: uppercase;
}

.ae-mobile-nav__sell {
    border: 1px solid var(--ae-nav-border-strong);
    background: transparent;
    color: var(--ae-nav-text) !important;
}

.ae-mobile-nav__inventory-cta {
    border: 1px solid var(--ae-nav-primary-bg);
    background: var(--ae-nav-primary-bg);
    color: var(--ae-nav-primary-text) !important;
}

.ae-mobile-nav__whatsapp {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    border: 1px solid var(--ae-nav-border);
    border-radius: 11px;
    background: var(--ae-nav-surface);
    color: var(--ae-nav-soft) !important;
    font-size: 9px;
    font-weight: 560;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ae-public-nav a:focus-visible,
.ae-public-nav button:focus-visible,
.ae-public-nav summary:focus-visible {
    outline: 1px solid var(--ae-nav-text);
    outline-offset: 3px;
}

@keyframes ae-mobile-menu-enter {
    from { opacity: 0; transform: translateY(-10px) scaleY(.985); clip-path: inset(0 0 100% 0 round 0 0 18px 18px); }
    to { opacity: 1; transform: translateY(0) scaleY(1); clip-path: inset(0 0 0 0 round 0 0 18px 18px); }
}

@keyframes ae-mobile-menu-content {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ae-mobile-accordion-enter {
    from { opacity: 0; transform: translateY(-9px) scaleY(.96); clip-path: inset(0 0 100% 0 round 12px); }
    to { opacity: 1; transform: translateY(0) scaleY(1); clip-path: inset(0 0 0 0 round 12px); }
}

@keyframes ae-mobile-category-enter {
    from { opacity: 0; transform: translateY(-7px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ae-mobile-link-glint {
    0% { left: -35%; opacity: 0; }
    20% { opacity: 1; }
    100% { left: 118%; opacity: 0; }
}

@media (max-width: 1360px) {
    .ae-nav-main__inner {
        grid-template-columns: 145px minmax(0,1fr) auto;
        gap: 12px;
    }

    .ae-nav-brand { width: 140px; }
    .ae-nav-link, .ae-nav-dropdown > summary { padding-inline: 7px; font-size: 10px; }
    .ae-nav-cta--sell { display: none; }
}

@media (max-width: 1080px) {
    .ae-nav-main__inner {
        min-height: 76px;
        grid-template-columns: 48px minmax(110px,1fr) auto;
        gap: 9px;
    }

    .ae-nav-links,
    .ae-nav-cta--sell,
    .ae-nav-cta--inventory { display: none; }

    .ae-nav-menu-toggle {
        display: inline-grid;
        grid-column: 1;
        grid-row: 1;
    }

    .ae-nav-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        width: 124px;
        height: 58px;
        background-position: center;
        background-size: 118px auto;
    }

    .ae-nav-actions { grid-column: 3; grid-row: 1; }
}

@media (max-width: 640px) {
    .ae-nav-meta__inner { min-height: 26px; }
    .ae-nav-meta__message { display: none; }
    .ae-nav-meta__contact { width: 100%; justify-content: flex-end; font-size: 8px; }

    .ae-nav-main__inner {
        min-height: 70px;
        grid-template-columns: 42px minmax(92px,1fr) auto;
        gap: 6px;
    }

    .ae-nav-menu-toggle {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        border-radius: 12px;
    }

    .ae-nav-menu-toggle > span:not(.sr-only) { width: 19px; }
    .ae-nav-menu-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(2),
    .ae-nav-menu-toggle[aria-expanded="true"] > span:not(.sr-only):nth-child(4) { width: 20px; }

    .ae-nav-icon-button {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        border-radius: 11px;
    }

    .ae-nav-brand {
        width: 112px;
        height: 54px;
        background-size: 106px auto;
    }

    .ae-nav-actions { gap: 5px; }
    .ae-mobile-nav__actions { grid-template-columns: 1fr; }
}

@media (max-width: 372px) {
    .ae-nav-actions .ae-nav-favorites { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ae-public-nav *,
    .ae-public-nav *::before,
    .ae-public-nav *::after {
        transition-duration: .01ms !important;
        animation: none !important;
    }

    .ae-mobile-nav__inventory[open] > .ae-mobile-nav__categories > a { opacity: 1; }
}
