.addtocart-modal-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
  background-color: rgba(0,0,0,0.4);
  transition: opacity .3s ease;
}
.addtocart-modal {
  background-color: #fff;
  padding: 20px;
  padding-bottom: 70px;
  position: absolute;
  width: 600px;
  height: 400px;
  top: 50%;
  left: 50%;
  margin-top: -200px;
  margin-left: -200px;
  z-index: 1001;
  transition: all .3s ease;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.addtocart-modal .close-modal {
  position: absolute;
  top: 0px;
  right: 0;
  background-color: transparent;
  background-image: none;
}
.addtocart-modal .actions {
  text-align: right;
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
}
.addtocart-js-form {
  position: relative;
}
.addtocart-js-form .submitting-lock {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255,255,255,0.4);
  cursor: progress;
  z-index: 10;
}
.product-variants-select .product-variant {
  cursor: pointer;
}
.product-variants-select .product-variant.selected {
  border: 1px solid green;
}
.modal-enter {
  opacity: 0;
}
.modal-leave-active {
  opacity: 0;
}
.modal-enter .addtocart-modal,
.modal-leave-active .addtocart-modal {
  -webkit-transform: scale(0.1);
  transform: scale(0.1);
}
