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: 2%;
}

.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: #ffffff;
    border-left: none;
    box-shadow: -5px 0 25px rgba(0,0,0,0.05);
}

.offcanvas-notificacoes .offcanvas-header {
    padding: 1.5rem;
    background: #fff;
    z-index: 10;
}

.notificacao-item {
    border-bottom: 1px solid #f1f3f5;
    padding: 1.25rem 1.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    background-color: #fff;
}

.notificacao-item:hover {
    background-color: #f8f9fa;
}

.notificacao-item.n-unread {
    background-color: rgba(188, 0, 0, 0.02);
}

.notificacao-item.n-unread::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #bc0000;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(188, 0, 0, 0.4);
}

.notificacao-item .titulo {
    font-weight: 700;
    color: #212529;
    font-size: 0.95rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.notificacao-item.n-unread .titulo {
    color: #bc0000;
}

.notificacao-item .data {
    font-size: 0.75rem;
    color: #adb5bd;
    font-weight: 500;
}

.notificacao-item .texto {
    font-size: 0.88rem;
    color: #6c757d;
    line-height: 1.5;
}

.btn-marcar-tudo {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #bc0000;
    background: rgba(188, 0, 0, 0.05);
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.btn-marcar-tudo:hover {
    background: rgba(188, 0, 0, 0.1);
    transform: translateY(-1px);
}

.n-empty-state {
    padding: 4rem 2rem;
    text-align: center;
}

.n-empty-state i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
    display: block;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #bc0000;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification-badge.pulse {
    animation: badge-pulse 0.5s ease-out;
}

@keyframes badge-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.status-loja-banner {
    padding: 10px 15px;
    color: #414141;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.2;
}

.status-loja-banner.agendamento {
    /*background-color: #8ac4ff;
    color: #333;*/
    background-color: #3d3d3d;
    color: #d3d3d3;
}
.status-loja-banner.fechado {
    background-color: #ffe59d
}
.status-loja-banner .horario {
    font-weight: 600;
}
  

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

@media(min-width: 1200px) {

    .navbar {
        min-height: 100px;
    }

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