/* Menu drawer — só links/hover; estrutura (.drawer) fica no CSS inline de cada página */

body.menu_open,
body.menu-open {
    overflow: hidden;
}

/* Itens principais do menu (NÃO inclui itens dentro do .submenu-float) */
.drawer nav > a,
.drawer nav > .menu-submenu-wrap > a,
.drawer nav > #cardapioMenuWrapper > a,
.drawer nav > #estoqueMenuWrapper > a,
.drawer nav > #cardapioClienteMenuWrapper > a,
#drawer nav > a,
#drawer nav .menu-submenu-wrap > a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    padding: 14px 18px;
    min-height: 52px;
    line-height: 1.25;
    background: var(--glass, rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 25px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 0;
    transition: 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    width: 100%;
    letter-spacing: 0.04em;
}

.gl-menu-link-hover,
.drawer nav > a:active,
.drawer nav > .menu-submenu-wrap > a:active {
    background: var(--btn_gradient, linear-gradient(135deg, #f2a93b 0%, #d93025 100%));
    border-color: transparent;
    box-shadow: 0 0 35px rgba(242, 169, 59, 0.6), 0 4px 0 rgba(242, 169, 59, 0.35);
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1.15);
    color: #fff;
}

@media (hover: hover), (any-hover: hover) {
    .drawer nav > a:hover,
    .drawer nav > a:focus-visible,
    .drawer nav > .menu-submenu-wrap > a:hover,
    .drawer nav > .menu-submenu-wrap > a:focus-visible {
        background: var(--btn_gradient, linear-gradient(135deg, #f2a93b 0%, #d93025 100%));
        border-color: transparent;
        box-shadow: 0 0 35px rgba(242, 169, 59, 0.6), 0 4px 0 rgba(242, 169, 59, 0.35);
        transform: translateY(-4px) scale(1.03);
        filter: brightness(1.15);
        color: #fff;
    }
}

/* Hover unificado — vence inline nas páginas que usam !important no :hover antigo */
html body #drawer nav > a:hover,
html body #drawer nav > a:focus-visible,
html body #drawer nav > .menu-submenu-wrap > a:hover,
html body #drawer nav > .menu-submenu-wrap > a:focus-visible,
html body .drawer nav > a:hover,
html body .drawer nav > .menu-submenu-wrap > a:hover {
    background: linear-gradient(135deg, #f2a93b 0%, #d93025 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 0 35px rgba(242, 169, 59, 0.6), 0 4px 0 rgba(242, 169, 59, 0.35) !important;
    transform: translateY(-4px) scale(1.03) !important;
    filter: brightness(1.15) !important;
    color: #fff !important;
}

.drawer nav a.menu-sair,
.drawer .item-navegaveis.menu-sair {
    color: var(--secondary, #d93025);
    border-color: rgba(217, 48, 37, 0.45);
    margin-top: 8px;
}

body.modo-teclado .drawer nav > a.foco-ativo,
body.modo-teclado .drawer nav > .menu-submenu-wrap > a.foco-ativo {
    background: var(--btn_gradient, linear-gradient(135deg, #f2a93b 0%, #d93025 100%));
    border-color: transparent;
    box-shadow: 0 0 35px rgba(242, 169, 59, 0.6);
    transform: translateY(-4px) scale(1.03);
    color: #fff;
}

.drawer-brand {
    flex-shrink: 0;
    text-align: center;
    padding: 8px 0 20px;
    width: min(92vw, 400px);
    margin: 0 auto;
}

.drawer-brand img {
    width: 88px;
    height: auto;
    display: block;
    margin: 0 auto 8px;
    filter: drop-shadow(0 4px 12px rgba(242, 169, 59, 0.25));
}

.drawer-brand span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

body.pagina-chat .app-frame {
    position: relative;
    z-index: 1;
}

.btn-audio-entregador {
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 9000;
    border: none;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, #f2a93b, #d93025);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.gl-push-ask {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gl-push-ask-card {
    max-width: 360px;
    background: #111;
    border: 1px solid rgba(242, 169, 59, 0.35);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: #fff;
}

.gl-push-ask-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #f2a93b;
}

.gl-push-ask-card p {
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.9;
    margin-bottom: 20px;
}

.gl-push-ask-go {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    color: #111;
    background: linear-gradient(90deg, #f2a93b, #d93025);
    cursor: pointer;
    margin-bottom: 10px;
}

.gl-push-ask-later {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    cursor: pointer;
}
