#fcp-floating-contact,
#fcp-floating-contact * { box-sizing: border-box; }
#fcp-floating-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    padding: 8px;
    z-index: 9999;
}
#fcp-floating-contact .fcp-button {
    display: flex;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    min-width: 0;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,.25);
    transition: transform .2s ease;
}
#fcp-floating-contact .fcp-phone { background: linear-gradient(135deg,#f7b733,#fc4a1a); }
#fcp-floating-contact .fcp-zalo { background: #0068ff; }
#fcp-floating-contact .fcp-zalo-text { font: 700 16px/1 Arial,sans-serif; color: #fff; }
#fcp-floating-contact svg { display: block; width: 26px; height: 26px; flex-shrink: 0; }
#fcp-floating-contact .fcp-button:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
@media (hover: hover) {
    #fcp-floating-contact .fcp-button:hover { transform: translateY(-2px); }
}
@media (max-width: 767px) {
    #fcp-floating-contact {
        right: 0;
        left: 0;
        bottom: 0;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px 12px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        padding-left: max(12px, env(safe-area-inset-left, 0px));
        padding-right: max(12px, env(safe-area-inset-right, 0px));
        border-radius: 12px 12px 0 0;
        background: rgba(0,0,0,.5);
        overscroll-behavior-x: contain;
    }
    #fcp-floating-contact .fcp-button { flex-basis: 44px; width: 44px; height: 44px; box-shadow: none; }
    #fcp-floating-contact .fcp-button:first-child { margin-left: auto; }
    #fcp-floating-contact .fcp-button:last-child { margin-right: auto; }
    #fcp-floating-contact .fcp-zalo-text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    #fcp-floating-contact .fcp-button { transition: none; }
}
