/* Custom styles for Babanana Food Products */

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

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

body {
  font-family: var(--font-sans);
  background-color: #fafaf7;
  color: #1c1917;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f1eb;
}
::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a29e;
}

/* Banana hero gradient */
.hero-gradient {
  background: radial-gradient(circle at 85% 15%, rgba(245, 158, 11, 0.15) 0%, rgba(250, 250, 247, 1) 60%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.1) 0%, rgba(250, 250, 247, 1) 50%);
}

/* Banana leaf texture accent */
.banana-pattern {
  background-color: #ffffff;
  background-image: radial-gradient(#f59e0b 0.65px, transparent 0.65px), radial-gradient(#10b981 0.65px, #ffffff 0.65px);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  opacity: 0.8;
}

/* Product card hover transitions */
.product-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-4px);
}

/* Pulse animation for best seller & free shipping alerts */
@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.pulse-soft {
  animation: softPulse 2.4s infinite ease-in-out;
}

/* Custom styling for comparison table */
.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
}

/* Quick toast styling */
#toast {
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
