/* ========================================
   AG FAQ – Estilo premium
   ======================================== */

.ag-faq-wrap {
  max-width: 900px;
  margin: 50px auto;
  padding: 10px;
}

.ag-faq-title {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1e293b;
}

.ag-faq-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  cursor: pointer;
  transition: .25s ease;
}

.ag-faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.ag-faq-item summary {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ag-faq-item summary::-webkit-details-marker {
  display: none;
}

.ag-faq-icon {
  display: inline-flex;
}

.ag-faq-answer {
  margin-top: 12px;
  font-size: 1rem;
  color: #444;
  line-height: 1.55;
  padding-left: 34px;
}

/* Responsive */
@media(max-width: 480px) {
  .ag-faq-item {
    padding: 16px;
  }
}
/* Asegura comportamiento correcto del details */
.ag-faq-item {
  display: block;
}

.ag-faq-item summary {
  display: flex;
  cursor: pointer;
  list-style: none;
}

/* Oculta marcador nativo en todos los navegadores */
.ag-faq-item summary::-webkit-details-marker {
  display: none;
}
.ag-faq-item summary::marker {
  display: none;
}

/* Asegura que el contenido se muestre bien */
.ag-faq-item[open] .ag-faq-answer {
  display: block;
}

/* Previene conflictos con temas que aplican overflow */
.ag-faq-item {
  overflow: hidden;
}
