.adenty-faq {
    --adenty-faq-border: #e5e7eb;
    --adenty-faq-muted: #6b7280;
    --adenty-faq-soft-bg: #f8fafc;
    --adenty-faq-active-bg: #f07343;
    --adenty-faq-active-color: #ffffff;
    --adenty-faq-highlight: #ff9f7b;
    width: 100%;
}

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

.adenty-faq__hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 72px 20px 84px;
    margin-bottom: 48px;
}

.adenty-faq__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.92) 72%);
}

.adenty-faq__hero-inner {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
}

.adenty-faq__eyebrow {
    margin-bottom: 28px;
}

.adenty-faq__title {
    max-width: 680px;
    margin: 0 auto 28px;
}

.adenty-faq__subtitle {
    max-width: 760px;
    margin: 0 auto 28px;
}

.adenty-faq__search-wrap {
    position: relative;
    width: min(450px, 100%);
    margin: 0 auto;
}

.adenty-faq__search-wrap::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 999px;
    opacity: 0.75;
    transform: translateY(-50%);
    pointer-events: none;
}

.adenty-faq__search-wrap::after {
    content: "";
    position: absolute;
    left: 27px;
    top: calc(50% + 7px);
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.75;
    transform: rotate(45deg);
    transform-origin: left center;
    pointer-events: none;
}

.adenty-faq__search {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--adenty-faq-border);
    border-radius: 7px;
    background: #ffffff;
    padding: 15px 25px 15px 50px !important;
    outline: none;
}

.adenty-faq__search:focus {
    border-color: currentColor;
}

.adenty-faq__categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.adenty-faq__category {
    border: 1px solid var(--adenty-faq-border);
    border-radius: 999px;
    padding: 5px 15px;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: normal !important;
    letter-spacing: 0 !important;
    margin: 0;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.adenty-faq__category:hover,
.adenty-faq__category:focus-visible {
    border-color: currentColor;
    outline: none;
}

.adenty-faq__category.is-active {
    background: var(--adenty-faq-active-bg);
    border-color: var(--adenty-faq-active-bg);
    color: var(--adenty-faq-active-color);
}

.adenty-faq__content {
    min-width: 0;
}

.adenty-faq__meta {
    min-height: 0;
    margin-bottom: 12px;
    color: var(--adenty-faq-muted);
}

.adenty-faq__items {
    border-top: 1px solid var(--adenty-faq-border);
}

.adenty-faq__item {
    border-bottom: 1px solid var(--adenty-faq-border);
}

.adenty-faq__item[hidden] {
    display: none !important;
}

.adenty-faq__item a {
    color: #F16129;
    text-decoration: none;
}

.adenty-faq__item a:hover {
    text-decoration: underline;
}

.adenty-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 24px 0;
    cursor: pointer;
    user-select: none;
}

.adenty-faq__question:hover .adenty-faq__question-text,
.adenty-faq__question:focus-visible .adenty-faq__question-text {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.adenty-faq__question:focus-visible {
    outline: none;
}

.adenty-faq__question-text {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

.adenty-faq__icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: currentColor;
}

.adenty-faq__icon::before,
.adenty-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.adenty-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.adenty-faq__question[aria-expanded="true"] .adenty-faq__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.adenty-faq__answer {
    padding: 0 48px 24px 0;
}

.adenty-faq__answer[hidden] {
    display: none !important;
}

.adenty-faq__answer-inner > *:first-child {
    margin-top: 0;
}

.adenty-faq__answer-inner > *:last-child {
    margin-bottom: 0;
}

.adenty-faq__mark {
    background: var(--adenty-faq-highlight);
    color: inherit;
    border-radius: 3px;
    padding: 0 2px;
}

.adenty-faq__empty {
    margin-top: 24px;
    border: 1px solid var(--adenty-faq-border);
    border-radius: 12px;
    background: var(--adenty-faq-soft-bg);
    color: var(--adenty-faq-muted);
    text-align: center;
    padding: 24px;
}

@media (max-width: 760px) {
    .adenty-faq__hero {
        min-height: 300px;
        padding: 56px 16px 64px;
        margin-bottom: 36px;
        background-size: 28px 28px;
    }

    .adenty-faq__eyebrow {
        margin-bottom: 20px;
    }

    .adenty-faq__categories {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }

    .adenty-faq__category {
        white-space: nowrap;
    }

    .adenty-faq__question {
        gap: 16px;
        padding: 20px 0;
    }

    .adenty-faq__answer {
        padding-right: 0;
    }
}
