/* MUTTI LAB 2.0 — Storefront Recovery V2.0
 * Clean Core Phase 10B: absorbed the effective Stage132 regression layer.
 */

/* MUTTI LAB v9.5.60 — restore compact cards, account geometry and map markers. */

/* Stage131 made all catalogue copy desktop-large. Restore the calmer product
   hierarchy globally, then make the Home stream match the compact carousel. */
html body .mutti-market-card .mutti-market-copy h3,
html body .mutti-market-card .mutti-market-copy h3 a{
  color:var(--mutti-v9559-text)!important;
  font-size:11.5px!important;
  line-height:1.32!important;
  font-weight:520!important;
  letter-spacing:0!important;
}
html body .mutti-market-card .mutti-market-copy h3{
  display:-webkit-box!important;
  min-height:2.64em!important;
  max-height:3.96em!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
}
html body .mutti-market-card .mutti-market-price,
html body .mutti-market-card .mutti-market-price .amount,
html body .mutti-market-card .mutti-market-price .woocommerce-Price-amount,
html body .mutti-market-card .mutti-market-price ins,
html body .mutti-market-card .mutti-market-price ins .amount,
html body .mutti-market-card .mutti-market-price ins .woocommerce-Price-amount{
  font-size:15px!important;
  line-height:1.08!important;
  font-weight:650!important;
}
html body .mutti-market-card .mutti-stage121-card-rating strong{
  font-weight:500!important;
}
html body .mutti-market-card .mutti-market-action--cart-v8524{
  height:36px!important;
  min-height:36px!important;
  border-radius:10px!important;
  font-size:10px!important;
  font-weight:680!important;
}
html body .mutti-market-card .mutti-market-heart{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
}

/* Approved desktop Home density: the grid is capped so each of seven cards is
   close to the 142–164 px carousel card instead of expanding across five slots. */
@media (min-width:1240px){
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-grid{
    width:100%!important;
    max-width:1220px!important;
    margin-inline:auto!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    gap:19px 11px!important;
  }
}
@media (min-width:1081px) and (max-width:1239px){
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-grid{
    width:100%!important;
    max-width:1040px!important;
    margin-inline:auto!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:19px 11px!important;
  }
}
@media (min-width:921px) and (max-width:1080px){
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-grid{
    width:100%!important;
    max-width:860px!important;
    margin-inline:auto!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:19px 11px!important;
  }
}
@media (min-width:921px){
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card{
    align-self:start!important;
    height:auto!important;
    min-height:0!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-copy{
    min-height:0!important;
    padding:6px 1px 0!important;
    gap:0!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-price-row{
    min-height:18px!important;
    margin:0 0 4px!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-price,
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-price .amount,
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-price .woocommerce-Price-amount,
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-price ins,
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-price ins .amount{
    font-size:13.2px!important;
    line-height:1.05!important;
    font-weight:650!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-copy h3,
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-copy h3 a{
    font-size:10.5px!important;
    line-height:1.29!important;
    font-weight:500!important;
    letter-spacing:0!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-copy h3{
    min-height:2.58em!important;
    max-height:3.87em!important;
    margin:0 0 4px!important;
    -webkit-line-clamp:3!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-stage121-card-rating{
    min-height:14px!important;
    margin:0 0 4px!important;
    gap:3px!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-stage121-card-rating .mutti-market-stars{
    width:56px!important;
    min-width:56px!important;
    height:12px!important;
    font-size:10.5px!important;
    line-height:12px!important;
    letter-spacing:.45px!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-stage121-card-rating strong{
    font-size:9.8px!important;
    font-weight:500!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-stage121-card-rating>span:last-child{
    font-size:8.8px!important;
    font-weight:520!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-stage121-pvz,
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-stage121-pvz__free,
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-stage121-pvz__eta{
    font-size:8.8px!important;
    line-height:1.18!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-actions,
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-actions--single-v8524{
    margin-top:5px!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-action--cart-v8524{
    height:30px!important;
    min-height:30px!important;
    border-radius:8px!important;
    font-size:8.5px!important;
    font-weight:680!important;
  }
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card .mutti-market-heart{
    transform:scale(.88)!important;
    transform-origin:top right!important;
  }
}

/* Stage131's broken-image note could be attached to a valid gallery when a
   hidden secondary frame failed. Never cover a real product photo with it. */
.mutti-missing-image-v9559{display:none!important}
.mutti-market-image.is-missing-image-v9559,
.woocommerce-product-gallery__image.is-missing-image-v9559,
.mutti-pdp-media.is-missing-image-v9559{display:block!important}

/* My Account: explicit columns make the layout independent of WooCommerce DOM
   order and prevent the content column from collapsing to one character. */
@media (min-width:821px){
  body.logged-in.woocommerce-account.mutti-ui-commerce-v2 .mutti-wc-content-card>.woocommerce{
    display:grid!important;
    grid-template-columns:260px minmax(0,1fr)!important;
    grid-template-areas:"notice notice" "nav content"!important;
    grid-auto-flow:row!important;
    gap:24px!important;
    align-items:start!important;
    width:100%!important;
    min-width:0!important;
  }
  body.logged-in.woocommerce-account.mutti-ui-commerce-v2 .woocommerce-notices-wrapper{
    order:0!important;
    grid-area:notice!important;
    grid-column:1/-1!important;
  }
  body.logged-in.woocommerce-account.mutti-ui-commerce-v2 .mutti-stage6-account-nav-shell{
    order:1!important;
    grid-area:nav!important;
    grid-column:1!important;
    width:260px!important;
    min-width:260px!important;
    max-width:260px!important;
  }
  body.logged-in.woocommerce-account.mutti-ui-commerce-v2 .woocommerce-MyAccount-content{
    order:2!important;
    grid-area:content!important;
    grid-column:2!important;
    float:none!important;
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    writing-mode:horizontal-tb!important;
  }
  body.logged-in.woocommerce-account.mutti-ui-commerce-v2 .woocommerce-MyAccount-content>*{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    word-break:normal!important;
    writing-mode:horizontal-tb!important;
  }
}
@media (max-width:820px){
  body.logged-in.woocommerce-account.mutti-ui-commerce-v2 .mutti-wc-content-card>.woocommerce{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-areas:"notice" "nav" "content"!important;
  }
  body.logged-in.woocommerce-account.mutti-ui-commerce-v2 .mutti-stage6-account-nav-shell{order:1!important;grid-area:nav!important;grid-column:1!important}
  body.logged-in.woocommerce-account.mutti-ui-commerce-v2 .woocommerce-MyAccount-content{order:2!important;grid-area:content!important;grid-column:1!important;width:100%!important;min-width:0!important}
}

/* Stage131's generic checkout button height also reached Yandex/MapLibre marker
   buttons. Let the map engine own marker geometry so circular points stay round. */
body.woocommerce-checkout .mutti-delivery [class*="ymaps"] button,
body.woocommerce-checkout .mutti-wb105-delivery-host [class*="ymaps"] button,
.mutti-stage59-pvz-modal [class*="ymaps"] button,
body.woocommerce-checkout .mutti-delivery button.maplibregl-marker,
body.woocommerce-checkout .mutti-delivery .maplibregl-marker,
.mutti-stage59-pvz-modal button.maplibregl-marker,
.mutti-stage59-pvz-modal .maplibregl-marker{
  min-width:0!important;
  min-height:0!important;
  font-size:inherit!important;
  line-height:normal!important;
}

@media (max-width:700px){
  html body .mutti-market-card .mutti-market-copy h3,
  html body .mutti-market-card .mutti-market-copy h3 a,
  html body.home main.mutti-home #mutti-market .mutti-market-card .mutti-market-copy h3,
  html body.home main.mutti-home #mutti-market .mutti-market-card .mutti-market-copy h3 a{font-size:12.2px!important;line-height:1.32!important;font-weight:520!important}
  html body .mutti-market-card .mutti-market-copy h3,
  html body.home main.mutti-home #mutti-market .mutti-market-card .mutti-market-copy h3{min-height:2.64em!important;max-height:3.96em!important;-webkit-line-clamp:3!important}
  html body .mutti-market-card .mutti-market-price,
  html body .mutti-market-card .mutti-market-price .amount,
  html body .mutti-market-card .mutti-market-price .woocommerce-Price-amount,
  html body.home main.mutti-home #mutti-market .mutti-market-card .mutti-market-price,
  html body.home main.mutti-home #mutti-market .mutti-market-card .mutti-market-price .amount,
  html body.home main.mutti-home #mutti-market .mutti-market-card .mutti-market-price .woocommerce-Price-amount{font-size:15.5px!important;font-weight:650!important}
  html body .mutti-market-card .mutti-market-action--cart-v8524,
  html body.home main.mutti-home #mutti-market .mutti-market-card .mutti-market-action--cart-v8524{height:44px!important;min-height:44px!important;font-size:11px!important}
}
