.main-new .mn-section { margin-top: 80px; }
.main-new .is-hidden { display: none !important; }

.main-new .mn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
}

.main-new .mn-head + .mn-slider-wrap,
.main-new .mn-head + .mn-panes { margin-top: 32px; }
.main-new .mn-products--no-tags .mn-head + .mn-slider-wrap { margin-top: 20px; }
.main-new .mn-head__title {
  margin: 0;
  font-weight: 700;
  font-size: 50px;
  line-height: 120%;
  color: #000;
}
.main-new .mn-head__all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 160px;
  height: 36px;
  padding-top: 4px;
  border-radius: 32px;
  background: transparent;
  font-weight: 400;
  font-size: 17px;
  line-height: 120%;
  color: #5F19C8;
  text-decoration: none;
  transition: background-color .2s ease;
}
.main-new .mn-head__all:hover { background: #F3E8FF; }
.main-new .mn-head__all svg { flex: 0 0 auto; }

.main-new .mn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 20px 0 30px;
}
.main-new .mn-tag {
  height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  background: #F3F4F6;
  color: #000;
  font-size: 15px;
  line-height: 32px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.main-new .mn-tag:hover { background: #E9EAEE; }
.main-new .mn-tag.is-active { background: #000; color: #fff; }



.main-new .mn-slider-wrap { position: relative; }
.main-new .mn-slider { overflow: hidden; }
.main-new .mn-slider .swiper-slide { height: auto; }

.main-new .mn-nav {
  position: absolute;
  top: 182px;
  z-index: 5;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: box-shadow .2s ease;
}
.main-new .mn-nav:hover { box-shadow: 0 4px 20px rgba(0, 0, 0, .22); }
.main-new .mn-nav--next { right: -20px; }
.main-new .mn-nav--prev { left: -20px; }
.main-new .mn-nav--prev svg { transform: rotate(180deg); }

.main-new .mn-nav.swiper-button-disabled,
.main-new .mn-nav.swiper-button-lock { display: none; }

.main-new .mn-slider--cards .swiper-slide { width: 240px; }

.main-new .mn-super .mn-slider--cards .swiper-slide { width: 227px; }

.main-new .mn-card {
  width: 100%;
  height: 100%;
  display: block;
  padding: 12px;
  margin: 0;
  text-align: left;
  box-sizing: border-box;
}
.main-new .mn-card .item__info.new_design {
  max-width: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  text-align: left;
}

.main-new .mn-card .mn-card__media      { order: 1; }
.main-new .mn-card .mn-card__colors     { order: 2; }
.main-new .mn-card .mn-card__prices     { order: 3; }
.main-new .mn-card .container_ya_plus   { order: 4; }
.main-new .mn-card .item__heading-link  { order: 5; }
.main-new .mn-card .item__reviews       { order: 6; }
.main-new .mn-card .block_mgtop_a       { order: 7 !important; margin-top: auto; }

.main-new .mn-card__media {
  position: relative;
  margin-bottom: 12px;
}
.main-new .mn-card .item__gallery-link {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  max-height: none;
  margin: 0 auto;
  transform: none;
  left: auto;
}
.main-new .mn-card .item__gallery {
  display: block;
  width: 100%;
  height: 100% !important;
  margin: 0;
  max-height: none;
}
.main-new .mn-card .item__image {
  display: block !important;
  width: 100%;
  height: 100%;
  max-width: none;
  position: static;
}
.main-new .mn-card .item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.main-new .mn-card .item__tags-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: auto;
  display: flex;
  gap: 4px;
  margin: 0;
}
.main-new .mn-card .item__info .item__tags-wrapper .item__tag {
  height: 24px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  line-height: 24px;
  white-space: nowrap;
}
.main-new .mn-card .item__info .item__tags-wrapper .item__tag.item__tag_with_price {
  height: fit-content;
  line-height: 1;
  padding: 9px 8px 4px 8px !important;
  display: block;
}
.main-new .mn-card .item__tag.discount { background: #5F19C8; color: #fff; }
.main-new .mn-card .item__tag.promo    { background: #FB7718; color: #fff; }
.main-new .mn-card .item__tag.best     { background: #22B04E; color: #fff; }
.main-new .mn-card .item__tag.hit      { background: #FEF0E6; color: #FB7718; }

.main-new .mn-card__actions {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.main-new .mn-card__act {
  position: static;
  top: auto;
  right: auto;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  background-image: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-new .mn-card__act svg path { transition: stroke .2s ease; }
.main-new .mn-card__act:hover svg path { stroke: #5F19C8; }

.main-new .mn-card__colors {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}
.main-new .mn-card__color {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.main-new .mn-card__prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.main-new .mn-card .price_item_new {
  float: none;
  margin: 0;
  font-weight: 700;
  font-size: 24px;
  line-height: 120%;
  color: #781ECD;
}
.main-new .mn-card .price_item_new_o {
  float: none;
  margin: 0;
  font-size: 14px;
  line-height: 120%;
  color: #999;
  text-decoration: line-through;
}

.main-new .mn-card .container_ya_plus { margin-bottom: 8px; }
.main-new .mn-card .product-yama {
  text-align: left;
  font-size: 12px;
  margin: 0;
  color: #000;
}
.main-new .mn-card .product-yama-line { margin: 0; }

.main-new .mn-card .item__heading-link {
  display: block;
  max-width: none;
  text-decoration: none;
  margin-bottom: 8px;
}
.main-new .mn-card .item__heading {
  max-width: none;
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  color: #000;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.main-new .mn-card .item__reviews {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 16px;
  color: #999;
  text-align: left;
}

.main-new .mn-card .block_mgtop_a { width: 100%; }
.main-new .mn-card .item__link_basket,
.main-new .mn-card .findout_about_i {
  width: 100%;
  max-width: 100%;
  height: 50px;
  max-height: 50px;
  margin: 0;
  padding: 0 10px;
  border-radius: 16px !important;
  font-size: 17px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  text-decoration: none;
}
.main-new .mn-card .item__link_basket { background: #5F19C8; color: #fff; }
.main-new .mn-card .findout_about_i {
  background: transparent;
  border: 2px solid #5F19C8;
  color: #5F19C8;
}

.main-new .mn-card .item__link_basket,
.main-new .mn-card .findout_about_i {
  transition: opacity .3s ease;
}
.main-new .mn-card .item__heading {
  transition: opacity .3s ease, color .3s ease;
}
.main-new .mn-card:hover .item__heading,
.main-new .mn-card:hover .item__link_basket,
.main-new .mn-card:hover .findout_about_i {
  opacity: .7;
}
.main-new .mn-card:hover .item__heading { color: #AD63F4; }

.main-new .mn-card .item__link_basket .for_in_c { display: none; }
.main-new .mn-card .item__link_basket.in_cart .for_not_in_c { display: none; }
.main-new .mn-card .item__link_basket.in_cart .for_in_c { display: block; }

.main-new .mn-love__head {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.main-new .mn-love__tab {
  padding: 0 0 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-weight: 700;
  font-size: 50px;
  line-height: 120%;
  color: #000;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.main-new .mn-love__tab:hover { color: #5F19C8; }
.main-new .mn-love__tab.is-active {
  color: #5F19C8;
  border-bottom-color: #5F19C8;
}
.main-new .mn-love .mn-tags { justify-content: center; margin: 0 0 30px; }

@media only screen and (max-width: 767px) {
  .main-new .mn-section { margin-top: 48px; }

  .main-new .mn-head + .mn-slider-wrap,
  .main-new .mn-head + .mn-panes { margin-top: 21px; }
  .main-new .mn-head__title { font-size: 27px; }
  .main-new .mn-head__all {
    width: 108px;
    height: 25px;
    font-size: 12px;
    gap: 4px;
  }
  .main-new .mn-head__all svg { width: 10px; height: 6px; }

  .main-new .mn-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-right: -20px;
    padding-right: 20px;
  }
  .main-new .mn-tags::-webkit-scrollbar { display: none; }
  .main-new .mn-tag { flex: 0 0 auto; font-size: 14px; }

  .main-new .mn-nav { display: none !important; }

  .main-new .mn-slider--cards {
    margin-left: -20px;
    margin-right: -20px;
  }

  .main-new .mn-slider--cats .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .main-new .mn-slider--cats .swiper-slide { width: auto !important; margin: 0 !important; }
  .main-new .mn-cats .mn-cat__img { margin-bottom: 8px; }
  .main-new .mn-cats .mn-cat__name { font-size: 17px; }

  .main-new .mn-slider--cards .swiper-slide { width: 166px; }

  .main-new .mn-card { padding: 0 0 12px; }

  .main-new .mn-card .price_item_new { font-size: 20px; }
  .main-new .mn-card .price_item_new_o { font-size: 12px; }
  .main-new .mn-card .product-yama { font-size: 11px; }
  .main-new .mn-card .item__heading { font-size: 13px; }
  .main-new .mn-card .item__reviews { font-size: 12px; }
  .main-new .mn-card .item__link_basket,
  .main-new .mn-card .findout_about_i {
    width: 100%;
    height: 44px;
    max-height: 44px;
    font-size: 15px;
    border-radius: 14px;
  }

  .main-new .mn-love__tab {
    font-size: 28px;
    padding: 0;
  }
}