@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.disable-selection {
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer */
  -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
  -webkit-user-select: none; /* Chrome, Safari, and Opera */
  -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
}
.headerSup1 {
  font-size: 12px;
  color: #fb5a5e;
  top: -2em;
}
.sup_holder {
  position: relative;
  display: inline-block;
  font-size: inherit;
  width: 3px;
  height: 0.6em;
  font-weight: normal !important;
}
.sup_holder > sup {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 9px;
}
.wrapper {
  position: relative;
  overflow: hidden;
}

.underline {
  text-decoration: underline;
}

.order-form__holder {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 50px 0;
  font-family: 'Fira Sans';
  line-height: 1.22;
  overflow: auto;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 22;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}
.order-form__holder.active {
  opacity: 1;
  visibility: visible;
  z-index: 25;
}
.order-form {
  margin: 0 auto;
  max-width: 625px;
  background: #ffffff;
  width: 100%;
  position: relative;
}
.order-form__top {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.05);
  background: #fff;
  z-index: 2;
  position: relative;
}
.order-form__top-title {
  padding: 16px 0 10px;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #898989;
}
.order-form__logo {
  position: absolute;
  top: 9px;
  left: 15px;
  width: 72px;
}
.order-form__close-btn {
  position: absolute;
  top: 15px;
  right: 13px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.order-form__close-btn::before,
.order-form__close-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 3px;
  border-radius: 3px;
  background: #898989;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.order-form__close-btn::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.order-form__main {
  padding: 23px 40px;
  overflow: hidden;
  position: relative;
}
.order-form__input {
  width: 100%;
  position: relative;
  font-size: 16px;
  font-weight: 500;
  color: #3f3f3f;
  line-height: 1.5;
  padding: 9px 8px 7px;
  background: #ffffff;
  border: 1px solid #c8c8c8;
  box-sizing: border-box;
  border-radius: 3px;
  outline: none;
  font-family: inherit;
}
.order-form__input::placeholder {
  font-weight: 400;
  color: #595959;
}
.order-form__input.error {
  border: 1px solid #c60000;
  animation: error_shake 0.5s both;
}
.order-form__input.error::placeholder {
  color: #c60000;
}
.order-form__phone-input {
  margin-top: 10px;
}
.order-form__agreement {
  padding-left: 26px;
  font-size: 12px;
  margin-top: 10px;
  position: relative;
}
.order-form__agreement-icon {
  position: absolute;
  left: 3px;
  top: 2px;
}
.order-form__order-holder {
  margin-top: 25px;
  padding: 15px 0;
  position: relative;
}
.order-form__order-holder::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 200%;
  height: 100%;
  background: #f8f8f8;
  transform: translateX(-50%);
}
.order-form__order-header {
  font-size: 14px;
  font-weight: 500;
}
.order-form__products-holder,
.order-form__presents-holder {
  position: relative;
}
.order-form__product {
  display: grid;
  grid-template-columns: auto 75px 30px;
  align-items: center;
  font-size: 14px;
  margin-top: 10px;
}
.order-form__product input[type='checkbox'],
.present-check {
  display: none;
}
.order-form__product-check,
.order-form__present-check {
  position: relative;
  height: 24px;
  width: 24px;
  background: #ffffff;
  border: 1px solid #c8c8c8;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-form__product-check.error {
  border: 1px solid #c60000;
  animation: error_shake 0.5s both;
}
.order-form__product > label,
.order-form__present {
  display: grid;
  grid-template-columns: min-content auto;
  align-items: center;
  grid-gap: 8px;
  cursor: pointer;
  user-select: none;
  margin: 0;
}
.order-form__product-check > img,
.order-form__product-check > svg,
.order-form__product-check > input,
.order-form__present-check > img,
.order-form__present-check > svg,
.order-form__present-check > input {
  display: none;
}
.order-form__present > input:checked ~ .order-form__product-check > img,
.order-form__present > input:checked ~ .order-form__product-check > svg,
.order-form__product-check > input:checked ~ img,
.order-form__product-check > input:checked ~ svg,
.order-form__present > input:checked ~ .order-form__present-check > img,
.order-form__present > input:checked ~ .order-form__present-check > svg,
.order-form__present-check > input:checked ~ svg,
.order-form__present-check > input:checked ~ img {
  display: inline-block;
}
.order-form__present {
  margin-top: 10px;
  font-size: 12px;
}
.order-form__product-price {
  text-align: right;
}
.order-form__product-remove {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-items: flex-end;
  height: 20px;
  width: 20px;
  align-self: center;
  justify-self: flex-end;
  cursor: pointer;
}
.order-form__product-remove > span {
  position: relative;
  display: block;
  height: 15px;
  width: 15px;
  cursor: pointer;
}
.order-form__product-remove > span::before,
.order-form__product-remove > span::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: #000;
  width: 90%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.order-form__product-remove > span::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

.order-form__delivery-payment-holder {
  padding: 24px 0;
}
.order-form__delivery-holder,
.order-form__payment-holder {
  display: grid;
  grid-template-columns: 120px auto;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.order-form__delivery-holder {
  position: relative;
  z-index: 3;
}
.order-form__payment-holder {
  margin-top: 16px;
}

.order-form__delivery-inputs {
  position: relative;
  z-index: 2;
}
.order-form__delivery-inputs > div {
  margin-top: 8px;
}

/*the container must be positioned relative:*/
.order-form-select {
  position: relative;
  width: 100%;
  font-weight: 400;
  z-index: 1;
}
.order-form-select select {
  display: none; /*hide original SELECT element:*/
}
.select-selected {
  background-color: #fff;
  border: 1px solid #c8c8c8;
  box-sizing: border-box;
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}
/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: '';
  background: url('https://cloud.devtome.top/domains/imageclub.com.ua/catalog/form_5.1_catalog/img/select_arrow.svg');
  top: 50%;
  right: 10px;
  width: 12px;
  height: 20px;
  transform: translateY(-50%);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.select-selected.default {
  color: #595959;
}
.order-form-select-selected.error {
  border: 1px solid #d60000;
  animation: error_shake 0.5s both;
  color: #c60000;
}
.order-form-select-selected.error:after {
  background: url('https://cloud.devtome.top/domains/imageclub.com.ua/catalog/form_5.1_catalog/img/select_arrow_red.svg');
  top: 50%;
  right: 10px;
  width: 12px;
  height: 20px;
  transform: translateY(-50%);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  transform: translateY(-50%) scale(1, -1);
}
/*style the items (options), including the selected item:*/
.select-items div {
  color: #000000;
  padding: 8px 12px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  margin-left: -1px;
  margin-right: -1px;
}
.select-items div:nth-child(n + 2) {
  border-top: 1px solid #c8c8c8;
}
/*style items (options):*/
.select-items {
  position: absolute;
  background-color: #fff;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  z-index: 9;
  border: 1px solid #c8c8c8;
  box-sizing: border-box;
  border-radius: 3px;
}
/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}
.select-items div:hover,
.same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

.order-form__bottom {
  position: relative;
  display: grid;
  grid-template-columns: auto 192px;
  align-items: center;
  grid-gap: 30px;
}
.order-form__total-block > div {
  display: flex;
  justify-content: space-between;
}
.order-form__total-block {
  display: grid;
  grid-gap: 8px;
  font-size: 14px;
  position: relative;
}

.order-form__bottom {
  padding: 24px 0;
}
.order-form__bottom::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 200%;
  height: 100%;
  transform: translateX(-50%);
  background: #f8f8f8;
}
.order-form__send-btn-holder {
  height: 100%;
  position: relative;
}
.order-form__send-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #009521;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.order-form__send-btn:hover {
  background: #017e1c;
}
.order-form__total-price1 {
  text-decoration-line: line-through;
  color: #595959;
}
.order-form__discount {
  color: #f30000;
}

.order-form__more-block {
  padding-top: 17px;
}
.order-form__more-btn {
  cursor: pointer;
  font-size: 13px;
  line-height: 15px;
  color: #7b7b7b;
  border-bottom: 1px solid #dbdbdb;
  padding-bottom: 4px;
  padding-left: 1px;
  padding-right: 1px;
  margin-left: -1px;
  margin-right: -1px;
}
.order-form__more-btn > img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scale(1, 1);
}
.order-form__more-btn.active > img {
  transform: translateY(-50%) scale(1, -1);
}
.order-form__more-info {
  text-align: center;
  padding-top: 0;
  font-size: 13px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s, padding 0.3s;
}
.order-form__more-btn.active ~ .order-form__more-info {
  padding-top: 15px;
  max-height: 200px;
}
.order-form__more-alert {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 15px;
}

.order-popUp__holder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 30;
  transform: none !important;
  max-width: 100%;
}
.order-popUp__holder.active {
  opacity: 1;
  visibility: visible;
  /* z-index: 20; */
}
.order-popUp {
  width: 100%;
  max-width: 630px;
  background: rgba(255, 247, 226, 1);
  padding: 65px;
  text-align: center;
  cursor: pointer;
  border-radius: 16px;
  position: relative;
}

.order-popUp__header {
  font-weight: bold;
  font-family: Lora;
  font-weight: 700;
  font-size: 40px;
  text-align: center;
}
.order-popUp__text {
  font-family: Open Sans;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;

  text-align: center;
}
.order-popUp__text_red {
  font-family: Open Sans;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;

  text-align: center;
  margin-top: 15px;
   color: rgba(255, 0, 0, 1);
}
.order-popUp__text_red_big {
 font-family: Open Sans;
  font-weight: 700;
  font-size: 28px;
  line-height: 120%;

  text-align: center;
  color: rgba(255, 0, 0, 1);
  margin-top: 20px;
}
.order-popUp__holder.cash .icon_btn {
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}
.order-form__loader-holder {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}
.order-form__loader-holder.active {
  visibility: visible;
  opacity: 1;
  z-index: 25;
}
.order-form__loader-holder img {
  width: 150px;
  max-width: 50%;
}

.order-form__cart-holder {
  position: fixed;
  z-index: 3;
  right: 25px;
  top: 90px;
  width: 50px;
  height: 50px;
  background: #e82d3c;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.3);
}
.order-form__cart-holder.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.order-form__cart-holder:hover {
  background: #e00013;
}
.order-form__cart-count {
  position: absolute;
  left: 3px;
  top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  line-height: 1;
  color: #e82d3c;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

@keyframes error_shake {
  0% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-3px);
  }
  30% {
    transform: translateX(3px);
  }
  45% {
    transform: translateX(-5px);
  }
  60% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(3px);
  }
  90%,
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 991px) {
  .order-form__cart-holder {
    position: fixed;
    z-index: 8;
    right: 25px;
    top: 5px;
    width: 35px;
    height: 35px;
    border-radius: 7px;
    padding: 5px;
  }
  .order-form__cart-count {
    left: 3px;
    top: 3px;
    width: 13px;
    height: 13px;
    font-size: 10px;
    font-weight: 700;
  }
}

@media (max-width: 767px) {
  .order-form__holder {
    padding: 25px 15px;
  }
  .order-form__top-title {
    margin: 0px auto;
    max-width: 150px;
    font-size: 14px;
    line-height: 1.2;
    padding: 9px 0px 4px;
  }
  .order-form__logo {
    top: 8px;
    left: 10px;
    width: 43px;
  }
  .order-form__main {
    padding: 9px 15px;
  }
  .order-form__input {
    font-size: 13px;
    padding: 8px;
    line-height: 1.3;
    background: #fff;
    box-shadow: none;
  }
  .order-form__agreement {
    font-weight: 300;
  }
  .order-form__order-holder {
    margin: 8px 0 0;
    padding: 8px 0 12px;
  }
  .order-form__product,
  .order-form__present {
    font-size: 13px;
    -webkit-tap-highlight-color: transparent;
  }
  .order-form__delivery-payment-holder {
    padding: 8px 0;
  }
  .order-form__delivery-holder,
  .order-form__payment-holder {
    font-size: 12px;
    grid-template-columns: 100px auto;
  }
  .select-items div,
  .select-selected {
    font-size: 11px;
    padding: 6px;
    line-height: 1.2;
  }
  .select-selected:after,
  .order-form-select-selected.error:after {
    right: 6px;
    width: 8px;
  }
  .order-form__payment-holder {
    margin-top: 8px;
  }
  .order-form__bottom {
    padding: 8px 0;
    grid-template-columns: 1fr;
    grid-gap: 8px;
  }
  .order-form__total-block {
    font-size: 12px;
    grid-gap: 4px;
  }
  .order-form__send-btn {
    font-size: 16px;
    padding: 9px;
  }

  .order-form__more-block {
    padding-top: 8px;
  }
  .order-form__more-btn {
    font-size: 10px;
  }

  .order-popUp {
    max-width: 210px;
    padding: 20px;
  }
  .order-popUp__header {
    font-size: 21px;
  }
  .order-popUp__text {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .order-form__input,
  .order-form__product,
  .order-form__present {
    font-size: 12px;
  }
  .select-items div,
  .select-selected {
    font-size: 10px;
  }
}

@media (max-height: 750px) {
  .order-form__holder {
    display: block;
  }
}
