/* WC Content Kit — frontend styling for injected term/product content (v0.16.0) */

/* FAQ accordion (S7 trả <details class="wcck-faq-item"><summary>Q</summary><p>A</p></details>) */
.wcck-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin: 12px 0;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .2s ease;
}
.wcck-faq-item[open] {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    border-color: #d1d5db;
}
.wcck-faq-item > summary {
    cursor: pointer;
    padding: 16px 48px 16px 18px;
    font-weight: 600;
    font-size: 1.02em;
    line-height: 1.5;
    list-style: none;
    position: relative;
    user-select: none;
    color: #1f2937;
}
.wcck-faq-item > summary::-webkit-details-marker { display: none; }
.wcck-faq-item > summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    font-weight: 400;
    line-height: 1;
    color: #e2562a;
    transition: transform .2s ease;
}
.wcck-faq-item[open] > summary::after { content: "\2212"; } /* − */
.wcck-faq-item > summary:hover { background: #fafafa; }
.wcck-faq-item > summary strong { color: inherit; }
.wcck-faq-item > *:not(summary) {
    padding: 0 18px 16px;
    margin: 0;
    color: #374151;
    line-height: 1.7;
}
.wcck-faq-item > summary + * { padding-top: 4px; }
