.generator {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  --generator-padding: 20px;
  display: none;
}
.generator .container {
  width: 100%;
}
.generator__title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  padding-right: 40px;
}
.generator__delivery {
  padding: 10px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  display: none;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: var(--generator-padding);
}
.generator__delivery.--late {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}
.generator__delivery.--near {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}
.generator__delivery.--now {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
.generator__wrapper {
  display: flex;
  align-items: stretch;
  margin: var(--generator-padding) 0;
}

.generator .quantity {
  display: flex;
  align-items: stretch;
}
.generator .quantity input {
  width: 40px;
  text-align: center;
  height: 30px;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  border: 1px solid rgb(118, 118, 118);
  -moz-appearance: textfield;
}

.generator .quantity input::-webkit-outer-spin-button,
.generator .quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.generator .quantity div {
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(118, 118, 118);
  color: black;
  background: white;
  cursor: pointer;
}
.generator .quantity .minus {
  border-right: 0;
}
.generator .quantity .plus {
  border-left: 0;
}
.generator__wrapper .generator__code {
  margin: 0;
  width: 50%;
}
@media (max-width: 576px) {
  .generator__wrapper {
    flex-wrap: wrap;
  }
  .generator__wrapper .generator__code {
    width: 100%;
  }
  .generator__wrapper .generator__code:first-child {
    margin-bottom: 8px;
  }
}
.generator__code {
  margin: var(--generator-padding) 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #eaeaea;
}
.generator__code--title {
  font-weight: 700;
  padding: 5px 15px;
  background-color: #f1f1f1;
}
.generator__block {
  display: none;
  background-color: #ffffff;
  padding: 30px;
  position: relative;
}
.generator__block:first-child {
  display: block;
}
.generator__list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -moz-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  gap: var(--generator-padding);
}
.generator__values {
  height: -webkit-calc(80vh - 220px);
  height: -moz-calc(80vh - 220px);
  height: calc(80vh - 220px);
  overflow-y: auto;
}
.generator--close {
  position: absolute;
  top: 33px;
  right: 30px;
  cursor: pointer;
  height: 22px;
  width: 22px;
  background-image: url(/wp-content/themes/olil/images/exit.svg);
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}
.generator--close:hover {
  background-image: url(/wp-content/themes/olil/images/exit-fox.svg);
}
.generator__item {
  width: -webkit-calc((100% - 40px) / 3);
  width: -moz-calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3);
  padding: 15px;
  border: 2px solid #f1f1f1;
}
.generator__item--title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.generator__item--inputs {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -moz-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  gap: 10px;
}
.generator__item.--checkbox {
  cursor: pointer;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.generator__item.--checkbox input {
  display: none;
}
.generator__item.--checkbox.active,
.generator__item.--checkbox:hover {
  border-color: #f8d5d7;
  background-color: #f8d5d7;
}
.generator__item.--checkbox .generator__item--title {
  margin-bottom: 0;
}
.generator__item.--checkbox .generator__item--text {
  margin-top: var(--generator-padding);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
}
.generator__item.--checkbox .generator__item--text img {
  width: 50px;
}
.generator__item.--checkbox .generator__item--text span {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.generator__item--label {
  cursor: pointer;
}
.generator__item--label.disable {
  opacity: 0.3;
  pointer-events: none;
}
.generator__item--label input {
  display: none;
}
.generator__item--label input[type="text"] {
  font-size: 14px;
  display: block;
  width: 100%;
  padding: 4px 25px;
  -webkit-border-radius: 70px;
  -moz-border-radius: 70px;
  border-radius: 70px;
  border: 1px solid #e7e7ec;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  color: #000000;
  line-height: 1.5;
}
.generator__item--label input[type="text"]:hover,
.generator__item--label input[type="text"]:focus,
.generator__item--label input[type="text"].active {
  border-color: #f8d5d7;
  background-color: #f8d5d7;
}
.generator__item--label input[type="text"].active {
  color: #dc2d35;
}
.generator__item--label span {
  font-size: 14px;
  display: block;
  padding: 4px 25px;
  -webkit-border-radius: 70px;
  -moz-border-radius: 70px;
  border-radius: 70px;
  border: 1px solid #e7e7ec;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.generator__item--label span:hover,
.generator__item--label span.active {
  border-color: #f8d5d7;
  background-color: #f8d5d7;
}
.generator__item--label span.active {
  color: #dc2d35;
}
.generator__bottom {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 24px;
}
.generator__bottom .--error {
  text-align: center;
  padding: 10px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  display: none;
  font-size: 14px;
  line-height: 20px;
  margin-top: var(--generator-padding);
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  width: 100%;
}
.generator__bottom .btn {
  background: var(--theme-brown);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-family: Gilroy;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 19px;
  letter-spacing: 0em;
  text-align: left;
  padding: 12px 20px;
  border: none;
  outline: none;
  cursor: pointer;
  text-transform: uppercase;
  color: white;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.generator__bottom .btn:hover {
  background: var(--theme-grey-dark);
  color: #ffffff;
}
.generator__bottom .btn:nth-child(2) {
  color: #654a00;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ffd151),
    to(#e9ad05)
  );
  background: -webkit-linear-gradient(top, #ffd151 0%, #e9ad05 100%);
  background: -moz-linear-gradient(top, #ffd151 0%, #e9ad05 100%);
  background: -o-linear-gradient(top, #ffd151 0%, #e9ad05 100%);
  background: linear-gradient(180deg, #ffd151 0%, #e9ad05 100%);
  -webkit-box-shadow: 0px 2px 0px #dfa400, inset 0px -1px 3px #ffcd40,
    inset 0px 5px 8px #ffd96e;
  -moz-box-shadow: 0px 2px 0px #dfa400, inset 0px -1px 3px #ffcd40,
    inset 0px 5px 8px #ffd96e;
  box-shadow: 0px 2px 0px #dfa400, inset 0px -1px 3px #ffcd40,
    inset 0px 5px 8px #ffd96e;
}
.generator__bottom .btn:nth-child(2):hover {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ffe18e),
    to(#ffcb3b)
  );
  background: -webkit-linear-gradient(top, #ffe18e 0%, #ffcb3b 100%);
  background: -moz-linear-gradient(top, #ffe18e 0%, #ffcb3b 100%);
  background: -o-linear-gradient(top, #ffe18e 0%, #ffcb3b 100%);
  background: linear-gradient(180deg, #ffe18e 0%, #ffcb3b 100%);
  -webkit-box-shadow: 0px 2px 0px #dfa400, inset 0px -1px 3px #ffcd40,
    inset 0px 5px 8px #ffd96e;
  -moz-box-shadow: 0px 2px 0px #dfa400, inset 0px -1px 3px #ffcd40,
    inset 0px 5px 8px #ffd96e;
  box-shadow: 0px 2px 0px #dfa400, inset 0px -1px 3px #ffcd40,
    inset 0px 5px 8px #ffd96e;
  color: #654a00;
}
.generator__bottom .btn.disable {
  cursor: no-drop;
  color: #9f9f9f;
  background: transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: 1px solid #9f9f9f;
  position: relative;
  padding: 11px 20px;
  -webkit-box-shadow: 0px 2px 0px transparent, inset 0px -1px 3px transparent,
    inset 0px 5px 8px transparent;
  -moz-box-shadow: 0px 2px 0px transparent, inset 0px -1px 3px transparent,
    inset 0px 5px 8px transparent;
  box-shadow: 0px 2px 0px transparent, inset 0px -1px 3px transparent,
    inset 0px 5px 8px transparent;
}
.generator__bottom .btn.disable:hover {
  opacity: 0.8;
  color: #9f9f9f;
  background: transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: 1px solid #9f9f9f;
  -webkit-box-shadow: 0px 2px 0px transparent, inset 0px -1px 3px transparent,
    inset 0px 5px 8px transparent;
  -moz-box-shadow: 0px 2px 0px transparent, inset 0px -1px 3px transparent,
    inset 0px 5px 8px transparent;
  box-shadow: 0px 2px 0px transparent, inset 0px -1px 3px transparent,
    inset 0px 5px 8px transparent;
}

.generator__help {
  cursor: pointer;
  align-self: center;
  margin-left: auto;
  margin-right: 24px;
  color: #0a58ca;
}

.generator__help:hover {
  color: #dfa400;
}

@media (max-width: 992px) {
  .generator__item {
    width: -webkit-calc((100% - 20px) / 2);
    width: -moz-calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
  }
  .generator__help {
    margin: 0 12px;
  }
}
@media (max-width: 768px) {
  .generator {
    --generator-padding: 15px;
  }
  .generator__block {
    padding: var(--generator-padding);
  }
  .generator__item {
    width: 100%;
  }
  .generator__help {
    margin: 12px auto 0 auto;
    order: 3;
    text-align: center;
  }
}
@media (max-width: 576px) {
  .generator {
    --generator-padding: 10px;
  }
  .generator__title {
    font-size: 16px;
    line-height: 20px;
  }
  .generator--close {
    top: var(--generator-padding);
    right: var(--generator-padding);
  }
  .generator__item {
    width: 100%;
  }
}

.generatorSkuFind--item {
  margin: 20px 0;
  background-color: #eaeaea;
  padding: 5px 15px;
}
