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

:root {
  --color-coffee-900: #1c130d;
  --color-coffee-800: #2d1d13;
  --color-coffee-700: #4a3020;
  --color-coffee-600: #6d472c;
  --color-coffee-500: #93603d;
  --color-amber-gold: #c88a38;
  --color-cream-100: #fbf8f3;
  --color-cream-200: #f4ecdf;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-cream-100);
  color: #2b231d;
  -webkit-font-smoothing: antialiased;
}

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

/* Smooth transitions */
.transition-smooth {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism for modern floating nav */
.glass-nav {
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Card hover zoom */
.product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -10px rgba(45, 29, 19, 0.12);
}

.product-image-container {
  overflow: hidden;
}

.product-image-container img {
  transition: transform 0.4s ease;
}

.product-card:hover .product-image-container img {
  transform: scale(1.05);
}

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

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

::-webkit-scrollbar-thumb {
  background: #c88a38;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #93603d;
}

/* Toast alert styling */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 400px;
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast-success {
  background: #1e3a2f;
  color: #e6f4ea;
  border-left: 4px solid #34a853;
}

.toast-error {
  background: #3b1d1d;
  color: #fce8e6;
  border-left: 4px solid #ea4335;
}

.toast-info {
  background: #1c2b39;
  color: #e8f0fe;
  border-left: 4px solid #4285f4;
}

/* Stamp card circle styles */
.stamp-slot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #d1bba4;
  color: #8c735d;
  transition: all 0.3s ease;
}

.stamp-slot.active {
  background: #c88a38;
  border: 2px solid #93603d;
  color: white;
  box-shadow: 0 4px 10px rgba(200, 138, 56, 0.35);
  transform: scale(1.05);
}
