.aptechka__faq-wrapper {
    margin-bottom: 100px;
}

.aptechka__faq-wrapper h2 {
    text-align: center;
}

.aptechka__faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1020px;
    margin: 40px auto 0 auto;
}

.aptechka__faq-item {
    display: flex;
    flex-direction: column;
}

.aptechka__faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: #ffffff;
    border: 2px solid #1F3B71;
    border-radius: 150px;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.aptechka__faq-question span:first-child {
    color: #1F3B71;
    font-family: "GT Eesti Pro Display", sans-serif;
    font-size: 20px;
    line-height: 100%;
    font-style: normal;
    font-weight: 500;
}

.aptechka__faq-icon {
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
}

.aptechka__faq-icon::before,
.aptechka__faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: #1F3B71;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.aptechka__faq-icon::before {
    width: 16px;
    height: 3px;
    transform: translate(-50%, -50%) translateZ(0);
}

.aptechka__faq-icon::after {
    width: 3px;
    height: 16px;
    transform: translate(-50%, -50%) translateZ(0);
}

.aptechka__faq-item--open .aptechka__faq-icon::after {
    transform: translate(-50%, -50%) translateZ(0) rotate(90deg);
}

.aptechka__faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    position: relative;
    z-index: 1;
    margin-top: 0;
    transition: grid-template-rows 0.35s ease, margin-top 0.35s ease;
}

.aptechka__faq-item--open .aptechka__faq-answer {
    grid-template-rows: 1fr;
    margin-top: -32px;
}

.aptechka__faq-answer-inner {
    overflow: hidden;
    background: #E8F5D0;
    border-radius: 0 0 32px 32px;
    box-sizing: border-box;
    transition: padding 0.35s ease;
}

.aptechka__faq-item--open .aptechka__faq-answer-inner {
    padding: 55px 32px 40px 32px;
}

.aptechka__faq-answer-inner p {
    color: #1F3B71;
    font-family: "GT Eesti Pro Display", sans-serif;
    font-size: 18px;
    font-weight: 350;
    line-height: 100%;
}

.aptechka__faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.aptechka__faq-ingredients {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.aptechka__faq-ingredient-item img {
    max-width: 676px;
    width: 100%;
}

.aptechka__faq-ingredient-item span {
    color: #1F3B71;
    font-family: "GT Eesti Pro Display", sans-serif;
    font-size: 18px;
    font-weight: 350;
    line-height: 100%;
}

@media (max-width: 900px) {
    .aptechka__faq-title h2 {
        font-size: 28px;
    }

    .aptechka__faq-wrapper {
        margin-bottom: 60px;
    }

    .aptechka__faq-ingredient-item img {
        max-width: 430px;
    }

    .aptechka__faq-item--open .aptechka__faq-answer-inner {
        padding: 71px 32px 40px 32px;
    }

    .aptechka__faq-question {
        padding: 12px 24px;
    }

    .aptechka__faq-list {
        margin: 24px auto 0 auto;
    }
}

@media (max-width: 600px) {
    .aptechka__faq-question span:first-child {
        font-size: 18px;
    }

    .aptechka__faq-question span {
        max-width: 240px;
    }

    .aptechka__faq-item--open .aptechka__faq-answer-inner {
        padding: 55px 32px 40px 32px;
    }

    .aptechka__faq-ingredient-item img {
        max-width: 200px;
    }
}