.loyalty-slider {
  position: relative;
}

.swiper-loyalty-nav {
  position: absolute;
  width: 40px;
  height: 100%;
  opacity: 0.34;
  transition: all .3s;
  bottom: 0;
  cursor: pointer;
  z-index: 20;
}

.swiper-loyalty-nav::before {
  content: '';
  width: 40px;
  height: 40px;
  bottom: 100px;
  position: absolute;
  background: url(/wp-content/themes/norebro/assets/images/loyalty/slider-arrow.svg) no-repeat 50% 50%;
  background-size: cover;
}

.swiper-loyalty-prev {
  left: 0;
}

.swiper-loyalty-next {
  right: 0;
}

.swiper-loyalty-next::before{
  transform: rotate(180deg);
}

.swiper-loyalty-nav:hover {
  opacity: 1;
}

.swiper-loyalty-nav.swiper-button-disabled {
  display: none;
}

.swiper-slide {
  z-index: 1;
}

.swiper-slide-active {
  z-index: 10;
}

.slide h3, .preview-content h3 {
  margin: 10px 0 0;
  font-family: 'HelveticaNeue';
  font-weight: 200;
  line-height: 1;
  letter-spacing: 2px;
}

.preview-content h3 span {
  font-size: 22px;
  line-height: 54px;
  display: inline-flex;
  min-height: 54px;
  letter-spacing: normal;
}

.min_amount {
  margin-top: 12px;
  font-size: 28px;
  letter-spacing: -0.5px;
  color: #313131;
  line-height: 1;
  font-weight: 300;
}

.amount-line {
  position: relative;
  height: 12px;
  width: 100%;
  margin-top: 24px;
}

.amount-line .line {
  position: absolute;
  height: 2px;
  width: 100vw;
  top: 50%;
  left: 50%;
  margin-top: -2px;
  transform: translateX(-50%);
  background: #E1DFDA;
  z-index: 1;
}

.slide--newby .amount-line .line {
  transform: none;
}

.line__left, .line__center, .line__right {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E1DFDA;
  position: absolute;
  top: 50%;
  z-index: 3;
  margin-top: -7px;
  display: block;
}

.line__left {
  left: 0;
}

.line__right {
  right: 0;
}

.line__center {
  left: 50%;
  margin-left: -6px;
}

.line__fill {
  position: absolute;
  height: 2px;
  top: 50%;
  left: 50%;
  width: 0%;
  margin-top: -2px;
  z-index: 2;
  transition: width 2s;
}

.line__fill.active {
  width: 50%;
}

.slide--platinum .line__fill.active {
  width: 100%;
}

.rank-bg {
  position: relative;
  margin: 32px auto 0;
  width: 240px;
  height: 240px;
}

.rank-bg > img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: 120px !important;
}

.rank-bg--regular {
  width: 33.33%;
}

.rank-bg--silver {
  width: 50%;
}

.rank-bg--gold {
  width: 70%;
}

.rank-bg__lock {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 9;
  border-radius: 120px;
  background: rgba(255,255,255,0.5) url(/wp-content/themes/norebro/assets/images/loyalty/lock.svg) no-repeat 50% 50%;
  background-size: 40px 40px;
}

.rank-bg--platinum {
  width: 100%;
}

.preview-slide-prev, .preview-slide-next {
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 240px;
}

.preview-slide-next {
  right: -100px;
}

.preview-slide-prev{
  left: -100px;
}

.preview-slide-prev > *, .preview-slide-next > *, .preview-slide-prev .rank-bg__lock, .preview-slide-next .rank-bg__lock {
  opacity: 0;
}

.preview-slide-prev > h3, .preview-slide-prev > .rank-bg, .preview-slide-next > h3, .preview-slide-next > .rank-bg {
  opacity: 0.2;
}

.preview-content h3 {
  color: #666;
  text-align: center;
  letter-spacing: -1px;
}

.preview-slide-next > .rank-bg {
  width: 240px !important;
  margin-left: 0;
}

.preview-slide-prev > .rank-bg {
  width: 240px !important;
  margin-right: 0;
  direction: rtl;
}


.loylty-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
}


.preview-content .loylty-tags {
  flex-wrap: nowrap;
}

.loylty-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 400;
  font-family: "Inter";
  height: 32px;
  border-radius: 16px;
  color: #FFF;
  position: relative;
}

.loylty-tag--desc:after {
  content: 'начисляется бонусами';
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  color: #C2C2BD;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.color-newby {
  color: #C2C2BD;
}

.color-regular {
  color: #86ADEA;
}

.color-silver {
  color: #E7AE90;
}

.color-gold {
  color: #A9CB73;
}

.color-platinum {
  color: #FF005A;
}

.bg-newby {
  background-color: #C2C2BD;
}

.bg-regular {
  background-color: #86ADEA;
}

.bg-silver {
  background-color: #E7AE90;
}

.bg-gold {
  background-color: #A9CB73;
}

.bg-platinum {
  background-color: #FF005A;
}