/**
 * Страница «Вопрос-Ответ» `/faq`
 */

.shopFaqPage {
    padding: 32px 0 80px;
    background: #fff;
}

.shopFaqPageHead {
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    z-index: auto;
}

.shopFaqPageHead .breadcrumbs {
    display: block;
    margin-bottom: 40px;
}

.shopFaqPageHead .breadcrumbs span[aria-current="page"] {
    color: var(--orange, #f39200);
}

.shopFaqPage__title {
    margin: 0 0 40px;
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #282a31;
}

.shopFaqSections {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 100%;
}

.shopFaqSection {
    width: 100%;
    max-width: 100%;
}

.shopFaqSection__title {
    margin: 0 0 20px;
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #282a31;
}

.shopFaqSection__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 100%;
}

.shopFaqItem {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 1px solid #dbe3e8;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

/* main.css: button { width:200px } — у summary сбрасываем ширину и фон */
.shopFaqPage .shopFaqItem__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 16px 20px;
    border: 0;
    background: transparent;
    list-style: none;
    cursor: pointer;
    box-sizing: border-box;
    text-align: left;
    font: inherit;
    color: inherit;
}

.shopFaqPage .shopFaqItem__summary:hover,
.shopFaqPage .shopFaqItem__summary:focus,
.shopFaqPage .shopFaqItem__summary:focus-visible {
    background: transparent;
    color: inherit;
}

.shopFaqItem__summary::-webkit-details-marker {
    display: none;
}

.shopFaqItem__question {
    flex: 1 1 auto;
    min-width: 0;
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--orange, #f39200);
}

.shopFaqItem__toggle {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--orange, #f39200);
    border-bottom: 2px solid var(--orange, #f39200);
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.2s ease;
}

.shopFaqItem[open] .shopFaqItem__toggle {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.shopFaqItem__answer {
    padding: 0 20px 20px;
}

.shopFaqItem__answerBody {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #282a31;
}

.shopFaqItem__paragraph {
    margin: 0 0 12px;
}

.shopFaqItem__paragraph:last-child {
    margin-bottom: 0;
}

.shopFaqItem__list {
    margin: 0 0 12px;
    padding-left: 1.25em;
    list-style: disc;
}

.shopFaqItem__list:last-child {
    margin-bottom: 0;
}

.shopFaqItem__list li {
    display: list-item;
    margin: 0 0 6px;
}

.shopFaqItem__list li:last-child {
    margin-bottom: 0;
}

.shopFaqItem__mailto {
    color: var(--orange, #f39200);
    font-weight: 600;
    text-decoration: none;
}

.shopFaqItem__mailto:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .shopFaqPageHead .breadcrumbs {
        margin-bottom: 24px;
    }

    .shopFaqPage__title {
        margin-bottom: 28px;
        font-size: 24px;
        line-height: 28px;
    }

    .shopFaqSections {
        gap: 32px;
    }

    .shopFaqItem__summary {
        padding: 14px 16px;
    }

    .shopFaqItem__answer {
        padding: 0 16px 16px;
    }

    .shopFaqItem__question,
    .shopFaqItem__answerBody {
        font-size: 16px;
    }
}
