/* Hi Poulta loader (1b): rooster in a mint circle, typing "hi" bubble.
   Needs Manrope 800 + DM Sans (or falls back to system-ui). */
@keyframes hp-dot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}
@keyframes hp-fade{to{opacity:0;visibility:hidden}}

/* Full-screen splash */
.hp-loader{position:fixed;inset:0;z-index:9999;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;font-family:'DM Sans',system-ui,sans-serif}
.hp-loader.is-done{animation:hp-fade .5s ease forwards}
.hp-loader__mark{position:relative;width:190px;height:190px;border-radius:50%;background:#e6f4ee;display:flex;align-items:center;justify-content:center}
.hp-loader__mark img{height:130px;width:auto;margin-left:-18px;display:block}
.hp-loader__bubble{position:absolute;right:4px;top:22px;background:#3d9759;height:40px;padding:0 14px;border-radius:14px 14px 14px 3px;display:flex;align-items:center;gap:5px}
.hp-loader__bubble span{width:7px;height:7px;border-radius:50%;background:#fff;animation:hp-dot 1.2s ease-in-out infinite}
.hp-loader__bubble span:nth-child(2){animation-delay:.2s}
.hp-loader__bubble span:nth-child(3){animation-delay:.4s}
.hp-loader__caption{font-size:13px;color:#5b6a61}

/* Inline version (chat / WhatsApp "typing") */
.hp-typing{display:inline-flex;align-items:center;gap:12px}
.hp-typing__avatar{width:28px;height:28px;border-radius:50%;background:#e6f4ee;display:flex;align-items:center;justify-content:center}
.hp-typing__avatar img{height:19px;width:auto;margin-left:-2px}
.hp-typing__bubble{background:#3d9759;height:26px;padding:0 10px;border-radius:10px 10px 10px 2px;display:flex;align-items:center;gap:4px}
.hp-typing__bubble span{width:5px;height:5px;border-radius:50%;background:#fff;animation:hp-dot 1.2s ease-in-out infinite}
.hp-typing__bubble span:nth-child(2){animation-delay:.2s}
.hp-typing__bubble span:nth-child(3){animation-delay:.4s}

/* Size variants: add .hp-loader--sm for a 120px mark */
.hp-loader--sm .hp-loader__mark{width:120px;height:120px}
.hp-loader--sm .hp-loader__mark img{height:82px;margin-left:-11px}
.hp-loader--sm .hp-loader__bubble{right:2px;top:14px;height:26px;padding:0 9px;border-radius:9px 9px 9px 2px;gap:3px}
.hp-loader--sm .hp-loader__bubble span{width:5px;height:5px}

/* In-page version [LOADER-ALL]: the same mark and caption inside a page area, not over the whole screen */
.hp-inload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;min-height:56vh;padding:24px 12px;text-align:center;font-family:'DM Sans',system-ui,sans-serif}
.hp-inload .hp-loader__caption{font-size:14px}
