.phbf-site-banner-host {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
}
.phbf-progress {
  box-sizing: border-box;
  color: #171717;
  background: #f1f1ef;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
}
.phbf-progress__copy { display: flex; align-items: center; gap: 12px; min-width: 0; }
.phbf-progress__eyebrow { color: #666660; font-size: 9px; font-weight: 700; letter-spacing: .13em; white-space: nowrap; }
.phbf-progress__badge { display: inline-flex; align-items: center; padding: 5px 10px; color: #fff; background: #171717; border-radius: 999px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.phbf-progress__message { color: #222; font-size: 12px; font-weight: 600; white-space: nowrap; }
.phbf-progress__meter { width: min(230px, 24vw); flex: 0 1 230px; }
.phbf-progress__track { position: relative; height: 3px; margin: 0 2px 6px; background: #d3d3ce; }
.phbf-progress__fill { display: block; height: 100%; background: #222; transition: width .25s ease; }
.phbf-progress__marker { position: absolute; top: 50%; width: 7px; height: 7px; background: #f1f1ef; border: 1.5px solid #222; border-radius: 50%; transform: translate(-50%, -50%); }
.phbf-progress__marker--25 { left: 50%; }
.phbf-progress__marker--30 { left: 100%; }
.phbf-progress__levels { display: flex; justify-content: space-between; color: #33332f; font-size: 9px; line-height: 1.2; }
.phbf-progress__levels small { color: #696962; font-size: 9px; }
.phbf-progress--top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  width: 100%;
  min-height: 54px;
  padding: 8px 20px;
  background: #ededeb;
  border-bottom: 1px solid #dcdcd8;
  box-shadow: 0 2px 7px rgba(0,0,0,.045);
}
.phbf-progress--cart {
  display: block;
  margin: 0 0 12px;
  padding: 13px 14px 11px;
  color: #222;
  background: #f5f5f2;
  border: 1px solid #e8e8e3;
  border-radius: 9px;
}
.phbf-progress--cart .phbf-progress__copy { flex-wrap: wrap; gap: 7px; }
.phbf-progress--cart .phbf-progress__eyebrow { flex-basis: 100%; font-size: 9px; }
.phbf-progress--cart .phbf-progress__message { color: #55554f; font-size: 11px; }
.phbf-progress--cart .phbf-progress__meter { width: 100%; max-width: none; margin-top: 11px; }
.phbf-progress--cart .phbf-progress__track { background: #d5d5cf; }
.phbf-progress--cart .phbf-progress__fill { background: #242422; }
.phbf-progress--cart .phbf-progress__marker { background: #f5f5f2; border-color: #242422; }
.phbf-progress--cart .phbf-progress__levels { color: #3f3f3b; }
.phbf-progress--cart .phbf-progress__levels small { color: #6e6e68; }
/* Keep the drawer and its dimming layer above the persistent announcement bar. */
.xoo-wsc-opac { z-index: 100001 !important; }
.xoo-wsc-container { z-index: 100002 !important; }
body.admin-bar .phbf-site-banner-host { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .phbf-site-banner-host { top: 46px; }
}
@media (max-width: 700px) {
  .phbf-progress--top { justify-content: space-between; gap: 8px; padding: 9px 12px; }
  .phbf-progress--top .phbf-progress__copy { flex-wrap: wrap; gap: 5px 8px; }
  .phbf-progress--top .phbf-progress__eyebrow { flex-basis: 100%; font-size: 8px; }
  .phbf-progress--top .phbf-progress__message { font-size: 10px; }
  .phbf-progress--top .phbf-progress__meter { width: 105px; flex-basis: 105px; }
}
@media (max-width: 420px) {
  .phbf-progress--top { flex-wrap: wrap; }
  .phbf-progress--top .phbf-progress__meter { display: none; }
}
@media (prefers-reduced-motion: reduce) { .phbf-progress__fill { transition: none; } }
