header {
    position: relative;
    z-index: 1;
}

.navbar {
    background-color: #e9e9e9;
    min-height: 70px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.logo-header {
    width: 66px;
    position: absolute;
    top: 0px;
}

.nav-item {
    margin-right: 50px;
    text-align: right;
}

.nav-item a {
    color: var(--cor-texto-header);
    font-weight: 400;
    font-size: 1.1rem;
}

.nav-item a.active {
    color: var(--cor-texto-header-ativo) !important;
}

.nav-link-login {
    background-color: var(--cor-principal);
    border: 2px solid var(--cor-borda-principal);
    width: 120px;
    color: rgb(15, 15, 15) !important;
    border-radius: 12px;
    text-align: center;
    font-weight: 500 !important;
    float: right;
}

.nav-link-login:hover {
    background-color: var(--cor-principal-hover);
}

.nav-link:focus, .nav-link:hover {
    color: #a5a5a5 !important;
}

.navbar-toggler-icon {
    filter: invert(1);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.action-icon {
    position: relative;
    cursor: pointer;
    color: #495057;
    transition: color 0.2s ease;
}

.action-icon:hover {
    color: #000;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid #ffffff;
}

.icone-barra-pesquisa {
    /*position: absolute;
    top: 10px;
    right: 5px;*/
    width: 26px;
    height: 26px;
    color: #d1d1d1;
    cursor: pointer;
    /*margin-right: 6px;*/
    /*border: 1px solid darkgray;
    padding: 6px;
    border-radius: 46%;*/
}

.informacoes-header {
    line-height: 14px;
    font-size: 14px;
}

.search-container {
    position: relative;
    display: inline-block;
}

#search-input {
    padding: 5px;
    padding-right: 45px;
    font-size: 14px;
    transition: width 0.3s ease, opacity 0.3s ease;
    border: none;
    border-bottom: 1px solid darkgray;
}

#search-input:focus-visible {
    outline: none;
}

.search-container.active #search-input {
    width: 100%;
    background-color: #f7f7f7;
    opacity: 1;
    margin-left: 5px;
}


.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.search-overlay input {
    width: 100%;
    max-width: 600px;
    font-size: 1.25rem;
}

.search-overlay .close-search {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.search-expand {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.search-expand input {
    width: 100%;
    max-width: 600px;
    font-size: 1.25rem;
}

.search-expand .close-search {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.nome-loja {
    color: #212529;
    font-weight: 500;
    font-size: 1.1rem;
}


.slogan-loja {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Estilos para o Modal de Notificações */
.offcanvas-notificacoes {
    background-color: #f8f9fa;
}
.notificacao-item {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
    transition: background-color 0.2s ease-in-out;
}
.notificacao-item:last-child {
    border-bottom: none;
}
.notificacao-item:hover {
    background-color: #f1f3f5;
}
.notificacao-item .titulo {
    font-weight: 600;
    color: #343a40;
    font-size: 0.95rem;
}
.notificacao-item .data {
    font-size: 0.75rem;
    color: #6c757d;
}
.notificacao-item .texto {
    font-size: 0.9rem;
    color: #495057;
    margin-top: 0.25rem;
}
  

@media(max-width: 601px) {
    .nav-item {
        margin-right: 20px;
        text-align: right;
    }
}

@media(min-width: 1200px) {

    .navbar {
        min-height: 100px;
    }

    .logo-header {
        width: 100px;
    }
    
}