.tags-title {
  text-align: center;
  font-weight: 700;
  font-size: 30px;
  line-height: 37px;
  margin-bottom: 10px;
}

.clearfix {
  overflow: auto;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.pohozhie .spis_tov .tovar1 {
  margin: 0 10px 20px 10px !important;
}

@media (max-width: 1200px) {
  .pohozhie .spis_tov .tovar1 {
    margin-left: 20px !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .pohozhie .spis_tov .tovar1 {
    margin-left: 0 !important;
  }
}

.pohozhie .spis_tov {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 6.5px;
}

@media (max-width: 1200px) {
  .pohozhie .spis_tov {
    justify-content: flex-start;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .pohozhie .spis_tov {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .content2 .pohozhie .spis_tov .tovar1 img {
    height: auto;
  }
}

.fav-header a {
  display: block;
  line-height: 0;
}

.fav-header img {
  width: 40px;
  height: 40px;
}

.quantity-block.disabled {
  position: relative;
}

.quantity-block.disabled:after {
  content: '';
  opacity: 0.5;
  background-position: center;
  background-size: 20px;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  left: 0;
  top: 0;
  position: absolute;
  background: #fff;
}

.popup-v2 {
  border: 1px solid #AFAFB0;
}

.popup-v2.white-popup {
  max-width: 100%;
  padding: 0;
  border-radius: 13px;
  width: 925px;
}

@media (max-width: 767px) {
  .popup-v2.white-popup {
    height: 550px;
    overflow-x: auto;
  }
}

.popup-v2__header {
  background: #F0EBE5;
  padding: 8px 30px;
  font-size: 22px;
  font-weight: bold;
  position: relative;
  border-radius: 13px 13px 0 0;
  border-bottom: 1px solid #AFAFB0;
}

.popup-v2__header .popup_close {
  color: #000;
  width: 50px;
  height: 100%;
  padding-bottom: 0;
  font-size: 40px;
}

.popup-v2 .item-in-basket>div {
  display: block;
}

.popup-v2 .item-in-basket>div.popup-v2__top {
  display: flex;
}

.popup-v2 .item-in-basket>div.popup-v2__mid {
  display: flex;
}

.popup-v2 .item-in-basket-right>* {
  display: block;
}

.popup-v2 .item-in-basket-right>.popup-v2__quantity {
  display: flex;
}

.popup-v2__top {
  width: 100%;
  display: flex;
  padding: 0 30px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .popup-v2__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-height: 100%;
    overflow-y: auto;
  }
}

.popup-v2__top .innerCart {
  margin-left: auto;
  width: 250px;
  padding: 15px;
  border: 1px solid #AFAFB0;
}

.popup-v2__top .innerCart p {
  padding: 0px;
  margin: 20px 0;
}

@media (max-width: 767px) {
  .popup-v2__top .innerCart p {
    margin: 0;
    margin-bottom: 10px;
  }
}

.popup-v2__top .item-in-basket-img {
  width: 200px;
  height: 175px;
}

@media (max-width: 1199px) {
  .popup-v2__top .item-in-basket-img {
    width: 150px;
  }
}

@media (max-width: 767px) {
  .popup-v2__top .item-in-basket-img {
    width: 100px;
    height: 100px;
    margin-right: 0;
  }

  .popup-v2__top .item-in-basket-img img {
    width: auto;
    height: auto;
  }
}

.popup-v2__top .item-in-basket-right {
  margin-left: 15px;
  margin-right: 15px;
  width: 300px;
  max-width: 100%;
  font-size: 18px;
}

.popup-v2__price {
  margin: 15px 0;
}

.popup-v2__price .item-in-basket-price>span {
  font-weight: normal;
}

.popup-v2 .item-in-basket-articul {
  font-size: inherit;
}

.popup-v2__quantity {
  display: flex;
  align-items: center;
}

.popup-v2__quantity .quantity-block {
  margin-top: 0;
  margin-left: 22px;
}

.popup-v2 .quantity-block {
  border: 1px solid #E3E3E3;
}

.popup-v2 .toCart {
  line-height: 1;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: none;
  margin: 0;
  border-radius: 9px;
  font-size: 22px;
}

.popup-v2 .toCart:after {
  content: '>';
  display: block;
  padding-left: 5px;
  font-weight: bold;
}

.popup-v2__mid {
  padding: 0 30px;
  margin-bottom: 10px;
  margin-top: 10px;
  color: #34A8CF;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .popup-v2__mid {
    text-align: center;
    justify-content: center;
    margin: 20px 0 30px;
  }
}

.popup-v2__mid a {
  color: #34A8CF;
  font-size: 18px;
}

.popup-v2__mid span:first-child {
  padding-right: 5px;
}

.popup-v2__bot {
  padding: 0 30px;
}

.popup-v2 h3 {
  box-sizing: border-box;
  font-size: 22px;
  padding: 10px 20px;
  border: 1px solid #AFAFB0;
  background: #F0EBE5;
  display: block;
  width: 100%;
}

.popup-v2 .element-recommends {
  margin-bottom: 30px;
}

.popup-v2 .element-recommend {
  justify-content: space-around;
  height: 81px;
  border-bottom: 1px dashed #AFAFB0;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

@media (max-width: 1199px) {
  .popup-v2 .element-recommend {
    height: auto;
    flex-wrap: wrap;
  }

  .popup-v2 .element-recommend .element-recommend-img {
    max-height: 100px;
  }

  .popup-v2 .element-recommend .element-recommend-img img {
    height: auto;
  }
}

.popup-v2 .element-recommend-name {
  color: #34A8CF;
  overflow: hidden;
  height: 67px;
  display: block;
}

.popup-v2 .element-recommend-price>span {
  font-weight: normal;
}

.popup-v2 .element-recommend-price {
  width: 100px;
}

.popup-v2 .continue-shopping {
  margin-top: 0;
}

.btn-buy-green {
  background: #70c207;
  line-height: 1;
  padding: 5px 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 9px;
  font-size: 22px;
  text-transform: none;
  border: none;
  color: #fff;
  font-weight: bold;
}

@media (max-width: 1199px) {
  .btn-buy-green {
    margin-top: 15px;
  }
}

.btn-buy-green:before {
  content: '';
  display: block;
  margin-right: 10px;
  background-image: url("../images/basket2.png");
  background-repeat: no-repeat;
  background-size: 21px;
  background-position: center;
  width: 21px;
  height: 25px;
}

.btn-buy-green:after {
  content: '>';
  display: block;
  padding-left: 5px;
  font-weight: bold;
}

.col_right .slid_tovars h2 {
  text-align: center;
  font-weight: 700;
  font-size: 30px;
  line-height: 37px;
  margin: 0 0 40px;
}

.header .col2 .cart.cart_custom {
  display: flex;
  flex-wrap: wrap;
  width: 141px;
}

.cart_custom span {
  display: block;
}

.header .col2 .cart.cart_custom span:last-child {
  font-weight: normal;
  font-size: 15px;
}

.replace-articul:before {
  content: 'Артикул';
}

.replace-price:before {
  content: 'цена розничная';
}

/*
.replace-click:before{
  content: 'Купить в 1 клик';
}
.replace-cart:before{
  content: 'В корзину';
}
*/
.replace-incart:before {
  content: 'Уже в корзине';
}



.search-page .fast-add-basket-img {
  display: flex;
  align-items: center;
}

.search-page .fast-add-basket-img img {
  height: auto;
  width: 100%;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Приведение в порядок шапки */
.bxmaker__geoip__city {
  position: relative !important;
}

@media (max-width: 767px) {
  body .wrapper {
    overflow: initial !important;
  }
}

@media(max-width: 1200px) {
  .down-excel {}

  .compare-header {
    z-index: 1;
    bottom: 67px !important;
    right: 0px !important;
  }

  .fav-header {
    z-index: 1;
    bottom: 70px !important;
    right: -55px !important;
  }
}

@media(max-width: 768px) {
  .col2 {
    position: relative;
    z-index: 8;
  }

  .compare-header {
    bottom: -48px !important;
    right: 208px !important;
  }

  .fav-header {
    bottom: -45px !important;
    right: 162px !important;
  }

}

@media(max-width: 767px) {
  .header #logo {
    position: relative;
    z-index: 1;
    margin: 0 !important;
  }

  .compare-header {
    bottom: -83px !important;
    right: 55px !important;
  }

  .fav-header {
    bottom: -78px !important;
    right: 0px !important;
  }

  .bx-basket.bx-opener {
    float: none !important;
  }

  .header .col1 {
    width: 100% !important;
    margin: -70px 0 0 0 !important;
  }

  .header .col1 .search {
    margin: 0 !important;
  }
}

@media(max-width: 500px) {
  .header .col1 {
    margin: -60px 0 0 0 !important;
  }
}

@media(max-width: 480px) {
  .header .col1 .phones {
    margin-bottom: 10px !important;
  }

  .header .col1 .phones p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .header .col1 .phones p a {
    width: 135px;
  }
}

@media(max-width: 767px) {
  .logs {
    position: relative;
    z-index: 1;
  }
}

/*@media(max-width: 390px){
  .logs{
    transform: translateY(-150px);
  }
}
@media(max-width: 341px){
  .logs{
    transform: translateY(-185px);
  }
}
*/


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Приведение в порядок страницы */
@media(max-width: 767px) {
  .col_right {
    white-space: initial !important;
  }
}

.popup-window-buttons .btn-default {
  font-size: 12px;
}

@media(max-width: 1200px) {
  .bx_compare .table_compare table tr td:first-child {
    white-space: initial !important;
  }

  .bx_compare .table_compare table tr td {
    font-size: 12px !important;
    padding: 8px !important;
  }
}

.bx-filter-parameters-box-container .btn {
  width: 40% !important;
}

.bx-filter-parameters-box-container .btn#del_filter,
.bx-filter.bx-blue .btn-themes {
  font-size: 12px !important;
}


.vr-callback .popup-w {
  width: 460px !important;
}

.vr-callback .popup-w_forgotpass {
  width: 100% !important;

  box-sizing: border-box;
}

@media (max-width: 480px) {
  .vr-callback .popup-w {
    left: calc(50% - 160px);
    width: 315px !important;
  }

  .vr-callback .popup-w .input-group {
    flex-direction: column;
  }

  .vr-callback .popup-w .input-group label {
    width: 100%;
  }
}

.vr-callback+.popup_close {
  right: 20px !important;
  top: 15px !important;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Правки по БР https://trac.rbru.ru/issues/67449*/
@media(max-width: 768px) {
  #logo {
    position: relative;
    z-index: 1;
  }
}

#fast-order-popup {
  height: auto !important;
}

@media (max-width: 480px) {
  #fast-order-popup {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .form-fast-order .btn-fast-order {
    padding: 10px 27px;
    width: auto;
    margin: 0 !important;
  }
}

.table-adaptive {
  width: 100%;
}

@media(max-width: 565px) {
  .table-adaptive td {
    padding: 5px;
  }

  .table-adaptive p strong,
  .table-adaptive p span {
    font-size: 12px !important;
  }
}

.adaptive-img {
  max-width: 100%;
  width: auto;
}

.api_modal_close {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 20px;
  text-decoration: none;
  cursor: pointer;
}

.api_modal_close:after {
  content: '\2715';
}

.spis_tov.grid .tovar1 .bis.own_click {
  width: 300px;
  margin-left: auto;
}

.vr-callback-popup-overlay {
  z-index: 17 !important;

}

.slid_tovars .swiper-slide {
  max-width: initial !important;
}

@media(max-width: 768px) {}

.content2 .wrapper .clearfix {
  overflow: visible;
}

.content2 .spis_tov {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 15px;
  box-sizing: border-box;
}

.content2 .spis_tov.grid {
  display: flex !important;
}

@media(max-width: 768px) {
  .content2 .spis_tov {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 565px) {
  .content2 .spis_tov {
    grid-template-columns: repeat(1, 1fr);
  }
}

.content2 .sortir {
  padding: 0 15px;
}

.content2 .wrapper .pohozhie .spis_tov .tovar1,
.content2 .col_right .spis_tov .tovar1 {
  width: 100% !important;
  margin: 0 !important;
}

@media(max-width: 767px) {

  .content2 .wrapper .pohozhie .spis_tov .tovar1,
  .content2 .wrapper .col_right .spis_tov .tovar1 {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
}

.content2 .col_right .col1 {
  width: 100% !important;
}

.callbackForm .input-group label {
  width: auto;
}

.list .tovar1 .co1 {
  margin: 0 !important;
  padding: 0 15px !important;
  width: 100% !important;
  box-sizing: border-box;
}

.captcha iframe {
  width: auto !important;
  height: auto !important;
}

.page-404 {
  margin-top: 50px;
}

.page-404__content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.page-404__text {
  flex: 0 0 45%;
}

.page-404__text p {
  margin-top: 30px;
}

.page-404__btn {
  display: inline-block;
  margin-top: 30px;
  border-radius: 4px;
  text-align: center;
  line-height: 40px;
  background-color: #eb0c3b;
  color: #fff;
  padding: 0 15px;
  text-decoration: none;
  transition: opacity 500ms linear 0s;
}

.page-404__btn:hover {
  opacity: 0.8;
}

.page-404__img {
  display: flex;
  justify-content: end;
  flex: 0 0 45%;
}

.page-404__img img {
  max-width: 100%;
}

.pagin .text b {
   background: #e81717 !important;
}

@media screen and (max-width: 996px) {

  .page-404 {
    margin-top: 0;
  }

  .page-404__text {
    flex: 0 0 100%;
  }

  .page-404__text p {
    margin-top: 20px;
  }

  .page-404__btn {
    margin-top: 20px;
  }

  .page-404__img {
    margin-top: 30px;
    flex: 0 0 100%;
  }
  
}