.pafaq {
    max-width: 920px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

.pafaq__search-wrap {
    margin-bottom: 22px;
}

.pafaq__search {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 16px;
    line-height: 1.4;
}

.pafaq__search:focus {
    border-color: #ca366f;
    outline: 2px solid rgba(202, 54, 111, 0.18);
    outline-offset: 2px;
}

.pafaq__empty,
.pafaq--empty {
    padding: 18px;
    border: 1px solid #ececec;
    border-radius: 6px;
    background: #fafafa;
    color: #555;
    text-align: center;
}

.pafaq__group + .pafaq__group {
    margin-top: 30px;
}

.pafaq__group-title {
    margin: 0 0 12px;
    color: #222;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.pafaq__item {
    border-bottom: 1px solid #e9e9e9;
}

.pafaq__item:first-of-type {
    border-top: 1px solid #e9e9e9;
}

.pafaq__question {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.pafaq__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 58px;
    padding: 16px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #222;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.pafaq__toggle:focus-visible {
    outline: 2px solid #ca366f;
    outline-offset: 3px;
}

.pafaq__question-text {
    flex: 1;
}

.pafaq__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.pafaq__icon::before,
.pafaq__icon::after {
    position: absolute;
    top: 8px;
    left: 2px;
    width: 14px;
    height: 2px;
    background: #ca366f;
    content: "";
}

.pafaq__icon::after {
    transform: rotate(90deg);
    transition: transform 160ms ease;
}

.pafaq__item--open .pafaq__icon::after {
    transform: rotate(0deg);
}

.pafaq__answer {
    padding: 0 4px 18px;
    color: #444;
    font-size: 16px;
    line-height: 1.65;
}

.pafaq__answer > *:first-child {
    margin-top: 0;
}

.pafaq__answer > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .pafaq {
        padding: 18px 12px 32px;
    }

    .pafaq__group-title {
        font-size: 20px;
    }

    .pafaq__question {
        font-size: 16px;
    }

    .pafaq__toggle {
        min-height: 54px;
    }
}
