/* Fixed footer quick actions */
html.fixed-actions-ready, body.fixed-actions-ready { overflow-x: hidden; }
.floating-buttons {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: max(20px, env(safe-area-inset-bottom));
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    pointer-events: none;
}
.floating-buttons-left { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; pointer-events: none; }
.floating-buttons-left > .fb-btn { pointer-events: auto; }
.floating-buttons .fb-btn {
    pointer-events: auto;
    border: 0;
    min-width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    color: #111;
    background: linear-gradient(135deg, #ffb347, #ffcc33);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
}
.floating-buttons .whatsapp-btn { color: #111; background: linear-gradient(135deg, #ffb347, #ffcc33); }
.floating-buttons-right { display: flex; align-items: center; gap: 10px; }
.floating-buttons-right .reels-float,
.floating-buttons-right .scroll-top-btn { width: 52px; padding: 0; }
.floating-buttons-right .reels-float { color: #1b1b1b; background: linear-gradient(135deg, #f0b54a, #e9a93e); }
.floating-buttons-right .reels-float {
    flex-direction: column;
    gap: 1px;
    font-size: 0.58rem;
    line-height: 1;
}
.floating-buttons-right .reels-float i { font-size: 0.95rem; line-height: 1; }
.floating-buttons-right .reels-float span { display: block; font-size: 0.58rem; font-weight: 700; }
.floating-buttons-right .scroll-top-btn { display: none; }
.floating-buttons .bs-cart-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.fb-count { min-width: 20px; padding: 3px 6px; border-radius: 999px; background: #fff; color: #111; font-size: 12px; line-height: 1; }
.chat-popup {
    position: fixed;
    left: 20px;
    bottom: 84px;
    z-index: 1201;
    width: min(300px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.chat-header { display: flex; align-items: center; gap: 10px; padding: 12px; color: #111; background: linear-gradient(135deg, #ffb347, #ffcc33); }
.chat-header img { width: 38px; height: 38px; object-fit: contain; }
.chat-header > div { min-width: 0; flex: 1; }
.close-chat { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1.2rem; }
.chat-body { padding: 14px; }
.chat-footer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #ddd; background: #fff; }
.chat-footer input { min-width: 0; flex: 1; padding: 8px 12px; border: 1px solid #ccc; border-radius: 20px; outline: none; }
.chat-footer input:focus { border-color: #004080; }
.chat-footer button { flex: 0 0 36px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ffb347, #ffcc33); cursor: pointer; }
.bs-cart-overlay { display: none; position: fixed; inset: 0; z-index: 1198; background: rgba(0, 0, 0, .35); }
.bs-cart-drawer { display: none; position: fixed; right: 0; top: 0; bottom: 0; z-index: 1199; width: min(380px, 100vw); padding: 18px; overflow: auto; background: #fff; box-shadow: -8px 0 24px rgba(0, 0, 0, .18); }
.bs-cart-open .bs-cart-overlay, .bs-cart-open .bs-cart-drawer { display: block; }
.bs-cart-open .floating-buttons { display: none; }
.bs-drawer-header { display: flex; align-items: center; justify-content: space-between; }
.bs-drawer-close { border: 0; background: transparent; cursor: pointer; font-size: 1.3rem; }
@media (max-width: 575px) {
    .floating-buttons { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
    .floating-buttons-left { gap: 7px; }
    .floating-buttons .fb-btn { min-width: 46px; height: 46px; padding: 0 11px; }
    .floating-buttons-left .call-admin-btn { width: 46px; min-width: 46px; padding: 0; }
    .floating-buttons-left .call-admin-btn span { display: none; }
    .floating-buttons-right { gap: 7px; }
    .floating-buttons .whatsapp-btn span, .floating-buttons-right .reels-float + * span { display: none; }
    .floating-buttons-right .reels-float, .floating-buttons-right .scroll-top-btn { width: 46px; }
    .chat-popup { left: 12px; bottom: 70px; width: calc(100vw - 24px); }
}
