body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #222;
}

.content {
  position: relative;
  background-image: url("img/fondo.png");
  background-repeat: repeat;
  background-size: 500px;
  background-color: rgba(255,255,255,0.7);
  background-blend-mode: lighten;
}

.header {
  background: rgba(86,49,25,0.2);
  text-align: center;
  padding: 20px 16px 10px;
}

.logo {
  width: 280px;
  margin-bottom: 6px;
}

.header-info .tag {
  background: #563119;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.subtitle {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.6;
}

.nav {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid #eee;
}

.tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  background: none;
  border: none;
  font-weight: 600;
  white-space: nowrap;
  color: #777;
}

.tab.active {
  color: #000;
  border-bottom: 2px solid #000;
}

main {
  padding: 16px;
}

.category {
  display: none;
  animation: fade 0.25s ease;
}

.category.show {
  display: block;
}

.category h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 12px;
}

.item {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

.item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}

.text h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.text p {
  margin: 4px 0 6px;
  font-size: 13px;
  opacity: 0.7;
}

.price {
  font-weight: 700;
  font-size: 14px;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Fondo oscuro */
.modal {
   position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 999;
}

.modal.hidden {
  display: none;
}

/* Tarjeta ampliada */

.modal-content {
  
  background: #fff;
  width: 100%;
  max-width: 320px;
  max-height: 90svh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 16px;
  
}


@keyframes pop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.modal-content h3 {
  font-size: 22px;
  margin: 5px 0;
}

.modal-content p {
  font-size: 16px;
  margin-bottom: 10px;
}

.modal-content span {
  font-size: 18px;
  font-weight: 600;
}

.close-modal {
  margin-top: 15px;
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 16px;
  border: 0;
  width: 100%;
}

.app-footer {
  margin-top: 40px;
  padding: 24px 16px;
  background: rgba(86,49,25,0.2);
  border-top: 1px solid #ddd;
}

.footer-content {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #563119;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-instagram svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.footer-info {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}

.footer-info p {
  
  font-size: 20px;
  color: #563119;
  line-height: 1.4;
}

.footer-info strong {
  display: block;
  font-weight: 600;
  color: #000;
}

.footer-credit {
  color: #000;
  font-size: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  margin: 10px;
}

.footer-credit p {
color: rgb(124, 124, 124);
margin: 0;
}

.splash {
  position: fixed;
  inset: 0;
  background: #f2f0eb; /* o el color de marca */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeOut 0.6s ease forwards;
  animation-delay: 1s; /* total ~3s */
}

.splash img {
  width: 180px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}

.splash p {
  font-size: 16px;
  letter-spacing: 1px;
  opacity: 0.7;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #563119;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}

.footer-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}
