/*
 * Base Override Styles
 * Loads FIRST before all theme styles (Bootstrap, parent theme, etc.)
 * Sets critical base styles that other stylesheets should build upon
 */

/* Set base font size for proper em unit calculations */
html {
  font-size: 16px !important;
}

/* Reset heading colors to inherit from parent instead of theme defaults */
.scopri-section h2, .services-section h2, .hero-content h1 {
  color: inherit !important;
}

/* Additional base resets */
* {
  box-sizing: border-box;
}

/* ========================================
   BOOTSTRAP CONTAINER OVERRIDES
   Override Bootstrap containers for full-width sections
   ======================================== */

body.home .container,
body.page .container,
body.home .container-fluid,
body.page .container-fluid,
body.home #content,
body.page #content,
body.home #page,
body.page #page,
body.page .row,
body.home .site-content,
body.page .site-content {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.woocommerce-page .site-content {
  padding-top: 50px !important;
}

/* Ensure all homepage sections are full width */
.hero,
.stats-strip,
.numeri-section,
.scopri-section,
.prodotti-section,
.services-section,
.online-section,
.newsletter,
.wave {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}


.newletter-content {
    color: var(--dark) !important;
}


#mf-newsletter-popup .sib-newsletter-form input[type="email"] { color: var(--mf-dark-color) !important; }

.page-header-page .page-breadcrumbs .breadcrumbs {
    padding-left: 20px;
    padding-right: 20px;
}

.single-product .martfury-container > .row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.single-product .mf-product-summary {
  display: none;
}

.single-product #primary-sidebar {
  width: 100%;
}

.single-product #primary-sidebar .product_list_widget {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.single-product #primary-sidebar .widget-title {
  margin-left: 20px;
  margin-top: 20px;
}

.single-product .quantity,
.single-product .actions-button,
.single-product .mf-summary-header {
  display: none !important;
}

.single-product .product-sidebar .widget_products .product_list_widget li img {
  border-radius: 12px;
}