.bf_prod-name a {
  text-decoration: none;
  color: #333333 !important;
}

.bf_slider-slide {
  padding-top: 10px;
}
.bf_menu-wrapper {
  font-family: "Roboto", sans-serif;
  z-index: 4;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
  z-index: 100;
  /* position: relative; */
}

.bf_menu-content {
  overflow-y: hidden;
}

.bf_menu-link {
  /* margin-top: 5px;
    margin-bottom: 5px; */
  color: #333333;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
}
.bf_menu-link:last-child {
  border-right: 0;
}
.bf_menu-link:hover {
  color: #fff !important;
}

.bf_slider-slide.active {
  color: #fff !important;
  background: #333333;
}
.bf_slider-slide.active .bf_menu-link {
  color: #ffffff;
}

.bf_mob-menu {
  display: none;
}

@media screen and (max-width: 1599px) {
  .bf_menu-wrapper {
    /* width: 1228px; */
    top: 9.8%;
    margin-bottom: 48px;
  }
  .bf_menu-link {
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
  }
  .bf_menu-link:last-child {
    border-right: 0;
  }
  .bf_menu-link:hover {
    color: #000000 !important;
  }
}

@media screen and (max-width: 1279px) {
  .bf_menu-wrapper {
    top: 8%;
    margin-bottom: 40px;
  }
  .t-best {
    height: 850px;
  }
  .b_heroes__title--big {
    font-weight: 700;
    font-size: 28px;
    line-height: 32px;
    color: #ffffff;
    margin-bottom: 20px;
  }
  .t-decor--left {
    left: 120px;
    max-width: 60px;
  }
  .bf_slider {
    justify-content: flex-start;
  }
}
@media screen and (max-width: 1279px) {
  .b_wrapper__category .bf_product-wrapp {
    min-height: 400px;
    height: 400px;
  }
  /* .bf_menu-wrapper {
      width: 940px;
    } */
  .bf_product-wrapp.bf_product-wrapp_bg {
    background-color: #2b2b2b;
    background-image: url(//static.mvideo.ru/media/Promotions/Promo_Page/2021/January/Promocatalog2021/Cashback_28.09.2021/img/premium.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center center;
  }
}

@media screen and (max-width: 1279px) {
  .bf_prod-viscont {
    height: 110px;
  }
  /* .t-bottom-block {
      margin-top: 200px;
    } */
  .bf_product-wrapp {
    padding: 16px;
  }
  .b_wrapper__category .bf_product-wrapp {
    height: 400px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .bf_menu-wrapper {
    width: 100%;
    margin-bottom: 40px;
    /* padding: 0 20px 0 0; */
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .bf_menu-content {
    width: calc(100% - 60px);
    margin: 0 auto;
  }

  .bf_menu-link {
    font-size: 8px;
  }
  .bf_slider-slide {
    /* height: 50% !important; */
    padding: 6px;
  }
  .mySwiper3 .bf_slider-slide {
    padding: 6px;
  }
}

@media screen and (max-width: 767px) {
  .mySwiper3 .bf_slider-slide {
    height: 100%;
  }
  .bf_menu-wrapper {
    /* position: absolute; */
    font-family: "Roboto", sans-serif;
    z-index: 4;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    /* width: calc(100% - 60px); */
    margin: 0 auto;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    /* box-shadow: 0 10px 17px 0 rgb(0 0 0 / 5%); */
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .bf_slider-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid #333333; */
    box-sizing: border-box;
    border-radius: 16px;
    height: auto;
    width: auto !important;
    padding: 6px 16px;
    background: transparent;
  }
}

@media screen and (min-width: 1280px) {
  .bf_menu-content {
    width: 100%;
    margin: 0 auto;
    /* margin-left: 50px;
      margin-right: 50px; */
    -webkit-box-pack: center;
    -webkit-justify-content: space-between;
    -ms-flex-pack: center;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1599px) {
  .bf_menu-content {
    /* width: 1490px; */
    width: 1516px;
    /* -webkit-box-pack: justify; */
    -webkit-justify-content: center;
    -ms-flex-pack: justify;
    justify-content: center;
  }
  .bf_menu-link {
    /* margin-top: 5px;
      margin-bottom: 5px; */
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
  }
}
@media (min-width: 1228px) and (max-width: 1599px) {
  .bf_menu-link {
    font-size: 12px;
    line-height: 18px;
  }
}

@media (min-width: 1024px) and (max-width: 1227px) {
  .bf_menu-link {
    font-size: 10px;
  }
}

@media (min-width: 961px) and (max-width: 1024px) {
  .bf_menu-link {
    font-size: 10px;
    line-height: 16px;
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  .bf_menu-content {
    width: 100%;
    margin: 0 auto;
  }
  .bf_menu-link {
    /* font-size: 8px; */
    font-size: 12px;
    line-height: 18px;
  }
}
@media screen and (max-width: 767px) {
  .bf_menu-content {
    margin: 0;
    /* width: calc(100% - 40px); */
  }
  .bf_slider-slide {
    box-shadow: 0px 1px 9px rgba(0, 0, 0, 0.12);
  }

  .bf_menu-link {
    margin-right: 20px;
    margin-left: 20px;
    border-right-style: none;
  }

  .bf_mob-menu {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
  }

  .bf_mob-act {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .bf_mob-menu_content {
    position: absolute;
    left: 0%;
    top: 0%;
    right: 0%;
    bottom: 0%;
    display: none;
    overflow: auto;
    width: 100%;
    height: 100vh;
    padding: 20px;
    background-color: #333;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .mob_menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }

  .ico_chdwn {
    width: 20px;
    height: 20px;
    margin-left: 15px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 19px;
    background-image: url("//static.mvideo.ru/media/Promotions/Promo_Page/2020/December/megacashback/images/ico_chevron_dwn.svg");
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .ico_close {
    width: 40px;
    height: 40px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0px;
    padding-bottom: 0px;
    background-image: url("//static.mvideo.ru/media/Promotions/Promo_Page/2020/December/megacashback/images/ico_close.svg");
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

@media screen and (max-width: 1599px) {
  .bf_product-wrapp {
    /* height: 460px; */
    min-height: 420px;
  }
  .b_wrapper__category .bf_product-wrapp {
    height: 430px;
  }
  .bf_prod-viscont {
    height: 130px;
  }
}

@media screen and (max-width: 568px) {
  .bf_prod-name {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 16px;
  }
}

@media screen and (max-width: 600px) {
  .bf_product-wrapp {
    max-width: 350px;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 411px) {
  .bf_product-wrapp {
    min-height: 310px;
  }
}
@media (min-width: 300px) and (max-width: 767px) {
  .bf_menu-wrapper .atgContainer {
    padding: 0 0 0 20px;
  }
}

.bf_slider-slide:hover {
  background: #333333 !important;
  color: #fff;
}
.bf_slider-slide:hover .bf_menu-link {
  color: #fff !important;
}
.bf_slider {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  column-gap: 5px;
  padding-bottom: 40px;
  margin-bottom: -40px;
}
.bf_slider-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333333;
  box-sizing: border-box;
  border-radius: 16px;
  height: auto;
  width: auto !important;
  padding: 6px 16px;
  background: #ffffff;
}
.slider-slide:hover .bf_menu-link {
  color: #fff !important;
}
.bf_menu-link.active {
  color: #fff;
  background: #333333;
  border: none;
}
@media (min-width: 530px) and (max-width: 600px) {
  .bf_menu-wrapper {
    top: 6.5%;
  }
}
@media (min-width: 431px) and (max-width: 530px) {
  .bf_menu-wrapper {
    top: 5.5%;
  }
}
@media (min-width: 400px) and (max-width: 430px) {
  .bf_menu-wrapper {
    top: 5%;
  }
}
@media (min-width: 300px) and (max-width: 400px) {
  .bf_menu-wrapper {
    margin-bottom: 20px;
    margin-top: 0;
    top: 4%;
  }
}
@media (max-width: 1279px) {
  .bf_slider {
    justify-content: flex-start;
  }
}