body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background: #f4f4f4;
  color: #222;
}

.header {
  background: linear-gradient(90deg, #a60000, #111);
  color: white;
  text-align: center;
  padding: 10px;
}

.logo img {
  width: 100px;
}

.hero {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.product-section {
  padding: 40px 20px;
  text-align: center;
}

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

.card {
  background: linear-gradient(180deg, #fdfdfd, #dcdcdc);
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
}

.price {
  display: block;
  color: #a60000;
  font-weight: bold;
  margin: 10px 0;
}

.whatsapp-btn {
  display: inline-block;
  background: #25d366;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.whatsapp-btn:hover {
  background: #1ebc5b;
}

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 30px;
}

/* ---------- Modal ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal .modal-content {
  max-width: 90%;
  max-height: 75vh;
  border-radius: 10px;
  margin-bottom: 15px;
  animation: zoom 0.25s ease;
}

@keyframes zoom {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.modal .close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: transparent;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
}

.modal .close:hover {
  color: #ff6666;
}

#imageModal .whatsapp-btn {
  margin-top: 10px;
  background: #25d366;
  padding: 10px 20px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}
/* ---------- Fin Modal ---------- */
