/*
 * MUTTI LAB 2.0 — Product Card Rhythm Base V2.1
 * Clean Core Phase 4: absorbed from retired Stage138 without its body-class contract.
 * Cascade position intentionally preserved at priority 660000.
 */
/* MUTTI LAB v9.5.66 — Stage138 adaptive title height / compact trust rhythm.
   CSS only. Removes the empty reserved title lines that survived Stage134/135.
   Long names keep their existing clamps; short names no longer reserve unused rows. */

/* -------------------------------------------------------------------------
 * 1. MAIN HOME GRID
 * Two lines are the normal title footprint. A third line is allocated only
 * when the product name actually needs it, then the text ends with an ellipsis.
 * ------------------------------------------------------------------------- */
@media (min-width:701px){
  html body.home main.mutti-home
  #mutti-market.mutti-ref-market-v920[data-mutti-all-view]
  .mutti-market-card.mutti-market-card-v9458.mutti-market-card-v9458
  .mutti-market-copy h3{
    display:-webkit-box!important;
    box-sizing:border-box!important;
    height:auto!important;
    min-height:28px!important;
    max-height:42px!important;
    margin:0 0 3px!important;
    overflow:hidden!important;
    line-height:14px!important;
    text-overflow:ellipsis!important;
    overflow-wrap:anywhere!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    line-clamp:3!important;
  }
  html body.home main.mutti-home
  #mutti-market.mutti-ref-market-v920[data-mutti-all-view]
  .mutti-market-card.mutti-market-card-v9458.mutti-market-card-v9458
  .mutti-market-copy h3 a{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    line-height:14px!important;
  }
}

/* Keep the metadata visually attached to the title rather than floating below
   a phantom third line. Existing Stage135 sizing is preserved. */
html body.home main.mutti-home
#mutti-market.mutti-ref-market-v920[data-mutti-all-view]
.mutti-market-card.mutti-market-card-v9458.mutti-market-card-v9458
.mutti-stage121-card-rating{
  margin-top:0!important;
  margin-bottom:4px!important;
}

/* -------------------------------------------------------------------------
 * 2. CURATED PRODUCT CAROUSEL
 * Stage135 deliberately allowed four lines, but fixed every card to all four.
 * Preserve the four-line safety net while letting 2/3-line titles collapse to
 * their real content height. This removes ~14–28px of dead air on common names.
 * ------------------------------------------------------------------------- */
html body.home .mutti-popular-v9478
.mutti-popular-v9370__shelf-card .mutti-market-copy h3,
html body.home .mutti-popular-v9476
.mutti-popular-v9370__shelf-card .mutti-market-copy h3,
html body.home .mutti-popular-v9452
.mutti-popular-v9370__shelf-card .mutti-market-copy h3{
  display:-webkit-box!important;
  box-sizing:border-box!important;
  height:auto!important;
  min-height:28px!important;
  max-height:56px!important;
  margin:0 0 2px!important;
  overflow:hidden!important;
  line-height:14px!important;
  text-overflow:ellipsis!important;
  overflow-wrap:anywhere!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:4!important;
  line-clamp:4!important;
}
html body.home .mutti-popular-v9478
.mutti-popular-v9370__shelf-card .mutti-market-copy h3 a,
html body.home .mutti-popular-v9476
.mutti-popular-v9370__shelf-card .mutti-market-copy h3 a,
html body.home .mutti-popular-v9452
.mutti-popular-v9370__shelf-card .mutti-market-copy h3 a{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  line-height:14px!important;
}
html body.home .mutti-popular-v9478
.mutti-popular-v9370__shelf-card .mutti-stage121-card-rating,
html body.home .mutti-popular-v9476
.mutti-popular-v9370__shelf-card .mutti-stage121-card-rating,
html body.home .mutti-popular-v9452
.mutti-popular-v9370__shelf-card .mutti-stage121-card-rating{
  margin-top:0!important;
}

/* Mobile keeps the exact same adaptive idea at the Stage135 mobile line-height. */
@media (max-width:700px){
  html body.home main.mutti-home
  #mutti-market.mutti-ref-market-v920[data-mutti-all-view]
  .mutti-market-card.mutti-market-card-v9458.mutti-market-card-v9458
  .mutti-market-copy h3{
    height:auto!important;
    min-height:26.8px!important;
    max-height:40.2px!important;
    margin-bottom:3px!important;
    line-height:13.4px!important;
    -webkit-line-clamp:3!important;
    line-clamp:3!important;
  }
  html body.home main.mutti-home
  #mutti-market.mutti-ref-market-v920[data-mutti-all-view]
  .mutti-market-card.mutti-market-card-v9458.mutti-market-card-v9458
  .mutti-market-copy h3 a{
    line-height:13.4px!important;
  }

  html body.home .mutti-popular-v9478
  .mutti-popular-v9370__shelf-card .mutti-market-copy h3,
  html body.home .mutti-popular-v9476
  .mutti-popular-v9370__shelf-card .mutti-market-copy h3,
  html body.home .mutti-popular-v9452
  .mutti-popular-v9370__shelf-card .mutti-market-copy h3{
    height:auto!important;
    min-height:26.8px!important;
    max-height:53.6px!important;
    margin-bottom:2px!important;
    line-height:13.4px!important;
    -webkit-line-clamp:4!important;
    line-clamp:4!important;
  }
  html body.home .mutti-popular-v9478
  .mutti-popular-v9370__shelf-card .mutti-market-copy h3 a,
  html body.home .mutti-popular-v9476
  .mutti-popular-v9370__shelf-card .mutti-market-copy h3 a,
  html body.home .mutti-popular-v9452
  .mutti-popular-v9370__shelf-card .mutti-market-copy h3 a{
    line-height:13.4px!important;
  }
}
