/* Shared mobile action bar */
.ae-sticky-cta {
    display: none;
}

@media only screen and (max-width: 991px) {
    body {
        padding-bottom: calc(66px + env(safe-area-inset-bottom)) !important;
    }

    .ae-sticky-cta {
        align-items: stretch;
        background: #3f51b5;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
        bottom: 0;
        box-shadow: 0 -5px 18px rgba(24, 35, 94, 0.22);
        display: grid;
        gap: 7px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        left: 0;
        padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
        position: fixed;
        right: 0;
        width: 100%;
        z-index: 9999;
    }

    .ae-sticky-cta a {
        align-items: center;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.34);
        border-radius: 4px;
        box-shadow: none;
        color: #fff !important;
        display: flex;
        font: 700 14px/1.1 "Karla", sans-serif;
        gap: 6px;
        height: 46px;
        justify-content: center;
        margin: 0 !important;
        max-width: none;
        min-width: 0;
        padding: 0 8px !important;
        text-align: center;
        text-decoration: none;
        transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
        white-space: nowrap;
    }

    .ae-sticky-cta a i {
        flex: 0 0 16px;
        font-size: 15px;
        line-height: 1;
        width: 16px;
    }

    .ae-sticky-cta a:hover,
    .ae-sticky-cta a:focus {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.72);
        color: #fff !important;
        outline: none;
        text-decoration: none;
    }

    .ae-sticky-cta a:focus-visible {
        outline: 2px solid #fff;
        outline-offset: -4px;
    }

    .ae-sticky-cta a:active {
        transform: translateY(1px);
    }

    .ae-sticky-cta .ae-cta-quote {
        background: #fff;
        border-color: #fff;
        color: #3f51b5 !important;
    }

    .ae-sticky-cta .ae-cta-quote:hover,
    .ae-sticky-cta .ae-cta-quote:focus {
        background: #eef0ff;
        border-color: #eef0ff;
        color: #2f409e !important;
    }
}

@media only screen and (max-width: 360px) {
    .ae-sticky-cta {
        gap: 5px;
        padding-left: max(6px, env(safe-area-inset-left));
        padding-right: max(6px, env(safe-area-inset-right));
    }

    .ae-sticky-cta a {
        font-size: 12.5px;
        gap: 4px;
        height: 44px;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .ae-sticky-cta a i {
        flex-basis: 14px;
        font-size: 14px;
        width: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ae-sticky-cta a {
        transition: none;
    }
}
