/* Petals Palettee - Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Sacramento&display=swap');

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Sacramento', cursive;

  --petal-pink-50: #FFF5F7;
  --petal-pink-100: #FFE4E8;
  --petal-pink-200: #FECDD6;
  --petal-pink-500: #F43F5E;
  --petal-pink-600: #E11D48;
  --petal-sage-50: #F2F9F5;
  --petal-sage-100: #E2F3E9;
  --petal-sage-600: #059669;
  --petal-cream: #FCFAF7;
}

body {
  font-family: var(--font-sans);
  background-color: var(--petal-cream);
  color: #2D3748;
  overflow-x: hidden;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FFF1F2;
}

::-webkit-scrollbar-thumb {
  background: #FDA4AF;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #F43F5E;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(254, 205, 214, 0.4);
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(254, 205, 214, 0.5);
  box-shadow: 0 10px 30px -10px rgba(244, 63, 94, 0.08);
}

/* Floating animation */
@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(244, 63, 94, 0);
  }
}

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

/* Petal Falling Background canvas */
#petal-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Product Card Hover */
.product-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(225, 29, 72, 0.15);
}

.product-img-wrapper {
  overflow: hidden;
  position: relative;
}

.product-img-wrapper img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
}

/* Badge Gradient */
.badge-handmade {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border: 1px solid #FECDD3;
  color: #BE123C;
}

/* Smooth modal transitions */
.modal-backdrop {
  transition: opacity 0.3s ease;
}

.modal-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Toast Notification */
#toast {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

/* Mobile drawer */
#cart-drawer,
#wishlist-drawer {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}