/* MAV CORE 0.8.0 — corrección consolidada de caché/UI.
   Carga al final para garantizar que HTML y estilos correspondan a la misma versión. */

/* 1) Navegación principal: exactamente 14px / 600 */
.m70-ui .m20-catbar,
.m70-ui .m20-catbar a,
.m20-catbar,
.m20-catbar a {
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

/* MAV CORE 0.8.2 — centrado real, tipografía mínima y buscador flotante */
html,body{width:100%;max-width:100%;overflow-x:hidden}
body.m70-ui{margin:0!important}
.m70-ui .m20-wrap,
.m70-ui .m20-topin,
.m70-ui .m20-catbar{
  width:min(100%,1440px)!important;
  max-width:1440px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
.m70-ui .m20-wrap{padding-left:1px!important;padding-right:1px!important}
/* Ventanas flotantes abiertas desde el header: 10px en PC; 5px en tablet/phone. */
.m30-embed.m70-ui .m20-wrap{padding-left:10px!important;padding-right:10px!important}
.m70-ui .m20-topin{grid-template-columns:auto minmax(0,1fr) auto!important;column-gap:0!important;padding-left:1px!important;padding-right:1px!important;align-items:center!important}
.m70-ui .m20-catbar{padding-left:1px!important;padding-right:1px!important}

/* Título hero aprobado: peso 600 */
.m70-ui .m70-hero h1{font-weight:600!important}
.m70-ui .m70-hero h1 em{font-weight:600!important}
.m70-ui .m70-kicker{font-weight:600!important}

/* Textos funcionales: nunca menores de 13 px */
.m70-ui .m20-meta,
.m70-ui .m40-brand,
.m70-ui .m40-stock,
.m70-ui .m40-prices del,
.m70-ui .m60-free-ship,
.m70-ui .m40-entity-date,
.m70-ui .m40-entity-body p,
.m70-ui .m70-brand-card span,
.m70-ui .m78-subhead a,
.m70-ui .m78-subtabs a,
.m70-ui .m78-page-subtabs a,
.m70-ui .m70-primary-actions span,
.m70-ui .m20-catbar a,
.m70-ui .m20-actions a,
.m70-ui button,
.m70-ui input,
.m70-ui select,
.m70-ui textarea,
.m70-ui label,
.m70-ui small{
  font-size:13px!important;
}
.m70-ui .m20-catbar a{font-size:14px!important;font-weight:600!important;text-transform:uppercase!important;letter-spacing:.02em!important}
.m70-ui .m20-actions a{font-size:14px!important;font-weight:600!important}
.m70-ui .m40-card-title{font-size:14px!important;font-weight:600!important;line-height:1.3!important}
.m70-ui .m40-entity-body h3{font-size:16px!important;font-weight:600!important;line-height:1.35!important}
.m70-ui .m40-brand,.m70-ui .m20-meta{font-weight:500!important}
.m70-ui .m40-stock{font-weight:500!important}
.m70-ui .m40-entity-body p{font-weight:500!important}
.m70-ui .m60-free-ship{font-weight:600!important}
.m70-ui .m40-add-cart,.m70-ui .m60-buy-card,.m70-ui .m40-detail-btn{font-weight:600!important}

/* 1.6.15: logo +50% efectivo en web/tablet/phone, incluidos breakpoints móviles. */
@media(min-width:1025px){
 .m70-ui .m20-logo,.m70-ui .m30-logo-full{width:225px!important;min-width:225px!important;max-width:225px!important;overflow:visible!important}
 .m70-ui .m20-logo img,.m70-ui .m30-logo-full img{width:225px!important;height:78px!important;max-height:78px!important;object-fit:contain!important;object-position:left center!important}
}

/* Buscador del header: PC completo, flexible y separado 20px del logo y de las acciones */
.m82-header-search{
  min-width:0!important;width:auto!important;justify-self:stretch!important;height:42px!important;margin-left:20px!important;margin-right:20px!important;
  border:1px solid #d9e0e8!important;border-radius:13px!important;background:#fff!important;color:#111827!important;
  display:grid!important;grid-template-columns:92px minmax(150px,1.7fr) minmax(112px,.9fr) minmax(100px,.85fr) 62px!important;align-items:stretch!important;
  overflow:hidden!important;text-align:left!important;box-shadow:0 2px 8px rgba(15,23,42,.07)!important;
}
.m82-header-search input,.m82-header-search select{height:100%!important;min-width:0!important;border:0!important;border-right:1px solid #e4e8ee!important;border-radius:0!important;background:#fff!important;color:#111827!important;font-size:13px!important;font-weight:500!important;outline:0!important;box-shadow:none!important;text-transform:none!important}
.m82-header-search input,.m82-header-search select{padding:0 10px!important}
.m82-header-search select{appearance:auto!important;-webkit-appearance:menulist!important;padding-right:24px!important}
.m82-header-search input::placeholder{color:#657184!important;opacity:1!important;text-transform:none!important}
.m82-header-search select{cursor:pointer!important}
.m100-location-control{display:grid;grid-template-columns:minmax(0,1fr) 30px;min-width:0;width:100%;align-items:stretch;background:#fff}
.m100-location-control .m100-location-input{grid-column:1;min-width:0;width:100%;border-right:0!important;color:#111827!important}
.m100-location-control .m100-location-input::placeholder{color:#657184!important;opacity:.78!important;text-transform:none!important}
.m100-location-control .m100-location-picker{grid-column:2;width:30px!important;min-width:30px!important;padding:0!important;border-left:0!important;border-right:0!important;background-color:#fff!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;background-size:14px 14px!important;color:transparent!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important;text-indent:100%;white-space:nowrap;overflow:hidden}
.m100-location-control .m100-location-picker option{color:#111827!important;text-indent:0;text-transform:none!important}
.m82-header-location{height:100%!important;overflow:hidden!important;border-right:1px solid #e4e8ee!important}
.m82-header-location input,.m82-header-location select{border-right:0!important}
.m82-header-near{height:100%!important;min-width:0!important;border:0!important;border-right:1px solid #e4e8ee!important;border-radius:0!important;background:#fff!important;color:#111827!important;font-size:13px!important;padding:0 6px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;white-space:nowrap!important;font-weight:600!important;cursor:pointer!important}
.m82-header-search .m82-header-search-submit{height:100%!important;min-width:0!important;border:0!important;border-right:0!important;border-radius:0!important;background:#FFC107!important;color:#111!important;font-size:13px!important;font-weight:600!important;padding:0 8px!important;cursor:pointer!important}
.m82-header-search:focus-within{border-color:#b8c0ca!important;box-shadow:0 0 0 2px rgba(255,193,7,.15)!important}
.m82-header-search-mobile{display:none!important;width:28px!important;height:34px!important;min-width:28px!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:0!important;background:transparent!important;color:#FFC107!important;padding:0!important;cursor:pointer!important;box-shadow:none!important;outline:0!important}
.m82-header-search-mobile .m82-search-icon{width:22px!important;height:22px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:2.35!important;stroke-linecap:round!important;stroke-linejoin:round!important}

/* Búsqueda flotante: solo tablet/phone, misma composición y orden del buscador de PC */
.m82-search-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:flex-start;justify-content:center;padding:74px 14px 20px}
.m82-search-modal.open{display:flex}
.m82-search-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.64);backdrop-filter:none}
.m82-search-dialog{position:relative;z-index:1;width:min(760px,100%);background:#fff;border-radius:18px;padding:12px;box-shadow:0 24px 80px rgba(0,0,0,.32)}
.m82-search-dialog .m70-search-pro{margin:0!important;width:100%!important;grid-template-columns:auto minmax(180px,1.5fr) minmax(140px,1fr) minmax(140px,1fr) 82px!important}
.m82-search-dialog .m70-search-pro label{padding:0!important;border-right:1px solid #e8ebef!important;height:54px!important}
.m82-search-dialog .m70-search-pro label>span{display:none!important}
.m82-search-dialog .m70-search-pro input,.m82-search-dialog .m70-search-pro select{height:54px!important;padding:0 12px!important;font-size:14px!important;font-weight:500!important}
.m82-search-dialog .m70-search-pro select{appearance:auto!important;-webkit-appearance:menulist!important;padding-right:30px!important;background:#fff!important;color:#111827!important}
.m82-search-dialog .m100-location-control{height:54px!important}
.m82-search-dialog .m100-location-control select,.m82-search-dialog .m100-location-control input{height:54px!important;border:0!important;border-radius:0!important}
.m82-search-dialog .m100-location-control .m100-location-picker{border-left:0!important}
.m82-search-dialog .m70-search-pro .near,.m82-search-dialog .m70-search-pro .submit{height:54px!important;border-radius:0!important;padding:0 13px!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important}
.m82-search-dialog .m70-search-pro .near{grid-column:auto!important;background:#fff!important;color:#111827!important;border-right:1px solid #e8ebef!important}
.m82-search-dialog .m70-search-pro .submit{grid-column:auto!important;background:#FFC107!important;color:#111!important;border-radius:0 14px 14px 0!important}
.m82-search-close{position:absolute!important;right:8px!important;top:-48px!important;width:38px!important;height:38px!important;border-radius:50%!important;background:#FFC107!important;color:#111!important;border:0!important;font-size:18px!important;font-weight:600!important;z-index:3!important}

/* Carruseles: no mostrar tarjetas cortadas en los extremos */
.m70-carousel-shell{overflow:hidden!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important;position:relative!important;display:block!important}
.m70-track{grid-auto-columns:calc((100% - 16px)/5)!important;gap:4px!important;padding-left:0!important;padding-right:0!important;scroll-snap-type:x mandatory!important;scroll-padding:0!important}
.m420-recommended-track{grid-auto-columns:calc((100% - 16px)/5)!important;gap:4px!important}
.m70-track>*{min-width:0!important;scroll-snap-align:start!important;scroll-snap-stop:always!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important}
.m70-brand-track{grid-auto-columns:calc((100% - 20px)/6)!important;gap:4px!important}
#m78ProductTrack,.m70-entity-track{grid-auto-columns:calc((100% - 16px)/5)!important;gap:4px!important}

@media(min-width:1025px) and (max-width:1180px){
 .m82-header-search{grid-template-columns:86px minmax(130px,1.55fr) minmax(104px,.88fr) minmax(94px,.82fr) 58px!important;margin-left:20px!important;margin-right:20px!important}
 .m82-header-near{padding:0 4px!important;font-size:12px!important}
 .m82-header-search input,.m82-header-search select{padding-left:8px!important;padding-right:8px!important;font-size:12px!important}
 .m82-header-search .m82-header-search-submit{padding:0 6px!important;font-size:12px!important}
}
@media(max-width:1199px){
 #m78ProductTrack,.m70-entity-track{grid-auto-columns:calc((100% - 12px)/4)!important;gap:4px!important}
 .m70-brand-track{grid-auto-columns:calc((100% - 16px)/5)!important;gap:4px!important}
}
/* Tablet y phone: el formulario se sustituye por la lupa. Se conserva el orden original de acciones. */
@media(max-width:1024px){
 .m420-recommended-track{grid-auto-columns:calc((100% - 8px)/3)!important;gap:4px!important}

 .m30-embed.m70-ui .m20-wrap{padding-left:5px!important;padding-right:5px!important}
 .m70-ui .m20-topin{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;grid-template-rows:72px!important;align-items:center!important;column-gap:8px!important;width:100%!important;padding:4px 8px!important;min-height:76px!important}
 .m70-ui .m20-logo,.m70-ui .m30-logo-full{grid-column:1!important;grid-row:1!important;width:180px!important;min-width:180px!important;max-width:180px!important;justify-self:start!important;align-self:center!important;overflow:hidden!important}
 .m70-ui .m20-logo img,.m70-ui .m30-logo-full img{width:177px!important;height:69px!important;max-height:69px!important;object-fit:contain!important;object-position:left center!important}
 .m82-header-search{display:none!important}
 .m70-ui .m20-actions{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:3px!important;min-width:0!important;width:100%!important;overflow:visible!important;white-space:nowrap!important}
 .m70-ui .m20-actions .m82-header-search-mobile{display:inline-flex!important;position:static!important;order:-1!important;align-items:center!important;justify-content:center!important;margin:0 1px 0 0!important;width:28px!important;height:34px!important;min-width:28px!important;flex:0 0 28px!important;padding:0!important}
 .m70-ui .m20-actions .m82-header-search-mobile .m82-search-icon{width:22px!important;height:22px!important}
 .m70-ui .m20-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;flex:0 0 auto!important;padding-left:4px!important;padding-right:4px!important}
 .m70-ui .m20-actions .m40-cart-link{position:relative!important;top:auto!important;right:auto!important;transform:none!important;width:auto!important;height:32px!important;padding-left:1px!important;padding-right:1px!important;gap:1px!important}
 .m70-ui .m40-cart-link .m100-cart-icon{width:20px!important;height:20px!important;min-width:20px!important}
 .m70-ui .m40-cart-link [data-cart-count]{position:static!important;font-size:10px!important;line-height:1!important;margin-left:1px!important}
 .m70-ui .m20-actions .m20-publish{color:#FFC107!important;font-weight:700!important}
 .m82-search-modal{padding:68px 10px 14px!important}
 .m82-search-dialog{padding:10px!important;border-radius:14px!important;width:min(520px,100%)!important}
 .m82-search-dialog .m70-search-pro{grid-template-columns:1fr!important;border-radius:14px!important;overflow:hidden!important}
 .m82-search-dialog .m70-search-pro .near{grid-row:1!important;border-right:0!important;border-bottom:1px solid #e8ebef!important;justify-content:flex-start!important;padding-left:14px!important}
 .m82-search-dialog .m70-search-pro label{height:50px!important;border-right:0!important;border-bottom:1px solid #e8ebef!important}
 .m82-search-dialog .m70-search-pro input,.m82-search-dialog .m70-search-pro select{height:50px!important;padding:0 14px!important;font-size:14px!important;text-transform:none!important}
 .m82-search-dialog .m100-location-control,.m82-search-dialog .m100-location-control select,.m82-search-dialog .m100-location-control input{height:50px!important}
 .m82-search-dialog .m70-search-pro .near,.m82-search-dialog .m70-search-pro .submit{height:50px!important;grid-column:auto!important;border-radius:0!important;font-size:14px!important}
 .m82-search-dialog .m70-search-pro .submit{border-radius:0 0 14px 14px!important}
 #m78ProductTrack,.m70-entity-track{grid-auto-columns:calc((100% - 8px)/3)!important;gap:4px!important}
 .m70-brand-track{grid-auto-columns:calc((100% - 12px)/4)!important;gap:4px!important}
}
@media(max-width:680px){
 .m70-ui .m20-topin{grid-template-columns:144px minmax(0,1fr)!important;grid-template-rows:68px!important;column-gap:5px!important;padding:3px 5px!important;min-height:72px!important}
 .m70-ui .m20-logo,.m70-ui .m30-logo-full{width:144px!important;min-width:144px!important;max-width:144px!important}
 .m70-ui .m20-logo img,.m70-ui .m30-logo-full img{width:141px!important;height:66px!important;max-height:66px!important}
 .m70-ui .m20-actions .m82-header-search-mobile{width:25px!important;height:32px!important;min-width:25px!important;flex-basis:25px!important;margin-right:1px!important}
 .m70-ui .m20-actions .m82-header-search-mobile .m82-search-icon{width:20px!important;height:20px!important}
 .m70-ui .m20-actions{gap:5px!important;transform:translateY(-4px)!important}
 .m70-ui .m20-actions a{font-size:13px!important;padding-left:3px!important;padding-right:3px!important}
 .m70-ui .m20-actions .m40-cart-link{padding-left:0!important;padding-right:0!important}
 .m70-head{align-items:flex-start!important;gap:10px!important}
 .m70-head>a{white-space:nowrap!important;flex:0 0 auto!important;margin-top:2px!important}
 #m78ProductTrack,.m70-entity-track{grid-auto-columns:calc((100% - 4px)/2)!important;gap:4px!important}
 .m70-brand-track{grid-auto-columns:calc((100% - 8px)/3)!important;gap:4px!important}
}
@media(max-width:420px){
 .m70-ui .m20-topin{grid-template-columns:129px minmax(0,1fr)!important;grid-template-rows:65px!important;column-gap:3px!important;padding:2px 3px!important;min-height:69px!important}
 .m70-ui .m20-logo,.m70-ui .m30-logo-full{width:129px!important;min-width:129px!important;max-width:129px!important}
 .m70-ui .m20-logo img,.m70-ui .m30-logo-full img{width:126px!important;height:63px!important;max-height:63px!important}
 .m70-ui .m20-actions .m82-header-search-mobile{width:23px!important;height:30px!important;min-width:23px!important;flex-basis:23px!important;margin-right:0!important}
 .m70-ui .m20-actions .m82-header-search-mobile .m82-search-icon{width:19px!important;height:19px!important}
 .m70-ui .m20-actions{gap:5px!important}
 .m70-ui .m20-actions a{font-size:12px!important;padding-left:2px!important;padding-right:2px!important}
 .m70-ui .m40-cart-link .m100-cart-icon{width:18px!important;height:18px!important;min-width:18px!important}
 .m82-search-dialog .m70-search-pro input,.m82-search-dialog .m70-search-pro select,.m82-search-dialog .m70-search-pro .near,.m82-search-dialog .m70-search-pro .submit{font-size:13px!important}
}

/* MAV CORE 1.4.0 — legibilidad de buscadores internos */
.m70-ui .m120-search input,.m70-ui .m120-search select,.m70-ui .m120-search button,.m70-ui .m120-search label,.m70-ui .m120-header-full-search input,.m70-ui .m120-header-full-search select,.m70-ui .m120-header-full-search button{font-size:15px!important;font-weight:500!important}
.m70-ui .m120-search .field-label{font-size:13px!important;font-weight:600!important}
.m70-ui .m120-search .submit,.m70-ui .m120-search .near,.m70-ui .m120-header-full-search .submit,.m70-ui .m120-header-full-search .near{font-weight:600!important}
.m70-ui .m70-head h2{font-size:24px!important;font-weight:600!important}.m70-ui .m70-head p{font-size:15px!important;font-weight:500!important}.m70-ui .m70-head a{font-size:14px!important;font-weight:600!important}


/* 1.6.12: lupa móvil forma parte del bloque de herramientas; en PC permanece oculta. */
@media(min-width:1025px){.m70-ui .m20-actions .m82-header-search-mobile{display:none!important}}

@media(max-width:1024px){.m70-ui .m20-actions .m82-header-search-mobile{background:transparent!important;border:0!important;border-radius:0!important;color:#FFC107!important;box-shadow:none!important}.m70-ui .m20-actions .m82-header-search-mobile+ a{margin-left:0!important}}


/* 1.6.16: en phone las categorías del segundo nivel pasan a hamburguesa, 10 px a la derecha del logo. */
.m82-phone-menu{display:none}
@media(max-width:680px){
 .m70-ui .m20-topin{position:relative!important}
 .m70-ui .m20-catbar{display:none!important}
 .m82-phone-menu{display:block!important;position:absolute!important;z-index:60!important;left:154px!important;top:calc(50% - 4px)!important;transform:translateY(-50%)!important;width:26px!important;height:34px!important;margin:0!important;padding:0!important}
 .m82-phone-menu>summary{list-style:none!important;width:26px!important;height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;cursor:pointer!important;font-size:22px!important;line-height:1!important}
 .m82-phone-menu>summary::-webkit-details-marker{display:none!important}
 .m82-phone-menu-bars{display:block!important;font-size:22px!important;line-height:1!important;font-weight:600!important}
 .m82-phone-menu-panel{position:absolute!important;left:0!important;top:40px!important;width:min(270px,calc(100vw - 20px))!important;display:grid!important;grid-template-columns:1fr!important;gap:0!important;background:#0a0a0a!important;border:1px solid #2e2e2e!important;border-radius:12px!important;overflow:hidden!important;box-shadow:0 12px 30px rgba(0,0,0,.28)!important;padding:5px!important}
 .m82-phone-menu-panel a{display:flex!important;align-items:center!important;min-height:42px!important;padding:8px 12px!important;border-radius:8px!important;color:#fff!important;text-decoration:none!important;font-size:14px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap!important}
 .m82-phone-menu-panel a+a{border-top:1px solid #222!important}
 .m82-phone-menu-panel a.active{background:#FFC107!important;color:#111!important}
}
@media(max-width:420px){
 .m82-phone-menu{left:139px!important;width:24px!important;height:32px!important}
 .m82-phone-menu>summary{width:24px!important;height:32px!important}
 .m82-phone-menu-bars{font-size:20px!important}
}

/* 1.6.24 — icono de usuario reemplaza el texto Ingresar */
.m70-ui .m20-actions .m20-account-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:32px!important;min-width:30px!important;padding:0!important;color:#fff!important;line-height:1!important}
.m70-ui .m20-actions .m20-account-icon .m20-user-icon{display:block!important;width:22px!important;height:22px!important}
@media(max-width:680px){.m70-ui .m20-actions .m20-account-icon{width:25px!important;height:30px!important;min-width:25px!important;padding:0!important}.m70-ui .m20-actions .m20-account-icon .m20-user-icon{width:20px!important;height:20px!important}}
@media(max-width:420px){.m70-ui .m20-actions .m20-account-icon{width:23px!important;min-width:23px!important}.m70-ui .m20-actions .m20-account-icon .m20-user-icon{width:19px!important;height:19px!important}}


@media(max-width:640px){.m420-recommended-track{grid-auto-columns:calc((100% - 4px)/2)!important;gap:4px!important}}

/* MAV 2.2.22 — visibilidad general de tarjetas: 5 web / 3 tablet / 2 phone */
@media(min-width:1025px){
 .m70-track,
 .m420-recommended-track,
 #m78ProductTrack,
 .m70-entity-track{
  grid-auto-columns:calc((100% - 16px)/5)!important;
  gap:4px!important;
 }
}
@media(min-width:681px) and (max-width:1024px){
 .m70-track,
 .m420-recommended-track,
 #m78ProductTrack,
 .m70-entity-track{
  grid-auto-columns:calc((100% - 8px)/3)!important;
  gap:4px!important;
 }
}
@media(max-width:680px){
 .m70-track,
 .m420-recommended-track,
 #m78ProductTrack,
 .m70-entity-track{
  grid-auto-columns:calc((100% - 4px)/2)!important;
  gap:4px!important;
 }
}

/* MAV 2.2.23 — descuento y corazón encima de la imagen, alineados */
.m40-product-card,
.m421-service-as-product,
.m40-entity-card{
  position:relative!important;
}
.m40-product-card .m40-product-image,
.m421-service-as-product .m40-product-image,
.m40-entity-card .m40-entity-image{
  position:relative!important;
  overflow:hidden!important;
}
/* ambos quedan en la misma línea superior sobre la imagen */
.m40-product-card .m40-discount,
.m421-service-as-product .m40-discount,
.m40-entity-card .m40-discount{
  position:absolute!important;
  top:10px!important;
  left:10px!important;
  right:auto!important;
  z-index:6!important;
  margin:0!important;
}
.m40-product-card .m40-heart,
.m421-service-as-product .m40-heart,
.m40-entity-card .m40-heart{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  left:auto!important;
  z-index:7!important;
  margin:0!important;
}
/* alineación consistente también cuando la tarjeta es muy compacta */
@media(max-width:680px){
  .m40-product-card .m40-discount,
  .m421-service-as-product .m40-discount,
  .m40-entity-card .m40-discount,
  .m40-product-card .m40-heart,
  .m421-service-as-product .m40-heart,
  .m40-entity-card .m40-heart{
    top:8px!important;
  }
  .m40-product-card .m40-discount,
  .m421-service-as-product .m40-discount,
  .m40-entity-card .m40-discount{left:8px!important}
  .m40-product-card .m40-heart,
  .m421-service-as-product .m40-heart,
  .m40-entity-card .m40-heart{right:8px!important}
}

/* MAV 2.2.24 — overlays realmente dentro de la imagen */
.m40-product-image{position:relative!important}
.m40-product-image>.m40-discount{position:absolute!important;top:10px!important;left:10px!important;right:auto!important;z-index:8!important}
.m40-product-image>.m40-heart{position:absolute!important;top:10px!important;right:10px!important;left:auto!important;z-index:9!important}
.m40-product-image>.m60-free-ship{position:absolute!important;left:10px!important;bottom:10px!important;top:auto!important;right:auto!important;z-index:8!important}
.m421-service-image-link{display:flex!important;width:100%!important;height:100%!important;align-items:center!important;justify-content:center!important}
.m421-service-image-link img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important}
@media(max-width:680px){
 .m40-product-image>.m40-discount{top:8px!important;left:8px!important}
 .m40-product-image>.m40-heart{top:8px!important;right:8px!important}
 .m40-product-image>.m60-free-ship{left:8px!important;bottom:8px!important}
}

/* MAV 2.2.28 — overlays estructurales: descuento/corazón montados SOBRE la misma imagen, nunca en una fila */
.m40-product-image,
.m421-service-image{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate!important;
}
.m40-product-image .m40-card-gallery-track{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
}
.m40-product-image .m40-card-gallery-slide{
  position:relative!important;
  flex:0 0 100%!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
}
.m40-product-image .m40-card-gallery-slide img,
.m421-service-image .m421-service-image-link,
.m421-service-image .m421-service-image-link img{
  width:100%!important;
  height:100%!important;
}
.m428-card-overlays{
  position:absolute!important;
  inset:0!important;
  z-index:10!important;
  width:100%!important;
  height:100%!important;
  pointer-events:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.m428-card-overlays .m40-discount{
  position:absolute!important;
  top:10px!important;
  left:10px!important;
  right:auto!important;
  bottom:auto!important;
  z-index:11!important;
  margin:0!important;
  pointer-events:none!important;
}
.m428-card-overlays .m40-heart,
.m428-card-overlays .m159-heart{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  left:auto!important;
  bottom:auto!important;
  z-index:12!important;
  margin:0!important;
  pointer-events:auto!important;
}
.m428-card-overlays .m60-free-ship{
  position:absolute!important;
  left:10px!important;
  bottom:10px!important;
  top:auto!important;
  right:auto!important;
  z-index:11!important;
  margin:0!important;
  pointer-events:none!important;
}
.m40-product-image .m40-card-gallery-dots{
  z-index:9!important;
}
/* el wrapper no participa en flujo: no puede crear franja/fila superior */
.m40-product-card>.m428-card-overlays{display:none!important}
@media(max-width:680px){
 .m428-card-overlays .m40-discount{top:8px!important;left:8px!important}
 .m428-card-overlays .m40-heart,.m428-card-overlays .m159-heart{top:8px!important;right:8px!important}
 .m428-card-overlays .m60-free-ship{left:8px!important;bottom:8px!important}
}


/* MAV 2.2.29 — precio exclusivo para membresía anual */
.m429-member-card-price{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;margin:5px 0 0!important;padding:5px 7px!important;border:1px solid #b8dfc2!important;border-radius:7px!important;background:#f2fbf4!important;color:#176b2c!important;line-height:1.15!important}
.m429-member-card-price span{font-size:11px!important;font-weight:600!important}
.m429-member-card-price strong{font-size:15px!important;font-weight:600!important;color:#176b2c!important;white-space:nowrap!important}
.m429-member-card-price.is-active{background:#e7f9eb!important;border-color:#62bf78!important}
.m429-member-detail-price{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:3px 12px!important;align-items:center!important;margin:8px 0 10px!important;padding:9px 11px!important;border:1px solid #a9d9b5!important;border-radius:10px!important;background:#f0faf2!important;color:#185f2b!important}
.m429-member-detail-price span{font-size:13px!important;font-weight:600!important}
.m429-member-detail-price strong{font-size:20px!important;font-weight:600!important;color:#168034!important;white-space:nowrap!important}
.m429-member-detail-price small{grid-column:1/-1;font-size:12px!important;line-height:1.35!important;color:#56705d!important}
.m429-member-detail-price.is-active{background:#e7f8eb!important;border-color:#55b96e!important}

/* MAV 2.2.32 — PRECIO MIEMBRO claramente visible en ficha y tarjetas */
.m429-member-detail-price{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:4px 12px!important;
  align-items:center!important;
  margin:7px 0 10px!important;
  padding:9px 11px!important;
  border:1px solid #d9b400!important;
  border-radius:10px!important;
  background:#fff8d8!important;
  color:#111827!important;
}
.m429-member-detail-price span{
  font-size:14px!important;
  font-weight:600!important;
  color:#111827!important;
  text-transform:uppercase!important;
}
.m429-member-detail-price strong{
  font-size:20px!important;
  font-weight:600!important;
  color:#168034!important;
  white-space:nowrap!important;
}
.m429-member-detail-price small{
  grid-column:1/-1!important;
  font-size:12px!important;
  line-height:1.35!important;
  color:#5b6472!important;
}
.m429-member-detail-price.is-active{
  background:#eaf8ee!important;
  border-color:#58b86e!important;
}
.m429-member-card-price{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:6px!important;
  margin:5px 0 0!important;
  padding:5px 7px!important;
  border:1px solid #d9b400!important;
  border-radius:7px!important;
  background:#fff8d8!important;
  color:#111827!important;
}
.m429-member-card-price span{font-size:11px!important;font-weight:600!important;color:#111827!important}
.m429-member-card-price strong{font-size:15px!important;font-weight:600!important;color:#168034!important;white-space:nowrap!important}


/* MAV 2.2.33 — precio miembro acompaña carrito, checkout y pago hasta finalizar */
.m433-member-progress{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;flex-wrap:wrap!important;margin-top:4px!important;padding:5px 7px!important;border:1px solid #d7c781!important;border-radius:7px!important;background:#fff9df!important;color:#725b00!important;line-height:1.2!important}
.m433-member-progress span,.m433-member-progress strong{font-size:12px!important;font-weight:600!important}.m433-member-progress strong{white-space:nowrap!important}
.m433-member-progress.is-active{border-color:#9dd2aa!important;background:#effaf2!important;color:#176b2c!important}
.m433-member-total{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:10px!important;row-gap:0!important;align-items:center!important;margin:8px 0 10px!important;padding:8px 9px!important;border:1px solid #d7c781!important;border-radius:9px!important;background:#fff9df!important;color:#5f4b00!important}
.m433-member-total>span,.m433-member-total>strong{font-size:13px!important;font-weight:600!important}.m433-member-total>small{grid-column:1/-1;display:block!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.35!important}.m433-member-total>small b{font-weight:700!important}.m433-member-total.is-active{border-color:#9dd2aa!important;background:#effaf2!important;color:#176b2c!important}
.m433-member-total-row{color:#176b2c!important;background:#effaf2!important;border-radius:6px!important;padding-left:7px!important;padding-right:7px!important}.m433-member-loss-row{color:#8a5a00!important;background:#fff7d6!important;border-radius:6px!important;padding-left:7px!important;padding-right:7px!important}.m433-member-total-row strong,.m433-member-loss-row strong{font-weight:700!important}


/* MAV 2.2.36 — precio miembro visible siempre que esté configurado y activado */
.m429-member-detail-price{
 border:2px solid #56b86d!important;
 background:#eefaf1!important;
 margin:8px 0 11px!important;
 padding:9px 11px!important;
}
.m429-member-detail-price span{font-size:13px!important;font-weight:600!important;color:#145c27!important}
.m429-member-detail-price strong{font-size:20px!important;font-weight:600!important;color:#0f7a2d!important}
.m429-member-detail-price small{font-size:12px!important;color:#4e6a55!important}


/* MAV 2.2.38 — precio miembro: ahorro extra + texto final */
.m429-member-price-line{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-width:0!important}
.m429-member-extra{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:3px 7px!important;border-radius:999px!important;background:#111827!important;color:#fff!important;font-size:10px!important;line-height:1!important;font-style:normal!important;font-weight:600!important;white-space:nowrap!important}
.m429-member-card-price{grid-template-columns:minmax(0,1fr) auto!important;flex-wrap:wrap!important}
.m429-member-card-price .m429-member-extra{flex:0 0 auto!important}
.m429-member-detail-price small{grid-column:1/-1!important}
@media(max-width:680px){.m429-member-price-line{justify-content:flex-start!important;flex-wrap:wrap!important}}


/* MAV 2.2.50 — distribución exacta según referencia del usuario */
/* FICHA / VENTANA INDIVIDUAL: bloque verde */
.m429-member-detail-price{
  display:grid!important;
  grid-template-columns:230px minmax(175px,1fr) minmax(245px,auto)!important;
  align-items:center!important;
  column-gap:14px!important;
  row-gap:0!important;
  min-height:68px!important;
  margin:8px 0 10px!important;
  padding:7px 18px!important;
  border:2px solid #4bb869!important;
  border-radius:11px!important;
  background:#effaf1!important;
  color:#174b26!important;
  line-height:1.12!important;
  box-sizing:border-box!important;
}
.m429-member-detail-left{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:0!important;
  justify-self:start!important;
  align-self:center!important;
}
.m429-member-detail-top{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:28px!important;
  width:100%!important;
  min-width:0!important;
}
.m429-member-detail-price .m429-member-save-amount{
  display:inline-block!important;
  font-size:15px!important;
  font-weight:600!important;
  color:#608368!important;
  text-decoration:line-through!important;
  white-space:nowrap!important;
}
.m429-member-detail-price .m429-member-extra{
  display:inline-block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#176b2c!important;
  font-size:12px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:700!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
.m429-member-label{
  display:block!important;
  font-size:13px!important;
  line-height:1.05!important;
  font-weight:600!important;
  color:#174b26!important;
  white-space:nowrap!important;
}
.m429-member-main-price{
  display:block!important;
  margin:0!important;
  font-size:24px!important;
  line-height:1!important;
  font-weight:600!important;
  color:#111!important;
  white-space:nowrap!important;
  text-align:center!important;
  justify-self:center!important;
  align-self:center!important;
}
.m429-member-note{
  display:block!important;
  margin:0!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:400!important;
  color:#4e6654!important;
  text-align:left!important;
  justify-self:end!important;
  align-self:center!important;
  width:auto!important;
  max-width:none!important;
  white-space:nowrap!important;
}
.m429-member-detail-price.is-active{background:#eaf8ee!important;border-color:#3fa85b!important}

/* TARJETA / CARRUSEL: se mantiene exactamente el bloque crema aprobado */
.m429-member-card-price{
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  margin:6px 0 0!important;
  padding:6px 7px!important;
  border:1px solid #d3ac19!important;
  border-radius:7px!important;
  background:#fff8d8!important;
  color:#111!important;
  line-height:1.05!important;
}
.m429-member-card-top,
.m429-member-card-bottom{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:7px!important;
  width:100%!important;
}
.m429-member-card-price .m429-member-extra{
  display:inline-block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#111!important;
  font-size:10px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.m429-member-card-price .m429-member-save-amount{
  display:inline-block!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:600!important;
  color:#6f8d68!important;
  text-decoration:line-through!important;
  white-space:nowrap!important;
}
.m429-member-card-bottom span{
  font-size:11px!important;
  line-height:1!important;
  font-weight:600!important;
  color:#111!important;
  white-space:nowrap!important;
}
.m429-member-card-bottom strong{
  font-size:15px!important;
  line-height:1!important;
  font-weight:600!important;
  color:#111!important;
  white-space:nowrap!important;
}
.m429-member-card-price.is-active{background:#fff4c4!important;border-color:#c99e00!important}

@media(max-width:680px){
  .m429-member-detail-price{
    grid-template-columns:1fr auto!important;
    min-height:0!important;
    gap:8px 12px!important;
    padding:9px 11px!important;
  }
  .m429-member-detail-left{grid-column:1!important}
  .m429-member-main-price{grid-column:2!important;grid-row:1!important;font-size:20px!important;justify-self:end!important}
  .m429-member-note{grid-column:1/-1!important;grid-row:2!important;text-align:left!important;justify-self:start!important;width:auto!important;max-width:none!important;white-space:normal!important}
  .m429-member-detail-top{gap:14px!important}
  .m429-member-label{font-size:12px!important;white-space:normal!important}
}

/* MAV 2.2.49 — bloques de precio miembro clicables hacia planes de Servicios */
.m429-member-plan-link{
  text-decoration:none!important;
  cursor:pointer!important;
}
.m429-member-plan-link:visited{
  color:inherit!important;
}
.m429-member-plan-link:focus-visible{
  outline:2px solid #111!important;
  outline-offset:2px!important;
}


/* MAV 2.2.51 — nota de membresía en la misma línea horizontal del precio */
@media(min-width:681px){
  .m429-member-detail-price{grid-template-columns:230px minmax(175px,1fr) minmax(245px,auto)!important;}
  .m429-member-note{align-self:center!important;justify-self:end!important;width:auto!important;max-width:none!important;white-space:nowrap!important;text-align:left!important;}
}
@media(max-width:680px){
  .m429-member-note{white-space:normal!important;}
}


/* MAV 2.2.52 — acción condicional del precio miembro */
.m429-member-cart-action{width:100%!important;font:inherit!important;text-align:inherit!important;appearance:none!important;-webkit-appearance:none!important;cursor:pointer!important}
.m429-member-cart-action:disabled{cursor:not-allowed!important;opacity:.55!important}
.m429-member-cart-action.is-added{box-shadow:0 0 0 2px rgba(20,128,52,.18) inset!important}
.m429-member-card-price.m429-member-cart-action{display:flex!important}
.m429-member-detail-price.m429-member-cart-action{display:grid!important}

/* MAV 2.2.53 — texto de membresía centrado, sin alterar el resto del bloque */
@media(min-width:681px){
  .m429-member-note{
    grid-column:1/-1!important;
    grid-row:2!important;
    justify-self:center!important;
    align-self:center!important;
    width:auto!important;
    max-width:none!important;
    white-space:nowrap!important;
    text-align:center!important;
    margin-top:3px!important;
  }
}
@media(max-width:680px){
  .m429-member-note{
    grid-column:1/-1!important;
    grid-row:2!important;
    justify-self:center!important;
    text-align:center!important;
    white-space:normal!important;
    margin-top:2px!important;
  }
}

/* MAV 2.2.55 / 2.2.62 — tarjetas: pie alineado desde STOCK/AGOTADO o DISPONIBLE, sin alturas ficticias */
/* Los contenedores igualan naturalmente la altura de las tarjetas de cada fila/carrusel. */
.m70-track,
.m420-recommended-track,
#m78ProductTrack,
.m40-product-track{
  align-items:stretch!important;
}
.m40-product-grid,
.m120-entity-grid{
  align-items:stretch!important;
}
.m70-track>.m40-product-card,
.m420-recommended-track>.m40-product-card,
#m78ProductTrack>.m40-product-card,
.m40-product-track>.m40-product-card,
.m40-product-grid>.m40-product-card,
.m120-entity-grid>.m421-service-as-product,
.m421-service-as-product{
  align-self:stretch!important;
  height:auto!important;
}
.m40-product-card .m40-card-body,
.m421-service-as-product .m40-card-body{
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
}
/* Ancla real del pie: lo que varía queda arriba; desde STOCK/AGOTADO o DISPONIBLE todo baja alineado. */
.m40-product-card .m40-card-body > .m40-stock,
.m40-product-card .m40-card-body > .m429-card-price-zone,
.m421-service-as-product .m40-card-body > .m40-stock{
  margin-top:auto!important;
}
.m40-product-card .m40-prices,
.m421-service-as-product .m40-prices,
.m40-product-card .m429-card-price-zone,
.m421-service-as-product .m429-card-price-zone,
.m40-product-card .m60-card-actions,
.m421-service-as-product .m60-card-actions{
  flex:0 0 auto!important;
}
/* Franja miembro compacta: conserva su contenido, sin reservar alto extra. */
.m40-product-card .m429-member-card-price,
.m421-service-as-product .m429-member-card-price{
  width:100%!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
  gap:3px!important;
  margin:4px 0 5px!important;
  padding:4px 6px!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  border-radius:6px!important;
  line-height:1!important;
}
.m40-product-card .m429-member-card-top,
.m40-product-card .m429-member-card-bottom,
.m421-service-as-product .m429-member-card-top,
.m421-service-as-product .m429-member-card-bottom{
  min-height:0!important;
  gap:6px!important;
  line-height:1!important;
}
.m40-product-card .m429-member-card-price .m429-member-extra,
.m421-service-as-product .m429-member-card-price .m429-member-extra,
.m40-product-card .m429-member-card-price .m429-member-save-amount,
.m421-service-as-product .m429-member-card-price .m429-member-save-amount,
.m40-product-card .m429-member-card-bottom span,
.m421-service-as-product .m429-member-card-bottom span{
  font-size:10px!important;
  line-height:1!important;
}
.m40-product-card .m429-member-card-bottom strong,
.m421-service-as-product .m429-member-card-bottom strong{
  font-size:14px!important;
  line-height:1!important;
}
.m40-product-card .m60-card-actions,
.m421-service-as-product .m60-card-actions{
  margin-top:6px!important;
}
@media(max-width:680px){
  .m40-product-card .m429-member-card-price,
  .m421-service-as-product .m429-member-card-price{padding:4px 5px!important}
  .m40-product-card .m429-member-card-bottom strong,
  .m421-service-as-product .m429-member-card-bottom strong{font-size:13px!important}
}

/* MAV 2.2.56 — miembro integrado al bloque de stock/precios, sin franja adicional */
.m429-card-price-zone{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  column-gap:10px;
  margin-top:auto;
  flex:0 0 auto;
}
.m429-card-public-col{
  display:grid;
  grid-template-rows:18px 18px 24px;
  align-items:center;
  min-width:0;
}
.m429-card-price-zone .m40-stock{
  margin:0;
  line-height:18px;
}
.m429-stock-placeholder{visibility:hidden;}
.m429-card-regular{
  min-height:18px;
  line-height:18px;
  display:flex;
  align-items:center;
}
.m429-card-regular del{
  color:#9aa2ad;
  text-decoration-thickness:1px;
  white-space:nowrap;
}
.m429-card-offer{
  display:block;
  color:#ed1c24;
  line-height:24px;
  white-space:nowrap;
}
.m429-member-side-action{
  display:grid;
  grid-template-rows:18px 18px;
  align-items:center;
  justify-items:end;
  align-self:start;
  min-width:max-content;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  font:inherit;
}
.m429-member-side-action span{
  font-size:11px;
  line-height:18px;
  font-weight:600;
  color:#176b2c;
  white-space:nowrap;
}
.m429-member-side-action strong{
  font-size:16px;
  line-height:18px;
  font-weight:600;
  color:#176b2c;
  white-space:nowrap;
}
.m429-member-side-action:hover span,
.m429-member-side-action:hover strong{ text-decoration:underline; }
.m429-member-side-action:disabled{opacity:.55;cursor:not-allowed;}
@media(max-width:680px){
  .m429-card-price-zone{column-gap:6px;}
  .m429-member-side-action span{font-size:10px;}
  .m429-member-side-action strong{font-size:15px;}
}


/* MAV 2.2.57 / 2.2.62 — bloque inferior sin alturas fijas; SOLO MIEMBROS conserva su alineación */
.m40-product-card .m40-card-body > .m40-stock,
.m421-service-as-product .m40-card-body > .m40-stock{
  min-height:0!important;
  height:auto!important;
  line-height:1.3!important;
  flex:0 0 auto!important;
  display:flex!important;
  align-items:center!important;
  margin-bottom:0!important;
}
.m40-product-card .m40-card-body > .m40-prices,
.m421-service-as-product .m40-card-body > .m40-prices{
  min-height:0!important;
  height:auto!important;
  flex:0 0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  gap:0!important;
  margin-bottom:0!important;
}
.m40-product-card .m40-card-body > .m40-prices del,
.m421-service-as-product .m40-card-body > .m40-prices del,
.m40-product-card .m40-card-body > .m40-prices strong,
.m421-service-as-product .m40-card-body > .m40-prices strong{
  min-height:0!important;
  height:auto!important;
  flex:0 0 auto!important;
}
.m40-product-card .m429-card-price-zone,
.m421-service-as-product .m429-card-price-zone{
  margin-bottom:0!important;
  min-height:0!important;
  height:auto!important;
  flex:0 0 auto!important;
  align-items:start!important;
}
.m40-product-card .m429-card-public-col,
.m421-service-as-product .m429-card-public-col,
.m40-product-card .m429-member-side-action,
.m421-service-as-product .m429-member-side-action{
  min-height:0!important;
  height:auto!important;
}
.m40-product-card .m60-card-actions,
.m421-service-as-product .m60-card-actions{
  flex:0 0 auto!important;
}

