/* MILAN RICH — FORCE RESTORE VISUAL 2026-09-11
   Se carga DESPUÉS de styles.min.css para recuperar la ficha de producto.
   Nombre de archivo único para evitar caché viejo. */
:root{--primary:#E30016;--primary-dark:#B00012;--footerBg:#E30016;--accent-ofertas:#E30016}

/* Header */
.glass-header{background:#E30016!important;color:#fff!important;border-bottom:0!important;box-shadow:none!important}
.glass-header .header-icon,.glass-header .hdr-btn,.glass-header .hdr-cart{color:#fff!important;stroke:#fff!important}
.glass-header #cart-counter{background:#fff!important;color:#E30016!important}
.glass-header img#header-logo-img,.glass-header .hdr-logo-center img{filter:brightness(0) invert(1)!important;-webkit-filter:brightness(0) invert(1)!important}
@media(min-width:1101px){
  .hdr-row{max-width:1080px!important;min-height:126px!important;grid-template-columns:250px minmax(330px,1fr) auto auto!important;gap:18px!important}
  #header-logo-img,.hdr-logo-center img{width:245px!important;max-width:245px!important;max-height:78px!important;height:auto!important;object-fit:contain!important;transform:scale(1.08)!important;transform-origin:left center!important}
}

/* Ficha de producto: proporciones de la versión anterior */
@media(min-width:1200px){
  #product-view{max-width:1040px!important;padding:28px 10px 42px!important}
  #product-view .mr-breadcrumbs{margin-bottom:18px!important}
  #product-view .product-hero{display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:center!important;gap:44px!important;margin-bottom:32px!important}
  #product-view .product-gallery-col{flex:0 0 650px!important;width:650px!important;max-width:650px!important;position:sticky!important;top:110px!important}
  #product-view .product-info.mrx-info{flex:0 0 320px!important;width:320px!important;max-width:320px!important;min-width:0!important;padding-top:0!important;gap:12px!important}
}
@media(min-width:1024px) and (max-width:1199px){
  #product-view{max-width:980px!important}
  #product-view .product-hero{gap:34px!important}
  #product-view .product-gallery-col{flex:0 0 61%!important;max-width:61%!important}
  #product-view .product-info.mrx-info{flex:1 1 0!important;max-width:330px!important;min-width:0!important}
}

/* Galería */
#product-view .product-gallery{gap:14px!important}
#product-view .product-thumbs{gap:10px!important;width:58px!important;flex:0 0 58px!important}
#product-view .product-thumbs .thumb{width:58px!important;height:58px!important;border-radius:8px!important}
#product-view .product-main-col{min-width:0!important;flex:1!important}
#product-view .product-main-img-wrap{border-radius:8px!important;background:#fafafa!important;box-shadow:0 2px 12px rgba(0,0,0,.035)!important}

/* Información derecha */
#product-view .mrx-info__head{padding-bottom:12px!important;border-bottom:1px solid #eee!important}
#product-view .mrx-info__meta{margin:0 0 8px!important;font-size:9px!important;line-height:1.3!important;letter-spacing:.2em!important;text-transform:uppercase!important;color:#777!important}
#product-view .mrx-info__title{margin:0!important;font-size:31px!important;line-height:1.04!important;font-weight:700!important;letter-spacing:-.035em!important;color:#111!important}
#product-view .mrx-info__rating{margin-top:10px!important;gap:5px!important;min-height:16px!important}
#product-view .mrx-info__score{font-size:10px!important;font-weight:700!important}
#product-view .mrx-star{width:13px!important;height:13px!important}
#product-view .mrx-info__reviews{font-size:9px!important;color:#777!important}

#product-view .mrx-info__price{padding:13px 0!important;border-bottom:1px solid #eee!important}
#product-view .mrx-info__price .price-block{margin:0!important;gap:4px!important}
#product-view .mrx-info__price .price-row{display:flex!important;align-items:baseline!important;gap:10px!important;flex-wrap:wrap!important}
#product-view .mrx-info__price .price-current{font-size:27px!important;line-height:1!important;font-weight:700!important;color:#111!important;letter-spacing:-.03em!important}
#product-view .mrx-info__price .price-old{font-size:12px!important;color:#999!important;text-decoration:line-through!important}
#product-view .mrx-info__price .price-discount-badge{font-size:9px!important;line-height:1!important;padding:4px 7px!important;border-radius:0!important;background:#E30016!important;color:#fff!important}
#product-view .mrx-info__price .savings-text{display:none!important}

#product-view .mrx-facts{margin:0!important;padding:13px 0!important;display:flex!important;flex-direction:column!important;gap:7px!important;border-bottom:1px solid #eee!important}
#product-view .mrx-facts li{display:flex!important;align-items:center!important;gap:8px!important;font-size:10px!important;line-height:1.35!important;color:#333!important}
#product-view .mrx-facts li svg,#product-view .mrx-facts li i{width:13px!important;height:13px!important;min-width:13px!important;color:#333!important;stroke:#333!important}
#product-view .mrx-stock-tag{align-self:flex-start!important;margin:0!important;padding:6px 11px!important;border-radius:4px!important;font-size:8px!important;line-height:1.2!important;font-weight:700!important;color:#fff!important;background:#E30016!important;border:1px solid #E30016!important}

#product-view .mrx-info__actions{display:flex!important;flex-direction:column!important;gap:9px!important;padding-top:5px!important}
#product-view .mrx-info__qty-row{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important}
#product-view .mrx-info__qty-label{font-size:9px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:#444!important}
#product-view .qty-selector{height:39px!important;min-width:104px!important;width:auto!important;border:1px solid #e0e0e0!important;border-radius:6px!important;display:flex!important;align-items:center!important}
#product-view .qty-selector button{width:34px!important;height:37px!important;font-size:14px!important}
#product-view .qty-selector span{width:34px!important;text-align:center!important;font-size:12px!important;font-weight:600!important}

#product-view .mr-buy-block{display:flex!important;flex-direction:column!important;gap:8px!important;margin-top:5px!important}
#product-view .mr-btn-main{width:100%!important;height:47px!important;border-radius:3px!important;background:#E30016!important;border:1px solid #E30016!important;color:#fff!important;font-size:10px!important;font-weight:700!important;letter-spacing:.18em!important;text-transform:uppercase!important}
#product-view .mr-btn-row{display:flex!important;gap:8px!important;width:100%!important}
#product-view .mr-btn-sec{flex:1!important;height:42px!important;border-radius:3px!important;border:1px solid #e0e0e0!important;background:#fff!important;color:#222!important;font-size:9px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important}
#product-view .mr-btn-fav{width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:3px!important;border:1px solid #e0e0e0!important;background:#fff!important}
#product-view .mrx-trust-strip{display:flex!important;justify-content:center!important;gap:14px!important;font-size:8px!important;color:#777!important;padding:4px 0 8px!important;border-bottom:1px solid #eee!important}

#product-view .mrx-info__footer{display:flex!important;flex-direction:column!important;gap:12px!important;padding-top:8px!important}
#product-view .mrx-info__size-link{display:flex!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;font-size:9px!important;color:#555!important}
#product-view .mrx-info__size-cta{font-size:9px!important;font-weight:700!important;color:#E30016!important;text-transform:none!important}
#product-view .mrx-info__pay{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important}
#product-view .mrx-info__pay-label{font-size:8px!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:#777!important}
#product-view .mrx-info__pay-icons{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important}
#product-view .mrx-info__pay-icons img{height:19px!important;width:auto!important;max-width:48px!important;object-fit:contain!important}
#product-view .mrx-info__pay-more{width:19px!important;height:19px!important;font-size:9px!important}

footer,footer.bg-footerBg,footer[style*="background"]{background:#E30016!important;background-color:#E30016!important}

@media(max-width:767px){
  #product-view .mrx-info__title{font-size:28px!important}
}


/* v4: cards con estado A PEDIDO */
.mr-pcard__img{position:relative!important}
.mr-pcard__chip-pedido{
  position:absolute!important;
  top:12px!important;
  left:12px!important;
  z-index:11!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  background:#E30016!important;
  color:#fff!important;
  padding:6px 10px!important;
  border-radius:3px!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  box-shadow:0 2px 6px rgba(0,0,0,.08)!important;
}
/* El avion se renderizaba deforme: fuera el glifo. */
.mr-pcard__chip-pedido::before{content:none!important}
.mr-pcard__chip-pedido{gap:0!important}
.mr-pcard__chip-pedido ~ .mr-pcard__discount{display:none!important}
/* por si hubiera otras insignias arriba, mantener el pedido como único protagonista */
.mr-pcard__img .mr-pcard__chip-pedido + .product-badge-slot.pos-tl{display:none!important}


/* v5: corrige icono de avión y alineación de beneficios en producto bajo pedido */
#product-view .mrx-facts{
  margin:0!important;
  padding:10px 0 11px!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
}
#product-view .mrx-facts li{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:16px!important;
  font-size:10px!important;
  line-height:1.25!important;
  color:#262626!important;
}
#product-view .mrx-facts li > svg,
#product-view .mrx-facts li > i{
  width:13px!important;
  height:13px!important;
  min-width:13px!important;
  flex:0 0 13px!important;
}
/* fallback: lucide-mini no trae "plane" en algunos bundles */
#product-view .mrx-facts i[data-lucide="plane"]{
  display:inline-block!important;
  width:13px!important;
  height:13px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:13px 13px!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23555555' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2 3 8l6.5 3.5L6 15l-3-.5-1 1 4 2 2 4 1-1-.5-3 3.5-3.5L16 21z'/%3E%3C/svg%3E")!important;
}


/* v6: limpiar franja superior y adelgazar header */
html,body{margin:0!important;padding:0!important;}
#marquee-container{display:none!important;height:0!important;min-height:0!important;max-height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;}
header.glass-header,.glass-header{top:0!important;margin-top:0!important;padding-top:0!important;border-top:0!important;}
.glass-header{min-height:auto!important;}
.hdr-row{min-height:58px!important;gap:10px!important;padding-top:0!important;padding-bottom:0!important;}
#header-logo-img,.hdr-logo-center img{width:210px!important;max-width:210px!important;max-height:58px!important;height:auto!important;transform:none!important;}
.hdr-logo-center{align-self:center!important;}
.hdr-search-inline{max-width:380px!important;}
.hdr-search-inline input,.hdr-search-inline #searchInputInline{height:38px!important;min-height:38px!important;padding-top:0!important;padding-bottom:0!important;}
.hdr-search-inline__btn{width:36px!important;height:36px!important;right:3px!important;}
.mr-desktop-nav__inner{gap:16px!important;}
.mr-desktop-nav__link{font-size:12px!important;letter-spacing:.12em!important;}
.hdr-btn,.hdr-cart{min-width:38px!important;min-height:38px!important;}
.header-icon{width:18px!important;height:18px!important;}
#cart-counter{transform:translate(2px,-2px)!important;}


/* v7: desktop más grande (sensación cercana a 125-130%) + logo mayor */
@media (min-width:1200px){
  html{font-size:17px!important;}
  .max-w-\[1200px\]{max-width:1440px!important;}

  /* Header más presente pero todavía delgado */
  .hdr-row{
    max-width:1360px!important;
    min-height:72px!important;
    grid-template-columns:285px minmax(430px,520px) auto auto!important;
    gap:20px!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }
  #header-logo-img,.hdr-logo-center img{
    width:270px!important;
    max-width:270px!important;
    max-height:70px!important;
    height:auto!important;
    transform:scale(1.18)!important;
    transform-origin:left center!important;
  }
  .hdr-search-inline{max-width:500px!important;}
  .hdr-search-inline input,.hdr-search-inline #searchInputInline{
    height:44px!important;
    min-height:44px!important;
    font-size:13px!important;
  }
  .hdr-search-inline__btn{width:40px!important;height:40px!important;}
  .mr-desktop-nav__inner{gap:20px!important;}
  .mr-desktop-nav__link{font-size:12px!important;letter-spacing:.13em!important;padding-left:7px!important;padding-right:7px!important;}
  .hdr-btn,.hdr-cart{min-width:42px!important;min-height:42px!important;}
  .header-icon{width:20px!important;height:20px!important;}

  /* Ficha de producto: ocupar mejor el ancho de PC */
  #product-view{
    max-width:1280px!important;
    padding:32px 16px 52px!important;
  }
  #product-view .product-hero{
    gap:52px!important;
    justify-content:center!important;
  }
  #product-view .product-gallery-col{
    flex:0 0 790px!important;
    width:790px!important;
    max-width:790px!important;
  }
  #product-view .product-info.mrx-info{
    flex:0 0 390px!important;
    width:390px!important;
    max-width:390px!important;
    gap:14px!important;
  }
  #product-view .product-thumbs{width:66px!important;flex-basis:66px!important;gap:11px!important;}
  #product-view .product-thumbs .thumb{width:66px!important;height:66px!important;}
  #product-view .mrx-info__meta{font-size:10px!important;}
  #product-view .mrx-info__title{font-size:36px!important;line-height:1.03!important;}
  #product-view .mrx-info__score{font-size:11px!important;}
  #product-view .mrx-star{width:14px!important;height:14px!important;}
  #product-view .mrx-info__reviews{font-size:10px!important;}
  #product-view .mrx-info__price .price-current{font-size:31px!important;}
  #product-view .mrx-info__price .price-old{font-size:13px!important;}
  #product-view .mrx-facts li{font-size:11px!important;gap:9px!important;}
  #product-view .mrx-facts li > svg,#product-view .mrx-facts li > i{width:14px!important;height:14px!important;min-width:14px!important;flex-basis:14px!important;}
  #product-view .mrx-stock-tag{font-size:9px!important;padding:7px 12px!important;}
  #product-view .mrx-info__qty-label{font-size:10px!important;}
  #product-view .qty-selector{height:43px!important;min-width:112px!important;}
  #product-view .qty-selector button{height:41px!important;width:37px!important;}
  #product-view .qty-selector span{width:37px!important;font-size:13px!important;}
  #product-view .mr-btn-main{height:52px!important;font-size:11px!important;}
  #product-view .mr-btn-sec{height:46px!important;font-size:10px!important;}
  #product-view .mr-btn-fav{width:46px!important;height:46px!important;flex-basis:46px!important;}
  #product-view .mrx-trust-strip{font-size:9px!important;}
  #product-view .mrx-info__size-link,#product-view .mrx-info__size-cta{font-size:10px!important;}
  #product-view .mrx-info__pay-label{font-size:9px!important;}
  #product-view .mrx-info__pay-icons img{height:22px!important;max-width:56px!important;}
}


/* v8: reducir 15% la escala visual de escritorio respecto a v7 */
@media (min-width:1200px){
  html{font-size:14.45px!important;}
  .max-w-\[1200px\]{max-width:1224px!important;}

  .hdr-row{
    max-width:1156px!important;
    min-height:61px!important;
    grid-template-columns:242px minmax(366px,442px) auto auto!important;
    gap:17px!important;
    padding-left:15px!important;
    padding-right:15px!important;
  }
  #header-logo-img,.hdr-logo-center img{
    width:230px!important;
    max-width:230px!important;
    max-height:60px!important;
    height:auto!important;
    transform:scale(1.00)!important;
    transform-origin:left center!important;
  }
  .hdr-search-inline{max-width:425px!important;}
  .hdr-search-inline input,.hdr-search-inline #searchInputInline{
    height:37px!important;
    min-height:37px!important;
    font-size:11px!important;
  }
  .hdr-search-inline__btn{width:34px!important;height:34px!important;}
  .mr-desktop-nav__inner{gap:17px!important;}
  .mr-desktop-nav__link{font-size:10.2px!important;letter-spacing:.11em!important;padding-left:6px!important;padding-right:6px!important;}
  .hdr-btn,.hdr-cart{min-width:36px!important;min-height:36px!important;}
  .header-icon{width:17px!important;height:17px!important;}

  #product-view{
    max-width:1088px!important;
    padding:27px 14px 44px!important;
  }
  #product-view .product-hero{gap:44px!important;justify-content:center!important;}
  #product-view .product-gallery-col{
    flex:0 0 672px!important;
    width:672px!important;
    max-width:672px!important;
  }
  #product-view .product-info.mrx-info{
    flex:0 0 332px!important;
    width:332px!important;
    max-width:332px!important;
    gap:12px!important;
  }
  #product-view .product-thumbs{width:56px!important;flex-basis:56px!important;gap:9px!important;}
  #product-view .product-thumbs .thumb{width:56px!important;height:56px!important;}
  #product-view .mrx-info__meta{font-size:8.5px!important;}
  #product-view .mrx-info__title{font-size:30.6px!important;line-height:1.03!important;}
  #product-view .mrx-info__score{font-size:9.4px!important;}
  #product-view .mrx-star{width:12px!important;height:12px!important;}
  #product-view .mrx-info__reviews{font-size:8.5px!important;}
  #product-view .mrx-info__price .price-current{font-size:26.4px!important;}
  #product-view .mrx-info__price .price-old{font-size:11px!important;}
  #product-view .mrx-facts li{font-size:9.4px!important;gap:8px!important;}
  #product-view .mrx-facts li > svg,#product-view .mrx-facts li > i{width:12px!important;height:12px!important;min-width:12px!important;flex-basis:12px!important;}
  #product-view .mrx-stock-tag{font-size:7.7px!important;padding:6px 10px!important;}
  #product-view .mrx-info__qty-label{font-size:8.5px!important;}
  #product-view .qty-selector{height:37px!important;min-width:95px!important;}
  #product-view .qty-selector button{height:35px!important;width:31px!important;}
  #product-view .qty-selector span{width:31px!important;font-size:11px!important;}
  #product-view .mr-btn-main{height:44px!important;font-size:9.4px!important;}
  #product-view .mr-btn-sec{height:39px!important;font-size:8.5px!important;}
  #product-view .mr-btn-fav{width:39px!important;height:39px!important;flex-basis:39px!important;}
  #product-view .mrx-trust-strip{font-size:7.7px!important;}
  #product-view .mrx-info__size-link,#product-view .mrx-info__size-cta{font-size:8.5px!important;}
  #product-view .mrx-info__pay-label{font-size:7.7px!important;}
  #product-view .mrx-info__pay-icons img{height:19px!important;max-width:48px!important;}
}


/* v9: agrandar logo del header en escritorio */
@media (min-width:1200px){
  .hdr-row{
    max-width:1188px!important;
    min-height:66px!important;
    grid-template-columns:290px minmax(350px,430px) auto auto!important;
    gap:16px!important;
  }
  #header-logo-img,.hdr-logo-center img{
    width:290px!important;
    max-width:290px!important;
    max-height:74px!important;
    height:auto!important;
    object-fit:contain!important;
    transform:none!important;
  }
  .hdr-logo-center{justify-self:start!important;}
}


/* v10: pulir header móvil */
@media (max-width: 767px){
  .glass-header{
    padding-top: 0!important;
    padding-bottom: 10px!important;
  }
  .hdr-row{
    min-height: 54px!important;
    grid-template-columns: 40px 1fr 40px!important;
    gap: 8px!important;
    padding: 10px 12px 8px!important;
    align-items: center!important;
  }
  .hdr-hamburger{justify-self:start!important;}
  .hdr-actions{justify-self:end!important;gap:2px!important;}
  .hdr-btn,.hdr-cart{
    min-width: 40px!important;
    min-height: 40px!important;
    width: 40px!important;
    height: 40px!important;
    border-radius: 8px!important;
    padding: 0!important;
  }
  .header-icon{width:18px!important;height:18px!important;}
  .hdr-logo-center{
    justify-self:center!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
  }
  #header-logo-img,.hdr-logo-center img{
    width: 170px!important;
    max-width: 170px!important;
    max-height: 42px!important;
    height: auto!important;
    object-fit: contain!important;
    transform:none!important;
  }
  #cart-counter{top: 2px!important; right: 0!important; transform:none!important;}

  /* buscador debajo, más limpio */
  .hdr-search-inline,
  .hdr-search-wrap{
    display:flex!important;
    width: calc(100% - 24px)!important;
    max-width: none!important;
    margin: 0 12px!important;
  }
  .hdr-search-inline input,
  .hdr-search-inline #searchInputInline,
  .hdr-search-wrap input,
  .hdr-search-wrap .hdr-search-input{
    height: 42px!important;
    min-height: 42px!important;
    border-radius: 999px!important;
    font-size: 14px!important;
    padding-left: 16px!important;
    padding-right: 42px!important;
    box-shadow: none!important;
  }
  .hdr-search-inline__btn,
  .hdr-search-wrap button{
    width: 38px!important;
    height: 38px!important;
    right: 2px!important;
    top: 2px!important;
    border-radius: 999px!important;
  }
}


/* v11: eliminar hueco entre cards en móvil y suavizar scroll vertical */
@media (max-width: 767px){
  .home-section-scroll{
    gap: 0!important;
    padding: 0 12px 8px!important;
    scroll-padding-left: 12px!important;
    scroll-snap-type: x mandatory!important;
    align-items: stretch!important;
    overscroll-behavior-y: auto!important;
  }
  .home-section-scroll .product-card-wrap{
    flex: 0 0 50%!important;
    max-width: 50%!important;
    padding: 0!important;
    margin: 0!important;
    display: flex!important;
  }
  .home-section-scroll .product-card-wrap .mr-pcard{
    width: 100%!important;
    height: 100%!important;
    border-radius: 0!important;
  }
  .home-section-fade{display:none!important;}
}


/* v12: corregir logo y lupa en móvil */
@media (max-width: 767px){
  .glass-header{
    padding-bottom: 12px!important;
  }
  .hdr-row{
    min-height: 58px!important;
    grid-template-columns: 40px 1fr 40px!important;
    gap: 10px!important;
    padding: 8px 12px 8px!important;
  }
  .hdr-logo-center{
    min-width: 0!important;
    overflow: visible!important;
  }
  #header-logo-img,.hdr-logo-center img{
    width: 196px!important;
    max-width: min(196px, 100%)!important;
    max-height: 50px!important;
    height: auto!important;
    object-fit: contain!important;
  }

  .hdr-search-inline,
  .hdr-search-wrap{
    position: relative!important;
    display: block!important;
    width: calc(100% - 24px)!important;
    max-width: none!important;
    margin: 0 12px!important;
  }
  .hdr-search-inline input,
  .hdr-search-inline #searchInputInline,
  .hdr-search-wrap input,
  .hdr-search-wrap .hdr-search-input{
    display:block!important;
    width:100%!important;
    height: 44px!important;
    min-height: 44px!important;
    padding-left: 16px!important;
    padding-right: 46px!important;
    border-radius: 999px!important;
    box-sizing: border-box!important;
  }
  .hdr-search-inline__btn,
  .hdr-search-wrap button{
    position:absolute!important;
    top:50%!important;
    right:6px!important;
    transform:translateY(-50%)!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:transparent!important;
    border:none!important;
    border-radius:999px!important;
    z-index:2!important;
  }
  .hdr-search-inline__btn i,
  .hdr-search-wrap button i,
  .hdr-search-inline__btn svg,
  .hdr-search-wrap button svg{
    width:18px!important;
    height:18px!important;
  }
  .hdr-suggestions-inline{
    left:0!important;
    right:0!important;
    top:calc(100% + 6px)!important;
  }
}


/* v13: eliminar hueco/rebote del carrusel móvil */
@media (max-width: 767px){
  .home-section-scroll-wrap{
    position: relative!important;
    padding: 0!important;
    margin: 0!important;
    overflow: hidden!important;
  }
  .home-section-scroll{
    display:flex!important;
    gap: 0!important;
    padding: 0 12px 0!important;
    margin: 0!important;
    overflow-x: auto!important;
    overflow-y: hidden!important;
    align-items: flex-start!important;
    scrollbar-width: none!important;
    -ms-overflow-style: none!important;
    scroll-snap-type: none!important;
    scroll-padding-left: 12px!important;
    overscroll-behavior-x: contain!important;
    overscroll-behavior-y: none!important;
    -webkit-overflow-scrolling: touch!important;
  }
  .home-section-scroll::-webkit-scrollbar{
    display:none!important;
    width:0!important;
    height:0!important;
    background:transparent!important;
  }
  .home-section-scroll .product-card-wrap{
    flex: 0 0 50%!important;
    max-width: 50%!important;
    min-width: 50%!important;
    margin: 0!important;
    padding: 0!important;
    display:flex!important;
    align-self:flex-start!important;
  }
  .home-section-scroll .product-card-wrap .mr-pcard{
    width:100%!important;
    height:100%!important;
    margin:0!important;
  }
  .home-section-fade{
    display:none!important;
  }
}


/* v14: permitir scroll vertical del dedo sobre el carrusel móvil */
@media (max-width: 767px){
  .home-section-scroll-wrap{
    overscroll-behavior: auto!important;
    touch-action: pan-x pan-y!important;
  }
  .home-section-scroll{
    overscroll-behavior-x: contain!important;
    overscroll-behavior-y: auto!important;
    touch-action: pan-x pan-y!important;
  }
  .home-section-scroll .product-card-wrap,
  .home-section-scroll .mr-pcard,
  .home-section-scroll .mr-pcard *{
    touch-action: pan-x pan-y!important;
  }
}


/* v15: logo móvil más grande */
@media (max-width: 767px){
  .hdr-row{
    min-height: 60px!important;
    grid-template-columns: 38px 1fr 38px!important;
    gap: 8px!important;
    padding: 8px 10px 8px!important;
  }
  .hdr-btn,.hdr-cart{
    min-width: 38px!important;
    min-height: 38px!important;
    width: 38px!important;
    height: 38px!important;
  }
  .hdr-logo-center{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
  }
  #header-logo-img,.hdr-logo-center img{
    width: 220px!important;
    max-width: 220px!important;
    max-height: 56px!important;
    height:auto!important;
    object-fit:contain!important;
    transform:none!important;
  }
}


/* v16: logo móvil aún más grande */
@media (max-width: 767px){
  .hdr-row{
    min-height: 62px!important;
    grid-template-columns: 36px 1fr 36px!important;
    gap: 6px!important;
    padding: 8px 8px 8px!important;
  }
  .hdr-btn,.hdr-cart{
    min-width: 36px!important;
    min-height: 36px!important;
    width: 36px!important;
    height: 36px!important;
  }
  #header-logo-img,.hdr-logo-center img{
    width: 240px!important;
    max-width: min(240px, 100%)!important;
    max-height: 62px!important;
    height:auto!important;
    object-fit:contain!important;
    transform:none!important;
  }
}


/* v17: logo móvil todavía más grande */
@media (max-width: 767px){
  .hdr-row{
    min-height: 64px!important;
    grid-template-columns: 34px 1fr 34px!important;
    gap: 5px!important;
    padding: 8px 7px 8px!important;
  }
  .hdr-btn,.hdr-cart{
    min-width: 34px!important;
    min-height: 34px!important;
    width: 34px!important;
    height: 34px!important;
  }
  #header-logo-img,.hdr-logo-center img{
    width: 255px!important;
    max-width: min(255px, 100%)!important;
    max-height: 66px!important;
    height:auto!important;
    object-fit:contain!important;
    transform:none!important;
  }
}


/* v18: aumento VISUAL real del logo móvil (no solo del contenedor) */
@media (max-width: 767px){
  .hdr-logo-center{
    overflow:visible!important;
    position:relative!important;
    z-index:3!important;
  }
  #header-logo-img,.hdr-logo-center img{
    width:200px!important;
    max-width:200px!important;
    max-height:54px!important;
    height:auto!important;
    object-fit:contain!important;
    transform:scale(1.58)!important;
    transform-origin:center center!important;
  }
  .hdr-row{
    min-height:66px!important;
    overflow:visible!important;
  }
  .hdr-hamburger,.hdr-actions{
    position:relative!important;
    z-index:5!important;
  }
}


/* v19: escritorio estable en secciones de productos (sin hueco al hacer scroll) */
@media (min-width: 768px){
  .home-section-scroll-wrap{
    position: relative!important;
    overflow: visible!important;
  }
  .home-section-scroll{
    display:grid!important;
    grid-template-columns: repeat(3, minmax(0, 1fr))!important;
    gap: 1.25rem!important;
    padding: 0!important;
    margin: 0!important;
    overflow: visible!important;
    overflow-x: visible!important;
    overflow-y: visible!important;
    scroll-snap-type: none!important;
    scroll-padding-left: 0!important;
    align-items: start!important;
    -webkit-overflow-scrolling: auto!important;
  }
  .home-section-scroll .product-card-wrap{
    flex: none!important;
    width: auto!important;
    max-width: none!important;
    min-width: 0!important;
    margin: 0!important;
    padding: 0!important;
    display:block!important;
    align-self: start!important;
    scroll-snap-align: unset!important;
  }
  .home-section-scroll .product-card-wrap .mr-pcard{
    width: 100%!important;
    height: 100%!important;
  }
  .home-section-fade{
    display:none!important;
  }
}
@media (min-width: 1024px){
  .home-section-scroll{
    grid-template-columns: repeat(4, minmax(0, 1fr))!important;
  }
}


/* v20: normalización de imágenes según proveedor */
.mr-pcard__img{background:#fff!important;}
.mr-pcard__img img{
  object-position:center center!important;
  box-sizing:border-box!important;
}
/* Invicta Stores: suele venir más "cerrado" y necesita aire. */
.mr-pcard--src-invicta .mr-pcard__img img{
  object-fit:contain!important;
  padding:7% 8% 5%!important;
}
/* Jomashop: ya suele traer margen blanco en el archivo. */
.mr-pcard--src-joma .mr-pcard__img img{
  object-fit:contain!important;
  padding:2.5% 3.5%!important;
}
@media(max-width:767px){
  .mr-pcard--src-invicta .mr-pcard__img img{padding:8% 8% 6%!important;}
  .mr-pcard--src-joma .mr-pcard__img img{padding:3% 3%!important;}
}


/* v21: +10% de escala visual SOLO en la ficha de producto de escritorio */
@media (min-width:1200px){
  #product-view{
    max-width:1197px!important;
    padding:30px 15px 48px!important;
  }
  #product-view .mr-breadcrumbs{
    margin-bottom:20px!important;
    font-size:1.05em!important;
  }
  #product-view .product-hero{
    gap:48px!important;
    margin-bottom:35px!important;
  }
  #product-view .product-gallery-col{
    flex:0 0 739px!important;
    width:739px!important;
    max-width:739px!important;
  }
  #product-view .product-info.mrx-info{
    flex:0 0 365px!important;
    width:365px!important;
    max-width:365px!important;
    gap:13px!important;
  }
  #product-view .product-gallery{gap:15px!important;}
  #product-view .product-thumbs{
    width:62px!important;
    flex-basis:62px!important;
    gap:10px!important;
  }
  #product-view .product-thumbs .thumb{
    width:62px!important;
    height:62px!important;
  }
  #product-view .mrx-info__meta{font-size:9.4px!important;}
  #product-view .mrx-info__title{font-size:33.7px!important;}
  #product-view .mrx-info__score{font-size:10.3px!important;}
  #product-view .mrx-star{width:13px!important;height:13px!important;}
  #product-view .mrx-info__reviews{font-size:9.4px!important;}
  #product-view .mrx-info__price{padding:14px 0!important;}
  #product-view .mrx-info__price .price-current{font-size:29px!important;}
  #product-view .mrx-info__price .price-old{font-size:12px!important;}
  #product-view .mrx-info__price .price-discount-badge{font-size:9.4px!important;padding:4px 8px!important;}
  #product-view .mrx-facts{padding:14px 0!important;gap:8px!important;}
  #product-view .mrx-facts li{font-size:10.3px!important;gap:9px!important;}
  #product-view .mrx-facts li > svg,
  #product-view .mrx-facts li > i{
    width:13px!important;
    height:13px!important;
    min-width:13px!important;
    flex-basis:13px!important;
  }
  #product-view .mrx-stock-tag{font-size:8.5px!important;padding:7px 11px!important;}
  #product-view .mrx-info__qty-label{font-size:9.4px!important;}
  #product-view .qty-selector{height:41px!important;min-width:105px!important;}
  #product-view .qty-selector button{height:39px!important;width:34px!important;}
  #product-view .qty-selector span{width:34px!important;font-size:12px!important;}
  #product-view .mr-btn-main{height:48px!important;font-size:10.3px!important;}
  #product-view .mr-btn-sec{height:43px!important;font-size:9.4px!important;}
  #product-view .mr-btn-fav{width:43px!important;height:43px!important;flex-basis:43px!important;}
  #product-view .mrx-trust-strip{font-size:8.5px!important;gap:15px!important;}
  #product-view .mrx-info__size-link,
  #product-view .mrx-info__size-cta{font-size:9.4px!important;}
  #product-view .mrx-info__pay-label{font-size:8.5px!important;}
  #product-view .mrx-info__pay-icons img{height:21px!important;max-width:53px!important;}
  #product-view .mrx-info__pay-more{width:21px!important;height:21px!important;}
}


/* v22: ficha de producto +22% visual en escritorio */
@media (min-width:1200px){
  #product-view{
    max-width:1320px!important;
    padding:34px 16px 56px!important;
  }
  #product-view .mr-breadcrumbs{
    margin-bottom:22px!important;
    font-size:11px!important;
  }
  #product-view .product-hero{
    gap:54px!important;
    justify-content:center!important;
    align-items:flex-start!important;
  }
  #product-view .product-gallery-col{
    flex:0 0 790px!important;
    width:790px!important;
    max-width:790px!important;
  }
  #product-view .product-info.mrx-info{
    flex:0 0 390px!important;
    width:390px!important;
    max-width:390px!important;
    gap:15px!important;
  }
  #product-view .product-gallery{gap:18px!important;}
  #product-view .product-thumbs{
    width:68px!important;
    flex:0 0 68px!important;
    gap:12px!important;
  }
  #product-view .product-thumbs .thumb{
    width:68px!important;
    height:68px!important;
  }
  #product-view .mrx-info__meta{font-size:10.5px!important;}
  #product-view .mrx-info__title{
    font-size:41px!important;
    line-height:1.02!important;
  }
  #product-view .mrx-info__score{font-size:11px!important;}
  #product-view .mrx-star{width:15px!important;height:15px!important;}
  #product-view .mrx-info__reviews{font-size:10.5px!important;}
  #product-view .mrx-info__price{padding:16px 0!important;}
  #product-view .mrx-info__price .price-current{font-size:35px!important;}
  #product-view .mrx-info__price .price-old{font-size:14px!important;}
  #product-view .mrx-info__price .price-discount-badge{font-size:10px!important;padding:5px 9px!important;}
  #product-view .mrx-facts{padding:16px 0!important;gap:9px!important;}
  #product-view .mrx-facts li{font-size:12px!important;gap:10px!important;}
  #product-view .mrx-facts li > svg,
  #product-view .mrx-facts li > i{
    width:15px!important;height:15px!important;min-width:15px!important;flex-basis:15px!important;
  }
  #product-view .mrx-stock-tag{font-size:10px!important;padding:8px 13px!important;}
  #product-view .mrx-info__qty-label{font-size:10.5px!important;}
  #product-view .qty-selector{height:46px!important;min-width:118px!important;}
  #product-view .qty-selector button{height:44px!important;width:39px!important;}
  #product-view .qty-selector span{width:39px!important;font-size:13px!important;}
  #product-view .mr-btn-main{height:55px!important;font-size:11.5px!important;}
  #product-view .mr-btn-sec{height:49px!important;font-size:10.5px!important;}
  #product-view .mr-btn-fav{width:49px!important;height:49px!important;flex-basis:49px!important;}
  #product-view .mrx-trust-strip{font-size:9.5px!important;gap:17px!important;}
  #product-view .mrx-info__size-link,
  #product-view .mrx-info__size-cta{font-size:10.5px!important;}
  #product-view .mrx-info__pay-label{font-size:9.5px!important;}
  #product-view .mrx-info__pay-icons img{height:24px!important;max-width:60px!important;}
  #product-view .mrx-info__pay-more{width:24px!important;height:24px!important;}
}
