/* v315: keep every product name and specification fully visible. */
.design-b #collection .product-card{
  box-sizing:border-box;
  overflow:visible;
  text-align:left;
}
.design-b #collection .product-card h3,
.design-b #collection .product-card .product-spec,
.design-b #collection .product-card .product-photo-note{
  max-width:100%;
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
  word-break:keep-all;
  overflow-wrap:anywhere;
}
.design-b #collection .product-card h3{
  padding-top:2px;
  padding-bottom:3px;
  line-height:1.62;
}
.design-b #collection .product-card .product-spec{
  padding-bottom:3px;
  line-height:1.78;
}

@media(min-width:521px){
  .design-b #collection .product-card{
    padding:0 0 30px;
  }
  .design-b #collection .product-card>.product-group,
  .design-b #collection .product-card>h3,
  .design-b #collection .product-card>.product-spec,
  .design-b #collection .product-card>.product-photo-note,
  .design-b #collection .product-card>.product-detail-label{
    width:auto;
    margin-left:20px;
    margin-right:20px;
  }
  .design-b #collection .product-card>.product-group{margin-top:2px}
  .design-b #collection .product-card>h3{margin-top:7px;margin-bottom:4px}
  .design-b #collection .product-card>.product-spec{margin-top:0;margin-bottom:0}
  .design-b #collection .product-card>.product-photo-note{margin-top:8px}
}

@media(max-width:520px){
  .design-b #collection .product-grid{
    grid-template-columns:minmax(0,1fr)!important;
    overflow:visible;
  }
  .design-b #collection .product-card{
    width:100%;
    min-width:0;
    min-height:0;
    height:auto!important;
    overflow:visible;
    padding-bottom:20px;
  }
  .design-b #collection .product-card h3{
    display:block;
    min-height:0;
    height:auto!important;
    padding:2px 0 3px;
    line-height:1.65;
    -webkit-line-clamp:unset;
  }
  .design-b #collection .product-card .product-spec{
    min-height:0;
    height:auto!important;
    padding-bottom:3px;
    line-height:1.76;
  }
}
