.zst-free-shipping-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 14px 16px;
  background: #f7faef;
  border: 0;
  border-radius: 12px;
  color: #1c1c1c;
  font-family: "Montserrat", sans-serif;
}

.zst-free-shipping-bar.is-hidden {
  display: none;
}

#step_2 > #zst-free-shipping-bar {
  margin: 16px 30px 0;
}

@media screen and (max-width: 1280px) {
  #step_2 > #zst-free-shipping-bar {
    margin-right: 20px;
    margin-left: 20px;
  }
}

.zst-free-shipping-bar__icon {
  flex: 0 0 48px;
  align-self: center;
  width: 48px;
  height: 48px;
  color: #90bb03;
}

.zst-free-shipping-bar__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.zst-free-shipping-bar__body {
  flex: 1 1 auto;
  min-width: 0;
}

.zst-free-shipping-bar__headline {
  margin: 0 0 2px;
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.zst-free-shipping-bar__headline strong {
  font-weight: 700;
}

.zst-free-shipping-bar__amount,
.zst-free-shipping-bar__amount .woocommerce-Price-amount,
.zst-free-shipping-bar__amount bdi {
  color: var(--dark-green);
  font-weight: 700;
}

.zst-free-shipping-bar__sub {
  margin: 0 0 8px;
  color: #8b8b8b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.zst-free-shipping-bar__track {
  width: 100%;
  height: 10px;
  overflow: hidden;
  background: #e4ead9;
  border-radius: 999px;
}

.zst-free-shipping-bar__fill {
  display: block;
  width: var(--zst-percent, 0%);
  height: 100%;
  overflow: hidden;
  border-radius: 999px;
  background-color: #7ea302;
  background-image: linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.28) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.28) 75%,
    transparent 75%,
    transparent
  );
  background-size: 18px 18px;
  animation: zst-fill-stripes 0.7s linear infinite;
  transition: width 0.4s ease;
}

@keyframes zst-fill-stripes {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 18px 0;
  }
}

.zst-free-shipping-bar__labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
}

.zst-free-shipping-bar__spent,
.zst-free-shipping-bar__spent .woocommerce-Price-amount,
.zst-free-shipping-bar__spent bdi {
  color: #8b8b8b;
  font-weight: 500;
}

.zst-free-shipping-bar__goal,
.zst-free-shipping-bar__goal .woocommerce-Price-amount,
.zst-free-shipping-bar__goal bdi {
  color: #8b8b8b;
  font-weight: 500;
  text-align: right;
}

.wm-cart-summary .zst-free-shipping-bar {
  gap: 16px;
  padding: 12px 14px;
}

.wm-cart-summary .zst-free-shipping-bar__icon {
  flex-basis: 40px;
  width: 40px;
  height: 40px;
}

.wm-cart-summary .zst-free-shipping-bar__headline {
  font-size: 15px;
}

.wm-cart-summary .zst-free-shipping-bar__labels {
  font-size: 13px;
}

.wm-cart-summary .zst-free-shipping-bar__spent,
.wm-cart-summary .zst-free-shipping-bar__goal {
  white-space: nowrap;
}

.zst-free-shipping-bar--compact {
  width: 100%;
  align-items: center;
  gap: 10px;
  margin: 8px 0 2px;
  padding: 10px 12px;
  background: #f5f7fb;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
}

.zst-free-shipping-bar--compact.is-qualified {
  background: #eef8e3;
  border-color: #d4e8b8;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__icon {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 7px;
  background: #e7f0d4;
  border-radius: 10px;
  color: #6a9808;
  box-sizing: border-box;
}

.zst-free-shipping-bar--compact.is-qualified .zst-free-shipping-bar__icon {
  background: #dff0c4;
  color: #5f8c07;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__icon svg {
  width: 20px;
  height: 20px;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__headline {
  margin: 0;
  color: #1d2a44;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__headline strong {
  font-weight: 700;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__amount,
.zst-free-shipping-bar--compact .zst-free-shipping-bar__amount .woocommerce-Price-amount,
.zst-free-shipping-bar--compact .zst-free-shipping-bar__amount bdi {
  color: #e56b12;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__sub {
  margin: 2px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.3;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__track {
  height: 6px;
  margin-top: 8px;
  background: #e4eaf3;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__fill {
  animation: none;
  background-image: none;
  background-color: #90bb03;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__labels {
  margin-top: 5px;
  font-size: 11px;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__badge {
  display: flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.zst-free-shipping-bar--compact .zst-free-shipping-bar__badge svg {
  display: block;
  width: 22px;
  height: 22px;
}

.wm-ship-time {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  height: auto;
  margin: 12px 0 0;
  padding: 6px 12px;
  background: #f3f4f6;
  border: 0;
  border-radius: 8px;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.wm-ship-time__cal {
  display: flex;
  flex: 0 0 auto;
  color: #1a1a1a;
}

.wm-ship-time__cal svg {
  display: block;
  width: 16px;
  height: 16px;
}

.wm-ship-time__text {
  min-width: 0;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.wm-ship-time__info {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
}

.wm-ship-time__info svg {
  width: 16px;
  height: 16px;
}

@media screen and (max-width: 767.98px) {
  .wm-ship-time {
    width: 100%;
  }
}

.wm-ship-time__text strong {
  font-weight: 700;
}

.wm-ship-time__tip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  box-sizing: border-box;
  width: 440px;
  max-width: calc(100vw - 48px);
  margin: 0;
  padding: 14px 16px 16px;
  background: #fff;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}

.wm-ship-time__tip-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.wm-ship-time__tip-title {
  margin: 0;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.wm-ship-time__close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: -2px -4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.wm-ship-time__close:hover {
  color: #111;
}

.wm-ship-time__tip p {
  margin: 0 0 8px;
}

.wm-ship-time__tip p:last-child {
  margin-bottom: 0;
}

.wm-ship-time.is-open .wm-ship-time__tip {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .zst-free-shipping-bar__fill {
    transition: none;
    animation: none;
  }
}

@media screen and (max-width: 991.98px) {
  .zst-free-shipping-bar--compact .zst-free-shipping-bar__headline {
    font-size: 11px;
  }
}

@media screen and (max-width: 599.98px) {
  .zst-free-shipping-bar {
    gap: 16px;
    padding: 12px;
  }

  .zst-free-shipping-bar__icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .zst-free-shipping-bar__headline {
    font-size: 15px;
  }

  .zst-free-shipping-bar--compact .zst-free-shipping-bar__headline {
    font-size: 11px;
  }
}
