/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* NAV */
nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 25px 0;
  flex-wrap: wrap;
}

/* BOTONES */
.boton {
  background: none;
  border: none;
  padding: 10px 15px;
}

/* LINKS */
.boton a {
  text-decoration: none;
  color: black;
  font-size: 20px;
  font-weight: bold;
  transition: color 0.3s, border-bottom 0.3s;
}

/* EFECTO HOVER (PC) */
.boton a:hover {
  border-bottom: 2px solid black;
}


/* BODY */
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background-color: white;
  padding-bottom: 70px;
}

/* CONTENEDOR */
.contenedor {
  width: 80%;
  display: flex;
  flex-direction: column;
}

/* HEADER */
header {
  width: 100%;
  padding: 20px 0;
  background-color: black;
  color: white;
  text-align: center;
}

/* GRID DE PRODUCTOS */
.productosCamisetasSelecciones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 40px 0 100px 0; /* espacio para el footer */
}

/* ARTÍCULO */
.articuloCamisetaSeleccion {
  background: #f8f8f8;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* IMÁGENES */
.camisetasSelecciones {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* FOOTER */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 16px;
  z-index: 1000;
}


/* ---------- RESPONSIVE ---------- */

/* TABLET */
@media (max-width: 900px) {
    .boton a {
    font-size: 18px;
  }

  .contenedor {
    width: 90%;
  }
}

/* MÓVIL */
@media (max-width: 600px) {

  nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .boton a {
    font-size: 22px;
  }

  .contenedor {
    width: 95%;
  }

  .productosCamisetasSelecciones {
    grid-template-columns: 1fr;
    margin-bottom: 120px; /* espacio para el footer fijo */
  }

  body {
    flex-direction: column;
    align-items: center;
    padding-bottom: 70px; /* espacio footer */
  }

  footer {
    width: 100%;
  }
}


