:focus-visible {
  outline: -webkit-focus-ring-color auto 1px;
  outline-color: -webkit-focus-ring-color;
  outline-style: auto;
  outline-width: 0px;
}
.price-popup {
  position: fixed;
  margin: auto;
  width: 700px;
  height: 85vh;
  max-height: 915px;
  background-image: url("/wp-content/themes/zornica/pages/img/main-back.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
  background-color: #ffffff;
  background-size: 215%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  border: 4px solid #7d504d;
  border-radius: 15px;
  padding: 60px 55px;
  text-align: center;
  overflow-y: scroll;
  visibility: hidden;
  opacity: 0;
  transition: all 400ms ease;
}
.price-popup-show {
  visibility: visible;
  opacity: 1;
}
.price-popup-cross {
  position: absolute;
  top: 25px;
  right: 15px;
  cursor: pointer;
}
.popup-cross-1 {
  height: 3px;
  width: 30px;
  background-color: #55565a;
  transform: rotate(45deg) translate(2px, 0px);
  transition: all 400ms ease;
}
.popup-cross-2 {
  height: 3px;
  width: 30px;
  background-color: #55565a;
  transform: rotate(-45deg) translate(2px, 0px);
  transition: all 400ms ease;
}
.price-popup > h2 {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 128%;
  color: #55565a;
  margin-bottom: 50px;
}
.main-info-fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.main-info-fields > input {
  margin: 20px 30px;
}
.field-wrap {
  margin: 20px 0px;
  position: relative;
}
.field-wrap input:hover {
  border-color: #e8c283;
}
.field-wrap input {
  transition: all 400ms ease;
}
.field-wrap input:focus {
  border-color: #c9b492;
}
.field-wrap:nth-child(5) {
  margin-left: 0px;
}
.label {
  position: absolute;
  top: 23px;
  left: 43px;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #55565a;
  transition: all 400ms ease;
}
.label-num {
  position: absolute;
  top: 24px;
  left: 80px;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #55565a;
  transition: all 400ms ease;
}
.field-wrap input:focus ~ .label,
.field-wrap input:not(:placeholder-shown) ~ .label {
  top: -21px;
  font-size: 14px;
}

.datepick-svg {
  position: absolute;
  top: 16px;
  right: 40px;
  cursor: pointer;
}
.textarea,
.field-wrap input {
  background: #ffffff;
  border: 2px solid #dfceb2;
  border-radius: 10px;
  height: 63px;
  padding: 23px 40px;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  color: #55565a;
}
.iti__selected-flag {
  padding: 0 6px 0 40px;
}
.field-num {
  padding-left: 78px !important;
}
.textarea,
.big-field {
  width: 583px;
}
.small-field {
  width: 260px;
}
.hidden-input {
  width: 0px;
  height: 0px;
}
.hidden-input input {
  visibility: hidden !important;
  height: 0px !important;
  margin: 0px !important;
  width: 0px !important;
}
.visited-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 auto;
  width: 430px;
  margin-top: 15px;
}
.visited-wrap > p {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  display: flex;
  align-items: center;
  color: #55565a;
}
.visited-wrap > p > span {
  color: #b5746f;
}
.visited-wrap > label {
  font-weight: 600;
  font-size: 16px;
  line-height: 77%;
  display: flex;
  align-items: center;
  color: #141313;
  margin-left: 15px;
}
.visited {
  margin-left: 10px;
}
/* для элемента input c type="radio" */
.visited > input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
/* для элемента label связанного с .custom-radio */
.visited > input + label {
  display: inline-flex;
  align-items: center;
  user-select: none;
}
/* создание в label псевдоэлемента  before со следующими стилями */
.visited > input + label::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #b5746f;
  border-radius: 10px;
  margin-right: 0.5em;
  background: #faf7f2;
  transition: all 400ms ease;
  cursor: pointer;
}
/* стили при наведении курсора на радио */
.visited > input:not(:disabled):not(:checked) + label:hover::before {
  border-color: #e8c283;
}
/* стили для активной радиокнопки (при нажатии на неё) */
.visited > input:not(:disabled):active + label::before {
  background-color: #c9b492;
}
/* стили для радиокнопки, находящейся в состоянии checked */
.visited > input:checked + label::before {
  border: 2px solid #ffffff;
  background-image: url("/wp-content/themes/zornica/pages/img/Done.svg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-box-shadow: 0px 0px 0px 2px rgba(181, 116, 111, 1);
  -moz-box-shadow: 0px 0px 0px 2px rgba(181, 116, 111, 1);
  box-shadow: 0px 0px 0px 2px rgba(181, 116, 111, 1);
  width: 28px;
  height: 28px;
}

.price-popup-form > button {
  background: #b5746f;
  border-radius: 10px;
  color: #ffffff;
  border: 3px solid #b5746f;
  width: 224px;
  height: 48px;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 77%;
  margin-top: 40px;
}
.price-popup-form > button:hover {
  background: #b5746f;
  border: 3px solid #dfceb2;
}
.price-popup-form > button:active {
  background: #a57571;
  border: 3px solid #dfceb2;
}

.policy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 24px auto 0px auto;
}
.policy span {
  width: 70%;
  font-size: 13px;
}
.policy span > a {
  color: #b5746f;
}
.policy span > a:hover {
  text-decoration: underline;
}
.policy span > a:active {
  color: #8e9098;
}
/* для элемента input c type="radio" */
.room-check > input,
.policy > input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
/* для элемента label связанного с .custom-radio */
.room-check > input + label,
.policy > input + label {
  display: inline-flex;
  align-items: center;
  user-select: none;
  justify-content: center;
}
/* создание в label псевдоэлемента  before со следующими стилями */
.room-check > input + label::before,
.policy > input + label::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #b5746f;
  border-radius: 7px;
  margin-right: 16px;
  background: #faf7f2;
  transition: all 400ms ease;
  cursor: pointer;
}
.room-check > input + label::before {
  width: 36px;
  height: 36px;
}
/* стили при наведении курсора на радио */
.room-check > input:not(:disabled):not(:checked) + label:hover::before,
.policy > input:not(:disabled):not(:checked) + label:hover::before {
  border-color: #e8c283;
}
/* стили для активной радиокнопки (при нажатии на неё) */
.room-check > input:not(:disabled):active + label::before,
.policy > input:not(:disabled):active + label::before {
  background-color: #c9b492;
}
/* стили для радиокнопки, находящейся в состоянии checked */
.room-check > input:checked + label::before,
.policy > input:checked + label::before {
  border: 2px solid #ffffff;
  background-image: url("../../img/Done.svg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-box-shadow: 0px 0px 0px 1px rgba(181, 116, 111, 1);
  -moz-box-shadow: 0px 0px 0px 1px rgba(181, 116, 111, 1);
  box-shadow: 0px 0px 0px 1px rgba(181, 116, 111, 1);
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.room-check > input:checked + label::before {
  width: 34px;
  height: 34px;
}
.overlay {
  z-index: 99;
  position: fixed;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  visibility: hidden;
  transition: all 400ms ease;
  opacity: 0;
}
.overlay-show {
  opacity: 1;
  visibility: visible;
}
.scroll-off {
  overflow: hidden;
}
.nicescroll-rails {
  transition: opacity 400ms ease;
}
.nicescroll-rails {
  visibility: hidden;
  opacity: 0;
}
.scroll-show {
  visibility: visible;
  opacity: 1;
}
.iti__country-list {
  /*    white-space: nowrap!important; */
}
@media (max-width: 500px) {
}
@media screen and (max-width: 750px) {
  .price-popup {
    width: 500px;
    padding: 45px 47px;
  }
  .main-info-fields {
    justify-content: center;
  }
  .big-field,
  .small-field {
    width: 380px;
  }
  .field-wrap:nth-child(5) {
    margin-left: 0px;
  }
  .price-popup > h2 {
    font-size: 28px;
  }
  .field-wrap {
    margin: 15px 0px;
  }
  .iti__country-list {
    white-space: normal !important;
    width: 300px;
  }
}
@media screen and (max-width: 520px) {
  .price-popup {
    width: 400px;
    padding: 45px 0px;
  }
  .big-field,
  .small-field {
    width: 310px;
    padding: 18px 16px !important;
  }
  .field-num {
    padding: 19px 50px !important;
  }
  .iti__selected-flag {
    padding: 0 6px 0 16px;
  }
  .datepick-svg {
    right: 14px;
  }
  .price-popup > h2 {
    margin-bottom: 10px;
    font-size: 22px;
  }
  .visited-wrap {
    width: 310px;
    flex-direction: column;
  }
  .visited {
    margin-left: 0px;
    margin-top: 10px;
  }
  .price-popup-form > button {
    margin-top: 40px;
  }
  .label-num {
    left: 55px;
  }
  .label {
    left: 16px;
  }
}
@media screen and (max-width: 420px) {
  .price-popup {
    width: 340px;
  }
  .field-wrap {
    margin: 10px 0px;
  }
  .big-field,
  .small-field {
    width: 310px;
    padding: 18px 16px !important;
  }
  .field-num {
    padding: 19px 55px !important;
  }
  .label-num {
    top: 16px;
    left: 55px;
    font-size: 15px;
  }
  .label {
    top: 16px;
    font-size: 15px;
  }
  .datepick-svg {
    top: 9px;
  }
  .datepick-svg {
    right: 14px;
  }
  .price-popup > h2 {
    margin-bottom: 10px;
  }
  .visited-wrap {
    width: 310px;
    flex-direction: column;
  }
  .field-wrap input {
    height: 48px;
    font-size: 15px;
  }
  .visited {
    margin-left: 0px;
    margin-top: 10px;
  }
  .price-popup-form > button {
    margin-top: 40px;
  }
  .field-wrap input:focus ~ .label,
  .field-wrap input:not(:placeholder-shown) ~ .label {
    top: -17px;
    font-size: 14px;
  }
  .visited > input + label::before {
    width: 20px;
    height: 20px;
    border-radius: 5px;
  }
  .visited > input:checked + label::before {
    width: 18px;
    height: 18px;
  }
}
@media screen and (max-width: 350px) {
  .price-popup {
    width: 320px;
    padding-right: 7px;
  }
  .big-field,
  .small-field {
    width: 295px;
    padding: 18px 16px !important;
  }
  .datepick-svg {
    right: 14px;
  }
  .price-popup > h2 {
    margin-bottom: 10px;
  }
  .visited-wrap {
    width: 310px;
    flex-direction: column;
  }
  .visited {
    margin-left: 0px;
    margin-top: 10px;
  }
  .price-popup-form > button {
    margin-top: 40px;
  }
}

/* event popup adddon */

.event-popup {
  background-image: url("/wp-content/themes/zornica/img/event-popup.webp");
  background-repeat: no-repeat;
  background-position: top center;

  max-height: 1010px;
  padding: 0;

  text-align: unset;

  border: 4px solid #7d504d;
}
.event-popup .price-popup-cross {
  top: 100px;
  right: 50px;

  padding: 10px;
  aspect-ratio: 1 / 1;
  border: 1px solid #fff;
  border-radius: 50%;
}
.event-popup .price-popup-cross .popup-cross-1 {
  background-color: #fff;
  transform: rotate(45deg) translate(11px, 10px);
}
.event-popup .price-popup-cross .popup-cross-2 {
  background-color: #fff;
  transform: rotate(-45deg) translate(-8px, 9px);
}

.event-popup .popup-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: start;

  padding: 50px;

  border: 2px solid #dfceb2;
  border-radius: 10px;
  border-right: 0;

  transform: translateX(30px);
}
.event-popup .popup-content .spacing {
  letter-spacing: 7px;
  font-weight: 400;
  margin-top: -1rem;
}
.event-popup .popup-container {
  position: relative;
  isolation: isolate;
  height: 100%;
  width: 100%;

  padding: 50px;
  padding-right: 0;
}
.event-popup .popup-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  display: block;
  height: 100%;
  width: 50%;
  transform: rotate(-200deg);
  opacity: 0.3;
  z-index: -1;
  background-image: url("/wp-content/themes/zornica/img/snowflakes.webp");

  pointer-events: none;
  user-select: none;
}
.event-popup .popup-container::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(90deg, #2e3448 18.75%, rgba(46, 52, 72, 0) 100%);

  pointer-events: none;
  user-select: none;

  z-index: -1;
}

.event-popup .popup-content > strong {
  display: block;
  max-width: 80%;
  text-wrap: balance;
  font-weight: 600;
  font-family: "Montserrat";
  font-size: 36px;
  line-height: 1;
  color: #fff;

  margin-bottom: 3rem;
}
.event-popup .popup-content > span {
  font-weight: 600;
  font-family: "Montserrat";
  font-size: 24px;
  line-height: 26px;
  letter-spacing: 0.02em;
  color: #fff;
}

.event-popup .popup-content ul {
  list-style-type: none;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #fff;
}
.event-popup .popup-content ul li {
  position: relative;
}
.event-popup .popup-content ul li p {
  margin-left: 1rem;
  max-width: unset;
}
.event-popup .popup-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;

  display: block;
  width: 10px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: #fff;
}
.event-popup .popup-content p {
  display: block;
  max-width: 60%;
  text-wrap: balance;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #fff;
}

@media screen and (max-width: 1440px) {
  .event-popup {
    height: 90%;
    
    background-size: cover;
  }
  .event-popup .popup-container {
    padding: 15px;
  }
  .event-popup .popup-container::before {
    height: 120%;
  }
  .event-popup .popup-container .popup-content {
    padding: 15px;
  }
  .event-popup .popup-content > strong {
    font-size: 24px;
    margin-bottom: 1rem;
  }
  .event-popup .popup-content > span {
    font-size: 14px;
  }
  .event-popup .popup-content p {
    font-size: 12px;
  }
  .event-popup .popup-content .button {
    display: block !important;
    padding: 8px 16px;
    margin-left: 0;
  }

  .event-popup .price-popup-cross {
    top: 2rem;
    right: 2rem;

    padding: 4px;
    aspect-ratio: 1 / 1;
    border: 1px solid #fff;
    border-radius: 50%;
    z-index: 100;
  }
  .event-popup .price-popup-cross .popup-cross-1 {
    width: 22px;
    background-color: #fff;
    transform: rotate(45deg) translate(7px, 7px);
  }
  .event-popup .price-popup-cross .popup-cross-2 {
    width: 22px;
    background-color: #fff;
    transform: rotate(-45deg) translate(-5px, 5px);
  }
}

@media screen and (max-width: 640px) {
    .event-popup .popup-container {
        padding: 0;
    }
    .event-popup .popup-container::before {
        height: 130%;
    }

    .event-popup .popup-content {
        border: none;
        transform: none;
    }
}