:root{
  --mw-market-bg:#ffffff;
  --mw-market-text:#111111;
  --mw-market-muted:#666666;
  --mw-market-soft:#f5f5f5;
  --mw-market-line:#eeeeee;
  --mw-market-accent:#111111;
  --mw-market-pink:#e11d48;
  --mw-market-whatsapp:#16a34a;
}

html,body,
body:not(.mw-admin),
body:not(.mw-admin) .container,
body:not(.mw-admin) .container-fluid,
body:not(.mw-admin) main,
body:not(.mw-admin) section,
body:not(.mw-admin) .mw-home-page-v5,
body:not(.mw-admin) .mw-catalog-v13,
body:not(.mw-admin) .mw-catalog-v13-panel,
body:not(.mw-admin) .mw-home-v5-hero,
body:not(.mw-admin) .mw-home-v5-strip,
body:not(.mw-admin) .mw-home-v5-categories,
body:not(.mw-admin) .mw-home-v5-offers,
body:not(.mw-admin) .mw-catalog-title,
body:not(.mw-admin) .mw-category-title{
  background:#fff!important;
  background-image:none!important;
}

body:not(.mw-admin) .mw-home-v5-hero::before,
body:not(.mw-admin) .mw-home-v5-hero::after,
body:not(.mw-admin) .mw-home-v5-bg-orb,
body:not(.mw-admin) .mw-catalog-v13-photo::before,
body:not(.mw-admin) .mw-catalog-v13-photo::after,
body:not(.mw-admin) .mw-card-photo::before,
body:not(.mw-admin) .mw-card-photo::after,
body:not(.mw-admin) .mw-product-image-link::before,
body:not(.mw-admin) .mw-product-image-link::after{
  display:none!important;
  content:none!important;
}

/* Estilo tipo marketplace: imagen grande, texto abajo, sin caja pesada */
.mw-catalog-v13-grid,
.mw-products-grid{
  row-gap:22px!important;
}

.mw-product-col{
  display:flex!important;
  margin-bottom:18px!important;
}

.mw-catalog-v13-card,
.mw-shop-card,
.product-card.mw-product-card{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  position:relative!important;
  overflow:visible!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}

.mw-catalog-v13-card:hover,
.mw-shop-card:hover,
.product-card.mw-product-card:hover{
  transform:none!important;
  box-shadow:none!important;
}

.mw-market-photo-wrap{
  position:relative!important;
  width:100%!important;
  aspect-ratio:1/1!important;
  background:#f7f7f7!important;
  border-radius:12px!important;
  overflow:hidden!important;
  display:block!important;
}

.mw-catalog-v13-photo,
.mw-card-photo,
.mw-product-image-link{
  display:block!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
  background:#f7f7f7!important;
  background-image:none!important;
  border:0!important;
  overflow:hidden!important;
}

.mw-catalog-v13-photo img,
.mw-card-photo img,
.mw-product-image-link img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  padding:0!important;
  margin:0!important;
  mix-blend-mode:normal!important;
  transform:none!important;
}

.mw-catalog-v13-card:hover .mw-catalog-v13-photo img,
.mw-shop-card:hover .mw-card-photo img,
.product-card.mw-product-card:hover .mw-product-image-link img{
  transform:none!important;
}

/* Corazon flotante visible */
.mw-floating-heart,
.mw-wishlist-btn{
  position:absolute!important;
  top:10px!important;
  right:10px!important;
  z-index:12!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:rgba(255,255,255,.92)!important;
  color:#111!important;
  border:1px solid rgba(17,17,17,.08)!important;
  box-shadow:0 8px 18px rgba(0,0,0,.12)!important;
  text-decoration:none!important;
  backdrop-filter:blur(8px);
}

.mw-floating-heart i,
.mw-wishlist-btn i{
  font-size:1.1rem!important;
  line-height:1!important;
}

.mw-floating-heart:hover,
.mw-wishlist-btn:hover{
  color:var(--mw-market-pink)!important;
  background:#fff!important;
}

/* Boton carrito flotante como la referencia */
.mw-market-cart{
  position:absolute!important;
  right:12px!important;
  bottom:12px!important;
  z-index:12!important;
  width:46px!important;
  height:46px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  color:#111!important;
  border:1px solid rgba(17,17,17,.08)!important;
  box-shadow:0 10px 22px rgba(0,0,0,.18)!important;
  text-decoration:none!important;
}

.mw-market-cart i{font-size:1.25rem!important;line-height:1!important;}
.mw-market-cart:hover{background:#111!important;color:#fff!important;}
.mw-market-cart.is-off{opacity:.72;background:#f3f4f6!important;color:#9ca3af!important;}

/* Se ocultan badges fuertes para parecer mas marketplace */
.mw-catalog-v13-badges,
.mw-card-badge{
  display:none!important;
}

.mw-catalog-v13-body,
.mw-card-body,
.product-card .card-body{
  padding:8px 0 0!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  flex:0 0 auto!important;
}

.mw-catalog-v13-category,
.mw-card-category{
  display:none!important;
}

.mw-catalog-v13-body h3,
.mw-card-title,
.product-card .card-title{
  margin:0!important;
  min-height:0!important;
  max-height:none!important;
  font-size:.98rem!important;
  line-height:1.22!important;
  font-weight:500!important;
  letter-spacing:0!important;
  color:#222!important;
  display:-webkit-box!important;
  -webkit-line-clamp:1!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

.mw-catalog-v13-body h3 a,
.mw-card-title a,
.product-card .card-title a{
  color:#222!important;
  text-decoration:none!important;
}

.mw-catalog-v13-price-row,
.mw-card-price{
  order:2!important;
  margin:3px 0 0!important;
  min-height:0!important;
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}

.mw-catalog-v13-price-row strong,
.mw-card-price{
  color:#111!important;
  font-size:1.4rem!important;
  line-height:1.02!important;
  font-weight:900!important;
  letter-spacing:-.03em!important;
}

.mw-catalog-v13-price-row small{
  color:#777!important;
  font-size:.72rem!important;
  font-weight:500!important;
  white-space:nowrap!important;
}

.mw-catalog-v13-body p,
.mw-card-desc{
  order:3!important;
  margin:2px 0 0!important;
  min-height:0!important;
  max-height:none!important;
  color:#a17131!important;
  font-size:.88rem!important;
  line-height:1.22!important;
  font-weight:400!important;
  display:-webkit-box!important;
  -webkit-line-clamp:1!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

/* Los botones inferiores ya no se muestran: la accion principal esta flotando sobre la imagen */
.mw-catalog-v13-actions,
.mw-card-actions{
  display:none!important;
}

/* Panel de filtros mas limpio */
.mw-catalog-v13-panel{
  border:0!important;
  box-shadow:none!important;
  padding-left:0!important;
  padding-right:0!important;
}

.mw-catalog-v13-chip,
.mw-catalog-v13-searchbox,
.mw-catalog-v13-controls select,
.mw-catalog-v13-controls button,
.mw-catalog-v13-search button{
  border-radius:999px!important;
}

@media(max-width:768px){
  .container.main-content,
  body:not(.mw-admin) .container{
    max-width:100%!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }

  .mw-product-col{
    padding-left:6px!important;
    padding-right:6px!important;
    margin-bottom:18px!important;
  }

  .mw-market-photo-wrap{
    border-radius:10px!important;
  }

  .mw-floating-heart,
  .mw-wishlist-btn{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    top:8px!important;
    right:8px!important;
  }

  .mw-market-cart{
    width:42px!important;
    height:42px!important;
    right:10px!important;
    bottom:10px!important;
  }

  .mw-catalog-v13-body h3,
  .mw-card-title,
  .product-card .card-title{
    font-size:.92rem!important;
  }

  .mw-catalog-v13-price-row strong,
  .mw-card-price{
    font-size:1.32rem!important;
  }

  .mw-catalog-v13-body p,
  .mw-card-desc{
    font-size:.86rem!important;
  }
}

@media(max-width:390px){
  .mw-catalog-v13-body h3,
  .mw-card-title,
  .product-card .card-title{font-size:.88rem!important;}
  .mw-catalog-v13-price-row strong,.mw-card-price{font-size:1.22rem!important;}
}
