/**
 * REMOVER CABEÇALHO E RODAPÉ WHMCS GLOBALMENTE
 * Para utilização em todo o fluxo de pedidos
 */

/* Ocultar todos os elementos de cabeçalho e rodapé */
body > header,
body > .header,
#header,
.header,
header,
.navbar,
nav,
.topnav,
.main-navbar,
.top-nav,
.navigation,
.main-navigation,
.nav-container,
.nav-wrapper,
.announcements,
.announcement-single,
.breadcrumb,
.page-header,
.header-lined,
.header-container,
.logo-container,
.whmcs-header,
.header-wrapper,
.nav-area,
.site-header,
.global-header,
#footer,
footer,
.footer,
.site-footer,
.global-footer,
.footer-wrapper,
.footer-container {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -9999 !important;
    pointer-events: none !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remover margens e padding do topo do body */
html, body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remover qualquer elemento fixo do topo da página */
body::before,
body::after {
    display: none !important;
    content: none !important;
}

/* Forçar o conteúdo principal a começar do topo */
#main-body,
.main-content,
#order-standard_cart,
.container,
main,
.main,
.content,
.content-container,
.main-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Impedir que o tema WHMCS adicione padding para compensar cabeçalhos fixos */
body.sticky-header,
body.fixed-header,
body.header-fixed {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remover margens e preenchimentos desnecessários */
.row-header-lined {
    display: none !important;
}

/* Garantir visibilidade dos conteúdos */
#order-standard_cart {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}