.mtk-fsp-progress {
  --mtk-fsp-accent: #0f9f6e;
  --mtk-fsp-accent-2: #22c58b;
  --mtk-fsp-ink: #17211f;
  --mtk-fsp-muted: #687672;
  --mtk-fsp-surface: rgba(255, 255, 255, 0.96);
  --mtk-fsp-line: rgba(15, 159, 110, 0.16);
  direction: rtl;
  width: 100%;
  margin: 0 0 22px;
  padding: 15px 16px 13px;
  border: 1px solid var(--mtk-fsp-line);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 159, 110, 0.07), rgba(34, 197, 139, 0.025) 55%, var(--mtk-fsp-surface));
  box-shadow: 0 10px 30px rgba(23, 33, 31, 0.07);
  box-sizing: border-box;
  overflow: hidden;
}

.mtk-fsp-progress--minicart {
  margin: 0 0 14px;
  padding: 13px 13px 12px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(23, 33, 31, 0.06);
}

.mtk-fsp-progress__topline {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.mtk-fsp-progress__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--mtk-fsp-accent), var(--mtk-fsp-accent-2));
  box-shadow: 0 7px 18px rgba(15, 159, 110, 0.24);
}

.mtk-fsp-progress__icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.mtk-fsp-progress__copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  line-height: 1.55;
}

.mtk-fsp-progress__title,
.mtk-fsp-progress__text {
  margin: 0;
  padding: 0;
  text-align: right;
}

.mtk-fsp-progress__title {
  color: var(--mtk-fsp-ink);
  font-size: 14px;
  font-weight: 800;
}

.mtk-fsp-progress__text {
  color: var(--mtk-fsp-muted);
  font-size: 11.5px;
  font-weight: 500;
}

.mtk-fsp-progress__percent {
  flex: 0 0 auto;
  min-width: 46px;
  padding: 6px 9px;
  border: 1px solid rgba(15, 159, 110, 0.14);
  border-radius: 999px;
  color: var(--mtk-fsp-accent);
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.mtk-fsp-progress__track {
  position: relative;
  height: 9px;
  margin-top: 13px;
  border-radius: 999px;
  background: rgba(23, 33, 31, 0.09);
  overflow: hidden;
  isolation: isolate;
}

.mtk-fsp-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mtk-fsp-accent), var(--mtk-fsp-accent-2));
  box-shadow: 0 0 16px rgba(15, 159, 110, 0.3);
  transition: width 850ms cubic-bezier(.22,.8,.28,1);
  will-change: width;
}

.mtk-fsp-progress__shine {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 -35%;
  width: 30%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: mtk-fsp-shine 2.4s ease-in-out 1s infinite;
  pointer-events: none;
}

.mtk-fsp-progress.is-reached {
  --mtk-fsp-accent: #0c8a61;
  --mtk-fsp-accent-2: #20b77f;
  border-color: rgba(12, 138, 97, 0.22);
  background: linear-gradient(135deg, rgba(12, 138, 97, 0.1), rgba(32, 183, 127, 0.045) 55%, rgba(255,255,255,.97));
}

.mtk-fsp-progress.is-reached .mtk-fsp-progress__icon {
  animation: mtk-fsp-pop 520ms cubic-bezier(.2,.9,.25,1.25) both;
}

.mtk-fsp-progress--minicart .mtk-fsp-progress__icon {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.mtk-fsp-progress--minicart .mtk-fsp-progress__title {
  font-size: 12.5px;
}

.mtk-fsp-progress--minicart .mtk-fsp-progress__text {
  font-size: 10.5px;
}

.mtk-fsp-progress--minicart .mtk-fsp-progress__percent {
  min-width: 42px;
  padding: 5px 7px;
  font-size: 11px;
}

@keyframes mtk-fsp-shine {
  0%, 35% { left: -35%; opacity: 0; }
  50% { opacity: .75; }
  75%, 100% { left: 110%; opacity: 0; }
}

@keyframes mtk-fsp-pop {
  0% { transform: scale(.82); }
  65% { transform: scale(1.07); }
  100% { transform: scale(1); }
}

@media (max-width: 549px) {
  .mtk-fsp-progress {
    margin-bottom: 17px;
    padding: 13px 13px 12px;
    border-radius: 14px;
  }

  .mtk-fsp-progress__topline {
    gap: 9px;
  }

  .mtk-fsp-progress__icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .mtk-fsp-progress__title {
    font-size: 12.5px;
  }

  .mtk-fsp-progress__text {
    font-size: 10.5px;
  }

  .mtk-fsp-progress__percent {
    min-width: 40px;
    padding: 5px 7px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mtk-fsp-progress__fill,
  .mtk-fsp-progress__icon,
  .mtk-fsp-progress__shine {
    transition: none !important;
    animation: none !important;
  }
}
