.modal-custom {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  margin: 5vh auto;
  padding: 2.5em;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 12px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.modal-lg .modal-content {
  max-width: 1000px;
}

@media (max-width: 600px) {
  .modal-content {
    margin: 3vh auto;
    padding: 1.5em;
  }
}

.tiendas-container {
  display: flex;
  justify-content: space-around;  /* espacia los iconos */
  align-items: center;
  margin-top: 2em;
  flex-wrap: wrap;                /* para móviles */
  gap: 1.5em;
}

.tienda-link {
  display: inline-block;
  transition: transform 0.2s ease;
}

.tienda-link:hover {
  transform: scale(1.05);        /* efecto hover */
}

.tienda-img {
  max-width: 180px;               /* tamaño máximo */
  height: auto;
  display: block;
}

.saber-mas {
  display: flex;
  flex-direction: column;
  gap: 3em;
  margin-top: 2em;
}

.saber-row {
  display: flex;
  align-items: center;
  gap: 2.5em;
}

.saber-row.reverse {
  flex-direction: row-reverse;
}

.saber-img img {
  max-width: 260px;
  width: 100%;
}

.saber-text h3 {
  margin-bottom: 0.5em;
}

.saber-text p {
  margin: 0;
  line-height: 1.6;
}

/* Switch Meal Alerts */
.sm-alert {
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  animation: smFadeIn 0.35s ease;
}

.sm-alert-success {
  background-color: rgba(40, 167, 69, 0.15);
  border: 1px solid rgba(40, 167, 69, 0.4);
  color: #1e7e34;
}

.sm-alert-error {
  background-color: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #721c24;
}

.sm-alert-danger {
  background-color: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: #721c24;
}

@keyframes smFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .saber-row,
  .saber-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .saber-img img {
    max-width: 200px;
  }
}

