/*
Theme Name: MLH3D Astra Child
Theme URI: https://mlh3d.com
Description: Tema hijo de Astra personalizado para MLH3D.
Author: MLH3D
Author URI: https://mlh3d.com
Template: astra
Version: 6.9.17
Text Domain: mlh3d-astra-child
*/

:root{
  --mlh3d-navy:#07182d;
  --mlh3d-navy-2:#0b2547;
  --mlh3d-blue:#1665d8;
  --mlh3d-blue-2:#0e4fb6;
  --mlh3d-ink:#172033;
  --mlh3d-muted:#68758b;
  --mlh3d-bg:#f5f7fa;
  --mlh3d-line:#dce3ec;
  --mlh3d-white:#fff;
  --mlh3d-radius:18px;
  --mlh3d-shadow:0 15px 40px rgba(7,24,45,.11);
}

html{scroll-behavior:smooth;}
body{
  color:var(--mlh3d-ink);
  background:var(--mlh3d-bg);
  font-family:"Poppins","Segoe UI",Arial,sans-serif;
}

a{transition:color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease;}

/* Barra superior */
.mlh3d-topbar{
  background:var(--mlh3d-navy);
  color:#f5f8ff;
  text-align:center;
  font-size:11px;
  font-weight:700;
  letter-spacing:.105em;
  line-height:1.2;
  padding:6px 14px;
  text-transform:uppercase;
}

/* Header Astra: limpio y alineado con la marca */
/* Logo circular + nombre de marca */
.site-branding,
.ast-site-identity,
.ast-builder-layout-element.site-header-focus-item.ast-site-identity{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}
.custom-logo-link,
.ast-custom-logo-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto;
  margin:0!important;
}
.custom-logo,
.ast-custom-logo,
.site-logo-img img,
.custom-logo-link img{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  border-radius:50%!important;
  object-fit:cover!important;
  border:2px solid rgba(22,101,216,.16)!important;
  box-shadow:0 8px 20px rgba(7,24,45,.10)!important;
  background:#fff!important;
}
.ast-primary-header-bar,
.main-header-bar{
  background:#fff!important;
  border-bottom:1px solid #e8edf3!important;
  box-shadow:0 4px 18px rgba(7,24,45,.05);
}
.site-title a,.ast-site-title a{color:var(--mlh3d-navy)!important;font-weight:800;}
.main-header-menu .menu-link,
.main-header-bar-navigation .menu-link{
  color:var(--mlh3d-navy)!important;
  font-weight:700;
  font-size:13px;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item>.menu-link,
.main-header-bar-navigation .menu-link:hover{color:var(--mlh3d-blue)!important;}

/* Header más compacto: la navegación acompaña a la tienda sin competir con el producto. */
@media (min-width:922px){
  .ast-primary-header-bar .site-primary-header-wrap,
  .ast-primary-header-bar .ast-builder-grid-row,
  .main-header-bar .ast-container{
    min-height:64px!important;
  }
  .ast-primary-header-bar .ast-builder-grid-row{padding-top:0!important;padding-bottom:0!important;}
  .site-title,.ast-site-title{line-height:1!important;margin:0!important;}
  .site-title a,.ast-site-title a{font-size:27px!important;line-height:1!important;}
  .main-header-menu>.menu-item>.menu-link,
  .main-header-bar-navigation .menu-item>.menu-link{
    min-height:64px!important;
    height:64px!important;
    display:flex!important;
    align-items:center!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
}

/* Esta plantilla ya controla el ancho. Quitamos el contenedor limitado de Astra SOLO en inicio. */
body.home .site-content{padding:0!important;background:var(--mlh3d-bg);}
body.home .site-content>.ast-container,
body.home #content>.ast-container{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  display:block!important;
}
body.home #primary,
body.home .content-area{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
}
body.home #secondary{display:none!important;}

.mlh3d-front-page{width:100%;overflow:hidden;background:var(--mlh3d-bg);}

/* HERO: aún más compacto y con los productos del banner visualmente más pequeños.
   La idea es que el usuario vea la marca rápido, entienda lo que vendes y enseguida alcance a ver el catálogo. */
.mlh3d-hero-carousel{
  position:relative;
  width:100%;
  background:#041225;
  overflow:hidden;
  min-height:330px;
  height:clamp(330px,20.5vw,390px);
}
.mlh3d-hero-track,.mlh3d-hero-slide{position:absolute;inset:0;}
.mlh3d-hero-slide{
  opacity:0;
  visibility:hidden;
  transform:scale(1.015);
  transition:opacity .7s ease,visibility .7s ease,transform 1.2s ease;
}
.mlh3d-hero-slide.is-active{opacity:1;visibility:visible;transform:scale(1);}
.mlh3d-hero-slide img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 61%;
  transform:scale(.87);
  transform-origin:center center;
}
.mlh3d-hero-slide:nth-child(1) img{object-position:center 64%;transform:scale(.865);}
.mlh3d-hero-slide:nth-child(2) img{object-position:center 60%;transform:scale(.86);}
.mlh3d-hero-slide:nth-child(3) img{object-position:center 61%;transform:scale(.875);}
.mlh3d-hero-carousel:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:14%;
  pointer-events:none;
  background:linear-gradient(to bottom,transparent,rgba(4,18,37,.24));
  z-index:2;
}
.mlh3d-hero-arrow{
  position:absolute;
  z-index:4;
  top:50%;
  width:46px;
  height:46px;
  padding:0!important;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.55)!important;
  border-radius:50%!important;
  background:rgba(4,18,37,.38)!important;
  color:#fff!important;
  font-size:19px!important;
  line-height:1!important;
  backdrop-filter:blur(5px);
  box-shadow:none!important;
}
.mlh3d-hero-arrow:hover{background:rgba(22,101,216,.82)!important;}
.mlh3d-hero-prev{left:max(16px,3vw);}
.mlh3d-hero-next{right:max(16px,3vw);}
.mlh3d-hero-dots{
  position:absolute;
  z-index:4;
  left:50%;
  bottom:12px;
  display:flex;
  gap:9px;
  transform:translateX(-50%);
}
.mlh3d-hero-dot{
  width:9px!important;
  height:9px!important;
  min-width:9px!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.85)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.3)!important;
  box-shadow:none!important;
}
.mlh3d-hero-dot.is-active{width:28px!important;border-radius:12px!important;background:#fff!important;}

/* Contenido */
.mlh3d-home-shell{
  width:min(1220px,calc(100% - 48px));
  margin:0 auto;
  padding:18px 0 72px;
}
.mlh3d-home-section{padding:34px 0 18px;}
.mlh3d-home-section:first-child{padding-top:12px;}
.mlh3d-section-heading{
  display:flex;
  align-items:center;
  gap:20px;
  margin:0 0 28px;
}
.mlh3d-section-heading h2{
  flex:0 0 auto;
  margin:0;
  color:var(--mlh3d-navy);
  font-size:clamp(24px,2.6vw,36px);
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.025em;
  text-transform:uppercase;
}
.mlh3d-heading-line{height:2px;flex:1;background:linear-gradient(90deg,var(--mlh3d-blue),rgba(22,101,216,0));}

/* Productos: 3 columnas reales en escritorio; nada de carrusel vacío con flechas */
.mlh3d-products-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}
.mlh3d-product-card{
  min-width:0;
  overflow:hidden;
  background:var(--mlh3d-navy);
  border:1px solid rgba(255,255,255,.06);
  border-radius:var(--mlh3d-radius);
  box-shadow:var(--mlh3d-shadow);
  transition:transform .25s ease,box-shadow .25s ease;
}
.mlh3d-product-card:hover{transform:translateY(-6px);box-shadow:0 20px 48px rgba(7,24,45,.18);}
.mlh3d-product-image{
  display:block;
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#e7eaf0;
}
.mlh3d-product-image:after{
  content:"";
  position:absolute;
  inset:0;
  box-shadow:inset 0 -22px 30px rgba(7,24,45,.08);
  pointer-events:none;
}
.mlh3d-product-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .45s ease;
}
.mlh3d-product-card:hover .mlh3d-product-image img{transform:scale(1.035);}
.mlh3d-product-body{
  min-height:142px;
  padding:22px 20px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.mlh3d-product-body h3{
  margin:0;
  color:#fff;
  font-size:13.5px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.mlh3d-home-product-price{
  margin-top:-8px;
  color:#dce9fb;
  font-size:14px;
  line-height:1.35;
  font-weight:800;
}
.mlh3d-home-product-price del{opacity:.68;font-size:.9em;}
.mlh3d-home-product-price ins{color:#fff;text-decoration:none;}
.mlh3d-outline-button,
.mlh3d-solid-button{
  display:inline-flex;
  min-height:42px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:10px 27px;
  font-size:12px;
  line-height:1;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
  text-decoration:none!important;
}
.mlh3d-outline-button{border:1.5px solid rgba(255,255,255,.88);color:#fff!important;background:transparent;}
.mlh3d-outline-button:hover{border-color:#fff;background:#fff;color:var(--mlh3d-navy)!important;}

/* Placas */
.mlh3d-plates-section{padding-bottom:0;}
.mlh3d-plates-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;}
.mlh3d-plate-card{
  display:grid;
  grid-template-rows:auto 1fr;
  overflow:hidden;
  background:#fff;
  border:1px solid #e6ebf2;
  border-radius:var(--mlh3d-radius);
  box-shadow:0 12px 34px rgba(7,24,45,.08);
}
.mlh3d-plate-image{aspect-ratio:16/10;overflow:hidden;background:#e8e8e8;}
.mlh3d-plate-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .5s ease;}
.mlh3d-plate-card:hover .mlh3d-plate-image img{transform:scale(1.025);}
.mlh3d-plate-copy{padding:28px 30px 30px;display:flex;flex-direction:column;align-items:flex-start;}
.mlh3d-plate-kicker{
  margin:0 0 7px!important;
  color:var(--mlh3d-blue)!important;
  font-size:10px!important;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.mlh3d-plate-copy h3{margin:0 0 10px;color:var(--mlh3d-navy);font-size:25px;line-height:1.15;font-weight:800;text-transform:uppercase;}
.mlh3d-plate-copy>p:not(.mlh3d-plate-kicker){margin:0 0 22px;color:var(--mlh3d-muted);font-size:15px;line-height:1.65;}
.mlh3d-solid-button{margin-top:auto;background:var(--mlh3d-navy);border:1.5px solid var(--mlh3d-navy);color:#fff!important;}
.mlh3d-solid-button:hover{background:var(--mlh3d-blue);border-color:var(--mlh3d-blue);color:#fff!important;transform:translateY(-1px);}

/* WooCommerce: cambios suaves, sin interferir con su funcionamiento */
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--mlh3d-navy);font-weight:800;}
.woocommerce ul.products li.product .price{color:var(--mlh3d-blue);font-weight:800;}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{
  background:var(--mlh3d-navy)!important;
  color:#fff!important;
  border-radius:999px!important;
  font-weight:700!important;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{background:var(--mlh3d-blue)!important;}

/* Footer Astra */
footer.site-footer,.ast-footer-overlay-wrap,.site-primary-footer-wrap,.site-below-footer-wrap{background:var(--mlh3d-navy)!important;color:#e9eef8!important;}
.site-footer a{color:#e9eef8!important;}
.site-footer a:hover{color:#78aaff!important;}

@media (max-width:1024px){
  .mlh3d-hero-carousel{height:clamp(300px,31vw,360px);min-height:300px;}
  .mlh3d-hero-slide:nth-child(1) img{transform:scale(.9);object-position:center 63%;}
  .mlh3d-hero-slide:nth-child(2) img{transform:scale(.895);object-position:center 59%;}
  .mlh3d-hero-slide:nth-child(3) img{transform:scale(.905);object-position:center 60%;}
  .mlh3d-home-shell{width:min(100% - 36px,1100px);}
  .mlh3d-products-grid{gap:18px;}
  .mlh3d-product-body{min-height:132px;padding:20px 15px 22px;}
}

@media (max-width:767px){
  .mlh3d-topbar{font-size:9px;line-height:1.25;padding:6px 9px;}
  .ast-primary-header-bar .site-primary-header-wrap,
  .ast-primary-header-bar .ast-builder-grid-row{min-height:58px!important;}
  .mlh3d-hero-carousel{height:53vw;min-height:205px;max-height:270px;}
  .mlh3d-hero-slide:nth-child(1) img{object-position:center 61%;transform:scale(.97);}
  .mlh3d-hero-slide:nth-child(2) img{object-position:center 58%;transform:scale(.965);}
  .mlh3d-hero-slide:nth-child(3) img{object-position:center 59%;transform:scale(.975);}
  .mlh3d-hero-arrow{width:36px;height:36px;font-size:15px!important;}
  .mlh3d-hero-prev{left:10px;}.mlh3d-hero-next{right:10px;}
  .mlh3d-hero-dots{bottom:12px;}
  .mlh3d-home-shell{width:calc(100% - 28px);padding-top:12px;padding-bottom:54px;}
  .mlh3d-home-section{padding:28px 0 10px;}
  .mlh3d-home-section:first-child{padding-top:10px;}
  .mlh3d-section-heading{gap:8px;margin-bottom:19px;}
  .mlh3d-section-heading h2{font-size:23px;max-width:86%;}
  .mlh3d-products-grid{
    display:flex;
    gap:14px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:2px 2px 16px;
    scrollbar-width:none;
  }
  .mlh3d-products-grid::-webkit-scrollbar{display:none;}
  .mlh3d-product-card{flex:0 0 min(82vw,325px);scroll-snap-align:center;}
  .mlh3d-product-body{min-height:125px;}
  .mlh3d-plates-grid{grid-template-columns:1fr;gap:20px;}
  .mlh3d-plate-copy{padding:23px 22px 25px;}
  .mlh3d-plate-copy h3{font-size:22px;}
}

@media (max-width:430px){
  .mlh3d-hero-carousel{min-height:190px;max-height:230px;}
  .mlh3d-hero-arrow{display:none;}
  .mlh3d-home-shell{width:calc(100% - 24px);}
  .mlh3d-section-heading h2{font-size:21px;}
  .mlh3d-product-card{flex-basis:86vw;}
}

@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;}
  .mlh3d-hero-slide,.mlh3d-product-card,.mlh3d-product-image img,.mlh3d-plate-image img{transition:none!important;}
}



/* =========================================================
   INICIO - FASE 1 HERO DE MARCA (base v6.5 limpia)
   Solo sustituye el carrusel de portada. El resto del Inicio conserva
   la estructura y estilos funcionales de v6.5.
   ========================================================= */
.mlh3d-brand-hero{
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:610px;
  overflow:hidden;
  color:#fff;
  background:var(--mlh3d-navy);
}
.mlh3d-brand-hero__picture{
  position:absolute;
  z-index:0;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  pointer-events:none;
}
.mlh3d-brand-hero__picture img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.mlh3d-brand-hero__shade{
  position:absolute;
  z-index:1;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 63% 48%,rgba(22,101,216,.16),transparent 27%),
    linear-gradient(90deg,rgba(3,14,29,.98) 0%,rgba(4,17,34,.96) 34%,rgba(5,23,45,.73) 53%,rgba(5,23,45,.13) 78%,rgba(5,23,45,.02) 100%),
    linear-gradient(180deg,rgba(2,12,25,.05) 0%,rgba(2,12,25,.02) 72%,rgba(2,12,25,.30) 100%);
}
.mlh3d-brand-hero__inner{
  position:relative;
  z-index:2;
  width:min(1220px,calc(100% - 48px));
  min-height:610px;
  margin:0 auto;
  display:flex;
  align-items:center;
  padding:54px 0 62px;
}
.mlh3d-brand-hero__copy{
  width:min(590px,50%);
  position:relative;
  z-index:2;
  animation:mlh3d-hero-enter .62s ease both;
}
.mlh3d-brand-hero__brand{
  display:inline-flex;
  align-items:center;
  gap:13px;
  margin-bottom:20px;
}
.mlh3d-brand-hero__brand img{
  display:block;
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 12px 28px rgba(0,0,0,.22);
}
.mlh3d-brand-hero__brand>div{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.mlh3d-brand-hero__brand strong{
  color:#fff;
  font-size:27px;
  line-height:1;
  font-weight:900;
  letter-spacing:.01em;
}
.mlh3d-brand-hero__brand span{
  color:#c7d9f4;
  font-size:10px;
  line-height:1.3;
  font-weight:750;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.mlh3d-brand-hero__eyebrow{
  margin:0 0 13px;
  color:#4ca5ff;
  font-size:12px;
  line-height:1.3;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.mlh3d-brand-hero h1{
  margin:0;
  color:#fff;
  font-size:clamp(48px,6.3vw,82px);
  line-height:.93;
  font-weight:900;
  letter-spacing:-.055em;
}
.mlh3d-brand-hero h1 span{
  display:block;
  color:#2694ff;
}
.mlh3d-brand-hero__lead{
  max-width:560px;
  margin:22px 0 0;
  color:#e0eaf8;
  font-size:18px;
  line-height:1.65;
}
.mlh3d-brand-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.mlh3d-brand-hero__button{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 24px;
  border-radius:10px;
  font-size:12px;
  line-height:1;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
  text-decoration:none!important;
}
.mlh3d-brand-hero__button--primary{
  min-width:174px;
  color:#fff!important;
  border:1px solid #2694ff;
  background:linear-gradient(180deg,#2ea1ff 0%,var(--mlh3d-blue) 100%);
  box-shadow:0 13px 28px rgba(22,101,216,.25);
}
.mlh3d-brand-hero__button--primary:hover,
.mlh3d-brand-hero__button--primary:active{
  color:#fff!important;
  background:linear-gradient(180deg,#3aabff 0%,var(--mlh3d-blue-2) 100%);
  transform:translateY(-1px);
}
.mlh3d-brand-hero__button--secondary{
  min-width:196px;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.52);
  background:rgba(7,24,45,.18);
}
.mlh3d-brand-hero__button--secondary:hover,
.mlh3d-brand-hero__button--secondary:active{
  color:#fff!important;
  border-color:#fff;
  background:rgba(255,255,255,.09);
}
.mlh3d-brand-hero__button:focus-visible{
  outline:3px solid rgba(142,194,255,.95);
  outline-offset:4px;
}
.mlh3d-brand-hero__services{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:31px;
}
.mlh3d-brand-hero__services>div{
  min-width:0;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.16);
}
.mlh3d-brand-hero__services strong{
  display:block;
  color:#fff;
  font-size:13px;
  line-height:1.25;
  font-weight:800;
}
.mlh3d-brand-hero__services span{
  display:block;
  margin-top:4px;
  color:#c6d8f1;
  font-size:11.5px;
  line-height:1.4;
}
@keyframes mlh3d-hero-enter{
  from{opacity:0;transform:translateY(12px);}
  to{opacity:1;transform:none;}
}
@media (max-width:1100px){
  .mlh3d-brand-hero,
  .mlh3d-brand-hero__inner{min-height:570px;}
  .mlh3d-brand-hero__copy{width:min(540px,54%);}
  .mlh3d-brand-hero h1{font-size:clamp(44px,6.1vw,70px);}
  .mlh3d-brand-hero__lead{font-size:16.5px;}
}
@media (max-width:767px){
  .mlh3d-brand-hero{min-height:900px;}
  .mlh3d-brand-hero__picture img{
    object-position:center top;
  }
  .mlh3d-brand-hero__shade{
    background:
      linear-gradient(180deg,rgba(3,13,27,.985) 0%,rgba(4,16,32,.96) 27%,rgba(4,16,32,.74) 43%,rgba(4,16,32,.11) 63%,rgba(4,16,32,.02) 100%),
      linear-gradient(180deg,transparent 70%,rgba(7,24,45,.20));
  }
  .mlh3d-brand-hero__inner{
    width:calc(100% - 28px);
    min-height:900px;
    align-items:flex-start;
    padding:28px 0 350px;
  }
  .mlh3d-brand-hero__copy{width:100%;max-width:520px;}
  .mlh3d-brand-hero__brand{margin-bottom:13px;gap:10px;}
  .mlh3d-brand-hero__brand img{width:44px;height:44px;flex-basis:44px;}
  .mlh3d-brand-hero__brand strong{font-size:23px;}
  .mlh3d-brand-hero__brand span{font-size:8.5px;letter-spacing:.09em;}
  .mlh3d-brand-hero__eyebrow{font-size:9.5px;margin-bottom:9px;}
  .mlh3d-brand-hero h1{font-size:clamp(39px,12.7vw,53px);line-height:.94;}
  .mlh3d-brand-hero__lead{max-width:430px;margin-top:14px;font-size:14.5px;line-height:1.55;}
  .mlh3d-brand-hero__actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:19px;}
  .mlh3d-brand-hero__button{width:100%;min-width:0;min-height:46px;border-radius:9px;}
  .mlh3d-brand-hero__services{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
    margin-top:20px;
  }
  .mlh3d-brand-hero__services>div{padding-top:10px;}
  .mlh3d-brand-hero__services strong{font-size:10.5px;}
  .mlh3d-brand-hero__services span{font-size:9.5px;line-height:1.3;}
}
@media (max-width:430px){
  .mlh3d-brand-hero{min-height:860px;}
  .mlh3d-brand-hero__inner{width:calc(100% - 24px);min-height:860px;padding-bottom:330px;}
}
@media (max-width:360px){
  .mlh3d-brand-hero{min-height:830px;}
  .mlh3d-brand-hero__inner{min-height:830px;padding-bottom:315px;}
  .mlh3d-brand-hero__services{gap:6px;}
  .mlh3d-brand-hero__services strong{font-size:9.5px;}
  .mlh3d-brand-hero__services span{font-size:8.8px;}
}
@media (prefers-reduced-motion:reduce){
  .mlh3d-brand-hero__copy{animation:none!important;}
}

/* =========================================================
   PÁGINA: SERVICIOS PERSONALIZADOS + COTIZACIÓN
   ========================================================= */
body.page-template-page-servicios-personalizados,
body.page-template-page-servicios-personalizados .site-content{background:var(--mlh3d-bg);}
body.page-template-page-servicios-personalizados .site-content>.ast-container,
body.page-template-page-servicios-personalizados #content>.ast-container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;}
body.page-template-page-servicios-personalizados #primary,
body.page-template-page-servicios-personalizados .content-area{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;}
body.page-template-page-servicios-personalizados #secondary{display:none!important;}
.mlh3d-services-page{background:var(--mlh3d-bg);color:var(--mlh3d-ink);}
.mlh3d-services-shell{width:min(1180px,calc(100% - 48px));margin:0 auto;}
.mlh3d-services-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 84% 18%,rgba(22,101,216,.34),transparent 34%),linear-gradient(135deg,#061426 0%,#0b2547 58%,#123d73 100%);color:#fff;}
.mlh3d-services-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.55),transparent);}
.mlh3d-services-hero-inner{position:relative;z-index:1;min-height:430px;padding:76px 0 70px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:center;gap:64px;}
.mlh3d-services-eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;color:#9dc3ff;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;}
.mlh3d-services-hero h1{max-width:760px;margin:0 0 18px;color:#fff;font-size:clamp(38px,5vw,64px);line-height:1.02;font-weight:850;letter-spacing:-.045em;}
.mlh3d-services-hero-copy{max-width:690px;margin:0;color:#dce9fb;font-size:17px;line-height:1.7;}
.mlh3d-services-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;}
.mlh3d-services-primary,.mlh3d-services-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 24px;border-radius:999px;font-size:13px;line-height:1;font-weight:800;letter-spacing:.045em;text-transform:uppercase;text-decoration:none!important;}
.mlh3d-services-primary{background:#fff;border:1.5px solid #fff;color:var(--mlh3d-navy)!important;}.mlh3d-services-primary:hover{transform:translateY(-2px);background:#eaf2ff;}
.mlh3d-services-secondary{background:transparent;border:1.5px solid rgba(255,255,255,.45);color:#fff!important;}.mlh3d-services-secondary:hover{background:rgba(255,255,255,.09);border-color:#fff;}
.mlh3d-services-hero-card{position:relative;padding:28px;border:1px solid rgba(255,255,255,.16);border-radius:24px;background:rgba(255,255,255,.08);box-shadow:0 24px 60px rgba(0,0,0,.17);backdrop-filter:blur(10px);}
.mlh3d-services-hero-card strong{display:block;margin-bottom:14px;color:#fff;font-size:20px;}.mlh3d-services-hero-list{display:grid;gap:12px;margin:0;padding:0;list-style:none;}.mlh3d-services-hero-list li{display:flex;gap:10px;align-items:flex-start;color:#e6f0ff;font-size:14px;line-height:1.45;}.mlh3d-services-hero-list li:before{content:"✓";flex:0 0 23px;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:rgba(120,170,255,.18);color:#b8d5ff;font-size:12px;font-weight:900;}
.mlh3d-trust-strip{border-bottom:1px solid var(--mlh3d-line);background:#fff;}.mlh3d-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);}.mlh3d-trust-item{padding:20px 18px;text-align:center;border-right:1px solid #edf0f5;}.mlh3d-trust-item:last-child{border-right:0;}.mlh3d-trust-item strong{display:block;margin-bottom:3px;color:var(--mlh3d-navy);font-size:13px;text-transform:uppercase;letter-spacing:.045em;}.mlh3d-trust-item span{color:var(--mlh3d-muted);font-size:12px;}
.mlh3d-services-section{padding:76px 0;}.mlh3d-services-section--white{background:#fff;}.mlh3d-services-section--compact{padding-top:58px;padding-bottom:58px;}.mlh3d-services-heading{max-width:770px;margin:0 auto 38px;text-align:center;}.mlh3d-services-heading.mlh3d-align-left{margin-left:0;text-align:left;}.mlh3d-services-heading .mlh3d-services-eyebrow{color:var(--mlh3d-blue);}.mlh3d-services-heading h2{margin:0 0 8px;color:var(--mlh3d-navy);font-size:clamp(29px,3.4vw,44px);line-height:1.08;font-weight:850;letter-spacing:-.035em;}.mlh3d-services-heading p{margin:0;color:var(--mlh3d-muted);font-size:16px;line-height:1.7;}
.mlh3d-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}.mlh3d-service-card{position:relative;overflow:hidden;padding:30px;border:1px solid #e1e7ef;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(7,24,45,.055);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;}.mlh3d-service-card:hover{transform:translateY(-4px);border-color:#c9d9f0;box-shadow:0 18px 45px rgba(7,24,45,.10);}.mlh3d-service-icon{width:48px;height:48px;display:grid;place-items:center;margin-bottom:20px;border-radius:15px;background:#eaf2ff;color:var(--mlh3d-blue);font-size:18px;font-weight:900;}.mlh3d-service-card h3{margin:0 0 9px;color:var(--mlh3d-navy);font-size:22px;font-weight:850;}.mlh3d-service-card>p{margin:0 0 17px;color:var(--mlh3d-muted);line-height:1.65;}.mlh3d-service-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;}.mlh3d-service-tags li{padding:7px 10px;border:1px solid #e0e7f0;border-radius:999px;background:#f7f9fc;color:#42516a;font-size:11px;font-weight:750;}
.mlh3d-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}.mlh3d-process-step{padding:26px 22px;border:1px solid #dfe6ef;border-radius:14px;background:#fff;}.mlh3d-process-number{display:inline-grid;place-items:center;width:34px;height:34px;margin-bottom:17px;border-radius:50%;background:var(--mlh3d-navy);color:#fff;font-size:13px;font-weight:850;}.mlh3d-process-step h3{margin:0 0 7px;color:var(--mlh3d-navy);font-size:17px;font-weight:850;}.mlh3d-process-step p{margin:0;color:var(--mlh3d-muted);font-size:13px;line-height:1.6;}
.mlh3d-quote-wrap{display:grid;grid-template-columns:minmax(0,.82fr) minmax(440px,1.18fr);gap:44px;align-items:start;}.mlh3d-quote-copy{position:sticky;top:28px;padding:34px;border-radius:24px;background:var(--mlh3d-navy);color:#fff;}.mlh3d-quote-copy .mlh3d-services-eyebrow{color:#9dc3ff;}.mlh3d-quote-copy h2{margin:0 0 8px;color:#fff;font-size:35px;line-height:1.08;font-weight:850;letter-spacing:-.03em;}.mlh3d-quote-copy>p{margin:0 0 24px;color:#d9e6f7;line-height:1.65;}.mlh3d-quote-tips{display:grid;gap:11px;margin:0;padding:0;list-style:none;}.mlh3d-quote-tips li{display:flex;gap:10px;color:#e8f1ff;font-size:13px;line-height:1.5;}.mlh3d-quote-tips li:before{content:"•";color:#75a8ff;font-size:20px;line-height:.9;}.mlh3d-whatsapp-button{display:inline-flex;align-items:center;justify-content:center;margin-top:14px;min-height:40px;padding:11px 18px;border:1px solid rgba(255,255,255,.35);border-radius:999px;color:#fff!important;font-size:12px;font-weight:800;letter-spacing:.04em;text-decoration:none!important;}.mlh3d-whatsapp-button:hover{background:#fff;color:var(--mlh3d-navy)!important;}
.mlh3d-quote-form{padding:34px;border:1px solid #dfe6ef;border-radius:24px;background:#fff;box-shadow:0 15px 40px rgba(7,24,45,.07);}.mlh3d-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}.mlh3d-form-field{display:flex;flex-direction:column;gap:7px;}.mlh3d-form-field--full{grid-column:1/-1;}.mlh3d-form-field label{color:var(--mlh3d-navy);font-size:12px;font-weight:800;letter-spacing:.025em;}.mlh3d-form-field input,.mlh3d-form-field select,.mlh3d-form-field textarea{width:100%;min-height:48px;margin:0;padding:11px 13px;border:1px solid #ced7e3;border-radius:12px;background:#fbfcfe;color:var(--mlh3d-ink);font:inherit;font-size:14px;box-shadow:none;}.mlh3d-form-field textarea{min-height:145px;resize:vertical;}.mlh3d-form-field input:focus,.mlh3d-form-field select:focus,.mlh3d-form-field textarea:focus{outline:none;border-color:#78a8ea;box-shadow:0 0 0 3px rgba(22,101,216,.09);}.mlh3d-form-help{margin:-5px 0 0;color:#7a8799;font-size:11px;line-height:1.5;}.mlh3d-form-submit{display:inline-flex;align-items:center;justify-content:center;min-height:50px;margin-top:4px;padding:12px 25px!important;border:0!important;border-radius:999px!important;background:var(--mlh3d-blue)!important;color:#fff!important;font-weight:850!important;letter-spacing:.035em;box-shadow:none!important;}.mlh3d-form-submit:hover{background:var(--mlh3d-blue-2)!important;transform:translateY(-1px);}.mlh3d-form-alert{grid-column:1/-1;margin:0 0 4px;padding:13px 15px;border-radius:12px;font-size:13px;line-height:1.5;}.mlh3d-form-alert--success{background:#edf9f0;border:1px solid #bfe3c8;color:#236437;}.mlh3d-form-alert--error{background:#fff2f2;border:1px solid #efc6c6;color:#8a3030;}.mlh3d-form-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
.mlh3d-faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}.mlh3d-faq-item{padding:24px;border:1px solid #dfe5ed;border-radius:18px;background:#fff;}.mlh3d-faq-item h3{margin:0 0 7px;color:var(--mlh3d-navy);font-size:16px;font-weight:850;}.mlh3d-faq-item p{margin:0;color:var(--mlh3d-muted);font-size:13px;line-height:1.65;}.mlh3d-services-final-cta{margin:0 0 76px;padding:35px 38px;display:flex;align-items:center;justify-content:space-between;gap:26px;border-radius:24px;background:linear-gradient(135deg,#0a1b31,#123b70);color:#fff;}.mlh3d-services-final-cta h2{margin:0 0 6px;color:#fff;font-size:27px;font-weight:850;}.mlh3d-services-final-cta p{margin:0;color:#d8e7f8;font-size:14px;}
@media (max-width:980px){.mlh3d-services-hero-inner{grid-template-columns:1fr;gap:30px;min-height:auto;padding:58px 0;}.mlh3d-services-hero-card{max-width:620px;}.mlh3d-trust-grid{grid-template-columns:repeat(2,1fr);}.mlh3d-trust-item:nth-child(2){border-right:0;}.mlh3d-trust-item:nth-child(-n+2){border-bottom:1px solid #edf0f5;}.mlh3d-process-grid{grid-template-columns:repeat(2,1fr);}.mlh3d-quote-wrap{grid-template-columns:1fr;gap:24px;}.mlh3d-quote-copy{position:static;}}
@media (max-width:720px){.mlh3d-services-shell{width:calc(100% - 28px);}.mlh3d-services-hero-inner{padding:44px 0 46px;}.mlh3d-services-hero h1{font-size:38px;}.mlh3d-services-hero-copy{font-size:15px;}.mlh3d-services-section{padding:55px 0;}.mlh3d-service-grid,.mlh3d-faq-grid{grid-template-columns:1fr;}.mlh3d-process-grid{grid-template-columns:1fr;}.mlh3d-form-grid{grid-template-columns:1fr;}.mlh3d-form-field--full{grid-column:auto;}.mlh3d-quote-form,.mlh3d-quote-copy{padding:25px 20px;}.mlh3d-services-final-cta{margin-bottom:55px;padding:28px 24px;flex-direction:column;align-items:flex-start;}}
@media (max-width:480px){.mlh3d-trust-grid{grid-template-columns:1fr;}.mlh3d-trust-item{border-right:0!important;border-bottom:1px solid #edf0f5;}.mlh3d-trust-item:last-child{border-bottom:0;}.mlh3d-services-hero-actions{display:grid;}.mlh3d-services-primary,.mlh3d-services-secondary{width:100%;}}


/* =========================================================
   WhatsApp flotante
   ========================================================= */
.mlh3d-whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9999;
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none !important;
}
.mlh3d-whatsapp-float__label{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(10,27,49,.94);
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  box-shadow:0 10px 25px rgba(7,24,45,.18);
  opacity:0;
  transform:translateX(8px);
  pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
  white-space:nowrap;
}
.mlh3d-whatsapp-float__bubble{
  position:relative;
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(135deg,#25D366,#128C7E);
  color:#fff;
  box-shadow:0 14px 34px rgba(18,140,126,.33);
  transition:transform .2s ease, box-shadow .2s ease;
}
.mlh3d-whatsapp-float__bubble svg{
  width:29px;
  height:29px;
  display:block;
  fill:currentColor;
}
.mlh3d-whatsapp-float__bubble:before,
.mlh3d-whatsapp-float__bubble:after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  border:1px solid rgba(37,211,102,.45);
  animation:mlh3d-whatsapp-ping 2.8s ease-out infinite;
}
.mlh3d-whatsapp-float__bubble:after{animation-delay:1.25s;}
.mlh3d-whatsapp-float:hover .mlh3d-whatsapp-float__bubble{
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 16px 38px rgba(18,140,126,.38);
}
.mlh3d-whatsapp-float:hover .mlh3d-whatsapp-float__label,
.mlh3d-whatsapp-float:focus-visible .mlh3d-whatsapp-float__label{
  opacity:1;
  transform:translateX(0);
}
@keyframes mlh3d-whatsapp-ping{
  0%{transform:scale(1);opacity:.6;}
  70%{transform:scale(1.45);opacity:0;}
  100%{transform:scale(1.45);opacity:0;}
}
@media (max-width: 782px){
  .mlh3d-whatsapp-float{right:16px;bottom:16px;}
  .mlh3d-whatsapp-float__label{display:none;}
  .mlh3d-whatsapp-float__bubble{width:58px;height:58px;}
  .mlh3d-whatsapp-float__bubble svg{width:27px;height:27px;}
}


/* =========================================================
   Footer MLH3D personalizado
   ========================================================= */

.mlh3d-footer-brand-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}
.mlh3d-footer-logo{
  flex:0 0 auto;
  width:58px;
  height:58px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  overflow:hidden;
  background:#fff;
  border:2px solid rgba(120,170,255,.18);
  box-shadow:0 10px 26px rgba(0,0,0,.14);
}
.mlh3d-footer-logo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.mlh3d-footer-logo-fallback{
  color:var(--mlh3d-navy);
  font-size:16px;
  font-weight:900;
  letter-spacing:.04em;
}
.mlh3d-footer-socials{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.mlh3d-social-pill{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:40px;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.13);
  background:rgba(255,255,255,.05);
  color:#e9eef8!important;
  font-size:12px;
  font-weight:800;
  text-decoration:none!important;
}
.mlh3d-social-pill:hover{
  background:rgba(255,255,255,.10);
  color:#fff!important;
  transform:translateY(-1px);
}
.mlh3d-social-pill svg{
  width:16px;
  height:16px;
  fill:currentColor;
  flex:0 0 16px;
}
.site-footer{display:none!important;}
.mlh3d-site-footer{
  margin-top:0;
  background:linear-gradient(180deg,#07182d 0%,#051222 100%);
  color:#dce7f6;
  border-top:1px solid rgba(255,255,255,.07);
}
.mlh3d-footer-shell{
  width:min(1220px,calc(100% - 48px));
  margin:0 auto;
}
.mlh3d-footer-main{
  display:grid;
  grid-template-columns:1.15fr .9fr .95fr 1.1fr;
  gap:42px;
  padding:58px 0 44px;
}
.mlh3d-footer-brand h2{
  margin:0 0 8px;
  color:#fff;
  font-size:28px;
  font-weight:900;
  letter-spacing:.02em;
}
.mlh3d-footer-brand p{
  margin:0;
  max-width:310px;
  color:#aebdd1;
  font-size:13px;
  line-height:1.72;
}
.mlh3d-footer-title{
  margin:4px 0 17px;
  color:#fff;
  font-size:12px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.mlh3d-footer-list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:11px;
}
.mlh3d-footer-list li,
.mlh3d-footer-list a{
  color:#b8c6d9;
  font-size:13px;
  line-height:1.5;
  text-decoration:none!important;
}
.mlh3d-footer-list a:hover{color:#fff;transform:translateX(2px);}
.mlh3d-footer-contact-link{
  display:inline-flex;
  align-items:flex-start;
  gap:9px;
}
.mlh3d-footer-contact-link svg{
  flex:0 0 17px;
  width:17px;
  height:17px;
  margin-top:2px;
  fill:#78aaff;
}
.mlh3d-footer-newsletter p{
  margin:0 0 15px;
  color:#aebdd1;
  font-size:13px;
  line-height:1.62;
}
.mlh3d-footer-subscribe{
  display:flex;
  gap:8px;
  padding:5px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.05);
}
.mlh3d-footer-subscribe input[type=email]{
  flex:1;
  min-width:0;
  min-height:42px;
  padding:9px 13px;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:12px;
  box-shadow:none!important;
}
.mlh3d-footer-subscribe input[type=email]::placeholder{color:#8496ad;}
.mlh3d-footer-subscribe input[type=email]:focus-visible{outline:2px solid #8ec2ff!important;outline-offset:2px;box-shadow:0 0 0 3px rgba(142,194,255,.18)!important;}
.mlh3d-footer-subscribe button{
  flex:0 0 auto;
  min-height:42px;
  padding:9px 16px!important;
  border:0!important;
  border-radius:999px!important;
  background:#1665d8!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:none!important;
}
.mlh3d-footer-subscribe button:hover{background:#0e4fb6!important;}
.mlh3d-footer-note{
  margin-top:10px!important;
  color:#7f91a8!important;
  font-size:10px!important;
  line-height:1.5!important;
}
.mlh3d-footer-message{
  margin:0 0 12px!important;
  padding:9px 11px;
  border-radius:10px;
  background:rgba(37,211,102,.10);
  border:1px solid rgba(37,211,102,.24);
  color:#c8f6d7!important;
  font-size:10px!important;
}
.mlh3d-footer-message--error{color:#ffd7d7!important;}
.mlh3d-footer-bottom{
  border-top:1px solid rgba(255,255,255,.09);
}
.mlh3d-footer-bottom-inner{
  min-height:68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  color:#8798ae;
  font-size:11px;
  line-height:1.5;
}
.mlh3d-footer-bottom-inner p{margin:0;}
.mlh3d-footer-bottom-links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}
.mlh3d-footer-bottom-links a{color:#92a3b9;text-decoration:none!important;}
.mlh3d-footer-bottom-links a:hover{color:#fff;}
@media(max-width:980px){
  .mlh3d-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 48px;}
}
@media(max-width:640px){
  .mlh3d-footer-shell{width:calc(100% - 30px);}
  .mlh3d-footer-main{grid-template-columns:1fr;gap:30px;padding:44px 0 34px;}
  .mlh3d-footer-brand-top{margin-bottom:12px;}
  .mlh3d-footer-logo{width:52px;height:52px;}
  .mlh3d-footer-brand p{max-width:none;}
  .mlh3d-footer-bottom-inner{padding:19px 0;flex-direction:column;align-items:flex-start;min-height:auto;}
  .mlh3d-footer-bottom-links{gap:12px 16px;}
  .mlh3d-footer-subscribe{border-radius:16px;align-items:stretch;}
  .mlh3d-footer-subscribe button{padding-left:13px!important;padding-right:13px!important;}
}


/* Refuerzo del logo en header: asegura el icono circular junto al nombre MLH3D */
.mlh3d-header-branding,
.ast-site-identity.mlh3d-header-branding,
.site-branding.mlh3d-header-branding{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
}
.mlh3d-header-logo-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto;
  text-decoration:none!important;
}
.mlh3d-header-logo-img{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  border-radius:50%!important;
  object-fit:cover!important;
  display:block!important;
  background:#fff!important;
  border:2px solid rgba(22,101,216,.16)!important;
  box-shadow:0 8px 20px rgba(7,24,45,.10)!important;
}
@media(max-width:921px){
  .mlh3d-header-logo-img{width:40px!important;height:40px!important;min-width:40px!important;}
}


.mlh3d-footer-logo, .mlh3d-header-logo-img{background:transparent!important;}


/* =========================================================
   TIENDA MLH3D — WooCommerce
   Solo afecta la página principal de Tienda.
   ========================================================= */
body.woocommerce-shop{
  background:var(--mlh3d-bg);
}
body.woocommerce-shop #secondary{display:none!important;}
body.woocommerce-shop #primary,
body.woocommerce-shop .content-area{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
}
body.woocommerce-shop .woocommerce-breadcrumb{display:none!important;}
body.woocommerce-shop .site-main{padding-bottom:0;}

/* Hero de tienda a ancho completo, sin comerse toda la primera pantalla. */
.mlh3d-shop-hero{
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 22%,rgba(35,112,230,.38),transparent 31%),
    radial-gradient(circle at 12% 105%,rgba(46,130,255,.20),transparent 34%),
    linear-gradient(135deg,#061426 0%,#0a2444 54%,#123d73 100%);
  color:#fff;
}
.mlh3d-shop-hero:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.75),transparent);
}
.mlh3d-shop-hero__inner{
  position:relative;
  z-index:1;
  width:min(1220px,calc(100% - 48px));
  min-height:235px;
  margin:0 auto;
  padding:28px 0 24px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(250px,.58fr);
  gap:28px;
  align-items:center;
}
.mlh3d-shop-eyebrow{
  margin:0 0 6px!important;
  color:#9fc5ff!important;
  font-size:10px!important;
  line-height:1.3;
  font-weight:850;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.mlh3d-shop-hero h1{
  max-width:720px;
  margin:0 0 8px;
  color:#fff;
  font-size:clamp(27px,3.4vw,42px);
  line-height:1.03;
  font-weight:900;
  letter-spacing:-.045em;
}
.mlh3d-shop-hero__copy{
  max-width:680px;
  margin:0;
  color:#d9e8fb;
  font-size:15px;
  line-height:1.55;
}
.mlh3d-shop-search{
  display:flex;
  gap:8px;
  margin-top:14px;
  max-width:630px;
  padding:6px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(255,255,255,.09);
  backdrop-filter:blur(7px);
}
.mlh3d-shop-search input[type=search]{
  flex:1;
  min-width:0;
  min-height:40px;
  padding:8px 13px!important;
  border:0!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--mlh3d-ink)!important;
  font-size:12.5px!important;
  box-shadow:none!important;
}
.mlh3d-shop-search button{
  flex:0 0 auto;
  min-height:44px;
  padding:8px 16px!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--mlh3d-blue)!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.mlh3d-shop-search button:hover{background:#2a78e5!important;}
.mlh3d-shop-hero__side{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.mlh3d-shop-benefit{
  min-height:72px;
  padding:12px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:18px;
  background:rgba(255,255,255,.075);
  backdrop-filter:blur(8px);
}
.mlh3d-shop-benefit strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:12px;
  line-height:1.3;
  letter-spacing:.035em;
  text-transform:uppercase;
}
.mlh3d-shop-benefit span{
  display:block;
  color:#c9daf0;
  font-size:11px;
  line-height:1.45;
}

/* Navegación rápida de categorías. */
.mlh3d-shop-categories{
  margin:16px 0 24px;
}
.mlh3d-shop-categories__label{
  margin:0 0 8px;
  color:var(--mlh3d-navy);
  font-size:11px;
  font-weight:850;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.mlh3d-shop-category-pills{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
}
.mlh3d-shop-category-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 15px;
  border:1px solid #d7e0eb;
  border-radius:999px;
  background:#fff;
  color:#31415a!important;
  font-size:11px;
  font-weight:800;
  text-decoration:none!important;
  box-shadow:0 4px 12px rgba(7,24,45,.035);
}
.mlh3d-shop-category-pill:hover,
.mlh3d-shop-category-pill.is-active{
  border-color:var(--mlh3d-blue);
  background:var(--mlh3d-navy);
  color:#fff!important;
  transform:translateY(-1px);
}

/* Destacados antes del catálogo completo. */
.mlh3d-shop-featured{
  margin:0 0 56px;
}
.mlh3d-shop-section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
}
.mlh3d-shop-section-head h2,
.mlh3d-shop-catalog-title{
  margin:0;
  color:var(--mlh3d-navy);
  font-size:clamp(24px,2.5vw,34px);
  line-height:1.1;
  font-weight:900;
  letter-spacing:-.03em;
  text-transform:uppercase;
}
.mlh3d-shop-section-head p{
  margin:0;
  max-width:510px;
  color:var(--mlh3d-muted);
  font-size:12px;
  line-height:1.55;
  text-align:right;
}
.mlh3d-featured-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.mlh3d-featured-card{
  position:relative;
  overflow:hidden;
  min-width:0;
  border:1px solid #dfe6ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(7,24,45,.065);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.mlh3d-featured-card:hover{
  transform:translateY(-5px);
  border-color:#cad8ea;
  box-shadow:0 17px 38px rgba(7,24,45,.11);
}
.mlh3d-featured-card__image{
  position:relative;
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  background:#eef1f5;
}
.mlh3d-featured-card__image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .4s ease;
}
.mlh3d-featured-card:hover .mlh3d-featured-card__image img{transform:scale(1.035);}
.mlh3d-featured-card__badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(7,24,45,.92);
  color:#fff;
  font-size:9px;
  line-height:1;
  font-weight:850;
  letter-spacing:.065em;
  text-transform:uppercase;
}
.mlh3d-featured-card__body{padding:17px 17px 18px;}
.mlh3d-featured-card__category{
  margin:0 0 5px;
  color:var(--mlh3d-blue);
  font-size:9px;
  line-height:1.35;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.mlh3d-featured-card h3{
  min-height:42px;
  margin:0 0 8px;
  color:var(--mlh3d-navy);
  font-size:14px;
  line-height:1.45;
  font-weight:850;
}
.mlh3d-featured-card__price{
  min-height:26px;
  margin:0 0 8px;
  color:var(--mlh3d-blue);
  font-size:15px;
  font-weight:850;
}
.mlh3d-featured-card__price del{opacity:.45;font-size:11px;}
.mlh3d-featured-card__price ins{text-decoration:none;}
.mlh3d-featured-card__button{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:39px;
  width:100%;
  padding:9px 12px;
  border:1px solid var(--mlh3d-navy);
  border-radius:999px;
  background:var(--mlh3d-navy);
  color:#fff!important;
  font-size:10px;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
  text-decoration:none!important;
}
.mlh3d-featured-card__button:hover{background:var(--mlh3d-blue);border-color:var(--mlh3d-blue);}

/* Barra superior del catálogo WooCommerce. */
.mlh3d-shop-catalog-heading{
  margin:0 0 17px;
  padding-top:3px;
}
body.woocommerce-shop .woocommerce-result-count{
  margin:10px 0 20px!important;
  color:#78869a;
  font-size:11px;
}
body.woocommerce-shop .woocommerce-ordering{
  margin:0 0 20px!important;
}
body.woocommerce-shop .woocommerce-ordering select{
  min-height:40px;
  padding:8px 34px 8px 13px;
  border:1px solid #d9e1eb;
  border-radius:999px;
  background:#fff;
  color:#3d4c62;
  font-size:11px;
}

/* Tarjetas del catálogo estándar. */
body.woocommerce-shop .woocommerce ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:20px!important;
  margin:0!important;
}
body.woocommerce-shop .woocommerce ul.products:before,
body.woocommerce-shop .woocommerce ul.products:after{display:none!important;}
body.woocommerce-shop .woocommerce ul.products li.product{
  position:relative;
  width:auto!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  padding:0 0 18px!important;
  overflow:hidden;
  border:1px solid #dfe6ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 26px rgba(7,24,45,.06);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
body.woocommerce-shop .woocommerce ul.products li.product:hover{
  transform:translateY(-5px);
  border-color:#cbd8e8;
  box-shadow:0 17px 38px rgba(7,24,45,.11);
}
body.woocommerce-shop .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:block;
  text-decoration:none!important;
}
body.woocommerce-shop .woocommerce ul.products li.product a img{
  width:100%!important;
  aspect-ratio:1/1;
  margin:0 0 15px!important;
  display:block;
  object-fit:cover;
  background:#eef1f5;
  transition:transform .38s ease;
}
body.woocommerce-shop .woocommerce ul.products li.product:hover a img{transform:scale(1.025);}
body.woocommerce-shop .woocommerce ul.products li.product .woocommerce-loop-product__title{
  min-height:44px;
  margin:0!important;
  padding:0 16px!important;
  color:var(--mlh3d-navy)!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:850!important;
}
body.woocommerce-shop .mlh3d-loop-category{
  margin:7px 16px 5px;
  color:#6e7d91;
  font-size:9px;
  font-weight:800;
  letter-spacing:.065em;
  text-transform:uppercase;
}
body.woocommerce-shop .woocommerce ul.products li.product .price{
  min-height:27px;
  margin:7px 16px 13px!important;
  color:var(--mlh3d-blue)!important;
  font-size:15px!important;
  font-weight:900!important;
}
body.woocommerce-shop .woocommerce ul.products li.product .price del{opacity:.42;font-size:11px;}
body.woocommerce-shop .woocommerce ul.products li.product .price ins{text-decoration:none;}
body.woocommerce-shop .woocommerce ul.products li.product .button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:39px!important;
  margin:0 16px!important;
  padding:9px 12px!important;
  border-radius:999px!important;
  background:var(--mlh3d-navy)!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.055em!important;
  text-transform:uppercase;
}
body.woocommerce-shop .woocommerce ul.products li.product .button:hover{background:var(--mlh3d-blue)!important;}
body.woocommerce-shop .woocommerce ul.products li.product .added_to_cart{
  display:block;
  margin:9px 16px 0;
  color:var(--mlh3d-blue);
  font-size:10px;
  font-weight:800;
  text-align:center;
}
body.woocommerce-shop .onsale{
  top:12px!important;
  right:12px!important;
  left:auto!important;
  min-width:auto!important;
  min-height:auto!important;
  margin:0!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:#d54343!important;
  color:#fff!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.mlh3d-loop-badge{
  position:absolute;
  z-index:4;
  top:12px;
  left:12px;
  padding:7px 9px;
  border-radius:999px;
  background:rgba(7,24,45,.92);
  color:#fff;
  font-size:8px;
  line-height:1;
  font-weight:850;
  letter-spacing:.07em;
  text-transform:uppercase;
}

/* Paginación. */
body.woocommerce-shop .woocommerce-pagination{margin:38px 0 12px;}
body.woocommerce-shop .woocommerce-pagination ul{
  display:flex!important;
  justify-content:center;
  gap:7px;
  border:0!important;
}
body.woocommerce-shop .woocommerce-pagination ul li{border:0!important;}
body.woocommerce-shop .woocommerce-pagination ul li a,
body.woocommerce-shop .woocommerce-pagination ul li span{
  min-width:39px;
  min-height:39px;
  display:grid!important;
  place-items:center;
  padding:7px!important;
  border:1px solid #d8e0ea;
  border-radius:50%;
  background:#fff;
  color:#42516a;
  font-size:11px;
  font-weight:800;
}
body.woocommerce-shop .woocommerce-pagination ul li span.current,
body.woocommerce-shop .woocommerce-pagination ul li a:hover{
  border-color:var(--mlh3d-navy);
  background:var(--mlh3d-navy);
  color:#fff;
}

/* CTA final para proyectos que no están en catálogo. */
.mlh3d-shop-custom-cta{
  margin:58px 0 74px;
  padding:32px 35px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  border-radius:22px;
  background:linear-gradient(135deg,#081a31,#123d72);
  color:#fff;
  box-shadow:0 15px 38px rgba(7,24,45,.12);
}
.mlh3d-shop-custom-cta h2{
  margin:0 0 6px;
  color:#fff;
  font-size:25px;
  font-weight:900;
  letter-spacing:-.025em;
}
.mlh3d-shop-custom-cta p{
  margin:0;
  color:#cfdef2;
  font-size:13px;
  line-height:1.55;
}
.mlh3d-shop-custom-cta a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 20px;
  border-radius:999px;
  background:#fff;
  color:var(--mlh3d-navy)!important;
  font-size:11px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  text-decoration:none!important;
}
.mlh3d-shop-custom-cta a:hover{background:#eaf2ff;transform:translateY(-1px);}

@media(max-width:1100px){
  .mlh3d-shop-hero__inner{grid-template-columns:1fr;gap:18px;min-height:auto;padding:28px 0 24px;}
  .mlh3d-shop-hero__side{max-width:650px;grid-template-columns:repeat(4,1fr);}
  .mlh3d-shop-benefit{min-height:auto;padding:14px;}
  .mlh3d-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.woocommerce-shop .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:767px){
  .mlh3d-shop-hero__inner{width:calc(100% - 28px);padding:24px 0 20px;}
  .mlh3d-shop-hero h1{font-size:29px;}
  .mlh3d-shop-hero__copy{font-size:13px;}
  .mlh3d-shop-hero__side{grid-template-columns:repeat(2,1fr);gap:9px;}
  .mlh3d-shop-search{margin-top:12px;border-radius:14px;display:grid;}
  .mlh3d-shop-search button{width:100%;}
  .mlh3d-shop-categories{margin:22px 0 31px;}
  .mlh3d-shop-category-pills{flex-wrap:nowrap;overflow-x:auto;padding:1px 1px 8px;scrollbar-width:none;}
  .mlh3d-shop-category-pills::-webkit-scrollbar{display:none;}
  .mlh3d-shop-category-pill{flex:0 0 auto;}
  .mlh3d-shop-section-head{align-items:flex-start;flex-direction:column;gap:7px;}
  .mlh3d-shop-section-head p{text-align:left;}
  .mlh3d-featured-grid{gap:12px;}
  .mlh3d-featured-card__body{padding:13px 13px 15px;}
  .mlh3d-featured-card h3{font-size:12px;min-height:36px;}
  body.woocommerce-shop .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  body.woocommerce-shop .woocommerce ul.products li.product{padding-bottom:14px!important;border-radius:15px;}
  body.woocommerce-shop .woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 12px!important;font-size:12px!important;min-height:38px;}
  body.woocommerce-shop .mlh3d-loop-category{margin-left:12px;margin-right:12px;}
  body.woocommerce-shop .woocommerce ul.products li.product .price{margin-left:12px!important;margin-right:12px!important;font-size:12.5px!important;}
  body.woocommerce-shop .woocommerce ul.products li.product .button{margin-left:12px!important;margin-right:12px!important;font-size:9px!important;}
  .mlh3d-shop-custom-cta{margin:42px 0 55px;padding:26px 22px;align-items:flex-start;flex-direction:column;}
}
@media(max-width:420px){
  .mlh3d-shop-hero__side{display:none;}
  .mlh3d-shop-categories{margin:14px 0 20px;}
  .mlh3d-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .mlh3d-featured-card__badge{top:8px;left:8px;padding:5px 7px;font-size:7px;}
  .mlh3d-featured-card__button{font-size:8px;padding-left:8px;padding-right:8px;}
  .mlh3d-loop-badge{top:8px;left:8px;font-size:7px;padding:5px 7px;}
}

/* =========================================================
   V20 - Personalizador de productos MLH3D
   ========================================================= */
.mlh3d-product-customizer{
  margin:22px 0 18px;
  padding:20px;
  border:1px solid #dbe5f1;
  border-radius:18px;
  background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);
  box-shadow:0 10px 28px rgba(7,24,45,.055);
}
.mlh3d-product-customizer__head{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-bottom:16px;
}
.mlh3d-product-customizer__eyebrow{
  color:var(--mlh3d-blue);
  font-size:10px;
  line-height:1.3;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.mlh3d-product-customizer__head strong{
  color:var(--mlh3d-navy);
  font-size:15px;
  line-height:1.4;
}
.mlh3d-custom-field{margin:0 0 18px;}
.mlh3d-custom-field:last-child{margin-bottom:0;}
.mlh3d-custom-field>label,
.mlh3d-custom-field legend{
  display:block;
  margin:0 0 8px;
  padding:0;
  color:#1d2b40;
  font-size:12px;
  line-height:1.4;
  font-weight:850;
}
.mlh3d-custom-field textarea{
  width:100%;
  min-height:116px;
  resize:vertical;
  padding:12px 14px!important;
  border:1px solid #cfd9e7!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#172033!important;
  font-size:13px!important;
  line-height:1.55!important;
  box-shadow:none!important;
}
.mlh3d-custom-field textarea:focus{
  border-color:var(--mlh3d-blue)!important;
  box-shadow:0 0 0 3px rgba(22,101,216,.10)!important;
  outline:none!important;
}
.mlh3d-custom-field__help{
  margin:7px 0 0!important;
  color:#6c7a8f!important;
  font-size:10.5px!important;
  line-height:1.5!important;
}
.mlh3d-custom-colors{
  border:0;
  padding:0;
}
.mlh3d-custom-colors__grid{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.mlh3d-color-choice{
  position:relative;
  display:inline-flex!important;
  align-items:center;
  gap:8px;
  min-height:40px;
  margin:0!important;
  padding:8px 12px;
  border:1px solid #d7e0eb;
  border-radius:999px;
  background:#fff;
  color:#344158;
  font-size:11px!important;
  font-weight:800!important;
  cursor:pointer;
  transition:.18s ease;
}
.mlh3d-color-choice:hover{
  border-color:#9db7da;
  transform:translateY(-1px);
}
.mlh3d-color-choice input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.mlh3d-color-choice:has(input:checked){
  border-color:var(--mlh3d-blue);
  background:#edf5ff;
  color:var(--mlh3d-navy);
  box-shadow:0 0 0 2px rgba(22,101,216,.10);
}
.mlh3d-color-choice__visual{
  width:18px;
  height:18px;
  flex:0 0 18px;
  border-radius:50%;
  background:var(--mlh3d-swatch);
  border:1px solid rgba(7,24,45,.18);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.32);
}
.mlh3d-personalize-button{
  text-align:center;
}
@media(max-width:640px){
  .mlh3d-product-customizer{padding:16px;border-radius:15px;}
  .mlh3d-custom-colors__grid{gap:7px;}
  .mlh3d-color-choice{min-height:38px;padding:7px 10px;}
}


/* =========================================================
   V21 · Variaciones de color con imagen
   ========================================================= */
.single-product form.variations_form .variations{
  margin:18px 0 16px!important;
  border:0!important;
}
.single-product form.variations_form .variations tr{
  display:grid;
  grid-template-columns:1fr;
  gap:7px;
  margin-bottom:14px;
}
.single-product form.variations_form .variations th,
.single-product form.variations_form .variations td{
  display:block!important;
  width:100%!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.single-product form.variations_form .variations .label label{
  color:var(--mlh3d-navy);
  font-size:12px;
  font-weight:850;
  letter-spacing:.02em;
}
.single-product form.variations_form select{
  width:100%!important;
  min-height:44px;
  border:1px solid #ccd6e3!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--mlh3d-ink)!important;
  box-shadow:none!important;
}
.single-product form.variations_form select.mlh3d-native-color-select{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.mlh3d-native-color-swatches{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:2px 0 4px;
}
.mlh3d-native-color-swatch{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:40px!important;
  padding:8px 12px!important;
  border:1px solid #d5deea!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#2e3b50!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1!important;
  text-transform:none!important;
  letter-spacing:0!important;
  box-shadow:none!important;
}
.mlh3d-native-color-swatch:hover{
  border-color:#9eb8dc!important;
  background:#f8fbff!important;
  transform:translateY(-1px);
}
.mlh3d-native-color-swatch.is-selected{
  border-color:var(--mlh3d-blue)!important;
  box-shadow:0 0 0 2px rgba(22,101,216,.10)!important;
  background:#f5f9ff!important;
}
.mlh3d-native-color-swatch.is-disabled{
  opacity:.38;
  cursor:not-allowed!important;
  transform:none!important;
}
.mlh3d-native-color-swatch__dot{
  width:18px;
  height:18px;
  flex:0 0 18px;
  border-radius:50%;
  background:var(--mlh3d-native-swatch,#64748b);
  border:1px solid rgba(7,24,45,.18);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.mlh3d-variation-image-note{
  margin:0 0 15px!important;
  padding:10px 12px;
  border-radius:11px;
  background:#eef5ff;
  border:1px solid #d4e4fb;
  color:#31557f!important;
  font-size:11px!important;
  line-height:1.5!important;
}
.mlh3d-admin-variation-note{
  margin:10px 12px 14px!important;
  padding:11px 12px!important;
  border-left:4px solid #1665d8;
  background:#f4f8ff;
  color:#334155;
  font-size:12px;
  line-height:1.5;
}


/* =========================================================
   Páginas legales MLH3D
   ========================================================= */
body.page-template-page-legal-mlh3d .site-content{background:#f5f7fa;padding:0!important;}
body.page-template-page-legal-mlh3d .site-content>.ast-container,
body.page-template-page-legal-mlh3d #content>.ast-container{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;
}
body.page-template-page-legal-mlh3d #primary,
body.page-template-page-legal-mlh3d .content-area{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important;
}
body.page-template-page-legal-mlh3d #secondary{display:none!important;}
.mlh3d-legal-hero{
  background:linear-gradient(135deg,#061426 0%,#0a2444 58%,#123d73 100%);
  color:#fff;
  padding:48px 0 44px;
}
.mlh3d-legal-shell{width:min(920px,calc(100% - 40px));margin:0 auto;}
.mlh3d-legal-eyebrow{
  margin:0 0 8px!important;color:#9fc5ff!important;font-size:10px!important;font-weight:850;
  letter-spacing:.13em;text-transform:uppercase;
}
.mlh3d-legal-hero h1{
  margin:0;color:#fff;font-size:clamp(30px,4vw,46px);line-height:1.08;font-weight:900;letter-spacing:-.035em;
}
.mlh3d-legal-content-wrap{padding:36px 0 58px;}
.mlh3d-legal-card{
  background:#fff;border:1px solid #dfe6ef;border-radius:20px;padding:clamp(24px,4vw,46px);
  box-shadow:0 14px 38px rgba(7,24,45,.07);
}
.mlh3d-legal-card h2,.mlh3d-legal-card h3{color:#07182d;font-weight:900;line-height:1.2;}
.mlh3d-legal-card h2{font-size:22px;margin:30px 0 10px;}
.mlh3d-legal-card h2:first-child{margin-top:0;}
.mlh3d-legal-card h3{font-size:17px;margin:24px 0 8px;}
.mlh3d-legal-card p,.mlh3d-legal-card li{color:#45546a;font-size:14px;line-height:1.75;}
.mlh3d-legal-card ul{padding-left:20px;margin:8px 0 18px;}
.mlh3d-legal-card a{color:#1665d8;}
.mlh3d-legal-updated{
  margin:0 0 22px!important;padding-bottom:18px;border-bottom:1px solid #e5ebf2;
  color:#78869a!important;font-size:12px!important;
}
@media(max-width:640px){
  .mlh3d-legal-hero{padding:34px 0 31px;}
  .mlh3d-legal-shell{width:calc(100% - 28px);}
  .mlh3d-legal-content-wrap{padding:22px 0 40px;}
  .mlh3d-legal-card{border-radius:16px;padding:22px 18px;}
}


/* =========================================================
   Carrito interactivo MLH3D en el header
   ========================================================= */
.mlh3d-cart-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
}
.mlh3d-cart-nav{
  display:inline-flex;
  align-items:center;
  gap:8px;
  line-height:1;
}
.mlh3d-cart-icon{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:31px;
  height:31px;
  border-radius:10px;
  background:#eef5ff;
  border:1px solid #d7e6fb;
  color:var(--mlh3d-blue);
  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
}
.mlh3d-cart-icon svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mlh3d-cart-link:hover .mlh3d-cart-icon{
  background:var(--mlh3d-blue);
  border-color:var(--mlh3d-blue);
  color:#fff;
  transform:translateY(-1px);
}
.mlh3d-cart-label{display:inline-block;}
.mlh3d-cart-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 6px;
  margin-left:-2px;
  border-radius:999px;
  background:var(--mlh3d-navy);
  color:#fff;
  font-size:10px;
  font-weight:900;
  line-height:1;
  box-shadow:0 4px 10px rgba(7,24,45,.14);
}
.mlh3d-cart-count.is-empty{display:none;}
.mlh3d-cart-link.mlh3d-cart-bump .mlh3d-cart-icon{
  animation:mlh3dCartBump .45s ease;
}
@keyframes mlh3dCartBump{
  0%{transform:scale(1)}
  35%{transform:scale(1.17) rotate(-5deg)}
  70%{transform:scale(.96) rotate(2deg)}
  100%{transform:scale(1)}
}
@media(max-width:921px){
  .mlh3d-cart-icon{width:29px;height:29px;border-radius:9px;}
  .mlh3d-cart-icon svg{width:17px;height:17px;}
}

/* =========================================================
   V25 · Ficha de producto + carrito + checkout
   ========================================================= */

/* --- Producto individual --- */
body.single-product .site-content,
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content{background:#f5f7fa;}
body.single-product .site-content>.ast-container,
body.woocommerce-cart .site-content>.ast-container,
body.woocommerce-checkout .site-content>.ast-container{
  width:min(1220px,calc(100% - 40px))!important;
  max-width:1220px!important;
  margin:0 auto!important;
  padding-top:34px!important;
  padding-bottom:58px!important;
}
body.single-product #secondary,
body.woocommerce-cart #secondary,
body.woocommerce-checkout #secondary{display:none!important;}
body.single-product #primary,
body.woocommerce-cart #primary,
body.woocommerce-checkout #primary{width:100%!important;max-width:none!important;margin:0!important;}

.single-product div.product{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(360px,.82fr);
  gap:38px;
  align-items:start;
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary{
  float:none!important;
  width:100%!important;
  margin:0!important;
}
.single-product div.product .woocommerce-product-gallery{
  padding:16px;
  border:1px solid #e0e7ef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 13px 34px rgba(7,24,45,.065);
}
.single-product .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery__image img{border-radius:15px;overflow:hidden;}
.single-product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,1fr);gap:9px;margin-top:12px!important;}
.single-product .flex-control-thumbs li{width:100%!important;float:none!important;}
.single-product .flex-control-thumbs img{border:1px solid #dde5ef;border-radius:10px;overflow:hidden;}
.single-product div.product .summary{
  padding:28px;
  border:1px solid #e0e7ef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 13px 34px rgba(7,24,45,.065);
}
.mlh3d-product-brand-eyebrow{
  margin:0 0 10px;
  color:#65758c;
  font-size:10px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.mlh3d-product-brand-eyebrow span{color:var(--mlh3d-blue);}
.single-product .product_title{
  margin:0 0 12px!important;
  color:var(--mlh3d-navy)!important;
  font-size:clamp(28px,3.2vw,42px)!important;
  line-height:1.07!important;
  letter-spacing:-.035em;
  font-weight:900!important;
}
.single-product div.product p.price,
.single-product div.product span.price{
  color:var(--mlh3d-blue)!important;
  font-size:25px!important;
  line-height:1.2;
  font-weight:900!important;
}
.single-product .woocommerce-product-details__short-description{
  margin:16px 0 18px;
  color:#59677b;
  font-size:13px;
  line-height:1.68;
}
.single-product form.cart{margin:18px 0 0!important;}
.single-product form.cart:not(.variations_form){display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.single-product form.cart .quantity .qty{
  min-width:76px;
  min-height:48px;
  border:1px solid #d4deea!important;
  border-radius:13px!important;
  background:#fff!important;
  font-weight:800;
}
.single-product form.cart .single_add_to_cart_button{
  min-height:48px!important;
  padding:12px 24px!important;
  border-radius:13px!important;
  background:var(--mlh3d-blue)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.045em;
  text-transform:uppercase;
  box-shadow:0 10px 22px rgba(22,101,216,.20)!important;
}
.single-product form.cart .single_add_to_cart_button:hover{background:var(--mlh3d-blue-2)!important;transform:translateY(-1px);}
.single-product .product_meta{
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid #edf0f4;
  color:#718096;
  font-size:11px;
}
.mlh3d-product-confidence{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:21px;
  padding-top:18px;
  border-top:1px solid #edf0f4;
}
.mlh3d-product-confidence__item{
  display:flex;
  align-items:flex-start;
  gap:9px;
  min-height:76px;
  padding:12px;
  border:1px solid #e3e9f1;
  border-radius:13px;
  background:#f9fbfd;
  color:inherit!important;
  text-decoration:none!important;
}
.mlh3d-product-confidence__icon{flex:0 0 22px;font-size:17px;line-height:1.3;}
.mlh3d-product-confidence__item strong{display:block;margin-bottom:3px;color:var(--mlh3d-navy);font-size:10.5px;line-height:1.35;text-transform:uppercase;letter-spacing:.035em;}
.mlh3d-product-confidence__item span:not(.mlh3d-product-confidence__icon){display:block;color:#718096;font-size:10px;line-height:1.45;}
.mlh3d-product-confidence__whatsapp:hover{border-color:#a8dcb9;background:#f4fff7;transform:translateY(-1px);}

/* Tabs, reseñas y relacionados */
.single-product .woocommerce-tabs{
  grid-column:1/-1;
  margin-top:8px;
  padding:26px 28px!important;
  border:1px solid #e0e7ef;
  border-radius:20px;
  background:#fff;
}
.single-product .woocommerce-tabs ul.tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 22px!important;padding:0!important;}
.single-product .woocommerce-tabs ul.tabs:before{display:none!important;}
.single-product .woocommerce-tabs ul.tabs li{margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;background:#eef2f7!important;}
.single-product .woocommerce-tabs ul.tabs li:before,
.single-product .woocommerce-tabs ul.tabs li:after{display:none!important;}
.single-product .woocommerce-tabs ul.tabs li a{padding:9px 15px!important;color:#516074!important;font-size:11px!important;font-weight:850!important;}
.single-product .woocommerce-tabs ul.tabs li.active{background:var(--mlh3d-navy)!important;}
.single-product .woocommerce-tabs ul.tabs li.active a{color:#fff!important;}
.single-product .related.products,
.single-product .up-sells.products{grid-column:1/-1;margin-top:26px;}
.single-product .related.products>h2,
.single-product .up-sells.products>h2{
  margin:0 0 18px!important;
  color:var(--mlh3d-navy)!important;
  font-size:27px!important;
  line-height:1.1;
  font-weight:900!important;
  letter-spacing:-.025em;
  text-transform:uppercase;
}
.single-product .related.products ul.products,
.single-product .up-sells.products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;}
.single-product .related.products ul.products li.product,
.single-product .up-sells.products ul.products li.product{
  width:100%!important;
  margin:0!important;
  padding:12px!important;
  border:1px solid #e0e7ef;
  border-radius:17px;
  background:#fff;
  box-shadow:0 8px 24px rgba(7,24,45,.055);
}
.single-product .related.products ul.products li.product img,
.single-product .up-sells.products ul.products li.product img{border-radius:12px;}

/* --- Carrito --- */
body.woocommerce-cart .entry-header,
body.woocommerce-checkout .entry-header{display:none!important;}
.mlh3d-commerce-intro{
  margin:0 0 24px;
  padding:24px 27px;
  border-radius:20px;
  background:linear-gradient(135deg,#07182d,#123d73);
  color:#fff;
}
.mlh3d-commerce-intro__eyebrow{margin:0 0 5px!important;color:#9fc5ff!important;font-size:10px!important;font-weight:850;letter-spacing:.10em;text-transform:uppercase;}
.mlh3d-commerce-intro h1{margin:0 0 6px!important;color:#fff!important;font-size:34px!important;font-weight:900!important;letter-spacing:-.035em;}
.mlh3d-commerce-intro>p:last-of-type{margin:0;color:#d8e6f7;font-size:12.5px;line-height:1.55;}
.woocommerce-cart form.woocommerce-cart-form{
  padding:14px 20px 20px;
  border:1px solid #e0e7ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 30px rgba(7,24,45,.05);
}
.woocommerce-cart table.shop_table{border:0!important;border-collapse:separate!important;border-spacing:0 8px!important;margin:0!important;}
.woocommerce-cart table.shop_table th{padding:12px 10px!important;border:0!important;color:#78869a!important;font-size:10px!important;font-weight:850!important;letter-spacing:.06em;text-transform:uppercase;}
.woocommerce-cart table.shop_table td{padding:13px 10px!important;border-top:1px solid #edf1f5!important;border-bottom:1px solid #edf1f5!important;background:#fbfcfe;vertical-align:middle!important;}
.woocommerce-cart table.shop_table td:first-child{border-left:1px solid #edf1f5!important;border-radius:13px 0 0 13px;}
.woocommerce-cart table.shop_table td:last-child{border-right:1px solid #edf1f5!important;border-radius:0 13px 13px 0;}
.woocommerce-cart .product-thumbnail img{width:78px!important;border-radius:10px;}
.woocommerce-cart .product-name a{color:var(--mlh3d-navy)!important;font-size:13px;font-weight:850;text-decoration:none!important;}
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal{color:#344158;font-weight:800;}
.woocommerce-cart .product-remove a{display:inline-flex!important;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#fff1f1;color:#c83c3c!important;line-height:1!important;}
.woocommerce-cart .coupon{display:flex!important;gap:7px;align-items:center;}
.woocommerce-cart .coupon input{min-height:43px!important;border:1px solid #d9e2ec!important;border-radius:11px!important;}
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart .coupon button{min-height:43px!important;border-radius:11px!important;font-size:10.5px!important;font-weight:850!important;text-transform:uppercase;}
.woocommerce-cart .cart-collaterals{display:flex;justify-content:flex-end;margin-top:22px;}
.woocommerce-cart .cart_totals{
  float:none!important;
  width:min(460px,100%)!important;
  padding:24px!important;
  border:1px solid #dce5ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 34px rgba(7,24,45,.075);
}
.woocommerce-cart .cart_totals h2{margin:0 0 13px!important;color:var(--mlh3d-navy);font-size:22px;font-weight:900;}
.woocommerce-cart .cart_totals table{border:0!important;}
.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td{padding:11px 0!important;border-bottom:1px solid #edf1f5!important;}
.woocommerce-cart .wc-proceed-to-checkout{padding:17px 0 0!important;}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  margin:0!important;
  padding:15px 18px!important;
  border-radius:13px!important;
  background:var(--mlh3d-blue)!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 10px 22px rgba(22,101,216,.20)!important;
}
.mlh3d-commerce-assurance{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;margin-top:20px;padding:15px 18px;border:1px solid #dde6f0;border-radius:15px;background:#fff;}
.mlh3d-continue-shopping{color:var(--mlh3d-blue)!important;font-size:11px;font-weight:850;text-decoration:none!important;}
.mlh3d-assurance-points{display:flex;gap:16px;flex-wrap:wrap;color:#66758b;font-size:10.5px;font-weight:700;}

/* Controles + / - del carrito */
.mlh3d-cart-qty{display:inline-flex;align-items:center;border:1px solid #d8e1eb;border-radius:11px;background:#fff;overflow:hidden;}
.mlh3d-cart-qty .qty{width:44px!important;min-height:38px!important;padding:4px!important;border:0!important;border-radius:0!important;text-align:center;box-shadow:none!important;-moz-appearance:textfield;}
.mlh3d-cart-qty .qty::-webkit-inner-spin-button,
.mlh3d-cart-qty .qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}
.mlh3d-qty-btn{width:34px;height:38px;padding:0!important;border:0!important;border-radius:0!important;background:#f4f7fa!important;color:var(--mlh3d-navy)!important;font-size:18px!important;font-weight:800!important;line-height:1!important;box-shadow:none!important;}
.mlh3d-qty-btn:hover{background:#e8f0fb!important;color:var(--mlh3d-blue)!important;}

/* --- Checkout --- */
.mlh3d-checkout-trust{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;color:#cfdef1;font-size:10.5px;font-weight:700;}
.woocommerce-checkout form.checkout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.72fr);
  grid-template-areas:"details heading" "details review";
  gap:0 24px;
  align-items:start;
}
.woocommerce-checkout #customer_details{grid-area:details;padding:25px;border:1px solid #e0e7ef;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(7,24,45,.05);}
.woocommerce-checkout #order_review_heading{grid-area:heading;margin:0!important;padding:23px 23px 11px;border:1px solid #dce5ef;border-bottom:0;border-radius:20px 20px 0 0;background:#fff;color:var(--mlh3d-navy);font-size:20px;font-weight:900;}
.woocommerce-checkout #order_review{grid-area:review;padding:0 23px 23px;border:1px solid #dce5ef;border-top:0;border-radius:0 0 20px 20px;background:#fff;box-shadow:0 12px 34px rgba(7,24,45,.07);}
.woocommerce-checkout .woocommerce-billing-fields>h3,
.woocommerce-checkout .woocommerce-shipping-fields h3{margin:0 0 18px!important;color:var(--mlh3d-navy);font-size:22px;font-weight:900;}
.woocommerce-checkout .form-row{margin-bottom:12px!important;}
.woocommerce-checkout .form-row label{margin-bottom:5px;color:#405067;font-size:10.5px;font-weight:800;letter-spacing:.02em;}
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection{
  min-height:45px!important;
  border:1px solid #d7e0ea!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.woocommerce-checkout textarea.input-text{min-height:105px!important;padding:11px!important;}
.woocommerce-checkout table.shop_table{border:0!important;margin-bottom:16px!important;}
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td{padding:11px 4px!important;border-bottom:1px solid #edf1f5!important;font-size:11px;}
.woocommerce-checkout #payment{border-radius:14px!important;background:#f5f8fc!important;}
.woocommerce-checkout #payment ul.payment_methods{padding:14px!important;border-bottom:1px solid #e2e8f0!important;}
.woocommerce-checkout #payment div.form-row{padding:14px!important;}
.woocommerce-checkout #place_order{
  width:100%;
  min-height:50px!important;
  border-radius:13px!important;
  background:var(--mlh3d-blue)!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 10px 22px rgba(22,101,216,.20)!important;
}

@media(max-width:980px){
  .single-product div.product{grid-template-columns:1fr;gap:22px;}
  .single-product .woocommerce-tabs,
  .single-product .related.products,
  .single-product .up-sells.products{grid-column:1;}
  .single-product .related.products ul.products,
  .single-product .up-sells.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}
  .woocommerce-checkout form.checkout{grid-template-columns:1fr;grid-template-areas:"details" "heading" "review";gap:18px;}
  .woocommerce-checkout #order_review_heading{margin-top:0!important;}
}
@media(max-width:640px){
  body.single-product .site-content>.ast-container,
  body.woocommerce-cart .site-content>.ast-container,
  body.woocommerce-checkout .site-content>.ast-container{width:calc(100% - 26px)!important;padding-top:20px!important;padding-bottom:38px!important;}
  .single-product div.product .summary{padding:20px;}
  .single-product div.product .woocommerce-product-gallery{padding:10px;border-radius:17px;}
  .single-product .product_title{font-size:29px!important;}
  .mlh3d-product-confidence{grid-template-columns:1fr;}
  .single-product .woocommerce-tabs{padding:20px!important;}
  .single-product .related.products ul.products,
  .single-product .up-sells.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .single-product .related.products ul.products li.product,
  .single-product .up-sells.products ul.products li.product{padding:9px!important;}
  .mlh3d-commerce-intro{padding:20px;border-radius:17px;}
  .mlh3d-commerce-intro h1{font-size:29px!important;}
  .woocommerce-cart form.woocommerce-cart-form{padding:10px 12px 15px;}
  .woocommerce-cart .cart-collaterals{display:block;}
  .woocommerce-cart .cart_totals{width:100%!important;padding:20px!important;}
  .mlh3d-commerce-assurance{align-items:flex-start;}
  .mlh3d-assurance-points{display:grid;gap:7px;}
  .woocommerce-checkout #customer_details{padding:18px;}
  .woocommerce-checkout #order_review_heading{padding:19px 18px 9px;}
  .woocommerce-checkout #order_review{padding:0 18px 18px;}
}


/* =========================================================
   V26 · Valoraciones visibles en ficha de producto
   ========================================================= */
.mlh3d-product-rating-summary{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin:-2px 0 14px;
  min-height:22px;
}
.mlh3d-product-rating-summary .star-rating{
  float:none!important;
  margin:0!important;
  width:5.4em!important;
  font-size:16px!important;
  line-height:1!important;
  color:#f4b400!important;
}
.mlh3d-product-rating-summary .star-rating:before,
.mlh3d-product-rating-summary .star-rating span:before{
  color:#f4b400!important;
}
.mlh3d-product-rating-empty{
  color:#c8d1dd;
  font-size:17px;
  line-height:1;
  letter-spacing:1px;
}
.mlh3d-product-rating-link{
  color:#506078!important;
  font-size:11.5px;
  line-height:1.4;
  font-weight:750;
  text-decoration:none!important;
  border-bottom:1px solid transparent;
}
.mlh3d-product-rating-link:hover{
  color:var(--mlh3d-blue)!important;
  border-bottom-color:rgba(22,101,216,.32);
}
.mlh3d-product-rating-score{
  color:var(--mlh3d-navy);
  font-size:12px;
  font-weight:900;
}

/* Reseñas completas fuera de la pestaña, siempre visibles. */
.mlh3d-visible-reviews{
  grid-column:1/-1;
  margin-top:26px;
  padding:30px;
  border:1px solid #e0e7ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 32px rgba(7,24,45,.055);
}
.mlh3d-visible-reviews__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.mlh3d-visible-reviews__head h2{
  margin:0!important;
  color:var(--mlh3d-navy)!important;
  font-size:27px!important;
  line-height:1.1;
  font-weight:900!important;
  letter-spacing:-.025em;
  text-transform:uppercase;
}
.mlh3d-visible-reviews__head p{
  margin:5px 0 0!important;
  color:#748198;
  font-size:12px;
  line-height:1.5;
}
.mlh3d-visible-reviews__score{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 13px;
  border:1px solid #e3e9f1;
  border-radius:999px;
  background:#f8fafc;
}
.mlh3d-visible-reviews__score strong{
  color:var(--mlh3d-navy);
  font-size:13px;
}
.mlh3d-visible-reviews__score .star-rating{
  float:none!important;
  margin:0!important;
  color:#f4b400!important;
}
.mlh3d-visible-reviews__score .star-rating:before,
.mlh3d-visible-reviews__score .star-rating span:before{color:#f4b400!important;}

/* WooCommerce review markup dentro de nuestra tarjeta. */
.mlh3d-visible-reviews #reviews{margin:0!important;}
.mlh3d-visible-reviews #comments,
.mlh3d-visible-reviews #review_form_wrapper{
  float:none!important;
  width:100%!important;
}
.mlh3d-visible-reviews #comments .woocommerce-Reviews-title{
  display:none!important;
}
.mlh3d-visible-reviews .commentlist{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.mlh3d-visible-reviews .commentlist li.review,
.mlh3d-visible-reviews .commentlist li.comment{
  margin:0 0 12px!important;
  padding:16px!important;
  border:1px solid #e4eaf2!important;
  border-radius:15px!important;
  background:#fbfcfe!important;
}
.mlh3d-visible-reviews .commentlist li img.avatar{
  width:40px!important;
  height:40px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
}
.mlh3d-visible-reviews .comment-text{
  margin-left:54px!important;
  padding:0!important;
  border:0!important;
}
.mlh3d-visible-reviews .comment-text .star-rating{
  float:right!important;
  color:#f4b400!important;
}
.mlh3d-visible-reviews .comment-text .star-rating:before,
.mlh3d-visible-reviews .comment-text .star-rating span:before{color:#f4b400!important;}
.mlh3d-visible-reviews .meta{
  margin:0 0 7px!important;
  color:#7c899b!important;
  font-size:11px!important;
}
.mlh3d-visible-reviews .description p{
  color:#536176;
  font-size:12.5px;
  line-height:1.65;
}
.mlh3d-visible-reviews #review_form_wrapper{
  margin-top:22px;
  padding-top:22px;
  border-top:1px solid #e7ecf2;
}
.mlh3d-visible-reviews #review_form_wrapper .comment-reply-title{
  display:block;
  margin-bottom:12px;
  color:var(--mlh3d-navy);
  font-size:18px;
  font-weight:900;
}
.mlh3d-visible-reviews #review_form_wrapper textarea,
.mlh3d-visible-reviews #review_form_wrapper input[type=text],
.mlh3d-visible-reviews #review_form_wrapper input[type=email]{
  border:1px solid #d8e1ec!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.mlh3d-visible-reviews #review_form_wrapper .form-submit input{
  min-height:44px!important;
  padding:10px 18px!important;
  border:0!important;
  border-radius:12px!important;
  background:var(--mlh3d-blue)!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.mlh3d-visible-reviews #review_form_wrapper .form-submit input:hover{background:var(--mlh3d-blue-2)!important;}

@media(max-width:640px){
  .mlh3d-product-rating-summary{gap:7px;margin-bottom:12px;}
  .mlh3d-visible-reviews{padding:20px;margin-top:18px;}
  .mlh3d-visible-reviews__head{align-items:flex-start;flex-direction:column;gap:12px;}
  .mlh3d-visible-reviews__head h2{font-size:23px!important;}
  .mlh3d-visible-reviews__score{padding:8px 11px;}
  .mlh3d-visible-reviews .comment-text{margin-left:0!important;margin-top:10px!important;}
  .mlh3d-visible-reviews .commentlist li img.avatar{position:static!important;float:none!important;}
}


/* V27: todos los botones de tarjetas llevan primero a la ficha del producto */
.woocommerce ul.products li.product .mlh3d-view-product-button,
.woocommerce-page ul.products li.product .mlh3d-view-product-button{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:100%;
  text-align:center;
}


/* Búsqueda de productos: cabecera compacta para mostrar resultados de inmediato. */
.mlh3d-shop-hero--results .mlh3d-shop-hero__inner{
  min-height:0!important;
  padding:20px 0 18px!important;
  display:block!important;
}
.mlh3d-shop-hero--results h1{
  margin-bottom:5px!important;
  font-size:clamp(25px,3vw,36px)!important;
}
.mlh3d-shop-hero--results .mlh3d-shop-hero__copy{
  max-width:820px;
  font-size:12px;
}
.mlh3d-shop-hero--results .mlh3d-shop-search{
  max-width:700px;
  margin-top:10px;
}
body.search-results.post-type-archive-product .mlh3d-shop-featured,
body.search.post-type-archive-product .mlh3d-shop-featured{
  display:none!important;
}
@media(max-width:640px){
  .mlh3d-shop-hero--results .mlh3d-shop-hero__inner{padding:17px 0 15px!important;}
  .mlh3d-shop-hero--results h1{font-size:25px!important;}
  .mlh3d-shop-hero--results .mlh3d-shop-hero__copy{font-size:11.5px;}
}


/* =========================================================
   Menú móvil MLH3D: Inicio, Tienda, Servicios, Carrito y Mi cuenta
   ========================================================= */
@media (max-width:921px){
  .mlh3d-mobile-menu-hide,
  .mlh3d-mobile-js-hidden{
    display:none!important;
  }
  .ast-mobile-popup-content .main-header-menu,
  .ast-builder-menu-mobile .main-header-menu{
    padding-top:8px!important;
    padding-bottom:8px!important;
  }
  .ast-mobile-popup-content .mlh3d-mobile-menu-keep>.menu-link,
  .ast-builder-menu-mobile .mlh3d-mobile-menu-keep>.menu-link{
    font-weight:800!important;
    letter-spacing:.035em!important;
  }
}


/* =========================================================
   Acceso Mi cuenta en escritorio
   ========================================================= */
.mlh3d-desktop-account-menu>.mlh3d-account-link{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
}
.mlh3d-account-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:31px;
  height:31px;
  flex:0 0 31px;
  border-radius:10px;
  background:#f3f6fa;
  border:1px solid #dfe6ef;
  color:var(--mlh3d-navy);
  transition:transform .2s ease,background .2s ease,color .2s ease,border-color .2s ease;
}
.mlh3d-account-icon svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mlh3d-account-link:hover .mlh3d-account-icon{
  background:var(--mlh3d-blue);
  border-color:var(--mlh3d-blue);
  color:#fff;
  transform:translateY(-1px);
}
.mlh3d-account-label{display:inline-block;}
@media(max-width:921px){
  .mlh3d-desktop-account-menu{display:list-item!important;}
  .mlh3d-desktop-account-menu>.mlh3d-account-link{display:flex!important;padding:12px 18px!important;}
  .mlh3d-account-icon{width:30px;height:30px;flex-basis:30px;}
}


/* =========================================================
   V34 · Mi cuenta, registro y beneficios de cliente
   ========================================================= */
body.woocommerce-account .site-content{
  background:#f5f7fa;
}
.mlh3d-myaccount-hero{
  margin:0 0 26px;
  padding:32px;
  border-radius:22px;
  background:linear-gradient(135deg,#07182d 0%,#0b2c55 62%,#1559a8 100%);
  color:#fff;
  box-shadow:0 16px 42px rgba(7,24,45,.12);
}
.mlh3d-myaccount-hero h1{
  margin:2px 0 8px;
  color:#fff;
  font-size:clamp(30px,4vw,46px);
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.035em;
}
.mlh3d-myaccount-hero>p:not(.mlh3d-commerce-intro__eyebrow){
  margin:0;
  max-width:720px;
  color:#dbe9fa;
  font-size:14px;
  line-height:1.65;
}
.mlh3d-myaccount-benefit-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:22px;
}
.mlh3d-myaccount-benefit-grid>div{
  min-width:0;
  padding:14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  background:rgba(255,255,255,.07);
}
.mlh3d-myaccount-benefit-grid strong{
  display:block;
  margin-bottom:5px;
  color:#fff;
  font-size:12px;
  line-height:1.35;
}
.mlh3d-myaccount-benefit-grid span{
  display:block;
  color:#c9daf0;
  font-size:10.5px;
  line-height:1.45;
}
body.woocommerce-account #customer_login{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  margin-top:0;
}
body.woocommerce-account #customer_login>.u-column1,
body.woocommerce-account #customer_login>.u-column2{
  float:none!important;
  width:auto!important;
  padding:26px!important;
  border:1px solid #dfe6ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(7,24,45,.06);
}
body.woocommerce-account #customer_login h2{
  margin:0 0 16px;
  color:var(--mlh3d-navy);
  font-size:22px;
  font-weight:900;
}
body.woocommerce-account #customer_login input.input-text{
  min-height:46px;
  border-radius:11px!important;
  border:1px solid #d9e2ed!important;
}
body.woocommerce-account #customer_login .woocommerce-button{
  min-height:44px;
  border-radius:999px!important;
  background:var(--mlh3d-blue)!important;
  color:#fff!important;
  font-weight:850!important;
}
.mlh3d-account-benefits{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin:0 0 22px;
  padding:17px 19px;
  border:1px solid #cfe0f7;
  border-radius:16px;
  background:#f3f8ff;
  color:#26364d;
}
.mlh3d-account-benefits__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:12px;
  background:#fff;
  border:1px solid #d7e5f7;
  color:var(--mlh3d-blue);
}
.mlh3d-account-benefits__icon svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
}
.mlh3d-account-benefits strong{
  display:block;
  margin-bottom:4px;
  color:var(--mlh3d-navy);
  font-size:14px;
}
.mlh3d-account-benefits p{
  margin:0;
  color:#596a80;
  font-size:12px;
  line-height:1.55;
}
.mlh3d-account-benefits__login{
  margin-top:6px!important;
}
.mlh3d-account-benefits__login a{
  color:var(--mlh3d-blue)!important;
  font-weight:800;
}
.mlh3d-account-dashboard-card{
  margin:18px 0 24px;
  padding:21px 22px;
  border:1px solid #dfe6ef;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(7,24,45,.05);
}
.mlh3d-account-dashboard-card h2{
  margin:0 0 7px;
  color:var(--mlh3d-navy);
  font-size:19px;
  font-weight:900;
}
.mlh3d-account-dashboard-card p{
  margin:0;
  color:var(--mlh3d-muted);
  font-size:12.5px;
  line-height:1.6;
}
@media(max-width:860px){
  .mlh3d-myaccount-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.woocommerce-account #customer_login{grid-template-columns:1fr;}
}
@media(max-width:540px){
  .mlh3d-myaccount-hero{padding:24px 18px;border-radius:18px;}
  .mlh3d-myaccount-hero h1{font-size:31px;}
  .mlh3d-myaccount-benefit-grid{grid-template-columns:1fr 1fr;gap:8px;}
  .mlh3d-myaccount-benefit-grid>div{padding:11px;}
  .mlh3d-account-benefits{padding:14px;gap:11px;}
  .mlh3d-account-benefits__icon{width:36px;height:36px;flex-basis:36px;}
}


/* =========================================================
   V36 · Cumplimiento, ficha técnica y claridad de producto
   ========================================================= */
.mlh3d-legal-identity{
  margin:16px 0 22px;
  padding:18px 20px;
  border:1px solid #dbe5f1;
  border-radius:14px;
  background:#f7faff;
  color:#334155;
  line-height:1.75;
}
.mlh3d-legal-identity strong{color:var(--mlh3d-navy);}
.mlh3d-product-detail-section{
  width:min(1180px,calc(100% - 48px));
  margin:34px auto 0;
  padding:28px 30px;
  border:1px solid #dfe7f0;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 30px rgba(7,24,45,.055);
}
.mlh3d-product-detail-section h2{
  margin:0 0 18px;
  color:var(--mlh3d-navy);
  font-size:24px;
  font-weight:900;
  letter-spacing:-.025em;
}
.mlh3d-product-detail-content{color:#475569;font-size:14px;line-height:1.75;}
.mlh3d-product-detail-content>:last-child{margin-bottom:0;}
.mlh3d-technical-sheet__head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:18px;
}
.mlh3d-technical-sheet__head span{
  display:block;
  margin-bottom:5px;
  color:var(--mlh3d-blue);
  font-size:10px;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.mlh3d-technical-sheet__head h2{margin:0;}
.mlh3d-technical-sheet__head p{margin:0;max-width:420px;color:#718096;font-size:11px;line-height:1.55;text-align:right;}
.mlh3d-technical-sheet dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px;}
.mlh3d-technical-sheet dl>div{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);gap:14px;padding:13px 0;border-top:1px solid #edf1f6;}
.mlh3d-technical-sheet dt{color:#64748b;font-size:12px;font-weight:700;}
.mlh3d-technical-sheet dd{margin:0;color:#1e293b;font-size:12px;font-weight:800;text-align:right;}
.mlh3d-custom-legal-note{
  margin:14px 0 16px;
  padding:14px 15px;
  border:1px solid #d7e5f7;
  border-left:4px solid var(--mlh3d-blue);
  border-radius:12px;
  background:#f7faff;
  display:grid;
  gap:5px;
}
.mlh3d-custom-legal-note strong{color:var(--mlh3d-navy);font-size:12px;}
.mlh3d-custom-legal-note span{color:#536174;font-size:11px;line-height:1.5;}
.mlh3d-custom-legal-note a{width:max-content;color:var(--mlh3d-blue)!important;font-size:10px;font-weight:850;text-decoration:none!important;}
.mlh3d-visible-reviews .woocommerce-Reviews-title{display:none!important;}
@media(max-width:720px){
  .mlh3d-product-detail-section{width:calc(100% - 28px);margin-top:22px;padding:20px 17px;border-radius:16px;}
  .mlh3d-product-detail-section h2{font-size:21px;}
  .mlh3d-technical-sheet__head{display:block;}
  .mlh3d-technical-sheet__head p{margin-top:8px;text-align:left;}
  .mlh3d-technical-sheet dl{grid-template-columns:1fr;}
  .mlh3d-technical-sheet dl>div{grid-template-columns:1fr auto;}
}


/* Retiro local MLH3D */
.mlh3d-pickup-rate-note{
  margin:6px 0 2px 26px;
  color:#68758b;
  font-size:11px;
  line-height:1.45;
}
.mlh3d-order-pickup-notice{
  margin:18px 0;
  padding:14px 16px;
  border:1px solid #cfe0f8;
  border-radius:14px;
  background:#f4f8fe;
  color:#172033;
  font-size:13px;
  line-height:1.55;
}


/* V38 · Ayuda de ubicación para despacho */
.mlh3d-shipping-location-hint{
  margin:8px 0 14px;
  padding:11px 12px;
  border:1px solid #dce6f2;
  border-radius:12px;
  background:#f7faff;
  color:#53647a;
  font-size:10.5px;
  line-height:1.5;
}
.mlh3d-shipping-location-hint strong{
  display:block;
  margin-bottom:2px;
  color:#0b2547;
  font-size:11px;
}
.mlh3d-shipping-location-hint span{display:block;}


/* =========================================================
   V39 · Checkout clásico corregido
   Evita que el resumen se comprima y que "Tu pedido" quede vertical.
   ========================================================= */
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .wp-block-woocommerce-classic-shortcode,
body.woocommerce-checkout .wp-block-shortcode{
  width:100%!important;
  max-width:none!important;
}

/* La cabecera del checkout debe ser útil, pero compacta para que los campos aparezcan rápido. */
body.woocommerce-checkout .mlh3d-checkout-intro{
  margin-bottom:18px!important;
  padding:18px 22px!important;
}
body.woocommerce-checkout .mlh3d-checkout-intro h1{
  font-size:30px!important;
  margin-bottom:4px!important;
}
body.woocommerce-checkout .mlh3d-checkout-intro>p:last-of-type{
  font-size:12px!important;
}
body.woocommerce-checkout .mlh3d-checkout-trust{margin-top:8px!important;}

/* Estructura estable de dos columnas para el checkout CLÁSICO. */
body.woocommerce-checkout form.checkout.woocommerce-checkout{
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(390px,.85fr)!important;
  grid-template-areas:
    "details heading"
    "details review"!important;
  column-gap:26px!important;
  row-gap:0!important;
  align-items:start!important;
}

/* Astra/WooCommerce aplican floats y anchos propios en checkout clásico.
   Los anulamos para que no compriman la columna derecha. */
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review{
  float:none!important;
  clear:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.woocommerce-checkout #customer_details{grid-area:details!important;}
body.woocommerce-checkout #order_review_heading{
  grid-area:heading!important;
  display:block!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  line-height:1.2!important;
}
body.woocommerce-checkout #order_review{
  grid-area:review!important;
  overflow:visible!important;
}

/* Dentro de Datos del cliente usamos todo el ancho disponible. */
body.woocommerce-checkout #customer_details.col2-set .col-1,
body.woocommerce-checkout #customer_details.col2-set .col-2,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields{
  float:none!important;
  width:100%!important;
  max-width:none!important;
}
body.woocommerce-checkout #customer_details.col2-set .col-2{
  margin-top:18px!important;
}

/* Resumen legible y sin palabras apiladas. */
body.woocommerce-checkout #order_review table,
body.woocommerce-checkout #order_review .shop_table{
  width:100%!important;
  table-layout:auto!important;
}
body.woocommerce-checkout #order_review th,
body.woocommerce-checkout #order_review td{
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.woocommerce-checkout #order_review .product-name{width:auto!important;}
body.woocommerce-checkout #order_review .product-total{text-align:right!important;white-space:nowrap!important;}

/* Avisos de WooCommerce más compactos para no empujar el formulario demasiado hacia abajo. */
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message{
  margin:0 0 12px!important;
  padding-top:12px!important;
  padding-bottom:12px!important;
  line-height:1.45!important;
}

@media(max-width:980px){
  body.woocommerce-checkout form.checkout.woocommerce-checkout{
    grid-template-columns:1fr!important;
    grid-template-areas:"details" "heading" "review"!important;
    row-gap:16px!important;
  }
  body.woocommerce-checkout #order_review_heading{
    margin-top:0!important;
    border-bottom:0!important;
  }
}

@media(max-width:640px){
  body.woocommerce-checkout .mlh3d-checkout-intro{padding:16px 17px!important;}
  body.woocommerce-checkout .mlh3d-checkout-intro h1{font-size:27px!important;}
  body.woocommerce-checkout #customer_details{padding:17px!important;}
  body.woocommerce-checkout #order_review_heading{padding:17px 17px 8px!important;}
  body.woocommerce-checkout #order_review{padding:0 17px 17px!important;}
}


/* =========================================================
   V40 · Checkout más cómodo + cuenta automática
   ========================================================= */
body.woocommerce-checkout .site-content>.ast-container{
  width:min(1220px,calc(100% - 36px))!important;
  padding-top:28px!important;
  padding-bottom:58px!important;
}

/* Aviso de cuenta: compacto y claro, no roba la primera pantalla. */
body.woocommerce-checkout .mlh3d-account-benefits--checkout{
  width:min(1180px,100%);
  margin:0 auto 14px!important;
  padding:13px 16px!important;
  border-radius:15px!important;
  align-items:center!important;
}
body.woocommerce-checkout .mlh3d-account-benefits--checkout .mlh3d-account-benefits__icon{
  width:36px!important;
  height:36px!important;
  flex-basis:36px!important;
}
body.woocommerce-checkout .mlh3d-account-benefits--checkout strong{font-size:12.5px!important;}
body.woocommerce-checkout .mlh3d-account-benefits--checkout p{
  margin:2px 0 0!important;
  font-size:11px!important;
  line-height:1.45!important;
}
body.woocommerce-checkout .mlh3d-account-benefits--checkout .mlh3d-account-benefits__login{
  margin-top:4px!important;
}

/* Cabecera del checkout más delgada y centrada. */
body.woocommerce-checkout .mlh3d-checkout-intro{
  width:min(1180px,100%);
  margin:0 auto 14px!important;
  padding:15px 20px!important;
  border-radius:17px!important;
}
body.woocommerce-checkout .mlh3d-checkout-intro h1{font-size:28px!important;}
body.woocommerce-checkout .mlh3d-checkout-intro>p:last-of-type{margin-bottom:0!important;}

/* El formulario se siente como una sola composición, no dos cajas desconectadas. */
body.woocommerce-checkout form.checkout.woocommerce-checkout{
  width:min(1180px,100%)!important;
  margin:0 auto!important;
  grid-template-columns:minmax(0,1.28fr) minmax(390px,.72fr)!important;
  column-gap:20px!important;
}
body.woocommerce-checkout #customer_details{
  padding:25px 26px!important;
  border-radius:18px!important;
  box-shadow:0 8px 24px rgba(7,24,45,.045)!important;
}
body.woocommerce-checkout #order_review_heading{
  padding:20px 21px 9px!important;
  border-radius:18px 18px 0 0!important;
  font-size:18px!important;
}
body.woocommerce-checkout #order_review{
  padding:0 21px 21px!important;
  border-radius:0 0 18px 18px!important;
  box-shadow:0 8px 24px rgba(7,24,45,.055)!important;
}

/* El resumen permanece visible mientras se completan los datos. */
@media(min-width:981px){
  body.woocommerce-checkout #order_review_heading{
    position:sticky!important;
    top:18px!important;
    z-index:3!important;
  }
  body.woocommerce-checkout #order_review{
    position:sticky!important;
    top:72px!important;
    z-index:2!important;
  }
}

/* Títulos más claros y menos pesados. */
body.woocommerce-checkout .woocommerce-billing-fields>h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3{
  font-size:19px!important;
  margin-bottom:14px!important;
}

/* Campos: más aire horizontal, menos altura vertical. */
body.woocommerce-checkout .form-row{margin-bottom:10px!important;}
body.woocommerce-checkout .input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-selection{
  min-height:44px!important;
  border-radius:11px!important;
}
body.woocommerce-checkout .form-row label{
  font-size:10.5px!important;
  margin-bottom:4px!important;
}

/* Métodos de envío como opciones fáciles de comparar. */
body.woocommerce-checkout ul#shipping_method{
  display:grid!important;
  gap:8px!important;
}
body.woocommerce-checkout ul#shipping_method li{
  margin:0!important;
  padding:10px 11px!important;
  border:1px solid #dce4ed!important;
  border-radius:11px!important;
  background:#fff!important;
}
body.woocommerce-checkout ul#shipping_method li label{
  font-weight:750!important;
  font-size:11.5px!important;
}

/* Mensaje específico sobre la cuenta que se creará automáticamente. */
.mlh3d-auto-account-note{
  margin:10px 0 2px;
  padding:10px 12px;
  border:1px solid #d9e7fb;
  border-radius:11px;
  background:#f3f8ff;
  color:#36506f;
  font-size:11px;
  line-height:1.5;
}
.mlh3d-auto-account-note strong{color:var(--mlh3d-navy);}

/* No mostramos checkbox de “crear cuenta”: en MLH3D la cuenta se crea con la compra. */
body.woocommerce-checkout .woocommerce-account-fields .create-account,
body.woocommerce-checkout #createaccount_field{display:none!important;}

@media(max-width:980px){
  body.woocommerce-checkout form.checkout.woocommerce-checkout{
    grid-template-columns:1fr!important;
  }
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    position:static!important;
  }
}

@media(max-width:640px){
  body.woocommerce-checkout .site-content>.ast-container{
    width:calc(100% - 20px)!important;
    padding-top:16px!important;
  }
  body.woocommerce-checkout .mlh3d-checkout-intro{
    padding:14px 15px!important;
    margin-bottom:10px!important;
  }
  body.woocommerce-checkout .mlh3d-checkout-intro h1{font-size:25px!important;}
  body.woocommerce-checkout .mlh3d-account-benefits--checkout{
    padding:11px 12px!important;
    margin-bottom:10px!important;
  }
  body.woocommerce-checkout #customer_details{padding:16px!important;}
  body.woocommerce-checkout #order_review_heading{padding:16px 16px 7px!important;}
  body.woocommerce-checkout #order_review{padding:0 16px 16px!important;}
}


/* =========================================================
   V41 · Checkout clásico limpio y coherente
   ========================================================= */
body.woocommerce-checkout{
  background:#f5f7fa!important;
}
body.woocommerce-checkout .site-content>.ast-container{
  width:min(1160px,calc(100% - 36px))!important;
  padding-top:20px!important;
  padding-bottom:56px!important;
}

/* Cabecera horizontal liviana: sin bloque azul gigante. */
body.woocommerce-checkout .mlh3d-checkout-intro{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  margin:0 0 16px!important;
  padding:4px 2px 15px!important;
  border:0!important;
  border-bottom:1px solid #dde5ee!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--mlh3d-navy)!important;
}
body.woocommerce-checkout .mlh3d-checkout-intro .mlh3d-commerce-intro__eyebrow{
  color:var(--mlh3d-blue)!important;
  margin:0 0 3px!important;
}
body.woocommerce-checkout .mlh3d-checkout-intro h1{
  margin:0 0 3px!important;
  color:var(--mlh3d-navy)!important;
  font-size:29px!important;
  line-height:1.08!important;
}
body.woocommerce-checkout .mlh3d-checkout-intro>div:first-child>p:last-child{
  margin:0!important;
  color:#68758b!important;
  font-size:11.5px!important;
}
body.woocommerce-checkout .mlh3d-checkout-trust{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  gap:6px!important;
  margin:0!important;
}
body.woocommerce-checkout .mlh3d-checkout-trust span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:31px!important;
  padding:6px 9px!important;
  border:1px solid #dbe4ef!important;
  border-radius:999px!important;
  background:#fff!important;
  color:#44536a!important;
  font-size:9.5px!important;
  font-weight:750!important;
  white-space:nowrap!important;
}

/* Aviso de cupón discreto, no una segunda cabecera. */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{
  margin:0 0 12px!important;
  padding:10px 13px!important;
  border:1px solid #e1e7ee!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#66758a!important;
  font-size:10.5px!important;
}

/* Composición principal 62/38. */
body.woocommerce-checkout form.checkout.woocommerce-checkout{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.58fr) minmax(360px,.92fr)!important;
  grid-template-areas:"details heading" "details review"!important;
  gap:0 18px!important;
  align-items:start!important;
}
body.woocommerce-checkout #customer_details{
  padding:22px 23px!important;
  border:1px solid #e0e6ed!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(7,24,45,.035)!important;
}
body.woocommerce-checkout #customer_details h3{
  margin:0 0 16px!important;
  color:var(--mlh3d-navy)!important;
  font-size:18px!important;
  line-height:1.2!important;
}

/* Resumen como UNA sola tarjeta visual. */
body.woocommerce-checkout #order_review_heading{
  margin:0!important;
  padding:18px 19px 11px!important;
  border:1px solid #dce4ed!important;
  border-bottom:0!important;
  border-radius:16px 16px 0 0!important;
  background:#fff!important;
  color:var(--mlh3d-navy)!important;
  font-size:17px!important;
  line-height:1.2!important;
  box-shadow:none!important;
}
body.woocommerce-checkout #order_review{
  margin:0!important;
  padding:0 19px 19px!important;
  border:1px solid #dce4ed!important;
  border-top:0!important;
  border-radius:0 0 16px 16px!important;
  background:#fff!important;
  box-shadow:0 6px 20px rgba(7,24,45,.04)!important;
}
@media(min-width:981px){
  body.woocommerce-checkout #order_review_heading{position:static!important;}
  body.woocommerce-checkout #order_review{
    position:sticky!important;
    top:18px!important;
  }
}

/* Tabla del pedido más fácil de leer. */
body.woocommerce-checkout #order_review .shop_table{
  margin:0 0 13px!important;
  border:0!important;
}
body.woocommerce-checkout #order_review .shop_table th,
body.woocommerce-checkout #order_review .shop_table td{
  padding:10px 4px!important;
  border-color:#edf1f5!important;
  font-size:10.8px!important;
  line-height:1.45!important;
}
body.woocommerce-checkout #order_review .shop_table thead th{
  color:#7c899a!important;
  font-size:9.5px!important;
  text-transform:uppercase!important;
  letter-spacing:.05em!important;
}

/* Campos sobrios, alineados y con jerarquía clara. */
body.woocommerce-checkout .form-row{margin:0 0 11px!important;}
body.woocommerce-checkout .form-row label{
  margin:0 0 4px!important;
  color:#536176!important;
  font-size:10.2px!important;
  font-weight:700!important;
}
body.woocommerce-checkout .input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container .select2-selection--single{
  min-height:43px!important;
  border:1px solid #d6dee8!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.woocommerce-checkout .input-text:focus,
body.woocommerce-checkout select:focus{
  border-color:#7caaf0!important;
  box-shadow:0 0 0 3px rgba(22,101,216,.08)!important;
}
body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last{
  width:calc(50% - 6px)!important;
}
body.woocommerce-checkout .form-row-first{float:left!important;clear:both!important;}
body.woocommerce-checkout .form-row-last{float:right!important;clear:none!important;}
body.woocommerce-checkout .form-row-wide{clear:both!important;}

/* Cuenta automática: una nota pequeña al final de los datos, no otro bloque grande. */
.mlh3d-auto-account-note{
  clear:both!important;
  margin:5px 0 0!important;
  padding:9px 11px!important;
  border:0!important;
  border-left:3px solid var(--mlh3d-blue)!important;
  border-radius:7px!important;
  background:#f5f8fc!important;
  color:#607087!important;
  font-size:10.3px!important;
  line-height:1.45!important;
}
.mlh3d-auto-account-note strong{
  display:block!important;
  margin-bottom:2px!important;
  color:#263750!important;
  font-size:10.7px!important;
}

/* Envío y pago con aspecto de opciones reales. */
body.woocommerce-checkout ul#shipping_method{gap:6px!important;}
body.woocommerce-checkout ul#shipping_method li{
  padding:9px 10px!important;
  border-radius:9px!important;
  background:#fafbfd!important;
}
body.woocommerce-checkout #payment{
  margin-top:12px!important;
  border-radius:12px!important;
  background:#f7f9fc!important;
}
body.woocommerce-checkout #payment ul.payment_methods{
  padding:13px!important;
  border-bottom:1px solid #e2e8ef!important;
}
body.woocommerce-checkout #payment .place-order{padding:13px!important;}
body.woocommerce-checkout #place_order{
  width:100%!important;
  min-height:47px!important;
  border-radius:10px!important;
  background:var(--mlh3d-blue)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}

/* Errores compactos; mientras CorreosChile no tenga credenciales conviene ocultarlos desde su plugin. */
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message{
  max-width:100%!important;
  margin:0 0 10px!important;
  border-radius:10px!important;
  font-size:10.5px!important;
}

@media(max-width:980px){
  body.woocommerce-checkout form.checkout.woocommerce-checkout{
    grid-template-columns:1fr!important;
    grid-template-areas:"details" "heading" "review"!important;
    gap:13px!important;
  }
  body.woocommerce-checkout #order_review{position:static!important;}
  body.woocommerce-checkout .mlh3d-checkout-intro{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:9px!important;
  }
  body.woocommerce-checkout .mlh3d-checkout-trust{justify-content:flex-start!important;}
}
@media(max-width:640px){
  body.woocommerce-checkout .site-content>.ast-container{
    width:calc(100% - 20px)!important;
    padding-top:14px!important;
  }
  body.woocommerce-checkout .mlh3d-checkout-intro h1{font-size:25px!important;}
  body.woocommerce-checkout #customer_details{padding:16px!important;}
  body.woocommerce-checkout #order_review_heading{padding:16px 16px 9px!important;}
  body.woocommerce-checkout #order_review{padding:0 16px 16px!important;}
  body.woocommerce-checkout .form-row-first,
  body.woocommerce-checkout .form-row-last{
    width:100%!important;
    float:none!important;
  }
  body.woocommerce-checkout .mlh3d-checkout-trust span{font-size:9px!important;}
}


/* =========================================================
   V44 · Área de cliente MLH3D
   ========================================================= */
body.woocommerce-account.logged-in .woocommerce{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  gap:26px;
  align-items:start;
  margin:34px auto 58px;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{
  width:100%!important;
  float:none!important;
  padding:10px;
  border:1px solid #dfe6ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 12px 34px rgba(7,24,45,.065);
  position:sticky;
  top:96px;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li{
  margin:0!important;
  border:0!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a{
  display:flex!important;
  align-items:center;
  min-height:46px;
  padding:11px 14px!important;
  margin:2px 0;
  border-radius:12px;
  color:#42526a!important;
  font-size:12.5px;
  font-weight:800;
  text-decoration:none!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation .is-active a{
  background:#edf5ff;
  color:var(--mlh3d-blue)!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation .is-active a{
  box-shadow:inset 3px 0 0 var(--mlh3d-blue);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
  width:100%!important;
  float:none!important;
  min-width:0;
}
.mlh3d-account-v44{
  overflow:hidden;
  border:1px solid #dfe6ef;
  border-radius:22px;
  background:#fff;
  box-shadow:0 14px 38px rgba(7,24,45,.07);
}
.mlh3d-account-v44__hero{
  padding:30px 32px;
  background:linear-gradient(135deg,#07182d 0%,#0b2c55 58%,#1459a9 100%);
  color:#fff;
}
.mlh3d-account-v44__eyebrow{
  margin:0 0 7px!important;
  color:#9fc5ff!important;
  font-size:10px!important;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.mlh3d-account-v44__hero h1{
  margin:0 0 8px;
  color:#fff;
  font-size:clamp(28px,3vw,38px);
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.035em;
}
.mlh3d-account-v44__hero p:last-child{
  margin:0;
  max-width:680px;
  color:#d7e6f8;
  font-size:13px;
  line-height:1.6;
}
.mlh3d-account-v44__body{padding:26px 28px 30px;}
.mlh3d-account-v44__stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-bottom:22px;
}
.mlh3d-account-v44__stat{
  padding:18px 20px;
  border:1px solid #e0e7f0;
  border-radius:16px;
  background:#f8fafc;
}
.mlh3d-account-v44__stat span{
  display:block;
  margin-bottom:5px;
  color:#718096;
  font-size:10px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.mlh3d-account-v44__stat strong{
  color:var(--mlh3d-navy);
  font-size:24px;
  line-height:1.1;
  font-weight:900;
}
.mlh3d-account-v44__actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.mlh3d-account-v44__action{
  min-width:0;
  padding:20px;
  border:1px solid #dfe6ef;
  border-radius:16px;
  background:#fff;
  text-decoration:none!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.mlh3d-account-v44__action:hover{
  transform:translateY(-2px);
  border-color:#bfd3ef;
  box-shadow:0 10px 24px rgba(7,24,45,.07);
}
.mlh3d-account-v44__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  margin-bottom:13px;
  border-radius:12px;
  background:#edf5ff;
  color:var(--mlh3d-blue);
  font-size:18px;
  font-weight:900;
}
.mlh3d-account-v44__action strong{
  display:block;
  margin-bottom:5px;
  color:var(--mlh3d-navy);
  font-size:14px;
  font-weight:900;
}
.mlh3d-account-v44__action span:last-child{
  display:block;
  color:#68758b;
  font-size:11px;
  line-height:1.5;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-orders-table,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content form{
  border-radius:18px;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-orders-table{
  overflow:hidden;
  border:1px solid #dfe6ef!important;
  background:#fff;
  box-shadow:0 10px 28px rgba(7,24,45,.05);
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-orders-table th{
  background:#f5f8fc;
  color:var(--mlh3d-navy);
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .button{
  border-radius:999px!important;
  background:var(--mlh3d-blue)!important;
  color:#fff!important;
  font-weight:850!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-content h2,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content h3{
  color:var(--mlh3d-navy);
  font-weight:900;
}
@media(max-width:900px){
  body.woocommerce-account.logged-in .woocommerce{
    grid-template-columns:1fr;
    gap:16px;
    margin-top:22px;
  }
  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{
    position:static;
    overflow-x:auto;
    padding:8px;
  }
  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul{
    display:flex;
    gap:6px;
    width:max-content;
    min-width:100%;
  }
  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a{
    white-space:nowrap;
    min-height:40px;
    padding:9px 12px!important;
  }
  .mlh3d-account-v44__actions{grid-template-columns:1fr;}
}
@media(max-width:560px){
  .mlh3d-account-v44__hero{padding:24px 20px;}
  .mlh3d-account-v44__body{padding:20px 16px 24px;}
  .mlh3d-account-v44__stats{grid-template-columns:1fr 1fr;gap:9px;}
  .mlh3d-account-v44__stat{padding:14px;}
  .mlh3d-account-v44__stat strong{font-size:20px;}
}


/* =========================================================
   V45 · Corrección de orden/anchos en Mi cuenta
   ========================================================= */
@media(min-width:901px){
  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
    max-width:250px!important;
  }
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .mlh3d-account-v44{
    width:100%!important;
    max-width:none!important;
  }
  .mlh3d-account-v44__stats{
    grid-template-columns:repeat(2,minmax(220px,1fr));
  }
  .mlh3d-account-v44__actions{
    grid-template-columns:repeat(3,minmax(180px,1fr));
  }
  .mlh3d-account-v44__stat strong,
  .mlh3d-account-v44__action strong,
  .mlh3d-account-v44__action span,
  .mlh3d-account-v44__stat span{
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:none!important;
  }
}
@media(max-width:900px){
  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content{
    grid-column:1!important;
    grid-row:auto!important;
    max-width:none!important;
  }
}


/* =========================================================
   V46 · Login y registro alineados en Mi cuenta
   ========================================================= */
body.woocommerce-account:not(.logged-in) #customer_login{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:start!important;
  width:100%!important;
  margin:0!important;
}
body.woocommerce-account:not(.logged-in) #customer_login > .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login > .u-column2,
body.woocommerce-account:not(.logged-in) #customer_login > .col-1,
body.woocommerce-account:not(.logged-in) #customer_login > .col-2{
  grid-row:1!important;
  float:none!important;
  clear:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  align-self:start!important;
  transform:none!important;
}
body.woocommerce-account:not(.logged-in) #customer_login > .u-column1,
body.woocommerce-account:not(.logged-in) #customer_login > .col-1{
  grid-column:1!important;
}
body.woocommerce-account:not(.logged-in) #customer_login > .u-column2,
body.woocommerce-account:not(.logged-in) #customer_login > .col-2{
  grid-column:2!important;
}
body.woocommerce-account:not(.logged-in) #customer_login form.login,
body.woocommerce-account:not(.logged-in) #customer_login form.register{
  margin:0!important;
}
@media(max-width:860px){
  body.woocommerce-account:not(.logged-in) #customer_login{
    grid-template-columns:1fr!important;
  }
  body.woocommerce-account:not(.logged-in) #customer_login > .u-column1,
  body.woocommerce-account:not(.logged-in) #customer_login > .u-column2,
  body.woocommerce-account:not(.logged-in) #customer_login > .col-1,
  body.woocommerce-account:not(.logged-in) #customer_login > .col-2{
    grid-column:1!important;
    grid-row:auto!important;
  }
}


/* =========================================================
   V50 · Banner y centro de preferencias de cookies
   ========================================================= */
.mlh3d-cookie-consent[hidden],
.mlh3d-cookie-settings[hidden]{display:none!important;}
.mlh3d-cookie-consent{
  position:fixed;left:0;right:0;bottom:0;z-index:999999;
  padding:18px clamp(12px,3vw,38px) max(18px,env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(245,247,250,0),rgba(245,247,250,.92) 28%,rgba(245,247,250,.98));
}
.mlh3d-cookie-card{
  width:min(1380px,100%);margin:0 auto;background:#fff;border:1px solid #dce5f0;
  border-top:4px solid var(--mlh3d-navy);border-radius:20px;box-shadow:0 22px 60px rgba(7,24,45,.18);
  display:grid;grid-template-columns:110px minmax(0,1fr) minmax(220px,300px);gap:24px;align-items:center;
  padding:22px 24px;
}
.mlh3d-cookie-brand{display:flex;align-items:center;justify-content:center;border-right:1px solid #dce3ec;padding-right:22px;min-height:104px;}
.mlh3d-cookie-brand img{display:block;width:88px;height:88px;object-fit:contain;border-radius:50%;}
.mlh3d-cookie-brand span{font-weight:800;color:var(--mlh3d-navy);}
.mlh3d-cookie-copy{min-width:0;}
.mlh3d-cookie-eyebrow{margin:0 0 5px!important;font-size:11px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.1em;text-transform:uppercase;color:var(--mlh3d-blue)!important;}
.mlh3d-cookie-copy h2,.mlh3d-cookie-settings__panel h2{margin:0 0 8px!important;color:var(--mlh3d-navy)!important;font-size:clamp(23px,2.2vw,34px)!important;line-height:1.12!important;font-weight:800!important;}
.mlh3d-cookie-copy>p:not(.mlh3d-cookie-eyebrow){margin:0 0 8px!important;color:#28364b!important;font-size:14px!important;line-height:1.58!important;}
.mlh3d-cookie-legal{font-size:12.5px!important;color:#5b687c!important;}
.mlh3d-cookie-legal a,.mlh3d-cookie-settings__links a{color:var(--mlh3d-blue)!important;text-decoration:underline;text-underline-offset:2px;}
.mlh3d-cookie-necessary{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#eff6ff;color:#234d88;font-size:11.5px;font-weight:700;}
.mlh3d-cookie-actions{display:grid;gap:9px;}
.mlh3d-cookie-btn{appearance:none;border:1px solid transparent;border-radius:12px;padding:12px 14px;font:inherit;font-size:13px;font-weight:800;line-height:1.2;cursor:pointer;transition:.18s ease;min-height:44px;}
.mlh3d-cookie-btn:focus-visible,.mlh3d-cookie-link:focus-visible,.mlh3d-cookie-settings__close:focus-visible{outline:3px solid rgba(22,101,216,.28);outline-offset:2px;}
.mlh3d-cookie-btn--primary{background:linear-gradient(135deg,#0f6fff,#165fd0);color:#fff;border-color:#0e5fcf;box-shadow:0 8px 20px rgba(22,101,216,.2);}
.mlh3d-cookie-btn--primary:hover{transform:translateY(-1px);filter:brightness(.98);}
.mlh3d-cookie-btn--secondary{background:#fff;color:#0f64dc;border-color:#2977df;}
.mlh3d-cookie-btn--secondary:hover{background:#f3f8ff;}
.mlh3d-cookie-btn--settings{background:#f6f8fb;color:#354155;border-color:#d5dce6;}
.mlh3d-cookie-btn--settings:hover{background:#edf2f8;}
.mlh3d-cookie-link{appearance:none;border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer;text-align:left;}
.mlh3d-footer-bottom-links .mlh3d-cookie-link{color:inherit;text-decoration:none;}
.mlh3d-footer-bottom-links .mlh3d-cookie-link:hover{color:#fff;}

.mlh3d-cookie-settings{position:fixed;inset:0;z-index:1000000;display:flex;align-items:center;justify-content:center;padding:18px;}
.mlh3d-cookie-settings__backdrop{position:absolute;inset:0;background:rgba(3,13,28,.58);backdrop-filter:blur(4px);}
.mlh3d-cookie-settings__panel{position:relative;z-index:1;width:min(650px,100%);max-height:min(760px,92vh);overflow:auto;background:#fff;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.28);padding:28px;}
.mlh3d-cookie-settings__panel>p{color:#536176;font-size:13px;line-height:1.6;}
.mlh3d-cookie-settings__close{position:absolute;top:14px;right:16px;width:38px;height:38px;border:0;border-radius:50%;background:#f1f4f8;color:#172033;font-size:26px;line-height:1;cursor:pointer;}
.mlh3d-cookie-option{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 0;border-top:1px solid #e4e9f0;}
.mlh3d-cookie-option:first-of-type{margin-top:18px;}
.mlh3d-cookie-option strong{display:block;color:var(--mlh3d-navy);font-size:14px;margin-bottom:4px;}
.mlh3d-cookie-option p{margin:0!important;color:#667287!important;font-size:12px!important;line-height:1.5!important;}
.mlh3d-cookie-required{white-space:nowrap;background:#edf5ff;color:#155fc4;font-size:11px;font-weight:800;padding:7px 9px;border-radius:999px;}
.mlh3d-switch{position:relative;display:inline-flex;flex:0 0 auto;width:48px;height:28px;}
.mlh3d-switch input{position:absolute;opacity:0;pointer-events:none;}
.mlh3d-switch span{position:absolute;inset:0;border-radius:999px;background:#cbd4e0;transition:.2s;cursor:pointer;}
.mlh3d-switch span:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.2);transition:.2s;}
.mlh3d-switch input:checked+span{background:var(--mlh3d-blue);}
.mlh3d-switch input:checked+span:after{transform:translateX(20px);}
.mlh3d-switch input:focus-visible+span{outline:3px solid rgba(22,101,216,.25);outline-offset:2px;}
.mlh3d-cookie-settings__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;}
.mlh3d-cookie-settings__links{text-align:center;margin:16px 0 0!important;font-size:12px!important;}
html.mlh3d-cookie-settings-open{overflow:hidden!important;}

@media(max-width:900px){
  .mlh3d-cookie-consent{padding:10px 10px max(10px,env(safe-area-inset-bottom));}
  .mlh3d-cookie-card{grid-template-columns:68px 1fr;gap:13px;padding:16px;border-radius:17px;}
  .mlh3d-cookie-brand{min-height:70px;padding-right:12px;}
  .mlh3d-cookie-brand img{width:58px;height:58px;}
  .mlh3d-cookie-actions{grid-column:1/-1;grid-template-columns:1fr 1fr 1fr;}
  .mlh3d-cookie-btn{font-size:12px;padding:10px;}
}
@media(max-width:620px){
  .mlh3d-cookie-card{display:block;padding:15px;max-height:88vh;overflow:auto;}
  .mlh3d-cookie-brand{display:none;}
  .mlh3d-cookie-copy h2{font-size:23px!important;}
  .mlh3d-cookie-copy>p:not(.mlh3d-cookie-eyebrow){font-size:12.5px!important;line-height:1.48!important;}
  .mlh3d-cookie-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:12px;}
  .mlh3d-cookie-btn--settings{grid-column:1/-1;}
  .mlh3d-cookie-settings__panel{padding:22px 18px;}
  .mlh3d-cookie-option{align-items:flex-start;gap:12px;}
  .mlh3d-cookie-settings__actions{grid-template-columns:1fr;}
}

/* V52 · Ofertas: badge visible sobre la imagen y precio rebajado claro. */
.mlh3d-featured-card__badge.is-sale{
  background:#d54343;
  color:#fff;
}
body.woocommerce-shop .woocommerce ul.products li.product .price del,
.single-product .summary .price del{
  opacity:.62;
  font-weight:650;
}
body.woocommerce-shop .woocommerce ul.products li.product .price ins,
.single-product .summary .price ins{
  color:#c83232;
  font-weight:900;
  text-decoration:none;
}

/* =========================================================
   V54 · CATEGORÍAS DE PRODUCTO MLH3D
   Mantiene la identidad visual de Tienda sin alterar SEO.
   ========================================================= */
body.tax-product_cat{
  background:var(--mlh3d-bg);
}
body.tax-product_cat #secondary{display:none!important;}
body.tax-product_cat #primary,
body.tax-product_cat .content-area{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
}
body.tax-product_cat .woocommerce-breadcrumb{display:none!important;}
body.tax-product_cat .site-main{padding-bottom:0;}
body.tax-product_cat .woocommerce-products-header{margin:0!important;padding:0!important;}

.mlh3d-category-hero{
  position:relative;
  width:100vw;
  margin-left:calc(50% - 50vw);
  overflow:hidden;
  background:
    radial-gradient(circle at 86% 13%,rgba(56,133,255,.34),transparent 31%),
    radial-gradient(circle at 13% 112%,rgba(34,106,220,.22),transparent 35%),
    linear-gradient(135deg,#061426 0%,#0a2444 55%,#123d73 100%);
  color:#fff;
}
.mlh3d-category-hero:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.032) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.78),transparent 94%);
}
.mlh3d-category-hero__inner{
  position:relative;
  z-index:1;
  width:min(1220px,calc(100% - 48px));
  min-height:300px;
  margin:0 auto;
  padding:28px 0;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(310px,.72fr);
  gap:36px;
  align-items:center;
}
.mlh3d-category-hero__content{min-width:0;}
.mlh3d-category-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  margin:0 0 18px;
  color:#b9cce5;
  font-size:10px;
  line-height:1.4;
  font-weight:750;
}
.mlh3d-category-breadcrumbs a{
  color:#d7e6f8!important;
  text-decoration:none!important;
}
.mlh3d-category-breadcrumbs a:hover{color:#fff!important;}
.mlh3d-category-breadcrumbs span[aria-current="page"]{color:#fff;font-weight:850;}
.mlh3d-category-hero h1{
  max-width:760px;
  margin:0 0 12px!important;
  color:#fff!important;
  font-size:clamp(31px,4vw,48px)!important;
  line-height:1.02!important;
  font-weight:900!important;
  letter-spacing:-.045em;
}
.mlh3d-category-hero__description{
  max-width:720px;
  color:#d8e7f8;
  font-size:13.5px;
  line-height:1.65;
}
.mlh3d-category-hero__description p{
  margin:0 0 8px!important;
  color:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
}
.mlh3d-category-hero__description p:last-child{margin-bottom:0!important;}
.mlh3d-category-hero__description a{color:#fff!important;text-decoration:underline;text-underline-offset:2px;}
.mlh3d-category-hero__description--fallback{margin:0;}
.mlh3d-category-search{margin-top:17px;}

.mlh3d-category-hero__visual{
  display:grid;
  grid-template-columns:minmax(0,1fr) 116px;
  gap:12px;
  align-content:center;
}
.mlh3d-category-hero__image{
  grid-column:1 / -1;
  position:relative;
  height:150px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  border-radius:21px;
  background:rgba(255,255,255,.08);
  box-shadow:0 18px 45px rgba(0,0,0,.14);
}
.mlh3d-category-hero__img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
}
.mlh3d-category-hero__image:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(5,19,37,.22),transparent 55%);
  pointer-events:none;
}
.mlh3d-category-stat{
  min-height:118px;
  padding:16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:18px;
  background:rgba(255,255,255,.085);
  backdrop-filter:blur(9px);
}
.mlh3d-category-stat--large{grid-column:1/-1;min-height:100px;}
.mlh3d-category-stat span{
  color:#bcd1ea;
  font-size:9px;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.mlh3d-category-stat strong{
  display:block;
  margin:3px 0 2px;
  color:#fff;
  font-size:30px;
  line-height:1;
  font-weight:900;
}
.mlh3d-category-stat small{color:#bfd0e6;font-size:9px;line-height:1.4;}
.mlh3d-category-trust{
  min-width:0;
  display:grid;
  gap:7px;
}
.mlh3d-category-trust span{
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:13px;
  background:rgba(255,255,255,.065);
  color:#cbdcf0;
  font-size:8.5px;
  line-height:1.35;
}
.mlh3d-category-trust strong{
  display:block;
  margin-bottom:2px;
  color:#fff;
  font-size:9px;
  line-height:1.25;
  font-weight:850;
  text-transform:uppercase;
}

.mlh3d-category-navigation{margin:18px 0 34px;}
.mlh3d-category-navigation__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:8px;
}
.mlh3d-category-navigation__head .mlh3d-shop-categories__label{margin:0;}
.mlh3d-category-navigation__head>a{
  color:var(--mlh3d-blue)!important;
  font-size:10px;
  font-weight:850;
  text-decoration:none!important;
}
.mlh3d-category-navigation__head>a:hover{text-decoration:underline!important;text-underline-offset:3px;}

.mlh3d-category-catalog-heading{margin-bottom:12px;}
.mlh3d-category-catalog-eyebrow{
  margin:0 0 5px!important;
  color:var(--mlh3d-blue)!important;
  font-size:9px!important;
  line-height:1.3;
  font-weight:850!important;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.tax-product_cat .woocommerce-result-count{
  margin:10px 0 20px!important;
  color:#78869a;
  font-size:11px;
}
body.tax-product_cat .woocommerce-ordering{margin:0 0 20px!important;}
body.tax-product_cat .woocommerce-ordering select{
  min-height:40px;
  padding:8px 34px 8px 13px;
  border:1px solid #d9e1eb;
  border-radius:999px;
  background:#fff;
  color:#3d4c62;
  font-size:11px;
}

/* Misma cuadrícula/tarjeta profesional de Tienda. */
body.tax-product_cat .woocommerce ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:20px!important;
  margin:0!important;
}
body.tax-product_cat .woocommerce ul.products:before,
body.tax-product_cat .woocommerce ul.products:after{display:none!important;}
body.tax-product_cat .woocommerce ul.products li.product{
  position:relative;
  width:auto!important;
  float:none!important;
  clear:none!important;
  margin:0!important;
  padding:0 0 18px!important;
  overflow:hidden;
  border:1px solid #dfe6ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 26px rgba(7,24,45,.06);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
body.tax-product_cat .woocommerce ul.products li.product:hover{
  transform:translateY(-5px);
  border-color:#cbd8e8;
  box-shadow:0 17px 38px rgba(7,24,45,.11);
}
body.tax-product_cat .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:block;
  text-decoration:none!important;
}
body.tax-product_cat .woocommerce ul.products li.product a img{
  width:100%!important;
  aspect-ratio:1/1;
  margin:0 0 15px!important;
  display:block;
  object-fit:cover;
  background:#eef1f5;
  transition:transform .38s ease;
}
body.tax-product_cat .woocommerce ul.products li.product:hover a img{transform:scale(1.025);}
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-category__title{
  min-height:44px;
  margin:0!important;
  padding:0 16px!important;
  color:var(--mlh3d-navy)!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:850!important;
}
body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-category__title .count{
  display:inline-flex;
  min-width:24px;
  min-height:20px;
  align-items:center;
  justify-content:center;
  margin-left:5px;
  padding:2px 6px;
  border-radius:999px;
  background:#eef4fc;
  color:#5b6d85;
  font-size:9px;
}
body.tax-product_cat .mlh3d-loop-category{
  margin:7px 16px 5px;
  color:#6e7d91;
  font-size:9px;
  font-weight:800;
  letter-spacing:.065em;
  text-transform:uppercase;
}
body.tax-product_cat .woocommerce ul.products li.product .price{
  min-height:27px;
  margin:7px 16px 13px!important;
  color:var(--mlh3d-blue)!important;
  font-size:15px!important;
  font-weight:900!important;
}
body.tax-product_cat .woocommerce ul.products li.product .price del{opacity:.62;font-size:11px;font-weight:650;}
body.tax-product_cat .woocommerce ul.products li.product .price ins{color:#c83232;font-weight:900;text-decoration:none;}
body.tax-product_cat .woocommerce ul.products li.product .button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:39px!important;
  margin:0 16px!important;
  padding:9px 12px!important;
  border-radius:999px!important;
  background:var(--mlh3d-navy)!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.055em!important;
  text-transform:uppercase;
}
body.tax-product_cat .woocommerce ul.products li.product .button:hover{background:var(--mlh3d-blue)!important;}
body.tax-product_cat .woocommerce ul.products li.product .added_to_cart{
  display:block;
  margin:9px 16px 0;
  color:var(--mlh3d-blue);
  font-size:10px;
  font-weight:800;
  text-align:center;
}
body.tax-product_cat .onsale{
  top:12px!important;
  right:12px!important;
  left:auto!important;
  min-width:auto!important;
  min-height:auto!important;
  margin:0!important;
  padding:7px 10px!important;
  border-radius:999px!important;
  background:#d54343!important;
  color:#fff!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body.tax-product_cat .woocommerce-pagination{margin:38px 0 12px;}
body.tax-product_cat .woocommerce-pagination ul{
  display:flex!important;
  justify-content:center;
  gap:7px;
  border:0!important;
}
body.tax-product_cat .woocommerce-pagination ul li{border:0!important;}
body.tax-product_cat .woocommerce-pagination ul li a,
body.tax-product_cat .woocommerce-pagination ul li span{
  min-width:39px;
  min-height:39px;
  display:grid!important;
  place-items:center;
  padding:7px!important;
  border:1px solid #d8e0ea;
  border-radius:50%;
  background:#fff;
  color:#42516a;
  font-size:11px;
  font-weight:800;
}
body.tax-product_cat .woocommerce-pagination ul li span.current,
body.tax-product_cat .woocommerce-pagination ul li a:hover{
  border-color:var(--mlh3d-navy);
  background:var(--mlh3d-navy);
  color:#fff;
}
body.tax-product_cat .woocommerce-info{
  margin:28px 0!important;
  padding:18px 20px!important;
  border:1px solid #dbe4ef!important;
  border-top:3px solid var(--mlh3d-blue)!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#536176!important;
  box-shadow:0 8px 24px rgba(7,24,45,.05);
}
.mlh3d-category-custom-cta{margin-top:52px;}

@media(max-width:1100px){
  .mlh3d-category-hero__inner{grid-template-columns:1fr minmax(270px,.6fr);gap:24px;}
  body.tax-product_cat .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:860px){
  .mlh3d-category-hero__inner{grid-template-columns:1fr;min-height:auto;padding:25px 0 24px;}
  .mlh3d-category-hero__visual{grid-template-columns:1fr 1fr;}
  .mlh3d-category-hero__image{grid-column:1;grid-row:1 / span 2;height:auto;min-height:190px;}
  .mlh3d-category-stat{grid-column:2;}
  .mlh3d-category-trust{grid-column:2;}
  .mlh3d-category-stat--large{grid-column:1/-1;}
}
@media(max-width:767px){
  .mlh3d-category-hero__inner{width:calc(100% - 28px);gap:18px;}
  .mlh3d-category-breadcrumbs{margin-bottom:13px;font-size:9px;}
  .mlh3d-category-hero h1{font-size:31px!important;}
  .mlh3d-category-hero__description{font-size:12.5px;line-height:1.58;}
  .mlh3d-category-hero__visual{grid-template-columns:1fr;}
  .mlh3d-category-hero__image{grid-column:1;grid-row:auto;min-height:170px;height:170px;}
  .mlh3d-category-stat,
  .mlh3d-category-trust{grid-column:1;}
  .mlh3d-category-trust{grid-template-columns:repeat(3,minmax(0,1fr));}
  .mlh3d-category-stat{min-height:88px;}
  .mlh3d-category-navigation{margin:15px 0 27px;}
  .mlh3d-category-navigation__head{align-items:flex-end;}
  .mlh3d-category-navigation .mlh3d-shop-category-pills{flex-wrap:nowrap;overflow-x:auto;padding:1px 1px 8px;scrollbar-width:none;}
  .mlh3d-category-navigation .mlh3d-shop-category-pills::-webkit-scrollbar{display:none;}
  .mlh3d-category-navigation .mlh3d-shop-category-pill{flex:0 0 auto;}
  body.tax-product_cat .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  body.tax-product_cat .woocommerce ul.products li.product{padding-bottom:14px!important;border-radius:15px;}
  body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.tax-product_cat .woocommerce ul.products li.product .woocommerce-loop-category__title{padding:0 12px!important;font-size:12px!important;min-height:38px;}
  body.tax-product_cat .mlh3d-loop-category{margin-left:12px;margin-right:12px;}
  body.tax-product_cat .woocommerce ul.products li.product .price{margin-left:12px!important;margin-right:12px!important;font-size:12.5px!important;}
  body.tax-product_cat .woocommerce ul.products li.product .button{margin-left:12px!important;margin-right:12px!important;font-size:9px!important;}
}
@media(max-width:480px){
  .mlh3d-category-hero__visual{display:none;}
  .mlh3d-category-hero__inner{padding-bottom:21px;}
  .mlh3d-category-navigation__head>a{font-size:9px;}
  .mlh3d-category-trust{grid-template-columns:1fr;}
}

/* =========================================================
   V55 · PRODUCTOS PRIMERO + SERVICIOS MÁS VISUALES
   ========================================================= */

/* --- Categorías: cabecera compacta, catálogo como protagonista --- */
.mlh3d-category-hero--compact{
  margin:0!important;
  min-height:0!important;
  background:linear-gradient(135deg,#07182d 0%,#0b2547 65%,#123d73 100%);
}
.mlh3d-category-hero--compact:after{opacity:.45;}
.mlh3d-category-hero__inner--compact{
  width:min(1180px,calc(100% - 48px));
  min-height:0!important;
  display:block!important;
  padding:20px 0 17px!important;
}
.mlh3d-category-hero--compact .mlh3d-category-breadcrumbs{
  margin:0 0 8px!important;
  color:#9eb4cf;
  font-size:9px;
}
.mlh3d-category-compact-title-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}
.mlh3d-category-hero--compact .mlh3d-shop-eyebrow{
  margin:0 0 3px!important;
  color:#9dc3ff!important;
  font-size:9px!important;
  letter-spacing:.13em;
}
.mlh3d-category-hero--compact h1{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(28px,3vw,38px)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
}
.mlh3d-category-compact-count{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 11px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#d7e6f8;
  font-size:9px;
  font-weight:800;
  letter-spacing:.04em;
  white-space:nowrap;
}
.mlh3d-category-compact-intro{
  max-width:850px;
  margin:8px 0 0!important;
  color:#d0dced!important;
  font-size:11.5px!important;
  line-height:1.5!important;
}
.mlh3d-category-navigation--compact{
  margin:9px 0 16px!important;
}
.mlh3d-category-navigation--compact .mlh3d-shop-category-pills{
  gap:7px!important;
  padding:0!important;
}
.mlh3d-category-navigation--compact .mlh3d-shop-category-pill{
  min-height:31px!important;
  padding:6px 11px!important;
  font-size:9px!important;
}
body.tax-product_cat .woocommerce-result-count{
  margin:4px 0 13px!important;
}
body.tax-product_cat .woocommerce-ordering{
  margin:0 0 13px!important;
}
body.tax-product_cat .woocommerce-ordering select{
  min-height:36px!important;
  padding-top:6px!important;
  padding-bottom:6px!important;
}
.mlh3d-category-seo-description{
  margin:38px 0 10px;
  padding:24px 26px;
  border:1px solid #dfe6ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(7,24,45,.045);
}
.mlh3d-category-seo-description__eyebrow{
  margin:0 0 5px!important;
  color:var(--mlh3d-blue)!important;
  font-size:9px!important;
  font-weight:850!important;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.mlh3d-category-seo-description h2{
  margin:0 0 8px!important;
  color:var(--mlh3d-navy)!important;
  font-size:21px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
.mlh3d-category-seo-description>div,
.mlh3d-category-seo-description>div p{
  color:#68758b!important;
  font-size:12.5px!important;
  line-height:1.65!important;
}
.mlh3d-category-seo-description>div p:last-child{margin-bottom:0!important;}
.mlh3d-category-custom-cta{margin-top:20px!important;}

/* --- Servicios: hero visual construido con productos reales --- */
.mlh3d-services-hero-inner{
  min-height:500px;
  grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);
  gap:52px;
  padding:64px 0 60px;
}
.mlh3d-services-hero-copy-wrap{min-width:0;}
.mlh3d-services-hero h1{font-size:clamp(39px,4.6vw,62px);}
.mlh3d-services-hero-copy{font-size:15.5px;line-height:1.65;}
.mlh3d-services-hero-mini-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}
.mlh3d-services-hero-mini-trust span{
  min-width:118px;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(255,255,255,.055);
  color:#afc5df;
  font-size:9px;
  line-height:1.35;
}
.mlh3d-services-hero-mini-trust strong{
  display:block;
  margin-bottom:2px;
  color:#fff;
  font-size:10px;
  font-weight:850;
}
.mlh3d-services-showcase{
  position:relative;
  min-width:0;
  padding:10px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:28px;
  background:rgba(255,255,255,.075);
  box-shadow:0 28px 70px rgba(0,0,0,.22);
  backdrop-filter:blur(12px);
}
.mlh3d-services-collage{
  height:390px;
  display:grid;
  grid-template-columns:1.45fr .85fr;
  grid-template-rows:1fr 1fr;
  gap:9px;
}
.mlh3d-services-collage__item{
  position:relative;
  min-width:0;
  min-height:0;
  overflow:hidden;
  border-radius:19px;
  background:#e8edf4;
  text-decoration:none!important;
}
.mlh3d-services-collage__item--1{grid-row:1 / span 2;}
.mlh3d-services-collage__img{
  width:100%!important;
  height:100%!important;
  display:block;
  object-fit:cover;
  transition:transform .42s ease;
}
.mlh3d-services-collage__item:hover .mlh3d-services-collage__img{transform:scale(1.035);}
.mlh3d-services-collage__item:after{
  content:"";
  position:absolute;
  inset:38% 0 0;
  background:linear-gradient(to bottom,transparent,rgba(5,16,30,.82));
  pointer-events:none;
}
.mlh3d-services-collage__label{
  position:absolute;
  z-index:2;
  left:14px;
  right:14px;
  bottom:13px;
  color:#fff;
}
.mlh3d-services-collage__label small{
  display:block;
  margin-bottom:3px;
  color:#c9dcf2;
  font-size:8px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.mlh3d-services-collage__label strong{
  display:block;
  color:#fff;
  font-size:12px;
  line-height:1.25;
  font-weight:850;
}
.mlh3d-services-collage__item--1 .mlh3d-services-collage__label strong{font-size:16px;}
.mlh3d-services-showcase__caption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 8px 3px;
}
.mlh3d-services-showcase__caption span{
  color:#9db7d6;
  font-size:8px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.mlh3d-services-showcase__caption strong{
  color:#fff;
  font-size:10px;
  font-weight:800;
  text-align:right;
}
.mlh3d-services-showcase-fallback{
  height:390px;
  display:grid;
  grid-template-columns:1.2fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:9px;
}
.mlh3d-services-showcase-fallback div{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:22px;
  border-radius:19px;
  background:linear-gradient(145deg,#123d73,#0a1b31);
}
.mlh3d-services-showcase-fallback div:first-child{grid-row:1 / span 2;}
.mlh3d-services-showcase-fallback strong{color:#fff;font-size:30px;font-weight:900;}
.mlh3d-services-showcase-fallback span{color:#bad0ea;font-size:11px;}

/* Tarjetas visuales de servicios */
.mlh3d-services-section--selling{padding-top:68px;}
.mlh3d-service-grid--visual{gap:20px;}
.mlh3d-service-grid--visual .mlh3d-service-card{
  padding:0!important;
  display:flex;
  flex-direction:column;
  border-radius:23px;
}
.mlh3d-service-card-visual{
  position:relative;
  height:148px;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  padding:20px 22px;
  background:linear-gradient(135deg,#07182d,#123d73);
}
.mlh3d-service-card-visual:before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-60px;
  top:-72px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:50%;
  box-shadow:0 0 0 25px rgba(255,255,255,.025),0 0 0 50px rgba(255,255,255,.018);
}
.mlh3d-service-card-visual>span{
  position:relative;
  z-index:2;
  color:#fff;
  font-size:30px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.04em;
}
.mlh3d-service-card-visual i{
  position:absolute;
  display:block;
  border:1px solid rgba(255,255,255,.25);
  transform:rotate(18deg);
}
.mlh3d-service-card-visual i:nth-of-type(1){width:66px;height:66px;right:36px;bottom:17px;border-radius:17px;}
.mlh3d-service-card-visual i:nth-of-type(2){width:38px;height:38px;right:88px;top:24px;border-radius:50%;}
.mlh3d-service-card-visual i:nth-of-type(3){width:86px;height:1px;right:18px;top:73px;border:0;border-top:1px solid rgba(255,255,255,.28);}
.mlh3d-service-card--laser .mlh3d-service-card-visual{background:linear-gradient(135deg,#0c294d,#1f67a8);}
.mlh3d-service-card--cad .mlh3d-service-card-visual{background:linear-gradient(135deg,#132038,#31567f);}
.mlh3d-service-card--custom .mlh3d-service-card-visual{background:linear-gradient(135deg,#14233c,#274d76);}
.mlh3d-service-card-body{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:25px 27px 27px;
}
.mlh3d-service-kicker{
  margin:0 0 5px!important;
  color:var(--mlh3d-blue)!important;
  font-size:9px!important;
  line-height:1.3!important;
  font-weight:850!important;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.mlh3d-service-card-body h3{margin:0 0 8px!important;}
.mlh3d-service-card-body>p:not(.mlh3d-service-kicker){margin:0 0 16px!important;}
.mlh3d-service-card-body .mlh3d-service-tags{margin-bottom:20px;}
.mlh3d-service-link{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:15px;
  border-top:1px solid #e5eaf1;
  color:var(--mlh3d-navy)!important;
  font-size:11px;
  font-weight:850;
  text-decoration:none!important;
}
.mlh3d-service-link span{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#edf4ff;
  color:var(--mlh3d-blue);
  transition:transform .2s ease,background .2s ease;
}
.mlh3d-service-link:hover span{transform:translateX(3px);background:#dceaff;}

@media(max-width:980px){
  .mlh3d-services-hero-inner{grid-template-columns:1fr;min-height:0;padding:48px 0;gap:30px;}
  .mlh3d-services-showcase{max-width:760px;width:100%;}
  .mlh3d-services-collage{height:360px;}
}
@media(max-width:767px){
  .mlh3d-category-hero__inner--compact{width:calc(100% - 28px);padding:14px 0 12px!important;}
  .mlh3d-category-hero--compact .mlh3d-category-breadcrumbs{margin-bottom:6px!important;font-size:8px;}
  .mlh3d-category-compact-title-row{align-items:center;gap:12px;}
  .mlh3d-category-hero--compact h1{font-size:26px!important;}
  .mlh3d-category-compact-count{min-height:27px;padding:5px 9px;font-size:8px;}
  .mlh3d-category-compact-intro{margin-top:6px!important;font-size:10.5px!important;line-height:1.45!important;}
  .mlh3d-category-navigation--compact{margin:7px 0 12px!important;}
  .mlh3d-category-navigation--compact .mlh3d-shop-category-pills{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px!important;scrollbar-width:none;}
  .mlh3d-category-navigation--compact .mlh3d-shop-category-pills::-webkit-scrollbar{display:none;}
  .mlh3d-category-navigation--compact .mlh3d-shop-category-pill{flex:0 0 auto;}
  .mlh3d-category-seo-description{margin-top:28px;padding:19px 18px;}
  .mlh3d-category-seo-description h2{font-size:18px!important;}

  .mlh3d-services-hero-inner{padding:38px 0 40px;}
  .mlh3d-services-hero h1{font-size:37px;}
  .mlh3d-services-hero-copy{font-size:14px;}
  .mlh3d-services-hero-mini-trust{display:grid;grid-template-columns:repeat(3,1fr);}
  .mlh3d-services-hero-mini-trust span{min-width:0;}
  .mlh3d-services-collage{height:315px;grid-template-columns:1.25fr .9fr;}
  .mlh3d-services-collage__label{left:10px;right:10px;bottom:10px;}
  .mlh3d-services-collage__label strong{font-size:10px;}
  .mlh3d-services-collage__item--1 .mlh3d-services-collage__label strong{font-size:13px;}
  .mlh3d-services-showcase__caption{display:none;}
  .mlh3d-service-card-visual{height:125px;}
  .mlh3d-service-card-body{padding:21px 20px 23px;}
}
@media(max-width:480px){
  .mlh3d-category-compact-title-row{align-items:flex-start;}
  .mlh3d-category-compact-count{margin-top:15px;}
  .mlh3d-services-hero-mini-trust{grid-template-columns:1fr;}
  .mlh3d-services-collage{height:285px;grid-template-columns:1.35fr .85fr;gap:6px;}
  .mlh3d-services-showcase{padding:7px;border-radius:20px;}
  .mlh3d-services-collage__item{border-radius:14px;}
}


/* =========================================================
   V56 · RESEÑAS WOOCOMMERCE CONSISTENTES
   - El listado usa comments_template() desde PHP para que la consulta
     de reseñas y el formulario compartan el mismo estado real.
   ========================================================= */


/* =========================================================
   V61 · ACCESO GOOGLE MINIMALISTA EN MI CUENTA
   - Elimina la tarjeta redundante de V60.
   - Deja Google como acción rápida, integrada entre el hero y correo.
   ========================================================= */
body.woocommerce-account:not(.logged-in) .mlh3d-google-login-v61{
  width:min(540px,100%);
  margin:22px auto 24px;
  text-align:center;
}
.mlh3d-google-login-v61__button{
  width:min(430px,100%);
  margin:0 auto;
}
/* Conserva la identidad oficial de Google y solo ajusta proporciones. */
.mlh3d-google-login-v61__button .nsl-container,
.mlh3d-google-login-v61__button .nsl-container-buttons{
  width:100%!important;
  max-width:none!important;
  margin:0 auto!important;
}
.mlh3d-google-login-v61__button .nsl-button{
  width:100%!important;
  min-height:50px!important;
  border:1px solid #d9e1eb!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(7,24,45,.07)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.mlh3d-google-login-v61__button .nsl-button:hover{
  transform:translateY(-1px);
  border-color:#c9d4e2!important;
  box-shadow:0 9px 24px rgba(7,24,45,.10)!important;
}
.mlh3d-google-login-v61__divider{
  display:flex;
  align-items:center;
  gap:13px;
  width:min(500px,100%);
  margin:17px auto 0;
  color:#7a8798;
  font-size:10.5px;
  line-height:1.3;
}
.mlh3d-google-login-v61__divider:before,
.mlh3d-google-login-v61__divider:after{
  content:"";
  flex:1;
  height:1px;
  background:#dce4ed;
}
.mlh3d-google-login-v61__divider span{
  white-space:nowrap;
  padding:0 2px;
}
@media(max-width:540px){
  body.woocommerce-account:not(.logged-in) .mlh3d-google-login-v61{
    width:100%;
    margin:18px auto 20px;
    padding:0 4px;
  }
  .mlh3d-google-login-v61__button{width:100%;}
  .mlh3d-google-login-v61__divider{gap:9px;font-size:9.5px;margin-top:15px;}
}



/* =========================================================
   V62 · MI CUENTA + GOOGLE INTEGRADOS EN UN SOLO HERO
   - Reduce información redundante del bloque azul.
   - Integra el acceso Google dentro del propio hero.
   - Conserva correo/contraseña como alternativa clara debajo.
   ========================================================= */
body.woocommerce-account:not(.logged-in) .mlh3d-myaccount-hero-v62{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,390px);
  align-items:center;
  gap:34px;
  margin-bottom:0;
  padding:28px 30px;
  overflow:hidden;
}
.mlh3d-myaccount-hero-v62__content{
  min-width:0;
}
.mlh3d-myaccount-hero-v62 .mlh3d-commerce-intro__eyebrow{
  margin:0 0 7px;
  color:#8fc2ff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.mlh3d-myaccount-hero-v62 h2{
  margin:0;
  max-width:650px;
  color:#fff;
  font-size:clamp(25px,3vw,34px);
  line-height:1.08;
  font-weight:900;
  letter-spacing:-.025em;
}
.mlh3d-myaccount-hero-v62__lead{
  margin:9px 0 0!important;
  max-width:620px!important;
  color:#d8e8fa!important;
  font-size:13px!important;
  line-height:1.55!important;
}
.mlh3d-myaccount-hero-v62__highlights{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:17px;
}
.mlh3d-myaccount-hero-v62__highlights span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.075);
  color:#f7fbff;
  font-size:10.5px;
  font-weight:750;
  line-height:1;
  white-space:nowrap;
}
.mlh3d-myaccount-hero-v62__access{
  min-width:0;
  padding-left:30px;
  border-left:1px solid rgba(255,255,255,.15);
}
.mlh3d-myaccount-hero-v62__access-label{
  display:block;
  margin:0 0 9px;
  color:#a9c9ed;
  font-size:9.5px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
  text-align:center;
}
.mlh3d-myaccount-hero-v62__google .nsl-container,
.mlh3d-myaccount-hero-v62__google .nsl-container-buttons{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.mlh3d-myaccount-hero-v62__google .nsl-button{
  width:100%!important;
  min-height:49px!important;
  border:1px solid rgba(255,255,255,.78)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(0,0,0,.16)!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.mlh3d-myaccount-hero-v62__google .nsl-button:hover{
  transform:translateY(-1px);
  box-shadow:0 11px 30px rgba(0,0,0,.21)!important;
}
body.woocommerce-account:not(.logged-in) .mlh3d-google-login-v61{
  display:none!important;
}
.mlh3d-myaccount-email-divider-v62{
  display:flex;
  align-items:center;
  gap:13px;
  width:min(520px,100%);
  margin:20px auto 22px;
  color:#7b8797;
  font-size:10.5px;
  line-height:1.3;
}
.mlh3d-myaccount-email-divider-v62:before,
.mlh3d-myaccount-email-divider-v62:after{
  content:"";
  flex:1;
  height:1px;
  background:#d9e1eb;
}
.mlh3d-myaccount-email-divider-v62 span{
  white-space:nowrap;
}
@media(max-width:820px){
  body.woocommerce-account:not(.logged-in) .mlh3d-myaccount-hero-v62{
    grid-template-columns:1fr;
    gap:20px;
    padding:25px;
  }
  .mlh3d-myaccount-hero-v62__access{
    padding:18px 0 0;
    border-left:0;
    border-top:1px solid rgba(255,255,255,.15);
  }
  .mlh3d-myaccount-hero-v62__google{
    width:min(430px,100%);
    margin:0 auto;
  }
}
@media(max-width:540px){
  body.woocommerce-account:not(.logged-in) .mlh3d-myaccount-hero-v62{
    padding:22px 18px;
    border-radius:18px;
  }
  .mlh3d-myaccount-hero-v62 h2{
    font-size:25px;
  }
  .mlh3d-myaccount-hero-v62__lead{
    font-size:12px!important;
  }
  .mlh3d-myaccount-hero-v62__highlights{
    gap:6px;
    margin-top:14px;
  }
  .mlh3d-myaccount-hero-v62__highlights span{
    min-height:29px;
    padding:6px 9px;
    font-size:9.5px;
  }
  .mlh3d-myaccount-email-divider-v62{
    gap:9px;
    margin:17px auto 19px;
    font-size:9.5px;
  }
}

/* =========================================================
   V69.6 · Descuentos por cantidad configurables por producto
   ========================================================= */
.single-product .mlh3d-bulk-pricing-v67{
  margin:16px 0 18px;
  padding:15px;
  border:1px solid #dbe5f2;
  border-radius:16px;
  background:#f8fbff;
  box-shadow:0 8px 24px rgba(7,24,45,.05);
}
.single-product .mlh3d-bulk-pricing-v67__head{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-bottom:11px;
}
.single-product .mlh3d-bulk-pricing-v67__head strong{
  color:#07182d;
  font-size:14px;
  font-weight:850;
}
.single-product .mlh3d-bulk-pricing-v67__head span{
  color:#66758a;
  font-size:12px;
  line-height:1.45;
}
.single-product .mlh3d-bulk-pricing-v67__tiers{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}
.single-product .mlh3d-bulk-pricing-v67__tiers>div{
  min-width:0;
  padding:9px 6px;
  border:1px solid #dce5ef;
  border-radius:11px;
  background:#fff;
  text-align:center;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background .2s ease;
}
.single-product .mlh3d-bulk-pricing-v67__tiers>div.is-active{
  border-color:#1665d8;
  background:#eef5ff;
  box-shadow:0 0 0 2px rgba(22,101,216,.10);
  transform:translateY(-1px);
}
.single-product .mlh3d-bulk-pricing-v67__tiers b,
.single-product .mlh3d-bulk-pricing-v67__tiers span{
  display:block;
}
.single-product .mlh3d-bulk-pricing-v67__tiers b{
  color:#07182d;
  font-size:13px;
  line-height:1.2;
}
.single-product .mlh3d-bulk-pricing-v67__tiers span{
  margin-top:2px;
  color:#1665d8;
  font-size:11px;
  font-weight:750;
}
.single-product .mlh3d-bulk-pricing-v67__live{
  margin:11px 0 0!important;
  color:#41516a;
  font-size:12px;
  line-height:1.55;
}
.single-product .mlh3d-bulk-pricing-v67__live strong,
.single-product .mlh3d-bulk-pricing-v67__live b{
  color:#07182d;
}
.single-product .mlh3d-bulk-live-price-v67{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:5px 7px;
}
.single-product .mlh3d-bulk-live-price-v67 del{
  opacity:.55;
  font-size:.82em;
}
.single-product .mlh3d-bulk-live-price-v67 ins{
  text-decoration:none;
}
.single-product .mlh3d-bulk-live-price-v67 small{
  flex-basis:100%;
  color:#1665d8;
  font-size:11px;
  font-weight:700;
}
@media(max-width:640px){
  .single-product .mlh3d-bulk-pricing-v67__tiers{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* =========================================================
   V69 · Carrito lateral / Cart Drawer MLH3D
   ========================================================= */
body.mlh3d-drawer-open{overflow:hidden!important;}

.mlh3d-cart-drawer-backdrop{
  position:fixed;
  inset:0;
  z-index:999996;
  background:rgba(7,24,45,.58);
  opacity:0;
  visibility:hidden;
  transition:opacity .24s ease,visibility .24s ease;
  backdrop-filter:blur(1px);
}
.mlh3d-cart-drawer-backdrop.is-open{opacity:1;visibility:visible;}
.mlh3d-cart-drawer-backdrop[hidden]{display:none!important;}

.mlh3d-cart-drawer{
  position:fixed;
  top:0;
  right:0;
  z-index:999997;
  width:min(440px,100vw);
  height:100vh;
  height:100dvh;
  display:flex;
  flex-direction:column;
  background:#fff;
  color:var(--mlh3d-ink);
  box-shadow:-18px 0 55px rgba(7,24,45,.22);
  transform:translate3d(102%,0,0);
  visibility:hidden;
  transition:transform .28s cubic-bezier(.22,.75,.22,1),visibility .28s ease;
  outline:0;
}
.mlh3d-cart-drawer.is-open{transform:translate3d(0,0,0);visibility:visible;}
body.admin-bar .mlh3d-cart-drawer{top:32px;height:calc(100dvh - 32px);}

.mlh3d-cart-drawer-header{
  flex:0 0 auto;
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:15px 18px;
  border-bottom:1px solid #e6ebf1;
  background:#fff;
}
.mlh3d-cart-drawer-title-wrap{display:flex;align-items:center;gap:11px;min-width:0;}
.mlh3d-cart-drawer-title-icon{
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:#eef5ff;
  color:var(--mlh3d-blue);
  border:1px solid #d9e8fb;
}
.mlh3d-cart-drawer-title-icon svg,
.mlh3d-drawer-empty-icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mlh3d-cart-drawer-header h2{
  margin:0!important;
  color:var(--mlh3d-navy)!important;
  font-size:16px!important;
  line-height:1.18!important;
  font-weight:900!important;
  letter-spacing:-.01em;
}
.mlh3d-cart-drawer-subtitle{display:block;margin-top:3px;color:#7c899b;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
.mlh3d-cart-drawer-close{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  border-radius:50%!important;
  background:#f3f6f9!important;
  color:#536174!important;
  box-shadow:none!important;
  font-size:26px!important;
  font-weight:400!important;
  line-height:1!important;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.mlh3d-cart-drawer-close:hover{background:#e9f1fb!important;color:var(--mlh3d-blue)!important;transform:rotate(4deg);}
.mlh3d-cart-drawer-close:focus-visible,
.mlh3d-drawer-qty-btn:focus-visible,
.mlh3d-drawer-remove:focus-visible,
.mlh3d-drawer-checkout:focus-visible,
.mlh3d-drawer-cart-page:focus-visible,
.mlh3d-drawer-shop-link:focus-visible{outline:3px solid rgba(22,101,216,.32)!important;outline-offset:2px!important;}

.mlh3d-cart-drawer-content{
  min-height:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  background:#fff;
}
.mlh3d-drawer-items{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  padding:0 18px;
}
.mlh3d-drawer-item{
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  gap:13px;
  padding:17px 0;
  border-bottom:1px solid #edf1f5;
}
.mlh3d-drawer-item-image{
  width:76px;
  height:76px;
  display:block;
  align-self:start;
  overflow:hidden;
  border:1px solid #e4eaf1;
  border-radius:12px;
  background:#f7f9fb;
}
.mlh3d-drawer-item-image img{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important;margin:0!important;padding:4px!important;}
.mlh3d-drawer-item-main{min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:12px;}
.mlh3d-drawer-item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;}
.mlh3d-drawer-item-name{
  display:block;
  color:var(--mlh3d-navy)!important;
  font-size:12.5px;
  line-height:1.32;
  font-weight:900;
  text-decoration:none!important;
}
.mlh3d-drawer-item-name:hover{color:var(--mlh3d-blue)!important;}
.mlh3d-drawer-item-meta{margin-top:5px;color:#768497;font-size:9.5px;line-height:1.35;font-weight:700;}
.mlh3d-drawer-item-meta dl{margin:0!important;display:flex;flex-wrap:wrap;gap:2px 7px;}
.mlh3d-drawer-item-meta dt,.mlh3d-drawer-item-meta dd{margin:0!important;padding:0!important;float:none!important;}
.mlh3d-drawer-item-meta dt{color:#5b687a;font-weight:800;}
.mlh3d-drawer-item-meta p{margin:0!important;}
.mlh3d-drawer-remove{
  flex:0 0 auto;
  padding:1px 0!important;
  border:0!important;
  background:transparent!important;
  color:#8a5660!important;
  box-shadow:none!important;
  font-size:9.5px!important;
  line-height:1.3!important;
  font-weight:800!important;
  text-decoration:underline!important;
  text-underline-offset:2px;
}
.mlh3d-drawer-remove:hover{color:#b4233b!important;}
.mlh3d-drawer-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.mlh3d-drawer-qty{
  display:inline-flex;
  align-items:center;
  height:34px;
  overflow:hidden;
  border:1px solid #d9e1ea;
  border-radius:10px;
  background:#fff;
}
.mlh3d-drawer-qty-btn{
  width:31px!important;
  height:32px!important;
  min-width:31px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#f5f8fb!important;
  color:#66758a!important;
  box-shadow:none!important;
  font-size:16px!important;
  line-height:1!important;
  font-weight:800!important;
}
.mlh3d-drawer-qty-btn:hover{background:#eaf2fc!important;color:var(--mlh3d-blue)!important;}
.mlh3d-drawer-qty-input{
  width:34px!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-left:1px solid #edf1f5!important;
  border-right:1px solid #edf1f5!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--mlh3d-navy)!important;
  box-shadow:none!important;
  text-align:center!important;
  font-size:11px!important;
  font-weight:900!important;
  -moz-appearance:textfield;
}
.mlh3d-drawer-qty-input::-webkit-inner-spin-button,.mlh3d-drawer-qty-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}
.mlh3d-drawer-item-price{margin-left:auto;display:flex;align-items:flex-end;justify-content:center;flex-direction:column;gap:2px;color:var(--mlh3d-navy);font-size:12px;font-weight:900;white-space:nowrap;}
.mlh3d-drawer-item-price-current{display:block;color:var(--mlh3d-navy);font-size:12px;font-weight:900;line-height:1.15;}
.mlh3d-drawer-item-price-old{display:block;line-height:1;}
.mlh3d-drawer-item-price del{color:#8f9aad;font-size:9px;font-weight:750;}
.mlh3d-drawer-item-price ins{background:none!important;color:inherit;text-decoration:none!important;}
.mlh3d-drawer-item-discount-badge{display:inline-flex;align-items:center;justify-content:center;margin-top:2px;padding:2px 5px;border-radius:999px;background:#e9f8ef;color:#14733f;font-size:8px;font-weight:900;line-height:1.2;}

.mlh3d-drawer-summary{
  flex:0 0 auto;
  padding:15px 18px 18px;
  border-top:1px solid #dfe6ee;
  background:#fff;
  box-shadow:0 -10px 25px rgba(7,24,45,.035);
}
.mlh3d-drawer-feedback{min-height:0;color:#a33948;font-size:10px;font-weight:750;line-height:1.35;}
.mlh3d-drawer-feedback:not(:empty){margin-bottom:8px;padding:8px 10px;border-radius:9px;background:#fff3f5;}
.mlh3d-drawer-summary-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0;color:#46556a;font-size:11px;line-height:1.35;}
.mlh3d-drawer-summary-row strong{color:var(--mlh3d-navy);font-weight:900;text-align:right;}
.mlh3d-drawer-summary-row.is-discount strong{color:#178046;}
.mlh3d-drawer-summary-row.is-subtotal-after{margin-top:4px;padding-top:7px;border-top:1px solid #edf1f5;color:#33445b;font-weight:800;}
.mlh3d-drawer-summary-row.is-tax strong,.mlh3d-drawer-summary-row.is-fee strong{color:#33445b;}
.mlh3d-drawer-summary-row.is-tax-note{padding-top:2px;color:#7b8899;font-size:9.5px;}
.mlh3d-drawer-summary-row.is-tax-note strong{color:#7b8899;font-size:9.5px;}
.mlh3d-drawer-summary-row.is-total{margin-top:8px;padding-top:11px;border-top:1px dashed #dbe3ec;color:var(--mlh3d-navy);font-size:15px;font-weight:900;}
.mlh3d-drawer-summary-row.is-total strong{font-size:17px;}
.mlh3d-drawer-shipping{font-size:10px;font-weight:800!important;color:#65758a!important;}
.mlh3d-drawer-shipping-note{margin:9px 0 12px!important;color:#7b8899;font-size:9.5px;line-height:1.4;text-align:center;}
.mlh3d-drawer-checkout,
.mlh3d-drawer-cart-page,
.mlh3d-drawer-shop-link{
  min-height:46px;
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:100%;
  border-radius:11px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.025em;
  text-align:center;
  text-decoration:none!important;
  text-transform:uppercase;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}
.mlh3d-drawer-checkout{border:1px solid var(--mlh3d-blue);background:var(--mlh3d-blue);color:#fff!important;box-shadow:0 10px 22px rgba(22,101,216,.20);}
.mlh3d-drawer-checkout:hover{background:var(--mlh3d-blue-2);border-color:var(--mlh3d-blue-2);transform:translateY(-1px);}
.mlh3d-drawer-cart-page{min-height:41px;margin-top:8px;border:1px solid #cad5e2;background:#fff;color:var(--mlh3d-navy)!important;}
.mlh3d-drawer-cart-page:hover{border-color:#9cb8dc;background:#f4f8fd;color:var(--mlh3d-blue)!important;}

.mlh3d-drawer-empty{margin:auto;padding:42px 28px;text-align:center;}
.mlh3d-drawer-empty-icon{width:58px;height:58px;margin:0 auto 15px;display:flex;align-items:center;justify-content:center;border-radius:18px;background:#eef5ff;color:var(--mlh3d-blue);}
.mlh3d-drawer-empty-icon svg{width:27px;height:27px;}
.mlh3d-drawer-empty h3{margin:0 0 8px!important;color:var(--mlh3d-navy)!important;font-size:19px!important;font-weight:900!important;}
.mlh3d-drawer-empty p{max-width:270px;margin:0 auto 18px!important;color:#718095;font-size:11px;line-height:1.55;}
.mlh3d-drawer-shop-link{max-width:220px;margin:0 auto;border:1px solid var(--mlh3d-blue);background:var(--mlh3d-blue);color:#fff!important;}

.mlh3d-cart-drawer.is-updating .mlh3d-drawer-items,
.mlh3d-cart-drawer.is-updating .mlh3d-drawer-summary{pointer-events:none;opacity:.58;}
.mlh3d-cart-drawer.is-updating:after{
  content:"";
  position:absolute;
  top:88px;
  right:18px;
  width:18px;
  height:18px;
  border:2px solid #dce7f5;
  border-top-color:var(--mlh3d-blue);
  border-radius:50%;
  animation:mlh3dDrawerSpin .7s linear infinite;
}
@keyframes mlh3dDrawerSpin{to{transform:rotate(360deg)}}

@media(max-width:600px){
  .mlh3d-cart-drawer{width:100vw;max-width:none;}
  body.admin-bar .mlh3d-cart-drawer{top:46px;height:calc(100dvh - 46px);}
  .mlh3d-cart-drawer-header{min-height:66px;padding:12px 14px;}
  .mlh3d-cart-drawer-title-icon{width:33px;height:33px;flex-basis:33px;border-radius:10px;}
  .mlh3d-cart-drawer-header h2{font-size:15px!important;}
  .mlh3d-drawer-items{padding:0 14px;}
  .mlh3d-drawer-item{grid-template-columns:68px minmax(0,1fr);gap:11px;padding:14px 0;}
  .mlh3d-drawer-item-image{width:68px;height:68px;}
  .mlh3d-drawer-item-name{font-size:11.5px;}
  .mlh3d-drawer-item-meta{font-size:9px;}
  .mlh3d-drawer-item-heading{gap:6px;}
  .mlh3d-drawer-summary{padding:13px 14px calc(14px + env(safe-area-inset-bottom));}
  .mlh3d-drawer-checkout{min-height:47px;}
}


/* =========================================================
   V69.4 · Ficha de producto mejor organizada
   - Aprovecha el espacio bajo la galería en escritorio.
   - Mantiene la zona de compra enfocada en la columna derecha.
   - En móvil conserva: imagen -> compra -> información.
   ========================================================= */
@media (min-width:981px){
  .single-product div.product{
    grid-template-columns:minmax(0,1.02fr) minmax(380px,.82fr);
    grid-template-rows:auto auto auto;
    column-gap:38px;
    row-gap:18px;
  }
  .single-product div.product .woocommerce-product-gallery{
    grid-column:1;
    grid-row:1;
  }
  .single-product div.product .summary{
    grid-column:2;
    grid-row:1 / span 3;
    align-self:start;
  }
  .single-product div.product > .mlh3d-technical-sheet{
    grid-column:1;
    grid-row:2;
    width:100%;
    margin:0;
    padding:22px 24px;
    border-radius:18px;
    box-shadow:0 9px 26px rgba(7,24,45,.045);
  }
  .single-product div.product > .mlh3d-product-confidence{
    grid-column:1;
    grid-row:3;
    width:100%;
    margin:0;
    padding:20px;
    border:1px solid #dfe7f0;
    border-radius:18px;
    background:#fff;
    box-shadow:0 9px 26px rgba(7,24,45,.045);
  }
  .single-product div.product > .mlh3d-product-description-visible,
  .single-product div.product > .woocommerce-tabs,
  .single-product div.product > .mlh3d-visible-reviews,
  .single-product div.product > .related,
  .single-product div.product > .up-sells{
    grid-column:1 / -1;
  }
  .single-product div.product > .mlh3d-product-description-visible{
    width:100%;
    margin:10px 0 0;
  }
}

.single-product div.product > .mlh3d-product-confidence{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  border-top:1px solid #dfe7f0;
}
.single-product div.product > .mlh3d-product-confidence .mlh3d-product-confidence__head{
  grid-column:1 / -1;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:3px;
  padding-bottom:12px;
  border-bottom:1px solid #edf1f6;
}
.single-product div.product > .mlh3d-product-confidence .mlh3d-product-confidence__head span{
  color:var(--mlh3d-blue);
  font-size:9.5px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.single-product div.product > .mlh3d-product-confidence .mlh3d-product-confidence__head strong{
  color:var(--mlh3d-navy);
  font-size:12px;
  line-height:1.35;
  text-align:right;
}

@media (min-width:981px){
  .single-product div.product > .mlh3d-technical-sheet .mlh3d-technical-sheet__head{
    align-items:flex-start;
  }
  .single-product div.product > .mlh3d-technical-sheet .mlh3d-technical-sheet__head h2{
    font-size:21px;
  }
  .single-product div.product > .mlh3d-technical-sheet .mlh3d-technical-sheet__head p{
    max-width:250px;
    font-size:10px;
  }
  .single-product div.product > .mlh3d-technical-sheet dl{
    grid-template-columns:1fr;
  }
  .single-product div.product > .mlh3d-technical-sheet dl>div{
    grid-template-columns:minmax(125px,.85fr) minmax(0,1.15fr);
    padding:11px 0;
  }
}

@media (max-width:980px){
  .single-product div.product .woocommerce-product-gallery{order:1;}
  .single-product div.product .summary{order:2;}
  .single-product div.product > .mlh3d-technical-sheet{order:3;}
  .single-product div.product > .mlh3d-product-confidence{order:4;}
  .single-product div.product > .mlh3d-product-description-visible{order:5;}
  .single-product div.product > .woocommerce-tabs,
  .single-product div.product > .mlh3d-visible-reviews{order:6;}
  .single-product div.product > .related,
  .single-product div.product > .up-sells{order:7;}
  .single-product div.product > .mlh3d-technical-sheet,
  .single-product div.product > .mlh3d-product-confidence,
  .single-product div.product > .mlh3d-product-description-visible{
    width:100%;
    margin:0;
  }
  .single-product div.product > .mlh3d-product-confidence{
    padding:18px;
    border:1px solid #dfe7f0;
    border-radius:17px;
    background:#fff;
    box-shadow:0 9px 26px rgba(7,24,45,.045);
  }
}

@media (max-width:640px){
  .single-product div.product > .mlh3d-product-confidence{
    grid-template-columns:1fr;
    padding:15px;
  }
  .single-product div.product > .mlh3d-product-confidence .mlh3d-product-confidence__head{
    display:block;
  }
  .single-product div.product > .mlh3d-product-confidence .mlh3d-product-confidence__head strong{
    display:block;
    margin-top:4px;
    text-align:left;
  }
  .single-product div.product > .mlh3d-technical-sheet{
    padding:18px 16px;
  }
}

/* =========================================================
   V69.5 · Cantidad antes de la personalización
   - Hace visible la decisión de cantidad antes de los campos obligatorios.
   - Conserva el input nativo de WooCommerce y su validación.
   ========================================================= */
.single-product form.cart .mlh3d-product-quantity-priority{
  width:100%;
  flex:0 0 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:14px 0 8px;
  padding:14px 16px;
  border:1px solid #dbe5f1;
  border-radius:14px;
  background:#f8fbff;
}
.single-product form.cart .mlh3d-product-quantity-priority__copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.single-product form.cart .mlh3d-product-quantity-priority__copy span{
  color:var(--mlh3d-blue);
  font-size:9px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.single-product form.cart .mlh3d-product-quantity-priority__copy strong{
  color:var(--mlh3d-navy);
  font-size:12px;
  line-height:1.35;
  font-weight:850;
}
.single-product form.cart .mlh3d-product-quantity-priority .quantity{
  flex:0 0 auto;
  margin:0!important;
}
.single-product form.cart .mlh3d-product-quantity-priority .quantity .qty{
  margin:0!important;
}
.single-product form.cart .mlh3d-product-quantity-priority + .mlh3d-product-customizer{
  margin-top:10px;
}
@media(max-width:520px){
  .single-product form.cart .mlh3d-product-quantity-priority{
    align-items:flex-start;
    padding:13px 14px;
  }
  .single-product form.cart .mlh3d-product-quantity-priority__copy strong{
    font-size:11.5px;
  }
}


/* V69.8 · CTA directo de compra para productos simples no personalizables. */
.mlh3d-product-card .add_to_cart_button.mlh3d-outline-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* V6.9.10: alineación de catálogo, categorías y relacionados en Astra. */
body.woocommerce ul.products,
body.woocommerce-page ul.products {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:24px 20px!important;
}
body.woocommerce ul.products::before,
body.woocommerce ul.products::after,
body.woocommerce-page ul.products::before,
body.woocommerce-page ul.products::after {display:none!important;}
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product {
  width:auto!important;float:none!important;clear:none!important;margin:0!important;
  min-width:0;display:flex!important;flex-direction:column;align-self:stretch;
}
body.woocommerce ul.products li.product .astra-shop-summary-wrap,
body.woocommerce-page ul.products li.product .astra-shop-summary-wrap {
  display:flex;flex-direction:column;flex:1;min-width:0;
}
body.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img,
body.woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap img {
  width:100%;aspect-ratio:1;object-fit:cover;
}
body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere;
  height:auto!important;-webkit-line-clamp:unset!important;
}
body.woocommerce ul.products li.product a.button,
body.woocommerce-page ul.products li.product a.button {
  box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;
  align-self:stretch;min-height:46px!important;white-space:normal!important;
  text-align:center;line-height:1.3!important;
}
.mlh3d-product-card,.mlh3d-featured-card {min-width:0;display:flex;flex-direction:column;}
.mlh3d-product-body,.mlh3d-featured-card__body {display:flex;flex-direction:column;flex:1;min-width:0;}
.mlh3d-product-body h3,.mlh3d-featured-card__body h3 {height:auto;overflow-wrap:anywhere;}
.mlh3d-product-body .mlh3d-outline-button,.mlh3d-featured-card__button {
  box-sizing:border-box;min-height:46px;display:flex;align-items:center;justify-content:center;
  white-space:normal;text-align:center;line-height:1.3;
}
@media(max-width:1024px) and (min-width:769px){
  body.woocommerce ul.products,body.woocommerce-page ul.products {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:768px){
  body.woocommerce ul.products,body.woocommerce-page ul.products {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 12px!important;}
  body.woocommerce ul.products li.product a.button,body.woocommerce-page ul.products li.product a.button {
    font-size:12px!important;letter-spacing:0!important;padding:10px 8px!important;
  }
}

/* V6.9.11: exclusivamente Inicio. */
.mlh3d-home-v6911{background:#f6f8fb;}
.mlh3d-home-v6911 .mlh3d-home-hero{background:#07182d;color:#fff;overflow:hidden;}
.mlh3d-home-v6911 .mlh3d-home-hero__inner{max-width:1440px;margin:0 auto;display:grid;grid-template-columns:40% 60%;align-items:center;padding:0 28px;}
.mlh3d-home-v6911 .mlh3d-home-hero__copy{position:relative;z-index:2;padding:42px 0 46px;}
.mlh3d-home-v6911 .mlh3d-home-hero__brand{display:flex;align-items:center;gap:14px;margin-bottom:30px;}
.mlh3d-home-v6911 .mlh3d-home-hero__brand img{width:64px;height:64px;object-fit:contain;}
.mlh3d-home-v6911 .mlh3d-home-hero__brand span{max-width:190px;font-size:13px;color:#cad6e7;line-height:1.5;}
.mlh3d-home-v6911 .mlh3d-home-hero__eyebrow{color:#85baff;font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;margin:0 0 15px;}
.mlh3d-home-v6911 .mlh3d-home-hero h1{font-size:clamp(36px,4vw,60px);line-height:1.08;letter-spacing:-.045em;color:#fff;margin:0 0 20px;font-weight:800;}
.mlh3d-home-v6911 .mlh3d-home-hero h1 span{color:#4d99ff;display:block;}
.mlh3d-home-v6911 .mlh3d-home-hero__lead{font-size:18px;line-height:1.65;color:#e0e7f0;max-width:440px;margin:0;}
.mlh3d-home-v6911 .mlh3d-home-hero__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;}
.mlh3d-home-v6911 .mlh3d-home-hero__actions a{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:12px 18px;border-radius:7px;font-size:14px;font-weight:700;text-decoration:none;line-height:1.35;color:#fff;border:1px solid transparent;}
.mlh3d-home-v6911 .mlh3d-home-hero__primary{background:#1665d8;}
.mlh3d-home-v6911 .mlh3d-home-hero__secondary{background:transparent;border-color:#76869b!important;}
.mlh3d-home-v6911 .mlh3d-home-hero__actions a:hover{background:#225fb3;}
.mlh3d-home-v6911 a:focus-visible{outline:3px solid #75b4ff;outline-offset:4px;}
.mlh3d-home-v6911 .mlh3d-home-hero__details{display:flex;flex-wrap:wrap;gap:10px 16px;padding:0;margin:27px 0 0;list-style:none;font-size:11px;color:#d8e2ee;}
.mlh3d-home-v6911 .mlh3d-home-hero__details li{margin:0;}
.mlh3d-home-v6911 .mlh3d-home-hero__details li:before{content:'✓';color:#65adff;margin-right:6px;}
.mlh3d-home-v6911 .mlh3d-home-hero__art{position:relative;aspect-ratio:4/3;overflow:hidden;align-self:center;margin-right:-28px;}
.mlh3d-home-v6911 .mlh3d-home-hero__art img{position:absolute;right:0;bottom:0;width:150%;max-width:none;height:auto;display:block;}
.mlh3d-home-v6911 .mlh3d-home-hero__art:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#07182d 0%,transparent 14%),linear-gradient(0deg,#07182d 0%,transparent 15%);}
.mlh3d-home-v6911 .mlh3d-home-shell{max-width:1240px;padding:42px 24px 56px;margin:0 auto;}
.mlh3d-home-v6911 .mlh3d-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;}
.mlh3d-home-v6911 .mlh3d-home-kicker{color:#587086;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin:0 0 7px;}
.mlh3d-home-v6911 .mlh3d-section-heading h2,.mlh3d-home-v6911 .mlh3d-home-steps h2{font-size:clamp(27px,3vw,36px);line-height:1.2;letter-spacing:-.035em;color:#07182d;margin:0;}
.mlh3d-home-v6911 .mlh3d-home-catalog-link{font-size:13px;color:#1665d8;font-weight:700;text-decoration:none;}
.mlh3d-home-v6911 .mlh3d-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.mlh3d-home-v6911 .mlh3d-product-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;box-shadow:0 4px 14px rgba(7,24,45,.035);overflow:hidden;}
.mlh3d-home-v6911 .mlh3d-product-image{display:block;aspect-ratio:1/1;overflow:hidden;background:#edf1f6;}
.mlh3d-home-v6911 .mlh3d-product-image img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .25s;}
.mlh3d-home-v6911 .mlh3d-product-card:hover .mlh3d-product-image img{transform:scale(1.025);}
.mlh3d-home-v6911 .mlh3d-product-body{padding:17px;gap:0;}
.mlh3d-home-v6911 .mlh3d-home-card-category{margin:0 0 8px;color:#667789;font-size:10px;letter-spacing:.065em;text-transform:uppercase;}
.mlh3d-home-v6911 .mlh3d-product-body h3{margin:0 0 10px;font-size:16px;line-height:1.45;min-height:0;}
.mlh3d-home-v6911 .mlh3d-product-body h3 a{color:#07182d;text-decoration:none;}
.mlh3d-home-v6911 .mlh3d-home-product-price{font-size:15px;font-weight:750;color:#1665d8;margin:0 0 15px;}
.mlh3d-home-v6911 .mlh3d-product-body .mlh3d-outline-button{width:100%;background:#1665d8;color:white;border:1px solid #1665d8;border-radius:6px;font-size:13px;min-height:46px;padding:11px;}
.mlh3d-home-v6911 .mlh3d-home-steps{margin:44px 0;padding:28px;background:#eaf1fa;border:1px solid #dae5f2;border-radius:12px;}
.mlh3d-home-v6911 .mlh3d-home-steps ol{list-style:none;padding:0;margin:24px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.mlh3d-home-v6911 .mlh3d-home-steps li{display:flex;gap:13px;margin:0;}
.mlh3d-home-v6911 .mlh3d-home-steps li>span{background:#d6e6fc;color:#1665d8;width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;font-weight:800;}
.mlh3d-home-v6911 .mlh3d-home-steps h3{font-size:15px;margin:2px 0 8px;line-height:1.35;}
.mlh3d-home-v6911 .mlh3d-home-steps li p{font-size:13px;line-height:1.65;color:#536479;margin:0;}
@media(max-width:900px){
 .mlh3d-home-v6911 .mlh3d-home-hero__inner{grid-template-columns:1fr;padding:0 24px;}
 .mlh3d-home-v6911 .mlh3d-home-hero__copy{padding:30px 0 6px;max-width:610px;}
 .mlh3d-home-v6911 .mlh3d-home-hero__brand{margin-bottom:22px;}
 .mlh3d-home-v6911 .mlh3d-home-hero__art{width:min(100%,650px);margin:-12px -24px 0 auto;}
 .mlh3d-home-v6911 .mlh3d-home-hero__lead{max-width:560px;}
 .mlh3d-home-v6911 .mlh3d-home-steps ol{gap:16px;}
}
@media(max-width:600px){
 .mlh3d-home-v6911 .mlh3d-home-hero__inner{padding:0 20px;}
 .mlh3d-home-v6911 .mlh3d-home-hero h1{font-size:38px;}
 .mlh3d-home-v6911 .mlh3d-home-hero__brand img{width:48px;height:48px;}
 .mlh3d-home-v6911 .mlh3d-home-hero__brand span{font-size:11px;}
 .mlh3d-home-v6911 .mlh3d-home-hero__lead{font-size:16px;}
 .mlh3d-home-v6911 .mlh3d-home-hero__actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:22px;}
 .mlh3d-home-v6911 .mlh3d-home-hero__details{margin-top:20px;gap:8px 12px;font-size:10px;}
 .mlh3d-home-v6911 .mlh3d-home-hero__art{margin:0 -20px 0 auto;width:calc(100% + 20px);}
 .mlh3d-home-v6911 .mlh3d-home-shell{padding:30px 14px 40px;}
 .mlh3d-home-v6911 .mlh3d-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 .mlh3d-home-v6911 .mlh3d-product-body{padding:12px;}
 .mlh3d-home-v6911 .mlh3d-product-body h3{font-size:13px;line-height:1.45;}
 .mlh3d-home-v6911 .mlh3d-home-product-price{font-size:13px;}
 .mlh3d-home-v6911 .mlh3d-product-body .mlh3d-outline-button{font-size:12px;padding:9px 6px;}
 .mlh3d-home-v6911 .mlh3d-home-card-category{font-size:9px;}
 .mlh3d-home-v6911 .mlh3d-section-heading{align-items:flex-end;gap:12px;}
 .mlh3d-home-v6911 .mlh3d-home-catalog-link{font-size:11px;max-width:95px;text-align:right;}
 .mlh3d-home-v6911 .mlh3d-home-kicker{font-size:9px;}
 .mlh3d-home-v6911 .mlh3d-home-steps{padding:22px 18px;margin:30px 0;}
 .mlh3d-home-v6911 .mlh3d-home-steps ol{grid-template-columns:1fr;gap:22px;}
}
@media(prefers-reduced-motion:reduce){.mlh3d-home-v6911 .mlh3d-product-image img{transition:none;}}
/* Restablece únicamente los valores heredados de las tarjetas antiguas del Inicio. */
.mlh3d-home-v6911 .mlh3d-home-shell{width:100%;box-sizing:border-box;}
.mlh3d-home-v6911 .mlh3d-products-grid{overflow:visible;scroll-snap-type:none;padding:0;}
.mlh3d-home-v6911 .mlh3d-product-body{align-items:stretch;justify-content:flex-start;text-align:left;min-height:0;}
.mlh3d-home-v6911 .mlh3d-product-body h3{text-transform:none;letter-spacing:0;}
.mlh3d-home-v6911 .mlh3d-home-product-price ins{color:#1665d8;}
.mlh3d-home-v6911 .mlh3d-section-heading h2{max-width:none;}
.mlh3d-home-v6911 .mlh3d-home-hero__inner,.mlh3d-home-v6911 .mlh3d-home-hero__copy{min-width:0;}

/* 6.9.17: stable desktop image boxes for the high-resolution picture source.
   Preserve mobile layout and the original image-selection filter. */
@media (min-width:921px){
  .mlh3d-catalog-hd{
    display:block!important;
    position:relative;
    width:100%;
    aspect-ratio:1 / 1;
    overflow:hidden;
    background:#f2f4f7;
  }
  body .mlh3d-catalog-hd > img{
    position:absolute!important;
    inset:0;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:none!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:center;
  }
  body ul.products li.product .mlh3d-catalog-hd{margin-bottom:12px;}
  .mlh3d-product-image .mlh3d-catalog-hd{height:100%;margin:0;}
}
