/* Icon FAQ Widget for Elementor */

.ifw-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ─── ITEM CARD ─────────────────────────── */
.ifw-item {
    background-color: #fff8f2;
    border: 1px solid #f0e0cc;
    border-radius: 14px;
    overflow: hidden;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.ifw-item.ifw-open {
    background-color: #fff1e3;
}

/* ─── HEADER ROW ────────────────────────── */
.ifw-header {
    display: flex;
    align-items: center;
    padding: 16px 20px 16px 16px;
    cursor: pointer;
    user-select: none;
    gap: 0;
}

.ifw-header:focus-visible {
    outline: 2px solid #F5A623;
    outline-offset: -2px;
}

/* ─── ICON BOX ──────────────────────────── */
.ifw-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin-right: 14px;
    border-radius: 8px;
    background-color: transparent;
    flex-shrink: 0;
}

.ifw-icon i {
    font-size: 24px;
    color: #F5A623;
    line-height: 1;
}

.ifw-icon svg {
    width: 24px;
    height: 24px;
    fill: #F5A623;
}

.ifw-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

/* ─── QUESTION ──────────────────────────── */
.ifw-question {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.4;
}

/* ─── TOGGLE ICON ───────────────────────── */
.ifw-toggle {
    font-size: 22px;
    color: #F5A623;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.25s ease;
    font-style: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* Plus/Minus */
.ifw-faq[data-toggle-style="plus"] .ifw-toggle::before          { content: '+'; font-weight: 300; }
.ifw-faq[data-toggle-style="plus"] .ifw-item.ifw-open .ifw-toggle::before { content: '−'; }

/* Chevron */
.ifw-faq[data-toggle-style="angle"] .ifw-toggle::before         { content: '▾'; }
.ifw-faq[data-toggle-style="angle"] .ifw-item.ifw-open .ifw-toggle { transform: rotate(180deg); }
.ifw-faq[data-toggle-style="angle"] .ifw-item.ifw-open .ifw-toggle::before { content: '▾'; }

/* Arrow */
.ifw-faq[data-toggle-style="arrow"] .ifw-toggle::before         { content: '→'; }
.ifw-faq[data-toggle-style="arrow"] .ifw-item.ifw-open .ifw-toggle { transform: rotate(90deg); }
.ifw-faq[data-toggle-style="arrow"] .ifw-item.ifw-open .ifw-toggle::before { content: '→'; }

/* ─── ANSWER ────────────────────────────── */
.ifw-answer {
    padding: 0 20px 16px 16px;
    font-size: 14px;
    color: #555;
    line-height: 1.65;
}

.ifw-item.ifw-open .ifw-answer {
    border-top: 1px solid #f0e0cc;
    padding-top: 12px;
}

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