/**
 * Styles FAQ front-office - Module dimjsonproducts
 */
.faq-container {
    max-width: 800px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.faq-question {
    padding: 15px;
    cursor: pointer;
    background-color: #f7f7f7;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: background-color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #e7e7e7;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 15px;
    display: none;
    border: 1px solid #ddd;
    border-top: none;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
    animation: fadeIn 0.3s ease;
}

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