.tmb-cp-widget {
  background: #f7f0f7;
  border: 1px solid #86338b;
  padding: 20px;
  position: fixed;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  z-index: 1000;
  border-radius: 0 20px 20px 0;
    transition: 0.3s translate ease;
}
.tmb-cp-widget.collapsed {
    translate: -100% -50%;
}
.tmb-cp-widget-popup {
  background: #f7f0f7;
  border: 1px solid #86338b;
  padding: 50px 40px 30px;
  margin: 24px 0;
}
#collapse-termometer {
    position: absolute;
    left: 100%;
    background: #f7f0f7;
    border: 1px solid #86338b;
    display: flex;
    border-radius: 0 5px 5px 0;
}
#collapse-termometer svg{
    transform:rotate(0deg);
    transition: 0.3s transform ease;
}
.tmb-cp-widget.collapsed #collapse-termometer svg{
    transform: rotate(180deg);
}
.tmb-cp-widget__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.tmb-cp-widget__header h3 {
  margin: 0;
  font-size: 24px;
}

.tmb-cp-widget__header a {
  color: #86338b;
  font-weight: 700;
}

.tmb-cp-progress {
  margin-bottom: 24px;
}

.tmb-cp-progress--compact {
  margin-bottom: 0;
  position: relative;
}

.tmb-cp-progress__bar {
  position: relative;
  height: 60vh;
  background: #d4c2d5;
  border-radius: 999px;
  overflow: hidden;
  width: 12px;
}

.tmb-cp-progress__bar span {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(0deg, #f4c0f7 0%, #86338b 100%);
    transition: 0.5s width ease;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.tmb-cp-progress__markers {

    position: absolute;
    top: 0;
    height: 100%;
    left:0;
    width: 92%;
}
.fancybox__backdrop{
  background-color: rgba(24, 24, 27, 0.68);
}
.tmb-cp-progress__marker {

    position: absolute;
    left: 0;
    text-align: center;
    flex-flow: column;
    align-items: center;
    translate: 0 80%;
    cursor: pointer;
}

.tmb-cp-progress__dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #c5b7a4;
  box-shadow: 0 0 0 2px #ead7bf;
}

.tmb-cp-progress__marker--unlocked .tmb-cp-progress__dot {
  background: #2d9b55;
}

.tmb-cp-progress__marker--unlocked .tmb-cp-progress__label {
  color: #2d9b55;
}

.tmb-cp-progress__marker.is-current .tmb-cp-progress__dot {
  background: #d56000;
  box-shadow: 0 0 0 3px rgba(213, 96, 0, 0.15);
}

.tmb-cp-progress__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #6b5848;
  white-space: nowrap;
  margin-left: 10px;
  text-align: left;
}
.tmb-cp-progress__marker:hover .tmb-cp-progress__dot {
    box-shadow: 0 0 0 2px #86338b;
}
.tmb-cp-progress__marker:hover .tmb-cp-progress__name {
    opacity: 1;
}
.tmb-cp-progress__name {
    position: absolute;
    width: 200px;
    text-align: left;
    top: 100%;
    font-size: 12px;
    line-height: normal;
    left: 20px;
    background-color: #f7f0f7;
    border: 1px solid #86338b;
    border-radius: 5px;
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s opacity ease;
    font-weight: bold;
    color: #6b5848;
}
.tmb-cp-progress-widget__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.tmb-cp-progress-widget__current {
  font-size: 16px;
  font-weight: 700;
  color: #1f1409;
}

.tmb-cp-progress-widget__hint {
  font-size: 13px;
  color: #6b5848;
}

.tmb-cp-steps {
  display: grid;
  gap: 16px;
}

.tmb-cp-step {
  border: 1px solid #e9ddcf;

  padding: 18px;
  background: #fff;
}

.tmb-cp-step.is-current {
  border-color: #86338b;
  box-shadow: 0 0 0 2px rgba(213, 96, 0, 0.08);
}

.tmb-cp-step--unlocked .tmb-cp-step__name::before,
.tmb-cp-step--locked .tmb-cp-step__name::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}
#popup-content .tmb-cp-step--unlocked .tmb-cp-step__name::before,
#popup-content .tmb-cp-step--locked .tmb-cp-step__name::before {
  display: none;
}

.tmb-cp-step--unlocked .tmb-cp-step__name::before {
  background: #2d9b55;
}

.tmb-cp-step--locked .tmb-cp-step__name::before {
  background: #c5b7a4;
}

.tmb-cp-step__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.tmb-cp-step__name {
  font-size: 18px;
  font-weight: 700;
}

.tmb-cp-step__threshold {
  font-weight: 700;
  color: #86338b;
}

.tmb-cp-step__products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.f-button svg path {
    fill: white;
    color: white;
}
.tmb-cp-reward-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 25px 12px 12px;
  background: #fff8ef;
  border: 3px solid #f2dfc7;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tmb-cp-reward-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.tmb-cp-reward-card.is-oos {
  opacity: 0.65;
}

.tmb-cp-reward-card.is-selected {
  border: 3px solid #86338b;
}

.tmb-cp-reward-card:hover:not(:disabled) {
  border-color: #86338b;
  box-shadow: 0 8px 20px rgba(134, 51, 139, 0.12);
  transform: translateY(-1px);
}

.tmb-cp-reward-card:disabled {
  cursor: not-allowed;
}

.tmb-cp-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #2a2a2a;
  color: #fff;
  font-size: 12px;
}

.tmb-cp-select-form {
  margin: 0;
}

.tmb-cp-feedback {
  grid-column: 1 / -1;
}
.tmb-cp-product-popup.fancybox__content {
    max-width: 800px;
}
.tmb-cp-step__info,
.tmb-cp-widget__reward {
  margin: 0;
}

.product-info {
  cursor: pointer;
}

.tmb-cp-product-popup {
  max-width: 720px;
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 24px;
  align-items: start;
}

.tmb-cp-product-popup__image img {
  height: auto;
  display: block;
  border-radius: 12px;
}
span.product-info {
    position: absolute;
    top: 5px;
    right: 5px;
}
.tmb-cp-product-popup__title {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.tmb-cp-product-popup__description > *:first-child {
  margin-top: 0;
}

@media (max-width: 767px) {
  .tmb-cp-product-popup {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

#checkout .tmb-cp-widget {
    position: relative;
    top: 0;
    translate: 0;
    border-radius: 0;
}
@media (max-width: 767px) {
  .tmb-cp-widget {
    top: 80px;
    translate: 0;
    width: 100%;
    border-radius: 0 0 20px 20px;
    height: auto;
    padding: 2px 20px;
  }

  .tmb-cp-progress__bar {
      height: 12px;
      width: 92%;
  }
  .tmb-cp-progress__marker {
      translate: -100% 0%;
  }
  .tmb-cp-progress__bar span{
    background: linear-gradient(90deg, #f4c0f7 0%, #86338b 100%);

  }
  .tmb-cp-progress__label{
    display: none;
  }
  .next .tmb-cp-progress__label {
    display: flex;
    position: absolute;
    margin: 0;
    padding-left: 10px;
    color: #86338b;
    background-color: #d4c2d5;
    height: 12px;
    align-items: center;
    justify-content: center;
    left: 15px;
  }
  #header .header-top {
      height: 80px;
      padding-top: 36px;
  }
  .tmb-cp-progress__marker.next {
      z-index: 2;
  }

  .next .tmb-cp-progress__label:before {
      content: "";
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-right: 5px solid #86338b;
      height: 0;
      width: 0;
      position: absolute;
      left: 0;
  }
  .tmb-cp-progress__marker.next:last-child .tmb-cp-progress__label:before {
    display: none;
  }

  .tmb-cp-progress__marker.next:last-child .tmb-cp-progress__label:after {
      content: "";
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-left: 5px solid #86338b;
      height: 0;
      width: 0;
      position: absolute;
      right: 0;
  }

  .next .tmb-cp-progress__label {
        left: 15px;
        padding-right: 0;
        padding-left: 10px;
  }
  .tmb-cp-widget__header,
  .tmb-cp-step__head,
  .tmb-cp-progress-widget__summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .tmb-cp-progress__label {
    font-size: 11px;
  }
  .tmb-cp-progress__marker.next:last-child .tmb-cp-progress__label {
    left: auto;
    right: 15px;
    width: auto;
    top: 0;
    padding-right:10px;
  }

}
