@media screen and (min-width: 1024px) {
  td.cart-table__column.cart-table__column--image a img {
    max-height: 100%;
    width: auto;
  }

  td.cart-table__column.cart-table__column--image a {
    height: 85px;
    width: 85px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.banner-block {
  text-transform: uppercase;
  display: block;
  line-height: 30px;
  color: #fff;
  background: #e53b44;
  padding: 20px 25px;
  border-radius: 10px;
  border: 1px solid #b32c33;
  box-shadow: 1px 1px 6px #ff5050b0;
}
.banner-block > h2 {
  font-size: 30px;
  padding-bottom: 30px;
}
.banner-block > p {
  font-size: 25px;
}

.review .action-banner {
  left: unset;
  right: 21%;
  top: unset;
  bottom: 70px;
}

.review .action-banner > a {
  background: #1e65e0;
  border-color: #005c9c;
  border-radius: 5px;
  box-shadow: 0px 2px 5px black;
  padding: 10px 45px;
}

.review .action-banner > a:hover {
  background: #ffcb00;
  border-color: #ffd918;
}

ul.list-cat-cmp > li > a {
  padding: 5px 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #feae35;
  color: #333;
  border-radius: 30px;
  border-bottom: 2px solid #feae35;
  margin: 0 5px 5px 0;
  text-decoration: none !important;
}
.complect-wrapper.line ul.list-tab-complect > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  color: #494d58;
  padding: 10px 20px;
  background: #f5f5f5;
  font-size: 17px;
  border: 1px solid #feae35;
  border-right: 1px solid #feae35;
  text-decoration: none !important;
  border-radius: 10px 10px 0 0;
}
a.basket-popup__close {
  z-index: 999;
}
a.mobile-cart {
  font-size: 30px;
  position: relative;
}
a.mobile-cart span.c-icon-count {
  top: 0px;
  right: -10px;
}
#hideFilter .arDown {
  top: 15px;
  right: 10px;
  left: unset;
}
.block-good {
  display: flex;
  max-width: 100%;
}
.sel-good[name="select-sort"] {
  width: 180px;
  max-width: 100%;
}
.banner-img {
  max-width: 100%;
  max-height: 490px;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0px 0 2px rgba(0, 0, 0, 0.37);
  margin: 0 auto;
  border-radius: 0;
}
.good_column {
  height: 450px;
}
span.special {
  display: inline-block;
  padding-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  color: #e43b44;
}
.img-section > a > img {
  width: unset;
}
.img-section > a {
  width: unset;
}
.mobile-phone {
  position: relative;
  left: -15px;
}
.goods_row {
  position: relative;
  overflow: hidden;
}
.tabs-wrapper {
  background: #f3f4f9;
  padding: 30px;
  min-height: 200px;
}
.banner-slider {
  padding: 0;
  margin-bottom: 3rem;
}
@media (max-width: 840px) {
  .activeMenu .mobile-header {
    z-index: 9999;
  }
  .activeMenu .mobile-menu {
    height: 80%;
  }
  .basket-container {
    top: -60px;
    right: -845px;
  }
  .search-popup__form.mobile {
    width: 100%;
    max-width: 600px;
    border-radius: 90px;
    overflow: hidden;
    margin: auto;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    position: relative;
    border: 1px solid #dedede !important;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .block-tab-link {
    left: -90px;
  }
  .tab-basket.is-open {
    max-height: 80vh;
    overflow: auto;
  }
  .search-popup__form.mobile .bmd-form-control {
    padding: 10px 20px;
    font-size: 18px;
  }
  .mobile .search-popup__form-button {
    color: #ff9d09;
    width: 55px;
    top: 0;
    bottom: 0;
    right: 5px;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
}
@media (max-width: 768px) {
  .complect-wrapper.line ul.list-tab-complect > li > a {
    border-radius: 0;
  }
}
.buy_one_click:hover {
  border-color: #0588f9;
  background-color: #0588f9;
}
/* REPLACE TO NEW COMPONENT */
.mega_block {
  margin-bottom: 3rem;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}
.is-flex {
  display: flex;
}
.al-center {
  align-items: center;
}
.al-start {
  align-items: flex-start;
}
.al-end {
  align-items: flex-end;
}
.jc-center {
  justify-content: center;
}
.jc-start {
  justify-content: flex-start;
}
.jc-end {
  justify-content: flex-end;
}
.jc-between {
  justify-content: space-between;
}

.jc-self-center {
  justify-self: center;
}
.jc-self-start {
  justify-self: flex-start;
}
.jc-self-end {
  justify-self: flex-end;
}
.jc-self-between {
  justify-self: space-between;
}
.flex-direction-column {
  flex-direction: column;
}
.header__mega_block {
  background: #0588f9;
  display: flex;
  justify-content: space-between;
  border-radius: 7px 7px 0 0;
}
.pos-relative {
  position: relative;
}
.col__mega_block {
  padding: 1rem;
  width: 100%;
}
.col__mega_block.col_1 {
  flex: 1;
}
.col__mega_block.col_2 {
  flex: 2;
}
.col__mega_block.col_3 {
  flex: 3;
}

.btn__header_mega {
  width: 100%;
}

button.add_cart__header_mega {
  outline: none;
  border: unset;
  background: #feae35;
  color: #fff;
  padding: 8px 15px;
  font-size: 15px;
  border-radius: 8px;
  margin: 0;
  width: 100%;
}
span.v__devide {
  position: absolute;
  display: inline-block;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #fff;
  left: -8px;
  margin: 15px 0;
}
.prices__header_mega {
  color: #fff;
  font-size: 15px;
}
.prices__header_mega span.price__style {
  font-weight: 600;
  display: inline-block;
  margin-left: 2rem;
}
.counter__header_mega {
  color: #fff;
  font-size: 15px;
  padding-left: 2rem;
}
button.toggle__header_mega {
  outline: none;
  background: unset;
  border: unset;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-position: under;
}
.cart__mega_block {
  background: #f7f7f7;
  padding: 0 1rem;
  display: none;
}
.cart__mega_block.is-active {
  display: block;
}
.cart__bottom_scroll {
  height: 240px;
  width: 100%;
  overflow: hidden;
  overflow-x: auto;
  padding: 1rem;
}
.cart__items_position {
  display: inline-flex;
}
.cart__item_wrapper {
  margin-right: 3rem;
  position: relative;
}
.cart__item {
  cursor: pointer;
  background: #fff;
  height: 100%;
  width: 155px;
  padding: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ccc;
  border-radius: 7px;
  transition: all ease-out 0.3s;
}
.cart__item_wrapper.is-main .cart__item {
  border: 1px solid #0588f9;
  transition: all ease-out 0.3s;
}
.cart__item:hover {
  border: 1px solid #feae35;
  transition: all ease-out 0.3s;
}

.cart__item_wrapper:after {
  content: "+";
  position: absolute;
  left: -3rem;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  font-size: 22px;
  font-weight: 600;
  color: #e8e8e8;
}
.cart__items_position > .cart__item_wrapper:last-child {
  margin-right: 0;
}
.cart__items_position .cart__item_wrapper:first-child::after {
  content: unset;
}

.cart__item .cart__item_thumb {
  width: 100%;
  padding: 5px;
  border: 1px solid #efefef;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cart__item .cart__item_title {
  height: 50px;
  overflow: hidden;
  font-size: 13px;
  line-height: 16px;
  margin-top: 5px;
}
.cart__item .cart__item_title > a {
  color: #333;
}
.cart__item_price {
  display: flex;
  font-size: 14px;
  align-items: center;
  line-height: 14px;
  height: 30px;
  justify-content: flex-end;
  padding: 1rem 0 0;
}
.cart__item_price p {
  color: #0588f9;
}
.cart__item_price p.price-old {
  font-size: 12px;
  margin-left: 1rem;
  text-decoration: line-through;
  color: #ccc;
  line-height: 15px;
}
.cart__item_price p.price-new {
  color: #0588f9;
}
.cart__item span.cart__item_remove {
  position: absolute;
  right: -5px;
  top: -5px;
  color: #fff;
  display: flex;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #f1525a;
  align-items: center;
  line-height: 1px;
  border-radius: 100px;
  z-index: 1;
}

.cart__item_gift {
  background: url(/bitrix/templates/gaziev_vdd/assets/img/gift.png) center
    center no-repeat;
  display: inline-block;
  position: absolute;
  width: 30px;
  height: 30px;
  background-size: contain;
  bottom: 5px;
  right: 5px;
  z-index: 1;
}

.bottom__mega_block {
  margin-top: 1rem;
}

.bottom__mblock_flex {
  display: flex;
}

.right__mblock {
  width: 320px;
  margin-right: 1rem;
}
ul.tabs__mblock {
  list-style: none;
  padding: 0;
  margin: 0;
  position: sticky;
  top: 55px;
}

ul.tabs__mblock > li {
  /* box-shadow: -2px 2px 2px #afafaf; */
  margin-bottom: 5px;
}

button.tab__link {
  font-size: 15px;
  background: #f5f5f5;
  border: 1px solid #feae35;
  padding: 1rem;
  width: 100%;
  outline: none;
  text-align: left;
  border-radius: 7px;
  /* box-shadow: -2px 2px 2px #afafaf; */
  transition: all ease-out 0.3s;
}
button.tab__link:hover,
button.tab__link.is-active {
  background: #feae35;
  border: 1px solid #ff9900;
  color: #fff;
  transition: all ease-out 0.3s;
}

button.tab__link.gift_style {
  position: relative;
  padding-left: 45px;
  background: #e53b44;
  border: 1px solid #e0000b;
  color: #fff;
  transition: all ease-out 0.3s;
}

button.tab__link.gift_style:hover,
button.tab__link.gift_style.is-active {
  background: #e0222b;
  color: #fff;
  transition: all ease-out 0.3s;
}
span.gift-img {
  background: url(/bitrix/templates/gaziev_vdd/assets/img/gift.png) center
    center no-repeat;
  display: block;
  width: 35px;
  height: 35px;
  position: absolute;
  left: 5px;
  top: 0;
  background-size: contain;
  margin: auto;
  bottom: 0;
}
.left__mblock {
  background: #f7f7f7;
  min-height: 100%;
  width: 100%;
  border-radius: 7px;
  border: 1px solid #ccc;
  /* box-shadow: -2px 2px 2px #afafaf; */
}
.tab__items_position {
  padding: 0 1rem;
}
.item__detail {
  background: #fff;
  border: 1px solid #dcdcdc;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 5px;
}
.item__wrapper_detail {
  margin-bottom: 1rem;
}
.item__wrapper_detail:last-child {
  margin-bottom: 0;
}
.tab__panel {
  padding: 1rem 0;
  display: none;
}
.tab__panel.is-active {
  display: block;
}
.tab__panel_scroll {
  max-height: 480px;
  overflow: hidden;
  overflow-y: auto;
}

.item__detail_thumb {
  width: 10%;
  padding-right: 1rem;
}
.item__detail_thumb .thumb_wrapper {
  max-width: 78px;
  height: 78px;
  width: 100%;
  border: 1px solid #dcdcdc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.item__detail_check {
  width: 10%;
  display: flex;
  justify-content: flex-end;
  padding-right: 1rem;
  padding-left: 1rem;
}

.item__detail_counter {
  width: 10%;
  padding: 0 1rem;
}
.item__detail_price {
  width: 15%;
  padding: 0 1rem;
  color: #74a4f7;
  font-size: 16px;
  text-align: center;
}

.item__detail_info {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1rem 0;
}

.item__detail_info .item__detail_link {
  color: #333;
  font-size: 13px;
  line-height: 15px;
  display: inline-block;
}
.item__detail_info .info__props {
  font-size: 12px;
}

.item__detail_info .info__props span.info__prop span.prop_value {
  font-weight: 600;
  display: inline-block;
  padding-left: 1rem;
}

span.del-price {
  color: #ccc;
  text-decoration: line-through;
  font-size: 14px;
}
span.free-text {
  font-size: 17px;
  color: #3c763d;
  text-transform: uppercase;
  font-weight: 600;
}
.tab__panel .attribute-short {
  padding: 2rem;
  width: 100%;
  max-width: 680px;
}
.block-text {
  padding: 2rem 3rem;
}
.tab__item_filter ul.list-cat-cmp > li > a {
  padding: 5px 10px;
  font-size: 12px;
  border: 1px solid #0588f9;
  border-radius: 5px;
}
.tab__item_filter {
  padding: 0 1rem;
  padding-bottom: 1rem;
}

.tab__item_filter ul.list-cat-cmp > li > a:hover,
.tab__item_filter ul.list-cat-cmp > li > a.active {
  background: #0588f9;
  color: #fff;
}
.tab__panel > h3 {
  font-size: 17px;
  padding: 0 3rem;
  font-weight: 600;
}
span.count-pos {
  z-index: 1;
}

.cart__item_wrapper:empty {
  display: none;
}

button.to_cart.add_cart__header_mega:hover {
  background: #e0222b;
  border: unset;
}

@media screen and (max-width: 1024px) {
  ul.tabs__mblock {
    position: unset;
  }
  .tb__gift .item__detail_info {
    width: 60%;
  }
  .item__detail_info .info__props {
    display: none;
  }
  .tb__gift .item__detail_price {
    width: 20%;
  }
  .tb__gift .item__detail_counter.free-price-text {
    width: 20%;
  }
  .tb__gift .item__detail_price.free-price-hide {
    display: none;
  }

  .item__detail_thumb {
    width: 10%;
  }
  .item__detail_info {
    width: 40%;
  }
  .item__detail_price {
    width: 20%;
  }
  .item__detail_counter {
    width: 15%;
  }
  .item__detail_check {
    width: 15%;
    display: flex;
  }
}
@media screen and (max-width: 800px) {
  .header__mega_block {
    flex-direction: column;
  }

  span.v__devide {
    display: none;
  }
  .btn__header_mega {
    padding-right: 0;
  }
  .bottom__mblock_flex {
    flex-direction: column;
  }
  .right__mblock {
    width: 100%;
    margin: 0 auto;
  }
  .item__detail {
    flex-wrap: wrap;
    height: auto;
  }
  .item__detail_thumb {
    width: 35%;
  }
  .item__detail_thumb .thumb_wrapper {
    max-width: 100%;
  }

  .item__detail_info {
    width: 65%;
  }
  .item__detail_info .item__detail_link {
    height: 100%;
    overflow: hidden;
  }
  .item__detail_info .info__props {
    display: none;
  }
  .item__detail_price {
    width: 100%;
    padding: 1rem 0;
  }
  .item__detail_check {
    width: 35%;
  }
  .item__detail_counter {
    width: 65%;
  }
}

/* SCROLL DESIGN */

.scroll_s::-webkit-scrollbar {
  background: transparent;
  width: 6px;
  height: 6px;
}
.scroll_s::-webkit-scrollbar-thumb {
  background-color: #c2c2c2;
  box-shadow: inset 0 0 5px #aeaeae;
}
.scroll_s::-webkit-scrollbar-thumb:hover {
  background-color: #8a8a8a;
}
.scroll_s::-webkit-scrollbar-thumb:active {
  background-color: #727272;
  box-shadow: inset 0 0 5px #595959;
}
.scroll_s::-webkit-scrollbar-track:hover {
  background-color: #e6e6e6;
  border: 1px solid #cfcfcf;
}
.scroll_s::-webkit-scrollbar-corner {
  background: transparent;
}

/* TOP FIXED ACTION BLOCK */
.header__right_bar .action-site-header .container-fix-action {
  position: absolute;
  background: #fff;
  border: 2px solid #4585f5;
  top: 40px;
  right: 0;
  width: 768px;
  height: 450px;
  z-index: 1;
  display: none;
  z-index: 1000;
}

.header__right_bar
  .action-site-header
  > .action-sbtn:hover:not(.not-active)
  .container-fix-action {
  display: block;
}

.header__right_bar .action-site-header > .action-sbtn {
  position: relative;
  font-size: 20px;
  color: #fff;
  padding: 0 20px;
  cursor: pointer;
}
.header__right_bar
  .action-site-header
  > .action-sbtn
  > .container-fix-action
  span.icon-action {
  width: 55px;
  height: 50px;
  background: #fff;
  border: 2px solid #4585f5;
  position: absolute;
  top: -50px;
  right: 0px;
  color: #0588f9;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: unset;
}

.header__right_bar .action-site-header .container-fix-action.compare-cont {
  right: -60px;
}
.header__right_bar
  .action-site-header
  .container-fix-action.compare-cont
  span.icon-action {
  right: 60px;
}

.header__right_bar .action-site-header .container-fix-action.favorite-cont {
  right: -120px;
}
.header__right_bar
  .action-site-header
  .container-fix-action.favorite-cont
  span.icon-action {
  right: 120px;
}

.container-action-column {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
  color: #333;
  font-size: 14px;
  box-shadow: 0px 3px 9px rgb(29 101 224 / 0.6);
  width: 100%;
}

.con-column {
  padding: 1rem;
}
.action-body {
  flex: 3;
  overflow: hidden;
  overflow-y: auto;
}
.action-header {
  border-bottom: 1px solid #efefef;
  flex: 0.5;
}
.action-footer {
  border-top: 1px solid #efefef;
  flex: 0.5;
}
.container-action-column table.table-basket td,
.container-action-column table.table-basket th {
  padding: 5px;
}

.container-action-column .block-name a {
  font-size: 14px;
}
.container-action-column tr.item-bsa > td > div {
  height: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container-action-column .block-img > a {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid #efefef;
}
.container-action-column tr.item-bsa > td > .input-number {
  width: 90px;
}
span.title-action {
  color: #333;
  font-size: 22px;
  font-weight: 600;
  display: inline-block;
  padding: 0 2rem 0 0;
}

.container-action-column .itog-basket {
  border-top: none;
  margin-top: 0;
}
.container-action-column .itog-basket > p {
  padding: 10px 10px;
  font-size: 15px;
  margin: 0;
}

.container-action-column a.basket-link {
  font-size: 15px;
  color: #4585f5;
}
.container-action-column a.buy1click_basket {
  text-transform: unset;
  width: auto;
  text-align: center;
  font-size: 14px;
  padding: 5px 30px;
  border: 1px solid #4585f5;
  border-radius: 7px !important;
  white-space: nowrap;
}
.container-action-column a.checkout-link {
  margin-left: 15px;
  padding: 5px 30px;
  display: inline-block;
  background-color: #4585f5;
  color: #fff;
  font-size: 14px;
  border: 1px solid #4585f5;
  border-radius: 7px;
  white-space: nowrap;
}
.action-footer-row {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
}
.footer-col-1 {
  flex: 1;
  display: flex;
}
.footer-col-2 {
  flex: 2;
  display: flex;
}
.footer-col-1 p.discount-sum {
  margin: 0;
  margin-right: 1rem;
}
.footer-col-1 p.itog-sum {
  margin: 0;
}
.cmp-ajax,
.cmp-ajax-compare,
.cmp-ajax-favorite {
  height: 450px;
  width: 100%;
  display: flex;
}
.overlay-load {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  background: rgb(255 255 255 / 60%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0689f9;
  transition: all ease-out 0.3s;
}
.overlay-load.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: all ease-out 0.3s;
}
span.title-action span {
  /* font-size: 22px; */
  color: #0588f9;
}
@media (max-width: 768px) {
  .section-image-product {
    padding: 0;
  }
}
