/* SG Floating Mobile CTA Buttons */

@media (max-width: 768px) {

    .sg_fmcb-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        display: flex;
        justify-content: space-between;
        padding: 8px;
        background: #ffffff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
        box-sizing: border-box;
        gap: 2px; /* reduced gap to avoid cutting */
    }

    .sg_fmcb-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: #ffffff;
        font-size: 16px;
        font-weight: 600;
        padding: 12px 10px;
        border-radius: 6px;
        transition: opacity .2s;
        box-sizing: border-box;
    }

    .sg_fmcb-btn:active {
        opacity: .8;
    }

    /* Single button layout */
    .sg_fmcb--single .sg_fmcb-btn {
        flex: 0 0 96%;
        max-width: 96%;
        margin: 0 auto;
    }

    /* Two-button layout with safe flex */
    .sg_fmcb--double .sg_fmcb-btn {
        flex: 1;
        max-width: 50%;
    }
}

@media (min-width: 769px) {
    .sg_fmcb-container {
        display: none;
    }
}
