    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: Arial, sans-serif; background: #f3f4f6; }

    header {
      background-color: #ffffff;
      color: #000000;
      padding: 15px 30px;
    }

    .has-submenu {
      position: relative;
    }

    .has-submenu > a::after {
      content: " ▼";
      font-size: 0.8em;
    }

    .has-submenu ul {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #ffffff;
      min-width: 180px;
      z-index: 1000;
    }

    .has-submenu:hover ul {
      display: block;
    }

    .has-submenu ul li {
      width: 100%;
      gap: 10px;
    }

    .has-submenu ul li {
    margin-bottom: 4px; 
}

    header h1 {
      margin: 0;
      font-size: 24px;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    header,
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    nav a {
      color: #000000;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #ffce00;
    }

    nav ul, nav li {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .cart-icon {
      position: relative;
      cursor: pointer;
      font-size: 20px;
    }

    .cart-count {
      position: absolute;
      top: -8px;
      right: -10px;
      background-color: red;
      color: white;
      font-size: 12px;
      padding: 2px 6px;
      border-radius: 50%;
    }

    .instagram-logo img {
      width: 24px;
      height: 24px;
      transition: transform 0.2s ease;
    }

    .instagram-logo img:hover {
      transform: scale(1.2);
    }

    @media screen and (max-width: 600px) {
      header, nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
      }
    }

    .hero { 
        background: #000000; 
        color: white; 
        text-align: center; 
        padding: 4rem 1rem; 
    }

    .hero h2 { 
        font-size: 2rem; 
        margin-bottom: 1rem; 
    }
    .hero p { margin-bottom: 1.5rem; }
    .hero button { background: rgb(255, 255, 255); color: #000000; padding: 0.5rem 1rem; border: none; border-radius: 9999px; cursor: pointer; }

    .grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            padding: 2rem;
            align-items: stretch;
          }
    .card {
          background: white;
          border-radius: 10px;
          padding: 1rem;
          box-shadow: 0 2px 4px rgba(0,0,0,0.1);
          text-align: center;

          display: flex;
          flex-direction: column;
          height: 100%;
        }
    .card img {
          width: 100%;
          height: 260px;          /* 🔑 tamaño fijo */
          object-fit: contain;   /* cambia a cover si quieres recorte */
          border-radius: 6px;
        }
    .card h4,
    .card p,
    .card select {
          margin-top: 0.5rem;
        }
    .card button {
          margin-top: auto;
          background: #2563eb;
          color: white;
          border: none;
          padding: 0.5rem;
          width: 100%;
          border-radius: 6px;
          cursor: pointer;
        }
    .cart-icon { position: relative; cursor: pointer; }
    .cart-count { background: red; color: white; font-size: 12px; border-radius: 50%; padding: 2px 6px; position: absolute; top: -8px; right: -8px; }

    .cart-panel {
      position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
      background: white; box-shadow: -2px 0 8px rgba(0,0,0,0.2); transition: right 0.3s;
      padding: 1rem; overflow-y: auto; z-index: 1000;
    }
    .cart-panel.open { right: 0; }
    .cart-item { display: flex; justify-content: space-between; margin-bottom: 1rem; }
    .cart-item p { margin: 0; }
    .cart-panel button.remove { background: none; border: none; color: red; cursor: pointer; }
    .checkout { background: #16a34a; color: white; border: none; padding: 0.5rem; width: 100%; border-radius: 6px; cursor: pointer; margin-top: 1rem; }

    footer { text-align: center; background: #1f2937; color: white; padding: 1rem; margin-top: 2rem; }

  .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center; /* Centra contenido en línea como la imagen */
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80vw; /* máximo 80% del ancho de la ventana */
  max-height: 80vh; /* máximo 80% del alto de la ventana */
  width: auto;
  height: auto;
  object-fit: contain; /* mantiene la proporción */
  border-radius: 8px;
}


.modal-text-content {
  background-color: white;
  color: black;
  max-width: 500px;
  margin: auto;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.5;
}

.close {
  position: absolute;
  top: 30px; right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

#modalCamiseta {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2147483647;
  justify-content: center;
  align-items: center;
}

#modalCamiseta img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

#modalCamiseta .cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 32px;
  cursor: pointer;
}
