#spopup_btn {
  color: white;
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 28px 14px 14px;
  font-size: 14px;
  line-height: 1;
  z-index: 20;
  cursor: pointer;
  display: none;
}
#spopup_btn.active {
  display: block;
}
#spopup_btn:after {
  content: "";
  position: absolute;
  right: 13px;
  top: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L1 11M1 1L11 11' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 12px;
  display: inline-block;
  width: 12px;
  height: 12px;
}

.spopup {
  position: fixed;
  left: 100%;
  top: 0;
  right: 0%;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 9999;
  transition: all 0.3s;
  caret-color: transparent;
}
.spopup.is--opened {
  left: 0;
}
.spopup input[type=email], .spopup input[type=number], .spopup input[type=text], .spopup textarea, .spopup select {
  -webkit-appearance: auto !important;
  -moz-appearance: auto !important;
  appearance: auto !important;
  caret-color: black;
  font-size: 16px;
}
.spopup input[type=email].error, .spopup input[type=number].error, .spopup input[type=text].error, .spopup textarea.error, .spopup select.error {
  border-color: red;
  background: #ffe8e8;
}

.spopup__layer {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.spopup__block {
  position: absolute;
  width: 100%;
  background: white;
  left: 50%;
  top: var(--wp-admin--admin-bar--height, 32px);
  transform: translateX(-50%);
  height: auto;
  z-index: 10010;
  display: flex;
  flex-direction: column;
  max-width: 360px;
}

.spopup__close {
  z-index: 10000;
  position: absolute;
  right: 15px;
  top: 10px;
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L1 11M1 1L11 11' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 12px;
  display: inline-block;
  width: 40px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0px 0px 10px 1px #e7e7e7;
}

.spopup__wrap {
  display: flex;
  flex-direction: column;
  overflow: auto;
  max-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

.spopup__image {
  height: 240px;
  position: relative;
}
.spopup__image img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.spopup__title {
  font-weight: 600;
  font-size: 18px;
  margin-top: 10px;
  padding: 0 20px;
  text-align: center;
  color: black;
}

.spopup__text {
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  padding: 0 20px;
  text-align: center;
  color: black;
}

.spopup__form {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  gap: 10px;
  padding: 0 20px 20px 20px;
  position: relative;
}
.spopup__form.is--loading:after {
  content: "";
  border: 5px solid black !important;
  border-radius: 50% !important;
  border-top: 5px solid #ffffff !important;
  width: 30px !important;
  height: 30px !important;
  -webkit-animation: sspin 1s linear infinite;
  animation: sspin 1s linear infinite;
  position: absolute !important;
  left: calc(50% - 20px) !important;
  top: 30% !important;
  margin: 0 !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  z-index: 1001;
}

@keyframes sspin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(1turn);
  }
}
.spopup__form-item.width-half {
  width: calc(50% - 5px);
}
.spopup__form-item.width-full {
  width: 100%;
}

.spopup__form-button {
  background: black;
  color: white;
  padding: 15px 30px;
  text-align: center;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  width: 100%;
}

#spopup_close {
  display: none;
}
#spopup_close.is--active {
  display: block;
}

.spopup__response {
  display: none;
  padding: 20px 20px 40px 20px;
}

.spopup_response-text {
  text-align: center;
  color: black;
  font-size: 20px;
  font-weight: 600;
}

.spopup_response-coupon {
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 15px;
  border: 1px dashed #d3d3d3;
  padding: 15px 12px 6px 12px;
  position: relative;
}

#spopup_coupon {
  font-size: 30px;
  color: black;
  text-decoration: underline;
}

#spopup_copy_btn {
  border-radius: 4px;
  background: black;
  color: white;
  font-size: 12px;
  padding: 2px 6px 4px 6px;
  line-height: 1;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 2px;
  right: 2px;
}

/*# sourceMappingURL=spopup.css.map */
