/* ============================================================
   FUENTES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*, *::before, *::after,
body, html,
h1, h2, h3, h4, h5, h6,
p, a, span, li, ul, ol,
button, input, textarea, select,
.btn, .nav-link, .dropdown-item,
#header, #footer, #main {
  font-family: 'Montserrat', sans-serif !important;
}

/* ============================================================
   BASE - Fondo y scroll
   ============================================================ */
body, html {
  overflow-x: hidden !important;
  max-width: 100% !important;
  background-color: #ffffff !important;
}

#wrapper {
  background-color: #ffffff !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  border-top: none !important;
}


/* ============================================================
   HEADER
   ============================================================ */
#header,
#header .header-banner {
  background-color: #ffffff !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#header .header-top {
  background-color: #ffffff !important;
  padding: 0.3rem 0 !important;
}

#header .header-nav {
  background-color: #DD4574 !important;
  padding-top: 0.2rem !important;
  padding-bottom: 0.2rem !important;
  min-height: unset !important;
  max-height: unset !important;
  font-weight: bold !important;
  border: none !important;
  box-shadow: none !important;
}

#header .header-nav a,
#header .header-nav span {
  color: #ffffff !important;
}

#header .logo {
  max-height: 50px !important;
  width: auto !important;
}

/* Carrito de compras */
#header .blockcart,
#header .blockcart a,
#header .blockcart .header {
  background-color: #DD4574 !important;
  color: #ffffff !important;
  min-height: unset !important;
  border: none !important;
  box-shadow: none !important;
}
/* Ocultar texto fallback del ícono */
#header .blockcart .material-icons {
  font-family: 'Material Icons' !important;
  font-size: 1.2rem !important;
  vertical-align: middle !important;
  color: #ffffff !important;
}

/* ============================================================
   SLIDER / CARRUSEL - Homepage
   ============================================================ */
/* Cargar Material Icons */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* Flechas del carrusel */
#carousel .carousel-control .material-icons {
  font-family: 'Material Icons' !important;
  font-size: 2rem !important;
  color: #ffffff !important;
}
#carousel {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  height: auto !important;
  max-height: none !important;
}

#carousel .carousel-inner {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#carousel .carousel-item {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#carousel .carousel-item img,
#carousel .carousel-item figure img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: unset !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
  aspect-ratio: unset !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* ============================================================
   CONTENEDOR PRINCIPAL - Homepage
   ============================================================ */
#content-wrapper,
.page-home #content-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

#main {
  padding: 0 !important;
  margin: 0 !important;
}


/* ============================================================
   SECCIÓN SOBRE NOSOTROS - Homepage (Custom Text Block)
   ============================================================ */
#custom-text {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4rem !important;
  padding: 4rem 3rem !important;
  text-align: left !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#custom-text .sobre-imagen {
  flex: 1 1 50% !important;
  min-width: 0 !important;
}

#custom-text .sobre-imagen img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

#custom-text .sobre-texto {
  flex: 1 1 50% !important;
  min-width: 0 !important;
}

#custom-text .sobre-texto h2 {
  font-size: 3rem !important;
  font-weight: 900 !important;
  color: #DD4574 !important;
  line-height: 1 !important;
  margin-bottom: 1.5rem !important;
  text-align: left !important;
}

#custom-text .sobre-texto p {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #333 !important;
  text-align: justify !important;
  margin-bottom: 2rem !important;
}

#custom-text .btn-conocenos {
  display: inline-block !important;
  padding: 0.8rem 2rem !important;
  background-color: #DD4574 !important;
  color: #fff !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}


/* ============================================================
   SECCIÓN PRODUCTOS DESTACADOS - Homepage
   ============================================================ */
section.featured-products {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background-color: #ffffff !important;
  padding: 2rem 2rem 3rem !important;
}

section.featured-products h2 {
  text-align: center !important;
}

section.featured-products .products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

section.featured-products .products .js-product {
  padding: 0.5rem !important;
}


/* ============================================================
   PÁGINA SOBRE NOSOTROS (cms-id-7)
   ============================================================ */

/* Ocultar breadcrumb y título automático */
.cms-id-7 .breadcrumb,
.cms-id-7 #js-breadcrumb,
.cms-id-7 .page-header {
  display: none !important;
}

/* Eliminar padding del contenedor de contenido */
.cms-id-7 section#content,
.cms-id-7 .page-content.page-cms-7 {
  padding: 0 !important;
  margin: 0 !important;
}

/* --- Quiénes Somos --- */
#content-wrapper #quienes-somos,
.cms-id-7 #quienes-somos {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4rem !important;
  padding: 4rem 3rem !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: visible !important;
}

#content-wrapper #quienes-somos::before,
.cms-id-7 #quienes-somos::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  height: 100% !important;
  background-color: #DD4574 !important;
  z-index: 0 !important;
}

#content-wrapper #quienes-somos .qs-texto,
#content-wrapper #quienes-somos .qs-imagen {
  position: relative !important;
  z-index: 1 !important;
}

#content-wrapper #quienes-somos .qs-texto {
  flex: 1 1 55% !important;
  min-width: 0 !important;
}

#content-wrapper #quienes-somos .qs-texto h2 {
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin-bottom: 1.5rem !important;
}

#content-wrapper #quienes-somos .qs-texto p {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #ffffff !important;
  margin-bottom: 1rem !important;
  text-align: justify !important;
}

#content-wrapper #quienes-somos .qs-imagen {
  flex: 1 1 40% !important;
  min-width: 0 !important;
}

#content-wrapper #quienes-somos .qs-imagen img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 12px !important;
}

/* --- Misión y Visión --- */
#mision-vision {
  display: flex !important;
  gap: 4rem !important;
  padding: 4rem 3rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  position: relative !important;
}

#mision-vision::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  height: 100% !important;
  background-color: #F4E3CB !important;
  z-index: 0 !important;
}

#mision-vision .mv-col {
  flex: 1 !important;
  position: relative !important;
  z-index: 1 !important;
}

#mision-vision .mv-col h2 {
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  color: #DD4574 !important;
  margin-bottom: 1.5rem !important;
}

#mision-vision .mv-col p {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #333 !important;
  text-align: justify !important;
}

/* --- Clean Label --- */
#clean-label {
  padding: 4rem 3rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  position: relative !important;
}

#clean-label::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  height: 100% !important;
  background-color: #DD4574 !important;
  z-index: 0 !important;
}

#clean-label h2,
#clean-label h3,
#clean-label p {
  position: relative !important;
  z-index: 1 !important;
  color: #ffffff !important;
}

#clean-label h2 {
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  text-align: center !important;
  margin-bottom: 0.5rem !important;
}

#clean-label h3 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
}

#clean-label p {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  text-align: justify !important;
  margin-bottom: 1rem !important;
}

/* --- Plan de Sostenibilidad --- */
#sostenibilidad {
  padding: 4rem 3rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  position: relative !important;
}

#sostenibilidad::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100vw !important;
  height: 100% !important;
  background-color: #ffffff !important;
  z-index: 0 !important;
}

#sostenibilidad h2 {
  font-size: 2.5rem !important;
  font-weight: 900 !important;
  color: #4CAF50 !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
  position: relative !important;
  z-index: 1 !important;
}

#sostenibilidad p {
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: #333 !important;
  text-align: justify !important;
  margin-bottom: 1rem !important;
  position: relative !important;
  z-index: 1 !important;
}

#sostenibilidad .ods-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem !important;
  margin: 2rem 0 !important;
  position: relative !important;
  z-index: 1 !important;
}

#sostenibilidad .ods-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1rem !important;
}

#sostenibilidad .ods-letra {
  background-color: #4CAF50 !important;
  color: #ffffff !important;
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

#sostenibilidad .ods-item p {
  margin: 0 !important;
}

#sostenibilidad .sos-cierre {
  margin-top: 2rem !important;
}


/* ============================================================
   FOOTER
   ============================================================ */
.page-footer #footer,
#footer .footer-container {
  background-color: #F4E3CB !important;
  color: #16100C !important;
}

#footer .footer-container a,
#footer .footer-container p,
#footer .footer-container span,
#footer .footer-container li {
  color: #16100C !important;
}

/* Sección suscripción email */
#footer .block_newsletter,
.block_newsletter {
  background-color: #ffffff !important;
  color: #16100C !important;
}

.block_newsletter p,
.block_newsletter h2 {
  color: #16100C !important;
}


/* ============================================================
   RESPONSIVE - Mobile
   ============================================================ */
@media (max-width: 768px) {
  #custom-text {
    flex-direction: column !important;
    padding: 2rem 1rem !important;
  }

  #content-wrapper #quienes-somos {
    flex-direction: column !important;
    padding: 2rem 1rem !important;
  }

  #mision-vision {
    flex-direction: column !important;
    padding: 2rem 1rem !important;
  }

  #sostenibilidad .ods-grid {
    grid-template-columns: 1fr !important;
  }
}