/* Custom Polish & Animations for IronVigor Health Store */

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

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --accent: #10b981;
  --bg-dark: #090e17;
  --card-dark: #0f172a;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #080d1a;
  color: #e2e8f0;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #090e17;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fde047 0%, #ca8a04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glow effects */
.glow-emerald {
  box-shadow: 0 0 35px -5px rgba(16, 185, 129, 0.25);
}

.glow-emerald-lg {
  box-shadow: 0 0 60px -10px rgba(16, 185, 129, 0.35);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

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

/* Trust Badges Bar */
.trust-badge-item {
  transition: all 0.2s ease-in-out;
}
.trust-badge-item:hover {
  transform: translateY(-2px);
}

/* Product Card Hover effects */
.product-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
  transform: translateY(-4px);
}
/* Line Clamp Fallbacks */
.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;
}

.product-card img {
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
}

/* Print Styles for thx.html */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }
  header, footer, .no-print, #toast-container {
    display: none !important;
  }
  .print-clean {
    border: 1px solid #ccc !important;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .print-clean * {
    color: #000 !important;
    border-color: #ddd !important;
  }
}
