.prediletas-header {
    position: relative;
    z-index: 9980;
    width: 100%;
    background: #090909;
    border-bottom: 1px solid rgba(192, 192, 192, 0.12);
}

.prediletas-header__container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    min-height: 76px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
    box-sizing: border-box;
}

.prediletas-header__marca {
    display: flex;
    align-items: center;
    min-width: 199px;
    color: #c8c8c8;
    text-decoration: none;
}

.prediletas-header__titulo {
    color: #c8c8c8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.12);
}

.prediletas-header__logo {
    display: block;
    width: auto;
    max-width: 180px;
    height: auto;
    max-height: 55px;
}

.prediletas-header__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
}

.prediletas-header__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 7px;
    color: #d0d0d0;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.prediletas-header__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.prediletas-header__link--ativo {
    color: #ffffff;
    background: rgba(157, 40, 85, 0.18);
}

.prediletas-header__link--ativo::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 2px;
    border-radius: 2px;
    background: #9d2855;
}

.prediletas-header__link--ativo:hover {
    background: rgba(157, 40, 85, 0.24);
}

.prediletas-header__link--cadastrar {
    margin-left: 8px;
    padding: 0 18px;
    background: #6d1d3a;
    color: #ffffff;
}

.prediletas-header__link--cadastrar:hover {
    background: #812347;
    color: #ffffff;
}

.prediletas-header__link--entrar {
    padding: 0 18px;
    border: 1px solid #8d8d8d;
    color: #eeeeee;
}

.prediletas-header__link--entrar:hover {
    background: #ffffff;
    color: #111111;
}

.prediletas-header__link--chat {
    gap: 6px;
}

.prediletas-header__link-badge {
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #e40046;
    color: #ffffff;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
}

.prediletas-header__acoes {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 0;
    order: 3;
}

.prediletas-header__acao {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: #858585;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.prediletas-header__acao:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.prediletas-header__acao--ativo {
    color: #ffffff;
    background: rgba(157, 40, 85, 0.18);
}

.prediletas-header__acao svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.prediletas-header__badge {
    position: absolute;
    top: 1px;
    right: 1px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #e40046;
    color: #ffffff;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
}

.prediletas-header__perfil {
    position: relative;
    display: flex;
    align-items: center;
}

.prediletas-header__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #3a3a3a;
    border-radius: 50%;
    background: #1a1a1a;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.prediletas-header__avatar:hover {
    background: #242424;
    border-color: #6d1d3a;
}

.prediletas-header__avatar svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.prediletas-header__perfil-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1000;
    display: none;
    min-width: 170px;
    padding: 7px;
    border: 1px solid #292929;
    border-radius: 10px;
    background: #151515;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.prediletas-header__perfil-menu--aberto {
    display: block;
}

.prediletas-header__perfil-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 7px;
    color: #dddddd;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.prediletas-header__perfil-menu a:hover {
    color: #ffffff;
    background: #242424;
}

.prediletas-header__perfil-mobile {
    display: none;
}

.prediletas-header__menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    cursor: pointer;
}

.prediletas-header__menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    border-radius: 2px;
    background: #d0d0d0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.prediletas-header__menu-toggle.is-aberto span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.prediletas-header__menu-toggle.is-aberto span:nth-child(2) {
    opacity: 0;
}

.prediletas-header__menu-toggle.is-aberto span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1000px) {
    .prediletas-header__container {
        gap: 12px;
    }

    .prediletas-header__marca {
        min-width: 160px;
    }

    .prediletas-header__link {
        padding: 0 9px;
        font-size: 13px;
    }

    .prediletas-header__link--cadastrar,
    .prediletas-header__link--entrar {
        padding: 0 12px;
    }

    .prediletas-header__acao {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 800px) {
    .prediletas-header__container {
        position: relative;
        min-height: 64px;
        padding: 0 15px;
        gap: 5px;
    }

    .prediletas-header__marca {
        min-width: 0;
        flex: 1;
    }

    .prediletas-header__titulo {
        font-size: 27px;
    }

    .prediletas-header__logo {
        max-width: 150px;
        max-height: 48px;
    }

    .prediletas-header__acoes {
        display: flex;
        align-items: center;
        margin-left: 0;
        gap: 2px;
        order: 2;
    }

    .prediletas-header__acao {
        width: 38px;
        height: 38px;
    }

    .prediletas-header__acao--notificacoes {
        display: flex;
    }

    .prediletas-header__acao svg {
        width: 21px;
        height: 21px;
    }

    .prediletas-header__perfil {
        display: none;
    }

    .prediletas-header__menu-toggle {
        display: block;
        flex: 0 0 42px;
        order: 3;
    }

    .prediletas-header__nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin-left: 0;
        padding: 12px 15px 15px;
        background: #090909;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
        order: 4;
    }

    .prediletas-header__nav.is-aberto {
        display: flex;
    }

    .prediletas-header__link {
        justify-content: flex-start;
        min-height: 44px;
        padding: 0 15px;
        font-size: 14px;
    }

    .prediletas-header__link--ativo {
        background: rgba(157, 40, 85, 0.18);
    }

    .prediletas-header__link--ativo::after {
        top: 8px;
        right: auto;
        bottom: 8px;
        left: 4px;
        width: 3px;
        height: auto;
    }

    .prediletas-header__link--cadastrar {
        margin-top: 5px;
        margin-left: 0;
    }

    .prediletas-header__link--entrar {
        border-color: #444444;
    }

    .prediletas-header__perfil-mobile {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        right: 15px;
        left: 15px;
        z-index: 1001;
    }

    .prediletas-header__perfil-mobile a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        padding: 0 15px;
        border-radius: 7px;
        color: #d0d0d0;
        font-size: 14px;
        text-decoration: none;
    }

    .prediletas-header__perfil-mobile a:hover {
        background: rgba(255, 255, 255, 0.07);
        color: #ffffff;
    }
}

@media (max-width: 400px) {
    .prediletas-header__container {
        padding: 0 10px;
    }

    .prediletas-header__titulo {
        font-size: 24px;
    }

    .prediletas-header__logo {
        max-width: 135px;
    }

    .prediletas-header__acao {
        width: 36px;
        height: 36px;
    }

    .prediletas-header__menu-toggle {
        width: 40px;
        flex-basis: 40px;
    }

    .prediletas-header__badge {
        top: 0;
        right: 0;
    }
}