/* ==========================================================================
   Reset and Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* scroll-behavior: smooth removido — causa peso ao arrastar scrollbar */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Cores do tema - não aplicar em páginas controladas por plugins */
body:not(.tuh-checkout-page):not(.has-tuh-cart-page):not(.tuh-hide-header):not(.single-product):not(.post-type-archive-product):not(.tax-product_cat):not(.tax-product_tag):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) {
    background-color: var(--background);
    color: var(--text-light);
}

/* Links - usar :where() para baixar especificidade e não afetar plugins */
:where(a) {
    text-decoration: none;
    color: inherit;
}

/* Imagens - usar :where() para baixar especificidade */
:where(img) {
    max-width: 100%;
    height: auto;
}

/* Botões - usar :where() para baixar especificidade */
:where(button, .button) {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    border: none;
    background: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

/* WordPress Main Content */
.site-content {
    margin: 0;
    padding: 0;
}

/* Compensar header fixo em páginas internas (não na home que tem hero) */
body:not(.home) .site-content,
body.woocommerce-account .site-content,
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content {
    padding-top: var(--header-height);
}

