/* Wishlist heart - YITH's own add-to-wishlist button, shown as an icon only.
   Size, radius and colours have matching controls on the Elementor widget, which
   generates more specific rules than these defaults. */

.nx-wish {
  line-height: 1;
}

.nx-wish .yith-add-to-wishlist-button-block {
  display: inline-flex;
  margin: 0;
  padding: 0;
}

.nx-wish .yith-wcwl-add-to-wishlist-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid #D3DAE6;
  border-radius: 8px;
  background: #FFFFFF;
  color: #0A101A;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

/* No wording anywhere. The label stays in the markup for screen readers only. */
.nx-wish .yith-wcwl-add-to-wishlist-button__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nx-wish .yith-wcwl-add-to-wishlist-button svg,
.nx-wish .yith-wcwl-icon {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0;
  color: inherit;
}

.nx-wish .yith-wcwl-add-to-wishlist-button:hover,
.nx-wish .yith-wcwl-add-to-wishlist-button:focus-visible {
  border-color: #2AA9E1;
  background: #FFFFFF;
  color: #2AA9E1;
}

.nx-wish .yith-wcwl-add-to-wishlist-button:focus-visible {
  outline: 2px solid #2AA9E1;
  outline-offset: 2px;
}

/* In the wishlist: the heart fills in. Clicking again takes it back out. */
.nx-wish .yith-wcwl-add-to-wishlist-button--added,
.nx-wish .yith-wcwl-add-to-wishlist-button--added:hover,
.nx-wish .yith-wcwl-add-to-wishlist-button--added:focus-visible {
  border-color: #E7C4C4;
  background: #FCF4F4;
  color: #B91C1C;
}

.nx-wish .yith-wcwl-add-to-wishlist-button--loading,
.nx-wish .yith-wcwl-add-to-wishlist-button--first-loading {
  opacity: .55;
  pointer-events: none;
}

/* No pop-ups or floating notes - the filled heart is the whole confirmation. */
.nx-wish .yith-wcwl-add-to-wishlist__feedback,
.nx-wish .yith-wcwl-feedback-messages-container {
  display: none !important;
}
