/* ── WC Product FAQ ── */
.wc-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: inherit;
    max-width: 780px;
    margin: 32px auto;
}

/* ── Ítem ── */
.wc-faq-item {
    border: 1.5px solid #2e3154;
    border-radius: 10px;
    overflow: hidden;
    background: #1c1f3a;
    transition: border-color 0.2s;
}

.wc-faq-item.wc-faq-open {
    border-color: #3b5bfc;
}

/* ── Botón pregunta ── */
.wc-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #e8eaf6;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    transition: background 0.2s, color 0.2s;
}

.wc-faq-item.wc-faq-open .wc-faq-question {
    background: #3b5bfc;
    color: #ffffff;
}

.wc-faq-question:hover {
    background: #252849;
}

.wc-faq-item.wc-faq-open .wc-faq-question:hover {
    background: #3251e0;
}

/* ── Icono chevron ── */
.wc-faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
    transform: rotate(180deg);
}

.wc-faq-item:not(.wc-faq-open) .wc-faq-icon {
    transform: rotate(0deg);
}

/* ── Respuesta ── */
.wc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #ffffff;
}

.wc-faq-item.wc-faq-open .wc-faq-answer {
    max-height: 600px;
}

.wc-faq-answer p {
    margin: 0;
    padding: 20px 24px;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}
