/* Olivier Coffee — floating contact (preview, not from admin DB) */
.oc-float-bar {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    bottom: max(56px, calc(env(safe-area-inset-bottom) + 48px));
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}

.oc-float-bar__item {
    pointer-events: auto;
}

.oc-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    margin: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    overflow: visible;
    -webkit-appearance: none;
    appearance: none;
}

a.oc-float-btn {
    cursor: pointer;
}

.oc-float-btn:hover,
.oc-float-btn:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    color: #fff;
}

.oc-float-btn i {
    font-size: 22px;
    line-height: 1;
    pointer-events: none;
}

.oc-float-btn__zalo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    pointer-events: none;
}

.oc-float-btn--wa { background: #25d366; }
.oc-float-btn--wa:hover { background: #1da851; }

.oc-float-btn--msg { background: #0084ff; }
.oc-float-btn--msg:hover { background: #006edc; }

.oc-float-btn--zalo { background: #0180c7; }
.oc-float-btn--zalo:hover { background: #006299; }

.oc-float-btn--phone { background: #dc3545; }
.oc-float-btn--phone:hover { background: #b02a37; }

.oc-float-btn--book { background: #c49b63; }
.oc-float-btn--book:hover { background: #a67c52; }

.oc-float-btn--default { background: #475569; }
.oc-float-btn--default:hover { background: #334155; }

@media (max-width: 767.98px) {
    .oc-float-bar {
        left: max(10px, env(safe-area-inset-left));
        bottom: max(52px, calc(env(safe-area-inset-bottom) + 40px));
        gap: 10px;
    }

    .oc-float-btn {
        width: 46px;
        height: 46px;
    }
}
