/* Nivah homepage favorites - intentionally scoped. Other grids unchanged. */
#nv-favourites .product-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  column-gap:clamp(12px,1.3vw,20px);
  row-gap:22px;
}
#nv-favourites .product-card {min-width:0;width:100%;overflow:hidden}
#nv-favourites .product-photo {width:100%;aspect-ratio:4/4.85}
#nv-favourites .product-photo img {width:100%;height:100%;object-fit:cover}
#nv-favourites .product-info {min-width:0}
#nv-favourites .product-info .name {overflow-wrap:anywhere}
@media(max-width:1199px){
  #nv-favourites .product-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:899px){
  #nv-favourites .product-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
}
@media(max-width:719px){
  #nv-favourites .product-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
  #nv-favourites .product-badge {font-size:8px;padding:5px 6px;top:9px;left:8px}
  #nv-favourites .product-wish {width:30px;height:30px;top:8px;right:8px}
  #nv-favourites .product-info {padding:12px 3px 16px}
  #nv-favourites .product-info .gemline {font-size:8px;letter-spacing:.8px}
  #nv-favourites .product-info .name {font-size:12px;min-height:30px}
  #nv-favourites .product-quick {font-size:9px}
}

#nv-favourites{scroll-margin-top:165px}
@media(max-width:700px){#nv-favourites{scroll-margin-top:105px}}
