/* Nút liên hệ nổi — Bách Mộc Yên Core 1.1.8 */
.bmy-float{position:fixed;right:16px;bottom:calc(20px + env(safe-area-inset-bottom,0px));z-index:9998;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:Montserrat,sans-serif}
.bmy-float-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.bmy-float-list li{margin:0;padding:0;list-style:none}
.bmy-float-item{display:flex;align-items:center;gap:10px;text-decoration:none !important;opacity:0;transform:translateY(12px) scale(.9);pointer-events:none;transition:opacity .22s ease,transform .22s ease}
.bmy-float.is-open .bmy-float-item{opacity:1;transform:none;pointer-events:auto}
.bmy-float.is-open .bmy-float-list li:nth-child(3) .bmy-float-item{transition-delay:.02s}
.bmy-float.is-open .bmy-float-list li:nth-child(2) .bmy-float-item{transition-delay:.07s}
.bmy-float.is-open .bmy-float-list li:nth-child(1) .bmy-float-item{transition-delay:.12s}
.bmy-float-label{background:#fff;color:#3A2A1C;font-size:14px;font-weight:600;line-height:1;padding:10px 14px;border-radius:20px;box-shadow:0 2px 10px rgba(126,91,59,.18);white-space:nowrap}
.bmy-float-ico{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#7E5B3B;box-shadow:0 4px 16px rgba(126,91,59,.25)}
.bmy-float-main{width:56px;height:56px;border-radius:50%;border:0;padding:0;cursor:pointer;background:#7E5B3B;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(126,91,59,.25);-webkit-tap-highlight-color:transparent}
.bmy-float-main:focus-visible{outline:3px solid #844D40;outline-offset:3px}
.bmy-float-main .bmy-ico-close{display:none}
.bmy-float.is-open .bmy-ico-chat{display:none}
.bmy-float.is-open .bmy-ico-close{display:block}
.bmy-float:not(.is-open) .bmy-float-main{animation:bmyPulse 2.6s ease-out 1.2s 3}
@keyframes bmyPulse{0%{box-shadow:0 4px 14px rgba(126,91,59,.25),0 0 0 0 rgba(126,91,59,.55)}70%{box-shadow:0 4px 14px rgba(126,91,59,.25),0 0 0 16px rgba(126,91,59,0)}100%{box-shadow:0 4px 14px rgba(126,91,59,.25),0 0 0 0 rgba(126,91,59,0)}}
.bmy-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (prefers-reduced-motion:reduce){.bmy-float-item{transition:none}.bmy-float:not(.is-open) .bmy-float-main{animation:none}}

/* v1.3.30: điện thoại/iPad dọc (<=768px) — thanh liên hệ cố định phía dưới, luôn thấy 3 nút */
.bmy-float-short{display:none}
@media (max-width:768px){
	.bmy-float{left:0;right:0;bottom:0;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));background:#EEE5DD;border-top:1px solid #D9CBBE;box-shadow:0 -4px 14px rgba(126,91,59,.15);display:block}
	.bmy-float-main{display:none}
	.bmy-float-list{flex-direction:row;gap:8px;align-items:stretch;width:100%}
	.bmy-float-list li{flex:1 1 0;min-width:0}
	.bmy-float-item,.bmy-float.is-open .bmy-float-item{opacity:1;transform:none;pointer-events:auto;transition:none;justify-content:center;gap:6px;min-height:46px;border-radius:24px;background:#7E5B3B;box-sizing:border-box;padding:0 8px;width:100%}
	.bmy-float .bmy-float-call{background:#844D40}
	.bmy-float .bmy-float-mess{background:#fff;border:1px solid #7E5B3B}
	.bmy-float-label{display:none}
	.bmy-float-short{display:inline;color:#fff;font-size:14px;font-weight:700;line-height:1;white-space:nowrap}
	.bmy-float .bmy-float-mess .bmy-float-short{color:#7E5B3B}
	.bmy-float-ico,.bmy-float .bmy-float-ico{width:26px;height:26px;background:none;box-shadow:none;flex:0 0 auto}
	.bmy-float-ico svg{width:22px;height:22px}
	.bmy-float .bmy-float-zalo .bmy-float-ico svg{width:30px;height:15px}
	.bmy-float .bmy-float-mess .bmy-float-ico svg path{fill:#7E5B3B}
	body{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
	.bmy-float .bmy-float-zalo .bmy-float-ico{display:none}
}
@media (max-width:420px){
	.bmy-float .bmy-float-mess .bmy-float-ico{display:none}
}
@media (max-width:360px){
	.bmy-float .bmy-float-ico{display:none}
	.bmy-float-item,.bmy-float.is-open .bmy-float-item{gap:4px;padding:0 4px}
	.bmy-float-short{font-size:13px}
	.bmy-float .bmy-float-mess .bmy-float-ico{display:none}
	.bmy-float-list{gap:6px}
}
