@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-cart-bundle {
      padding: 0;
      width: 73%;
    }
    .amrelated-pack-wrapper .amrelated-content-wrapper {
      position: unset;
      margin-top: 15px;
      padding-top: 0;
      -webkit-flex-wrap: nowrap;
      flex-wrap: nowrap;
    }
    .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: 12px;
    }
    .amrelated-pack-wrapper .amrelated-content-wrapper .amrelated-photo-container .amrelated-discount .price {
      font-weight: normal;
    }
    .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-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;
      margin: 0;
      width: 100%;
      height: 95px;
      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: 50px;
    }
    .amrelated-pack-item.-narrow .product-reviews-summary {
      margin: 0 auto 5px;
    }
    .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%;
      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: 2;
    }
    .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_product_content_tab .block-title {
    display: none;
  }
  .amrelated-grid-wrapper {
    /* rewrite magento luma styles*/
  }
  .amrelated-grid-wrapper .slick-arrow {
    z-index: 999;
  }
  .amrelated-grid-wrapper .slick-slide {
    margin: 0 5px;
  }
  .amrelated-grid-wrapper .slick-track {
    display: flex;
  }
  .amrelated-grid-wrapper .slick-dots .slick-active button {
    background: transparent;
  }
  .amrelated-grid-wrapper .slick-dots button {
    border: none;
    text-indent: initial;
  }
  .amrelated-grid-wrapper .slick-dots button:hover,
  .amrelated-grid-wrapper .slick-dots button:active,
  .amrelated-grid-wrapper .slick-dots button:focus {
    border: none;
  }
  .amrelated-grid-wrapper .products-grid .product-item-info:hover {
    z-index: 3;
  }
  .amrelated-sidebar-wrap {
    width: 100%;
  }
  .amrelated-cart-message {
    position: relative;
    display: block;
    margin: 0 0 10px;
    padding: 5px 25px;
    background: #e9f6ff;
    color: #333;
    text-align: center;
    font-size: 1.6rem;
    line-height: 42px;
  }
  .amrelated-cart-message:before {
    position: relative;
    top: 8px;
    display: inline-block;
    margin-right: 2px;
    width: 30px;
    height: 30px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHZpZXdCb3g9IjAgMCAzMCAzMCIgZmlsbD0ibm9uZSI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yNSAxNi4zMzU5QzE4LjM1OTQgMTYuMTE3MiAxOC4wOTkgMTYuMDA3OCAxNy43ODEyIDE2LjAwNzhDMTcuNDU4MyAxNi4wMDc4IDE3LjE5NTMgMTYuMTE3MiAxNi45OTIyIDE2LjMzNTlDMTYuNzk0MyAxNi41NTQ3IDE2LjY5NTMgMTYuODU2OCAxNi42OTUzIDE3LjI0MjJWMTcuODIwM1pNMTIuNzEwOSAxOS4xNDg0TDExLjczNDQgMTguNTg1OUwxNy4yODkxIDkuNjk1MzFMMTguMjY1NiAxMC4yNTc4TDEyLjcxMDkgMTkuMTQ4NFoiIGZpbGw9IndoaXRlIi8+PC9zdmc+);
    content: '';
  }
  .amrelated-cart-message .price,
  .amrelated-cart-message .product-link {
    font-weight: bold;
  }
  .amrelated-bundle-toolbar .pager {
    text-align: right;
  }
  .amrelated-bundle-toolbar .pages,
  .amrelated-bundle-toolbar .limiter {
    display: inline-block;
  }
  .amrelated-cart-bundle {
    float: left;
    margin-top: 30px;
    padding: 0 5px;
  }
  .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 {
    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 {
    display: flex;
    flex-wrap: wrap;
    margin-left: 20px;
  }
  .amrelated-pack-item .price-box {
    width: 100%;
    margin: 3px 0 0 0;
  }
  .amrelated-pack-item .amrelated-name {
    width: 100%;
    word-wrap: break-word;
    word-break: break-word;
  }
  .amrelated-pack-item .product-reviews-summary {
    margin: 0 0 5px 0;
  }
  .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;
    margin: 0 40px 0 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-qty {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    min-width: 30px;
    height: 30px;
    padding: 0 2px;
    border: 1px solid #3978bd;
    border-radius: 50%;
    background: #e9f6ff;
    box-shadow: 0 2px 4px rgba(16, 31, 48, 0.2);
    color: #000;
    font-weight: bold;
  }
  .amrelated-photo-container .amrelated-qty:before {
    content: 'x';
    font-weight: normal;
    font-size: 11px;
  }
  .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 #000;
    border-radius: 2px;
    cursor: pointer;
  }
  .amrelated-photo-container .amrelated-checkbox:checked + .amrelated-label {
    background: #000 url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMmEyIDIgMCAwIDEgMi0yaDE2YTIgMiAwIDAgMSAyIDJ2MTZhMiAyIDAgMCAxLTIgMkgyYTIgMiAwIDAgMS0yLTJWMnoiIGZpbGw9IiMwMDAwMDAiLz48cGF0aCBkPSJNNSAxMGw0LjUgNEwxNSA3IiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+) no-repeat center;
    background-size: contain;
  }
  .amrelated-pack-item.-selected .amrelated-photo-container {
    border-color: #e8e8e8;
  }
  .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: #295E56;
    border-radius: 2px;
  }
  .amrelated-discount.-product {
    top: -10px;
    right: -10px;
    display: none;
    font-size: 12px;
  }
  .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: 7px 15px;
    height: auto;
    line-height: normal;
  }
  .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-product-info.giftcard .amrelated-price {
    display: none;
  }
  .amrelated-product-info.giftcard .amrelated-info.-bottom .product-options-bottom .price-box {
    display: block;
  }
  .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;
  }
  .am-porto-cmtb .amrelated .product-item-details .product-item-actions {
    display: flex;
    justify-content: center;
    margin: 0;
  }
  .am-porto-cmtb .amrelated .product-item-details .product-item-actions .actions-primary {
    margin: 0 5px 0 0;
  }
  .am-porto-cmtb .products-grid .product-item-details .product-item-actions {
    margin: 0;
    text-align: left;
  }
  .am-porto-cmtb .products-grid .product-item .product-item-inner {
    margin: 10px 0;
  }
  .am-porto-cmtb .products-grid .product-item-actions .actions-secondary {
    padding: 0;
  }
  .am-porto-cmtb .wishlist.split.button {
    margin-right: 0;
  }
  .am-porto-cmtb .wishlist.split.button .change.action {
    display: none;
  }
  .am-porto-cmtb .product-items.slick-slider .slick-slide {
    margin: 0 10px;
  }
  .am-porto-cmtb .product-items.slick-slider .slick-slide .to-cart {
    padding: 0 8px;
  }
  .am-porto-cmtb .product-items.slick-slider .slick-slide .product-item {
    max-width: 100%;
  }
  .am-porto-cmtb .product-items.slick-slider .slick-slide .product-item-actions {
    text-align: center;
  }
  .am-porto-cmtb .product-items.slick-slider .slick-slide .action.split {
    margin-right: 0;
  }