.hidden {
  display: none !important;
  pointer-events: none !important;
}

body.popin-open {
  overflow: hidden;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: flex;
  align-items: center;       
  justify-content: center;  

  background: rgba(0, 0, 0, 0.75);
}

#popup .popup__card {
  width: 556px;
  max-width: 92vw;

  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  text-align: center;

  animation: fadeIn 0.35s ease-out;
}

#popup .popup-img-wrapper {
  margin: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #f0f0f0;
}

#popup .popup-img {
  width: 100%;
  display: block;
}

#popup .popup__card h2 {
  font-size: 30px;
  font-family: Frutiger, Arial, sans-serif;
  font-weight: 700;
  margin: 10px 50px 15px;
  color: #222222;
  line-height: 30px;
}

#popup .popup__card p {
  margin: 0 70px 25px;
  font-size: 16px;
  color: #000000;
  line-height: 24px;
  font-family: Frutiger, Arial, sans-serif;
}

#popup .buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 25px 25px;
}

#popup .btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-weight: 700;
  height: 48px;
  line-height: 24px;
}

.grey-popine {
  background: #D9D9D9 !important;
  color: #062F45 !important;
}

.orange-popine {
  background: #E74124 !important;
  color: #ffffff !important;
}

@media (max-width: 600px) {
  #popup .popup__card {
    width: 92%;
    border-radius: 18px;
  }

  #popup .popup-img-wrapper {
    margin: 12px;
    border-radius: 14px;
  }

  #popup .popup__card h2 {
    font-size: 20px;
    margin: 16px 40px 8px;
    font-weight: 700;
  }

  #popup .popup__card p {
    font-size: 14px;
    margin: 0 30px 25px;
  }

  #popup .buttons {
    flex-direction: column-reverse;
    padding: 0 15px 20px;
    gap: 10px;
    align-items: center;
  }

  #popup .btn {
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    line-height: 20px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
