/* Premium FAQ Card Design - Restored Stable Version */
.product-faq-premium-wrapper {
    max-width: 100%;
    margin: 10px 0 30px;
    padding: 0;
}

#tab-product_faq_tab.panel {
    padding-top: 15px !important;
    /* Standard padding */
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-card-item {
    border: 1px solid #eaecf0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card-item:hover {
    border-color: #d0d5dd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-card-item.active {
    border-color: #b2ccff;
    background-color: #f5f8ff;
    box-shadow: 0 4px 20px rgba(45, 107, 255, 0.08);
}

.faq-card-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.question-number {
    width: 32px;
    height: 32px;
    background-color: #f2f4f7;
    color: #667085;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-card-item.active .question-number {
    background-color: #2d6bff;
    color: #fff;
}

.question-text {
    font-weight: 700;
    font-size: 1.15rem;
    color: #1d2939;
    transition: color 0.3s ease;
}

.faq-card-item.active .question-text {
    color: #101828;
}

.faq-chevron {
    color: #98a2b3;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
}

.faq-card-item.active .faq-chevron {
    transform: rotate(180deg);
    color: #2d6bff;
}

.faq-card-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card-item.active .faq-card-answer {
    max-height: 1000px;
}

.faq-card-answer-inner {
    padding: 0 28px 28px 76px;
    position: relative;
    display: flex;
    gap: 20px;
}

.answer-blue-line {
    width: 2px;
    background-color: #2d6bff;
    opacity: 0.2;
    border-radius: 4px;
    flex-shrink: 0;
}

.answer-text {
    line-height: 1.7;
    color: #475467;
    font-size: 1.05rem;
    animation: faqFadeIn 0.5s ease forwards;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Section */
.faq-footer-contact {
    margin-top: 40px;
    background: #fdfdfd;
    border: 1px solid #f2f4f7;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 0;
}

.footer-contact-subtitle {
    color: #667085;
    font-size: 1rem;
    margin-bottom: 24px;
}

.faq-contact-button {
    display: inline-flex;
    align-items: center;
    background-color: #2d6bff;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(45, 107, 255, 0.25);
}

.faq-contact-button:hover {
    background-color: #1e56e0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 107, 255, 0.35);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .faq-card-question {
        padding: 20px;
    }

    .question-left {
        gap: 12px;
    }

    .question-text {
        font-size: 1rem;
    }

    .faq-card-answer-inner {
        padding: 0 20px 20px 52px;
    }
}