/* 🔒 מסתיר לודרים חיצוניים לא שלך */
.mas-wishlist-wrapper .loader:not(:only-child) {
  display: none !important;
}

/* 🖼️ תמיכה בהודעות שמתרחבות מחוץ לתמונה */
.product-thumbnail-wrapper {
  overflow: visible !important;
  position: relative;
}

/* ❤️ כפתור Wishlist */
.mas-wishlist-button,
.quick-view {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #6A90A5;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  overflow: hidden;
}

.mas-wishlist-button:hover,
.quick-view:hover {
  background: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.mas.icon-visibility:before{
  font-size:25px;
}
/* 🧠 אייקון לב */
.mas-wishlist-button .mas-icon-heart_plus,
.mas-wishlist-button .mas-icon-heart_check {
  font-size: 24px;
  color: #6A90A5;
  transition: transform 0.2s ease;
  padding: 0;
}

.mas-wishlist-button.mas-icon-heart_plus {
  color: #555;
}

.mas-wishlist-button.mas-icon-heart_check {
  color: #10b981;
}

/* 🔄 לודר ממורכז */
.mas-wishlist-button .loader,
.quick-view .loader{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.mas-wishlist-button.loading .loader,
.quick-view .loading .loader{
  display: block;
}

.mas-wishlist-button.loading ,
.quick-view .loading{
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ✅ הודעה על הפעולה (נוסף/הוסר) */
.wishlist-message {
  display: none;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 5;
  animation: fadeInOut 2.5s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(-5px); }
  10% { opacity: 1; transform: translateX(-50%) translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-5px); }
}


