/* MAYORLED 6.34: Galerías editables y uniformidad de tarjetas. */
body.ml34-gallery-native {background:#f4f1eb;}
body.ml34-gallery-native .site-content .content-area,
body.ml34-gallery-native #primary {width:100%!important;max-width:100%!important;flex:0 0 100%!important;float:none!important;}
body.ml34-gallery-native .site-content .widget-area,
body.ml34-gallery-native .site-content #secondary {display:none!important;}
body.ml34-gallery-native .ml34-album-root{
  width:100%;max-width:1200px;box-sizing:border-box;margin:12px auto 38px;
  padding:clamp(19px,3.2vw,42px);background:#fff;border:1px solid #e0e9f2;
  box-shadow:0 10px 32px rgba(13,41,73,.04);border-radius:18px;
  display:flex;flex-direction:column;gap:24px;
}
body.ml34-gallery-native .ml34-gallery-header{padding-bottom:20px;border-bottom:1px solid #e3eaf3;display:flex;flex-direction:column;gap:8px;}
body.ml34-gallery-native .ml34-gallery-kicker h1,
body.ml34-gallery-native .ml34-gallery-kicker h2,
body.ml34-gallery-native .ml34-gallery-kicker h5{font-size:12px!important;letter-spacing:.1em!important;font-weight:800!important;color:#a26c06!important;text-transform:uppercase;line-height:1.5!important;margin:0!important;}
body.ml34-gallery-native .ml34-gallery-title h1{font-size:clamp(28px,3.1vw,42px)!important;line-height:1.12!important;letter-spacing:-.025em!important;font-weight:850!important;color:#102d4c!important;margin:0!important;}
body.ml34-gallery-native .ml34-gallery-description p{font-size:clamp(14px,1.45vw,17px)!important;line-height:1.65!important;color:#546a80!important;margin:0!important;}
body.ml34-gallery-native .ml34-gallery-photos{width:100%;display:block!important;}
body.ml34-gallery-native .ml34-gallery-photos .elementor-image-gallery .gallery,
body.ml34-gallery-native .ml34-gallery-photos .gallery{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;
 width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;
}
body.ml34-gallery-native .ml34-gallery-photos .gallery-item{
 width:100%!important;max-width:none!important;float:none!important;margin:0!important;
 padding:0!important;list-style:none!important;min-width:0!important;box-sizing:border-box!important;
 border:1px solid #dce7f1;border-radius:12px;overflow:hidden;background:#f7fafc;
 box-shadow:0 2px 9px rgba(12,43,72,.05);transition:box-shadow .2s ease;
}
body.ml34-gallery-native .ml34-gallery-photos .gallery-item:hover{box-shadow:0 10px 23px rgba(12,43,72,.1)}
body.ml34-gallery-native .ml34-gallery-photos .gallery-icon,
body.ml34-gallery-native .ml34-gallery-photos .gallery-icon a{display:block!important;width:100%!important;margin:0!important;}
body.ml34-gallery-native .ml34-gallery-photos .gallery-icon img{
 display:block!important;width:100%!important;max-width:none!important;height:250px!important;
 object-fit:cover!important;object-position:center!important;padding:0!important;border:0!important;margin:0!important;
 box-sizing:border-box!important;transition:transform .2s ease;
}
body.ml34-gallery-native .ml34-gallery-photos .gallery-item:hover img{transform:scale(1.02)}
body.ml34-gallery-native .ml34-gallery-photos .gallery-caption{padding:9px;font-size:13px;color:#516984;}
body.ml34-gallery-native .ml34-gallery-single .ml34-gallery-photos .gallery{grid-template-columns:minmax(0,760px)!important;}
body.ml34-gallery-native .ml34-gallery-single .ml34-gallery-photos .gallery-icon img{height:auto!important;max-height:540px;object-fit:contain!important;background:#f8fafc;}
body.ml34-gallery-native .ml34-cover-fallback img{display:block;width:100%!important;max-width:770px!important;max-height:530px!important;height:auto!important;object-fit:contain!important;border-radius:13px;background:#f7fafc;}
body.ml34-gallery-native .ml34-gallery-bottom{border-top:1px solid #e3eaf3;padding-top:20px!important;}
body.ml34-gallery-native .ml34-gallery-back a.elementor-button{background:#ffd11c!important;color:#142f4d!important;font-weight:800;border-radius:9px;padding:13px 20px;box-shadow:none!important;}
body.ml34-gallery-native .ml34-gallery-back a.elementor-button:hover{background:#edc20f!important;}
/* Relacionados y Ofertas: misma tarjeta generada en DOM a partir de los precios reales visibles. */
body.single-product .ml34-product-section{width:100%!important;max-width:100%!important;min-width:0!important;clear:both;float:none!important;}
body.single-product .ml34-product-section > h2,
body.single-product .ml34-product-section > h3{font-size:clamp(20px,2vw,24px)!important;font-weight:800!important;color:#122e4d!important;margin-bottom:16px!important;}
body.single-product .ml34-product-section .ml34-original-list{display:none!important;}
body.single-product .ml34-replacement-grid{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;
 align-items:stretch!important;width:100%!important;max-width:100%!important;margin:0 0 28px!important;
 padding:0!important;box-sizing:border-box!important;clear:both!important;
}
body.single-product .ml34-replacement-grid .ml34-card{
 display:flex!important;flex-direction:column!important;gap:0!important;min-width:0!important;
 width:100%!important;max-width:none!important;margin:0!important;padding:13px!important;border-radius:13px!important;
 border:1px solid #dbe6f2!important;background:#fff!important;box-sizing:border-box!important;
 box-shadow:0 4px 14px rgba(15,48,81,.035)!important;position:relative!important;transform:none!important;
}
body.single-product .ml34-card-title{
 text-decoration:none!important;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;
 overflow:hidden!important;font-size:14px!important;font-weight:800!important;line-height:1.45!important;
 color:#112e4c!important;min-height:4.25em!important;max-height:4.25em!important;margin:0 0 9px!important;
}
body.single-product .ml34-card-media{
 position:relative!important;display:block!important;width:100%!important;height:190px!important;max-height:190px!important;
 min-height:0!important;overflow:hidden!important;border-radius:9px!important;background:#f5f8fb!important;
 margin:0 0 11px!important;padding:0!important;box-sizing:border-box!important;
}
body.single-product .ml34-replacement-grid .ml34-card .ml34-card-image{
 position:relative!important;width:100%!important;height:100%!important;max-width:100%!important;
 max-height:100%!important;display:block!important;object-fit:contain!important;object-position:center!important;
 padding:5px!important;margin:0!important;border:0!important;box-sizing:border-box!important;background:#f5f8fb!important;
}
body.single-product .ml34-replacement-grid .ml34-card .ml34-card-image-alt{
 position:absolute!important;inset:0!important;opacity:0!important;visibility:hidden!important;
 pointer-events:none!important;transition:opacity .2s ease!important;
}
@media(hover:hover) and (pointer:fine){
 body.single-product .ml34-card.ml34-alt-loaded .ml34-card-media:hover .ml34-card-image-alt,
 body.single-product .ml34-card.ml34-alt-loaded .ml34-card-media:focus .ml34-card-image-alt{opacity:1!important;visibility:visible!important;}
}
body.single-product .ml34-replacement-grid .ml34-card-price{
 margin:auto 0 12px!important;min-height:1.5em!important;color:#102d4c!important;
 font-size:clamp(16px,1.5vw,20px)!important;line-height:1.3!important;font-weight:850!important;
}
body.single-product .ml34-replacement-grid .ml34-card-price :is(.price,.woocommerce-Price-amount,.amount){color:inherit!important;font-size:inherit!important;font-weight:inherit!important;}
body.single-product .ml34-replacement-grid .ml34-card-price del{opacity:.55!important;font-size:.75em!important;}
body.single-product .ml34-replacement-grid .ml34-card-price ins{text-decoration:none!important;}
body.single-product .ml34-card-action{
 display:flex!important;align-items:center!important;justify-content:center!important;
 text-decoration:none!important;background:#ffd11c!important;color:#112e4c!important;font-weight:800!important;
 border-radius:8px!important;padding:10px!important;width:100%!important;min-height:41px!important;box-sizing:border-box!important;
 font-size:13px!important;line-height:1.3!important;margin:0!important;
}
body.single-product .ml34-card-action:hover{background:#edc20f!important;color:#112e4c!important;}
@media(max-width:1024px){
 body.single-product .ml34-replacement-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 body.ml34-gallery-native .ml34-gallery-photos .gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:620px){
 body.ml34-gallery-native .ml34-album-root{padding:18px 14px;margin:8px auto 24px;border-radius:12px;gap:15px;}
 body.ml34-gallery-native .ml34-gallery-photos .gallery{grid-template-columns:minmax(0,1fr)!important;gap:13px!important;}
 body.ml34-gallery-native .ml34-gallery-photos .gallery-icon img{height:260px!important;}
 body.single-product .ml34-replacement-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
 body.single-product .ml34-replacement-grid .ml34-card{padding:10px!important;}
 body.single-product .ml34-card-title{font-size:12px!important;min-height:4.3em!important;max-height:4.3em!important;}
 body.single-product .ml34-card-media{height:146px!important;max-height:146px!important;}
 body.single-product .ml34-replacement-grid .ml34-card-price{font-size:16px!important;}
 body.single-product .ml34-card-action{font-size:12px!important;padding:8px 5px!important;}
}
@media(max-width:380px){body.single-product .ml34-replacement-grid{grid-template-columns:minmax(0,1fr)!important;}}
@media(prefers-reduced-motion:reduce){body.ml34-gallery-native .ml34-gallery-photos img,body.single-product .ml34-card-image-alt{transition:none!important;}}
