/* ==========================================================================
   M'Burger - Base v5
   Styles globaux minimalistes - Le reste est scopé par bloc
   ========================================================================== */

/* Reset minimal */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--mb-font-body);
    font-size: var(--mb-text-base);
    font-weight: var(--mb-weight-regular);
    line-height: var(--mb-leading-normal);
    color: var(--mb-text-light);
    background-color: var(--mb-dark);
    overflow-x: hidden;
}

::selection {
    background-color: var(--mb-accent);
    color: var(--mb-dark);
}

img, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

/* Page wrapper — cream background for WooCommerce & standard pages */
.mb-main--page {
    background-color: var(--mb-cream, #faf8f5);
    min-height: 60vh;
    padding-top: 110px;
}

.mb-page-content {
    max-width: var(--mb-container);
    margin: 0 auto;
    padding: var(--mb-space-2xl, 3rem) var(--mb-gutter, 1.5rem) var(--mb-space-4xl, 5rem);
    color: var(--mb-text-dark, #2e2c2a);
}

/* Utilitaires globaux */
.mb-container {
    width: 100%;
    max-width: var(--mb-container);
    margin: 0 auto;
    padding: 0 var(--mb-gutter);
}

.mb-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Placeholder pour développement */
.mb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, var(--mb-cream-dark), var(--mb-cream-medium));
    color: var(--mb-text-dark-muted);
    font-size: var(--mb-text-xs);
    font-weight: var(--mb-weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--mb-tracking-wider);
}
