/* popup */
.popup-offer .popup__content {
  border-radius: 1rem;
}

/* on-page */
.offer {
  background-color: var(--color__fill-1);
  color: var(--color__white);
  position: relative;
}

.offer__container {
    gap: .62rem;
}

.offer__title { 
  font-size: 1.125rem !important;
}

.offer__btn {
  height: 2.75rem !important;
  width: 10.3125rem;
  font-size: 1rem !important;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.offer__btn.--exclusive {
  display: none;
  width: 100%;
  height: 3.25rem !important;
  font-weight: 600;
}

.offer__btn:after {
  content: '';
  display: block;
  position: absolute;
  width: 2.3125rem;
  top: -1.5rem;
  bottom: -1.5rem;
  background: linear-gradient(279.71deg, #FFFFFF 42.31%, rgba(255, 255, 255, 0) 66.28%);
  opacity: 0.24;
  transform: rotate(45deg);
  animation: movingFlare  2.5s ease 0.05s infinite;
}

@keyframes movingFlare {
  0% {
    left: -110%;
  }
  100% {
    left: 110%;
  }
}

.offer__close { 
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  opacity: .24;
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path opacity="1" d="M20 1L10.5 10.5M1 20L10.5 10.5M10.5 10.5L1 1L20 20" stroke="white" stroke-width="2"/></svg>');
  transition: all .3s ease;
}

.offer__close:hover { 
  opacity: 1;
  transition: all .3s ease;
}

/* app */

.offer-app__form-progress-wrap {
  position: relative;
  width: 100%;
  height: 3px;
  background-color: rgba(20, 20, 43, 0.1);
}

.offer-app__form-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15%;
  background-color: var(--color__fill-2);
  max-width: 100%;
}

.offer-app__form-counter {
  line-height: 1.875rem !important;
  opacity: .32;
}

.offer-app__form-btn {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
}

.offer-app__form-btn.--disabled { 
  pointer-events: none;
  opacity: 0.72;
}


  .offer__btn.--mob  {
    display: none;
  }

@media screen and (max-width :991px) {
  .offer {
    background-color: transparent;
    padding: 0 !important;
    margin-top: 8px;
  }

  .offer__title  {
    display: none;
  }
  
  .offer__content{
    width: 100%;
  }

  .offer__btn.--desk {
    display: none;
  }

  .offer__btn.--mob  {
    display: flex;
    width: 100%;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    height: 52px !important;
    border-radius: 8px !important;
  }
  
  .offer__btn.--mob:after {
    top: -2.5rem;
    bottom: -2.5rem;
  }
  
  .offer__close {
    display: none;
  }


  /* app */

  .offer-app__form-step {
    grid-template-columns: unset !important;
  }
 
  .offer-app__form-step .order-radio-label {
    margin-top: 8px;
    margin-bottom: 8px;

  }

  .offer-app__form-step .order-radio-inner {
    height: unset;
    min-height: 4rem;
  }

  .offer-app__form-final-step .grid  {
    grid-template-columns: unset !important;
  }
}
