@media (max-width:991px) {
  #card-body .carousel-wrapper {
    margin-bottom: 50px;
  }
  #card-body .carousel-wrapper.more-than-5 {
    margin-bottom: 105px;
  }
  #card-body .carousel-wrapper.more-than-10 {
    margin-bottom: 160px;
  }
  #card-body .carousel-indicators {
    top: calc(100% - 25px);
  }
  #card-body .carousel-indicators li {
    height: 40px;
    margin: 5px 7px;
    width: 40px;
  }
  #card-body .item-description {
    padding-bottom: 30px;
    padding-top: 0;
  }
  #card-body .item-description .title {
    float: none;
    margin-right: 0;
  }
  #card-body .item-description .description-table {
    margin-bottom: 15px;
  }
  #card-body .buy-compare-sale {
    margin-bottom: 7px;
  }
  #card-body .buy-compare-sale .sale {
    display: block;
    padding: 0;
  }
  #card-body .nav-tabs > li > a {
    font-size: 15px;
    padding: 10px 5px;
  }
  #card-body .tab-content {
    font-size: 14px;
  }
  #card-body .cat-photos .cat-photo {
    width: 25%;
  }
  #card-body .cat-photos .cat-photo-link {
    height: 120px;
  }
}
@media (max-width: 767px) {
  #card-body .mobile-card-title {
    font-size: 18px;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 5px;
    padding-left: 30px;
    padding-right: 30px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
  }
  #card-body .mobile-card-title .go-back {
    color: #d03847;
    font-size: 30px;
    left: 15px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  #card-body .mobile-card-brand {
    text-align: center;
    margin: 15px 0;
  }
  #card-body .mobile-card-brand a {
    display: inline-block;
    height: 30px;
    position: relative;
    width: 90px;
  }
  #card-body .mobile-card-brand a img {
    height: auto;
    left: 50%;
    max-height: 50px;
    max-width: 100px;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: auto;
  }
  #card-body .item-description .description-table > div > div:first-of-type {
    padding-right: 15px;
  }
  #card-body .item-tabs {
    padding-top: 15px;
}
  /*Card body slider*/
  #card-body .carousel-wrapper {
    margin-bottom: 50px;
  }
  #card-body .carousel-wrapper.more-than-5 {
    margin-bottom: 50px;
  }
  #card-body .carousel-wrapper.more-than-10 {
    margin-bottom: 75px;
  }
  #card-body .carousel-indicators {
    top: calc(100% + 15px);
  }
  #card-body .carousel-indicators li {
    background-color: #dee3e6;
    background-size: 0 0;
    border: 0;
    border-radius: 10px;
    height: 10px;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
    width: 10px;
  }
  #card-body .carousel-indicators li.active {
    background-color: #ed1c24;
    outline-width: 0;
  }
  #card-body .carousel-indicators li img {
    display: none;
  }
  /*/Card body slider*/
  #card-body .buy-compare-sale .price {
    border-bottom-width: 0;
    border-right-width: 2px;
    text-align: center;
    width: 100%;
  }
  #card-body .buy-compare-sale .btn {
    width: 100%;
  }
  #card-body .buy-compare-sale .btn:last-child {
    margin-top: 10px;
  }
  #card-body .additional-info {
    margin-bottom: 30px;
  }
  #card-body .item-description {
    padding-bottom: 0;
  }
  /*Dropdown from tabs*/
  #card-body .tab-content {
    padding-top: 15px;
  }
  /*/Dropdown from tabs*/
  #card-body .cat-photos .cat-photo {
    width: 33.33333333%;
  }
  #card-body .cat-photos .cat-photo-link {
    height: 90px;
  }
}

@media only screen and (max-width: 1199px) {
  .main-card_sale-modal {
    margin-top: 20px;
  }

  .main-card_btns_montazh {
    margin-left: 0;
    margin-top: 20px;
  }

  .main-card_price {
    margin-right: 0;
  }
}
@media only screen and (max-width: 991px) {
  .main-card_info .title-and-brand-logo {
    text-align: center;
  }

  .main-card_buy-compare-sale {
    text-align: center;
  }

  .main-card_btns_montazh {
    margin-top: 0;
    margin-left: 20px;
  }
  .modal-popup .main-card_btns_montazh {
    margin-left: 0;
  }
}
@media only screen and (max-width: 660px) {
  .main-card_info .title-and-brand-logo .title {
    text-transform: none;
    margin-right: 0;
  }

  .main-card_info .brand-logo-wrapper {
    display: none;
  }

  .main-card_btns {
    text-align: center;
  }
  .main-card_btns .btn {
    max-width: 400px;
    width: inherit;
    display: block;
    margin: 0 auto;
  }
  .main-card_btns_montazh {
    margin-top: 20px !important;
  }
  .modal-popup .main-card_btns_montazh {
    width: 292px;
  }
}
@media only screen and (max-width: 480px) {
  .main-card_carousel .bxslider .item, .main-card_carousel .bx-wrapper .bx-viewport {
    height: 250px !important;
  }

  .main-card_carousel #bx-pager a {
    width: 50px;
    height: 50px;
  }

  .main-card_price_block {
    width: 100%;
    text-align: center;
    margin-right: 0;
    margin-bottom: 20px;
    padding: 0 15px;
  }
}
