/* ==========================================================
   LAYOUT › NAVBAR
   Barra de navegação principal: logo, links, ações e menu mobile
   ========================================================== */

.navbar {
    min-height: 118px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 24px;
    display: grid;
    grid-template-columns: 210px 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 185px;
    height: 92px;
    overflow: hidden;
}

.brand img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 3vw, 42px);
    font-size: 15px;
    font-weight: 800;
}

.nav-links a {
    position: relative;
    padding: 12px 0;
    color: #333;
    opacity: 0.92;
}

.nav-links a:hover {
    color: #f6a23f;
}

.nav-links a.active {
    color: var(--orange);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 3px;
    border-radius: 999px;
    background: var(--orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.cart-link {
    position: relative;
    display: grid;
    place-items: center;
    color: #333;
}

.company-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--green-950);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.company-link svg {
    width: 19px;
    height: 19px;
}

.cart-link svg {
    width: 34px;
    height: 34px;
}

.cart-link span {
    position: absolute;
    top: -9px;
    right: -11px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(51, 51, 51, 0.18);
    background: transparent;
    color: #333;
    width: 44px;
    height: 44px;
    border-radius: 8px;
}
