/* =========================================================
   FAQ Netbuy Style – Frontend
   All selectors are prefixed with .faqnetbuy- to avoid
   conflicts with any other plugin or theme styles.
   ========================================================= */

.faqnetbuy-wrapper {
    background-color: #1a1a1a;
    padding: 48px 32px;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    direction: rtl;
    max-width: 860px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ── Title ── */
.faqnetbuy-title {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 28px 0;
    text-align: right;
    letter-spacing: -0.3px;
}

/* ── List ── */
.faqnetbuy-list {
    border-top: 1px solid #3a3a3a;
}

.faqnetbuy-item {
    border-bottom: 1px solid #3a3a3a;
}

.faqnetbuy-hidden {
    display: none;
}

/* ── Question row ── */
.faqnetbuy-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    outline: none;
    gap: 16px;
    -webkit-user-select: none;
    user-select: none;
}

.faqnetbuy-question:hover,
.faqnetbuy-question:focus-visible {
    background-color: rgba(255, 255, 255, 0.04);
}

.faqnetbuy-question-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    flex: 1;
    text-align: right;
    line-height: 1.45;
}

/* ── +/× icon ── */
.faqnetbuy-icon {
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqnetbuy-item.active .faqnetbuy-icon {
    transform: rotate(45deg);
}

/* ── Answer panel ── */
.faqnetbuy-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqnetbuy-answer-inner {
    padding: 4px 4px 28px 4px;
    color: #b3b3b3;
    font-size: 17px;
    line-height: 1.75;
    text-align: right;
}

.faqnetbuy-answer-inner p {
    margin: 0 0 12px 0;
}

.faqnetbuy-answer-inner p:last-child {
    margin-bottom: 0;
}

/* ── Load More button ── */
.faqnetbuy-load-more {
    text-align: center;
    margin-top: 24px;
}

.faqnetbuy-load-more-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    padding: 12px 48px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 3px;
    letter-spacing: 0.4px;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-family: inherit;
}

.faqnetbuy-load-more-btn:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .faqnetbuy-wrapper {
        padding: 32px 20px;
    }

    .faqnetbuy-title {
        font-size: 22px;
    }

    .faqnetbuy-question-text {
        font-size: 16px;
    }

    .faqnetbuy-question {
        padding: 16px 0;
    }

    .faqnetbuy-answer-inner {
        font-size: 15px;
        padding-bottom: 20px;
    }

    .faqnetbuy-load-more-btn {
        padding: 10px 36px;
        font-size: 15px;
    }
}
