.lookbook-container {
  width: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 20px;
  margin-top: 20px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 80px);
  grid-template-rows: repeat(4, 90px);
  gap: 1px;
  margin: 0 auto;
}

.grid-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border 0.3s;
}

.grid-container img:hover {
  border-color: var(--c-yellow);
}

.lookbook-detalle {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lookbook-img-div {
  width: 480px;
  height: 350px;
  overflow: hidden;
}

.lookbook-detalle img {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  background-color: var(--c-blk);
}

.lookbook-content h4 {
  font-family: "Typewriter", sans-serif;
  text-align: center;
  padding: 10px;
}

.lookbook-content p {
  font-family: "Typewriter", sans-serif;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.lookbook-btn-div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*--------- MEDIA QUERIES RESPONSIVE ---------*/

@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(4, 70px);
    grid-template-rows: repeat(4, 80px);
  }

  .lookbook-img-div {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .lookbook-detalle img {
    max-height: 400px;
  }
}

@media (max-width: 800px) {
  .lookbook-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    /* Eliminar grid */
    grid-template-columns: unset;
    grid-template-rows: unset;
  }

  .grid-container {
    grid-template-columns: repeat(4, 60px);
    grid-template-rows: repeat(4, 75px);
  }

  .lookbook-img-div {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .lookbook-detalle {
    max-width: 100%;
  }

  .lookbook-detalle img {
    width: 100%;
    max-height: 300px;
  }
}

@media (max-width: 500px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(auto-fill, minmax(70px, 1fr));
    overflow: hidden;
    gap: 4px;
  }

  .lookbook-content h4 {
    font-size: 18px;
  }

  .lookbook-content p {
    font-size: 13px;
  }
}
