/* =============================================
   ProductFaq — BEM prefix: pf-faq
   ============================================= */

.pf-faq {
    margin-top: 48px;
}

.pf-faq__title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    padding: 0 0 10px;
    letter-spacing: -0.01em;
    border-bottom: 1px solid #e8e8e8;
}

/* Lista que contém os itens */
.pf-faq__list {
    border-top: 1px solid #e8e8e8;
}

/* Item (<details>) */
.pf-faq__item {
    border-bottom: 1px solid #e8e8e8;
}

/* Pergunta (<summary>) */
.pf-faq__question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    font-size: 15px;
    font-weight: 400;
    color: #3a3a3a;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.pf-faq__question::-webkit-details-marker {
    display: none;
}

/* Chevron via border-trick — rotaciona ao abrir */
.pf-faq__question::after {
    content: '';
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-right: 1.5px solid #999;
    border-bottom: 1.5px solid #999;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease, border-color 0.2s ease;
}

.pf-faq__item[open] .pf-faq__question::after {
    transform: rotate(-135deg) translateY(-2px);
    border-color: #3a3a3a;
}

.pf-faq__question:hover {
    color: #000;
}

.pf-faq__question:hover::after {
    border-color: #555;
}

/* Resposta */
.pf-faq__answer {
    padding: 0 40px 22px 0;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.pf-faq__answer p {
    margin: 0 0 10px;
}

.pf-faq__answer p:last-child {
    margin-bottom: 0;
}

/* Skeleton loader */
.pf-faq__skeleton {
    height: 60px;
    border-bottom: 1px solid #e8e8e8;
    background: linear-gradient(90deg, #f5f5f5 25%, #ebebeb 50%, #f5f5f5 75%);
    background-size: 200% 100%;
    animation: pf-faq-shimmer 1.4s infinite;
}

@keyframes pf-faq-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mobile */
@media (max-width: 768px) {
    .pf-faq {
        margin-top: 28px;
    }

    .pf-faq__question {
        padding: 18px 0;
        font-size: 14px;
    }

    .pf-faq__answer {
        padding-right: 20px;
        font-size: 13px;
    }
}
