#esr-free-shipping-bar-slot,
.esr-free-shipping-bar-wrap {
  margin: 0;
  padding: 0;
}

.esr-free-shipping-bar-wrap {
  position: relative;
  z-index: 12;
  padding: 0.58rem 0 0;
}

.esr-free-shipping-bar-wrap .container {
  margin-bottom: 0;
}

.esr-free-shipping-card {
  --esr-free-shipping-progress: 0%;
  --esr-free-shipping-bubble: 8%;
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(12rem, 1.05fr) minmax(18rem, 1.8fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 5.55rem;
  padding: 0.82rem 0.92rem;
  border: 1px solid rgba(255, 47, 159, 0.46);
  border-radius: 1rem;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 242, 250, 0.92) 48%, rgba(255, 255, 255, 0.84) 100%);
  box-shadow: 0 1rem 2.4rem rgba(111, 47, 208, 0.13), inset 0 0 0 1px rgba(255, 255, 255, 0.62);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.esr-free-shipping-card::before,
.esr-free-shipping-card::after {
  content: "✦";
  position: absolute;
  color: #ff4fb2;
  font-size: 1.15rem;
  line-height: 1;
  text-shadow: 0 0.25rem 0.7rem rgba(255, 47, 159, 0.32);
  pointer-events: none;
}

.esr-free-shipping-card::before {
  left: 1rem;
  top: 0.72rem;
  transform: rotate(12deg);
}

.esr-free-shipping-card::after {
  right: 1.05rem;
  top: 0.68rem;
  color: #ff78c6;
  transform: rotate(-14deg);
}

.esr-free-shipping-card__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 3.9rem;
  height: 3.9rem;
  border-radius: 999px;
  background: rgba(255, 47, 159, 0.09);
  border: 1px solid rgba(255, 47, 159, 0.24);
  color: var(--esr-pink, #ff2f9f);
  font-size: 1.45rem;
  box-shadow: inset 0 0 0 0.52rem rgba(255, 255, 255, 0.58);
}

.esr-free-shipping-card__copy {
  min-width: 0;
}

.esr-free-shipping-card__headline {
  color: var(--esr-purple-dark, #502098);
  font-size: clamp(1.02rem, 1.45vw, 1.34rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.esr-free-shipping-card__headline strong,
.esr-free-shipping-card__headline b {
  color: var(--esr-pink, #ff2f9f);
}

.esr-free-shipping-card__subtitle {
  margin-top: 0.25rem;
  color: #654d82;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.esr-free-shipping-card__meter-shell {
  min-width: 0;
  padding: 1.28rem 0.18rem 0.08rem;
}

.esr-free-shipping-card__meter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 0.25rem;
  margin-bottom: 0.18rem;
}

.esr-free-shipping-card__current-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.esr-free-shipping-card__zone-pill {
  margin-left: auto;
  transform: translateY(-0.36rem);
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  background: rgba(111, 47, 208, 0.09);
  border: 1px solid rgba(111, 47, 208, 0.16);
  color: var(--esr-purple, #6e2cc7);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.esr-free-shipping-card__meter {
  position: relative;
  height: 1.16rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(111, 47, 208, 0.09), rgba(255, 47, 159, 0.09));
  box-shadow: inset 0 0.16rem 0.5rem rgba(80, 32, 152, 0.12);
}

.esr-free-shipping-card__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--esr-free-shipping-progress);
  min-width: 0.54rem;
  max-width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2f9f 0%, #ec25b3 48%, #b82df2 100%);
  box-shadow: 0 0.36rem 1rem rgba(255, 47, 159, 0.28);
  overflow: hidden;
  transition: width 420ms ease;
}

.esr-free-shipping-card__fill::after {
  --esr-free-shipping-chevron-tile: 3.75rem;
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2760%27%20height%3D%2720%27%20viewBox%3D%270%200%2060%2020%27%3E%3Cpath%20d%3D%27M0%200H14L30%2010L14%2020H0L16%2010Z%27%20fill%3D%27%23ffffff%27%20opacity%3D%27.24%27%2F%3E%3C%2Fsvg%3E");
  background-repeat: repeat-x;
  background-size: var(--esr-free-shipping-chevron-tile) 100%;
  background-position: 0 50%;
  pointer-events: none;
  animation: esr-free-shipping-chevron-flow 3.2s linear infinite;
}

@keyframes esr-free-shipping-chevron-flow {
  from {
    background-position: 0 50%;
  }

  to {
    background-position: var(--esr-free-shipping-chevron-tile) 50%;
  }
}
.esr-free-shipping-card__value-bubble {
  position: absolute;
  left: clamp(0.45rem, var(--esr-free-shipping-bubble), calc(100% - 0.45rem));
  top: -1.9rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.65rem;
  height: 1.48rem;
  padding: 0 0.58rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #a94af0 0%, #7c2ad0 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0.42rem 1rem rgba(111, 47, 208, 0.24);
  transition: left 420ms ease;
}

.esr-free-shipping-card__value-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.26rem;
  width: 0.54rem;
  height: 0.54rem;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 0.08rem;
  background: #7c2ad0;
}


.esr-free-shipping-card__goal-pill {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.85rem;
  height: 1.62rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  background: rgba(80, 32, 152, 0.12);
  color: #604081;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
}

.esr-free-shipping-card__ticket {
  display: grid;
  place-items: center;
  min-width: 6.9rem;
  min-height: 4.1rem;
  padding: 0.46rem 0.72rem;
  border: 1px solid rgba(255, 47, 159, 0.48);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
  text-align: center;
}

.esr-free-shipping-card__ticket span {
  color: var(--esr-pink, #ff2f9f);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.esr-free-shipping-card__ticket strong {
  margin-top: 0.14rem;
  color: var(--esr-purple, #6e2cc7);
  font-size: clamp(1.58rem, 2.1vw, 2.05rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.esr-free-shipping-card.is-unlocked .esr-free-shipping-card__fill {
  background: linear-gradient(90deg, #ffb631 0%, #ff2f9f 48%, #8c2fe8 100%);
}

.esr-free-shipping-card.is-unlocked .esr-free-shipping-card__icon {
  color: #f09a00;
  background: rgba(255, 211, 91, 0.18);
  border-color: rgba(255, 190, 55, 0.42);
}

.esr-free-shipping-card.is-unlocked .esr-free-shipping-card__value-bubble {
  background: linear-gradient(180deg, #ffb631 0%, #ff8b2d 100%);
  color: #5a2780;
}

.esr-free-shipping-card.is-unlocked .esr-free-shipping-card__value-bubble::after {
  background: #ff8b2d;
}

.esr-free-shipping-card.is-remote {
  border-color: rgba(111, 47, 208, 0.35);
}

.esr-free-shipping-card.is-unavailable {
  opacity: 0.86;
}

.esr-free-shipping-card.is-unavailable .esr-free-shipping-card__fill {
  width: 0 !important;
}


@media (prefers-reduced-motion: reduce) {
  .esr-free-shipping-card__fill,
  .esr-free-shipping-card__value-bubble {
    transition: none;
  }

  .esr-free-shipping-card__fill::after {
    animation: none;
  }
}

@media (max-width: 1199.98px) {
  .esr-free-shipping-card {
    grid-template-columns: auto minmax(12rem, 1fr) minmax(17rem, 1.5fr);
  }

  .esr-free-shipping-card__ticket {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .esr-free-shipping-card {
    grid-template-columns: auto 1fr;
  }

  .esr-free-shipping-card__meter-shell {
    grid-column: 1 / -1;
    padding-top: 1.62rem;
  }
}

@media (max-width: 575.98px) {
  .esr-free-shipping-bar-wrap {
    padding: 0.46rem 0 0;
  }

  .esr-free-shipping-card {
    grid-template-columns: 1fr;
    gap: 0.66rem;
    min-height: 0;
    padding: 0.8rem;
    border-radius: 0.9rem;
  }

  .esr-free-shipping-card::before,
  .esr-free-shipping-card::after {
    display: none;
  }

  .esr-free-shipping-card__icon {
    width: 3.18rem;
    height: 3.18rem;
    font-size: 1.22rem;
  }

  .esr-free-shipping-card__headline {
    font-size: 1.02rem;
  }

  .esr-free-shipping-card__subtitle {
    font-size: 0.8rem;
  }

  .esr-free-shipping-card__meter-shell {
    padding-top: 1.7rem;
  }

  .esr-free-shipping-card__goal-pill {
    min-width: 3.25rem;
    padding: 0 0.54rem;
    font-size: 0.76rem;
  }

  .esr-free-shipping-card__value-bubble {
    min-width: 3.15rem;
    font-size: 0.7rem;
  }
}
