html[data-journey='customer']
[data-journey-only='decorator'] {
    display: none !important;
}

html[data-journey='decorator']
[data-journey-only='customer'] {
    display: none !important;
}

.journey-gate[hidden] {
    display: none !important;
}

.journey-gate {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(21, 34, 59, 0.97),
            rgba(33, 51, 81, 0.95)
        );
    overflow-y: auto;
}

.journey-gate-open {
    overflow: hidden;
}

.journey-gate-panel {
    width: min(880px, 100%);
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 28px 70px
        rgba(8, 20, 39, 0.28);
}

.journey-gate-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.journey-gate-intro {
    max-width: 620px;
    margin: 0 auto 28px;
    text-align: center;
}

.journey-gate-options {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.journey-choice {
    width: 100%;
    min-height: 220px;
    padding: 26px;
    border: 1px solid #e4ded4;
    border-radius: 14px;
    background: #ffffff;
    text-align: left;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.journey-choice:hover,
.journey-choice:focus-visible {
    border-color: #243c64;
    box-shadow:
        0 12px 28px
        rgba(26, 43, 72, 0.12);
    transform: translateY(-2px);
    outline: none;
}

.journey-choice-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #f4f1eb;
    color: #1b2a4a;
    font-size: 20px;
}

.journey-choice h2 {
    margin-bottom: 8px;
    color: #17243e;
    font-size: 21px;
    font-weight: 800;
}

.journey-choice p {
    margin-bottom: 15px;
    color: #6e6b65;
    font-size: 14px;
    line-height: 1.65;
}

.journey-choice-action {
    color: #1b2a4a;
    font-size: 13px;
    font-weight: 800;
}

.journey-switch-button {
    border: 0;
    background: transparent;
}

.journey-pro-stat-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.journey-pro-stat {
    padding: 16px;
    border: 1px solid #e7e0d6;
    border-radius: 10px;
    background: #ffffff;
}

.journey-pro-stat strong {
    display: block;
    margin-bottom: 3px;
    color: #182946;
    font-size: 23px;
    font-weight: 800;
}

.journey-pro-stat span {
    color: #726b61;
    font-size: 12px;
}

.public-mobile-journey-cta {
    display: none;
}

@media (max-width: 991.98px) {
    .public-mobile-journey-cta {
        position: fixed;
        z-index: 1040;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        padding:
            9px
            max(
                12px,
                env(safe-area-inset-right)
            )
            calc(
                9px
                + env(safe-area-inset-bottom)
            )
            max(
                12px,
                env(safe-area-inset-left)
            );
        border-top: 1px solid #ded8cf;
        background: rgba(255, 255, 255, 0.97);
        box-shadow:
            0 -6px 20px
            rgba(20, 31, 50, 0.08);
        backdrop-filter: blur(10px);
    }

    html[data-journey='customer']
    body.has-public-mobile-journey-cta {
        --public-mobile-journey-cta-space:
            calc(
                72px
                + env(safe-area-inset-bottom)
            );

        padding-bottom:
            var(
                --public-mobile-journey-cta-space
            );
    }

    html[data-journey='decorator']
    body.has-public-mobile-journey-cta {
        padding-bottom: 0;
    }

    html[data-journey='customer']
    body.has-public-mobile-journey-cta
    .fad-consent:not([hidden]) {
        bottom:
            calc(
                var(
                    --public-mobile-journey-cta-space
                )
                + 16px
            );
    }

    .public-mobile-journey-cta .btn {
        min-height: 48px;
    }
}

@media (max-width: 767px) {
    html[data-journey='customer']
    body.has-public-mobile-journey-cta.fad-ads-active {
        padding-bottom:
            calc(
                var(
                    --public-mobile-journey-cta-space
                )
                + 62px
                + env(safe-area-inset-bottom)
            );
    }

    html[data-journey='customer']
    body.has-public-mobile-journey-cta
    .fad-ad-mobile-sticky:not([hidden]) {
        bottom:
            var(
                --public-mobile-journey-cta-space
            );
    }

    html[data-journey='decorator']
    body.has-public-mobile-journey-cta.fad-ads-active {
        padding-bottom:
            calc(
                62px
                + env(safe-area-inset-bottom)
            );
    }
}

@media (max-width: 700px) {
    .journey-gate {
        align-items: flex-start;
        padding: 14px;
    }

    .journey-gate-panel {
        margin: auto 0;
        padding: 24px 18px;
        border-radius: 15px;
    }

    .journey-gate-options {
        grid-template-columns: 1fr;
    }

    .journey-choice {
        min-height: 0;
        padding: 20px;
    }

    .journey-pro-stat-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}
