.tomp-freeshippingbar {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--rd-surface-secondary, #f4f4f4);
}

.tomp-freeshippingbar--modal {
  margin-top: 1rem;
  margin-bottom: 0;
}

.tomp-freeshippingbar__lead {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tomp-freeshippingbar__icon {
  flex: 0 0 auto;
  font-size: 1.5rem;
  line-height: 1.25rem;
  margin-top: 0.125rem;
}

.tomp-freeshippingbar__status {
  flex: 1;
  margin: 0;
  font-weight: 500;
}

.tomp-freeshippingbar__amount {
  font-weight: 700;
}

.tomp-freeshippingbar--reached .tomp-freeshippingbar__status {
  color: #2f7d4a;
}

.tomp-freeshippingbar__track {
  height: 0.625rem;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.tomp-freeshippingbar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rd-primary-500, #111);
  transition: width 0.45s ease, background-color 0.45s ease;
}

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

.tomp-freeshippingbar--reached .tomp-freeshippingbar__fill {
  background: #2f7d4a;
}

.tomp-freeshippingbar__condition {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  font-weight: 300;
}
