/* Joint Theme Core - Store FAQ */

.jtc-store-faq {
    width: 100%;
}

.jtc-store-faq__tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 16px;
}

.jtc-store-faq__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.jtc-store-faq__tab:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.jtc-store-faq__panel[hidden] {
    display: none;
}

.jtc-store-faq__accordion {
    border: 1px solid #d5d8dc;
}

.jtc-store-faq__item {
    overflow: hidden;
}

.jtc-store-faq__item + .jtc-store-faq__item {
    border-top: 1px solid #d5d8dc;
}

.jtc-store-faq__title {
    margin: 0;
}

.jtc-store-faq__question {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.jtc-store-faq__question--icon-right {
    justify-content: space-between;
}

.jtc-store-faq__question--icon-left {
    justify-content: flex-start;
}

.jtc-store-faq__question:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
}

.jtc-store-faq__question-text {
    flex: 1 1 auto;
}

.jtc-store-faq__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}

.jtc-store-faq__question--icon-right .jtc-store-faq__icon {
    margin-left: 12px;
}

.jtc-store-faq__question--icon-left .jtc-store-faq__icon {
    margin-right: 12px;
}

.jtc-store-faq__icon svg {
    display: block;
    width: 1em;
    height: 1em;
}

.jtc-store-faq__icon-active {
    display: none;
}

.jtc-store-faq__item.is-active .jtc-store-faq__icon-open {
    display: none;
}

.jtc-store-faq__item.is-active .jtc-store-faq__icon-active {
    display: inline-flex;
}

.jtc-store-faq__content {
    padding: 15px 20px;
}

.jtc-store-faq__content > :first-child {
    margin-top: 0;
}

.jtc-store-faq__content > :last-child {
    margin-bottom: 0;
}

.jtc-store-faq__empty {
    margin: 0;
}
