/* Import variables */
@import 'variables.css';

/* Global styles */
html {
    font-size: 17.6px; /* 10% larger than default 16px */
}
html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Mulish', var(--font-family, sans-serif);
    line-height: var(--line-height, 1.6);
    color: var(--ub-text-primary, #00293D);
    padding: 0;
    padding-top: 169px; /* Account for fixed header height (top bar ~37px + main header ~82px + nav ~48px + borders ~3px) */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Override Bootstrap's container width to match header/footer */
.container {
    max-width: 1280px !important;
}

/* Main content area */
.main-content {
    flex: 1 0 auto;
    padding-top: var(--content-margin-top, 0px);
    padding-bottom: var(--content-margin-bottom, 40px);
    width: 100%;
}


/* Import page-specific styles */
@import 'index.css';
@import 'product.css';

/* Footer styles - imported last to override any conflicts */
@import 'consumer/footer.css';

.site-footer {
    flex-shrink: 0; /* Prevents the footer from shrinking */
}

/* Responsive body padding for mobile header heights */
@media (max-width: 768px) {
    body {
        padding-top: 100px; /* Adjusted for mobile header height */
    }
}
