/* MAYORLED 6.16 · compatibilidad Electro / Elementor / WooCommerce.
   Los selectores están limitados a la página pertinente; todo el checkout sigue siendo WooCommerce.
*/
:root{--ml16-ink:#102b49;--ml16-blue:#1676bc;--ml16-gold:#ffd118;--ml16-line:#dce7f1;--ml16-surface:#f5f8fb;--ml16-muted:#5b6f84}

/* --------- Contenedor y área útil: corregir ancho que Electro reserva incluso sin sidebar --------- */
body.ml16-single #content .content-area,
body.ml16-cart #content .content-area,
body.ml16-checkout #content .content-area,
body.ml16-single #primary,
body.ml16-cart #primary,
body.ml16-checkout #primary,
body.ml16-single .site-content .content-area,
body.ml16-cart .site-content .content-area,
body.ml16-checkout .site-content .content-area{
 width:100%!important;max-width:100%!important;flex:1 1 100%!important;float:none!important;min-width:0!important;
}
body.ml16-single #secondary,body.ml16-single #sidebar,
body.ml16-cart #secondary,body.ml16-cart #sidebar,
body.ml16-checkout #secondary,body.ml16-checkout #sidebar,
body.ml16-single .site-content aside.sidebar,
body.ml16-cart .site-content aside.sidebar,
body.ml16-checkout .site-content aside.sidebar{
 display:none!important;
}
body.ml16-single .site-content .container,body.ml16-cart .site-content .container,
body.ml16-checkout .site-content .container{
 max-width:1380px!important;width:calc(100% - 40px)!important;margin-left:auto!important;margin-right:auto!important;
}
body.ml16-single .site-content .row,body.ml16-cart .site-content .row,
body.ml16-checkout .site-content .row{min-width:0!important}
body.ml16-single #main,body.ml16-cart #main,body.ml16-checkout #main{min-width:0!important;max-width:100%!important}
body.ml16-single .site-content,body.ml16-cart .site-content,
body.ml16-checkout .site-content{overflow-x:clip}

/* --------- Portada: fotos grandes e íntegras, con fondo ambiental que ocupa el espacio sobrante --------- */
body .ml-home-2026 .mlp-carousel .mlp-card{border-radius:18px!important;border:1px solid var(--ml16-line)!important;box-shadow:0 8px 25px rgba(8,35,61,.06)!important}
body .ml-home-2026 .mlp-carousel .mlp-card .mlp-image-link{
 height:320px!important;min-height:320px!important;max-height:320px!important;
 background:#eaf0f5!important;border-radius:14px!important;margin:0!important;overflow:hidden!important;
}
body .ml-home-2026 .mlp-carousel .mlp-photo-backdrop{
 display:block!important;visibility:visible!important;opacity:.62!important;
 background-size:cover!important;background-position:center!important;
 filter:blur(15px) saturate(.85)!important;transform:scale(1.14)!important;
 inset:-20px!important;
}
body .ml-home-2026 .mlp-carousel .mlp-image-link:after{
 content:''!important;position:absolute!important;inset:0!important;
 background:rgba(255,255,255,.20)!important;z-index:0!important;pointer-events:none!important;
}
body .ml-home-2026 .mlp-carousel .mlp-card .mlp-image-link img.mlp-photo{
 height:100%!important;width:100%!important;max-width:100%!important;max-height:100%!important;
 object-fit:contain!important;object-position:center!important;padding:0!important;z-index:2!important;
 filter:drop-shadow(0 6px 10px rgba(10,28,44,.14))!important;
}
body .ml-home-2026 .mlp-carousel .mlp-details{padding:16px 9px 10px!important}
body .ml-home-2026 .mlp-carousel .mlp-name{font-size:17px!important;line-height:1.35!important;min-height:46px!important}
body .ml-home-2026 .mlp-carousel .mlp-price{font-size:25px!important}
@media(min-width:651px) and (max-width:1000px){body .ml-home-2026 .mlp-carousel .mlp-card .mlp-image-link{height:270px!important;min-height:270px!important;max-height:270px!important}}
@media(max-width:650px){body .ml-home-2026 .mlp-carousel .mlp-card .mlp-image-link{height:285px!important;min-height:285px!important;max-height:285px!important}}

/* --------- Tienda y categoría: tarjetas mejor distribuidas y fotos sin recorte --------- */
body.ml16-catalog .site-content ul.products > li.product,
body.ml15-catalog .site-content ul.products > li.product{
 border-radius:17px!important;box-shadow:0 6px 24px rgba(16,43,73,.055)!important;
}
body.ml16-catalog .site-content ul.products > li.product .product-item__inner,
body.ml15-catalog .site-content ul.products > li.product .product-item__inner{
 padding:17px!important;
}
body.ml16-catalog ul.products > li.product .product-thumbnail,
body.ml16-catalog ul.products > li.product .product-loop-image,
body.ml15-catalog ul.products > li.product .product-thumbnail,
body.ml15-catalog ul.products > li.product .product-loop-image{
 height:275px!important;min-height:275px!important;max-height:275px!important;
 background:#f2f5f8!important;
}
body.ml16-catalog ul.products > li.product img:not(.emoji),
body.ml15-catalog ul.products > li.product img:not(.emoji){
 width:100%!important;max-width:100%!important;height:265px!important;max-height:265px!important;
 object-fit:contain!important;padding:0!important;
}
body.ml16-catalog ul.products > li.product .price,
body.ml15-catalog ul.products > li.product .price{font-size:25px!important}
@media(max-width:767px){
 body.ml16-catalog ul.products > li.product .product-thumbnail,
 body.ml16-catalog ul.products > li.product .product-loop-image,
 body.ml15-catalog ul.products > li.product .product-thumbnail,
 body.ml15-catalog ul.products > li.product .product-loop-image{height:165px!important;min-height:165px!important;max-height:165px!important}
 body.ml16-catalog ul.products > li.product img:not(.emoji),
 body.ml15-catalog ul.products > li.product img:not(.emoji){height:155px!important;max-height:155px!important}
 body.ml16-catalog .site-content ul.products > li.product .product-item__inner,
 body.ml15-catalog .site-content ul.products > li.product .product-item__inner{padding:10px!important}
}

/* --------- Producto individual: nueva composición con ancho completo --------- */
body.ml16-single .site-content div.product,
body.ml16-single .woocommerce div.product,
body.ml16-single .single-product-wrapper{
 min-width:0!important;max-width:100%!important;
}
body.ml16-single .single-product-wrapper{align-items:stretch!important}
body.ml16-single .woocommerce div.product div.images,
body.ml16-single .woocommerce div.product div.summary,
body.ml16-single .site-content div.product div.images,
body.ml16-single .site-content div.product div.summary{box-sizing:border-box!important;min-width:0!important}
@media(min-width:901px){
 body.ml16-single .woocommerce div.product div.images,
 body.ml16-single .site-content div.product div.images{width:48%!important;max-width:48%!important;float:left!important;margin-right:2%!important;margin-bottom:25px!important}
 body.ml16-single .woocommerce div.product div.summary,
 body.ml16-single .site-content div.product div.summary{width:49%!important;max-width:49%!important;float:right!important;margin-right:0!important;margin-bottom:25px!important}
 body.ml16-single .woocommerce div.product .product-images-wrapper{width:49%!important;max-width:49%!important;flex:0 0 49%!important;min-width:0!important}
 body.ml16-single .woocommerce div.product .product-summary-wrapper{width:49%!important;max-width:49%!important;flex:0 0 49%!important;min-width:0!important}
}
body.ml16-single .woocommerce div.product .woocommerce-product-gallery,
body.ml16-single .woocommerce div.product div.images{
 border:1px solid var(--ml16-line)!important;border-radius:20px!important;
 background:#fff!important;padding:24px!important;box-shadow:0 8px 30px rgba(16,43,73,.055)!important;
}
body.ml16-single .woocommerce div.product .woocommerce-product-gallery__wrapper,
body.ml16-single .woocommerce div.product .woocommerce-product-gallery__image{
 border-radius:15px!important;background:#f7f9fb!important;overflow:hidden!important;
}
body.ml16-single .woocommerce div.product .woocommerce-product-gallery__image img,
body.ml16-single .woocommerce div.product .woocommerce-product-gallery img{
 height:480px!important;max-height:480px!important;width:100%!important;max-width:100%!important;
 object-fit:contain!important;object-position:center!important;border-radius:13px!important;
}
body.ml16-single .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs,
body.ml16-single .woocommerce div.product .flex-control-thumbs{display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin:13px 0 0!important}
body.ml16-single .woocommerce div.product .flex-control-thumbs li{width:calc(20% - 9px)!important;max-width:110px!important;float:none!important;min-width:0!important}
body.ml16-single .woocommerce div.product .flex-control-thumbs img{
 height:85px!important;max-height:85px!important;width:100%!important;object-fit:contain!important;
 padding:5px!important;background:#f6f8fb!important;border:1px solid #dfe8f0!important;border-radius:10px!important;
}
body.ml16-single .woocommerce div.product div.summary{
 background:#fff!important;border:1px solid var(--ml16-line)!important;border-radius:20px!important;
 padding:clamp(24px,3vw,42px)!important;box-shadow:0 8px 30px rgba(16,43,73,.055)!important;
}
body.ml16-single .summary .product_title{font-size:clamp(27px,3vw,40px)!important;line-height:1.18!important;letter-spacing:-.025em!important;font-weight:850!important;color:var(--ml16-ink)!important;margin-bottom:18px!important}
body.ml16-single .summary .price{font-size:clamp(32px,3.4vw,42px)!important;font-weight:900!important;color:var(--ml16-ink)!important;padding:16px 0!important;margin:0 0 18px!important;border-top:1px solid #edf1f5!important;border-bottom:1px solid #edf1f5!important}
body.ml16-single .summary .price .woocommerce-Price-amount{font-size:inherit!important;color:inherit!important}
body.ml16-single .ml16-single-stock{
 display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:750;
 padding:7px 13px;margin:0 0 16px;background:#e9f8f0;color:#18744c;border-radius:99px;
}
body.ml16-single .ml16-single-stock.is-unavailable{background:#fff0ef;color:#ae3548}
body.ml16-single .summary form.cart{border:0!important;padding:0!important;margin:14px 0 24px!important}
body.ml16-single .summary .quantity{display:inline-flex!important;align-items:stretch!important;vertical-align:middle!important;overflow:hidden!important;height:52px!important;margin-right:10px!important;background:#fff!important;border:1px solid #d7e4ef!important;border-radius:11px!important}
body.ml16-single .summary .quantity input.qty{height:50px!important;min-height:50px!important;width:63px!important;min-width:50px!important;border:0!important;background:transparent!important;box-shadow:none!important;text-align:center!important}
body.ml16-single .summary .single_add_to_cart_button{
 height:52px!important;min-height:52px!important;padding:12px 27px!important;border:0!important;
 border-radius:11px!important;background:var(--ml16-gold)!important;color:var(--ml16-ink)!important;
 font-size:15px!important;font-weight:850!important;white-space:normal!important;
}
body.ml16-single .summary .single_add_to_cart_button:hover{background:#e9bd00!important}
body.ml16-single .woocommerce-tabs,body.ml16-single .related.products,
body.ml16-single .upsells.products{width:100%!important;max-width:100%!important;clear:both!important}
body.ml16-single .woocommerce-tabs{margin-top:28px!important;padding:27px!important}
body.ml16-single .woocommerce-tabs .panel{font-size:15px!important;line-height:1.75!important;color:#3e566e!important}
body.ml16-single .woocommerce-tabs ul.tabs{margin-bottom:24px!important}
body.ml16-single .woocommerce-tabs ul.tabs li.active a{background:#fff5c3!important;color:var(--ml16-ink)!important}
body.ml16-single .related.products > h2{font-size:27px!important}
/* Wishlist: no inventar botones; unificar el estilo del widget que esté activo. */
body.ml16-single .summary .yith-wcwl-add-to-wishlist a,
body.ml16-single .summary .tinv-wishlist a{
 display:inline-flex!important;align-items:center!important;gap:7px!important;color:#40617e!important;
 font-size:13px!important;font-weight:650!important;text-decoration:none!important;
}
@media(max-width:900px){
 body.ml16-single .woocommerce div.product div.images,
 body.ml16-single .woocommerce div.product div.summary,
 body.ml16-single .woocommerce div.product .product-images-wrapper,
 body.ml16-single .woocommerce div.product .product-summary-wrapper{
  width:100%!important;max-width:100%!important;flex:0 0 100%!important;float:none!important;margin-right:0!important;
 }
 body.ml16-single .woocommerce div.product div.summary{margin-top:18px!important}
 body.ml16-single .woocommerce div.product .woocommerce-product-gallery__image img,
 body.ml16-single .woocommerce div.product .woocommerce-product-gallery img{height:370px!important;max-height:370px!important}
}

/* --------- Carrito: evitar que Electro desborde la columna "Total del carrito" --------- */
body.ml16-cart .woocommerce,body.ml16-cart .entry-content,
body.ml16-cart .woocommerce-cart-form,body.ml16-cart .cart-collaterals,
body.ml16-cart .cart_totals{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body.ml16-cart .entry-content > .woocommerce{width:100%!important}
@media(min-width:1101px){
 body.ml16-cart .entry-content > .woocommerce,
 body.ml16-cart .site-content .woocommerce:not(.widget_shopping_cart):not(.widget_shopping_cart_content){
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(310px,355px)!important;
  column-gap:22px!important;row-gap:18px!important;align-items:start!important;
 }
 body.ml16-cart .woocommerce .woocommerce-cart-form{grid-column:1!important;grid-row:auto!important}
 body.ml16-cart .woocommerce .cart-collaterals{grid-column:2!important;grid-row:auto!important}
}
body.ml16-cart .woocommerce .woocommerce-cart-form,
body.ml16-cart .woocommerce .cart-collaterals{
 width:100%!important;max-width:100%!important;float:none!important;
 border:1px solid var(--ml16-line)!important;border-radius:18px!important;
 padding:clamp(15px,2vw,24px)!important;overflow:visible!important;box-sizing:border-box!important;
 box-shadow:0 8px 27px rgba(12,35,59,.065)!important;
}
body.ml16-cart .cart-collaterals .cart_totals,
body.ml16-cart .woocommerce .cart-collaterals .cart_totals,
body.ml16-cart .cart-collaterals .cart_totals h2,
body.ml16-cart .cart-collaterals .cart_totals .shop_table,
body.ml16-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout{
 float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;
 margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;
}
body.ml16-cart .cart-collaterals .cart_totals h2{
 font-size:23px!important;line-height:1.25!important;text-align:left!important;
 overflow-wrap:anywhere!important;margin-bottom:14px!important;padding-bottom:15px!important;
}
body.ml16-cart .cart-collaterals .cart_totals table.shop_table{
 table-layout:fixed!important;width:100%!important;max-width:100%!important;
 border-collapse:collapse!important;border-spacing:0!important;margin:0 0 16px!important;
}
body.ml16-cart .cart-collaterals .cart_totals table.shop_table tbody,
body.ml16-cart .cart-collaterals .cart_totals table.shop_table tr{width:100%!important;max-width:100%!important}
body.ml16-cart .cart-collaterals .cart_totals table.shop_table tr th{
 width:38%!important;max-width:38%!important;text-align:left!important;font-size:12px!important;
 padding:14px 7px 14px 0!important;white-space:normal!important;vertical-align:top!important;
}
body.ml16-cart .cart-collaterals .cart_totals table.shop_table tr td{
 width:62%!important;max-width:62%!important;text-align:right!important;vertical-align:top!important;
 padding:14px 0 14px 7px!important;white-space:normal!important;overflow-wrap:anywhere!important;
 word-break:normal!important;
}
body.ml16-cart .cart_totals .shipping ul,
body.ml16-cart .cart_totals ul#shipping_method{
 width:100%!important;max-width:100%!important;list-style:none!important;padding:0!important;
 margin:0!important;display:block!important;
}
body.ml16-cart .cart_totals .shipping li,
body.ml16-cart .cart_totals ul#shipping_method li{
 display:block!important;max-width:100%!important;margin:0 0 8px!important;
 white-space:normal!important;overflow-wrap:anywhere!important;font-size:12px!important;
}
body.ml16-cart .cart_totals .woocommerce-shipping-destination,
body.ml16-cart .cart_totals .woocommerce-shipping-calculator,
body.ml16-cart .cart_totals .woocommerce-shipping-calculator a{
 font-size:12px!important;overflow-wrap:anywhere!important;white-space:normal!important;line-height:1.5!important;
}
body.ml16-cart .cart_totals .order-total th,body.ml16-cart .cart_totals .order-total td{
 border-top:1px solid #e1eaf2!important;padding-top:18px!important;
}
body.ml16-cart .cart_totals .order-total .amount,
body.ml16-cart .cart_totals .order-total .woocommerce-Price-amount{
 font-size:clamp(19px,2vw,24px)!important;white-space:normal!important;
 font-weight:900!important;color:var(--ml16-ink)!important;
}
body.ml16-cart .woocommerce-cart-form table.shop_table{
 width:100%!important;max-width:100%!important;table-layout:auto!important;
}
body.ml16-cart .woocommerce-cart-form table.shop_table .product-name{min-width:135px!important}
body.ml16-cart .woocommerce-cart-form table.shop_table .product-thumbnail{width:92px!important}
body.ml16-cart .woocommerce-cart-form table.shop_table .product-name a{font-size:14px!important;line-height:1.35!important}
body.ml16-cart .woocommerce-cart-form .actions{padding:15px 0 0!important}
body.ml16-cart .woocommerce-cart-form .coupon{display:flex!important;gap:10px!important;align-items:center!important;flex-wrap:wrap!important}
body.ml16-cart .woocommerce-cart-form .coupon input#coupon_code{width:200px!important;min-width:150px!important;max-width:100%!important}
body.ml16-cart .woocommerce-cart-form .actions a.ml16-cart-duplicate-cta{display:none!important}
body.ml16-cart .cart_totals .wc-proceed-to-checkout{padding:10px 0 0!important}
body.ml16-cart .cart_totals .wc-proceed-to-checkout .checkout-button{
 display:block!important;width:100%!important;max-width:100%!important;white-space:normal!important;
 text-align:center!important;padding:16px 13px!important;line-height:1.3!important;border-radius:11px!important;
 background:var(--ml16-gold)!important;color:var(--ml16-ink)!important;
}

/* --------- Checkout: consistente, sin tocar campos, validaciones ni pasarela de pago --------- */
body.ml16-checkout .woocommerce{min-width:0!important;width:100%!important;max-width:100%!important}
body.ml16-checkout .woocommerce form.checkout{max-width:100%!important;min-width:0!important}
body.ml16-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.ml16-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.ml16-checkout .woocommerce-info{
 padding:19px 22px!important;background:#eaf3fb!important;border:1px solid #c9e1f5!important;
 border-left:4px solid var(--ml16-blue)!important;border-radius:12px!important;
 color:#17446c!important;
}
body.ml16-checkout #customer_details,
body.ml16-checkout #order_review,
body.ml16-checkout .woocommerce-checkout-review-order,
body.ml16-checkout .woocommerce-checkout-payment{
 box-sizing:border-box!important;max-width:100%!important;min-width:0!important;
}
body.ml16-checkout #customer_details,
body.ml16-checkout #order_review{
 border:1px solid var(--ml16-line)!important;border-radius:18px!important;
 background:#fff!important;padding:clamp(18px,2.5vw,30px)!important;
 box-shadow:0 8px 28px rgba(11,39,69,.05)!important;
}
body.ml16-checkout #customer_details h3,
body.ml16-checkout #order_review_heading{
 font-size:23px!important;font-weight:850!important;color:var(--ml16-ink)!important;
 margin:0 0 20px!important;
}
body.ml16-checkout .woocommerce-checkout input.input-text,
body.ml16-checkout .woocommerce-checkout textarea,
body.ml16-checkout .woocommerce-checkout select{
 min-height:47px!important;border:1px solid #d8e4ee!important;border-radius:10px!important;
 padding:12px!important;background:#fff!important;box-sizing:border-box!important;
}
body.ml16-checkout .woocommerce-checkout label{font-weight:650!important;color:#254765!important}
body.ml16-checkout .select2-container .select2-selection--single{
 min-height:45px!important;border-radius:10px!important;border-color:#d8e4ee!important;
}
body.ml16-checkout .woocommerce-checkout-review-order-table{
 width:100%!important;max-width:100%!important;table-layout:auto!important;
}
body.ml16-checkout .woocommerce-checkout-review-order-table th,
body.ml16-checkout .woocommerce-checkout-review-order-table td{
 padding:12px 8px!important;font-size:14px!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
body.ml16-checkout #payment{background:#f8fafc!important;border-radius:12px!important}
body.ml16-checkout #payment .payment_box{box-sizing:border-box!important;max-width:100%!important}
body.ml16-checkout #place_order{
 background:var(--ml16-gold)!important;color:var(--ml16-ink)!important;
 font-weight:850!important;border-radius:11px!important;min-height:53px!important;padding:15px 21px!important;
}

/* --------- Mini-carrito en header: evitar texto cortado y botones muy estrechos --------- */
body .site-header .widget_shopping_cart_content,
body .site-header .woocommerce-mini-cart,
body .site-header .dropdown-menu-mini-cart{
 box-sizing:border-box!important;min-width:0!important;
}
body .site-header .widget_shopping_cart_content .woocommerce-mini-cart-item,
body .site-header .widget_shopping_cart_content .mini_cart_item{
 overflow-wrap:anywhere!important;line-height:1.45!important;
}
body .site-header .widget_shopping_cart_content .woocommerce-mini-cart__buttons a,
body .site-header .widget_shopping_cart_content .buttons a{
 display:inline-flex!important;justify-content:center!important;align-items:center!important;
 white-space:normal!important;padding:11px 14px!important;border-radius:9px!important;
 background:var(--ml16-gold)!important;color:var(--ml16-ink)!important;font-weight:800!important;
}

@media(max-width:1100px){
 body.ml16-cart .site-content .woocommerce:not(.widget_shopping_cart):not(.widget_shopping_cart_content),
 body.ml16-cart .entry-content > .woocommerce{
  display:block!important;grid-template-columns:none!important;
 }
 body.ml16-cart .woocommerce .woocommerce-cart-form,
 body.ml16-cart .woocommerce .cart-collaterals{width:100%!important;max-width:100%!important;margin-bottom:20px!important;position:static!important}
 body.ml16-cart .woocommerce-cart-form{overflow-x:auto!important}
}
@media(max-width:767px){
 body.ml16-single .site-content .container,body.ml16-cart .site-content .container,
 body.ml16-checkout .site-content .container{width:calc(100% - 22px)!important}
 body.ml16-single .woocommerce div.product .woocommerce-product-gallery__image img,
 body.ml16-single .woocommerce div.product .woocommerce-product-gallery img{height:295px!important;max-height:295px!important}
 body.ml16-single .woocommerce div.product div.images,body.ml16-single .woocommerce div.product div.summary{padding:16px!important}
 body.ml16-single .woocommerce div.product .flex-control-thumbs img{height:67px!important;max-height:67px!important}
 body.ml16-single .summary .product_title{font-size:27px!important}
 body.ml16-single .summary .price{font-size:29px!important}
 body.ml16-cart .woocommerce .woocommerce-cart-form,
 body.ml16-cart .woocommerce .cart-collaterals,
 body.ml16-checkout #customer_details,body.ml16-checkout #order_review{padding:15px!important}
 body.ml16-cart .cart_totals table.shop_table tr th,
 body.ml16-cart .cart_totals table.shop_table tr td{font-size:12px!important}
 body.ml16-checkout .woocommerce-checkout .col2-set,
 body.ml16-checkout .woocommerce-checkout .col2-set .col-1,
 body.ml16-checkout .woocommerce-checkout .col2-set .col-2{width:100%!important;max-width:100%!important;float:none!important}
}
