/* Two contact layouts, shared by parent and child themes. */
.az-contact{--az-contact-size:52px;--az-contact-offset:24px;--az-contact-red:#c81f2c;position:fixed;right:var(--az-contact-offset);left:auto;bottom:calc(var(--az-contact-offset) + env(safe-area-inset-bottom,0px));z-index:1000;width:max-content;max-width:calc(100vw - 2 * var(--az-contact-offset));font-family:var(--az-font-main,Arial,sans-serif);font-size:14px}
.az-contact *{box-sizing:border-box}
.az-contact.az-contact--left{left:var(--az-contact-offset);right:auto}
.az-contact .az-contact__links{display:flex;flex-direction:column;align-items:center;gap:18px;margin:0;padding:0}
.az-contact .az-contact__links[hidden]{display:none!important}
.az-contact .az-contact__link{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--az-contact-size);height:var(--az-contact-size);min-height:44px;margin:0;padding:0;border:0;border-radius:50%;color:#fff;text-decoration:none;box-shadow:0 4px 16px #0002;transition:transform .18s,box-shadow .18s}
.az-contact__icon{display:grid;place-items:center;width:100%;height:100%;border-radius:inherit;flex-shrink:0}
.az-contact__icon svg{display:block;width:32px;height:32px}
.az-contact .az-contact__zalo{--az-contact-wave:#2189ed;background:#2189ed}
.az-contact .az-contact__facebook{--az-contact-wave:#1977f3;background:#1977f3}
.az-contact .az-contact__phone{--az-contact-wave:#f02d32;background:#f02d32}
.az-contact .az-contact__link:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0003}
.az-contact :is(a,button):focus-visible{outline:3px solid #263f72;outline-offset:4px}
.az-contact .az-contact__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Style 1: circular channels with soft concentric waves. */
.az-contact.az-contact--icons{--az-contact-size:48px}
.az-contact--icons .az-contact__links{gap:22px}
.az-contact--icons .az-contact__link,.az-contact--icons .az-contact__link:hover{isolation:isolate;box-shadow:none}
.az-contact--icons .az-contact__icon svg{width:30px;height:30px}
.az-contact--icons .az-contact__phone .az-contact__icon svg{width:26px;height:26px}
.az-contact--icons .az-contact__link:before,.az-contact--icons .az-contact__link:after{--az-contact-ring-opacity:.16;content:"";position:absolute;inset:-8px;border:0;border-radius:50%;background:var(--az-contact-wave);pointer-events:none;z-index:-1;opacity:var(--az-contact-ring-opacity);animation:az-contact-wave 3s ease-in-out infinite}
.az-contact--icons .az-contact__link:after{--az-contact-ring-opacity:.06;inset:-15px;animation-delay:.4s}
.az-contact--icons .az-contact__phone .az-contact__icon{animation:az-contact-ring 4.8s ease-in-out infinite;transform-origin:center}
.az-contact--icons .az-contact__phone:hover .az-contact__icon,.az-contact--icons .az-contact__phone:focus-visible .az-contact__icon{animation:none}
/* Style 2: hotline stays visible; the round contact button expands channels above it. */
.az-contact--expand{--az-contact-size:48px;--az-contact-red:#bf2633}
.az-contact .az-contact__bar{display:flex;align-items:center;gap:8px;max-width:100%}
.az-contact--left .az-contact__bar{flex-direction:row-reverse}
.az-contact--expand .az-contact__phone{justify-content:flex-start;gap:6px;flex:0 1 auto;width:auto;min-width:0;height:var(--az-contact-size);padding:6px 16px 6px 8px;border-radius:30px;background:var(--az-contact-red);box-shadow:0 3px 10px #1723331a}
.az-contact--expand .az-contact__phone .az-contact__icon{width:32px;height:32px;background:transparent}
.az-contact--expand .az-contact__phone .az-contact__icon svg{width:24px;height:24px}
.az-contact--expand .az-contact__phone .az-contact__label{position:static;display:block;width:auto;height:auto;min-width:0;overflow:hidden;clip-path:none;text-overflow:ellipsis;color:#fff;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.3;white-space:nowrap}
.az-contact .az-contact__toggle{display:grid;place-items:center;flex:0 0 calc(var(--az-contact-size) + 4px);width:calc(var(--az-contact-size) + 4px);height:calc(var(--az-contact-size) + 4px);min-width:44px;min-height:44px;margin:0;padding:0;border:2px solid white;border-radius:50%;background:var(--az-contact-red);box-shadow:0 3px 10px #1723331a;color:white;font-family:inherit;font-size:13px;font-weight:650;line-height:1.2;text-align:center;text-transform:none;letter-spacing:normal;cursor:pointer}
.az-contact__toggle span{display:block}
.az-contact--expand .az-contact__links{position:absolute;right:2px;bottom:calc(var(--az-contact-size) + 14px);gap:8px;max-height:calc(100vh - 2 * var(--az-contact-offset) - var(--az-contact-size) - 24px);max-height:calc(100dvh - 2 * var(--az-contact-offset) - var(--az-contact-size) - 24px);overflow-y:auto;overflow-x:hidden;padding:6px;margin:-6px}
.az-contact--expand.az-contact--left .az-contact__links{right:auto;left:2px}
.az-contact--expand .az-contact__links .az-contact__link{border:2px solid #fff;background:#fff;box-shadow:0 2px 8px #17233318}
.az-contact--expand .az-contact__links .az-contact__icon{width:32px;height:32px}
.az-contact--expand .az-contact__links .az-contact__icon svg{width:100%;height:100%}
.az-contact--expand .az-contact__links .az-contact__zalo{background:#2189ed;color:#fff}
.az-contact--expand .az-contact__links .az-contact__facebook{background:#1977f3;color:#fff}
.az-contact--expand .az-contact__links .az-contact__facebook svg{width:26px;height:26px}
.az-contact--expand .az-contact__maps .az-contact__icon{overflow:hidden}
@keyframes az-contact-wave{0%,100%{opacity:var(--az-contact-ring-opacity)}50%{opacity:calc(var(--az-contact-ring-opacity) * .75)}}
@keyframes az-contact-ring{0%,5%,25%,100%{transform:rotate(0)}8%,16%{transform:rotate(-9deg)}12%,20%{transform:rotate(9deg)}}
@media(max-width:640px){
 .az-contact{--az-contact-size:50px;--az-contact-offset:16px}
 .az-contact.az-contact--expand{--az-contact-size:44px}
 .az-contact--expand .az-contact__phone{padding:6px 12px 6px 6px}
 .az-contact--expand .az-contact__phone .az-contact__icon{width:28px;height:28px}
 .az-contact--expand .az-contact__phone .az-contact__label{font-size:14px}
 .az-contact--expand .az-contact__links .az-contact__icon{width:28px;height:28px}
 .az-contact--expand .az-contact__toggle{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 .az-contact .az-contact__link{transition:none}
 .az-contact--icons .az-contact__link:before,.az-contact--icons .az-contact__link:after{animation:none}
 .az-contact--icons .az-contact__phone .az-contact__icon{animation:none}
}
