/* ==============================================================================
   Zee Scents - Luxury Haute Parfumerie Stylesheet (Original Approved Styles)
   File: assets/css/style.css
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Dancing+Script:wght@600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --color-wine-950: #23070C;
  --color-wine-900: #3D0C14;
  --color-wine-800: #520F1B;
  --color-wine-700: #6E1423;
  --color-wine-600: #8E1B2E;
  --color-wine-500: #B0253D;
  --color-blush-50: #FAF4F4;
  --color-blush-100: #F7E4E4;
  --color-blush-200: #EFCACA;
  --color-sage-50: #F4F6F1;
  --color-sage-500: #7A9B6E;
  --color-sage-700: #4B6342;
  --color-bg-ivory: #FAF7F7;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 163px;
}

@media (max-width: 1023px) {
  html {
    scroll-padding-top: 114px;
  }
}

body {
  font-family: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  color: #2D2426;
  background-color: var(--color-bg-ivory);
}

.font-script {
  font-family: 'Alex Brush', 'Dancing Script', cursive;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #F4EBEB;
}
::-webkit-scrollbar-thumb {
  background: #C49F9F;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6E1423;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mood Showcase 4s subtle zoom animation */
@keyframes moodZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.animate-mood-zoom {
  animation: moodZoom 4s ease-in-out infinite;
}

/* Custom shadows */
.shadow-luxury {
  box-shadow: 0 20px 40px -15px rgba(61, 12, 20, 0.15);
}
.shadow-card-soft {
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.07);
}
.shadow-sage-soft {
  box-shadow: 0 15px 35px -10px rgba(122, 155, 110, 0.25);
}

/* Toast animations */
@keyframes toastSlideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.animate-toast-in {
  animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Line clamp utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   ADD-TO-CART VIDEO-ACCURATE MICRO-INTERACTIONS (add-to-cart.mp4)
   ============================================================ */

@keyframes cartBottleDrop {
  0% {
    transform: translateY(-56px) scale(0.85);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  75% {
    transform: translateY(0px) scale(1);
    opacity: 1;
  }
  88% {
    transform: translateY(-4px) scale(1);
  }
  100% {
    transform: translateY(0px) scale(1);
    opacity: 1;
  }
}

@keyframes cartSquashEffect {
  0% { transform: scale(1, 1); }
  35% { transform: scale(1.18, 0.80); }
  70% { transform: scale(0.95, 1.06); }
  100% { transform: scale(1, 1); }
}

@keyframes cartDriveOff {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }
  15% {
    transform: translateX(-6px) rotate(-3deg);
    opacity: 1;
  }
  100% {
    transform: translateX(180px) rotate(4deg);
    opacity: 0;
  }
}

@keyframes cartWheelSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(720deg); }
}

@keyframes cartSparkleBurst {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 1;
  }
  50% {
    transform: translate(var(--dx), var(--dy)) scale(1.25);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.3);
    opacity: 0;
  }
}

@keyframes cartCheckPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.25);
    opacity: 1;
  }
  85% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-cart-bottle-drop {
  animation: cartBottleDrop 0.45s cubic-bezier(0.35, 0.05, 0.65, 1) forwards;
}

.animate-cart-squash {
  animation: cartSquashEffect 0.3s ease-out forwards;
}

.animate-cart-drive {
  animation: cartDriveOff 0.52s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-wheel-spin {
  animation: cartWheelSpin 0.52s linear forwards;
  transform-box: fill-box;
  transform-origin: center;
}

.animate-cart-spark {
  animation: cartSparkleBurst 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-cart-check {
  animation: cartCheckPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
