.bts-lock {
    overflow: hidden;
}

.bts-root,
.bts-root *,
.bts-modal,
.bts-modal * {
    box-sizing: border-box;
}

.bts-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    background: #713b8f;
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(73, 34, 94, .18);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.bts-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(73, 34, 94, .24);
}

.bts-trigger:focus-visible,
.bts-choice:focus-visible,
.bts-close:focus-visible,
.bts-back:focus-visible,
.bts-restart:focus-visible,
.bts-product-link:focus-visible {
    outline: 3px solid rgba(113, 59, 143, .3);
    outline-offset: 3px;
}

.bts-trigger-arrow {
    font-size: 19px;
}

.bts-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 16px;
    isolation: isolate;
    opacity: 0;
    transition: opacity .18s ease;
}

.bts-modal.is-open {
    opacity: 1;
}

.bts-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 22, 35, .64);
    backdrop-filter: blur(5px);
}

.bts-dialog {
    position: relative !important;
    width: min(920px, calc(100vw - 32px));
    max-height: min(820px, calc(100vh - 32px));
    max-height: min(820px, calc(100dvh - 32px));
    margin: auto;
    overflow-y: auto;
    transform: translateY(12px);
    padding: 42px;
    border-radius: 28px;
    background: #fff;
    color: #231d27;
    box-shadow: 0 26px 80px rgba(31, 20, 37, .28);
    transition: transform .18s ease;
}

.bts-modal.is-open .bts-dialog {
    transform: translateY(0);
}

.bts-dialog:focus {
    outline: none;
}

.bts-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f4f0f6;
    color: #4c3b53;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.bts-progress {
    display: flex;
    gap: 7px;
    margin: 0 0 28px;
}

.bts-progress span {
    width: 34px;
    height: 5px;
    border-radius: 999px;
    background: #e8e0ec;
}

.bts-progress span.is-active {
    background: #713b8f;
}

.bts-step {
    animation: bts-fade .18s ease;
}

@keyframes bts-fade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.bts-eyebrow {
    margin-bottom: 8px;
    color: #713b8f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bts-dialog h2 {
    margin: 0 48px 12px 0;
    color: #231d27;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.bts-lead {
    max-width: 760px;
    margin: 0 0 28px;
    color: #655b69;
    font-size: 17px;
    line-height: 1.6;
}

.bts-choice-grid {
    display: grid;
    gap: 14px;
}

.bts-choice-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bts-choice-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bts-choice-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bts-choice {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid #e7dfe9;
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.bts-choice:hover {
    transform: translateY(-2px);
    border-color: #bca4c8;
    background: #fcf9fd;
    box-shadow: 0 12px 32px rgba(72, 44, 82, .08);
}

.bts-choice-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #f3edf6;
    color: #713b8f;
    font-size: 12px;
    font-weight: 800;
}

.bts-choice strong {
    margin-bottom: 9px;
    font-size: 24px;
    line-height: 1.15;
}

.bts-choice-copy {
    color: #6b616e;
    font-size: 14px;
    line-height: 1.55;
}

.bts-choice-cta {
    margin-top: auto;
    padding-top: 20px;
    color: #713b8f;
    font-size: 14px;
    font-weight: 800;
}

.bts-note {
    margin: 22px 0 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f7f4f8;
    color: #746b77;
    font-size: 12px;
    line-height: 1.55;
}

.bts-back,
.bts-restart {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #713b8f;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.bts-choice--format {
    min-height: 230px;
}

.bts-format-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #f3edf6;
    color: #713b8f;
    font-size: 24px;
}

.bts-format-best {
    margin-top: auto;
    padding-top: 18px;
    color: #713b8f;
    font-size: 13px;
    font-weight: 800;
}

.bts-result-mark {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #f0e8f4;
    color: #713b8f;
    font-size: 27px;
    font-weight: 900;
}

.bts-result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 26px 0 20px;
    padding: 22px;
    border: 1px solid #e7dfe9;
    border-radius: 20px;
    background: #fcf9fd;
}

.bts-result-card > div {
    min-width: 0;
}

.bts-result-label {
    display: block;
    margin-bottom: 6px;
    color: #7b7080;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.bts-result-card strong {
    display: block;
    font-size: 20px;
    line-height: 1.3;
}

.bts-product-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #713b8f;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .bts-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        padding: 28px 18px 22px;
        border-radius: 22px;
    }

    .bts-choice-grid--two,
    .bts-choice-grid--three,
    .bts-choice-grid--four {
        grid-template-columns: 1fr;
    }

    .bts-choice,
    .bts-choice--format {
        min-height: 0;
    }

    .bts-dialog h2 {
        margin-right: 34px;
        font-size: 30px;
    }

    .bts-lead {
        font-size: 15px;
    }

    .bts-result-card {
        align-items: stretch;
        flex-direction: column;
    }

    .bts-product-link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bts-modal,
    .bts-dialog,
    .bts-trigger,
    .bts-choice,
    .bts-step {
        transition: none;
        animation: none;
    }
}

/* v1.1.0 - protect card titles from theme button hover colors */
.bts-choice strong {
    color: #231d27 !important;
    transition: color .18s ease;
}

.bts-choice:hover strong,
.bts-choice:focus-visible strong {
    color: #713b8f !important;
}

.bts-choice-grid--types .bts-choice {
    min-height: 240px;
}

.bts-choice--digital,
.bts-choice--weeks {
    border-color: #d9c8e1;
}

.bts-note--purchase {
    border: 1px solid #eadff0;
    background: #fbf8fc;
}

@media (max-width: 760px) {
    .bts-choice-grid--types .bts-choice {
        min-height: 0;
    }
}


/* v1.1.1 - render modal at body level and above all theme/page-builder layers */
.bts-modal[hidden] {
    display: none !important;
}

.bts-backdrop {
    z-index: -1;
}

body.bts-lock,
html.bts-lock {
    overflow: hidden !important;
}


/* v1.2.0 - fourth main option: Pe saptamani */
.bts-choice-grid--four.bts-choice-grid--types .bts-choice {
    min-height: 220px;
}

@media (max-width: 760px) {
    .bts-choice-grid--four.bts-choice-grid--types .bts-choice {
        min-height: 0;
    }
}
