/* ==========================================================================
   MIRCATO WISHLIST STYLES
   Premium aesthetics for the wishlist page and grid.
   ========================================================================== */
/* 1. Page Layout & Centering */
.mircato-wishlist-page {
  padding-top: 60px;
  padding-bottom: 80px;
}

.mircato-wishlist-page .entry-header {
  text-align: center;
  margin-bottom: 30px;
  padding-top: 10px;
  /* Reduced from 50px */
}

.mircato-wishlist-page .entry-title {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: #111;
  position: relative;
  display: inline-block;
  padding-bottom: 25px;
}

/* 2. Constrained Grid Container */
/* 
   This is the key fix for "oversized cards". 
   By limiting the container width, the cards naturally stay at a premium size
   even if the theme-controlled column count is low (e.g., 3 or 4).
*/
.mircato-wishlist-page .container {
  max-width: 1300px;
  margin: 0 auto;
}

/* 3. Wishlist Grid Refinements */
.mp-wishlist-grid {
  margin-top: 0;
  /* Reduced from 30px */
}

/* Fix for potential WooCommerce block interference */
.mircato-wishlist-page ul.products {
  justify-content: center;
}

/* 4. Remove Button Styling - Premium & Minimalist */
.mp-wishlist-card__remove-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  /* Opposite side of wishlist heart in shop */
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #666;
  padding: 0;
}

.mp-wishlist-card__remove-btn:hover {
  background: #ff4757;
  color: #fff;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 15px rgba(255, 71, 87, 0.3);
}

.mp-wishlist-card__remove-btn i {
  font-size: 14px;
}

/* 5. Empty Wishlist State - Premium Luxury Transformation */
.mircato-wishlist-empty-wrapper {
  text-align: center;
  padding: 50px 40px;
  max-width: 700px;
  margin: 10px auto;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

/* Subtle background accent */
.mircato-wishlist-empty-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.mircato-wishlist-empty-icon {
  font-size: 100px;
  background: linear-gradient(135deg, #d4af37 0%, #f1d37f 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 35px;
  display: inline-block;
  filter: drop-shadow(0 10px 20px rgba(212, 175, 55, 0.2));
  animation: luxuryPulse 3s ease-in-out infinite;
}

@keyframes luxuryPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
    filter: drop-shadow(0 5px 10px rgba(212, 175, 55, 0.1));
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
    filter: drop-shadow(0 15px 30px rgba(212, 175, 55, 0.3));
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
    filter: drop-shadow(0 5px 10px rgba(212, 175, 55, 0.1));
  }
}
.mircato-wishlist-empty-title {
  font-family: serif;
  /* Elegant serif for premium feel */
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.mircato-wishlist-empty-text {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 50px;
  line-height: 1.6;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .mircato-wishlist-page .entry-title {
    font-size: 2.2rem;
  }
  .mircato-wishlist-page {
    padding-top: 40px;
  }
}
/* 6. Wishlist Footer Button */
.mircato-wishlist-footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  width: 100%;
}
