body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden; /* Prevent horizontal scroll */
}
html {
  scroll-behavior: smooth; /* Enables smooth scrolling for anchor links */
}
.font-display {
  font-family: 'Playfair Display', serif;
}

/* Color Palette & Styles */
.prep-deep-orange { color: #cb5a12; }
.bg-prep-deep-orange { background-color: #cb5a12; }
.border-prep-deep-orange { border-color: #cb5a12; }
.hover\:bg-prep-deep-orange-dark:hover { background-color: #a5490d; }

.prep-bright-orange { color: #f97316; }
.bg-prep-bright-orange { background-color: #f97316; }
.hover\:bg-prep-bright-orange-dark:hover { background-color: #ea580c; }

.prep-brown-spice { color: #78350f; }
.text-prep-brand-dark { color: #78350f; }

.bg-prep-cream { background-color: #fffbeb; }
.bg-prep-light-orange { background-color: #ffedd5; }
.bg-prep-warm-gradient { background-image: linear-gradient(to right, #fffbeb, #ffedd5); }

.nav-link-active {
  font-weight: 700;
  color: #cb5a12;
}

.product-pouch {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  cursor: pointer;
  position: relative; /* Needed for positioning the icon */
}
.product-pouch:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1), 0 6px 6px rgba(0,0,0,0.1);
}
.product-pouch img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1 / 1.25; /* Corrected aspect ratio */
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}
.product-pouch-name {
  font-weight: 600;
  color: #573a2e;
  margin-bottom: 0.5rem; /* Added margin-bottom */
}

.product-pouch-price {
  font-weight: 600;
  color: #cb5a12;
}

/* Product Modal Styles */
#productModal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#productModal.active {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 768px) {
  #modalProductImage {
    max-height: 60vh;
  }
  #thumbnailContainer img {
    height: 4rem;
    width: 4rem;
  }
}

#cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 1rem;
    margin-right: -1rem;
    max-height: 50vh;
    scrollbar-width: thin;
    scrollbar-color: #cb5a12 #fffbeb;
}

#cart-items::-webkit-scrollbar {
    width: 6px;
}

#cart-items::-webkit-scrollbar-track {
    background: #fffbeb;
    border-radius: 3px;
}

#cart-items::-webkit-scrollbar-thumb {
    background-color: #cb5a12;
    border-radius: 3px;
}

.scroll-hint {
    position: relative;
    padding-left: 1.5rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.scroll-hint::before {
    content: "↕";
    position: absolute;
    left: 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
