.ajax_load .top_wrapper {
  margin-right: 1px;
}

.ajax_load .top_wrapper .catalog_block .catalog_item>div {
  padding-left: 25px;
  padding-right: 25px;
}

.ajax_load .top_wrapper .catalog_item .footer_button {
  margin-left: -25px;
  margin-right: -25px;
}

.catalog_block_template .catalog_block.owl-carousel .owl-stage-outer {
  margin: 0px -1px 0px 0px;
  padding: 0px 1px 0px 0px;
}

.catalog_block_template .catalog_block.owl-carousel .owl-stage-outer .owl-item:hover {
  z-index: 2;
}

.catalog_block_template .catalog_block.owl-carousel .catalog_item:hover .inner_wrap {
  box-shadow: inset 0px 0px 0px 1px #ececec;
  box-shadow: inset 0px 0px 0px 1px var(--stroke_black);
  height: 100%;
}

.ordered-block .catalog_block_template .catalog_block .TYPE_2 .cost.prices .more-item-info>.svg {
  top: -2px;
}

.catalog_block_template .catalog_block.owl-carousel .catalog_item:hover .inner_wrap.TYPE_2 .footer_button {
  margin-top: 0;
}

@media (min-width: 1200px) {

  .wrapper1 .right_block.wide_Y .ajax_load .top_wrapper .col-lg-3:not(.custom-line),
  .col-lg-5_2.custom-line {
    width: 20%;
  }

  .right_block.wide_Y .ajax_load .top_wrapper .col-lg-4:not(.custom-line),
  #main .catalog_page .section-content-wrapper.with-leftblock .col-lg-3:not(.custom-line),
  #main .catalog_in_content .section-content-wrapper.with-leftblock .col-lg-3:not(.custom-line) {
    width: 25%;
  }

  #main .right_block.wide_Y.catalog_page .section-content-wrapper.with-leftblock .col-lg-4:not(.custom-line),
  #main .catalog_in_content .section-content-wrapper.with-leftblock .col-lg-4:not(.custom-line) {
    width: 33.33%;
  }
}

@media (min-width: 1200px) and (max-width: 1499px) {
  .wrapper1.header-v28 .right_block.wide_Y .ajax_load .top_wrapper .col-lg-3:not(.custom-line) {
    width: 25%;
  }

  .wrapper1.header-v28 .controls-linecount {
    display: none;
  }
}

@media (max-width: 600px) {
  .wrapper1.front_page .compact-catalog-slider .catalog_block.items {
    width: auto;
    padding-left: 16px;
    margin: 0 -16px -20px !important;
    padding-bottom: 20px;
  }

  .wrapper1.front_page .compact-catalog-slider .catalog_block.items .item-parent {
    flex-shrink: 0;
    margin: 0;
    width: 172px;
  }

  .wrapper1.front_page .compact-catalog-slider .catalog_block.items .item-parent:last-of-type {
    padding-right: 16px;
    width: calc(172px + 16px);
  }

  .wrapper1.front_page .compact-catalog-slider .catalog_block.items:not(.has-bottom-nav) .bottom_nav.mobile_slider * {
    display: none;
  }

  .wrapper1.front_page .compact-catalog-slider~.bottom_nav:not(.mobile_slider) {
    display: none;
  }
}

/* 28.02.25 */

.custom-price-block .price-row,
.custom-price-block .discount-row {
  display: flex;
}

.custom-price-block .price-row {
  gap: 15px;
}

.custom-price-block .discount-row {
  gap: 5px;
}

.custom-price-block .price-row .base-price {
  font-size: 18px;
  font-weight: bold;
  line-height: 15px;
}

.custom-price-block .price-row .old-price {
  font-size: 13px;
  line-height: 15px;
  font-weight: normal;
  color: #888;
  text-decoration: line-through;
}

.custom-price-block .discount-percent {
  display: inline-block;
  background: #e32330;
  color: #fff;
  font-size: 12px;
  line-height: 21px;
  border-radius: 3px;
  padding: 0px 8px;
}

.custom-price-block .discount-saving {
  display: inline-block;
  font-size: 12px;
  line-height: 16px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.catalog_item .mobile-gallery {
  display: none;
}

.catalog_item .mobile-gallery .catalog_block .catalog_item .image_wrapper_block {
  width: 100%;
  max-width: 300px;
}

.catalog_item .mobile-gallery .product-list-swiper {
  height: 300px;
}

.catalog_item .mobile-gallery .swiper-slide .detail-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.catalog_item .mobile-gallery .swiper-pagination {
  top: unset;
}

.catalog_item .pc-gallery a.thumb.shine {
  position: unset;
}

@media (max-width: 600px) {
  .catalog_item .mobile-gallery {
    display: block;
  }

  .catalog_item .pc-gallery {
    display: none;
  }

  .catalog_item .image_wrapper_block:not(.image-wrapper) {
    padding-top: 0;
  }
}

/* 08.12.25 */

.custom-price-block .price-row {
  gap: 5px 15px;
  flex-wrap: wrap;
}

/* 22.01.26 */

.custom-price-block .discount-saving {
  background-color: #2cb742;
  color: white;
}

.custom-price-block .discount-percent {
  background-color: #ffce00;
  color: #555;
}

.catalog_block .catalog_item .image_wrapper_block>.discount-percent {
  display: inline-block;
  background-color: #ffce00;
  color: #555;
  font-size: 14px;
  line-height: 21px;
  border-radius: 3px;
  padding: 4px 0px 2px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 60px;
  text-align: center;
}

.catalog_block .catalog_item .image_wrapper_block:has(.discount-percent + .stickers) .stickers {
  left: 63px;
}

/* 27.01.26 */

.catalog_block .catalog_item:not(.big)>div .item_info {
  flex-direction: column-reverse !important;
  gap: 15px 0;
  justify-content: flex-end !important;
}

.stickers .sticker_aktsiya {
  background-color: #e32330 !important;
  color: white !important;
}

.custom-price-block .discount-saving {
  background-color: #2cb742;
  color: white;
}

.custom-price-block .discount-percent {
  background-color: #ffce00;
  color: #555;
}

.catalog_block .catalog_item .base-price {
  font-size: 22px !important;
}

.catalog_block .item-stock .value b {
  font-weight: normal;
}

/* .swiper.swiper_landing-search-products {
  color: #fff;
  height: 570px;
} */

/* body .catalog_block.items .swiper-slide.swiper-slide_landing-search-products .item_block.item {
  height: calc(100% - 60px);
  min-height: unset;
}

.ajax_load.block .swiper.swiper_landing-search-products .swiper-slide.swiper-slide_landing-search-products .footer_button {
  display: block;
  opacity: 1;
  visibility: visible;
} */

/* 02.04.26 */

.catalog_item .stickers div[class*="sticker_"] {
  font-size: 14px;
  padding: 2px 12px 1px 12px !important;
  min-width: 90px;
  text-align: center;
  border-radius: 3px !important;
}

.catalog_item .sticker {
  padding: 2px 12px 1px 12px !important;
  font-size: 14px;
  border-radius: 3px !important;
}

.catalog_item .sticker:not(.discount-percent) {
  min-width: 90px;
}

.item:has(.sticker.aktsiya) .stickers .sticker_aktsiya {
  display: none;
}

.prices_block_stock-period {
  font-size: 11px;
  color: #999999;
}

.prices_block_stock-period+.custom-price-block {
  margin-top: 10px;
}

.custom-price-block .discount-saving {
  padding: 3px 15px 2px 15px;
  font-size: 12px;
}

.custom-price-block .price-row+.discount-row {
  margin-top: 15px;
}

.catalog_block .catalog_item .image_wrapper_block .stickers-block .stickers {
  position: unset;
}

.catalog_block .catalog_item .image_wrapper_block .stickers-block {
  position: absolute;
  top: 5px;
  left: 3px;
  z-index: 3;
}

.catalog_block .catalog_item .image_wrapper_block .stickers-block .stock-stickers {
  display: flex;
  flex-wrap: wrap;
}

.catalog_block .catalog_item .image_wrapper_block .stickers-block .stock-stickers .sticker {
  padding: 2px 7px 2px;
  margin: 0px 2px 4px;
  border-radius: 2px;
  background: #aaa;
  color: #fff;
}

.catalog_block .catalog_item .image_wrapper_block .stickers-block .stock-stickers .sticker a {
  color: #fff;
}

.catalog_block .catalog_item .image_wrapper_block .stickers-block .stock-stickers .sticker.aktsiya {
  background: #E32330;
}

.catalog_block .catalog_item .image_wrapper_block .stickers-block .stock-stickers .sticker.discount-percent {
  background: #f7d046;
  color: #4b3f0f;
}

.catalog_block .catalog_item .image_wrapper_block .stickers-block .stock-stickers .sticker.discount-saving {
  background: #5bb452;
}

/* hide quantity */

.quantity_block_wrapper,
.wrapp_stockers .item-stock,
.item_info--top_block .item-stock {
  display: none !important;
}

/* 07.04.26 */

:root {
  --footer-button-height: 56px;
}

body .catalog_block.items .swiper-wrapper {
  align-items: stretch;
}

body .catalog_block.items .swiper-slide.swiper-slide_landing-search-products .item_block.item {
  height: 100%;
  padding-bottom: var(--footer-button-height);
}

body .catalog_block.items {
  margin-bottom: calc(var(--footer-button-height) - var(--footer-button-height) * 2);
}

body .catalog_block.items .swiper {
  margin: 0 -15px;
  padding: 0 15px;
  width: calc(100% + 30px);
}

body .catalog_block.items .swiper::after,
body .catalog_block.items .swiper::before {
  content: '';
  width: 14px;
  height: 100%;
  background-color: white;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

body .catalog_block.items .swiper::before {
  right: auto;
  left: 0;
  z-index: 2;
  width: 15px;
}

body .catalog_block.items .swiper div[class*="swiper-button-"] {
  background-color: #136a99;
}

body .catalog_block.items .swiper div[class*="swiper-button-"]:hover {
  background-color: #3c7293;
}

body .catalog_block.items .swiper .swiper-button-next:after {
  background-position: -11px -81px !important;
}

body .catalog_block.items .swiper .swiper-button-prev:after {
  background-position: 0 -81px !important;
}

body .catalog_block.items .swiper .swiper-button-next {
  right: 0;
}

body .catalog_block.items .swiper .swiper-button-prev {
  left: 0;
}

body .catalog_block.items .swiper-slide.swiper-slide_landing-search-products .inner_wrap {
  box-shadow: inset 0px 0px 0px 1px #ececec !important;
}

body .catalog_block.items .swiper-slide.swiper-slide_landing-search-products .counter_block {
  border-left: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  border-radius: 0;
}

body .catalog_block.items .swiper-slide.swiper-slide_landing-search-products .item_block .catalog_item .footer_button {
  box-shadow: 0 0 0 !important;
}

body .catalog_block.items .swiper-slide.swiper-slide_landing-search-products .footer_button .btn {
  max-height: 56px;
}

body .catalog_block.items .swiper-slide.swiper-slide_landing-search-products .catalog_block .counter_wrapp {
  border-radius: 0 !important;
}

@media screen and (max-width:767px) {
  body .catalog_block.items {
    margin-bottom: 0;
  }

  body .catalog_block.items .swiper-slide.swiper-slide_landing-search-products .item_block.item {
    padding-bottom: 0;
  }

  .ajax_load.block .swiper.swiper_landing-search-products .swiper-slide.swiper-slide_landing-search-products .footer_button {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}