/* Fuel8Gift — Custom styles on top of Tailwind CDN */

* { box-sizing: border-box; }

body { font-family: 'DM Sans', sans-serif; }

h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* Card hover effects */
.gift-card-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gift-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,184,148,0.12);
}

/* Smooth transitions */
a, button { transition: color 0.15s, background-color 0.15s, border-color 0.15s; }

/* Status badges */
.badge-delivered  { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.badge-processing { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-pending    { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-cancelled  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 24px; height: 24px;
  border: 3px solid rgba(0,184,148,0.2);
  border-top-color: #00B894;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
#toast {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  background: #1A1A2E;
  color: white;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  max-width: 320px;
}
#toast.show {
  transform: translateY(0);
  opacity: 1;
}
#toast.success { border-left: 4px solid #00B894; }
#toast.error   { border-left: 4px solid #e74c3c; }

/* FAQ accordion */
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.faq-answer.open { max-height: 400px; }
.faq-icon { transition: transform 0.2s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #00B894 0%, #00a381 100%);
}

/* Preset amount buttons */
.preset-btn.selected {
  background: #00B894;
  color: white;
  border-color: #00B894;
}

/* Quantity control */
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Mobile menu */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* Image aspect ratio helper */
.aspect-card { aspect-ratio: 1.58 / 1; }
