/* Modal "Thank you" styles */
.thankyou-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.thankyou-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.thankyou-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.thankyou-modal__box {
  position: relative;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.thankyou-modal__text {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
}

.thankyou-modal__close {
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  background: #0693e3;
  color: #fff;
  border: none;
  border-radius: 8px;
}

.thankyou-modal__close:hover {
  background: #0577b8;
}

[href="#ordina"],
[href="#modulo"] {
  scroll-behavior: smooth;
}

/* Ingredients section cards */
.ingredients-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.ingredient-card {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: rgb(0, 0, 0);
  position: relative;
  overflow: hidden;
}

.ingredient-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.ingredient-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.ingredient-content {
  position: relative;
  z-index: 1;
}

.ingredient-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
}

.ingredient-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ingredient-description {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}

