@font-face {
  font-family: BakbakOne;
  font-display: swap;
  src: url("../fonts/BakbakOne-Regular.woff2") format("woff2"), url("../fonts/BakbakOne-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: DMSans;
  font-display: swap;
  src: url("../fonts/DMSans-Regular.woff2") format("woff2"), url("../fonts/DMSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: DMSans;
  font-display: swap;
  src: url("../fonts/DMSans-Medium.woff2") format("woff2"), url("../fonts/DMSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: DMSans;
  font-display: swap;
  src: url("../fonts/DMSans-Bold.woff2") format("woff2"), url("../fonts/DMSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: DrukWide;
  font-display: swap;
  src: url("../fonts/DrukWide-Bold.woff2") format("woff2"), url("../fonts/DrukWide-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

.download-photo {
  background-color: #4863F9;
  width: 130px;
  height: 38px;
  border-radius: 8px;
  top: 8px;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  color: #FFFFFF;
  right: 63px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  left: auto;
}

@media (min-width: 992px) {
  .download-photo {
    height: 40px;
  }
}
@media (min-width: 1280px) {
  .download-photo {
    top: 13px;
  }
}

@media (max-width: 768px) {
    .download-photo {
       width: 38px !important;
     }
}

.share-photo {
  background-color: #4863F9;
  width: 48px;
  height: 38px;
  border-radius: 8px;
  right: 8px;
  top: 8px;
  left: auto;
}
@media (min-width: 992px) {
  .share-photo {
    height: 40px;
  }
}
@media (min-width: 1280px) {
  .share-photo {
    top: 13px;
  }
}

.new-file{
  display: none;
  background-color: #7027E8;
  width: 48px !important;
  height: 38px !important;
  border-radius: 8px !important;
  top: 8px;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  color: #FFFFFF;
  right: 108px;
  justify-content: center;
  gap: 10px !important;
  align-items: center;
  left: auto;
}
@media (min-width: 992px) {
  .new-file {
    height: 40px;
  }
}
@media (min-width: 1280px) {
  .new-file {
    top: 13px;
  }
}

@media (max-width: 768px) {
    .new-file {
       display: flex;
       width: 38px !important;
     }
}

.main-area .upload-photo-user {

  font-family: "DMSans" !important;
}

.select-your-plan-popup-steps .continue-section {
  height: 100% !important;
}

.activated {
  background: linear-gradient(90deg, #f7324c, #3801ff);
  position: relative;
  border-radius: 8px;
  /*filter: drop-shadow(15px 15px 15px rgba(255, 51, 102, .8)) drop-shadow(0 0 30px rgba(153, 51, 255, .8))*/
}

.activated .bg-pricing {
  border-radius: 8px 8px 8px 8px;
}

.gift-img {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 600ms ease-in, transform 600ms ease-in;
}

@keyframes zoom-middle {
  0%,40%,80%,100% { transform: translate(0, 0) scale(1); }
  42%,46%,50%,54%,58%,62%,66%,70%,74%,78% { transform: translate(-0.1em, 0) scale(1); }
  44%,48%,52%,56%,60%,64%,68%,72%,76% { transform: translate(0.1em, 0) scale(1); }
}

.gift-img.shake {
  animation: zoom-middle 2s ease-in-out;
}

.popup-block-extra {
  position: relative;
  overflow: hidden;
}

.discount {
  opacity: 0 !important;
  transform: translate(-100px, -50%) !important;
  transition: opacity 800ms ease-out, transform 800ms ease-out !important;
}

.popup-block-extra img {
  opacity: 0 !important;
  transform: translate(100px, 0) !important;
  transition: opacity 800ms ease-out, transform 800ms ease-out !important;
}

.discount.animate-in {
  opacity: 1 !important;
  transform: translate(0, -50%) !important;
}

@media (max-width: 600px) { 
    .discount {
      opacity: 0 !important;
      transform: translate(-100px, 50%) !important;
      transition: opacity 800ms ease-out, transform 800ms ease-out !important;
    }
    .discount.animate-in {
      transform: translate(20%, 50%) !important;
    }
}

.popup-block-extra img.animate-in {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

.pricing-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem; /* відстань між Weekly і 70%off */
}

.pricing-title {
  font-size: 1.2rem; /* або що тобі потрібно */
}

.discount-badge {
  background-color: #ff4444;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .pricing-row {
    flex-direction: row; /* на всякий випадок */
  }
}

@media (max-width: 600px) {
  .select-your-plan-popup {
    background: url(../images/bg-tablet-new-popup.png) 50%;
    max-width: 805px;
    max-height: 770px;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 16px;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .4);
  }
  .lists-block {
    display: none !important;
  }
  .popup-text {
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: 10px;
  }
  .popup-block-extra {
    overflow:unset !important;
  }
  .pricing-container {
    gap:10px;
  }
  .select-your-plan-popup .popup-text {
    font-size:8px;
  }


}
.popup-text-p {
  font-size:10px;
  text-align: center;
  color: gray;
}

.popup {
  height: auto !important;
}

.face-swap-block .icon-block {
  font-family: "DMSans" !important;
}

.face-swap-buttons-block .text-block {
  font-family: "DMSans" !important;
}

.main-section::before {
  content: none !important;
}

.main-section:after {
  content: none !important;
}

.btn.btn-ganerate {
  z-index: 3;
}

#solid-payment-form-iframe {
  border: none;
}

#your-custom-container-id {
  display: flex;
  margin-top: 20px;
  justify-content: center; /* по горизонтали */
  align-items: center;     /* по вертикали (если нужно) */
  height: 100%;            /* если хочешь вертикальное центрирование */
}

.select-your-plan-popup-steps {
  display: inline-block !important;
  background: url(../images/bg-tablet-new-popup.png) 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .4);
}

.header.is-login .burger {
  width: auto !important;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); /* красный с альфой */
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

#get_started_button.pulsing {
  animation: pulse 1.5s infinite;
}
#your-custom-container-id2 {
  --apple-pay-button-width: 100%;
}

/* 1. Состояние при наведении (HOVER) */
.additional-upload-user-photo-with-text:hover {
  background-color: #8A3FFC; /* Пример цвета, можно выбрать другой */
  cursor: pointer;
}

/* 2. Состояние выбранного элемента (SELECTED) */
/* Стиль для самого элемента с классом .selected */
.additional-upload-user-photo-with-text.selected {
    background: linear-gradient(90deg, #5d73f1 0, #7027e8 50%, #e4325d); /* Тот же цвет, что и при наведении */
    /*background: linear-gradient(90deg, #5d73f1 0, #7027e8 50%, #e4325d)*/
}

/* Показываем нижний индикатор для элемента с классом .selected */
.additional-upload-user-photo-with-text.selected:before {
  display: block;
}

.responsive-layout {
  display: flex;
  flex-direction: column; /* по умолчанию — один под другим */
  gap: 20px; /* отступ между блоками */
}

/* На десктопе — в ряд */
@media (min-width: 768px) {
  .responsive-layout {
    flex-direction: row;
  }

  .main-area {
    flex: 1;
  }
}

.custom_left_sidebar {

}

@media (max-width: 768px) {
  .custom_left_sidebar {
    margin-top: 20px;
      width: auto !important;
      margin-left: 10px;
      margin-right: 10px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      gap: 8px;
  }

  .custom_left_sidebar label {
    flex: 1;
    text-align: center;
  }
}


@media (max-width: 767px) {
  .additional-upload-user-photo-with-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    height: 70px;
    color: white; /* або інший помітний */
    line-height: 1.2;
    white-space: normal; /* дозволити перенос тексту */
  }

  .additional-upload-user-photo-with-text svg {
    margin-bottom: 4px;
  }

  .sidebar-title {
    display: none !important;
  }
}


.popup__close_new,
.popup__wrap {
  display: flex;
  align-items: center;
  justify-content: center
}

.popup__close_new {
  position: absolute;
  right: 15px;
  top: 11px;
  z-index: 999;
  width: 30px;
  height: 30px;
  background: hsla(0, 0%, 100%, .2);
  border-radius: 100%
}

.popup__close_new:after,
.popup__close_new:before {
  position: absolute;
  content: " ";
  height: 17px;
  width: 2px;
  background-color: #fff
}

.popup__close_new:before {
  transform: rotate(45deg)
}

.popup__close_new:after {
  transform: rotate(-45deg)
}

.face-swap-block .popup__close_new {
  background-color: rgba(0, 0, 0, .6);
  border: 1px solid hsla(0, 0%, 100%, .2);
  top: 5px;
  right: 5px;
  width: 44px;
  height: 44px
}

@media (max-width: 767px) {
  .face-swap-block .popup__close_new {

    width: 34px;
    height: 34px
  }
}
.face-swap-block .popup__close_new:after,
.face-swap-block .popup__close_new:before {
  height: 12px;
  width: 1px
}

.img-box-popup .popup__close_new {
  background: rgba(0, 0, 0, .4);
  top: 4px;
  right: 5px
}

.img-wrap {
  height: 400px;
}