/* v12.10.352 - one display contract for badges, merchant logos and favorites.
   The same rules apply to cards created manually and cards created by any import. */

html body .magazine-shell .product-card.is-v175-canonical.has-nc-reduction [data-nc-child="badge"],
html body .magazine-shell .product-card.is-v175-canonical.has-nc-reduction [data-nc-child="discount"],
html body .magazine-shell .product-card.is-safe-child-layout.has-nc-reduction [data-nc-child="badge"],
html body .magazine-shell .product-card.is-safe-child-layout.has-nc-reduction [data-nc-child="discount"]{
  top:5%!important;
  height:9%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  padding:3px 8px!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:none!important;
}
html body .magazine-shell .product-card.is-v175-canonical.has-nc-reduction [data-nc-child="badge"],
html body .magazine-shell .product-card.is-safe-child-layout.has-nc-reduction [data-nc-child="badge"]{
  left:8%!important;width:42%!important;background:#8e2f19!important;color:#fff!important;z-index:30!important;
}
html body .magazine-shell .product-card.is-v175-canonical.has-nc-reduction [data-nc-child="discount"],
html body .magazine-shell .product-card.is-safe-child-layout.has-nc-reduction [data-nc-child="discount"]{
  left:50%!important;width:42%!important;background:#8e2f19!important;color:#fff!important;z-index:31!important;
}
html body .magazine-shell .product-card.is-v175-canonical.has-nc-offer [data-nc-child="badge"],
html body .magazine-shell .product-card.is-safe-child-layout.has-nc-offer [data-nc-child="badge"]{
  left:8%!important;top:5%!important;width:84%!important;height:9%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#8e2f19!important;color:#fff!important;border:0!important;border-radius:0!important;
  padding:3px 8px!important;font-size:14px!important;font-weight:900!important;line-height:1!important;
  text-align:center!important;white-space:nowrap!important;overflow:hidden!important;z-index:30!important;
}

/* The logo is always a complete 40×40 tile in the same lower-left slot. */
html body .magazine-shell .product-card.is-v175-canonical .merchant-logo-element[data-nc-child="merchant_logo"],
html body .magazine-shell .product-card.is-safe-child-layout .merchant-logo-element[data-nc-child="merchant_logo"]{
  left:3%!important;right:auto!important;top:auto!important;bottom:8px!important;
  width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
  max-width:40px!important;max-height:40px!important;padding:3px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#fff!important;border:0!important;border-radius:7px!important;overflow:hidden!important;
  z-index:72!important;transform:none!important;
}
html body .magazine-shell .product-card.is-v175-canonical .merchant-logo-element[data-nc-child="merchant_logo"] .op-merchant-logo,
html body .magazine-shell .product-card.is-safe-child-layout .merchant-logo-element[data-nc-child="merchant_logo"] .op-merchant-logo{
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;
  max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;
  margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:4px!important;
}
