:root {
  --color1: #1d1d1b;
  --color2: #4e4e4e;
  --color3: #d1ccca;
  --color4: #fbdcd9;
  --color5: #ac988f;
  --color6: #e8dacf;
  --color7: #ffffff;

  --color8: #f6f6b3;
  --color9: #b08f43;

  --color10: #f1f1f3;
  --color11: #b4b6b9;

  --gradient-start: #e1ba70;
  --gradient-mid: #aa7648;
  --gradient-end: #a57c51;

  --hover-gradient-start: #f7d488;
  --hover-gradient-mid: #e1b35d;
  --hover-gradient-end: #d19c4b;
}

body {
  background: var(--color7);
  font-family: "Kalnia", serif;
}

/* Contenedor Principal */
#contenedorP {
  padding-top: 62px;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1.2rem;
}

/* InicioP */

.detalle-producto {
  font-family: "Inter", sans-serif;
  display: flex;
  margin-top: 62px;
  gap: 3rem;
  padding-inline: 2rem;
  width: 100%;
  max-width: 80vw;
}

.columna-imagen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-principal {
  width: 100%;
  max-width: 450px;
}

.miniaturas {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.miniatura {
  width: 60px;
  height: 65px;
  cursor: pointer;
  border: 2px solid transparent;
}

.miniatura.activa {
  border-color: black;
}

.nota-altura {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #888;
}

.columna-info {
  flex: 1;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  justify-content: flex-start;
}

.titulo-precio {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nombre-producto {
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.precio-producto {
  font-size: 1rem;
  color: #333;
  letter-spacing: 1.5px;
}

.titulos-tallas {
  display: flex;
  justify-content: space-between;
}

.opciones-talla button {
  margin-right: 0.5rem;
  padding: 0.5rem 2rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: white;
  cursor: pointer;
}

.guia-medidas {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #888;
  text-decoration: underline;
}

.cantidad {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}

.cantidad input {
  width: 40px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
}

.menos,
.mas {
  background: none;
  border: none;
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  color: inherit;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

/* Quita bordes laterales individualmente */
.menos {
  border-right: 0px;
}

.mas {
  border-left: 0px;
}

.btn-carrito {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 1.1rem;
  border: none;
  letter-spacing: 2px;
}

.especificaciones h3 {
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.especificaciones p {
  font-size: 0.9rem;
  color: #444;
}

@media (max-width: 768px) {
  .detalle-producto {
    flex-direction: column;
    padding: 1rem;
  }

  .img-principal {
    max-width: 100%;
  }

  .columna-imagen,
  .columna-info {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .titulo-precio {
    flex-direction: column;
    gap: 0.5rem;
  }

  .opciones-talla button {
    margin-bottom: 0.5rem;
  }

  .cantidad {
    justify-content: center;
  }

  .btn-carrito {
    width: 100%;
  }

  .miniaturas {
    justify-content: center;
    flex-wrap: wrap;
  }
}
