/* Virtual DOT FAQ — isolated from WordPress/Elementor theme colors */
.vdw-faq,
.vdw-faq * {
    box-sizing: border-box;
}

.vdw-faq {
    --vdw-purple: #5a0aa3;
    --vdw-purple-strong: #6f11d8;
    --vdw-purple-soft: #f7f1ff;
    --vdw-text: #2c2530;
    --vdw-muted: #6f6875;
    --vdw-line: #e9e3ec;
    --vdw-white: #ffffff;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    color: var(--vdw-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.vdw-faq button,
.vdw-faq input {
    font-family: inherit !important;
}

.vdw-faq button,
.vdw-faq button:hover,
.vdw-faq button:focus,
.vdw-faq button:active,
.vdw-faq input,
.vdw-faq input:hover,
.vdw-faq input:focus {
    outline-color: transparent;
    box-shadow: none;
}

.vdw-faq button::before,
.vdw-faq button::after {
    display: none !important;
    content: none !important;
}

.vdw-faq-search-block {
    margin: 0 0 16px;
}

.vdw-faq-search-label {
    display: block;
    margin: 0 0 8px;
    color: var(--vdw-purple) !important;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.vdw-faq-search-wrap {
    position: relative;
}

.vdw-faq-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 15px;
    height: 15px;
    border: 1.8px solid #79717f;
    border-radius: 50%;
    transform: translateY(-55%);
    pointer-events: none;
}

.vdw-faq-search-icon::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 1.8px;
    background: #79717f;
    right: -5px;
    bottom: -2px;
    transform: rotate(45deg);
    border-radius: 2px;
}

.vdw-faq .vdw-faq-search {
    display: block !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 11px 16px 11px 43px !important;
    border: 1px solid #cfc7d5 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #302937 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    appearance: none !important;
    transition: border-color .18s ease, box-shadow .18s ease !important;
}

.vdw-faq .vdw-faq-search::placeholder {
    color: #8e8794 !important;
    opacity: 1 !important;
}

.vdw-faq .vdw-faq-search:focus {
    border-color: #7b30bd !important;
    box-shadow: 0 0 0 1px #7b30bd !important;
    outline: none !important;
}

.vdw-faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    margin: 0 0 34px;
}

.vdw-faq .vdw-faq-filter {
    appearance: none !important;
    -webkit-appearance: none !important;
    min-height: 34px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 7px 13px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: #fff !important;
    background-image: none !important;
    color: #5d197f !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transform: none !important;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease !important;
}

.vdw-faq .vdw-faq-filter:hover,
.vdw-faq .vdw-faq-filter:focus,
.vdw-faq .vdw-faq-filter:active {
    border-color: #e4d5f2 !important;
    background: #f9f4ff !important;
    color: #5d0ca0 !important;
    transform: none !important;
}

.vdw-faq .vdw-faq-filter.is-active,
.vdw-faq .vdw-faq-filter.is-active:hover,
.vdw-faq .vdw-faq-filter.is-active:focus {
    border-color: var(--vdw-purple-strong) !important;
    background: var(--vdw-purple-strong) !important;
    color: #fff !important;
}

.vdw-faq-results {
    border-top: 1px solid var(--vdw-line);
}

.vdw-faq-item {
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--vdw-line) !important;
    background: #fff !important;
}

.vdw-faq .vdw-faq-question {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    width: 100% !important;
    min-height: 62px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 17px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: var(--vdw-purple) !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    text-align: left !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transform: none !important;
}

.vdw-faq .vdw-faq-question:hover,
.vdw-faq .vdw-faq-question:focus,
.vdw-faq .vdw-faq-question:active {
    background: transparent !important;
    color: #490680 !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.vdw-faq-question > span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.vdw-faq-chevron {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.vdw-faq-chevron::before,
.vdw-faq-chevron::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 8px;
    width: 7px;
    height: 1.5px;
    background: #746d79;
    border-radius: 2px;
    transition: transform .18s ease;
}

.vdw-faq-chevron::before {
    left: 2px;
    transform: rotate(45deg);
}

.vdw-faq-chevron::after {
    right: 2px;
    transform: rotate(-45deg);
}

.vdw-faq-question[aria-expanded="true"] .vdw-faq-chevron::before {
    transform: rotate(-45deg);
}

.vdw-faq-question[aria-expanded="true"] .vdw-faq-chevron::after {
    transform: rotate(45deg);
}

.vdw-faq-answer {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.vdw-faq-answer[hidden] {
    display: none !important;
}

.vdw-faq-answer-inner {
    max-width: 930px;
    padding: 0 42px 19px 0;
    color: #5f5964;
    font-size: 14px;
    line-height: 1.72;
    font-weight: 400;
}

.vdw-faq-answer-inner p {
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: inherit !important;
    font: inherit !important;
}

.vdw-faq-answer-inner p:last-child {
    margin-bottom: 0 !important;
}

.vdw-faq-empty {
    padding: 30px 18px;
    text-align: center;
    color: var(--vdw-muted);
}

.vdw-faq-empty strong {
    display: block;
    margin-bottom: 3px;
    color: var(--vdw-purple);
    font-size: 15px;
}

.vdw-faq-empty span {
    font-size: 13px;
}

@media (max-width: 767px) {
    .vdw-faq {
        max-width: 100%;
        font-size: 15px;
    }

    .vdw-faq-search-label {
        font-size: 14px;
    }

    .vdw-faq .vdw-faq-search {
        min-height: 46px !important;
        font-size: 13px !important;
    }

    .vdw-faq-filters {
        gap: 6px;
        margin-bottom: 24px;
    }

    .vdw-faq .vdw-faq-filter {
        min-height: 31px !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
    }

    .vdw-faq .vdw-faq-question {
        min-height: 57px !important;
        gap: 14px !important;
        padding: 15px 0 !important;
        font-size: 15px !important;
    }

    .vdw-faq-answer-inner {
        padding: 0 28px 17px 0;
        font-size: 13.5px;
        line-height: 1.65;
    }
}
