/* MAYORLED 6.13 | SOLO Productos destacados + eliminación del menú antiguo en desktop */

/* Carrusel con scroll real: 3 tarjetas desktop, 2 tablet y 1 móvil */
body .elementor .ml-home-2026 .mlp-carousel,
body .ml-home-2026 .mlp-carousel {
  position:relative!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  isolation:isolate;padding:0 23px!important;margin:0!important;
  box-sizing:border-box!important;
}
body .elementor .ml-home-2026 .mlp-carousel .mlp-grid,
body .ml-home-2026 .mlp-carousel .mlp-grid {
  display:flex!important; flex-flow:row nowrap!important;
  grid-template-columns:none!important;align-items:stretch!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;scroll-padding:0!important;
  scroll-behavior:smooth;overscroll-behavior-x:contain;
  scrollbar-width:none!important;
  gap:17px!important;padding:7px 3px 18px!important;
  margin:0!important;-webkit-overflow-scrolling:touch;
}
body .ml-home-2026 .mlp-carousel .mlp-grid::-webkit-scrollbar { display:none!important; }
body .elementor .ml-home-2026 .mlp-carousel .mlp-grid > .mlp-card,
body .ml-home-2026 .mlp-carousel .mlp-grid > .mlp-card {
  flex:0 0 calc((100% - 34px)/3)!important;
  width:calc((100% - 34px)/3)!important;
  min-width:0!important;max-width:calc((100% - 34px)/3)!important;
  scroll-snap-align:start!important;scroll-snap-stop:always!important;
  border-radius:16px!important;padding:12px!important;
  display:flex!important;flex-direction:column!important;
  box-shadow:0 7px 21px rgba(9,36,66,.07)!important;
}
body .ml-home-2026 .mlp-carousel .mlp-card .mlp-image-link {
  position:relative!important;width:100%!important;
  height:260px!important;min-height:260px!important;
  border-radius:11px!important;overflow:hidden!important;
  background:#f2f5f9!important;
}
/* Fotos íntegras, pero con un relleno ambiental suave para los formatos verticales */
body .ml-home-2026 .mlp-carousel .mlp-photo-backdrop {
  display:block!important;position:absolute!important;inset:-18px!important;
  background-size:cover!important;background-position:center!important;
  filter:blur(22px) saturate(.7)!important;opacity:.18!important;
  transform:scale(1.08)!important;z-index:0!important;
  pointer-events:none!important;
}
body .ml-home-2026 .mlp-carousel .mlp-image-link:after {
  content:'';position:absolute;inset:0;z-index:0;
  background:rgba(255,255,255,.24);pointer-events:none;
}
body .ml-home-2026 .mlp-carousel .mlp-card .mlp-image-link img.mlp-photo {
  position:absolute!important;inset:0!important;display:block!important;
  width:100%!important;height:100%!important;max-width:100%!important;
  object-fit:contain!important;object-position:center!important;
  padding:2px!important;z-index:1!important;
}
body .ml-home-2026 .mlp-carousel .mlp-card .mlp-image-link img.mlp-photo-secondary {z-index:2!important}
body .ml-home-2026 .mlp-carousel .mlp-details {padding:13px 5px 5px!important;gap:8px!important}
body .ml-home-2026 .mlp-carousel .mlp-name {font-size:15px!important;line-height:1.4!important;min-height:45px!important}
body .ml-home-2026 .mlp-carousel .mlp-price {font-size:21px!important}
body .ml-home-2026 .mlp-carousel .mlp-actions {margin-top:auto!important;flex-wrap:nowrap!important}
body .ml-home-2026 .mlp-carousel .mlp-actions .mlp-add {flex:0 1 100px!important}
body .ml-home-2026 .mlp-carousel .mlp-carousel-arrow {appearance:none!important}
body .ml-home-2026 .mlp-carousel-arrow {
  display:grid!important;place-items:center!important;
  position:absolute!important;z-index:5!important;top:44%!important;transform:translateY(-50%)!important;
  width:38px!important;height:38px!important;min-width:38px!important;
  border-radius:50%!important;border:1px solid #d6e3ed!important;
  background:#fff!important;color:#092440!important;
  box-shadow:0 5px 15px rgba(8,37,67,.15)!important;
  cursor:pointer!important;font-size:28px!important;line-height:1!important;padding:0!important;
}
body .ml-home-2026 .mlp-carousel-arrow:hover,
body .ml-home-2026 .mlp-carousel-arrow:focus-visible {
  background:#ffd21a!important;color:#082440!important;border-color:#ffd21a!important;
}
body .ml-home-2026 .mlp-carousel-prev {left:0!important}
body .ml-home-2026 .mlp-carousel-next {right:0!important}
@media(max-width:1000px){
  body .elementor .ml-home-2026 .mlp-carousel .mlp-grid > .mlp-card,
  body .ml-home-2026 .mlp-carousel .mlp-grid > .mlp-card {
    flex-basis:calc((100% - 17px)/2)!important;width:calc((100% - 17px)/2)!important;max-width:calc((100% - 17px)/2)!important;
  }
  body .ml-home-2026 .mlp-carousel .mlp-card .mlp-image-link {height:230px!important;min-height:230px!important}
}
@media(max-width:650px){
  body .elementor .ml-home-2026 .mlp-carousel .mlp-grid > .mlp-card,
  body .ml-home-2026 .mlp-carousel .mlp-grid > .mlp-card {
    flex-basis:100%!important;width:100%!important;max-width:100%!important;
  }
  body .ml-home-2026 .mlp-carousel .mlp-card .mlp-image-link {height:255px!important;min-height:255px!important}
  body .ml-home-2026 .mlp-carousel .mlp-actions {flex-wrap:wrap!important}
  body .ml-home-2026 .mlp-carousel .mlp-actions .mlp-view,
  body .ml-home-2026 .mlp-carousel .mlp-actions .mlp-add {flex:1 1 100%!important}
  body .ml-home-2026 .mlp-carousel {padding:0 16px!important}
  body .ml-home-2026 .mlp-carousel-arrow {width:32px!important;height:32px!important;min-width:32px!important;font-size:23px!important}
}
@media(prefers-reduced-motion:reduce){body .ml-home-2026 .mlp-carousel .mlp-grid {scroll-behavior:auto!important}}

/* En Electro Child los dos menús se disparaban al mismo tiempo.
   Esta regla se aplica SOLO cuando el menú nuevo #ml10-menu está presente
   y solo a la entrada "Productos" identificada por JS. */
@media(min-width:901px){
 body.ml13-custom-nav-ready .ml13-native-products-root .sub-menu,
 body.ml13-custom-nav-ready .ml13-native-products-root .dropdown-menu,
 body.ml13-custom-nav-ready .ml13-native-products-root .mega-menu,
 body.ml13-custom-nav-ready .ml13-native-products-root .yamm-content,
 body.ml13-custom-nav-ready .ml13-native-products-root .yamm-mega-dropdown,
 body.ml13-custom-nav-ready .ml13-native-products-root > ul,
 body.ml13-custom-nav-ready .ml13-native-products-root > .menu-wrapper {
   display:none!important;visibility:hidden!important;opacity:0!important;
   pointer-events:none!important;max-height:0!important;
 }
}
