/*
 * Microbe Life Hydroponics – estilos de la web en Divi 5
 * Reproduce la estética de la web anterior (tema Business Consulting) medida el 2/12/2026:
 * contenido de 1.160 px, Open Sans 14/26 #505050, títulos finos #323338, azul #298eea, verde #58b737,
 * cabecera clara semitransparente sobre el carrusel y pie gris oscuro #323338.
 * Se carga solo cuando el tema es Divi (mu-plugins/ml-divi-tema.php). Copia en divi\ml-divi.css de la carpeta del proyecto.
 */

/* ===== 1. Base ===== */
.ml-divi { font-family: "Open Sans", Arial, Helvetica, sans-serif; font-size: 14px; line-height: 26px; font-weight: 400; color: #505050; }
.ml-divi #page-container { overflow: hidden; }
.ml-divi .container,
.ml-divi .et_pb_row { width: calc(100% - 40px); max-width: 1160px; }
/* Divi 5 fija el ancho de las filas con una regla más fuerte (width: var(--content-width), 80 %): se le da el mismo valor. */
.ml-divi .et_pb_row { --content-width: calc(100% - 40px); }
.ml-divi h1, .ml-divi h2, .ml-divi h3, .ml-divi h4 { font-family: "Open Sans", Arial, sans-serif; color: #323338; padding-bottom: 0; }
.ml-divi a { color: #298eea; }
.ml-divi .et_pb_section { padding: 0; }
.ml-divi .et_pb_row { padding: 0; }
.ml-divi .et_pb_text p:last-of-type { padding-bottom: 0; }

/* ===== 2. Cabecera (diseño del usuario, 2/12/2026) =====
 * Ordenador: navegación transparente sobre el fondo microbiológico; logo a la izquierda; línea fina turquesa que sube
 * en curva por encima del menú con la hoja en el centro; cápsula verde en el apartado activo; buscador, carrito e
 * idioma en círculos pequeños a la derecha.
 * Móvil (hasta 980 px), desde el 2/12/2026 por la tarde (imagen 8 del usuario): sin franja; logo, menú y, debajo,
 * lupa, carrito e idioma sobre la foto, con un degradado azul petróleo que se desvanece. La lupa y el idioma abren
 * su propio panel (ml-divi-tema.php); las filas «ml-solo-movil» del menú ya no se muestran.
 */
.ml-divi {
    --ml-linea: rgba(160, 232, 212, .68);
    --ml-brillo: rgba(140, 240, 200, .28);
    --ml-verde: #a6ec5a;
    --ml-petroleo: 6, 38, 46;              /* azul petróleo (r, g, b) */
    --ml-arco: 24px;                       /* lo que sube la línea por encima del menú (28 arriba y 21 al bajar hasta el 2/12/2026) */
    --ml-curva: 44px;                      /* ancho de cada curva */
    --ml-hoja: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-27.6 -48.0 55.1 60.5%22%3E%3Cdefs%3E%3CradialGradient id=%22g%22 cx=%220%22 cy=%22-2%22 r=%2252%22 gradientUnits=%22userSpaceOnUse%22%3E%3Cstop offset=%220%22 stop-color=%22%234fbf34%22/%3E%3Cstop offset=%22.55%22 stop-color=%22%236fdc3f%22/%3E%3Cstop offset=%221%22 stop-color=%22%23c6ff6e%22/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d=%22M0 0 C0.4 4 -0.6 8 0.3 11.5%22 stroke=%22%235ccf3a%22 stroke-width=%221.6%22 fill=%22none%22 stroke-linecap=%22round%22/%3E%3Cpath fill=%22url(%23g)%22 d=%22M0.0 0.0 L0.9 -2.8 L1.0 -3.9 L2.3 -6.7 L2.1 -7.8 L3.4 -10.7 L3.0 -11.8 L4.2 -14.6 L3.4 -15.7 L4.4 -18.5 L3.5 -19.6 L4.2 -22.4 L3.3 -23.5 L3.7 -26.3 L2.8 -27.4 L2.9 -30.2 L2.1 -31.3 L2.0 -34.2 L1.4 -35.2 L1.2 -38.1 L0.8 -39.2 L0.5 -42.0 L0.3 -43.1 L0.0 -45.9 L0.0 -47.0 L-0.0 -45.9 L-0.3 -43.1 L-0.5 -42.0 L-0.8 -39.2 L-1.2 -38.1 L-1.4 -35.2 L-2.0 -34.2 L-2.1 -31.3 L-2.9 -30.2 L-2.8 -27.4 L-3.7 -26.3 L-3.3 -23.5 L-4.2 -22.4 L-3.5 -19.6 L-4.4 -18.5 L-3.4 -15.7 L-4.2 -14.6 L-3.0 -11.8 L-3.4 -10.7 L-2.1 -7.8 L-2.3 -6.7 L-1.0 -3.9 L-0.9 -2.8ZM0.0 -0.0 L-0.6 -2.8 L-1.0 -3.8 L-1.2 -6.7 L-1.9 -7.5 L-2.2 -10.4 L-3.1 -11.1 L-3.6 -14.0 L-4.7 -14.5 L-5.4 -17.2 L-6.6 -17.7 L-7.5 -20.3 L-8.8 -20.7 L-10.0 -23.2 L-11.2 -23.7 L-12.6 -26.0 L-13.6 -26.6 L-15.2 -28.8 L-16.1 -29.5 L-17.7 -31.6 L-18.4 -32.4 L-19.9 -34.6 L-20.5 -35.5 L-20.0 -34.6 L-18.9 -32.1 L-18.6 -31.1 L-17.5 -28.6 L-17.3 -27.5 L-16.2 -25.1 L-16.2 -23.9 L-14.9 -21.5 L-15.1 -20.2 L-13.6 -18.0 L-13.8 -16.7 L-12.0 -14.6 L-12.2 -13.3 L-10.2 -11.3 L-10.3 -10.1 L-8.0 -8.3 L-8.0 -7.1 L-5.5 -5.4 L-5.2 -4.4 L-2.8 -2.7 L-2.1 -1.9ZM0.0 0.0 L2.1 -1.9 L2.8 -2.7 L5.2 -4.4 L5.5 -5.4 L8.0 -7.1 L8.0 -8.3 L10.3 -10.1 L10.2 -11.3 L12.2 -13.3 L12.0 -14.6 L13.8 -16.7 L13.6 -18.0 L15.1 -20.2 L14.9 -21.5 L16.2 -23.9 L16.2 -25.1 L17.3 -27.5 L17.5 -28.6 L18.6 -31.1 L18.9 -32.1 L20.0 -34.6 L20.5 -35.5 L19.9 -34.6 L18.4 -32.4 L17.7 -31.6 L16.1 -29.5 L15.2 -28.8 L13.6 -26.6 L12.6 -26.0 L11.2 -23.7 L10.0 -23.2 L8.8 -20.7 L7.5 -20.3 L6.6 -17.7 L5.4 -17.2 L4.7 -14.5 L3.6 -14.0 L3.1 -11.1 L2.2 -10.4 L1.9 -7.5 L1.2 -6.7 L1.0 -3.8 L0.6 -2.8ZM0.0 -0.0 L-1.6 -2.1 L-2.4 -2.7 L-3.9 -5.0 L-4.9 -5.3 L-6.4 -7.5 L-7.5 -7.5 L-9.3 -9.4 L-10.5 -9.3 L-12.4 -10.9 L-13.6 -10.8 L-15.7 -12.1 L-16.9 -12.0 L-19.1 -13.1 L-20.2 -13.2 L-22.5 -14.2 L-23.5 -14.5 L-25.7 -15.5 L-26.6 -16.0 L-25.8 -15.4 L-23.8 -13.9 L-23.1 -13.2 L-21.1 -11.6 L-20.6 -10.7 L-18.5 -9.3 L-18.0 -8.2 L-15.9 -7.0 L-15.5 -5.8 L-13.1 -4.9 L-12.7 -3.8 L-10.2 -3.1 L-9.6 -2.2 L-7.0 -1.8 L-6.2 -1.1 L-3.5 -0.9 L-2.6 -0.5ZM0.0 0.0 L2.6 -0.5 L3.5 -0.9 L6.2 -1.1 L7.0 -1.8 L9.6 -2.2 L10.2 -3.1 L12.7 -3.8 L13.1 -4.9 L15.5 -5.8 L15.9 -7.0 L18.0 -8.2 L18.5 -9.3 L20.6 -10.7 L21.1 -11.6 L23.1 -13.2 L23.8 -13.9 L25.8 -15.4 L26.6 -16.0 L25.7 -15.5 L23.5 -14.5 L22.5 -14.2 L20.2 -13.2 L19.1 -13.1 L16.9 -12.0 L15.7 -12.1 L13.6 -10.8 L12.4 -10.9 L10.5 -9.3 L9.3 -9.4 L7.5 -7.5 L6.4 -7.5 L4.9 -5.3 L3.9 -5.0 L2.4 -2.7 L1.6 -2.1ZM0.0 -0.0 L-2.1 -1.1 L-3.0 -1.2 L-5.1 -2.3 L-6.0 -2.0 L-8.1 -2.5 L-9.0 -1.9 L-11.1 -1.9 L-12.0 -1.4 L-14.1 -1.0 L-15.0 -0.7 L-17.2 -0.4 L-18.0 -0.3 L-17.2 -0.2 L-15.0 0.2 L-14.2 0.5 L-12.0 1.0 L-11.2 1.5 L-9.0 1.6 L-8.2 2.2 L-6.0 1.8 L-5.2 2.1 L-3.0 1.1 L-2.2 1.0ZM0.0 0.0 L2.2 1.0 L3.0 1.1 L5.2 2.1 L6.0 1.8 L8.2 2.2 L9.0 1.6 L11.2 1.5 L12.0 1.0 L14.2 0.5 L15.0 0.2 L17.2 -0.2 L18.0 -0.3 L17.2 -0.4 L15.0 -0.7 L14.1 -1.0 L12.0 -1.4 L11.1 -1.9 L9.0 -1.9 L8.1 -2.5 L6.0 -2.0 L5.1 -2.3 L3.0 -1.2 L2.1 -1.1Z%22/%3E%3Cpath stroke=%22%23e4ffb8%22 stroke-opacity=%22.55%22 stroke-width=%22.7%22 fill=%22none%22 d=%22M0 0 L0.0 -43.2M0 0 L-18.9 -32.7M0 0 L18.9 -32.7M0 0 L-24.4 -14.7M0 0 L24.4 -14.7M0 0 L-16.6 -0.3M0 0 L16.6 -0.3%22/%3E%3C/svg%3E");
    --ml-curva-izq: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 33' preserveAspectRatio='none'%3E%3Cpath d='M0 32.5C23 32.5 23 .5 46 .5' fill='none' stroke='%2396e2cd' stroke-opacity='.68' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
    --ml-curva-der: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 33' preserveAspectRatio='none'%3E%3Cpath d='M0 .5C23 .5 23 32.5 46 32.5' fill='none' stroke='%2396e2cd' stroke-opacity='.68' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
    --ml-ico-lupa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E");
    --ml-ico-carrito: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 3.5h2.6l2.4 11.2h10.8l2.2-8H6.2'/%3E%3Ccircle cx='9.5' cy='19.3' r='1.4'/%3E%3Ccircle cx='17' cy='19.3' r='1.4'/%3E%3C/svg%3E");
    --ml-ico-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
    --ml-ico-cerrar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
    --ml-ico-flecha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --ml-ico-globo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E");
}
.ml-divi #top-header { display: none !important; }
.ml-divi #top-menu .ml-solo-movil { display: none !important; }
@media (min-width: 981px) { .ml-divi .ml-cab-boton, .ml-divi .ml-cab-panel { display: none !important; } }

/* Fondo (2/12/2026, opción A, elegida por el usuario): sin foto propia. En la portada la cabecera es transparente
   sobre el carrusel, con un velo oscuro que se desvanece hacia abajo (ver el bloque de ordenador); en las demás
   páginas, azul petróleo con un degradado sutil; al bajar, cristal azul petróleo. */
.ml-divi #main-header { background: none !important; box-shadow: none !important; }
.ml-divi #main-header:before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, #041c24 0%, #08303b 100%);
}
.ml-divi #main-header > .container {
    position: relative; z-index: 1; display: flex; align-items: center;
    width: calc(100% - 60px); max-width: 1260px; height: 105px; transition: height .4s ease;
}
.ml-divi #main-header .logo_container { position: relative; width: auto; height: auto; flex: 0 0 auto; }
.ml-divi #main-header .logo_container .logo_helper { display: none; }
.ml-divi #logo { height: 75px; max-height: 75px !important; width: auto !important; max-width: none !important; transition: height .4s ease; }

/* Línea: tramo izquierdo + curva + tramo superior (con la hoja) + curva + tramo derecho */
.ml-divi #et-top-navigation {
    flex: 1 1 auto; display: flex; align-items: center; float: none !important;
    padding: 0 !important; margin-left: 22px; height: 100%;
}
.ml-divi #et-top-navigation:before,
.ml-divi #et-top-navigation:after {
    content: ""; flex: 1 1 40px; height: 1px; background: var(--ml-linea); box-shadow: 0 0 6px var(--ml-brillo);
}
.ml-divi #et-top-navigation:before { order: 0; margin-right: var(--ml-curva); }
.ml-divi #et-top-navigation:after  { order: 2; margin-left: var(--ml-curva); margin-right: 18px; }
.ml-divi #top-menu-nav {
    order: 1; position: relative; display: flex; align-items: center; height: calc(var(--ml-arco) * 2);
    border-top: 1px solid var(--ml-linea); box-shadow: 0 -3px 6px -4px var(--ml-brillo);
}
.ml-divi #top-menu-nav:before,
.ml-divi #top-menu-nav:after {
    content: ""; position: absolute; top: -1px; width: var(--ml-curva); height: calc(var(--ml-arco) + 1px);
    background: no-repeat 0 0 / 100% 100%; pointer-events: none;
}
.ml-divi #top-menu-nav:before { left: calc(-1 * var(--ml-curva)); background-image: var(--ml-curva-izq); }
.ml-divi #top-menu-nav:after  { right: calc(-1 * var(--ml-curva)); background-image: var(--ml-curva-der); }

/* Hoja central: su tallo nace de la línea */
.ml-divi #top-menu { position: static; display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.ml-divi #top-menu:before {
    content: ""; position: absolute; left: 50%; top: -26px; width: 32px; height: 35px; transform: translateX(-50%);
    background: var(--ml-hoja) no-repeat center / contain; pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(150, 255, 90, .55)); transition: opacity .3s;
}

/* Apartados */
.ml-divi #top-menu li { padding: 0 !important; }
.ml-divi #main-header #top-menu > li > a {
    display: inline-flex; align-items: center; padding: 8px 18px !important; border: 1px solid transparent; border-radius: 18px;
    font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255, 255, 255, .92) !important; opacity: 1 !important;
    transition: color .3s, border-color .3s, background-color .3s, box-shadow .3s, text-shadow .3s;
}
.ml-divi #main-header #top-menu > li > a:hover {
    color: #fff !important; border-color: rgba(166, 236, 90, .35); text-shadow: 0 0 8px rgba(166, 236, 90, .45);
}
.ml-divi #main-header #top-menu > li.current-menu-item > a,
.ml-divi #main-header #top-menu > li.current-menu-ancestor > a,
.ml-divi #main-header #top-menu > li.current_page_item > a {
    color: #fff !important; background: rgba(110, 210, 70, .16); border-color: rgba(176, 246, 104, .85);
    box-shadow: 0 0 10px rgba(130, 235, 80, .45), inset 0 0 8px rgba(160, 255, 110, .16);
}
.ml-divi #top-menu .menu-item-has-children > a:first-child { padding-right: 18px !important; }
.ml-divi #top-menu .menu-item-has-children > a:first-child:after {
    content: ""; position: static; display: inline-block; width: 10px; height: 10px; margin-left: 7px;
    background-color: currentColor; -webkit-mask: var(--ml-ico-flecha) center / contain no-repeat; mask: var(--ml-ico-flecha) center / contain no-repeat;
    font-family: inherit; font-size: 0; transition: transform .3s;
}
.ml-divi #top-menu .menu-item-has-children:hover > a:first-child:after { transform: translateY(2px); }

/* Desplegable de Productos: cristal oscuro con el mismo filo */
.ml-divi #top-menu li ul.sub-menu {
    top: calc(100% + 14px); left: 50%; margin-left: -120px; width: 240px; padding: 10px 0;
    background: rgba(5, 32, 38, .94) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid var(--ml-linea); border-radius: 14px; box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
}
.ml-divi #top-menu li ul.sub-menu:before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.ml-divi #top-menu li li { padding: 0 !important; width: 100%; }
.ml-divi #top-menu li li a {
    width: auto; padding: 9px 22px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255, 255, 255, .85) !important; transition: color .3s, background-color .3s;
}
.ml-divi #top-menu li li a:hover { color: var(--ml-verde) !important; background: rgba(166, 236, 90, .08); opacity: 1; }

/* Círculos pequeños: buscador, carrito e idioma */
.ml-divi #et_top_search, .ml-divi .ml-boton-redondo {
    order: 3; float: none; position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; margin: 0 0 0 10px; padding: 0; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 50%;
    color: #fff !important; background: transparent; cursor: pointer;
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.ml-divi .ml-carrito { order: 4; }
.ml-divi .ml-idioma-cambio { order: 5; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; line-height: 1; text-decoration: none; }
.ml-divi #et_top_search:hover, .ml-divi .ml-boton-redondo:hover {
    border-color: var(--ml-verde); background: rgba(166, 236, 90, .1); box-shadow: 0 0 10px rgba(166, 236, 90, .45);
}
.ml-divi #et_search_icon:before, .ml-divi .ml-carrito:before {
    content: ""; position: static; display: block; width: 14px; height: 14px; margin: 0; background-color: currentColor;
    -webkit-mask: var(--ml-ico-lupa) center / contain no-repeat; mask: var(--ml-ico-lupa) center / contain no-repeat;
    font-size: 0;
}
.ml-divi #et_search_icon { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #fff; }
.ml-divi .ml-carrito:before { width: 15px; height: 15px; -webkit-mask-image: var(--ml-ico-carrito); mask-image: var(--ml-ico-carrito); }

/* Buscador desplegado (el de Divi): una cápsula fina dentro del arco de la línea, con su botón de cerrar al lado */
.ml-divi #main-header .et_search_outer { z-index: 2; }
/* Divi deja la caja del buscador invisible (opacidad 0) sobre la cabecera: solo ocupa sitio y recibe clics cuando está abierta. */
.ml-divi .et_search_form_container { max-width: 1260px; width: calc(100% - 60px); }
.ml-divi .et_search_form_container.et_pb_search_visible,
.ml-divi .et_search_form_container.et_pb_search_form_hidden { height: 105px !important; }
.ml-divi .et_search_form_container:not(.et_pb_search_visible) { pointer-events: none; }
.ml-divi #main-header .et-search-form {
    position: absolute; top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%);
    width: 440px !important; max-width: 44% !important; height: 38px; margin: 0; background: transparent !important;
}
.ml-divi #main-header .et-search-form input {
    position: static; display: block; width: 100%; height: 38px; margin: 0; padding: 0 20px; box-sizing: border-box;
    color: #fff !important; font-size: 14px !important; font-weight: 400 !important; letter-spacing: .03em !important; text-transform: none !important;
    background: rgba(255, 255, 255, .06); border: 1px solid var(--ml-linea); border-radius: 19px; box-shadow: 0 0 10px var(--ml-brillo);
}
.ml-divi #main-header .et-search-form input::placeholder { color: rgba(255, 255, 255, .6); text-transform: none !important; font-weight: 400 !important; }
.ml-divi #main-header .et_close_search_field {
    position: absolute; top: 50%; left: calc(50% + min(220px, 22%) + 12px); right: auto; bottom: auto; transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center; width: 30px; height: 30px;
    border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 50%; cursor: pointer; transition: border-color .3s, box-shadow .3s;
}
.ml-divi .et_pb_menu_hidden #et_search_icon:before { opacity: 1 !important; animation: none !important; }
.ml-divi #main-header .et_close_search_field:hover { border-color: var(--ml-verde); box-shadow: 0 0 10px rgba(166, 236, 90, .45); }
.ml-divi #main-header .et_close_search_field:after {
    content: ""; position: static; display: block; width: 12px; height: 12px; background-color: #fff; font-size: 0;
    -webkit-mask: var(--ml-ico-cerrar) center / contain no-repeat; mask: var(--ml-ico-cerrar) center / contain no-repeat;
}

@media (min-width: 981px) {
    /* En la portada la cabecera va sobre el carrusel, que empieza arriba del todo. */
    .ml-divi.home #page-container { padding-top: 0 !important; }
    .ml-divi.home #main-header { top: var(--wp-admin--admin-bar--height, 0px) !important; }
    /* Desde el 2/12/2026 (tarde), a petición del usuario: en todas las páginas que empiezan con foto (portada,
       cabeceras de página, fichas, Blog, entradas con foto y 404) el menú va sobre la foto con el velo oscuro que se
       desvanece, como en la portada. Las que empiezan en blanco (búsqueda, categorías y las entradas con columna
       lateral) siguen con la franja azul petróleo. */
    .ml-divi #main-header:before { transition: opacity .35s ease; }
    .ml-divi.home #main-header:before,
    .ml-divi.error404 #main-header:before,
    .ml-divi:has(.et_pb_section_0.ml-cabecera-pagina) #main-header:before {
        background: linear-gradient(180deg, rgba(2, 18, 24, .72) 0%, rgba(2, 18, 24, .42) 55%, rgba(2, 18, 24, 0) 100%);
    }
    /* Blog y entradas: algunas fotos son muy claras arriba (lana de roca, cannabis medicinal…). Velo más oscuro que
       baja un poco más y una sombra suave bajo los apartados del menú. */
    .ml-divi:has(.et_pb_section_0.ml-cabecera-entrada) #main-header:before {
        bottom: -50px;
        background: linear-gradient(180deg, rgba(2, 18, 24, .85) 0%, rgba(2, 18, 24, .62) 50%, rgba(2, 18, 24, 0) 100%);
    }
    .ml-divi:has(.et_pb_section_0.ml-cabecera-entrada) #main-header:not(.et-fixed-header) #top-menu > li > a:not(:hover) {
        text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
    }
    /* Al bajar: la cabecera se queda fija y del mismo tamaño (105 px, punto medio entre los 126 de arriba y los 84
       que tenía al bajar); solo cambia el fondo, que pasa del velo o la franja al cristal azul petróleo con un fundido. */
    .ml-divi #main-header:after {
        content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease;
        background: rgba(var(--ml-petroleo), .9);
        -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
    }
    .ml-divi #main-header.et-fixed-header:after { opacity: 1; }
    .ml-divi #main-header.et-fixed-header:before { opacity: 0; }
}

/* Móvil y tableta (diseño del usuario, 2/12/2026, imagen 8): sin franja ni línea. Logo grande a la izquierda; a la
   derecha el menú y, debajo, lupa, carrito e idioma, todo sobre la foto con un degradado azul petróleo que se
   desvanece hacia abajo. En el móvil la cabecera no se queda fija: solo va sobre la foto de arriba de cada página.
   Con el menú, el buscador o el idioma abiertos, la cabecera se vuelve opaca; en la búsqueda y en las listas de
   categorías y etiquetas (empiezan en blanco, sin foto) también. */
@media (max-width: 980px) {
    .ml-divi { --ml-cab-alto: 116px; }
    .ml-divi #main-header { background: transparent !important; }
    .ml-divi #main-header:before {
        bottom: -40px;
        background: linear-gradient(180deg, rgba(var(--ml-petroleo), .62) 0%, rgba(var(--ml-petroleo), .4) 55%, rgba(var(--ml-petroleo), 0) 100%);
    }
    .ml-divi #main-header:has(.mobile_nav.opened):before,
    .ml-divi #main-header.ml-cab-abierto:before,
    .ml-divi.search #main-header:before,
    .ml-divi.archive #main-header:before {
        bottom: 0; background: rgba(var(--ml-petroleo), .95);
        -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
    }
    .ml-divi #main-header > .container {
        width: calc(100% - 32px); height: var(--ml-cab-alto); align-items: flex-start; padding: 14px 0 12px; box-sizing: border-box;
    }
    .ml-divi #logo { height: 90px; max-height: 90px !important; }
    /* Derecha: el menú arriba y la fila de lupa, carrito e idioma alineada con el pie del logo */
    .ml-divi #et-top-navigation {
        display: grid; grid-template-columns: 40px 40px auto; grid-template-rows: 44px 40px; grid-template-areas: ". . menu" "lupa carro idioma";
        align-content: space-between; justify-content: end; justify-items: end; column-gap: 6px; height: 90px; margin: 0 -4px 0 auto;
    }
    .ml-divi #et-top-navigation:before, .ml-divi #et-top-navigation:after, .ml-divi #top-menu-nav,
    .ml-divi #et_top_search, .ml-divi .ml-idioma-cambio, .ml-divi #main-header .et_search_outer { display: none !important; }

    /* Lupa, carrito, idioma y menú: iconos blancos sin fondo, con 40 px para tocarlos bien */
    .ml-divi .ml-carrito, .ml-divi .mobile_nav .mobile_menu_bar, .ml-divi .ml-cab-boton {
        display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0 !important;
        border: 0; border-radius: 50%; background: transparent; box-shadow: none; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent;
    }
    .ml-divi .ml-carrito { grid-area: carro; }
    .ml-divi .ml-carrito:hover, .ml-divi .ml-cab-boton:hover, .ml-divi .ml-cab-boton[aria-expanded="true"] { background: rgba(166, 236, 90, .1); box-shadow: none; }
    .ml-divi .ml-carrito:before { width: 21px; height: 21px; }
    .ml-divi .ml-cab-lupa { grid-area: lupa; }
    .ml-divi .ml-cab-lupa:before {
        content: ""; display: block; width: 21px; height: 21px; background-color: currentColor; transition: background-color .3s;
        -webkit-mask: var(--ml-ico-lupa) center / contain no-repeat; mask: var(--ml-ico-lupa) center / contain no-repeat;
    }
    .ml-divi .ml-cab-lupa[aria-expanded="true"]:before { background-color: var(--ml-verde); -webkit-mask-image: var(--ml-ico-cerrar); mask-image: var(--ml-ico-cerrar); }
    .ml-divi .ml-cab-idioma { grid-area: idioma; width: auto; gap: 3px; padding: 0 4px 0 6px !important; border-radius: 20px; }
    .ml-divi .ml-cab-globo {
        display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; box-sizing: border-box;
        border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 50%; transition: border-color .3s;
    }
    .ml-divi .ml-cab-globo:before {
        content: ""; display: block; width: 16px; height: 16px; background-color: currentColor;
        -webkit-mask: var(--ml-ico-globo) center / contain no-repeat; mask: var(--ml-ico-globo) center / contain no-repeat;
    }
    .ml-divi .ml-cab-idioma:after {
        content: ""; display: block; width: 9px; height: 9px; background-color: currentColor; transition: transform .3s;
        -webkit-mask: var(--ml-ico-flecha) center / contain no-repeat; mask: var(--ml-ico-flecha) center / contain no-repeat;
    }
    .ml-divi .ml-cab-idioma[aria-expanded="true"] .ml-cab-globo { border-color: var(--ml-verde); }
    .ml-divi .ml-cab-idioma[aria-expanded="true"]:after { transform: rotate(180deg); }
    .ml-divi #et_mobile_nav_menu, .ml-divi .mobile_nav { position: static; float: none; display: block; }
    .ml-divi #et_mobile_nav_menu { grid-area: menu; margin: 0 -4px 0 0; }
    .ml-divi .mobile_nav .select_page { display: none; }
    .ml-divi .mobile_nav .mobile_menu_bar:before,
    .ml-divi .mobile_nav.opened .mobile_menu_bar:before {
        content: ""; position: static; display: block; width: 28px; height: 28px; background-color: #fff; font-size: 0;
        -webkit-mask: var(--ml-ico-menu) center / contain no-repeat; mask: var(--ml-ico-menu) center / contain no-repeat;
        transition: background-color .3s;
    }
    .ml-divi .mobile_nav.opened .mobile_menu_bar:before {
        background-color: var(--ml-verde); -webkit-mask-image: var(--ml-ico-cerrar); mask-image: var(--ml-ico-cerrar);
    }

    /* Panel del menú: ocupa todo el ancho bajo la barra */
    .ml-divi #main-header .et_mobile_menu {
        top: 100%; left: -16px; right: -16px; width: auto; max-width: none; margin: 0; padding: 4px 20px 18px;
        background: rgba(var(--ml-petroleo), .95) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
        border: 0; border-radius: 0 0 18px 18px; box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
    }
    .ml-divi .et_mobile_menu > li { padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
    .ml-divi .et_mobile_menu li a {
        display: inline-flex; align-items: center; width: auto; margin: 7px 0; padding: 7px 14px;
        color: #fff !important; font-size: 13px; font-weight: 600; line-height: 18px; letter-spacing: .08em; text-transform: uppercase;
        background: transparent !important; border: 1px solid transparent; border-radius: 18px;
        transition: color .3s, border-color .3s, box-shadow .3s;
    }
    .ml-divi .et_mobile_menu li a:hover { color: var(--ml-verde) !important; opacity: 1; }
    .ml-divi .et_mobile_menu > li.current-menu-item > a,
    .ml-divi .et_mobile_menu > li.current-menu-ancestor > a {
        color: #fff !important; background: rgba(110, 210, 70, .16) !important; border-color: rgba(176, 246, 104, .85);
        box-shadow: 0 0 10px rgba(130, 235, 80, .4), inset 0 0 8px rgba(160, 255, 110, .14);
    }
    .ml-divi .et_mobile_menu ul.sub-menu { padding: 0 0 8px 14px; }
    .ml-divi .et_mobile_menu li li { padding: 0; border: 0; }
    .ml-divi .et_mobile_menu li li a { margin: 0; padding: 6px 14px; font-size: 11.5px; letter-spacing: .07em; color: rgba(255, 255, 255, .75) !important; }

    /* Paneles de la lupa y del idioma: como el del menú, bajo la cabecera */
    .ml-divi .ml-cab-panel {
        position: absolute; top: 100%; left: -16px; right: -16px; z-index: 2; margin: 0; padding: 16px 20px 18px;
        background: rgba(var(--ml-petroleo), .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
        border-radius: 0 0 18px 18px; box-shadow: 0 18px 30px rgba(0, 0, 0, .35);
    }
    .ml-divi .ml-cab-panel[hidden] { display: none !important; }
    .ml-divi .ml-cab-idiomas ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
    .ml-divi .ml-cab-idiomas li { padding: 0; }
    .ml-divi .ml-cab-idiomas a {
        display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px;
        font-size: 13px; line-height: 18px; letter-spacing: .02em; color: rgba(255, 255, 255, .85); text-decoration: none;
    }
    .ml-divi .ml-cab-idiomas a span {
        display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; box-sizing: border-box;
        border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; font-size: 10px; font-weight: 700; letter-spacing: .04em;
        transition: border-color .3s;
    }
    .ml-divi .ml-cab-idiomas a:hover span { border-color: var(--ml-verde); }
    .ml-divi .ml-cab-idiomas a[aria-current] { color: #fff; font-weight: 600; }
    .ml-divi .ml-cab-idiomas a[aria-current] span {
        border-color: rgba(176, 246, 104, .85); background: rgba(110, 210, 70, .16); box-shadow: 0 0 10px rgba(130, 235, 80, .4);
    }

    /* La búsqueda y el idioma ya no van dentro del menú (están en la cabecera) */
    .ml-divi .et_mobile_menu > li.ml-solo-movil { display: none; border-bottom: 0; }
    .ml-divi .et_mobile_menu .ml-menu-buscar { padding-top: 16px; }
    .ml-divi .ml-menu-buscar form { position: relative; margin: 0; }
    .ml-divi .ml-menu-buscar input[type="search"] {
        display: block; width: 100%; height: 42px; margin: 0; padding: 0 46px 0 18px; box-sizing: border-box;
        font-family: inherit; font-size: 14px; color: #fff; background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(150, 226, 205, .35); border-radius: 21px; outline: 0; -webkit-appearance: none; appearance: none;
        transition: border-color .3s, box-shadow .3s;
    }
    .ml-divi .ml-menu-buscar input[type="search"]::placeholder { color: rgba(255, 255, 255, .55); }
    .ml-divi .ml-menu-buscar input[type="search"]:focus { border-color: var(--ml-verde); box-shadow: 0 0 0 3px rgba(166, 236, 90, .14); }
    .ml-divi .ml-menu-buscar button {
        position: absolute; top: 5px; right: 5px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
        background: transparent; cursor: pointer;
    }
    .ml-divi .ml-menu-buscar button:before {
        content: ""; display: block; width: 16px; height: 16px; margin: auto; background-color: #fff;
        -webkit-mask: var(--ml-ico-lupa) center / contain no-repeat; mask: var(--ml-ico-lupa) center / contain no-repeat;
    }
    .ml-divi .et_mobile_menu .ml-menu-idioma a {
        gap: 10px; margin: 10px 0 0; padding: 4px 14px 4px 4px;
        text-transform: none; font-weight: 400; letter-spacing: .02em; color: rgba(255, 255, 255, .85) !important;
    }
    .ml-divi .ml-menu-idioma a span {
        display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
        border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; font-size: 10px; font-weight: 700; letter-spacing: .04em;
        transition: border-color .3s;
    }
    .ml-divi .ml-menu-idioma a:hover span { border-color: var(--ml-verde); }
}

/* ===== 4. Títulos comunes ===== */
.ml-divi .ml-titulo-pagina { font-size: 44px; line-height: 50px; font-weight: 300; color: #323338; text-align: center; margin: 0; }
.ml-divi .ml-subtitulo { font-size: 20px; line-height: 30px; font-weight: 300; color: #323338; text-align: center; margin: 0; }
.ml-divi .ml-titulo-36 { font-size: 36px; line-height: 50px; font-weight: 300; color: #323338; text-align: center; margin: 0; }
.ml-divi .ml-titulo-36.ml-oscuro { color: #232323; }
.ml-divi .ml-titulo-28 { font-size: 28px; line-height: 50px; font-weight: 300; color: #232323; text-align: center; margin: 0; }
.ml-divi .ml-titulo-42, .ml-divi .ml-titulo-40, .ml-divi .ml-titulo-38 { line-height: 50px; font-weight: 300; color: #323338; text-align: center; margin: 0; }
.ml-divi .ml-titulo-42 { font-size: 42px; }
.ml-divi .ml-titulo-40 { font-size: 40px; }
.ml-divi .ml-titulo-38 { font-size: 38px; }
.ml-divi .ml-con-icono:before {
    content: ""; display: inline-block; width: .72em; height: .72em; margin-right: 18px; vertical-align: -0.04em;
    background-color: #232323; -webkit-mask: var(--ml-ico) center / contain no-repeat; mask: var(--ml-ico) center / contain no-repeat;
}
.ml-divi .ml-ico-hoja   { --ml-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 2S6.6.3 3.5 10.3c-.9 2.9-.3 5.5 1.1 7.3L2 22.5l1.8.9 2.3-4.2c1.8 1.4 4.6 1.9 7.3 1C23.6 17.1 22 2 22 2zM7.7 17.2c1.7-4 4.9-7.5 9.1-9.8-3.4 2.9-6 6.2-7.5 10.3z'/%3E%3C/svg%3E"); }
.ml-divi .ml-ico-charla { --ml-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 4h14a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H7l-5 4V5a1 1 0 0 1 1-1zm17 4h2a1 1 0 0 1 1 1v13l-5-4H8a1 1 0 0 1-1-1v-1h11a1 1 0 0 0 1-1z'/%3E%3C/svg%3E"); }
.ml-divi .ml-ico-trofeo { --ml-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h12v2h4v3a5 5 0 0 1-5 5h-.4A6 6 0 0 1 13 15.9V19h4v3H7v-3h4v-3.1A6 6 0 0 1 7.4 12H7a5 5 0 0 1-5-5V4h4zm0 4H4v1a3 3 0 0 0 2 2.8zm14 0h-2v3.8A3 3 0 0 0 20 7z'/%3E%3C/svg%3E"); }
.ml-divi .ml-con-lineas { display: flex; align-items: center; justify-content: center; gap: 28px; }
.ml-divi .ml-con-lineas:after,
.ml-divi .ml-con-lineas-antes { content: ""; display: block; width: 95px; height: 1px; background: #232323; }
.ml-divi .ml-con-lineas .ml-linea { display: block; width: 95px; height: 1px; background: #232323; }

/* ===== 5. Portada: carrusel ===== */
.ml-divi .ml-carrusel .et_pb_slide { background-size: cover; background-position: center; padding: 0 !important; }
.ml-divi .ml-carrusel .et_pb_slider_container_inner { vertical-align: top; }
.ml-divi .ml-carrusel .et_pb_slide .et_pb_container { width: calc(100% - 280px); max-width: 1160px; height: 600px !important; }
.ml-divi .ml-carrusel .et_pb_slide_description { padding: 240px 0 0 !important; text-shadow: none; }
.ml-divi .ml-carrusel .et_pb_slide_title { font-size: 50px !important; line-height: 60px !important; font-weight: 300 !important; color: #fff; padding: 0; margin: 0; }
.ml-divi .ml-carrusel .et_pb_slide_title a { color: #fff !important; }
.ml-divi .ml-carrusel .et_pb_slide_content { font-size: 20px; line-height: 22px; font-weight: 300; color: #fff; padding-top: 8px; }
/* Las diapositivas se identifican por su orden: 1.ª y 3.ª a la izquierda, 2.ª a la derecha (como antes). */
.ml-divi .ml-carrusel .et_pb_slide:nth-child(1) .et_pb_slide_content { font-size: 26px; }
.ml-divi .ml-carrusel .et_pb_slide_description { width: 100%; max-width: none; margin: 0 !important; }
.ml-divi .ml-carrusel .et_pb_slide:nth-child(1) .et_pb_slide_description,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(1) .et_pb_slide_title,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(1) .et_pb_slide_content,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(1) .et_pb_slide_content p,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(3) .et_pb_slide_description,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(3) .et_pb_slide_title,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(3) .et_pb_slide_content,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(3) .et_pb_slide_content p { text-align: left !important; margin-left: 0 !important; }
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2) .et_pb_slide_description,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2) .et_pb_slide_title,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2) .et_pb_slide_content,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2) .et_pb_slide_content p { text-align: right !important; }
.ml-divi .ml-carrusel .et_pb_slide:nth-child(1) .et_pb_slide_title,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(3) .et_pb_slide_title { max-width: 320px; }
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2) .et_pb_slide_title { max-width: 530px; margin-left: auto; }
/* Los títulos no se parten a mitad de palabra; la 3.ª queda «Productos / microbiológicos», como en el original. */
.ml-divi .ml-carrusel .et_pb_slide_title { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (min-width: 981px) { .ml-divi .ml-carrusel .et_pb_slide:nth-child(3) .et_pb_slide_title { max-width: 400px; } }
.ml-divi .ml-carrusel .et_pb_button_wrapper { margin-top: 14px; }
.ml-divi .ml-carrusel .et_pb_more_button.et_pb_button {
    font-size: 13px; line-height: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: 0;
    padding: 9px 25px !important; border-radius: 30px; border: 0; background: #58b737; color: #fff; transition: background .3s, color .3s;
}
.ml-divi .ml-carrusel .et_pb_more_button.et_pb_button:after { display: none; }
.ml-divi .ml-carrusel .et_pb_more_button.et_pb_button:hover { background: #298eea; color: #fff; padding: 9px 25px !important; }
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2) .et_pb_more_button.et_pb_button { background: transparent; border: 1px solid #fff; padding: 8px 25px !important; }
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2) .et_pb_more_button.et_pb_button:hover { background: #fff; color: #58b737; padding: 8px 25px !important; }
.ml-divi .ml-carrusel .et-pb-controllers, .ml-divi .ml-carrusel .et-pb-slider-arrows { display: none; }

/* Zoom lento de cada foto, como en el carrusel original (Slider Revolution, 11 s): la 1.ª y la 3.ª se alejan de 120 %
   a 100 % y la 2.ª se acerca de 100 % a 120 %; la 3.ª va anclada abajo. La foto se repite en una capa (:before) que es
   la que se mueve, para no tocar los textos ni los botones. */
.ml-divi .ml-carrusel .et_pb_slide { overflow: hidden; }
.ml-divi .ml-carrusel .et_pb_slide:before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform;
    background-image: inherit; background-size: cover; background-position: center; background-repeat: no-repeat;
    transform: scale(1.2); transform-origin: center;
}
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2):before { transform: scale(1); }
.ml-divi .ml-carrusel .et_pb_slide:nth-child(3):before { background-position: center bottom; transform-origin: center bottom; }
.ml-divi .ml-carrusel .et_pb_slide > .et_pb_container { z-index: 1; }
/* La que se va sigue moviéndose mientras se funde (Divi le pasa de «active» a «moved» y luego «transition»). */
.ml-divi .ml-carrusel .et-pb-active-slide:before,
.ml-divi .ml-carrusel .et-pb-moved-slide:before,
.ml-divi .ml-carrusel .et_slide_transition:before { animation: ml-alejar 11s linear forwards; }
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2).et-pb-active-slide:before,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2).et-pb-moved-slide:before,
.ml-divi .ml-carrusel .et_pb_slide:nth-child(2).et_slide_transition:before { animation-name: ml-acercar; }
@keyframes ml-alejar  { from { transform: scale(1.2); } to { transform: scale(1); } }
@keyframes ml-acercar { from { transform: scale(1); } to { transform: scale(1.2); } }

/* ===== 6. Portada: logos de productos ===== */
.ml-divi .ml-logos { background: #fbfbfb; }
@media (min-width: 981px) {
    .ml-divi .ml-logos .et_pb_row { display: flex; align-items: center; justify-content: space-between; height: 120px; }
    .ml-divi .ml-logos .et_pb_column { width: 232px !important; margin: 0 !important; }
}
.ml-divi .ml-logos .et_pb_image { text-align: center; margin: 0; }
.ml-divi .ml-logos .et_pb_image img { max-height: 48px; width: auto; opacity: .9; transition: opacity .3s; }
.ml-divi .ml-logos .et_pb_image a:hover img { opacity: 1; }

/* ===== 7. Portada: presentación ===== */
.ml-divi .ml-intro { padding: 61px 0 0; }
.ml-divi .ml-intro .ml-intro-texto { padding: 50px 20px 0; text-align: justify; }
.ml-divi .ml-intro .ml-intro-texto p { padding-bottom: 20px; }
.ml-divi .ml-intro .ml-intro-texto p:first-child { padding-bottom: 40px; }
.ml-divi .ml-intro .ml-intro-columnas { margin-top: 60px; }
@media (min-width: 981px) {
    .ml-divi .ml-intro .ml-intro-columnas { display: flex; justify-content: space-between; }
    .ml-divi .ml-intro .ml-intro-columnas > .et_pb_column:first-child { width: 760px !important; margin: 0 !important; }
    .ml-divi .ml-intro .ml-intro-columnas > .et_pb_column:last-child { width: 359px !important; margin: 0 !important; }
}
.ml-divi .ml-intro .ml-intro-columnas .et_pb_image { margin: 0; }

/* ===== 8. Portada: para qué usar nuestros productos ===== */
.ml-divi .ml-beneficios { padding: 75px 0 0; }
.ml-divi .ml-beneficios .ml-beneficios-fila { margin-top: 60px; }
.ml-divi .ml-beneficios .ml-beneficios-fila + .ml-beneficios-fila { margin-top: 30px; }
@media (min-width: 981px) {
    .ml-divi .ml-beneficios .ml-beneficios-fila { display: flex; justify-content: space-between; }
    .ml-divi .ml-beneficios .ml-beneficios-fila > .et_pb_column { width: 359px !important; margin: 0 !important; }
}
.ml-divi .ml-beneficio, .ml-divi .ml-beneficio .et_pb_blurb_content, .ml-divi .ml-beneficio .et_pb_module_header,
.ml-divi .ml-beneficio .et_pb_blurb_description, .ml-divi .ml-beneficio .et_pb_blurb_description p { text-align: center !important; }
.ml-divi .ml-beneficio .et_pb_blurb_content { max-width: none; }
.ml-divi .ml-beneficio { margin-bottom: 0 !important; }
.ml-divi .ml-beneficio .et_pb_main_blurb_image { margin-bottom: 20px; }
.ml-divi .ml-beneficio .et_pb_main_blurb_image img { width: 48px; height: 48px; }
.ml-divi .ml-beneficio .et_pb_module_header { font-size: 24px; line-height: 50px; font-weight: 400; color: #168eea; padding-bottom: 30px; }
.ml-divi .ml-beneficio .et_pb_blurb_description { font-size: 14px; line-height: 26px; color: #505050; }

/* ===== 9. Portada: productos destacados ===== */
.ml-divi .ml-destacados { padding: 60px 0 0; }
.ml-divi .ml-destacados .ml-destacados-fila { width: 100%; max-width: none; display: flex; margin-top: 40px; }
.ml-divi .ml-destacados .ml-destacados-fila > .et_pb_column { width: 20% !important; margin: 0 !important; }
.ml-divi .ml-destacado { margin: 0 !important; overflow: hidden; }
.ml-divi .ml-destacado .et_pb_image_wrap { display: block; overflow: hidden; border: 0; box-shadow: none; }
.ml-divi .ml-destacado img { width: calc(100% + 6px); max-width: none; margin-left: -3px; height: 415px; object-fit: cover; display: block; transition: transform .6s; }
.ml-divi .ml-destacado .et_overlay { background: rgba(41, 142, 234, .2); border: 0; }
.ml-divi .ml-destacado .et_overlay:before { content: "+"; font-family: "Open Sans", Arial, sans-serif; font-size: 48px; font-weight: 300; color: #fff; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; }
.ml-divi .ml-destacado-nombre { text-align: center; padding: 18px 0 0; }
.ml-divi .ml-destacado-nombre h3, .ml-divi .ml-destacado-nombre h4 { font-size: 20px; line-height: 26px; font-weight: 400; padding: 0; }
.ml-divi .ml-destacado-nombre a { color: #298eea; }

/* ===== 10. Portada: testimonios ===== */
.ml-divi .ml-testimonios-cabecera { padding: 110px 0 20px; }
.ml-divi .ml-testimonios-cabecera .ml-subtitulo { font-size: 18px; line-height: 30px; padding-top: 20px; }
.ml-divi .ml-testimonios .ml-testimonios-fila { width: 100%; max-width: none; display: flex; }
.ml-divi .ml-testimonios .ml-testimonios-fila > .et_pb_column { width: 50% !important; margin: 0 !important; }
.ml-divi .ml-testimonios .ml-testimonios-foto { min-height: 610px; background-size: cover; background-position: center; }
.ml-divi .ml-testimonios .ml-testimonios-texto { background: #298eea; display: flex; align-items: center; }
.ml-divi .ml-citas { width: 100%; background: transparent !important; }
.ml-divi .ml-citas .et_pb_slide { background: transparent !important; padding: 0 100px; }
.ml-divi .ml-citas .et_pb_slide_description { padding: 0 !important; text-align: left; }
.ml-divi .ml-citas .et_pb_slide_content p { font-size: 24px; line-height: 38px; font-weight: 300; color: #fff; text-align: justify; padding-bottom: 35px; }
.ml-divi .ml-citas .et_pb_slide_content .ml-cita-autor { font-size: 16px; line-height: 22px; font-weight: 400; text-align: center; padding: 0; }
.ml-divi .ml-citas .et_pb_slide_content .ml-cita-autor strong { font-weight: 600; }
.ml-divi .ml-citas .et-pb-controllers { bottom: -60px; }
.ml-divi .ml-citas .et-pb-controllers a { width: 9px; height: 9px; background: #e4e4e4; opacity: 1; margin: 0 6px; }
.ml-divi .ml-citas .et-pb-controllers a.et-pb-active-control { background: #fff; }
.ml-divi .ml-citas .et-pb-slider-arrows { display: none; }

/* ===== 11. Portada: recomendados ===== */
.ml-divi .ml-recomendados { padding: 72px 0 124px; }
.ml-divi .ml-recomendados .ml-recomendados-fila { margin-top: 46px; display: flex; justify-content: space-between; }
.ml-divi .ml-recomendados .ml-recomendados-fila > .et_pb_column { width: 290px !important; margin: 0 !important; }
.ml-divi .ml-recomendados .et_pb_image { text-align: center; margin: 0; }
.ml-divi .ml-recomendados .et_pb_image img { max-height: 91px; width: auto; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.ml-divi .ml-recomendados .et_pb_image a:hover img { filter: none; opacity: 1; }

/* ===== 12. Pie ===== */
.ml-divi #main-footer { background: #323338; }
.ml-divi #footer-bottom { background: #323338; padding: 0; }
.ml-divi #footer-bottom .container { padding: 35px 0 55px; }
.ml-divi #footer-info { float: none; width: 100%; padding: 0; color: #fff; }
.ml-divi .ml-pie { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.ml-divi .ml-pie-legal { padding: 0; font-size: 14px; color: #fff; }
.ml-divi .ml-pie-legal a { color: #6a6a6a !important; }
.ml-divi #footer-info .ml-pie-legal a { font-weight: 400; }
.ml-divi .ml-pie-legal a:hover { color: #fff !important; }
.ml-divi .ml-pie-boletin { display: flex; align-items: center; gap: 0; color: #fff; font-size: 14px; }
.ml-divi .ml-pie-boletin .mc4wp-form-fields label { display: flex; align-items: center; gap: 15px; margin: 0; color: #fff; font-size: 14px; font-weight: 400; }
.ml-divi .ml-pie-boletin form, .ml-divi .ml-pie-boletin .mc4wp-form-fields { display: flex; align-items: center; margin: 0; }
.ml-divi .ml-pie-boletin p { padding: 0; margin: 0; display: flex; align-items: center; }
.ml-divi .ml-pie-boletin input[type="email"] {
    width: 212px; height: 50px; padding: 0 20px; border-radius: 25px; border: 1px solid rgba(255, 255, 255, .1);
    background: #323338; color: #fff; font-size: 14px; font-family: inherit;
}
.ml-divi .ml-pie-boletin input[type="email"]::placeholder { color: #fff; opacity: 1; }
.ml-divi .ml-pie-boletin input[type="submit"] {
    height: 46px; margin-left: 3px; padding: 0 30px; border-radius: 25px; border: 2px solid #6a6a6a; background: #6a6a6a;
    color: #323338; font-size: 12px; font-weight: 700; text-transform: uppercase; cursor: pointer; font-family: inherit; transition: background .3s, color .3s;
}
.ml-divi .ml-pie-boletin input[type="submit"]:hover { background: #fff; border-color: #fff; color: #323338; }

/* Botón de volver arriba: círculo azul */
.ml-divi .et_pb_scroll_top.et-pb-icon { right: 20px; bottom: 40px; width: 42px; height: 42px; border-radius: 50%; padding: 0; background: #298eea; line-height: 42px; text-align: center; font-size: 22px; }
.ml-divi .et_pb_scroll_top:before { content: "2"; }

/* ===== 13. Tableta y móvil ===== */
@media (max-width: 980px) {
    .ml-divi .container, .ml-divi .et_pb_row { width: calc(100% - 40px); }
    .ml-divi .ml-carrusel .et_pb_slide .et_pb_container { width: calc(100% - 40px); height: 480px !important; }
    .ml-divi .ml-carrusel .et_pb_slide_description { padding: 190px 0 0 !important; }
    .ml-divi .ml-carrusel .et_pb_slide_title { font-size: 38px !important; line-height: 46px !important; }
    .ml-divi .ml-carrusel .et_pb_slide:nth-child(n) .et_pb_slide_description,
    .ml-divi .ml-carrusel .et_pb_slide:nth-child(n) .et_pb_slide_title,
    .ml-divi .ml-carrusel .et_pb_slide:nth-child(n) .et_pb_slide_content,
    .ml-divi .ml-carrusel .et_pb_slide:nth-child(n) .et_pb_slide_content p { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
    .ml-divi .ml-beneficios .ml-beneficios-fila > .et_pb_column { width: 100% !important; margin: 0 0 30px !important; }
    .ml-divi .ml-intro .ml-intro-texto { padding: 30px 20px 0; }
    .ml-divi .ml-logos .et_pb_row { height: auto; flex-wrap: wrap; justify-content: center; gap: 10px 30px; padding: 30px 0; }
    .ml-divi .ml-logos .et_pb_column { width: 40% !important; }
    .ml-divi .ml-intro .ml-intro-columnas { flex-direction: column; }
    .ml-divi .ml-intro .ml-intro-columnas > .et_pb_column { width: 100% !important; }
    .ml-divi .ml-intro .ml-intro-columnas > .et_pb_column:last-child { text-align: center; }
    .ml-divi .ml-destacados .ml-destacados-fila { flex-wrap: wrap; }
    .ml-divi .ml-destacados .ml-destacados-fila > .et_pb_column { width: 50% !important; margin-bottom: 30px !important; }
    .ml-divi .ml-testimonios .ml-testimonios-fila { flex-direction: column; }
    .ml-divi .ml-testimonios .ml-testimonios-fila > .et_pb_column { width: 100% !important; }
    .ml-divi .ml-testimonios .ml-testimonios-foto { min-height: 610px; }
    /* Divi oculta en el móvil las columnas sin módulos; estas solo tienen la foto de fondo y deben verse, como antes. */
    .ml-divi .ml-testimonios-foto.et_pb_column_empty, .ml-divi .ml-tec-ventaja-foto.et_pb_column_empty { display: block !important; }
    .ml-divi .ml-testimonios .ml-testimonios-texto { padding: 60px 0 90px; }
    .ml-divi .ml-citas .et_pb_slide { padding: 0 30px; }
    /* Como en la web actual: cada testimonio ocupa su altura y empieza arriba (Divi los iguala al más largo y los centra). */
    .ml-divi .ml-citas .et_pb_slide .et_pb_container { height: auto !important; }
    .ml-divi .ml-citas .et_pb_slider_container_inner { vertical-align: top; }
    .ml-divi .ml-recomendados .ml-recomendados-fila { flex-wrap: wrap; justify-content: center; }
    .ml-divi .ml-recomendados .ml-recomendados-fila > .et_pb_column { width: 45% !important; margin-bottom: 20px !important; }
    .ml-divi .ml-pie { flex-direction: column; text-align: center; }
    .ml-divi .ml-pie-boletin { flex-wrap: wrap; justify-content: center; gap: 10px; }
}
@media (max-width: 767px) {
    .ml-divi .ml-carrusel .et_pb_slide_title { font-size: 30px !important; line-height: 38px !important; }
    .ml-divi .ml-pie { flex-direction: column-reverse; align-items: stretch; gap: 26px; }
    .ml-divi .ml-pie-legal { text-align: center; }
    .ml-divi .ml-pie-boletin { justify-content: flex-start; }
    .ml-divi .ml-pie-boletin p { align-items: flex-end; gap: 4px; }
    .ml-divi .ml-pie-boletin .mc4wp-form-fields label { display: block; text-align: left; }
    .ml-divi .ml-pie-boletin .mc4wp-form-fields label input[type="email"] { display: block; margin-top: 6px; }
    .ml-divi .ml-carrusel .et_pb_slide_content, .ml-divi .ml-carrusel .ml-diapo-1 .et_pb_slide_content { font-size: 18px; }
    .ml-divi .ml-destacados .ml-destacados-fila > .et_pb_column { width: 100% !important; }
    .ml-divi .ml-citas .et_pb_slide { padding: 0 66px 0 54px; }
    .ml-divi .ml-destacado img { width: 100%; height: auto; margin-left: 0; aspect-ratio: 389 / 562; }
    .ml-divi .ml-destacados .ml-destacados-fila > .et_pb_column { margin-bottom: 20px !important; }
    .ml-divi .ml-destacados .ml-destacados-fila > .et_pb_column:last-child { margin-bottom: 0 !important; }
    /* Recomendados: un logo por fila y de 100 px de alto, como en la web actual */
    .ml-divi .ml-recomendados { padding-bottom: 120px; }
    .ml-divi .ml-recomendados .ml-recomendados-fila { flex-direction: column; align-items: center; margin-top: 41px; }
    .ml-divi .ml-recomendados .ml-recomendados-fila > .et_pb_column { width: 314px !important; margin: 0 0 20px !important; }
    .ml-divi .ml-recomendados .ml-recomendados-fila > .et_pb_column:last-child { margin-bottom: 0 !important; }
    .ml-divi .ml-recomendados .et_pb_image img { max-height: 100px; }
    .ml-divi .ml-con-lineas:after, .ml-divi .ml-con-lineas .ml-linea { width: 30px; }
}

/* ===== Iconos de las páginas interiores (imitan los de la web antigua; se generan con herramientas\iconos.py) ===== */
.ml-divi {
    --ml-ico-sol: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M32.0 1.0 L38.3 8.3 L47.5 5.2 L49.3 14.7 L58.8 16.5 L55.7 25.7 L63.0 32.0 L55.7 38.3 L58.8 47.5 L49.3 49.3 L47.5 58.8 L38.3 55.7 L32.0 63.0 L25.7 55.7 L16.5 58.8 L14.7 49.3 L5.2 47.5 L8.3 38.3 L1.0 32.0 L8.3 25.7 L5.2 16.5 L14.7 14.7 L16.5 5.2 L25.7 8.3Z M32 15a17 17 0 1 0 0.01 0Z%27/%3E%3C/svg%3E");
    --ml-ico-gota: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M32 3C32 3 13 28 13 43a19 19 0 0 0 38 0C51 28 32 3 32 3Z M21 43c0 6 3.6 10.6 9 12.2C26.5 52.5 25 48 25 43c0-3.5 1-7 2.5-10.5C23.6 36.6 21 40 21 43Z%27/%3E%3C/svg%3E");
    --ml-ico-cubo: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M25 7a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v2h-4V8h-6v1h-4Z%27/%3E%3Cellipse cx=%2732%27 cy=%2714%27 rx=%2722%27 ry=%276%27/%3E%3Cpath d=%27M12 22c5 3 13 4.5 20 4.5s15-1.5 20-4.5l-4 34c-.4 3-3 5-6 5H22c-3 0-5.6-2-6-5Z%27/%3E%3C/svg%3E");
    --ml-ico-bicho: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cg stroke=%27%23000%27 stroke-width=%274.5%27 stroke-linecap=%27round%27 fill=%27none%27%3E%3Cpath d=%27M18 30h-9M18 41H8M19 51l-8 7M46 30h9M46 41h10M45 51l8 7M24 13l-5-6M40 13l5-6%27/%3E%3C/g%3E%3Cpath d=%27M23 20a9 9 0 0 1 18 0Z%27/%3E%3Cpath fill-rule=%27evenodd%27 d=%27M32 22c9 0 15 6 15 17s-6 21-15 21-15-10-15-21 6-17 15-17Z M30.5 24h3v34h-3Z%27/%3E%3C/svg%3E");
    --ml-ico-hoja: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M59 5C35 3 13 11 11 33c-.4 5 .8 9.5 3.3 12.8L5 55l3.4 3.4 9.3-9.3C21 51.6 25.5 53 30.5 52.6 53 50.6 61 29 59 5Z M17.5 46.5C27 36 37 27 50 15 39 28.5 30 38.5 20 49Z%27/%3E%3C/svg%3E");
    --ml-ico-gota-brillo: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M32 4C32 4 14 29 14 43a18 18 0 0 0 36 0C50 29 32 4 32 4Z M26.5 40.5a5 6.5 0 1 0 0.01 0Z%27/%3E%3C/svg%3E");
    --ml-ico-arbol: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M32 2 18 18h8L14 31h9L10 45h19v13h6V45h19L41 31h9L38 18h8Z%27/%3E%3C/svg%3E");
    --ml-ico-trofeo: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M16 6h32v4h10v6c0 8-6 14-13.5 14.6A16 16 0 0 1 35 39v7h8v6H21v-6h8v-7a16 16 0 0 1-9.5-8.4C12 30 6 24 6 16v-6h10Z M16 15h-5v1c0 4.5 2.4 8.3 6 9.8-.7-2.6-1-5.2-1-8Z M48 15v2.8c0 2.8-.3 5.4-1 8 3.6-1.5 6-5.3 6-9.8v-1Z%27/%3E%3Crect x=%2716%27 y=%2754%27 width=%2732%27 height=%275%27 rx=%271%27/%3E%3C/svg%3E");
    --ml-ico-prohibido: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Ccircle cx=%2732%27 cy=%2732%27 r=%2722%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%277%27/%3E%3Cpath d=%27M16.5 47.5 47.5 16.5%27 stroke=%27%23000%27 stroke-width=%277%27/%3E%3C/svg%3E");
    --ml-ico-enlace-externo: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M13 6h38a7 7 0 0 1 7 7v38a7 7 0 0 1-7 7H13a7 7 0 0 1-7-7V13a7 7 0 0 1 7-7Z M26 19h19v19l-7-7-11 11-6-6 11-11Z%27/%3E%3C/svg%3E");
    --ml-ico-gota-lisa: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M32 4C32 4 14 29 14 43a18 18 0 0 0 36 0C50 29 32 4 32 4Z%27/%3E%3C/svg%3E");
    --ml-ico-mas: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M26 8h12v18h18v12H38v18H26V38H8V26h18Z%27/%3E%3C/svg%3E");
    --ml-ico-flecha-der: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M24 12 44 32 24 52%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%277%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
    --ml-ico-flecha-izq: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M40 12 20 32 40 52%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%277%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
    --ml-ico-comillas: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M8 14h18v16c0 11-6 18-16 20l-2-6c6-2 9-6 9-11H8Z M38 14h18v16c0 11-6 18-16 20l-2-6c6-2 9-6 9-11h-9Z%27/%3E%3C/svg%3E");
    --ml-ico-ok-circulo: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Ccircle cx=%2732%27 cy=%2732%27 r=%2726%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%275%27/%3E%3Cpath d=%27M20 33l8 8 16-17%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%275.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
    --ml-ico-angulo: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M25 15 42 32 25 49%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%276%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
    --ml-ico-casa: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M32 6 4 32h8v26h16V40h8v18h16V32h8Z%27/%3E%3C/svg%3E");
    --ml-ico-movil: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath fill-rule=%27evenodd%27 d=%27M20 4h24a5 5 0 0 1 5 5v46a5 5 0 0 1-5 5H20a5 5 0 0 1-5-5V9a5 5 0 0 1 5-5Z M21 11v36h22V11Z M32 50a3 3 0 1 0 0.01 0Z%27/%3E%3C/svg%3E");
    --ml-ico-sobre: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M6 14h52v4L32 36 6 18Z%27/%3E%3Cpath d=%27M6 23l26 18 26-18v27H6Z%27/%3E%3C/svg%3E");
    --ml-ico-facebook-relleno: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M36 60V36h8l1.3-9.5H36v-6c0-2.7.8-4.6 4.7-4.6H46V7.5c-.9-.1-3.9-.4-7.4-.4-7.3 0-12.3 4.5-12.3 12.7v7H18V36h8.3v24Z%27/%3E%3C/svg%3E");
    --ml-ico-tumblr: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M37 58c-8 0-14-4-14-13V29h-7v-8c7-2 10-8 11-15h8v13h10v10H35v15c0 4 2 6 5 6h5v8c-2 1-5 2-8 2Z%27/%3E%3C/svg%3E");
    --ml-ico-facebook: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M36.5 58V36.5h7l1.2-8.2h-8.2v-5.2c0-2.4.7-4 4.1-4h4.4v-7.3c-.8-.1-3.4-.3-6.4-.3-6.3 0-10.6 3.8-10.6 10.9v5.9h-7.1v8.2H28V58Z%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%273.2%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
    --ml-ico-twitter: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cpath d=%27M57 15.5c-1.9.8-3.8 1.4-5.9 1.6 2.1-1.3 3.7-3.3 4.5-5.7-2 1.2-4.2 2-6.5 2.5a10.3 10.3 0 0 0-17.5 9.4A29.2 29.2 0 0 1 10.3 12.6a10.3 10.3 0 0 0 3.2 13.7 10.2 10.2 0 0 1-4.6-1.3v.1c0 5 3.5 9.1 8.2 10.1a10.3 10.3 0 0 1-4.6.2 10.3 10.3 0 0 0 9.6 7.1A20.6 20.6 0 0 1 7 46.8 29.1 29.1 0 0 0 22.8 51.4c18.9 0 29.2-15.6 29.2-29.2v-1.3c2-1.5 3.7-3.3 5-5.4Z%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%273.2%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
    --ml-ico-instagram: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cg fill=%27none%27 stroke=%27%23000%27 stroke-width=%274%27%3E%3Crect x=%2710%27 y=%2710%27 width=%2744%27 height=%2744%27 rx=%2712%27/%3E%3Ccircle cx=%2732%27 cy=%2732%27 r=%2710.5%27/%3E%3C/g%3E%3Ccircle cx=%2745.5%27 cy=%2718.5%27 r=%273%27/%3E%3C/svg%3E");
    --ml-ico-youtube: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 64 64%27%3E%3Cg fill=%27none%27 stroke=%27%23000%27 stroke-width=%274%27 stroke-linejoin=%27round%27%3E%3Crect x=%276%27 y=%2714%27 width=%2752%27 height=%2736%27 rx=%2711%27/%3E%3Cpath d=%27M27 24.5v15l13-7.5Z%27/%3E%3C/g%3E%3C/svg%3E");
}

/* ===== 14. Páginas interiores: título con foto y migas (como la cabecera de página del tema antiguo) =====
 * La cabecera de la web va encima de la primera sección; Divi le añade arriba el alto de la cabecera
 * y debajo quedan 411 px de foto, como antes. */
.ml-divi .ml-cabecera-pagina { position: relative; padding-left: 0; padding-right: 0; padding-bottom: 0; background-size: cover; background-position: center; }
.ml-divi .ml-cabecera-pagina .et_pb_row { position: static; width: 100%; max-width: none; height: 411px; padding: 0; }
.ml-divi .ml-cabecera-pagina .et_pb_column,
.ml-divi .ml-cabecera-pagina .et_pb_text,
.ml-divi .ml-cabecera-pagina .et_pb_text_inner { position: static; }
.ml-divi .ml-titulo-cabecera { padding: 147px 20px 0; margin: 0; font-size: 50px; line-height: 62px; font-weight: 300; color: #fff; text-align: center; }
.ml-divi .ml-migas { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; padding: 0 20px !important; text-align: center; font-size: 13px; line-height: 19px; color: #fff; }
.ml-divi .ml-migas a { color: #fff; }
.ml-divi .ml-migas-sep { margin: 0 6px; }
.ml-divi .ml-migas-actual { opacity: .75; }

/* ===== 15. Tecnología ===== */
.ml-divi .ml-tec-intro { padding: 60px 0 80px; }

/* Nuestra ventaja competitiva: texto sobre azul a la izquierda y foto de bacterias a la derecha */
.ml-divi .ml-tec-ventaja { padding: 0; background: #298eea; }
.ml-divi .ml-tec-ventaja .ml-tec-ventaja-fila { width: 100%; max-width: none; display: flex; padding: 0; }
.ml-divi .ml-tec-ventaja-fila > .et_pb_column { width: 50% !important; margin: 0 !important; }
.ml-divi .ml-tec-ventaja-texto { padding: 14px 94px 30px max(20px, calc(50% - 576px)) !important; }
.ml-divi .ml-tec-ventaja-texto .ml-titulo-36 { color: #fff; text-align: left; padding-bottom: 20px; }
.ml-divi .ml-tec-ventaja-texto p { color: #fff; text-align: justify; padding-bottom: 20px; }
.ml-divi .ml-tec-ventaja-foto { min-height: 610px; background-size: cover; background-position: center; }
.ml-divi .et_pb_text ul.ml-lista-triangulos { list-style: none; margin: 0; padding: 0 0 0 30px; line-height: 26px; }
.ml-divi .ml-lista-triangulos li { position: relative; margin: 0 0 9px; padding: 0; color: #fff; font-size: 14px; line-height: 26px; }
.ml-divi .ml-lista-triangulos li:before {
    content: ""; position: absolute; left: -26px; top: 8px; width: 9px; height: 10px; background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 10'%3E%3Cpath d='M1 1.1v7.8L7.9 5Z' fill='none' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 10'%3E%3Cpath d='M1 1.1v7.8L7.9 5Z' fill='none' stroke='%23000' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Una solución equilibrada */
.ml-divi .ml-tec-solucion { padding: 60px 0; }
.ml-divi .ml-texto-justificado { padding: 20px 47px 0; }
.ml-divi .ml-texto-justificado p { text-align: justify; padding-bottom: 20px; }
.ml-divi .ml-texto-justificado p:last-child { padding-bottom: 0; }

/* Conozca nuestra base científica: pestañas con icono verde, la activa subrayada en verde */
.ml-divi .ml-tec-ciencia { padding: 70px 0; background: #323338; }
.ml-divi .ml-tec-ciencia .ml-titulo-40 { color: #fff; }
.ml-divi .ml-pestanas.et_pb_tabs { border: 0; margin: 0; background: transparent; }
.ml-divi .ml-pestanas ul.et_pb_tabs_controls { display: flex; background: transparent !important; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ml-divi .ml-pestanas ul.et_pb_tabs_controls:after { display: none; }
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li {
    position: relative; flex: 1 1 0; float: none; margin: 0; border: 0 !important; background: transparent !important;
}
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li a {
    display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 57px 10px 49px;
    font-size: 18px; line-height: 24px; font-weight: 400; color: rgba(255, 255, 255, .6) !important; transition: color .3s;
}
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li a:before {
    content: ""; display: block; width: 64px; height: 64px; background-color: #58b737; opacity: .72; transition: opacity .3s;
    -webkit-mask: var(--ml-ico) center / contain no-repeat; mask: var(--ml-ico) center / contain no-repeat;
}
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li:nth-child(1) { --ml-ico: var(--ml-ico-sol); }
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li:nth-child(2) { --ml-ico: var(--ml-ico-gota); }
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li:nth-child(3) { --ml-ico: var(--ml-ico-cubo); }
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li:nth-child(4) { --ml-ico: var(--ml-ico-bicho); }
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li:nth-child(5) { --ml-ico: var(--ml-ico-hoja); }
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li a:hover,
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li.et_pb_tab_active a { color: #fff !important; }
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li a:hover:before,
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li.et_pb_tab_active a:before { opacity: 1; }
.ml-divi .ml-pestanas ul.et_pb_tabs_controls li.et_pb_tab_active:after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #58b737;
}
.ml-divi .ml-pestanas .et_pb_all_tabs { background: transparent; }
.ml-divi .ml-pestanas .et_pb_tab { padding: 90px 0 0; color: #fff; font-size: 14px; line-height: 26px; }
.ml-divi .ml-pestanas .et_pb_tab_content:after { content: ""; display: table; clear: both; }
.ml-divi .ml-pestanas .et_pb_tab h5 { padding: 0 0 20px; font-size: 16px; line-height: 22px; font-weight: 400; color: #fff; }
.ml-divi .ml-pestanas .et_pb_tab p { padding-bottom: 20px; color: #fff; }
.ml-divi .ml-pestanas .et_pb_tab p:last-child { padding-bottom: 0; }
.ml-divi .ml-pestanas .et_pb_tab img.alignleft { float: left; margin: 0 20px 10px 0; border-radius: 10px; }
.ml-divi .ml-pestanas .et_pb_tab img.alignright { float: right; margin: 0 0 10px 20px; border-radius: 10px; }

/* Tecnología en tableta y móvil */
@media (max-width: 980px) {
    .ml-divi .ml-tec-ventaja .ml-tec-ventaja-fila { flex-direction: column; }
    .ml-divi .ml-tec-ventaja-fila > .et_pb_column { width: 100% !important; }
    .ml-divi .ml-tec-ventaja-texto { padding: 40px !important; }
}
@media (max-width: 767px) {
    /* Como antes: 40 px a cada lado del título y el subtítulo, y la cabecera crece con ellos (157 px sin subtítulo) */
    .ml-divi .ml-cabecera-pagina .et_pb_row { height: auto; padding-bottom: 81px; }
    .ml-divi .ml-titulo-cabecera { padding: 40px 40px 0; font-size: 24px; line-height: 36px; }
    .ml-divi .ml-subtitulo-cabecera { padding: 0 40px !important; }
    /* En fichas y entradas la fila ya deja 20 px a cada lado: el texto queda igual de ancho (310 px) */
    .ml-divi :is(.ml-cabecera-ficha, .ml-cabecera-entrada) .ml-titulo-cabecera { padding-left: 20px; padding-right: 20px; }
    .ml-divi :is(.ml-cabecera-ficha, .ml-cabecera-entrada) .ml-subtitulo-cabecera { padding: 0 20px !important; }
    .ml-divi .ml-migas { bottom: 24px; }
    .ml-divi .ml-tec-ventaja-texto { padding: 8px 51px 30px 78px !important; }
    .ml-divi .ml-texto-justificado { padding: 20px 31px 0; }
    .ml-divi .ml-pestanas ul.et_pb_tabs_controls { flex-direction: column; margin-top: 20px; border-bottom: 0; }
    .ml-divi .ml-pestanas ul.et_pb_tabs_controls li { flex: none; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .08) !important; }
    .ml-divi .ml-pestanas ul.et_pb_tabs_controls li a { position: relative; flex-direction: row; justify-content: center; gap: 0; padding: 15px 44px; }
    .ml-divi .ml-pestanas ul.et_pb_tabs_controls li a:before { position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; }
    .ml-divi .ml-pestanas .et_pb_tab { padding-top: 87px; }
    .ml-divi .ml-pestanas .et_pb_tab img.alignleft,
    .ml-divi .ml-pestanas .et_pb_tab img.alignright { float: none; display: block; width: 100%; height: auto; margin: 0 0 20px; }
}

/* ===== 16. Productos ===== */
.ml-divi .ml-prod-intro { padding: 70px 0 0; }
.ml-divi .ml-subtitulo-26 { margin: 0; padding: 20px 0 0; font-size: 26px; line-height: 30px; font-weight: 300; color: #323338; text-align: center; }
.ml-divi .ml-prod-intro .ml-con-lineas { gap: 30px; }
.ml-divi .ml-prod-intro .ml-con-lineas:after,
.ml-divi .ml-prod-intro .ml-con-lineas .ml-linea { width: 115px; background: #323338; }
.ml-divi .ml-prod-intro .ml-titulo-pagina + .ml-subtitulo-26 + p { padding: 23px 0 0; text-align: center; }

/* Cuatro ventajas con icono verde */
.ml-divi .ml-prod-intro .ml-prod-ventajas { display: flex; justify-content: space-between; padding: 90px 0 0; }
.ml-divi .ml-prod-ventajas > .et_pb_column { width: 260px !important; margin: 0 !important; }
.ml-divi .ml-prod-ventaja:before {
    content: ""; display: block; width: 40px; height: 40px; margin: 10px auto 40px; background-color: #58b737;
    -webkit-mask: var(--ml-ico) center / contain no-repeat; mask: var(--ml-ico) center / contain no-repeat;
}
.ml-divi .ml-icono-sol { --ml-ico: var(--ml-ico-sol); }
.ml-divi .ml-icono-gota-brillo { --ml-ico: var(--ml-ico-gota-brillo); }
.ml-divi .ml-icono-arbol { --ml-ico: var(--ml-ico-arbol); }
.ml-divi .ml-icono-trofeo { --ml-ico: var(--ml-ico-trofeo); }
.ml-divi .ml-prod-ventaja h5 { padding: 0 0 24px; font-size: 20px; line-height: 22px; font-weight: 400; color: #323338; text-align: center; }
.ml-divi .ml-prod-ventaja p { text-align: justify; }

/* Las cinco fotos de productos: las mismas piezas que en la portada */
.ml-divi .ml-destacados.ml-prod-destacados { padding: 130px 0 0; }
.ml-divi .ml-prod-destacados .ml-destacados-fila { margin-top: 0; }

/* Novedades y redes sociales */
.ml-divi .ml-prod-redes { padding: 70px 0 60px; }
.ml-divi .ml-prod-redes .et_pb_text { margin-bottom: 0 !important; }
.ml-divi .ml-titulo-36.ml-azul { color: #298eea; }
.ml-divi .ml-prod-redes-sub { margin: 0; padding: 20px 0 0; font-size: 20px; line-height: 26px; font-weight: 400; color: #898989; text-align: center; }
/* Divi mete los enlaces en un párrafo: el párrafo es la fila de iconos */
.ml-divi .ml-redes .et_pb_text_inner > p { display: flex; justify-content: space-between; margin: 0; padding: 82px 0 0; }
.ml-divi .ml-red { position: relative; display: flex; justify-content: center; width: 260px; }
.ml-divi .ml-red:before {
    content: ""; display: block; width: 40px; height: 40px; background-color: #298eea;
    -webkit-mask: var(--ml-ico) center / contain no-repeat; mask: var(--ml-ico) center / contain no-repeat;
}
.ml-divi .ml-red-facebook { --ml-ico: var(--ml-ico-facebook); }
.ml-divi .ml-red-twitter { --ml-ico: var(--ml-ico-twitter); }
.ml-divi .ml-red-instagram { --ml-ico: var(--ml-ico-instagram); }
.ml-divi .ml-red-youtube { --ml-ico: var(--ml-ico-youtube); }
.ml-divi .ml-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 767px) {
    .ml-divi .ml-prod-intro .ml-con-lineas { display: block; padding-left: 35px; padding-right: 35px; }
    .ml-divi .ml-prod-intro .ml-con-lineas:after, .ml-divi .ml-prod-intro .ml-con-lineas .ml-linea { display: none; }
    .ml-divi .ml-prod-intro .ml-prod-ventajas { flex-direction: column; }
    .ml-divi .ml-prod-ventajas > .et_pb_column { width: 100% !important; margin: 0 0 40px !important; }
    .ml-divi .ml-prod-ventajas > .et_pb_column:last-child { margin-bottom: 0 !important; }
    .ml-divi .ml-redes .et_pb_text_inner > p { flex-direction: column; align-items: center; gap: 40px; }
    .ml-divi .ml-red { width: auto; }
}

/* ===== 17. Fichas de producto (/project/…) =====
 * Generadas con herramientas\generar-ficha.py: cada fila del contenido es un módulo de texto con HTML sencillo
 * (clases ml-f-…); los márgenes, fondos y tamaños propios de cada pieza van en línea, copiados de la web antigua. */
.ml-divi .ml-cabecera-ficha .et_pb_row { height: 406px; }
.ml-divi .ml-cabecera-ficha .ml-titulo-cabecera { padding-top: 129px; }
.ml-divi .ml-subtitulo-cabecera { margin: 5px 0 0; padding: 0 20px !important; font-size: 20px; line-height: 26px; font-weight: 400; color: #fff; text-align: center; }
.ml-divi .ml-cabecera-ficha .ml-migas { bottom: 19px; }

/* Contenido (760 px) y columna de datos (350 px, a 50 px), como antes */
.ml-divi .ml-ficha { padding: 65px 0 0; }
/* En las entradas y fichas Divi estrecha las filas al 80 % con una regla muy fuerte: mismo ancho que en las páginas. */
.ml-divi.single.et_pb_pagebuilder_layout.et_full_width_page #main-content .et_pb_row.et_pb_row { width: calc(100% - 40px); max-width: 1160px; }
.ml-divi .ml-ficha .ml-ficha-fila { display: flex; align-items: flex-start; }
.ml-divi .ml-ficha-fila > .ml-ficha-contenido { width: 65.52% !important; margin: 0 !important; flex: none; }
.ml-divi .ml-ficha-fila > .ml-ficha-lateral { width: 34.48% !important; margin: 0 !important; padding: 30px 0 0 50px; flex: none; }
.ml-divi .ml-ficha .et_pb_module.ml-f-modulo, .ml-divi .ml-ficha-nav-seccion .et_pb_module.ml-f-modulo { margin-bottom: 0 !important; }

/* Filas y columnas (mismos márgenes que las columnas de CMSMasters) */
.ml-divi .ml-f-fila { position: relative; }
.ml-divi .ml-f-cols { display: flex; margin: 0 -13.44px; }
.ml-divi .ml-f-col { margin: 0 1.7%; min-height: 1px; box-sizing: border-box; }
.ml-divi .ml-f-1-1 { width: 96.6%; }
.ml-divi .ml-f-1-2 { width: 46.6%; }
.ml-divi .ml-f-1-3 { width: 29.93%; }
.ml-divi .ml-f-2-3 { width: 63.27%; }
.ml-divi .ml-f-1-4 { width: 21.6%; }
.ml-divi .ml-f-3-4 { width: 71.6%; }

/* Títulos */
.ml-divi .ml-f-titulo { padding: 0; color: #323338; }
.ml-divi h2.ml-f-titulo { font-size: 40px; line-height: 50px; font-weight: 300; }
.ml-divi h3.ml-f-titulo { font-size: 24px; line-height: 30px; font-weight: 400; padding-bottom: 4px; }
.ml-divi h5.ml-f-titulo { font-size: 16px; line-height: 22px; font-weight: 400; padding-bottom: 4px; }
.ml-divi .ml-f-divisor { display: flex; align-items: center; justify-content: center; }
.ml-divi .ml-f-divisor:before,
.ml-divi .ml-f-divisor:after { content: ""; flex: none; width: 76px; height: 1px; margin: 0 21px; background: #323338; }

/* Texto, imágenes y bloques con foto */
.ml-divi .ml-f-texto p { padding-bottom: 20px; }
.ml-divi .ml-f-texto p:last-child { padding-bottom: 0; }
/* Algunos textos antiguos terminan con un párrafo vacío */
.ml-divi .ml-f-texto p:empty { display: none; }
.ml-divi .ml-f-texto p:has(+ p:empty:last-child) { padding-bottom: 0; }
.ml-divi .ml-f-img img { display: block; max-width: 100%; height: auto; }
.ml-divi .ml-f-img-l { margin-right: 20px; }
.ml-divi .ml-f-img-c img { margin: 0 auto; }
.ml-divi .ml-f-bloque-interior { padding: 20px 20px 0; }
.ml-divi .ml-f-bloque-interior h3 { padding: 0 0 20px; font-size: 24px; line-height: 30px; font-weight: 400; color: #323338; }
.ml-divi .ml-f-bloque-interior p:last-child { padding-bottom: 0; }

/* Recuadro verde de notas */
.ml-divi .ml-f-aviso { margin: 0 0 22px; padding: 32px 25px 3px; border: 1px solid; }
.ml-divi .et_pb_text ul.ml-f-lista { list-style: none; margin: 0; padding: 0 0 0 35px; line-height: 26px; }
.ml-divi .ml-f-lista li { position: relative; padding: 0 0 9px; font-size: 14px; line-height: 26px; color: #505050; }
.ml-divi .ml-f-lista li:first-child { padding-bottom: 0; }
.ml-divi .ml-f-lista li:before {
    content: ""; position: absolute; left: -35px; top: 6px; width: 14px; height: 14px; background-color: #323338;
    -webkit-mask: var(--ml-ico) center / contain no-repeat; mask: var(--ml-ico) center / contain no-repeat;
}
.ml-divi .ml-f-ico-block { --ml-ico: var(--ml-ico-prohibido); }
.ml-divi .ml-f-ico-link-ext-alt { --ml-ico: var(--ml-ico-enlace-externo); }
.ml-divi .ml-f-ico-droplet { --ml-ico: var(--ml-ico-gota-lisa); }
.ml-divi .ml-f-ico-plus { --ml-ico: var(--ml-ico-mas); }

/* Columna de datos: dosificación, medios de cultivo y formatos */
.ml-divi .ml-f-lateral-titulo { margin: 0; padding: 0 0 30px; font-size: 20px; line-height: 26px; font-weight: 400; color: #323338; }
.ml-divi .ml-f-datos { padding-bottom: 30px; }
.ml-divi .ml-f-dato { display: flex; padding: 6px 0; font-size: 14px; line-height: 26px; color: #505050; }
.ml-divi .ml-f-dato + .ml-f-dato { border-top: 1px solid #e0e0e0; }
.ml-divi .ml-f-dato-nombre { flex: none; }
.ml-divi .ml-f-dato-valor { flex: 1; padding-left: 15px; text-align: right; }

/* Anterior / siguiente */
.ml-divi .ml-ficha-nav-seccion { padding: 99px 0 57px; }
.ml-divi .ml-f-nav { display: flex; justify-content: space-between; align-items: flex-start; }
.ml-divi .ml-f-nav a { display: flex; align-items: flex-start; gap: 21px; color: #323338; }
.ml-divi .ml-f-nav-sig { margin-left: auto; flex-direction: row-reverse; text-align: right; }
.ml-divi .ml-f-nav-texto { display: flex; flex-direction: column; }
.ml-divi .ml-f-nav-rotulo { font-size: 14px; line-height: 26px; color: #a0a0a0; }
.ml-divi .ml-f-nav-titulo { font-size: 16px; line-height: 21px; color: #323338; transition: color .3s; }
.ml-divi .ml-f-nav a:hover .ml-f-nav-titulo { color: #298eea; }
.ml-divi .ml-f-nav-flecha { position: relative; flex: none; width: 40px; height: 40px; margin-top: 3px; border: 1px solid #e0e0e0; border-radius: 50%; }
.ml-divi .ml-f-nav-flecha:before {
    content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 11px; background-color: #323338;
    -webkit-mask: var(--ml-ico-flecha-der) center / contain no-repeat; mask: var(--ml-ico-flecha-der) center / contain no-repeat;
}
.ml-divi .ml-f-nav-ant .ml-f-nav-flecha:before { -webkit-mask-image: var(--ml-ico-flecha-izq); mask-image: var(--ml-ico-flecha-izq); }

/* Fichas en tableta y móvil: todo en una columna, como antes */
@media (max-width: 980px) {
    .ml-divi .ml-ficha .ml-ficha-fila { flex-direction: column; }
    .ml-divi .ml-ficha-fila > .ml-ficha-contenido, .ml-divi .ml-ficha-fila > .ml-ficha-lateral { width: 100% !important; }
    .ml-divi .ml-ficha-fila > .ml-ficha-lateral { padding: 80px 0 0; }
}
@media (max-width: 767px) {
    .ml-divi .ml-cabecera-ficha .et_pb_row { height: auto; padding-bottom: 81px; }
    .ml-divi .ml-cabecera-ficha .ml-titulo-cabecera { padding-top: 40px; }
    .ml-divi .ml-f-cols { flex-direction: column; margin: 0; }
    .ml-divi .ml-f-col { width: auto !important; margin: 0; }
    .ml-divi .ml-f-col + .ml-f-col { margin-top: 20px; }
    .ml-divi .ml-f-divisor:before, .ml-divi .ml-f-divisor:after { width: 14px; }
    /* Anterior / siguiente, centrados como antes: «anterior» con la flecha arriba y «siguiente» con la flecha abajo */
    .ml-divi .ml-ficha-nav-seccion { padding: 80px 0 58px; }
    .ml-divi .ml-f-nav { flex-direction: column; align-items: center; gap: 40px; }
    .ml-divi .ml-f-nav a, .ml-divi .ml-f-nav-sig { margin: 0; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
    .ml-divi .ml-f-nav-flecha { margin-top: 0; }
    .ml-divi .ml-f-nav-sig .ml-f-nav-texto { flex-direction: column-reverse; }
    .ml-divi .ml-f-nav-sig .ml-f-nav-flecha { order: 2; }
}

/* ===== 18. Blog y entradas =====
 * La rejilla, la fecha y sección, «anterior / siguiente», compartir, «More posts» y la columna lateral los generan
 * los códigos cortos de ml-divi-tema.php (sección 4c); el contenido de cada entrada se generó con
 * herramientas\generar-entrada.py. */
@media (min-width: 981px) {
    .ml-divi .et_pb_section_0.ml-cabecera-pagina { padding-top: 126px !important; }
    .ml-divi .et_pb_section_0.ml-entrada-lateral { padding-top: 191px !important; }
}
@media (max-width: 980px) {
    /* Bajo la cabecera del móvil (--ml-cab-alto, sección 2) */
    .ml-divi .et_pb_section_0.ml-cabecera-pagina { padding-top: var(--ml-cab-alto) !important; }
    .ml-divi .et_pb_section_0.ml-entrada-lateral { padding-top: calc(var(--ml-cab-alto) + 65px) !important; }
}
.ml-divi .ml-cabecera-entrada .et_pb_row { height: 411px; }
.ml-divi .ml-cabecera-entrada .ml-titulo-cabecera { padding-top: 131px; }
.ml-divi .ml-gris { color: #a0a0a0; }

/* Página Blog */
.ml-divi .ml-blog-seccion { padding: 30px 0 0; }
.ml-divi .ml-blog-seccion .et_pb_module.ml-f-modulo { margin-bottom: 0 !important; }
.ml-divi .ml-blog-intro { padding: 40px 0 0 !important; text-align: justify; }
.ml-divi .ml-blog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 41px; align-items: start; }
.ml-divi .ml-blog-foto { position: relative; aspect-ratio: 580 / 370; overflow: hidden; }
.ml-divi .ml-blog-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ml-divi .ml-blog-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.ml-divi .ml-blog-seccion .ml-blog-seccion, .ml-divi .ml-blog-tarjeta .ml-blog-seccion { margin-top: 7px; padding: 0; font-size: 13px; line-height: 26px; }
.ml-divi .ml-blog-tarjeta .ml-blog-seccion a, .ml-divi .ml-entrada-info a { color: #323338; }
.ml-divi .ml-blog-titulo { margin: 14px 0 0; padding: 0; font-size: 20px; line-height: 26px; font-weight: 400; }
.ml-divi .ml-blog-titulo a { color: #298eea; }
.ml-divi .ml-blog-extracto { margin-top: 15px; }
.ml-divi #main-content .ml-blog-extracto p { padding: 0 0 20px; }
.ml-divi .ml-blog-mas { display: block; margin-top: 6px; font-size: 12px; line-height: 26px; font-weight: 700; text-transform: uppercase; color: #323338; }
.ml-divi .ml-blog-mas:hover { color: #298eea; }
.ml-divi .ml-blog-fecha, .ml-divi .ml-entrada-fecha { font-size: 14px; letter-spacing: .12em; color: #a0a0a0; }
.ml-divi .ml-blog-fecha { margin-top: 10px; line-height: 26px; }
.ml-divi .ml-blog-paginas { padding-top: 40px; text-align: center; }
.ml-divi .ml-blog-redes .et_pb_text_inner > p { padding-top: 60px; }

/* Entradas con foto de cabecera: una columna centrada de 859 px */
.ml-divi .ml-entrada { padding: 65px 0 0; }
.ml-divi .ml-entrada .et_pb_module.ml-f-modulo { margin-bottom: 0 !important; }
.ml-divi.single #main-content .ml-entrada:not(.ml-entrada-lateral) .et_pb_row.ml-entrada-fila { max-width: 859px; }
.ml-divi .ml-entrada-fecha { line-height: 20px; }
.ml-divi .ml-entrada-info { margin: 15px 0 0 -20px; padding-bottom: 20px; font-size: 13px; line-height: 26px; }
.ml-divi .ml-entrada-info > span { display: inline-block; padding-left: 20px; }
.ml-divi .ml-entrada-video { position: relative; margin: 20px 0 34px; aspect-ratio: 858 / 529; }
.ml-divi .ml-entrada .ml-f-texto p:last-child, .ml-divi .ml-entrada .ml-f-texto p:has(+ p:empty:last-child) { padding-bottom: 20px; }
.ml-divi .ml-entrada-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.ml-divi .ml-entrada-video + * , .ml-divi .ml-entrada .ml-f-modulo + .ml-f-modulo .ml-entrada-texto { margin-top: 34px; }
.ml-divi .ml-entrada-texto p { padding-bottom: 20px; }
.ml-divi .ml-entrada-texto p:empty:last-child { padding-bottom: 0; }
.ml-divi .ml-entrada-texto figure { margin: 0 0 20px; }
.ml-divi .ml-entrada-texto img { max-width: 100%; height: auto; }
.ml-divi .ml-entrada .ml-entrada-nav { padding: 106px 0 47px; }
/* Anterior / siguiente de las entradas: como en la web antigua, el título ocupa como mucho 347 px (los largos pasan a dos líneas)
   y la flecha queda centrada en vertical */
.ml-divi .ml-entrada .ml-f-nav-ant, .ml-divi .ml-entrada .ml-f-nav-sig { max-width: 409px; align-items: center; }
.ml-divi .ml-entrada .ml-f-nav-flecha { margin-top: 0; }
.ml-divi .ml-entrada .ml-f-nav-titulo { line-height: 22px; }

/* Citas (como en la web antigua: comillas grises a la izquierda) */
.ml-divi .ml-entrada blockquote { position: relative; margin: 0 0 20px; padding: 0 0 0 50px; border: 0; font-size: 24px; line-height: 38px; font-weight: 300; color: #323338; }
.ml-divi .ml-entrada blockquote:before {
    content: "\201D"; position: absolute; left: 0; top: 0; width: 50px; height: 50px;
    font-family: Montserrat, serif; font-size: 50px; line-height: 60px; font-weight: 400; color: #a0a0a0;
}
.ml-divi .ml-entrada blockquote p { padding-bottom: 20px; }
.ml-divi .ml-entrada blockquote a { font-size: 14px; font-weight: 400; }
.ml-divi .ml-entrada blockquote p:last-child, .ml-divi .ml-entrada .ml-f-texto blockquote p:last-child { padding-bottom: 0; }

/* Títulos, listas e imágenes dentro del texto de las entradas, con las medidas del tema antiguo
   (#main-content para ganar a «#left-area ul» de Divi, que ponía viñetas redondas) */
.ml-divi #main-content .ml-entrada :is(.ml-f-texto, .ml-entrada-texto) :is(h1, h2, h3, h4, h5, h6):not([class]) { margin: 0 0 20px; padding: 0; color: #323338; }
.ml-divi #main-content .ml-entrada :is(.ml-f-texto, .ml-entrada-texto) h1:not([class]) { font-size: 50px; line-height: 62px; font-weight: 300; }
.ml-divi #main-content .ml-entrada :is(.ml-f-texto, .ml-entrada-texto) h2:not([class]) { font-size: 40px; line-height: 50px; font-weight: 300; }
.ml-divi #main-content .ml-entrada :is(.ml-f-texto, .ml-entrada-texto) h3:not([class]) { font-size: 24px; line-height: 30px; font-weight: 400; }
.ml-divi #main-content .ml-entrada :is(.ml-f-texto, .ml-entrada-texto) h4:not([class]) { font-size: 20px; line-height: 26px; font-weight: 400; }
.ml-divi #main-content .ml-entrada :is(.ml-f-texto, .ml-entrada-texto) h5:not([class]) { font-size: 16px; line-height: 22px; font-weight: 400; }
.ml-divi #main-content .ml-entrada :is(.ml-f-texto, .ml-entrada-texto) h6:not([class]) { font-size: 14px; line-height: 20px; font-weight: 400; }
.ml-divi #main-content .ml-entrada :is(.ml-f-texto, .ml-entrada-texto) p:last-of-type:not(:last-child) { padding-bottom: 20px; }
.ml-divi #main-content :is(.ml-entrada .ml-f-texto, .ml-entrada-texto, .ml-pagina-texto) ul { list-style: none; margin: 0 0 20px; padding: 0; line-height: 26px; }
.ml-divi #main-content :is(.ml-entrada .ml-f-texto, .ml-entrada-texto, .ml-pagina-texto) ol { list-style: decimal-leading-zero inside; margin: 0 0 20px; padding: 0; line-height: 26px; }
.ml-divi #main-content :is(.ml-entrada .ml-f-texto, .ml-entrada-texto, .ml-pagina-texto) li { position: relative; padding: 0; }
.ml-divi #main-content :is(.ml-entrada .ml-f-texto, .ml-entrada-texto, .ml-pagina-texto) li + li { padding-top: 9px; }
.ml-divi #main-content :is(.ml-entrada .ml-f-texto, .ml-entrada-texto, .ml-pagina-texto) ul:not(.cmsmasters_icon_list_items) > li:before {
    content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 5px; vertical-align: -2px; background-color: #505050;
    -webkit-mask: var(--ml-ico-angulo) center / contain no-repeat; mask: var(--ml-ico-angulo) center / contain no-repeat;
}
.ml-divi #main-content .ml-entrada ul.cmsmasters_icon_list_items { margin: 0; padding-left: 40px; }
.ml-divi #main-content .ml-entrada ul.cmsmasters_icon_list_items > li:before {
    content: ""; position: absolute; left: -36px; top: 3px; width: 20px; height: 20px; background-color: #505050;
    -webkit-mask: var(--ml-ico-ok-circulo) center / contain no-repeat; mask: var(--ml-ico-ok-circulo) center / contain no-repeat;
}
.ml-divi #main-content .ml-entrada ul.cmsmasters_icon_list_items > li + li:before { top: 12px; }
.ml-divi .ml-entrada img.alignleft { margin: 0 20px 20px 0; }
.ml-divi .ml-entrada img.alignright { margin: 0 0 20px 20px; }
.ml-divi .ml-entrada .wp-block-image { line-height: 0; text-align: center; }
.ml-divi .ml-entrada .wp-block-image figure { display: table; margin: 0 auto 20px; }
.ml-divi .ml-entrada .wp-block-image figure.alignleft { float: left; margin: 0 20px 20px 0; }
.ml-divi .ml-entrada .wp-block-image figure.alignright { float: right; margin: 0 0 20px 20px; }
.ml-divi .ml-entrada .wp-block-image figcaption { display: table-caption; caption-side: bottom; line-height: 26px; }
/* Entradas con foto de cabecera: el vídeo va justo después de los datos de la entrada (que ya dejan 20 px) */
.ml-divi .ml-entrada:not(.ml-entrada-lateral) .ml-entrada-video { margin-top: 0; }
/* Lana de roca: las dos filas de foto tenían 20 px de margen encima */
.ml-divi .ml-entrada .ml-f-fila[style*="sistema-hidroponico.jpg"], .ml-divi .ml-entrada .ml-f-fila[style*="marihuana-en-lana-de-roca.jpg"] { margin-top: 20px; }

/* Líneas separadoras, cajas numeradas y fotos con pie */
.ml-divi .ml-f-linea { border-color: #e0e0e0; margin-left: auto; margin-right: auto; }
.ml-divi .ml-f-linea-long { width: 100%; }
.ml-divi .ml-f-linea-medium { width: 50%; }
.ml-divi .ml-f-linea-short { width: 20%; }
.ml-divi .ml-f-caja { position: relative; text-align: center; }
.ml-divi .ml-f-caja-numero {
    position: absolute; top: 0; left: 50%; width: 50px; height: 50px; margin-left: -25px; border-radius: 50%;
    background: #e5e5e5; font-size: 30px; line-height: 50px; font-weight: 300; color: #a0a0a0; text-align: center;
}
.ml-divi .ml-f-caja-titulo { margin: 0 0 20px; padding: 0; font-size: 20px; line-height: 26px; font-weight: 400; color: #323338; }
.ml-divi .ml-f-caja-texto { margin-bottom: 10px; }
.ml-divi #main-content .ml-f-caja-texto p { padding-bottom: 20px; }
/* Foto con pie (Hortalizas): recuadro blanco con borde gris redondeado, como el de la web antigua */
.ml-divi .ml-f-img:has(.ml-f-pie-foto) { box-sizing: border-box; width: fit-content; max-width: 100%; padding: 15px 15px 0 20px; border: 1px solid #e0e0e0; border-radius: 9px; background: #fff; }
.ml-divi .ml-f-img-c:has(.ml-f-pie-foto) { margin-left: auto; margin-right: auto; }
.ml-divi .ml-f-img:has(.ml-f-pie-foto) > p:empty { display: none; }
.ml-divi #main-content .ml-f-pie-foto { margin: 0; padding: 15px 0; text-align: center; font-size: 14px; line-height: 20px; color: #505050; }
.ml-divi .ml-f-ico-ok-circled2 { --ml-ico: var(--ml-ico-ok-circulo); }

/* Entradas nuevas: contenido (858 px) y columna lateral (262 px, a 40 px) */
.ml-divi .ml-entrada-lateral .ml-entrada-fila { display: flex; justify-content: space-between; align-items: flex-start; }
.ml-divi .ml-entrada-lateral .ml-entrada-fila:before, .ml-divi .ml-entrada-lateral .ml-entrada-fila:after { content: none; display: none; }
.ml-divi .ml-entrada-fila > .ml-entrada-contenido { width: 73.97% !important; margin: 0 !important; }
.ml-divi .ml-entrada-fila > .ml-entrada-columna { width: 22.59% !important; margin: 0 !important; }
.ml-divi .ml-entrada-titulo { margin: 15px 0 0; padding: 0; font-size: 32px; line-height: 38px; font-weight: 300; color: #298eea; }
.ml-divi .ml-entrada-titulo + .ml-entrada-info { margin-top: 5px; }
.ml-divi .ml-entrada-foto { text-align: center; line-height: 0; }
.ml-divi .ml-entrada-foto img { display: inline-block; width: auto; max-width: 100%; height: auto; border-radius: 0; }
.ml-divi .ml-entrada-lateral .ml-entrada-texto { margin-top: 34px; }
.ml-divi .ml-compartir { padding-top: 30px; }
.ml-divi .ml-compartir-titulo { padding: 0 0 20px; font-size: 20px; line-height: 26px; font-weight: 400; color: #323338; }
.ml-divi .ml-compartir-enlaces a { margin-right: 25px; font-size: 14px; line-height: 26px; color: #298eea; }
.ml-divi .ml-entrada-lateral .ml-entrada-nav { padding: 55px 0 0; }
.ml-divi .ml-mas { padding: 68px 0 0; }
.ml-divi .ml-mas-cabecera { display: flex; justify-content: space-between; align-items: center; padding-bottom: 35px; }
.ml-divi .ml-mas-rotulo { padding: 0; font-size: 20px; line-height: 26px; font-weight: 400; color: #323338; }
.ml-divi .ml-mas-puntos { display: flex; gap: 12px; }
.ml-divi .ml-mas-punto { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #e0e0e0; cursor: pointer; }
.ml-divi .ml-mas-punto.activo { background: #a0a0a0; }
.ml-divi .ml-mas-ventana { overflow: hidden; }
.ml-divi .ml-mas-pista { display: flex; transition: transform .6s ease; }
.ml-divi .ml-mas-item { flex: 0 0 calc(50% - 10px); margin-right: 20px; }
.ml-divi .ml-mas-foto { display: block; aspect-ratio: 580 / 420; overflow: hidden; }
.ml-divi .ml-mas-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ml-divi .ml-mas-titulo { padding: 19px 0 0; font-size: 20px; line-height: 26px; font-weight: 400; }
.ml-divi .ml-mas-titulo a { color: #298eea; }

/* Columna lateral: buscador, entradas recientes y comentarios recientes */
.ml-divi .ml-buscador { position: relative; margin: 0; }
.ml-divi .ml-buscador input[type="search"] {
    display: block; width: 100%; height: 50px; margin: 0; padding: 0 55px 0 20px; box-sizing: border-box; border: 1px solid #e0e0e0;
    border-radius: 25px; background: #fff; font-family: inherit; font-size: 14px; color: #505050; -webkit-appearance: none; appearance: none;
}
.ml-divi .ml-buscador button { position: absolute; top: 0; right: 0; width: 50px; height: 50px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ml-divi .ml-buscador button:before {
    content: ""; display: block; width: 14px; height: 14px; margin: auto; background-color: #323338;
    -webkit-mask: var(--ml-ico-lupa) center / contain no-repeat; mask: var(--ml-ico-lupa) center / contain no-repeat;
}
.ml-divi .ml-lateral-titulo { margin: 0; padding: 48px 0 30px; font-size: 20px; line-height: 26px; font-weight: 400; color: #323338; }
.ml-divi .ml-lateral-lista + .ml-lateral-titulo { padding-top: 40px; }
.ml-divi #main-content ul.ml-lateral-lista { list-style: none; margin: -5px 0; padding: 0; line-height: 26px; }
.ml-divi #main-content .ml-lateral-lista li { margin: 0; padding: 5px 0; font-size: 15px; line-height: 26px; }
.ml-divi .ml-lateral-lista a { color: #323338; }
.ml-divi .ml-lateral-lista a:hover { color: #298eea; }

/* Blog y entradas en tableta y móvil */
@media (max-width: 980px) {
    .ml-divi .ml-blog { grid-template-columns: repeat(2, 1fr); }
    .ml-divi .ml-entrada-lateral .ml-entrada-fila { flex-direction: column; }
    .ml-divi .ml-entrada-fila > .ml-entrada-contenido, .ml-divi .ml-entrada-fila > .ml-entrada-columna { width: 100% !important; }
    .ml-divi .ml-entrada-fila > .ml-entrada-columna { padding: 150px 0 32px; }
}
@media (max-width: 767px) {
    .ml-divi .ml-cabecera-entrada .et_pb_row { height: auto; padding-bottom: 81px; }
    .ml-divi .ml-cabecera-entrada .ml-titulo-cabecera { padding-top: 40px; }
    .ml-divi .ml-blog { grid-template-columns: 1fr; }
    .ml-divi .ml-mas-item { flex-basis: 100%; }
}

/* ===== 19. Páginas sencillas: Contacto y Privacidad (herramientas\generar-pagina.py) ===== */
.ml-divi .ml-pagina { padding: 0; }
.ml-divi .ml-pagina .et_pb_module.ml-f-modulo { margin-bottom: 0 !important; }
.ml-divi .ml-pagina .ml-pagina-fila.et_pb_row { width: 100% !important; max-width: none !important; padding: 0; }
.ml-divi .ml-pagina .ml-f-fila { width: calc(100% - 40px); max-width: 1160px; margin: 0 auto; }
.ml-divi .ml-pagina .ml-f-fila.ml-f-ancha { width: 100%; max-width: none; }
.ml-divi .ml-f-sin-margen .ml-f-cols { margin: 0; }
.ml-divi .ml-f-sin-margen .ml-f-col { margin: 0; }
.ml-divi .ml-f-sin-margen .ml-f-1-2 { width: 50%; }
.ml-divi .ml-f-sin-margen .ml-f-1-3 { width: 33.333%; }
.ml-divi .ml-f-sin-margen .ml-f-2-3 { width: 66.667%; }
/* Filas de una columna a todo el ancho del contenido (1160 px) y 10 px arriba en la primera, como en las páginas antiguas */
.ml-divi .ml-pagina .ml-f-fila:not(.ml-f-sin-margen) .ml-f-cols { margin: 0; }
.ml-divi .ml-pagina .ml-f-fila:not(.ml-f-sin-margen) .ml-f-col.ml-f-1-1 { width: 100%; margin: 0; }
.ml-divi .ml-pagina .ml-f-modulo:first-child .ml-f-fila { padding-top: 10px; }
.ml-divi .ml-pagina h3.ml-f-titulo { padding-bottom: 2px; }
.ml-divi .ml-pagina .ml-f-texto p:last-child, .ml-divi .ml-pagina .ml-f-texto p:has(+ p:empty:last-child) { padding-bottom: 20px; }

/* Contacto: cabecera de 350 px sin migas, bloque azul con el mapa y la lista de datos en blanco */
.ml-divi .ml-cabecera-contacto .et_pb_row { height: 350px; }
.ml-divi .ml-cabecera-contacto .ml-titulo-cabecera { padding-top: 144px; }
.ml-divi .ml-f-ancha .ml-f-titulo { color: #fff; }
.ml-divi .ml-f-ancha .et_pb_text ul.ml-f-lista, .ml-divi .ml-pagina .ml-f-ancha ul.ml-f-lista { padding-left: 55px; }
.ml-divi .ml-pagina .ml-f-ancha .ml-f-lista li { padding: 0; line-height: 70px; color: #fff; }
.ml-divi .ml-pagina .ml-f-ancha .ml-f-lista li:before { left: -48px; top: 17.5px; width: 35px; height: 35px; background-color: #fff; }
.ml-divi .ml-pagina .ml-f-ancha .ml-f-lista a { color: #fff; }
.ml-divi .ml-pagina .ml-f-ancha .ml-f-lista a:hover { color: #4c4c4c; }
.ml-divi .ml-f-ico-home-1 { --ml-ico: var(--ml-ico-casa); }
.ml-divi .ml-f-ico-mobile { --ml-ico: var(--ml-ico-movil); }
.ml-divi .ml-f-ico-mail { --ml-ico: var(--ml-ico-sobre); }
.ml-divi .ml-f-ico-facebook-1 { --ml-ico: var(--ml-ico-facebook-relleno); }
.ml-divi .ml-f-ico-tumblr-1 { --ml-ico: var(--ml-ico-tumblr); }
.ml-divi .ml-f-ico-custom-instagram { --ml-ico: var(--ml-ico-instagram); }

/* Formulario de contacto (Contact Form 7), como antes: campos redondeados y botón azul de lado a lado */
.ml-divi .wpcf7 form p { margin: 0; padding: 0 0 20px; font-size: 13px; line-height: 19px; color: #a0a0a0; }
.ml-divi .wpcf7 label { display: block; margin: 0; }
.ml-divi .wpcf7 label br { display: none; }
.ml-divi .wpcf7 input[type="text"], .ml-divi .wpcf7 input[type="email"], .ml-divi .wpcf7 input[type="tel"], .ml-divi .wpcf7 textarea {
    display: block; width: 100%; height: 50px; margin: 25px 0 0; padding: 0 20px; box-sizing: border-box;
    border: 1px solid #e0e0e0; border-radius: 25px; background: #fff; font-family: inherit; font-size: 14px; color: #505050;
}
.ml-divi .wpcf7 textarea { height: 227px; padding: 14px 20px; resize: vertical; }
.ml-divi .wpcf7 input:focus, .ml-divi .wpcf7 textarea:focus { outline: 0; border-color: #298eea; }
/* Casilla de aceptación: como antes, 13 px a la derecha, texto a 25 px de la casilla */
.ml-divi .wpcf7 .wpcf7-acceptance .wpcf7-list-item { position: relative; display: inline-block; margin: 0 0 0 13px; padding: 5px 0; line-height: 19px; }
.ml-divi .wpcf7 .wpcf7-acceptance input[type="checkbox"] { position: absolute; left: 0; top: 8px; margin: 0; }
.ml-divi .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label { display: inline-block; padding-left: 25px; }
.ml-divi .wpcf7 input[type="submit"] {
    display: block; width: 100%; height: 46px; margin: 25px 0 0; padding: 0 20px; border: 2px solid #298eea; border-radius: 25px;
    background: #298eea; color: #fff; font-family: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase; cursor: pointer;
    transition: background-color .3s, color .3s;
}
.ml-divi .wpcf7 input[type="submit"]:hover { background: #fff; color: #298eea; }
.ml-divi .wpcf7 .wpcf7-spinner { position: absolute; }
.ml-divi .wpcf7 form p:has(input[type="submit"]) { padding-bottom: 49px; }
/* El bloque del mapa no lleva texto: sin el relleno del interior vacío (sumaba 20 px de alto) */
.ml-divi .ml-pagina .ml-f-bloque-interior:empty { display: none; }

/* Privacidad: texto normal a lo ancho del contenido */
.ml-divi .ml-pagina-solo-texto { padding: 65px 0 60px; }
.ml-divi .ml-pagina-texto h2 { padding: 0 0 20px; font-size: 40px; line-height: 50px; font-weight: 300; color: #323338; }
.ml-divi .ml-pagina-texto h3 { padding: 0 0 20px; font-size: 24px; line-height: 30px; font-weight: 400; color: #323338; }
.ml-divi .ml-pagina-texto h4 { padding: 0 0 20px; font-size: 20px; line-height: 26px; font-weight: 400; color: #323338; }
.ml-divi .ml-pagina-texto p { padding-bottom: 20px; }
.ml-divi .ml-pagina-texto table { width: 100%; margin: 0 0 20px; border-collapse: collapse; border: 0; }
.ml-divi .ml-pagina-texto tr { vertical-align: baseline; }
.ml-divi :is(.ml-pagina-texto, .ml-entrada-texto) figure.wp-block-table { margin: 0 0 20px; overflow-x: auto; }
.ml-divi #main-content .ml-pagina-texto td, .ml-divi #main-content .ml-pagina-texto th { padding: 10px; border: 1px solid #e0e0e0; vertical-align: baseline; text-align: left; font-size: 14px; line-height: 26px; }

@media (max-width: 767px) {
    .ml-divi .ml-cabecera-contacto .et_pb_row { height: auto; padding-bottom: 50px; }
    .ml-divi .ml-cabecera-contacto .ml-titulo-cabecera { padding-top: 40px; }
    .ml-divi .ml-f-sin-margen .ml-f-col { width: 100% !important; }
    .ml-divi .ml-pagina-texto { overflow-x: auto; }
}

/* ===== 20. Página de error 404 (la genera ml-divi-tema.php), como la del tema antiguo ===== */
.ml-divi .ml-404-fondo { background-color: #323338; background-repeat: no-repeat; background-position: 50% 0; background-size: cover; }
.ml-divi .ml-404-interior { padding-bottom: 230px; }
.ml-divi .ml-404-titulo { margin: 0; padding: 250px 0 105px; font-size: 260px; line-height: 260px; font-weight: 300; color: #fff; text-align: center; }
.ml-divi .ml-404-subtitulo { margin: 0; padding: 0; font-size: 28px; line-height: 28px; font-weight: 300; color: #fff; text-align: center; }
.ml-divi .ml-404-buscar { margin-top: -170px; padding: 0 20px 300px; }
.ml-divi .ml-404-buscar form { position: relative; max-width: 560px; margin: 0 auto; }
.ml-divi .ml-404-buscar input[type="search"] {
    display: block; width: 100%; height: 50px; margin: 0; padding: 10px 50px 10px 25px; box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .2); border-radius: 25px; background: transparent; color: #fff;
    font-family: inherit; font-size: 14px; line-height: 20px; -webkit-appearance: none; appearance: none;
}
.ml-divi .ml-404-buscar input[type="search"]::placeholder { color: #fff; opacity: 1; }
.ml-divi .ml-404-buscar input[type="search"]:focus { outline: 0; border-color: rgba(255, 255, 255, .5); }
.ml-divi .ml-404-buscar button { position: absolute; top: 0; right: 0; width: 50px; height: 50px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.ml-divi .ml-404-buscar button:before {
    content: ""; display: block; width: 14px; height: 14px; margin: auto; background-color: #fff;
    -webkit-mask: var(--ml-ico-lupa) center / contain no-repeat; mask: var(--ml-ico-lupa) center / contain no-repeat;
}
@media (min-width: 981px) {
    /* Como antes, la foto empieza arriba del todo, bajo la cabecera */
    .ml-divi.error404 #page-container { padding-top: 0 !important; }
}
@media (max-width: 980px) {
    /* Desde el 2/12/2026 por la tarde la foto también empieza arriba en el móvil, bajo la cabecera sin franja;
       el texto se queda donde estaba (72 px más abajo). */
    .ml-divi.error404 #page-container { padding-top: 0 !important; }
    .ml-divi.error404 .ml-404-fondo { padding-top: 72px; }
}
