

/* Start:/bitrix/templates/furniture_blue/components/bitrix/news.list/faq_tabs_accordion/style.css?17691487602202*/
.faq {
    max-width: 100%;
}

.faq-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #a4a4a4;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.faq-tab {
    padding: 10px 18px;
    border: 1px solid #a4a4a4;
    border-bottom: none;
    background: #f5f7f9;
    color: #328905;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.faq-tab.active {
    background: #328905;
    color: #fff;
}

.faq-contents {

}

.faq-content {
    display: none;
}

.faq-content.active {
    display: block;
}

.faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 18px;
    cursor: pointer;
    background: #f8f9fa;
    font-weight: 500;
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #328905;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::before {
    width: 16px;
    height: 2px;
    top: 7px;
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 16px;
    top: 0;
    left: 7px;
}

.faq-item.open .faq-icon::after {
    opacity: 0;
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 15px;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

/* Мобильная прокрутка для табов */
@media (max-width: 768px) {
    .faq-tabs {
        flex-wrap: nowrap; /* одна строка */
        overflow-x: auto;  /* горизонтальный скролл */
        -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
        padding-bottom: 5px;
    }

    .faq-tab {
        flex: 0 0 auto; /* табы не сжимаются */
        min-width: 120px;
        text-align: center;
    }
}

/* End */
/* /bitrix/templates/furniture_blue/components/bitrix/news.list/faq_tabs_accordion/style.css?17691487602202 */
