/* ========================================================================
   MUTTI LAB v9.4.47 — Stage 19 / cart toast + card parity + wishlist icon
   Visual scope: product-card controls and add-to-cart feedback only.
   Hero, PDP layout, checkout, footer, account and category navigation stay intact.
   ======================================================================== */

/* 1) Add-to-cart feedback is a compact confirmation, not an automatic drawer. */
.mutti-cart-toast{
  left:auto!important;right:24px!important;top:92px!important;bottom:auto!important;
  display:flex!important;align-items:center!important;gap:10px!important;
  width:auto!important;max-width:min(390px,calc(100vw - 32px))!important;
  min-height:50px!important;padding:10px 15px 10px 11px!important;
  border:1px solid rgba(24,28,35,.10)!important;border-radius:15px!important;
  background:rgba(255,255,255,.97)!important;color:#202329!important;
  font-size:12px!important;line-height:1.3!important;font-weight:680!important;
  box-shadow:0 18px 48px rgba(18,22,30,.16)!important;
  -webkit-backdrop-filter:blur(16px) saturate(1.08)!important;backdrop-filter:blur(16px) saturate(1.08)!important;
  opacity:0!important;transform:translateY(-8px) scale(.985)!important;
  transition:opacity .18s ease,transform .18s ease!important;
}
.mutti-cart-toast::before{
  content:"✓";display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;
  border-radius:10px;background:#eaf8f0;color:#177c4a;font-size:15px;font-weight:900;
}
.mutti-cart-toast.is-visible{opacity:1!important;transform:translateY(0) scale(1)!important}
.mutti-cart-toast.is-error{background:#fff7f8!important;color:#6f2035!important;border-color:#f0cbd4!important}
.mutti-cart-toast.is-error::before{content:"!";background:#fbe3e9;color:#a62447}
html[data-mutti-theme="dark"] .mutti-cart-toast,
body.mutti-dark-mode .mutti-cart-toast,
body.mutti-dark-v8529 .mutti-cart-toast{
  border-color:rgba(255,255,255,.10)!important;background:rgba(28,30,35,.97)!important;color:#f3f4f6!important;
  box-shadow:0 22px 54px rgba(0,0,0,.38)!important;
}
html[data-mutti-theme="dark"] .mutti-cart-toast::before,
body.mutti-dark-mode .mutti-cart-toast::before,
body.mutti-dark-v8529 .mutti-cart-toast::before{background:#173727;color:#6ddd9c}

/* 2) Wishlist: large invisible hit target, no visible oval/square container.
      The visible heart itself is a transparent PNG and swaps on hover/state. */
html body .mutti-market-card .mutti-market-heart,
html body .woocommerce ul.products li.product .mutti-wishlist-loop,
html body .mutti-popular-v9380 .mutti-market-heart,
html body .mutti-popular-v9345__catalog-card .mutti-market-heart{
  display:grid!important;place-items:center!important;
  width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;color:transparent!important;font-size:0!important;line-height:0!important;
  box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
  transform:translateY(0)!important;transition:transform .18s ease!important;
}
html body .mutti-market-card .mutti-market-heart::before,
html body .woocommerce ul.products li.product .mutti-wishlist-loop::before,
html body .mutti-popular-v9380 .mutti-market-heart::before,
html body .mutti-popular-v9345__catalog-card .mutti-market-heart::before{
  content:""!important;display:block!important;width:25px!important;height:25px!important;
  background:transparent url('mutti-heart-outline-v9447.png') center/contain no-repeat!important;
  -webkit-mask:none!important;mask:none!important;filter:none!important;
  transform:scale(1)!important;transition:transform .18s ease!important;
}
@media(hover:hover){
  html body .mutti-market-card .mutti-market-heart:not(.is-disabled):hover,
  html body .woocommerce ul.products li.product .mutti-wishlist-loop:not(.is-disabled):hover,
  html body .mutti-popular-v9380 .mutti-market-heart:not(.is-disabled):hover{
    border:0!important;background:transparent!important;box-shadow:none!important;
    transform:translateY(-2px)!important;
  }
  html body .mutti-market-card .mutti-market-heart:not(.is-disabled):hover::before,
  html body .woocommerce ul.products li.product .mutti-wishlist-loop:not(.is-disabled):hover::before,
  html body .mutti-popular-v9380 .mutti-market-heart:not(.is-disabled):hover::before{
    background-image:url('mutti-heart-outline-raspberry-v9447.png')!important;transform:scale(1.05)!important;
  }
}
html body .mutti-market-card .mutti-market-heart.is-active::before,
html body .mutti-market-card .mutti-market-heart[aria-pressed="true"]::before,
html body .woocommerce ul.products li.product .mutti-wishlist-loop.is-active::before,
html body .woocommerce ul.products li.product .mutti-wishlist-loop[aria-pressed="true"]::before,
html body .mutti-popular-v9380 .mutti-market-heart.is-active::before,
html body .mutti-popular-v9380 .mutti-market-heart[aria-pressed="true"]::before{
  background-image:url('mutti-heart-filled-raspberry-v9447.png')!important;
}
html body .mutti-market-card .mutti-market-heart:focus-visible,
html body .woocommerce ul.products li.product .mutti-wishlist-loop:focus-visible{
  outline:2px solid rgba(223,0,87,.42)!important;outline-offset:1px!important;border-radius:9px!important;
}

/* 3) Home product-card parity. Category mode receives the same rounded outer
      silhouette as All Products. The CTA gets breathing room on all four sides
      so its lower corners can never be clipped by the card shell. */
body.home .mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card,
body.home [data-mutti-category-view] .mutti-home-department-v9398__grid .mutti-market-card{
  border-radius:16px!important;overflow:hidden!important;
}
body.home [data-mutti-category-view] .mutti-home-department-v9398__grid .mutti-market-image{
  border-radius:16px 16px 14px 14px!important;
}
body.home .mutti-ref-market-v920[data-mutti-all-view] .mutti-market-actions--single-v8524,
body.home [data-mutti-category-view] .mutti-home-department-v9398__grid .mutti-market-actions--single-v8524{
  box-sizing:border-box!important;width:100%!important;margin:8px 0 0!important;padding:0 5px 5px!important;
}
body.home .mutti-ref-market-v920[data-mutti-all-view] .mutti-market-action--cart-v8524,
body.mutti-light-premium-v8353.home .mutti-ref-market-v920[data-mutti-all-view] .mutti-market-action--cart-v8524.is-cart-enabled,
body.home [data-mutti-category-view] .mutti-home-department-v9398__grid .mutti-market-action--cart-v8524,
body.mutti-light-premium-v8353.home [data-mutti-category-view] .mutti-home-department-v9398__grid .mutti-market-action--cart-v8524.is-cart-enabled{
  width:100%!important;margin:0!important;border-radius:10px!important;
}

/* Dark mode gets geometry parity only; no light-mode palette is copied into it. */
html[data-mutti-theme="dark"] body.home [data-mutti-category-view] .mutti-home-department-v9398__grid .mutti-market-card,
body.mutti-dark-mode.home [data-mutti-category-view] .mutti-home-department-v9398__grid .mutti-market-card,
body.mutti-dark-v8529.home [data-mutti-category-view] .mutti-home-department-v9398__grid .mutti-market-card{
  border-radius:16px!important;overflow:hidden!important;
}

/* 4) A cold instant-PDP click must not turn the whole OS pointer into a loading
      wheel. The card can finish its route normally while the pointer stays usable. */
body.mutti-product-route-pending{cursor:auto!important}
body.mutti-product-route-pending a{cursor:pointer!important}
body.mutti-product-route-pending button{cursor:pointer!important}

@media(max-width:560px){
  .mutti-cart-toast{left:16px!important;right:16px!important;top:auto!important;bottom:86px!important;max-width:none!important;width:auto!important}
  html body .mutti-market-card .mutti-market-heart,
  html body .woocommerce ul.products li.product .mutti-wishlist-loop{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
  html body .mutti-market-card .mutti-market-heart::before,
  html body .woocommerce ul.products li.product .mutti-wishlist-loop::before{width:23px!important;height:23px!important}
  body.home .mutti-ref-market-v920[data-mutti-all-view] .mutti-market-card,
  body.home [data-mutti-category-view] .mutti-home-department-v9398__grid .mutti-market-card{border-radius:14px!important}
  body.home .mutti-ref-market-v920[data-mutti-all-view] .mutti-market-action--cart-v8524,
  body.home [data-mutti-category-view] .mutti-home-department-v9398__grid .mutti-market-action--cart-v8524{border-radius:9px!important}
}
@media(prefers-reduced-motion:reduce){
  .mutti-cart-toast,html body .mutti-market-card .mutti-market-heart,html body .mutti-market-card .mutti-market-heart::before{transition:none!important}
}

/* Top Finds / Hits has older high-specificity heart containers. Neutralise them
   explicitly while preserving its compact overlay geometry. */
html body.home .mutti-popular-v9380 .mutti-popular-v9370__shelf-card .mutti-market-heart,
html body.home .mutti-popular-v9378 .mutti-popular-v9370__shelf-card .mutti-market-heart,
html body.home .mutti-popular-v9370__shelf-card .mutti-market-heart{
  width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;
  padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
  color:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html body.home .mutti-popular-v9380 .mutti-popular-v9370__shelf-card .mutti-market-heart::before,
html body.home .mutti-popular-v9378 .mutti-popular-v9370__shelf-card .mutti-market-heart::before,
html body.home .mutti-popular-v9370__shelf-card .mutti-market-heart::before{
  width:20px!important;height:20px!important;background:transparent url('mutti-heart-outline-v9447.png') center/contain no-repeat!important;
  -webkit-mask:none!important;mask:none!important;filter:none!important;
}
@media(hover:hover){
  html body.home .mutti-popular-v9380 .mutti-popular-v9370__shelf-card .mutti-market-heart:hover::before,
  html body.home .mutti-popular-v9378 .mutti-popular-v9370__shelf-card .mutti-market-heart:hover::before,
  html body.home .mutti-popular-v9370__shelf-card .mutti-market-heart:hover::before{
    background-image:url('mutti-heart-outline-raspberry-v9447.png')!important;
  }
}
html body.home .mutti-popular-v9380 .mutti-popular-v9370__shelf-card .mutti-market-heart.is-active::before,
html body.home .mutti-popular-v9380 .mutti-popular-v9370__shelf-card .mutti-market-heart[aria-pressed="true"]::before,
html body.home .mutti-popular-v9378 .mutti-popular-v9370__shelf-card .mutti-market-heart.is-active::before,
html body.home .mutti-popular-v9378 .mutti-popular-v9370__shelf-card .mutti-market-heart[aria-pressed="true"]::before,
html body.home .mutti-popular-v9370__shelf-card .mutti-market-heart.is-active::before,
html body.home .mutti-popular-v9370__shelf-card .mutti-market-heart[aria-pressed="true"]::before{
  background-image:url('mutti-heart-filled-raspberry-v9447.png')!important;
}

/* R3.4A — interaction feedback stays inside the existing cart-feedback owner. */
[data-mutti-cart-add],.single_add_to_cart_button{position:relative}
[data-mutti-cart-add].is-loading,.single_add_to_cart_button.is-loading{opacity:.72!important;cursor:progress!important;pointer-events:none!important}
[data-mutti-cart-add].is-added,.single_add_to_cart_button.is-added{background:#173f2c!important;border-color:#173f2c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:0 8px 22px rgba(23,63,44,.18)!important}
[data-mutti-cart-add].is-error,.single_add_to_cart_button.is-error{animation:mutti-cart-action-nudge .22s ease both}
.mutti-v294-actions,.mutti-market-actions--single-v8524,.mutti-market-actions,.mutti-ref-product-v910__actions{position:relative!important}
.mutti-cart-card-feedback{position:absolute;z-index:8;right:6px;bottom:calc(100% + 6px);display:inline-flex;align-items:center;max-width:calc(100% - 12px);min-height:27px;padding:5px 9px;border:1px solid rgba(31,119,73,.15);border-radius:9px;background:rgba(239,250,244,.98);color:#17663f;font-size:9px;font-weight:760;line-height:1.15;white-space:nowrap;box-shadow:0 8px 24px rgba(17,40,28,.10);opacity:0;transform:translateY(4px) scale(.98);pointer-events:none;transition:opacity .16s ease,transform .16s ease}
.mutti-cart-card-feedback.is-visible{opacity:1;transform:none}
.mutti-cart-card-feedback.is-error{border-color:rgba(166,36,71,.16);background:rgba(255,246,248,.98);color:#8b2442}
@keyframes mutti-cart-action-nudge{0%,100%{transform:translateX(0)}35%{transform:translateX(-2px)}70%{transform:translateX(2px)}}
html[data-mutti-theme="dark"] .mutti-cart-card-feedback,body.mutti-dark-mode .mutti-cart-card-feedback,body.mutti-dark-v8529 .mutti-cart-card-feedback{border-color:rgba(109,221,156,.18);background:rgba(21,49,35,.98);color:#82e2aa;box-shadow:0 10px 26px rgba(0,0,0,.24)}
html[data-mutti-theme="dark"] .mutti-cart-card-feedback.is-error,body.mutti-dark-mode .mutti-cart-card-feedback.is-error,body.mutti-dark-v8529 .mutti-cart-card-feedback.is-error{border-color:rgba(255,112,148,.20);background:rgba(67,26,38,.98);color:#ff9bb4}
@media(max-width:560px){.mutti-cart-card-feedback{right:4px;bottom:calc(100% + 4px);min-height:25px;padding:4px 8px;font-size:8px;border-radius:8px}}
@media(prefers-reduced-motion:reduce){[data-mutti-cart-add].is-error,.single_add_to_cart_button.is-error{animation:none}.mutti-cart-card-feedback{transition:none}}

/* R3.4B — explicit product-card cart states must outrank the Stage294 card owner. */
html body.mutti-stage294-product-card-owner .mutti-v294-cta.is-loading,
html body .mutti-ref-product-v910__cart.is-loading,
html body .mutti-quickview-v9456__cart.is-loading{
  opacity:.78!important;transform:scale(.988)!important;cursor:progress!important;pointer-events:none!important;
}
html body.mutti-stage294-product-card-owner .mutti-v294-cta.is-added,
html body .mutti-ref-product-v910__cart.is-added,
html body .mutti-quickview-v9456__cart.is-added{
  background:linear-gradient(135deg,#17633f 0%,#0f4d31 100%)!important;
  border-color:#17633f!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  box-shadow:0 9px 22px rgba(23,99,63,.22)!important;transform:scale(.995)!important;
}
html body.mutti-stage294-product-card-owner .mutti-v294-cta.is-added svg,
html body .mutti-ref-product-v910__cart.is-added svg{stroke:#fff!important}
html body.mutti-stage294-product-card-owner .mutti-v294-actions{overflow:visible!important}
html body.mutti-stage294-product-card-owner .mutti-v294-actions .mutti-cart-card-feedback{
  right:7px!important;bottom:calc(100% + 5px)!important;z-index:20!important;
  max-width:calc(100% - 14px)!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
