/* FAQ Page Styles */
.faq-section {
    /* padding: 80px 0; */
    padding-bottom: 50px;
    /* max-width: 1000px; */
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.faq-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-header h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Vertical line */
.faq-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
}

.faq-item.active {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(30, 42, 120, 0.08);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fcfcfc;
}

.faq-content-inner {
    padding: 0 30px 25px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-item.active .faq-content {
    max-height: 500px;
    /* Adjust as needed */
}

@media (max-width: 768px) {
    .faq-header {
        padding: 20px;
    }

    .faq-header h3 {
        font-size: 1.05rem;
    }
}

/* Responsive styles for Recommended Products grid in FAQ page */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr !important;
    }
}