@media all and (min-width: 640px) {
  .amrelated-popup-container .amrelated-bundle-popup {
    margin: 0 auto;
    padding: 0 0 13px;
    width: 400px;
    max-width: initial;
  }
  .amrelated-popup-container .amrelated-info.-top {
    margin-top: 15px;
  }
}
@media all and (min-width: 768px), print {
  .amrelated-pack-wrapper .amrelated-content-wrapper {
    position: unset;
    margin-top: 15px;
    padding-top: 0;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    background: #fff;
  }
  .amrelated-pack-wrapper .amrelated-content-wrapper .amrelated-pack-item:not(:last-child) {
    border-bottom: none;
  }
  .amrelated-pack-wrapper .amrelated-content-wrapper .amrelated-photo-container .amrelated-discount {
    font-size: 15px;
  }
  .amrelated-pack-wrapper .amrelated-content-wrapper .amrelated-plus,
  .amrelated-pack-wrapper .amrelated-content-wrapper .amrelated-equal {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 10px 5px;
    font-size: 50px;
    line-height: 100px;
    text-align: center;
  }
  .amrelated-pack-wrapper .amrelated-content-wrapper .amrelated-plus {
    color: #1979c3;
  }
  .amrelated-pack-wrapper .amrelated-content-wrapper .amrelated-equal {
    color: #e9f6ff;
  }
  .amrelated-pack-wrapper .amrelated-title:after {
    content: none !important;
  }
  .amrelated-content-wrapper .amrelated-pack-list {
    width: unset;
    max-width: 79%;
  }
  .amrelated-content-wrapper .amrelated-pack-list .amrelated-pack-item.-main {
    display: block;
  }
  .amrelated-pack-list.-wide {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
  .amrelated-pack-list.-wide .amrelated-pack-items {
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
  .amrelated-pack-list.-narrow .amrelated-plus,
  .amrelated-pack-list.-narrow + .amrelated-equal {
    display: block;
    line-height: 100px;
  }
  .amrelated-pack-item.-wide,
  .amrelated-pack-item.-narrow {
    width: 14%;
    min-width: 120px;
    padding: 10px;
    text-align: center;
  }
  .amrelated-pack-item.-wide .amrelated-info,
  .amrelated-pack-item.-narrow .amrelated-info {
    display: block;
  }
  .amrelated-pack-item.-wide .amrelated-details,
  .amrelated-pack-item.-narrow .amrelated-details {
    margin-left: 0;
  }
  .amrelated-pack-item.-wide .amrelated-photo-container,
  .amrelated-pack-item.-narrow .amrelated-photo-container {
    margin: 0 auto 10px;
  }
  .amrelated-content-wrapper .amrelated-summary-content {
    position: relative;
    display: block;
    width: 180px;
    margin-top: 16px;
    padding: 0;
  }
  .amrelated-content-wrapper .amrelated-summary-content .amrelated-discount {
    left: unset;
    padding: 5px;
  }
  .amrelated-content-wrapper .amrelated-summary-content .amrelated-price-wrapper {
    box-sizing: border-box;
    width: 100%;
    height: 95px;
    margin: 0;
    border: 3px dashed #e9f6ff;
    border-bottom: none;
  }
  .amrelated-content-wrapper .amrelated-summary-content .amrelated-tocart-wrapper {
    margin-right: 0;
  }
  .amrelated-content-wrapper .amrelated-summary-content .amrelated-tocart-wrapper .action {
    width: 100%;
  }
  .amrelated-popup-container .amrelated-bundle-popup {
    min-width: 700px;
    max-width: initial;
  }
  .amrelated-popup-container .amrelated-bundle-popup .amrelated-product-info {
    margin-top: 60px;
    min-height: 450px;
  }
  .amrelated-product-info .amrelated-info.-top {
    float: right;
    margin: 0;
    width: 50%;
  }
  .amrelated-product-info .amrelated-info.-bottom {
    clear: both;
    float: right;
    margin-bottom: 20px;
    width: 50%;
  }
  .amrelated-product-info .amrelated-info.-top,
  .amrelated-product-info .amrelated-info.-bottom {
    padding: 0 20px 0 0;
    box-sizing: border-box;
  }
  .amrelated-info.-top .amrelated-title {
    margin-bottom: 10px;
    font-size: 24px;
  }
  .amrelated-info.-top .product-reviews-summary {
    margin-bottom: 10px;
  }
  .amrelated-info.-top .product-reviews-summary .action {
    margin-left: 10px;
  }
  .amrelated-info.-bottom .amrelated-description {
    margin: 5px 0 0;
    font-size: 14px;
  }
  .amrelated-info.-bottom .product-add-form {
    padding: 0;
    margin: 0;
  }
  .amrelated-product-info .amrelated-image-container {
    position: absolute;
    left: 0;
    margin: 0;
    padding: 0 25px;
    width: 50%;
    border: 0;
    box-sizing: border-box;
  }
  .amrelated-product-info .amrelated-image-container > .product-item-photo {
    width: 100%;
    border: 0;
  }
  .amrelated-product-info .amrelated-image-container .product-image-container {
    border: 1px solid #b2b2b2;
  }
}
@media all and (min-width: 1024px), print {
  .amrelated-pack-wrapper .amrelated-content-wrapper .amrelated-plus,
  .amrelated-pack-wrapper .amrelated-content-wrapper .amrelated-equal {
    padding: 10px;
    font-size: 90px;
  }
  .amrelated-popup-container .amrelated-bundle-popup {
    width: 820px;
  }
  .amrelated-product-info .amrelated-info.-top,
  .amrelated-product-info .amrelated-info.-bottom {
    padding: 0 35px 0 0;
  }
  .amrelated-product-info .amrelated-image-container .amrelated-image-container {
    padding: 0 25px 0 35px;
  }
  .amrelated-product-info .amrelated-image-container > .product-item-photo {
    text-align: left;
  }
}
@media all and (min-width: 1440px), print {
  .amrelated-pack-list.-wide .amrelated-pack-item.-main {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .amrelated-pack-list.-wide .amrelated-pack-items {
    position: relative;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: unset;
    max-width: 66%;
  }
  .amrelated-pack-list.-wide .amrelated-plus,
  .amrelated-pack-list.-wide .amrelated-equal {
    line-height: unset;
  }
  .amrelated-pack-list.-wide .amrelated-pack-items .amrelated-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 0;
    height: 100%;
    background: #e9f6ff;
    box-shadow: 0 20px 0 -10px #f9f9f9;
    opacity: 1;
    transition: all 0.3s ease;
  }
  .amrelated-pack-list.-wide .amrelated-pack-items .amrelated-background.rtl {
    right: 0;
    left: unset;
  }
  .amrelated-pack-list.-wide .amrelated-pack-items .amrelated-info,
  .amrelated-pack-list.-wide .amrelated-pack-items .amrelated-plus,
  .amrelated-pack-list.-wide .amrelated-pack-items .amrelated-pack-item {
    z-index: 3;
  }
  .amrelated-pack-list.-wide .amrelated-pack-items.-selected .amrelated-background {
    width: 100%;
    opacity: 1;
  }
  .amrelated-pack-item.-wide {
    padding: 30px;
    width: 270px;
  }
  .amrelated-pack-item.-wide.-main {
    padding-left: 0;
    width: 270px;
  }
  .amrelated-pack-item.-wide .amrelated-info {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    text-align: left;
  }
  .amrelated-pack-item.-wide .amrelated-details {
    margin-left: 20px;
  }
  .amrelated-pack-item.-wide .amrelated-photo-container {
    margin: 0;
  }
}
.amrelated-sidebar-wrap {
  width: 100%;
}
.amrelated-pack-wrapper {
  margin-bottom: 30px;
  clear: both;
}
.amrelated-pack-wrapper .amrelated-title {
  position: relative;
  padding: 10px 0;
}
.amrelated-pack-wrapper .amrelated-title:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 5px;
  width: 15px;
  height: 10px;
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMSA3bDYtNiA2IDYiIHN0cm9rZT0iIzc3NyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+) no-repeat center;
  background-size: contain;
  transform: translateY(-50%);
}
.amrelated-pack-wrapper .amrelated-title.-collapsed:after {
  transform: rotate(180deg) translateY(-50%);
  transform-origin: 50% 10%;
}
.amrelated-content-wrapper {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  margin-top: 25px;
  padding-top: 15px;
  background: #f9f9f9;
}
.amrelated-plus,
.amrelated-equal,
.amrelated-price-wrapper {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
}
.amrelated-pack-list {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
}
.amrelated-pack-list.-narrow {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.amrelated-pack-items {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
}
.amrelated-pack-items .amrelated-background {
  display: none;
}
.amrelated-pack-items.-selected > .-selected {
  background: none;
  box-shadow: none;
}
.amrelated-pack-item {
  width: 100%;
  padding: 30px;
}
.amrelated-pack-item:not(:last-child) {
  border-bottom: 1px solid #ccc;
}
.amrelated-pack-item:not(.-main) {
  opacity: 0.7;
  transition: opacity 0.5s ease;
}
.amrelated-pack-item:not(.-main).-selected {
  opacity: 1;
}
.amrelated-pack-item .amrelated-info {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  box-sizing: border-box;
  height: 100%;
}
.amrelated-pack-item .amrelated-info:hover {
  z-index: unset;
  margin: 0;
  border: 0;
  box-shadow: none;
}
.amrelated-pack-item .amrelated-details {
  margin-left: 20px;
}
.amrelated-pack-item .amrelated-name {
  word-break: break-word;
  word-wrap: break-word;
}
.amrelated-pack-item .product-reviews-summary {
  margin-bottom: 5px;
}
.amrelated-pack-item .price-final_price [data-price-type="finalPrice"] .price {
  display: block;
  font-weight: bold;
  font-size: 18px;
  color: #000;
}
.amrelated-pack-item .product-reviews-summary .reviews-actions {
  display: none;
}
.amrelated-pack-item.-collapsed {
  padding: 15px 20px;
}
.amrelated-pack-item.-collapsed .amrelated-photo-container {
  position: unset;
  width: 0;
  min-width: 0;
  height: 0;
  border: 0;
}
.amrelated-pack-item.-collapsed .amrelated-checkbox + .amrelated-label {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.amrelated-pack-item.-collapsed .amrelated-photo,
.amrelated-pack-item.-collapsed .product-reviews-summary.short,
.amrelated-pack-item.-collapsed .price-box {
  display: none;
}
.amrelated-pack-item.-collapsed .amrelated-discount {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.amrelated-pack-item.-collapsed .amrelated-details {
  max-width: 70%;
  margin-left: 30px;
}
.amrelated-photo-container {
  position: relative;
  width: 100px;
  min-width: 100px;
  height: 100px;
  margin: 0;
  text-align: center;
  background: #fff;
  border: 1px solid #e8e8e8;
}
.amrelated-photo-container .amrelated-link {
  width: 100%;
  height: 100%;
  display: block;
}
.amrelated-photo-container .amrelated-photo {
  max-width: 100%;
  max-height: 100%;
}
.amrelated-photo-container .amrelated-checkbox {
  display: none;
}
.amrelated-photo-container .amrelated-checkbox + .amrelated-label {
  position: absolute;
  top: -5px;
  left: -5px;
  z-index: 2;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #3978bd;
  border-radius: 2px;
  cursor: pointer;
}
.amrelated-photo-container .amrelated-checkbox:checked + .amrelated-label {
  background: #3978bd url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMmEyIDIgMCAwIDEgMi0yaDE2YTIgMiAwIDAgMSAyIDJ2MTZhMiAyIDAgMCAxLTIgMkgyYTIgMiAwIDAgMS0yLTJWMnoiIGZpbGw9IiMzOTc4QkQiLz48cGF0aCBkPSJNNSAxMGw0LjUgNEwxNSA3IiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+) no-repeat center;
  background-size: contain;
}
.amrelated-pack-item.-selected .amrelated-photo-container {
  border-color: #3978bd;
}
.amrelated-discount {
  position: absolute;
  z-index: 2;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  box-sizing: border-box;
  padding: 5px;
  color: #fff;
  background: #eb5757;
  border-radius: 2px;
}
.amrelated-discount.-product {
  top: -10px;
  right: -10px;
  display: none;
  min-width: 35px;
  max-width: 80px;
  font-size: 15px;
}
.amrelated-discount.-summary {
  top: 0;
  left: 10px;
  max-width: 100%;
  padding: 5px 15px;
  font-size: 16px;
  transform: translateY(-50%);
}
.amrelated-discount.-summary .amount {
  margin-left: 5px;
  font-weight: bold;
}
.amrelated-photo-container .amrelated-checkbox:checked ~ .amrelated-discount,
.amrelated-pack-item.-main .amrelated-discount {
  display: block;
}
.amrelated-plus,
.amrelated-equal {
  display: none;
}
.amrelated-summary-content {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  width: 100%;
  padding: 15px 0;
}
.amrelated-summary-content .main.price {
  font-weight: bold;
  font-size: 30px;
  line-height: 1;
  text-align: center;
  color: #000;
}
.amrelated-price-wrapper {
  padding: 15px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 15px;
  border-bottom: none;
}
.amrelated-tocart-wrapper {
  margin-right: 10px;
}
.amrelated-tocart-wrapper .action {
  padding: 15px;
  font-size: 18px;
}
.amrelated-popup-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
}
.amrelated-bundle-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 9999;
  box-sizing: border-box;
  max-width: 315px;
  height: auto;
  overflow: hidden;
  padding: 0 0 13px;
  text-align: center;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.amrelated-bundle-popup .close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 9;
  width: 12px;
  height: 12px;
  font-size: 21px;
  color: rgba(0, 0, 0, 0.25);
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTMiIGhlaWdodD0iMTMiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgMWwxMSAxMW0wLTExTDEgMTIiIHN0cm9rZT0iI0IyQjJCMiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==) no-repeat center;
  cursor: pointer;
}
.amrelated-bundle-popup .amrelated-products-wrapper {
  height: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding-bottom: 80px;
}
.amrelated-bundle-popup .amrelated-products-wrapper:last-child:after {
  display: none;
}
.amrelated-bundle-popup .amrelated-products-wrapper .product-options-bottom .actions,
.amrelated-bundle-popup .amrelated-products-wrapper .box-tocart .actions {
  display: block;
}
.amrelated-bundle-popup .amrelated-notice {
  z-index: 99;
  max-width: 60%;
  margin: 0 auto;
  padding: 10px 20px;
  border-radius: 0 0 7px 7px;
  font-size: 14px;
  background: #fffae5;
}
.amrelated-bundle-popup .amrelated-popup-tocart-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  z-index: 10;
  background-color: #fff;
  text-align: right;
}
.amrelated-bundle-popup .amrelated-popup-tocart-wrapper .action {
  display: inline-block;
  padding: 15px;
  font-size: 18px;
}
.amrelated-product-container {
  position: relative;
}
.amrelated-product-container:after {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 68%;
  height: 1px;
  margin-left: 16%;
  background-color: #c5c5c5;
  content: '';
}
.amrelated-product-container:last-child:after {
  display: none;
}
.amrelated-product-container .amrelated-product-message {
  display: none;
}
.amrelated-product-container .amrelated-image-wrapper {
  max-width: 150px;
  margin: 15px auto;
}
.amrelated-product-info {
  width: 100%;
  /* rewrite magento styles*/
}
.amrelated-product-info .amrelated-info.-top,
.amrelated-product-info .amrelated-info.-bottom {
  padding: 0 20px;
  text-align: left;
}
.amrelated-product-info .box-tocart .actions,
.amrelated-product-info .action.back.customization,
.amrelated-product-info .block-bundle-summary,
.amrelated-product-info .tocart {
  display: none;
}
.amrelated-product-info .bundle-options-wrapper {
  margin-top: 25px;
}
.amrelated-product-info .bundle-options-wrapper input[type="radio"] {
  width: 15px;
}
.amrelated-product-info .bundle-options-wrapper p.required {
  color: #e02b27;
}
.amrelated-product-info .bundle-options-wrapper .field.qty > .label {
  display: inline-block;
  margin: 10px 0 8px;
  font-weight: 600;
}
.amrelated-product-info .bundle-options-wrapper .input-text.qty {
  text-align: center;
  width: 54px;
}
.amrelated-product-info .product-options-bottom .price-box .price-container .price,
.amrelated-product-info .product-info-price .price-box .price-container .price {
  font-size: 22px;
  font-weight: 600;
  line-height: 22px;
}
.amrelated-image-container {
  box-sizing: border-box;
  width: initial;
  margin: 0 25px 10px;
  border: 1px solid #b2b2b2;
}
.amrelated-image-container > .product-item-photo {
  display: block;
  width: 60%;
  margin: auto;
}
.amrelated-image-container .product-image-container {
  vertical-align: middle;
}
.amrelated-info.-top {
  margin: 0;
}
.amrelated-info.-top > .amrelated-title {
  margin-bottom: 5px;
  font-size: 20px;
}
.amrelated-info.-top > .amrelated-rating .rating-summary {
  vertical-align: text-bottom;
}
.amrelated-info.-top > .amrelated-price,
.amrelated-info.-top > .amrelated-price .price {
  font-size: 24px;
  font-weight: bold;
}
.amrelated-info.-top .reviews-actions .action {
  margin-left: 15px;
  font-size: 14px;
  color: #000;
}
.amrelated-info.-bottom {
  /* don't hide grouped price*/
}
.amrelated-info.-bottom > .amrelated-description {
  margin: 0 25px;
  font-size: 12px;
}
.amrelated-info.-bottom .swatch-attribute {
  margin-bottom: 20px;
}
.amrelated-info.-bottom .product-options-bottom .price-box {
  display: none;
}
.amrelated-info.-bottom .product-options-bottom .grouped .price-box {
  display: block;
}
