/* ==========================================================================
   LUXE COLLECTORS - ADD TO FAVORITE / WISHLIST STYLES
   ========================================================================== */

/* Heart Button on Product Card (Loop) */
.luxe-favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
}

.luxe-favorite-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #000000;
}

.luxe-favorite-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #111111;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.25s ease;
}

.luxe-favorite-btn.is-active svg {
  fill: #D4AF37;
  stroke: #D4AF37;
}

.luxe-favorite-btn.animate-pulse svg {
  animation: luxeHeartBeat 0.4s ease-in-out;
}

@keyframes luxeHeartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Single Product Favorite Button */
.luxe-single-favorite-wrap {
  margin: 15px 0 25px 0;
}

.luxe-single-favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid #111111;
  color: #111111;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 13px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  justify-content: center;
}

.luxe-single-favorite-btn:hover {
  background: #111111;
  color: #ffffff;
}

.luxe-single-favorite-btn:hover svg {
  stroke: #ffffff;
}

.luxe-single-favorite-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #111111;
  stroke-width: 1.8;
  transition: all 0.25s ease;
}

.luxe-single-favorite-btn.is-active {
  background: #fbf9f5;
  border-color: #D4AF37;
  color: #8C6D23;
}

.luxe-single-favorite-btn.is-active svg {
  fill: #D4AF37;
  stroke: #D4AF37;
}

/* Header Favorite Link & Count Badge */
.luxe-header-fav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  text-decoration: none;
  padding: 6px;
  transition: opacity 0.2s;
}

.luxe-header-fav-link:hover {
  opacity: 0.7;
}

.luxe-header-fav-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.luxe-fav-badge {
  position: absolute;
  top: 0px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: #111111;
  color: #ffffff;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Wishlist Page / Elementor Wishlist Grid */
.luxe-wishlist-container {
  padding: 40px 0 80px;
}

.luxe-wishlist-header {
  text-align: center;
  margin-bottom: 45px;
}

.luxe-wishlist-header h1 {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.luxe-wishlist-header p {
  color: #666666;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.luxe-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

@media (max-width: 1100px) {
  .luxe-wishlist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .luxe-wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .luxe-wishlist-grid {
    grid-template-columns: 1fr;
  }
}

.luxe-wishlist-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #ECEAE6;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.luxe-wishlist-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: #D4AF37;
}

.luxe-wishlist-thumb {
  position: relative;
  background: #f7f6f4;
  padding-top: 100%;
  overflow: hidden;
}

.luxe-wishlist-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.luxe-wishlist-card:hover .luxe-wishlist-thumb img {
  transform: scale(1.04);
}

.luxe-wishlist-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  color: #111;
  font-size: 14px;
  line-height: 1;
  transition: all 0.2s;
}

.luxe-wishlist-remove:hover {
  background: #111111;
  color: #ffffff;
}

.luxe-wishlist-info {
  padding: 18px 15px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.luxe-wishlist-title {
  font-size: 13px;
  font-weight: 500;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.4;
  flex: 1;
}

.luxe-wishlist-title a {
  color: inherit;
  text-decoration: none;
}

.luxe-wishlist-price {
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  margin-bottom: 14px;
}

.luxe-wishlist-actions {
  display: flex;
  gap: 8px;
}

.luxe-wishlist-add-cart {
  flex: 1;
  background: #111111;
  color: #ffffff;
  border: 1px solid #111111;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.25s ease;
}

.luxe-wishlist-add-cart:hover {
  background: #D4AF37;
  border-color: #D4AF37;
  color: #ffffff;
}

/* Empty Wishlist State */
.luxe-wishlist-empty {
  text-align: center;
  padding: 70px 20px;
  background: #FDFCFB;
  border: 1px solid #ECEAE6;
  max-width: 650px;
  margin: 0 auto;
}

.luxe-wishlist-empty svg {
  width: 48px;
  height: 48px;
  stroke: #D4AF37;
  margin-bottom: 20px;
}

.luxe-wishlist-empty h3 {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.luxe-wishlist-empty p {
  color: #777;
  font-size: 14px;
  margin-bottom: 25px;
}

/* Toast Notification */
.luxe-fav-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111111;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.luxe-fav-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.luxe-fav-toast svg {
  width: 16px;
  height: 16px;
  fill: #D4AF37;
}
