/* GAINVO Storefront v0.10.39 — global responsive product-card hierarchy
   Product identity is primary; merchant identity is secondary. */

/* All product-card surfaces share one hierarchy. */
.product-card-v7 .product-body,
.product-card .product-body{
  min-width:0;
}
.product-card-v7 .product-title,
.product-card-v7 .product-title-link,
.product-card .product-title,
.product-card .product-title-link{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:normal!important;
  font-weight:800!important;
  letter-spacing:-.012em!important;
  color:var(--ink)!important;
  text-align:left!important;
  width:100%!important;
  max-width:100%!important;
}
.product-card-v7 .product-shop-row,
.product-card .product-shop-row{
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
  max-width:100%!important;
  color:var(--muted)!important;
  font-weight:650!important;
  letter-spacing:0!important;
  text-transform:none!important;
  line-height:1.2!important;
}
.product-card-v7 .product-shop-row>span:first-child,
.product-card .product-shop-row>span:first-child{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  flex:1 1 auto!important;
}
.product-card-v7 .product-shop-row>i,
.product-card .product-shop-row>i{
  flex:0 0 4px!important;
  width:4px!important;height:4px!important;
}
.product-card-v7 .product-shop-row>small,
.product-card .product-shop-row>small{
  flex:0 0 auto!important;
  white-space:nowrap!important;
  font-size:inherit!important;
}

/* Phone cards: give the PRODUCT NAME the space, not the merchant name. */
@media (max-width:599px){
  .product-card-v7 .product-body,
  .product-card .product-body{
    padding:10px!important;
  }
  .product-card-v7 .product-title,
  .product-card-v7 .product-title-link,
  .product-card .product-title,
  .product-card .product-title-link{
    -webkit-line-clamp:3!important;
    font-size:14px!important;
    line-height:1.18!important;
    min-height:49px!important;
    max-height:50px!important;
    margin:0 0 5px!important;
  }
  .product-card-v7 .product-shop-row,
  .product-card .product-shop-row{
    font-size:10.5px!important;
    min-height:13px!important;
    margin:0 0 5px!important;
  }
  .product-card-v7 .product-meta-line,
  .product-card .product-meta-line{
    font-size:10.5px!important;
    line-height:1.2!important;
    min-height:13px!important;
    margin:0 0 7px!important;
  }
}

/* Very narrow phones keep three title lines, but avoid oversized card text. */
@media (max-width:359px){
  .product-card-v7 .product-title,
  .product-card-v7 .product-title-link,
  .product-card .product-title,
  .product-card .product-title-link{
    font-size:13px!important;
    min-height:46px!important;
    max-height:47px!important;
  }
  .product-card-v7 .product-shop-row,
  .product-card .product-shop-row,
  .product-card-v7 .product-meta-line,
  .product-card .product-meta-line{
    font-size:10px!important;
  }
}

/* Larger phones/tablets have enough width for a two-line title. */
@media (min-width:600px){
  .product-card-v7 .product-title,
  .product-card-v7 .product-title-link,
  .product-card .product-title,
  .product-card .product-title-link{
    -webkit-line-clamp:2!important;
    font-size:14.5px!important;
    line-height:1.22!important;
    min-height:36px!important;
    max-height:38px!important;
    margin:0 0 5px!important;
  }
  .product-card-v7 .product-shop-row,
  .product-card .product-shop-row{
    font-size:11px!important;
    margin-bottom:5px!important;
  }
}

/* Desktop cards retain a clear but compact secondary merchant label. */
@media (min-width:1024px){
  .product-card-v7 .product-title,
  .product-card-v7 .product-title-link,
  .product-card .product-title,
  .product-card .product-title-link{
    font-size:15px!important;
  }
  .product-card-v7 .product-shop-row,
  .product-card .product-shop-row{
    font-size:11px!important;
  }
}
