.ceezoo-faq {
    margin: 40px 0;
    padding: 24px;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-sizing: border-box;
}

.ceezoo-faq * {
    box-sizing: border-box;
}

.ceezoo-faq__title {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.ceezoo-faq__item {
    border-top: 1px solid #e5e7eb;
}

.ceezoo-faq__item:last-child {
    border-bottom: 1px solid #e5e7eb;
}

.ceezoo-faq__question {
    margin: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    white-space: normal !important;
}

.ceezoo-faq .ceezoo-faq__button {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: #111827;
    white-space: normal !important;
    overflow: hidden;
}

.ceezoo-faq__button:focus {
    outline: 2px solid #cbd5e1;
    outline-offset: 2px;
}

.ceezoo-faq .ceezoo-faq__question-text {
    min-width: 0;
    width: auto;
    max-width: none;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    display: block;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    overflow: hidden;
}

.ceezoo-faq__icon {
    width: 24px;
    margin-top: 1px;
    text-align: center;
    font-size: 24px;
    line-height: 1;
    color: #6b7280;
}

.ceezoo-faq__icon:before {
    content: "+";
}

.ceezoo-faq__answer {
    display: none;
    padding: 0 40px 18px 0;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    overflow-wrap: anywhere;
}

.ceezoo-faq__item.is-open .ceezoo-faq__answer {
    display: block;
}

.ceezoo-faq__item.is-open .ceezoo-faq__button,
.ceezoo-faq__item.is-open .ceezoo-faq__button:hover,
.ceezoo-faq__item.is-open .ceezoo-faq__button:focus {
    color: #fff;
}

.ceezoo-faq__item.is-open .ceezoo-faq__question-text,
.ceezoo-faq__item.is-open .ceezoo-faq__icon {
    color: #fff;
}

.ceezoo-faq__item.is-open .ceezoo-faq__icon:before {
    content: "-";
}

@media (max-width: 768px) {
    .ceezoo-faq {
        margin: 24px 0;
        padding: 16px;
        border-radius: 8px;
    }

    .ceezoo-faq__title {
        margin-bottom: 12px;
        font-size: 22px;
        line-height: 1.25;
    }

    .ceezoo-faq .ceezoo-faq__button {
        grid-template-columns: minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 15px 0;
        min-width: 0;
    }

    .ceezoo-faq .ceezoo-faq__question-text {
        font-size: 16px;
        line-height: 1.45;
    }

    .ceezoo-faq__question-text {
        font-size: 16px;
        white-space: normal;
    }

    .ceezoo-faq__icon {
        width: 20px;
        font-size: 22px;
    }

    .ceezoo-faq__answer {
        padding: 0 0 16px;
        font-size: 14px;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .ceezoo-faq {
        margin: 20px 0;
        padding: 14px;
    }

    .ceezoo-faq__title {
        font-size: 20px;
    }

    .ceezoo-faq .ceezoo-faq__button {
        padding: 14px 0;
    }
}
