/**
* 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
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    David Escudero Digital Studio <contacto@davidescudero.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/

.descfaqs {
    margin: 2rem 0;
}

.descfaqs__title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align:center;
    color:#C586E5;
}

.descfaqs__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.descfaqs__item {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.descfaqs__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 1rem 1.25rem;
    border: 0;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.descfaqs__question:hover,
.descfaqs__question:focus {
    background: #f7f7f7;
}

.descfaqs__question-text {
    flex: 1 1 auto;
    padding-right: 1rem;
}

.descfaqs__question-text a {
    text-decoration: underline;
    color: inherit;
}

.descfaqs__question-text a:hover {
    text-decoration: none;
}

.descfaqs__icon {
    flex: 0 0 auto;
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.descfaqs__question[aria-expanded="true"] .descfaqs__icon {
    transform: rotate(-135deg);
}

.descfaqs__answer-inner {
    padding: 10px 1.25rem 1.25rem;
    line-height: 1.6;
}
.descfaqs__answer-inner p{
    font-size:16px;
}
/* La colapsabilidad solo se activa cuando hay JavaScript disponible: */
/* sin JS, todas las respuestas quedan visibles (mejor accesibilidad y SEO). */
.descfaqs--js .descfaqs__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.descfaqs--js .descfaqs__question[aria-expanded="true"] + .descfaqs__answer {
    max-height: 2000px;
}
