.eeq-faq {
    --eeq-primary: #d4af37;
    --eeq-primary-10: rgba(212, 175, 55, 0.12);
    --eeq-gray-900: #111827;
    --eeq-gray-700: #374151;
    --eeq-gray-600: #4b5563;
    --eeq-gray-500: #6b7280;
    --eeq-gray-300: #d1d5db;
    --eeq-gray-200: #e5e7eb;
    --eeq-gray-100: #f3f4f6;
    --eeq-white: #ffffff;
    --eeq-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    font-family: inherit;
    color: var(--eeq-gray-900);
    width: 100%;
}

.eeq-faq-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 48px 20px;
}

.eeq-faq-section-top {
    background: var(--eeq-white);
    padding-bottom: 26px;
}

.eeq-faq-section-body {
    background: #f4e7bd;
    padding-top: 26px;
}

.eeq-faq-inner {
    width: min(980px, 100%);
    margin: 0 auto;
}

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

.eeq-faq svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eeq-faq-header {
    text-align: center;
    margin-bottom: 32px;
}

.eeq-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: var(--eeq-primary-10);
    color: var(--eeq-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.eeq-icon-badge svg {
    width: 32px;
    height: 32px;
}

.eeq-faq-header h1 {
    font-size: 2rem;
    margin: 0 0 10px;
}

.eeq-faq-header p {
    margin: 0;
    color: var(--eeq-gray-500);
    font-size: 1.05rem;
}

.eeq-faq-search {
    position: relative;
    max-width: 620px;
    margin: 0 auto 24px;
}

.eeq-search-input {
    width: 100%;
    border: 1px solid var(--eeq-gray-200);
    border-radius: 999px;
    padding: 16px 18px 16px 52px;
    font-size: 1rem;
    background: var(--eeq-white);
    color: var(--eeq-gray-900);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.eeq-search-input:focus {
    outline: 2px solid rgba(212, 175, 55, 0.2);
    border-color: var(--eeq-primary);
}

.eeq-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--eeq-gray-500);
}

.eeq-faq[dir="rtl"] .eeq-search-icon {
    left: auto;
    right: 18px;
}

.eeq-faq-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.eeq-badge {
    background: var(--eeq-gray-100);
    color: var(--eeq-gray-600);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eeq-total {
    background: var(--eeq-primary-10);
    color: var(--eeq-primary);
}

.eeq-mini-pager {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--eeq-gray-200);
    background: var(--eeq-white);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.eeq-mini-pager button {
    border: none;
    background: transparent;
    padding: 4px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--eeq-gray-600);
}

.eeq-mini-pager button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.eeq-page-status {
    font-size: 0.85rem;
    color: var(--eeq-gray-700);
}

.eeq-faq-group {
    margin-bottom: 28px;
}

.eeq-faq-group-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--eeq-gray-900);
    margin: 0 0 12px;
}

.eeq-group-icon {
    color: var(--eeq-primary);
}

.eeq-group-count {
    background: rgba(212, 175, 55, 0.12);
    color: var(--eeq-primary);
    font-weight: 600;
}

.eeq-card {
    background: var(--eeq-white);
    border: 1px solid var(--eeq-gray-200);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--eeq-shadow);
}

.eeq-accordion-item {
    border-bottom: 1px solid var(--eeq-gray-100);
}

.eeq-accordion-item:last-child {
    border-bottom: none;
}

.eeq-accordion-trigger {
    width: 100%;
    border: none;
    background: transparent;
    padding: 18px 22px;
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    color: var(--eeq-gray-900);
}

.eeq-faq[dir="rtl"] .eeq-search-input {
    padding: 16px 52px 16px 18px;
}

.eeq-faq[dir="rtl"] .eeq-faq-meta {
    direction: rtl;
}

.eeq-faq[dir="rtl"] .eeq-accordion-trigger {
    text-align: right;
}

.eeq-accordion-trigger svg {
    transition: transform 0.2s ease;
}

.eeq-accordion-item.is-open .eeq-accordion-trigger svg {
    transform: rotate(180deg);
}

.eeq-accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: var(--eeq-gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: max-height 0.25s ease;
}

.eeq-accordion-item.is-open .eeq-accordion-content {
    padding-bottom: 18px;
}

.eeq-faq-empty {
    text-align: center;
    background: var(--eeq-gray-100);
    border: 1px dashed var(--eeq-gray-200);
    border-radius: 20px;
    padding: 40px 20px;
    color: var(--eeq-gray-600);
}

.eeq-empty-icon {
    color: var(--eeq-gray-300);
    margin-bottom: 12px;
}

.eeq-empty-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.4;
}

.eeq-faq-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.eeq-faq-pagination button {
    border: 1px solid var(--eeq-gray-200);
    background: var(--eeq-white);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--eeq-gray-700);
}

.eeq-faq-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.eeq-page-buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eeq-page-number {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    color: var(--eeq-gray-600);
}

.eeq-page-number.is-active {
    background: var(--eeq-primary);
    border-color: var(--eeq-primary);
    color: var(--eeq-white);
}

.eeq-ellipsis {
    color: var(--eeq-gray-500);
    padding: 0 6px;
}

.eeq-accordion-item.is-hidden {
    display: none;
}

@media (max-width: 720px) {
    .eeq-faq-section {
        padding: 36px 16px;
    }

    .eeq-faq-header h1 {
        font-size: 1.6rem;
    }

    .eeq-faq-header p {
        font-size: 1rem;
    }

    .eeq-faq-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .eeq-mini-pager {
        width: 100%;
        justify-content: space-between;
    }
}
