/* ========================================================================
   MUTTI LAB v9.4.59 — Stage 31
   Dense six-column marketplace rhythm + 2x2 editorial promos + Light parity.
   ======================================================================== */

/* 1. ONE COMMERCIAL ALIGNMENT LINE ---------------------------------------
   Category shortcuts, curated rail and main catalogue use the same shell.
   No extra 18/64 px insets are allowed to move one block off-axis. */
html body.home main.mutti-home > .mutti-curated-nav-v9452,
html body.home main.mutti-home > .mutti-popular-v9452,
html body.home main.mutti-home > #mutti-market.mutti-ref-market-v920[data-mutti-all-view]{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
html body.home main.mutti-home > .mutti-curated-nav-v9452{padding-left:0!important;padding-right:0!important}
html body.home main.mutti-home > .mutti-popular-v9452{padding-left:0!important;padding-right:0!important}
html body.home main.mutti-home > .mutti-popular-v9452 .mutti-popular-v9370__row{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
html body.home main.mutti-home > #mutti-market.mutti-ref-market-v920[data-mutti-all-view]{padding:0!important}

/* 2. MAIN HOME GRID = 6 CARDS --------------------------------------------
   3:4 media stays intact. Density comes from six columns and tighter copy,
   not from cropping or stretching the catalogue photography. */
@media(min-width:1181px){
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-grid{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-auto-flow:row dense!important;
    gap:20px 12px!important;
    width:100%!important;
    max-width:none!important;
    align-items:stretch!important;
  }
}
@media(min-width:921px) and (max-width:1180px){
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-flow:row dense!important;
    gap:20px 11px!important;
  }
}
@media(min-width:701px) and (max-width:920px){
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-flow:row dense!important;
    gap:19px 10px!important;
  }
}
@media(max-width:700px){
  html body.home main.mutti-home #mutti-market.mutti-ref-market-v920[data-mutti-all-view] .mutti-market-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row dense!important;
    gap:18px 9px!important;
  }
}

/* Slightly denser canonical card, preserving the shell-less Sima-like layout. */
html body .mutti-market-card-v9458.mutti-market-card-v9458{
  min-height:0!important;
}
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-copy{
  padding-top:6px!important;
  gap:0!important;
}
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-price-row{
  min-height:19px!important;
  margin:0 0 3px!important;
}
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-price,
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-price .woocommerce-Price-amount,
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-price .amount,
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-price ins,
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-price ins .woocommerce-Price-amount,
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-price ins .amount{
  font-size:14.4px!important;
  line-height:1.05!important;
}
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-price del,
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-price del .woocommerce-Price-amount,
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-price del .amount{
  font-size:8.7px!important;
}
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-copy h3{
  min-height:2.45em!important;
  max-height:2.45em!important;
  margin:0 0 4px!important;
  font-size:9.7px!important;
  line-height:1.225!important;
}
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-rating{
  min-height:11px!important;
  margin:0 0 4px!important;
  font-size:7.4px!important;
}
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-actions,
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-actions--single-v8524{
  margin-top:6px!important;
}
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-action--cart-v8524{
  min-height:31px!important;
  height:31px!important;
  border-radius:9px!important;
  font-size:8px!important;
}

/* 3. FREE DELIVERY — VISIBLE, CONSISTENT, WITH ICON ---------------------- */
html[data-mutti-theme="light"] body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-free-delivery,
html:not([data-mutti-theme="dark"]) body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-free-delivery{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  min-height:20px!important;
  height:20px!important;
  margin:0!important;
}
html[data-mutti-theme="light"] body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-free-delivery>span,
html:not([data-mutti-theme="dark"]) body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-free-delivery>span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-height:20px!important;
  height:20px!important;
  line-height:20px!important;
  padding:0 8px!important;
  border:1px solid rgba(174,44,91,.24)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.90)!important;
  color:#9e234f!important;
  -webkit-text-fill-color:#9e234f!important;
  font-size:7.15px!important;
  font-weight:780!important;
  box-shadow:0 2px 8px rgba(44,26,33,.035)!important;
  opacity:1!important;
}
html body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-free-delivery>span::before{
  content:""!important;
  display:block!important;
  flex:0 0 11px!important;
  width:11px!important;
  height:11px!important;
  margin-right:5px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23df0057' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3z'/%3E%3Cpath d='M14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E")!important;
}
html[data-mutti-theme="dark"] body .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-free-delivery>span,
body.mutti-dark-mode .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-free-delivery>span,
body.mutti-dark-v8529 .mutti-market-card-v9458.mutti-market-card-v9458 .mutti-market-free-delivery>span{
  min-height:20px!important;height:20px!important;line-height:20px!important;padding:0 8px!important;
  border-color:rgba(255,91,145,.30)!important;background:rgba(223,0,87,.13)!important;
  color:#ff8bb1!important;-webkit-text-fill-color:#ff8bb1!important;font-size:7.15px!important;
}

/* 4. CURATED RAIL LIGHT MODE — OVERRIDE THE OLD WHITE TEXT-FILL ----------
   Stage18 used -webkit-text-fill-color:white on this exact surface. Merely
   changing color did not win in WebKit, so both properties are reset here. */
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price,
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price .amount,
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price .woocommerce-Price-amount,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price .amount,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price .woocommerce-Price-amount{
  color:#111318!important;
  -webkit-text-fill-color:#111318!important;
  opacity:1!important;
}
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price ins,
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price ins .amount,
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price ins .woocommerce-Price-amount,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price ins,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price ins .amount,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price ins .woocommerce-Price-amount{
  color:#d90057!important;
  -webkit-text-fill-color:#d90057!important;
  opacity:1!important;
}
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price del,
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price del .amount,
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price del .woocommerce-Price-amount,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price del,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price del .amount,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price del .woocommerce-Price-amount{
  color:#676b73!important;
  -webkit-text-fill-color:#676b73!important;
  opacity:1!important;
}
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-copy h3,
html[data-mutti-theme="light"] body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-copy h3 a,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-copy h3,
html:not([data-mutti-theme="dark"]) body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-copy h3 a{
  color:#22252a!important;
  -webkit-text-fill-color:#22252a!important;
  opacity:1!important;
}
/* Keep the rail compact after shell removal. */
html body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-copy{padding-top:6px!important}
html body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-price-row{min-height:18px!important;margin-bottom:3px!important}
html body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-copy h3{margin-bottom:3px!important;min-height:26px!important;max-height:26px!important}
html body.home .mutti-popular-v9452 .mutti-popular-v9370__shelf-card .mutti-market-actions{margin-top:6px!important}

/* 5. EDITORIAL PROMOS = EXACTLY 2 COLUMNS x 2 PRODUCT ROWS --------------- */
@media(min-width:1181px){
  html body.home #mutti-market .mutti-market-grid>.mutti-market-stream-promo-v9458{
    grid-column:span 2!important;
    grid-row:span 2!important;
    min-width:0!important;
    min-height:0!important;
    height:100%!important;
    align-self:stretch!important;
    border-radius:16px!important;
    box-shadow:0 10px 28px rgba(13,16,22,.10)!important;
  }
}
@media(min-width:701px) and (max-width:1180px){
  html body.home #mutti-market .mutti-market-grid>.mutti-market-stream-promo-v9458{
    grid-column:span 2!important;
    grid-row:span 2!important;
    min-height:0!important;
    height:100%!important;
  }
}
html body.home #mutti-market .mutti-market-stream-promo-v9458__link{height:100%!important;min-height:100%!important;border-radius:inherit!important}
html body.home #mutti-market .mutti-market-stream-promo-v9458__scene{
  inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;transform:scale(1.006)!important;
}
/* The approved Stage31 creatives already contain the title, supporting copy and CTA.
   Hide the old Stage30 HTML overlay to prevent duplicated text. The whole creative
   remains one accessible link to the relevant catalogue result. */
html body.home #mutti-market .mutti-market-stream-promo-v9458__shade,
html body.home #mutti-market .mutti-market-stream-promo-v9458__content,
html body.home #mutti-market .mutti-market-stream-promo-v9458__object{display:none!important}
@media(hover:hover) and (pointer:fine){
  html body.home #mutti-market .mutti-market-stream-promo-v9458:hover .mutti-market-stream-promo-v9458__scene{transform:scale(1.025)!important}
}
@media(max-width:700px){
  html body.home #mutti-market .mutti-market-grid>.mutti-market-stream-promo-v9458{
    grid-column:1/-1!important;
    grid-row:auto!important;
    aspect-ratio:3/4!important;
    height:auto!important;
    min-height:0!important;
  }
}

/* 6. EMPTY CART DISCOVERY — FULL MINI CARDS, NOT TINY SQUARES ------------ */
html body .mutti-cart-discovery-v9458 .mutti-cart-discovery-v9456__viewport{
  max-height:min(620px,64vh)!important;
  padding-right:11px!important;
}
html body .mutti-cart-discovery-v9458 .mutti-cart-discovery-v9456__rail{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px 12px!important;
}
html body .mutti-cart-discovery-v9458 .mutti-market-card-v9458 .mutti-market-image{
  aspect-ratio:3/4!important;
  height:auto!important;
  min-height:0!important;
  background:#f6f6f3!important;
}
html body .mutti-cart-discovery-v9458 .mutti-market-card-v9458 .mutti-market-image img,
html body .mutti-cart-discovery-v9458 .mutti-market-card-v9458 .mutti-market-gallery-frame{
  width:100%!important;height:100%!important;object-fit:contain!important;image-rendering:auto!important;filter:none!important;transform:none!important;
}
html body .mutti-cart-discovery-v9458 .mutti-market-card-v9458 .mutti-market-copy h3{font-size:9.3px!important}
html body .mutti-cart-discovery-v9458 .mutti-market-card-v9458 .mutti-market-price,
html body .mutti-cart-discovery-v9458 .mutti-market-card-v9458 .mutti-market-price .amount,
html body .mutti-cart-discovery-v9458 .mutti-market-card-v9458 .mutti-market-price .woocommerce-Price-amount{font-size:13.1px!important}
html body .mutti-cart-discovery-v9458 .mutti-market-card-v9458 .mutti-market-action--cart-v8524{height:31px!important;min-height:31px!important}
@media(max-width:430px){
  html body .mutti-cart-discovery-v9458 .mutti-cart-discovery-v9456__rail{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px 9px!important}
}

/* 7. FINAL WEBKIT LIGHT-SAFETY FOR ALL CANONICAL CARDS ------------------- */
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-price,
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-price .amount,
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-price .woocommerce-Price-amount{
  color:#15171b!important;-webkit-text-fill-color:#15171b!important;opacity:1!important;
}
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-price ins,
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-price ins .amount,
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-price ins .woocommerce-Price-amount{
  color:#d90057!important;-webkit-text-fill-color:#d90057!important;
}
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-price del,
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-price del .amount,
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-price del .woocommerce-Price-amount{
  color:#6f737b!important;-webkit-text-fill-color:#6f737b!important;opacity:1!important;
}
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-copy h3,
html[data-mutti-theme="light"] body .mutti-market-card-v9458 .mutti-market-copy h3 a{
  color:#25282e!important;-webkit-text-fill-color:#25282e!important;
}

@media(prefers-reduced-motion:reduce){
  html body.home #mutti-market .mutti-market-stream-promo-v9458__scene{transition:none!important;transform:none!important}
}
