.faq-schema-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.faq-schema-title {
    margin: 0 0 20px 0;
    padding: 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.faq-schema-accordion {
    margin: 0;
}

.faq-schema-accordion .faq-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #fff;
    overflow: hidden;
}

.faq-schema-accordion .faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 15px 20px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: #007cba;
    color: #fff;
}

.faq-toggle {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
    min-width: 20px;
    text-align: center;
}

.faq-question.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    background: #fff;
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-answer.active {
    display: block;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

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

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

/* Responsive design */
@media (max-width: 768px) {
    .faq-schema-section {
        margin: 20px 0;
        padding: 15px;
    }

    .faq-schema-title {
        font-size: 20px;
    }

    .faq-question {
        padding: 12px 15px;
        font-size: 14px;
    }

    .faq-answer.active {
        padding: 15px;
    }
}

/* WooCommerce integration styles */
.single-product .faq-schema-section {
    margin-top: 40px;
    clear: both;
}

.woocommerce-tabs .faq-schema-section {
    margin-top: 0;
}

/* Category page styles */
.tax-product_cat .faq-schema-section {
    margin-top: 30px;
}

/* Blog and page styles */
.single-post .faq-schema-section,
.page .faq-schema-section {
    margin-top: 40px;
}