/* ZUPIX PATCH 119 — corrective product wall polish.
   Loads through MarketplaceHeader, so catalog.php is NOT replaced.
   Keeps price-zone heights untouched by request. */

/* 1) Product titles: lighter and calmer, without changing the two-line layout. */
html body .premium-home .market-products-showcase .market-card-body h3{
  color:#172239!important;
  font-size:13.3px!important;
  line-height:1.42!important;
  font-weight:650!important;
  letter-spacing:-.04px!important;
}

/* 3) Seller/rating footer: more breathing room, still compact. */
html body .premium-home .market-products-showcase .market-card-body{
  padding-bottom:13px!important;
}
html body .premium-home .market-products-showcase .market-card-footer{
  margin-top:9px!important;
  padding-top:9px!important;
  padding-bottom:1px!important;
  gap:10px!important;
}
html body .premium-home .market-products-showcase .market-seller-chip{
  gap:7px!important;
}
html body .premium-home .market-products-showcase .market-seller-chip b{
  color:#39455d!important;
  font-weight:700!important;
}

/* 3) Price / discount / rating micro-polish. No fixed equal-height price zone. */
html body .premium-home .market-products-showcase .market-price-line{
  gap:5px!important;
}
html body .premium-home .market-products-showcase .market-price-line strong{
  font-weight:790!important;
}
html body .premium-home .market-products-showcase .market-price-line del{
  color:#9fa8b7!important;
  font-weight:560!important;
}
html body .premium-home .market-products-showcase .market-price-discount{
  font-weight:720!important;
}
html body .premium-home .market-products-showcase .market-card-rating{
  gap:2px!important;
}
html body .premium-home .market-products-showcase .market-rating-value{
  color:#465168!important;
  font-size:10px!important;
  font-weight:700!important;
  margin-right:1px!important;
}
html body .premium-home .market-products-showcase .market-rating-stars{
  font-size:9.3px!important;
  letter-spacing:.1px!important;
}
html body .premium-home .market-products-showcase .market-review-count{
  color:#9ba4b3!important;
  font-size:8.8px!important;
  margin-left:1px!important;
}
html body .premium-home .market-products-showcase .market-rating-new{
  color:#59647a!important;
  font-size:9.8px!important;
  font-weight:520!important;
}

/* 4) Denser desktop grid. For a final row of exactly 4 cards, distribute them
   across the full width instead of leaving an empty fifth-column hole. */
@media (min-width:1361px){
  html body .premium-home .market-products-showcase .market-product-grid{
    grid-template-columns:repeat(20,minmax(0,1fr))!important;
    gap:11px!important;
  }
  html body .premium-home .market-products-showcase .market-product-grid > .market-card{
    grid-column:span 4!important;
  }
  html body .premium-home .market-products-showcase .market-product-grid:has(> .market-card:nth-last-child(4):nth-child(5n + 1)) > .market-card:nth-last-child(-n + 4){
    grid-column:span 5!important;
  }
}
@media (min-width:1041px) and (max-width:1360px){
  html body .premium-home .market-products-showcase .market-product-grid{
    gap:11px!important;
  }
}

/* 5) Bring trust strip closer to the product wall. */
html body .premium-home .market-products-showcase.is-home-feed{
  padding-bottom:10px!important;
}
html body .premium-home > .market-trust-strip{
  margin:6px auto 0!important;
}

/* 6) Trust strip typography: keep hierarchy, remove unnecessary heaviness. */
html body .premium-home > .market-trust-strip b{
  color:#303c53!important;
  font-size:10.3px!important;
  font-weight:620!important;
}
html body .premium-home > .market-trust-strip span{
  color:#9099aa!important;
  font-size:8.8px!important;
  font-weight:400!important;
}

@media (max-width:720px){
  html body .premium-home .market-products-showcase .market-card-body h3{
    font-size:11.1px!important;
    font-weight:640!important;
  }
  html body .premium-home .market-products-showcase .market-card-footer{
    margin-top:6px!important;
    padding-top:7px!important;
  }
  html body .premium-home > .market-trust-strip{
    margin-top:5px!important;
  }
  html body .premium-home > .market-trust-strip b{
    font-size:8.9px!important;
    font-weight:610!important;
  }
}
