/* Estilos para detalles de productos (layout principal) */
.producto-detalle-contenedor {
  max-width: 80rem;
  margin: 1rem 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.producto-detalle-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.producto-detalle-titulo {
  font-size: 2.2rem;
  font-weight: 800;
  color: #111827;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.producto-detalle-titulo::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--color-primario, #0056b3);
  border-radius: 2px;
}

.producto-detalle-descripcion {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.producto-detalle-descripcion p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #111827;
  margin: 0;
  font-weight: 500;
}

.producto-detalle-descripcion em {
  font-style: italic;
  font-weight: 700;
}

.producto-detalle-imagen-contenedor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.producto-detalle-imagen-borde {
  width: 100%;
  border: 2px solid #111827;
  padding: 1rem;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.producto-detalle-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.producto-detalle-leyenda {
  font-size: 0.9rem;
  color: #111827;
  text-align: center;
  font-weight: 700;
  width: 100%;
}

/* Responsividad */
@media (max-width: 992px) {
  .producto-detalle-contenedor {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .producto-detalle-imagen-contenedor {
    order: -1;
  }
}
