/* ── COMFY GLOBAL — regras que se aplicam a todas as páginas ────────────────
 * Carregado via default_head_blocks.xml após tmp-style.css.
 * Sobrescreve regras V1 incompatíveis com o header V2 global.
 * ─────────────────────────────────────────────────────────────────────────── */

/* Header V2 é sticky em todas as páginas — V1 fixed/90px aposentado */
header.page-header {
    position: sticky;
    top: 0;
    height: fit-content;
    max-height: none;
    box-shadow: none;
    z-index: 120;
    background: transparent;
}

/* Wrapper V1 do header (.header.content) oculto — V2 usa .cmfy-h */
header.page-header .header.content {
    display: none;
}

/* Remove margem reservada para o antigo header fixo */
body .page-wrapper {
    margin-top: 0;
    padding-top: 0;
}

/* Reset hover/focus/active do Magento base (box-shadow, outline, background)
   nos botões do header V2 — agora expostos sem o escopo page-layout-comfy_2026 */
.cmfy-topbar__nav:hover,
.cmfy-topbar__nav:focus,
.cmfy-topbar__nav:active,
.cmfy-h__ico:focus,
.cmfy-h__ico:active,
.cmfy-h__burger:focus,
.cmfy-h__burger:active,
.cmfy-h__drawer-close:focus,
.cmfy-h__drawer-close:active {
    outline: 0;
    box-shadow: none;
    background: none;
    border: 0;
}
