/* =========================================================
   PDP — DESCRIPCIÓN PRODUCTO
   Zona post-compra (lectura / validación)
   Scope: .lqsp-desc
   ========================================================= */

.lqsp-desc {
  margin-top: 24px;
  padding-bottom: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .lqsp-desc {
    grid-column: 1 / span 2; /* Rompe la cuadrícula y se alinea al ancho total de la página */
    margin-top: 48px !important;
  }
}

/* =========================================================
   1) WRAPPER / CARD
   Contención visual de la descripción
   ========================================================= */

.lqsp-desc-wrap {
  background: var(--loq-surface, #ffffff);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(17, 19, 22, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
  .lqsp-desc-wrap {
    padding: 20px;
    border-radius: 16px;
  }
}

/* =========================================================
   2) HEADER — TÍTULO PRINCIPAL
   ========================================================= */

.lqsp-desc-head {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(17, 19, 22, 0.05);
  padding-bottom: 16px;
}

.lqsp-desc-title {
  font-size: 22px !important;
  font-weight: 700;
  color: var(--loq-text, #1d1d1f);
  margin: 0;
  letter-spacing: -0.02em;
}

/* =========================================================
   3) CONTENIDO GENERAL
   Texto base, listas, ritmo vertical
   ========================================================= */

.lqsp-desc-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  line-height: 1.65;
  font-size: 14.5px;
  color: var(--loq-text, #1d1d1f);
}

.lqsp-desc-content p {
  color: var(--loq-text, #1d1d1f);
  margin: 0;
}

.lqsp-desc-content ul {
  padding-left: 24px;
  list-style-type: disc;
  margin: 0;
}

.lqsp-desc-content li {
  margin-bottom: 8px;
  color: var(--loq-muted, #6e6e73);
}

.lqsp-desc-content li:last-child {
  margin-bottom: 0;
}

/* Subtítulos internos */
.lqsp-desc-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--loq-text, #1d1d1f);
  margin: 16px 0 4px 0;
  letter-spacing: -0.01em;
}

/* =========================================================
   4) FAQ — ACORDEONES PREMIUM (details / summary)
   ========================================================= */

.lqsp-desc-content details {
  background: #fcfcfd;
  border: 1px solid rgba(17, 19, 22, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.lqsp-desc-content details:hover {
  border-color: rgba(90, 56, 229, 0.15);
  background: #fafaff;
}

.lqsp-desc-content details[open] {
  background: #ffffff;
  border-color: rgba(90, 56, 229, 0.2);
  box-shadow: 0 4px 16px rgba(90, 56, 229, 0.04);
  margin-bottom: 12px;
}

/* Separación vertical entre FAQs */
.lqsp-desc-content details + details {
  margin-top: 12px;
}

/* Reset nativo */
.lqsp-desc-content summary {
  list-style: none;
  outline: none;
}

.lqsp-desc-content summary::-webkit-details-marker {
  display: none;
}

/* Header acordeón */
.lqsp-desc-content summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--loq-text, #1d1d1f);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background 0.2s ease;
}

/* Icono moderno (Chevron) */
.lqsp-desc-content summary::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--loq-muted, #6e6e73);
  border-bottom: 2px solid var(--loq-muted, #6e6e73);
  transform: rotate(-45deg);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-right: 4px;
  opacity: 0.8;
}

/* Estado abierto chevron */
.lqsp-desc-content details[open] summary::after {
  transform: rotate(45deg);
  opacity: 1;
  border-color: var(--loq-primary, #5a38e5);
}

/* Contenido interno desplegado */
.lqsp-desc-content details > *:not(summary) {
  padding: 4px 20px 20px;
  font-size: 14px;
  color: var(--loq-muted, #6e6e73);
  line-height: 1.6;
  animation: lqContentFade 0.3s ease forwards;
}

@keyframes lqContentFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
