.metalwork-product-faq {
    --mw-faq-accent: #e0552e;
    --mw-faq-dark: #101b2a;
    --mw-faq-text: #333333;
    --mw-faq-border: #e4e4e4;
    --mw-faq-bg: #ffffff;

    width: 100%;
    max-width: 860px;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.metalwork-product-faq__title {
    margin: 0 0 20px;
    color: var(--mw-faq-dark);
    font-size: 26px;
    font-weight: 700;
}

.metalwork-product-faq__list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--mw-faq-border);
}

.metalwork-product-faq__item {
    min-width: 0;
    border-bottom: 1px solid var(--mw-faq-border);
    background: var(--mw-faq-bg);
}

.metalwork-product-faq__question {
    margin: 0;
}

.metalwork-product-faq__trigger,
.metalwork-product-faq__trigger:hover,
.metalwork-product-faq__trigger:focus,
.metalwork-product-faq__trigger:focus-visible,
.metalwork-product-faq__trigger:active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 18px 4px;
    box-sizing: border-box;
    background-color: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--mw-faq-dark);
    cursor: pointer;
    transition: color 0.2s ease;
}

.metalwork-product-faq__trigger > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.metalwork-product-faq__trigger:hover,
.metalwork-product-faq__trigger:focus-visible {
    color: var(--mw-faq-accent);
}

.metalwork-product-faq__icon {
    position: relative;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

.metalwork-product-faq__icon::before,
.metalwork-product-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--mw-faq-accent);
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.metalwork-product-faq__icon::before {
    width: 14px;
    height: 2px;
}

.metalwork-product-faq__icon::after {
    width: 2px;
    height: 14px;
}

.metalwork-product-faq__item.is-open .metalwork-product-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.metalwork-product-faq__answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.metalwork-product-faq__answer[hidden] {
    display: block;
}

.metalwork-product-faq__item.is-open .metalwork-product-faq__answer {
    max-height: var(--mw-faq-answer-height, 600px);
}

.metalwork-product-faq__answer-inner {
    min-width: 0;
    padding: 0 4px 20px;
    color: var(--mw-faq-text);
    font-size: 15px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.metalwork-product-faq__answer-inner p:first-child {
    margin-top: 0;
}

.metalwork-product-faq__answer-inner p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .metalwork-product-faq__trigger {
        gap: 10px;
        padding: 14px 0;
        font-size: 14px;
    }

    .metalwork-product-faq__icon {
        width: 18px;
        height: 18px;
    }

    .metalwork-product-faq__answer-inner {
        padding-right: 0;
        padding-left: 0;
        font-size: 14px;
    }
}
