/* Belk dock — barra de acciones flotante (convención 2026-07-13) */
.belk-dock{
  --dk-tx:#2a3442;
  --dk-hov:rgba(0,0,0,.06);
  --dk-accent:#E87722;
  --dk-ok:#1f8f4d;
  --dk-sep:#e3e8ef;
  position:fixed;
  bottom:14px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:stretch;
  gap:4px;
  padding:6px;
  border-radius:16px;
  z-index:850;
  background:rgba(255,255,255,.94);
  border:1px solid #dfe5ec;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
  backdrop-filter:blur(8px);
  max-width:calc(100vw - 16px);
}
.belk-dock--dark{
  background:rgba(23,26,34,.94);
  border:1px solid rgba(255,255,255,.09);
  --dk-tx:#dfe5ec;
  --dk-hov:rgba(255,255,255,.09);
  --dk-accent:#4f8ef7;
  --dk-ok:#2ea862;
  --dk-sep:rgba(255,255,255,.12);
}
.belk-dock .bd-btn{
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  gap:6px;
  padding:9px 13px;
  border:none;
  border-radius:11px;
  background:transparent;
  color:var(--dk-tx);
  font-size:.8rem;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
  transition:background .15s;
}
.belk-dock .bd-btn:hover{
  background:var(--dk-hov);
}
.belk-dock .bd-ico{
  font-size:.95rem;
}
.belk-dock .bd-btn--primary{
  background:var(--dk-accent);
  color:#fff;
}
.belk-dock .bd-btn--primary:hover{
  filter:brightness(.92);
}
.belk-dock .bd-btn--success{
  background:var(--dk-ok);
  color:#fff;
}
.belk-dock .bd-btn--success:hover{
  filter:brightness(.92);
}
.belk-dock .bd-sep{
  width:1px;
  background:var(--dk-sep);
  margin:4px 2px;
}
body.has-dock .wrap{
  padding-bottom:96px;
}

/* Mobile adaptation */
@media (max-width:640px){
  .belk-dock{
    bottom:0;
    left:0;
    right:0;
    transform:none;
    width:100%;
    max-width:100%;
    border-radius:14px 14px 0 0;
    justify-content:space-around;
    gap:2px;
    padding:6px 4px calc(8px + env(safe-area-inset-bottom));
  }
  .belk-dock .bd-btn{
    flex-direction:column;
    gap:2px;
    padding:6px 6px;
    font-size:.6rem;
    flex:1;
    border-radius:9px;
  }
  .belk-dock .bd-ico{
    font-size:1.15rem;
  }
  .belk-dock .bd-sep{
    display:none;
  }
  body.has-dock .wrap{
    padding-bottom:110px;
  }
}

/* Print */
@media print{
  .belk-dock{
    display:none!important;
  }
}
/* Despeje de flotantes cuando hay dock (que la barra no los tape) */
body.has-dock .bk-wa-fab{bottom:88px!important}
body.has-dock .bk-gc-fab{bottom:140px!important}
body.has-dock .bk-gc-panel{bottom:88px!important}
body.has-dock #syncIndicator{bottom:80px!important}
body.has-dock .bchat-tip{bottom:88px!important}
body.has-dock .toast{bottom:88px!important}
body.has-dock .notif-bar{bottom:88px!important}
@media (max-width:640px){
  body.has-dock .bk-wa-fab{bottom:100px!important}
  body.has-dock .bk-gc-fab{bottom:150px!important}
  body.has-dock .bk-gc-panel{bottom:100px!important}
  body.has-dock #syncIndicator{bottom:94px!important}
  body.has-dock .bchat-tip{bottom:100px!important}
  body.has-dock .toast{bottom:100px!important}
  body.has-dock .notif-bar{bottom:100px!important}
}

/* index (layout app): despejar la leyenda bajo el dock */
body.has-dock .leg{padding-bottom:70px}
@media (max-width:640px){
  body.has-dock .leg{padding-bottom:96px}
}
