/* Header mega menu (AGSAMAG-300, Figma): "Models ⌄" chevron, a full-width
   dropdown panel, and the model cards inside it. Loaded on every page. */

/* Chevron after links that open a dropdown; flips while the dropdown is open. */
.denza-menu-chevron {
    display: inline-flex;
    margin-left: 8px;
    vertical-align: middle;
    transition: transform .2s ease;
}
.ammenu-item:hover > .ammenu-link .denza-menu-chevron,
.ammenu-item:focus-within > .ammenu-link .denza-menu-chevron { transform: rotate(180deg); }
.ammenu-link .ammenu-text-block { display: inline-flex; }

/* Amasty positions a "Full Width" dropdown against the menu list, which the theme
   squeezes into the middle columns; anchor it to the whole header bar instead. */
.ammenu-nav-sections.-topmenu .ts-main-container { position: relative; }
.ammenu-nav-sections.-topmenu .ammenu-items.-root { position: static; }
.ammenu-nav-sections.-topmenu .ammenu-submenu-wrapper.-full {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    border-top: 1px solid #e6e8eb;
    border-bottom: 1px solid #e6e8eb;
    background: #fff;
    box-shadow: none;
}

/* Model cards + "Explore All Models" */
.denza-models-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 64px;
    padding: 28px 16px 34px;
    font-family: 'URWFormExpand', sans-serif;
}
.denza-models-menu a { text-decoration: none !important; }
.denza-models-menu__car {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 190px;
}
.denza-models-menu__car img { width: 190px; height: 100px; object-fit: contain; transition: transform .2s ease; }
.denza-models-menu__car:hover img { transform: translateY(-3px); }
.denza-models-menu__car span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #111 !important;
}
.denza-models-menu__all {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #103561 !important;
}
.denza-models-menu__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8ecf1;
    color: #103561;
}
.denza-models-menu__all:hover .denza-models-menu__arrow { background: #103561; color: #fff; }
@media (prefers-reduced-motion: reduce) {
    .denza-menu-chevron, .denza-models-menu__car img { transition: none; }
}
