/* NubeParts3 RC42 · Storefront results UX hardening
   Dedicated asset to bypass stale legacy card-grid CSS and preserve search logic. */
body.np3-shop-v4 .np3-shop-hero-v4__copy h1{
  font-size:clamp(32px,3.15vw,48px)!important;
  line-height:1.08!important;
  max-width:660px!important;
  letter-spacing:-.035em!important;
}
body.np3-shop-v4 .np3-shop-hero-v4__grid{min-height:228px!important;padding-top:30px!important;padding-bottom:30px!important}
body.np3-shop-v4 .np3-shop-hero-v4__visual{height:190px!important}

/* Force a technical-commerce list: one complete repuesto per row. */
body.np3-shop-v4 .np3-catalog-v4 #scrpc-product-list.np3-catalog-product-list{
  display:flex!important;
  flex-direction:column!important;
  grid-template-columns:none!important;
  gap:16px!important;
  width:100%!important;
  min-width:0!important;
  padding:18px!important;
  overflow:visible!important;
}
body.np3-shop-v4 .np3-catalog-v4 #scrpc-product-list > article.np3-result-card{
  display:grid!important;
  grid-template-columns:210px minmax(0,1fr) 210px!important;
  grid-template-rows:auto!important;
  gap:22px!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:210px!important;
  height:auto!important;
  margin:0!important;
  padding:18px!important;
  border:1px solid #e2e8eb!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(19,42,54,.045)!important;
  overflow:hidden!important;
  position:relative!important;
}
body.np3-shop-v4 .np3-catalog-v4 #scrpc-product-list > article.np3-result-card:hover{
  transform:translateY(-1px)!important;
  border-color:#d3dde2!important;
  box-shadow:0 14px 30px rgba(19,42,54,.08)!important;
}
body.np3-shop-v4 .np3-result-media{
  width:100%!important;
  height:180px!important;
  min-height:180px!important;
  border-radius:14px!important;
  background:#fafcfd!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
body.np3-shop-v4 .np3-result-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:180px!important;
  max-height:180px!important;
  padding:8px!important;
  object-fit:contain!important;
}
body.np3-shop-v4 .np3-result-copy{
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
}
body.np3-shop-v4 .np3-result-category{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  padding:0 9px!important;
  border-radius:999px!important;
  background:#fff1f2!important;
  color:#e21d2b!important;
  font-size:9px!important;
  font-weight:950!important;
  line-height:1!important;
  margin-left:0!important;
  margin-right:auto!important;
  text-align:left!important;
}
body.np3-shop-v4 .np3-result-title{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  max-width:100%!important;
  margin:9px 0 10px!important;
  color:#152b36!important;
  font-size:20px!important;
  font-weight:900!important;
  line-height:1.28!important;
  text-decoration:none!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  text-align:left!important;
}
body.np3-shop-v4 .np3-result-identifiers{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px 16px!important;
  margin-top:2px!important;
  color:#71828b!important;
  font-size:12px!important;
  line-height:1.5!important;
}
body.np3-shop-v4 .np3-result-identifiers b{color:#40555f!important;font-weight:850!important}
body.np3-shop-v4 .np3-result-fitment{
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  margin-top:13px!important;
}
body.np3-shop-v4 .np3-result-fitment strong{color:#159e4a!important;font-size:12px!important;font-weight:900!important}
body.np3-shop-v4 .np3-result-fitment span{color:#6f818b!important;font-size:11px!important;line-height:1.45!important}
body.np3-shop-v4 .np3-result-buy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  min-width:0!important;
  width:100%!important;
}
body.np3-shop-v4 .np3-result-stock{font-size:11px!important;font-weight:900!important;line-height:1.25!important;text-align:right!important}
body.np3-shop-v4 .np3-result-price{margin-top:12px!important;color:#e21d2b!important;font-size:28px!important;font-weight:950!important;line-height:1!important;white-space:nowrap!important}
body.np3-shop-v4 .np3-result-offer{display:flex!important;align-items:center!important;gap:8px!important;margin-top:7px!important}
body.np3-shop-v4 .np3-result-offer del{color:#919da4!important;font-size:12px!important}
body.np3-shop-v4 .np3-result-offer span{padding:4px 8px!important;border-radius:999px!important;background:#e21d2b!important;color:#fff!important;font-size:9px!important;font-weight:950!important}
body.np3-shop-v4 .np3-result-actions{
  display:grid!important;
  grid-template-columns:minmax(116px,1fr) 46px!important;
  gap:9px!important;
  width:100%!important;
  margin-top:14px!important;
}
body.np3-shop-v4 .np3-result-details,
body.np3-shop-v4 .np3-result-cart{
  min-height:44px!important;
  border-radius:11px!important;
}
body.np3-shop-v4 .np3-result-details{display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid #d8e2e6!important;background:#fff!important;color:#2d4550!important;font-size:11px!important;font-weight:900!important;text-decoration:none!important}
body.np3-shop-v4 .np3-result-cart{border:1px solid #e21d2b!important;background:#e21d2b!important;color:#fff!important;font-size:22px!important;cursor:pointer!important}

/* Tablet: keep product readable; commercial block drops below. */
@media(max-width:1180px){
  body.np3-shop-v4 .np3-catalog-v4 #scrpc-product-list > article.np3-result-card{
    grid-template-columns:170px minmax(0,1fr)!important;
    gap:18px!important;
  }
  body.np3-shop-v4 .np3-result-media{height:155px!important;min-height:155px!important}
  body.np3-shop-v4 .np3-result-buy{
    grid-column:1 / -1!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    border-top:1px solid #edf1f3!important;
    padding-top:14px!important;
  }
  body.np3-shop-v4 .np3-result-price{margin-top:0!important}
  body.np3-shop-v4 .np3-result-actions{width:auto!important;min-width:190px!important;margin-top:0!important}
}

/* Mobile: image then content then commercial, without horizontal scroll. */
@media(max-width:720px){
  body.np3-shop-v4 .np3-shop-hero-v4__copy h1{font-size:clamp(28px,8vw,34px)!important;line-height:1.1!important}
  body.np3-shop-v4 .np3-catalog-v4 #scrpc-product-list.np3-catalog-product-list{padding:12px!important;gap:12px!important}
  body.np3-shop-v4 .np3-catalog-v4 #scrpc-product-list > article.np3-result-card{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:14px!important;
    border-radius:15px!important;
  }
  body.np3-shop-v4 .np3-result-media{height:180px!important;min-height:180px!important}
  body.np3-shop-v4 .np3-result-category{margin-left:0!important;text-align:left!important}
  body.np3-shop-v4 .np3-result-title{font-size:18px!important;text-align:left!important}
  body.np3-shop-v4 .np3-result-buy{
    grid-column:auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    width:100%!important;
    border-top:1px solid #edf1f3!important;
    padding-top:12px!important;
  }
  body.np3-shop-v4 .np3-result-stock{text-align:left!important}
  body.np3-shop-v4 .np3-result-price{font-size:25px!important}
  body.np3-shop-v4 .np3-result-actions{display:grid!important;grid-template-columns:1fr 48px!important;width:100%!important;min-width:0!important;margin-top:8px!important}
}


/* NubeParts3 RC49 · resultados: jerarquía visual compacta */
body.np3-shop-v4 .np3-result-copy{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important;
}
body.np3-shop-v4 .np3-result-category{
  display:flex!important;width:max-content!important;max-width:100%!important;align-self:flex-start!important;
  margin-left:0!important;margin-right:0!important;text-align:left!important;justify-content:flex-start!important;
}
body.np3-shop-v4 .np3-result-title,
body.np3-shop-v4 .np3-result-identifiers{width:100%!important;text-align:left!important}
body.np3-shop-v4 .np3-result-fitment.scrpc-fitment-badge-card{display:none!important}
