/**
 * 2007-2026 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 *
 * @author    Ecom Experts <ecomyseo@gmail.com>
 * @copyright 2026 Ecom Experts
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

/* Ecom Faqs By IA - Premium Accordion Styles */
.ecom-faqs-container {
    margin: 2rem 0;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.ecom-faqs-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}

.ecom-faqs-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    border-radius: 3px;
}

.ecom-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ecom-faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ecom-faq-item:hover {
    border-color: #007bff;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.1);
}

.ecom-faq-question {
    width: 100%;
    padding: 1.25rem;
    background: #f9f9f9;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    transition: background 0.3s ease;
    text-align: left;
}

.ecom-faq-question:hover {
    background: #f0f7ff;
}

.ecom-faq-question[aria-expanded="true"] {
    background: #ffffff;
    color: #007bff;
}

.ecom-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #ffffff;
}

.ecom-faq-answer-content {
    padding: 1.25rem;
    color: #666;
    line-height: 1.6;
    border-top: 1px solid #f0f0f0;
}

.ecom-faq-question[aria-expanded="true"]+.ecom-faq-answer {
    max-height: 1000px;
}

/* Iconos universales sin depender de fuentes externas */
.faq-icon {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 300;
}

.ecom-faq-question .minus {
    display: none;
}

.ecom-faq-question[aria-expanded="true"] .plus {
    display: none;
}

.ecom-faq-question[aria-expanded="true"] .minus {
    display: inline-block;
}

/* Estilos específicos para cuando es una pestaña */
.tab-pane.ecom-faqs-container {
    padding: 1.5rem;
    border: none;
    box-shadow: none;
    background: transparent;
    margin: 0;
}