/* inlab Beauty — Luxury Editorial Styling */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --rose-primary: #C57B8C;
  --rose-dark: #9F4A5E;
  --rose-deep: #783142;
  --rose-light: #F4DCE1;
  --blush-bg: #FAF5F4;
  --blush-card: #FFFFFF;
  --gold-accent: #D89B84;
  --gold-light: #F6E6E0;
  --gold-border: rgba(216, 155, 132, 0.45);
  --slate-900: #1B1517;
  --slate-800: #2C2326;
  --slate-600: #6B5E63;
  --slate-400: #A89FA3;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--blush-bg);
  color: var(--slate-800);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

h1, h2, h3, .font-serif {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #F4EAE7;
}
::-webkit-scrollbar-thumb {
  background: #D89B84;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C57B8C;
}

/* Luxury Rose Gold Gradients & Accents */
.bg-rose-gradient {
  background: linear-gradient(135deg, #C57B8C 0%, #D89B84 100%);
}
.bg-rose-gradient-soft {
  background: linear-gradient(145deg, #FBF4F2 0%, #F5E5E2 100%);
}
.bg-dark-editorial {
  background: linear-gradient(145deg, #1F171A 0%, #151012 100%);
}
.text-rose-primary {
  color: var(--rose-primary);
}
.text-gold-accent {
  color: var(--gold-accent);
}
.border-gold-accent {
  border-color: var(--gold-border);
}

.gold-ring-glow {
  box-shadow: 0 0 0 1px rgba(216, 155, 132, 0.4), 0 8px 30px rgba(197, 123, 140, 0.12);
}

/* Card Hover Animations */
.product-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(159, 74, 94, 0.15);
}

.product-image-container {
  overflow: hidden;
  position: relative;
}
.product-image-container img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-image-container img {
  transform: scale(1.06);
}

/* Floating Badges */
.badge-luxury {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(216, 155, 132, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rose-dark);
}

/* Custom Range Input */
input[type=range] {
  accent-color: var(--rose-primary);
}

/* Modal and Drawer transitions */
.modal-backdrop {
  background: rgba(27, 21, 23, 0.65);
  backdrop-filter: blur(6px);
  transition: opacity 0.3s ease;
}

.drawer-slide {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Luxury Button Pulsing & Glow */
.btn-rose-primary {
  background: linear-gradient(135deg, #C57B8C 0%, #B96678 100%);
  color: #FFFFFF;
  transition: all 0.3s ease;
}
.btn-rose-primary:hover {
  background: linear-gradient(135deg, #B96678 0%, #9F4A5E 100%);
  box-shadow: 0 8px 25px rgba(197, 123, 140, 0.35);
  transform: translateY(-1px);
}

.btn-rose-outline {
  border: 1.5px solid var(--rose-primary);
  color: var(--rose-primary);
  background: transparent;
  transition: all 0.3s ease;
}
.btn-rose-outline:hover {
  background: var(--rose-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(197, 123, 140, 0.25);
}

/* Logo Circular Frame matching uploaded brand */
.logo-round-frame {
  border-radius: 9999px;
  border: 2px solid #E8B4A2;
  box-shadow: 0 0 15px rgba(216, 155, 132, 0.3);
  object-fit: cover;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.toast-item {
  pointer-events: auto;
  background: #FFFFFF;
  border-left: 4px solid var(--rose-primary);
  box-shadow: 0 12px 30px rgba(27, 21, 23, 0.15);
  border-radius: 8px;
  padding: 14px 18px;
  min-width: 280px;
  max-width: 380px;
  animation: slideInUp 0.35s ease forwards;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
