.friday-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999999;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.friday-popup__block {
  width: 100%;
  max-width: 690px;
  position: relative;
  padding: 40px;
  background: #000;
  margin: 0 auto;
  box-sizing: border-box;
}

.friday-popup__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.friday-popup__img {
  width: 100%;
}

.friday-popup__img img {
  display: block;
  width: 100%;
}


.friday-popup__counter {
  width: 260px;
  flex: none;
  margin-right: 40px;
}

.friday-popup__heading {
  font-family: 'Montserrat-Regular';
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #6e6e6e;
  margin-bottom: 15px;
  will-change: transform;
}

.friday-popup__items {
  --elements: 4;
  --cgap: 15px;
  --rgap: 10px;
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--cgap);
  row-gap: var(--rgap);
  will-change: transform;
}

.friday-popup__item {
  will-change: transform;
  width: calc((100% - (var(--elements) - 1) * var(--cgap)) / (var(--elements)));
}

.friday-popup__digit {
  border: 1px solid #f20000;
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 28px;
  line-height: 28px;
  color: #fff;
  font-family: "Inter", sans-serif;
  will-change: transform;
}

.friday-popup__name {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  color: #7f7f7f;
  margin-top: 5px;
  will-change: transform;
}

.friday-popup__link {
  width: 158px;
  margin: 30px auto 0 auto;
}

.friday-popup__link a {
  display: block;
  border: 1px solid #fff;
  height: 40px;
  text-align: center;
  line-height: 38px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  transition: 0.2s all ease;
  font-family: 'Montserrat-Regular';
}

.friday-popup__link a:hover {
  border: 1px solid #f20000;
  background: #f20000;
}

.friday-popup__close {
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 15px;
  width: 25px;
  height: 25px;
  background: url(/images/friday-popup-close.svg) 0 0 no-repeat;
  cursor: pointer;
}



@media screen and (max-width: 767px) {
  .friday-popup__inner {
    flex-wrap: wrap;
  }

  .friday-popup__counter {
    width: 260px;
    flex: none;
    margin: 20px auto 0 auto;
    order: 2;
  }


  .friday-popup__img {
    margin: 0px auto 0 auto;
    width: 100%;
    max-width: 310px;
    order: 1;
  }



  .friday-popup__link a:hover {
    border: 1px solid #fff;
    background: none;
  }

}