/* Custom styles and enhancements on top of Tailwind CSS */

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

:root {
  --font-sans: 'Poppins', sans-serif;
  --font-heading: 'Work Sans', sans-serif;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
  color: rgb(0, 0, 0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 640px) {
  body {
    font-size: 16px;
    line-height: 30px;
  }
}

/* Section Headers */
.header-text, h2 {
  font-family: "Work Sans", sans-serif !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 34px !important;
  color: rgb(0, 0, 0) !important;
  text-align: center !important;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (min-width: 640px) {
  .header-text, h2 {
    font-size: 40px !important;
    line-height: 44px !important;
  }
}

/* Main Header (H1) */
.main-header, h1 {
  font-family: "Work Sans", sans-serif !important;
  font-size: 38px !important;
  font-weight: 900 !important;
  line-height: 42px !important;
  color: rgb(0, 0, 0) !important;
  text-align: center !important;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (min-width: 420px) {
  .main-header, h1 {
    font-size: 45px !important;
    line-height: 48px !important;
  }
}

h3, h4, h5, h6, .font-heading {
  font-family: "Work Sans", sans-serif;
  color: rgb(0, 0, 0);
  overflow-wrap: break-word;
}

/* Body / Paragraph Text */
p, .body-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
  color: rgb(0, 0, 0);
}

@media (min-width: 640px) {
  p, .body-text {
    font-size: 16px;
    line-height: 30px;
  }
}

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

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.8);
}

/* Badge glow effects */
.badge-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.03);
  }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Product card hover zoom */
.product-card:hover .product-img {
  transform: scale(1.05);
}

/* Toast animations */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Global 1:1 Aspect Ratio Enforcement */
.img-1-to-1 {
  aspect-ratio: 1 / 1 !important;
}

/* Direct-Response 3D Orange CTA Button */
.btn-cta-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #FFA000;
  border-bottom: 5px solid #CC7700;
  border-radius: 6px;
  padding: 13px 14px;
  font-family: "Work Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  color: #000000 !important;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.12s ease-in-out;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 400px) {
  .btn-cta-orange {
    font-size: 16.5px !important;
    padding: 14px 20px;
    gap: 10px;
  }
}

@media (min-width: 640px) {
  .btn-cta-orange {
    font-size: 21px !important;
    padding: 18px 36px;
    gap: 14px;
  }
}

.btn-cta-orange:hover {
  background-color: #FFAB1A;
  border-bottom-color: #BF6F00;
  filter: brightness(1.02);
  transform: translateY(-1px);
}

.btn-cta-orange:active {
  transform: translateY(3px);
  border-bottom-width: 2px;
}

.btn-cta-orange .cta-arrow-fill {
  fill: #FFA000;
  transition: fill 0.12s ease-in-out;
}

.btn-cta-orange:hover .cta-arrow-fill {
  fill: #FFAB1A;
}

/* High CTR Tag Line below Main Header (Undecorated) */
.high-ctr-tag {
  display: block;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 26px;
  color: rgb(0, 0, 0);
  margin-top: 6px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .high-ctr-tag {
    font-size: 16px;
    line-height: 28px;
  }
}

/* Premium Ingredients Card Styling */
.ingredient-card {
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.ingredient-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.ingredient-card .ingredient-img-wrap {
  width: 120px;
  height: 120px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 1rem;
  transition: transform 0.25s ease;
  background-color: #f8fafc;
}

@media (min-width: 640px) {
  .ingredient-card .ingredient-img-wrap {
    width: 130px;
    height: 130px;
  }
}

.ingredient-card:hover .ingredient-img-wrap {
  transform: scale(1.04);
}

.ingredient-card h3 {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
  color: #0f172a !important;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .ingredient-card h3 {
    font-size: 19px !important;
    line-height: 25px !important;
  }
}

.ingredient-card p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  color: #475569 !important;
  flex-grow: 1;
  margin: 0;
}

@media (min-width: 640px) {
  .ingredient-card p {
    font-size: 15px !important;
    line-height: 24px !important;
  }
}


