.barra_navegacao{
    width: 100%;
    margin-bottom: 20px;
    padding: 18px 24px;
    background: #FFF8F5;
    border-bottom:
        1px solid rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn_voltar{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #5a5929;
    font-weight: bold;
    font-size: 18px;
    padding: 8px 18px;
    border-radius: 12px;
}

.btn_voltar:hover{
    background:
        rgba(90,89,41,.08);

    transform:
        translateX(-2px);
}


/* =========================
   MENU USUÁRIO CHECKOUT
========================= */

.menu_usuario_checkout {
    position: relative;
    margin-right: 5%;
}

.btn_usuario_checkout {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 10px;
    background: #f5efeb;
    border: 1px solid #e2d7d0;
    transition: 0.2s;
    user-select: none;
}

.btn_usuario_checkout:hover {
    background: #ede4de;
    border-color: #c9b7ad;
}

.nome_usuario_checkout {
    font-size: 14px;
    font-weight: 600;
    color: #5a5929;
}

.icone_usuario_checkout {
    font-size: 16px;
}

.seta_usuario_checkout {
    font-size: 12px;
    color: #7a6d66;
    transition: transform 0.2s;
}

.seta_usuario_checkout.aberta {
    transform: rotate(180deg);
}

/* Submenu */

.submenu_usuario_checkout {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e8dfd9;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 220px;
    padding: 16px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 0.2s;

    z-index: 100;
}

.submenu_usuario_checkout.aberto {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu_info_checkout {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.submenu_info_checkout strong {
    font-size: 14px;
    color: #3b3b3b;
}

.submenu_info_checkout span {
    font-size: 13px;
    color: #7a6d66;
}

/* =========================
   TELEFONE NO SUBMENU
========================= */

.submenu_telefone_linha {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn_editar_telefone {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 4px;
    border-radius: 6px;
    transition: 0.2s;
    line-height: 1;
}

.btn_editar_telefone:hover {
    background: #f0e8e3;
}

/* =========================
   MODAL TELEFONE
========================= */

.modal_telefone {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
    background: #ffffff;
    border-radius: 18px;
    padding: 28px;
    width: 100%;
    max-width: 380px;
    z-index: 1100;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
}

.modal_telefone.aberto {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal_topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.modal_topo h3 {
    margin: 0;
    color: #5a5929;
    font-size: 18px;
}

.btn_fechar_modal_telefone {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: #f0e8e3;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
}

.btn_fechar_modal_telefone:hover {
    background: #e2d7d0;
}

.modal_telefone_aviso {
    font-size: 13px;
    color: #7a6d66;
    margin-bottom: 16px;
}

.input_novo_telefone {
    width: 100%;
    height: 46px;
    border: 1px solid #e2d7d0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    background: #fffaf7;
    box-sizing: border-box;
    transition: 0.2s;
}

.input_novo_telefone:focus {
    border-color: #5a5929;
}

.modal_telefone_erro {
    display: block;
    font-size: 12px;
    color: #c0392b;
    margin-top: 6px;
    min-height: 16px;
}

.btn_salvar_telefone {
    width: 100%;
    height: 46px;
    margin-top: 16px;
    background: #5a5929;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.btn_salvar_telefone:hover {
    background: #47461f;
}

/* =========================
   BARRA ADMIN
   ========================= */

.barra_admin {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;

    padding: 8px 24px;
    background: #1a1a2e;
    color: #fff;
    font-size: 13px;
}

.barra_admin_esquerda {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.barra_admin_saudacao {
    color: #fff;
}

.barra_admin_saudacao strong {
    color: #5a9f67;
}

.barra_admin_data {
    color: #aaa;
    font-size: 12px;
}

.barra_admin_direita {
    display: flex;
    align-items: center;
    gap: 8px;
}

.barra_admin_btn {
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .15s;
    background: #5a9f67;
    color: #fff;
}

.barra_admin_btn:hover {
    opacity: 0.85;
}

.barra_admin_btn_sair {
    background: transparent;
    border: 1px solid #555;
    color: #aaa;
}

.barra_admin_btn_sair:hover {
    border-color: #ef4444;
    color: #ef4444;
    opacity: 1;
}

@media (max-width: 600px) {
    .barra_navegacao { 
        padding: 12px 16px; 
    }

    .btn_voltar { 
        font-size: 14px; 
        padding: 6px 10px; 
    }

    .modal_telefone {
        max-width: calc(100vw - 32px);
        padding: 20px 16px;
    }

    .submenu_usuario_checkout {
        right: -10px;
        min-width: 190px;
    }
    
    .barra_admin { 
        padding: 6px 12px; 
        font-size: 11px; 
        justify-content: center;
        padding-bottom: 8px;
    }


}
 