.fspb {
  box-sizing: border-box;
  width: 100%;
  padding: 0 16px 16px;
}

.fspb[hidden] {
  display: none;
}

/* Le titre du tiroir a une marge basse négative (-32px) et un dégradé sous
   lesquels défilent les articles : la barre doit passer au-dessus. */
.wc-block-mini-cart__title + .fspb {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

.fspb__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.fspb__message {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}

.fspb__icon {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fspb__track {
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background-color: #e0e0e0;
}

.fspb__fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  background-color: var(--fspb-bar-color, #f6dd62);
  transition: width 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .fspb__fill {
    transition: none;
  }
}
