/**
 * ZestMood - Ultra Luxury E-Commerce Design System (PinkCherry Prestige Edition)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  --primary-cherry: #e11d48;
  --primary-pink: #ff2a6d;
  --cherry-glow: rgba(225, 29, 72, 0.35);
  --dark-plum: #140516;
  --dark-noir: #09020a;
  --silk-bg: #faf7f9;
  --gold-accent: #f59e0b;
}

body {
  font-family: var(--font-sans);
  background-color: #faf8fa;
  color: #1e1b24;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Smooth Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1ecf1;
}
::-webkit-scrollbar-thumb {
  background: #d4b8c9;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-cherry);
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-panel-dark {
  background: rgba(20, 5, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 42, 109, 0.15);
}

/* Shimmer & Glow Effects */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.btn-shimmer {
  background: linear-gradient(90deg, #e11d48 0%, #ff2a6d 50%, #e11d48 100%);
  background-size: 200% 100%;
  animation: shimmer 4s infinite linear;
}

.glow-cherry {
  box-shadow: 0 10px 30px -5px rgba(225, 29, 72, 0.4);
}

.glow-subtle {
  box-shadow: 0 20px 40px -15px rgba(20, 5, 22, 0.08);
}

/* Mega Menu Animations */
.mega-menu-content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.group:hover .mega-menu-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Luxury Product Card Hover Effects */
.luxury-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.luxury-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px -12px rgba(225, 29, 72, 0.14), 0 0 0 1px rgba(225, 29, 72, 0.08);
}

.luxury-card .card-img-zoom {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover .card-img-zoom {
  transform: scale(1.06);
}

.luxury-card .action-overlay {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover .action-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse Animations */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-ring {
  animation: pulse-ring 3s infinite ease-in-out;
}

/* Floating Badges */
.badge-luxury-sale {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.badge-luxury-hot {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.badge-luxury-new {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Discreet Trust Seals */
.discreet-seal-box {
  background: linear-gradient(135deg, #fff5f7 0%, #fdf2f4 100%);
  border: 1px solid #fecdd3;
  position: relative;
  overflow: hidden;
}

.discreet-seal-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 42, 109, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  animation: toastSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlide {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Free Shipping Progress Pulse */
@keyframes progressGlow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 42, 109, 0.6)); }
  50% { filter: drop-shadow(0 0 10px rgba(255, 42, 109, 0.9)); }
}

.shipping-bar-fill {
  animation: progressGlow 2.5s infinite ease-in-out;
}

/* Hide Scrollbar for Horizontal Touch Sliders */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile Story Bubble Glow */
.story-ring {
  background: linear-gradient(135deg, #e11d48, #ff2a6d, #f59e0b);
  padding: 2px;
  border-radius: 9999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.story-ring:hover, .story-ring:active {
  transform: scale(1.06);
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.5);
}

/* Coupon Tap Animation */
.coupon-pill {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.coupon-pill:active {
  transform: scale(0.97);
}

/* =========================================================
   SKELETON LOADING & SHIMMER SYSTEM
   ========================================================= */
@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite linear;
}

.skeleton-shimmer-dark {
  background: linear-gradient(90deg, #1e1b24 25%, #2d2636 50%, #1e1b24 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite linear;
}

/* Lazy Image Blur-Up & Smooth Fade-In */
.lazy-image {
  opacity: 0;
  transition: opacity 0.4s ease-in-out, filter 0.4s ease-in-out;
}

.lazy-image.loaded {
  opacity: 1;
}

/* Pagination Active State Glow */
.page-btn-active {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}


