/* One visible heart, driven by the confirmed wishlist state. */
@layer ps-base {
  body .wishlist-button-add.coutureo-wishlist-button {
    color: #1c1815 !important;
    -webkit-tap-highlight-color: transparent;
  }
  body .wishlist-button-add.coutureo-wishlist-button:is(:hover, :focus-visible),
  body .wishlist-button-add.coutureo-wishlist-button[aria-pressed="true"] {
    color: #a33e27 !important;
    border-color: #a33e27 !important;
  }
  body .wishlist-button-add.coutureo-wishlist-button:is(:hover, :focus-visible) {
    background: #fff4ee !important;
  }
  body .wishlist-button-add.coutureo-wishlist-button:focus-visible {
    outline: 2px solid #a33e27 !important;
    outline-offset: 3px !important;
  }
  body .wishlist-button-add.coutureo-wishlist-button::before,
  body .wishlist-button-add.coutureo-wishlist-button::after,
  body .wishlist-button-add.coutureo-wishlist-button > :not(svg.coutureo-wishlist-icon) {
    display: none !important;
    content: none !important;
  }
  /* The product form also defines an older heart in the same theme layer. */
  body#product .fiche-produit #add-to-cart-or-refresh > .wishlist-button-add.coutureo-wishlist-button::before {
    display: none !important;
    content: none !important;
    background: none !important;
  }
  body#product .fiche-produit #add-to-cart-or-refresh > .wishlist-button-add.coutureo-wishlist-button:is(:hover, :focus-visible) {
    background: #fff4ee !important;
    border-color: #a33e27 !important;
  }
  body .wishlist-button-add.coutureo-wishlist-button > svg.coutureo-wishlist-icon {
    display: block !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    color: inherit !important;
    stroke: currentColor !important;
    fill: none !important;
    pointer-events: none;
    overflow: visible;
  }
  body .wishlist-button-add.coutureo-wishlist-button .coutureo-wishlist-icon path {
    fill: none !important;
    stroke: currentColor !important;
  }
  body .wishlist-button-add.coutureo-wishlist-button[aria-pressed="true"] .coutureo-wishlist-icon path {
    fill: currentColor !important;
  }
  body .wishlist-button-add.coutureo-wishlist-button[data-coutureo-wishlist-busy="true"] {
    opacity: .65 !important;
    cursor: progress !important;
  }
  body .wishlist-toast.success,
  body .coutureo-wishlist-live[data-type="success"] {
    background: #a33e27 !important;
    border-color: #a33e27 !important;
    color: #fff !important;
  }
  body .wishlist-toast.success .wishlist-toast-text {
    color: #fff !important;
  }
  body .wishlist-toast.success {
    border-radius: 8px !important;
    max-width: calc(100vw - 40px);
  }
  body .coutureo-wishlist-live[data-type="error"] {
    background: #b9312d !important;
    color: #fff !important;
  }
}
