#mgs-ajax-loading {
  display: none;
}
.ajaxcart-catalog-product-view {
  overflow-y: auto !important;
}
#mgs-ajax-loading .preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #fff;
  margin: 0 auto;
  -webkit-animation: rotateplane 1.2s infinite ease-in-out;
  animation: rotateplane 1.2s infinite ease-in-out;
  z-index: 99999;
}
.popup__related .sub-message {
  background: #e5efe5;
  color: #006400;
  padding: 10px;
  text-align: center;
  font-size: 16px;
}
.popup__related .product-item-actions .control .field-error span {
  color: #f00;
  font-size: 13px !important;
  font-weight: 400 !important;
}
@-webkit-keyframes rotateplane {
  0% {
    -webkit-transform: perspective(120px);
  }
  50% {
    -webkit-transform: perspective(120px) rotateY(180deg);
  }
  100% {
    -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg);
  }
}
@keyframes rotateplane {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}
.ajaxcart-catalog-product-view #maincontent {
  max-width: 100%;
  padding: 15px;
}
.ajaxcart-catalog-product-view .top-panel,
.ajaxcart-catalog-product-view .page.messages,
.ajaxcart-catalog-product-view .scroll-to-top {
  display: none !important;
}
.ajaxcart-catalog-product-view .bundle-options-wrapper {
  padding-top: 0 !important;
}
.ajaxcart-catalog-product-view .page-title-wrapper.product {
  margin-top: 0 !important;
}
.ajaxcart-catalog-product-view .product-addto-links {
  display: none !important;
}
.ajaxcart-catalog-product-view .product-info-main .price-from,
.ajaxcart-catalog-product-view .product-info-main .price-to,
.ajaxcart-catalog-product-view .product-info-main .bundle-actions {
  display: none !important;
}
.ajaxcart-catalog-product-view .bundle-options-container .product-add-form {
  display: block !important;
}
.ajaxcart-catalog-product-view .bundle-options-wrapper .legend.title,
.ajaxcart-catalog-product-view .bundle-options-wrapper .legend.title + br + .margin-top20,
.ajaxcart-catalog-product-view .bundle-options-wrapper .fieldset > p.required,
.ajaxcart-catalog-product-view .action.back.customization {
  display: none !important;
}
.ajaxcart-catalog-product-view .block-bundle-summary .product-details .product.name,
.ajaxcart-catalog-product-view .block-bundle-summary .product-details .stock {
  display: none !important;
}
.ajaxcart-catalog-product-view .columns .column.main {
  padding-bottom: 0;
}
.ajaxcart-catalog-product-view .bundle-options-container {
  margin-bottom: 0;
}
.ajaxcart-catalog-product-view .block-bundle-summary > .title,
.ajaxcart-catalog-product-view .block-bundle-summary > .content .field.qty,
.ajaxcart-catalog-product-view .block-bundle-summary .bundle-summary {
  display: none !important;
}
.success-ajax--popup .mfp-inline-holder .mfp-content {
  width: 100%;
  max-width: 1070px;
  margin: 0 auto;
  background-color: #fff;
  padding: 50px 20px 70px;
}
.success-ajax--popup .mfp-iframe-holder .mfp-content {
  width: 860px !important;
  margin: 0 auto;
  background-color: #fff;
  padding: 15px;
  min-height: 400px;
}
.success-ajax--popup .product-image-container {
  width: 100% !important;
}
.success-ajax--popup .product-image-container .product-image-wrapper .product-image-photo {
  max-width: 100% !important;
  margin: 0 auto;
  display: block;
  height: auto !important;
  max-height: 250px;
  object-fit: contain;
}
.success-ajax--popup .popup__result-view-cart {
  margin: 0 !important;
}
.success-ajax--popup .popup__result-view-cart a,
.success-ajax--popup .popup__actions-wrapper button {
  width: 100%;
  text-align: center;
  display: block;
  margin-bottom: 10px;
  min-height: 30px;
}
.success-ajax--popup .popup__result-title {
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  color: #222;
}
.popup__message.popup__message--good {
  font-size: 18px;
  font-weight: 700;
}
