/* Estilos para Desktop */
.main-section1 {
    width: 100%;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    margin-top: 100px;
}

.inner-section1 {
    width: 1200px;
    margin: 0 auto;
}

.faq-title {
    color: #181A20;
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 600;
}

p.subtitle {
    color: #181A20;
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 5px;
}

.tab {
    width: 232px;
    height: 38px;
    padding: 10px 20px;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
    background: none;
    border: none;
    outline: none;
    transition: color 0.3s;
    border-bottom: 1px solid #333333;
}

.tab.active {
    color: #4caf50;
    border-bottom: 1px solid #46AD67;
    font-weight: 500;
}

.faq-list {
    list-style: none;
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    display: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.faq-question:hover {
    color: #4caf50;
}

.faq-answer {
    display: none;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    margin-top: 10px;
    padding-left: 20px;
}

.expand {
    font-size: 17px;
    width: 16px;
    color: #000;
}

.faq-item.active .faq-question {
    color: #4caf50;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item[data-category="buying"],
.faq-item[data-category="legal"],
.faq-item[data-category="costs"],
.faq-item[data-category="usage"],
.faq-item[data-category="safety"] {
    display: none;
}


/* Estilos para Móvil (Media Query) */
@media (max-width: 480px) {

   .main-section1 .main-section{ /* This seems like a typo in the original CSS, but kept for accuracy */
    width: 100%;
    }

    .main-section1 .image-section1 { /* This seems like a typo in the original CSS, but kept for accuracy */
        width: 425.6px;
    }

    .inner-section1 {
        width: 100%;
        padding: 0 15px;
        margin: 0%;
    }

    .inner-section1 h1 {
        font-size: 22px;
        text-align: start;
    }

    p.subtitle {
        font-size: 12px;
        line-height: 20px;
        text-align: start;
    }

    .tabs {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-bottom: 15px;
    }

    .tab {
        flex: 1 1 calc(50% - 10px);
        font-size: 14px;
        height: auto;
        padding: 8px;
        border-bottom: 1px solid #ccc;
        text-align: center;
    }

    .faq-question {
        font-size: 14px;
        flex-wrap: wrap;
        line-height: 20px;
    }

    .faq-list {
        width: 100%;
    }

    .faq-question span.expand {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 13px;
        padding-left: 10px;
        line-height: 20px;
    }

    .faq-item {
        padding: 15px 0;
    }
}