.white-filter {
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}

.black-filter {
  filter: invert(0%) sepia(0%) saturate(16%) hue-rotate(309deg) brightness(93%) contrast(107%);
}

.citrus-filter {
  filter: invert(75%) sepia(56%) saturate(3300%) hue-rotate(29deg) brightness(94%) contrast(92%);
}

.fiji-green-filter {
  filter: invert(29%) sepia(47%) saturate(2232%) hue-rotate(49deg) brightness(93%) contrast(87%);
}

.red-filter {
  filter: invert(24%) sepia(100%) saturate(7493%) hue-rotate(6deg) brightness(96%) contrast(106%);
}

.main-hero {
  margin-top: 20px;
  margin-bottom: 30px;
  width: 100%;
}
.main-hero__top {
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}
.main-hero__left {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}
.main-hero__right {
  flex: 0 0 308px;
  width: 308px;
  min-width: 0;
}

.hero-banners {
  position: relative;
  width: 100%;
}
.hero-banners__slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.hero-banners .swiper-button-prev,
.hero-banners .swiper-button-next {
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  margin-top: -20px;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.hero-banners .swiper-button-prev:after,
.hero-banners .swiper-button-next:after {
  font-size: 15px;
  font-weight: 700;
  color: #333;
}
.hero-banners .swiper-button-prev:hover,
.hero-banners .swiper-button-next:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.hero-banners .swiper-button-prev.swiper-button-disabled,
.hero-banners .swiper-button-next.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}
.hero-banners .swiper-button-prev {
  left: 12px;
}
.hero-banners .swiper-button-next {
  right: 12px;
}
.hero-banners__progress {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  width: 100%;
}
.hero-banners__progress-item {
  flex: 1;
  height: 3px;
  background-color: #e3e3e3;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.hero-banners__progress-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #A2C617;
  border-radius: 3px;
}
.hero-banners__progress-item.is-active::after {
  animation: heroProgressAnimation 5000ms linear forwards;
}
.hero-banners:hover .hero-banners__progress-item.is-active::after {
  animation-play-state: paused;
}

@keyframes heroProgressAnimation {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
.hero-banner-card {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #212121;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  user-select: none;
}
.hero-banner-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
  pointer-events: none;
}
.hero-banner-card__btn {
  position: relative;
  z-index: 2;
  margin: 0 16px 16px 16px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #A2C617;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(162, 198, 23, 0.35);
}
.hero-banner-card__btn:hover {
  background-color: #88a613;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(162, 198, 23, 0.45);
}
.hero-banner-card__btn:active {
  transform: translateY(0);
}

@media (max-width: 991px) {
  .hero-banner-card {
    height: 320px;
  }
  .hero-banner-card__btn {
    height: 38px;
    font-size: 13px;
    margin: 0 12px 12px 12px;
  }
  .hero-banners .swiper-button-prev,
  .hero-banners .swiper-button-next {
    width: 34px;
    height: 34px;
    margin-top: -17px;
  }
  .hero-banners .swiper-button-prev:after,
  .hero-banners .swiper-button-next:after {
    font-size: 13px;
  }
}
@media (max-width: 576px) {
  .main-hero {
    margin-top: 12px;
    margin-bottom: 20px;
  }
  .hero-banner-card {
    height: 220px;
    border-radius: 12px;
  }
  .hero-banner-card__btn {
    height: 34px;
    font-size: 12px;
    margin: 0 10px 10px 10px;
    border-radius: 20px;
  }
  .hero-banners__slider {
    border-radius: 12px;
  }
  .hero-banners__progress {
    gap: 5px;
    margin-top: 10px;
  }
  .hero-banners__progress-item {
    height: 2.5px;
  }
  .hero-banners .swiper-button-prev,
  .hero-banners .swiper-button-next {
    display: none;
  }
}
.main-quick-links {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
}
.main-quick-links__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #F5F5F5;
  border-radius: 10px;
  text-decoration: none;
  color: #0F0F0F;
  transition: box-shadow 0.2s ease;
  min-width: 0;
}
.main-quick-links__item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
  color: #0F0F0F;
}
.main-quick-links__ico {
  width: 25px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.main-quick-links__text {
  flex: 1;
  min-width: 0;
}
.main-quick-links__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.main-quick-links__subtitle {
  font-size: 12px;
  color: #808080;
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.main-quick-links__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.main-quick-links__item:hover .main-quick-links__arrow {
  opacity: 0.9;
  transform: translateX(2px);
}

@media (max-width: 992px) {
  .main-quick-links__subtitle {
    display: none;
  }
}
@media (max-width: 768px) {
  .main-quick-links {
    flex-wrap: wrap;
  }
  .main-quick-links__item {
    flex: 1 1 calc(50% - 5px);
  }
}
@media (max-width: 480px) {
  .main-quick-links {
    gap: 8px;
  }
  .main-quick-links__ico {
    width: 20px;
  }
  .main-quick-links__item {
    padding: 10px 12px;
    gap: 6px;
  }
  .main-quick-links__title {
    font-size: 12px;
  }
  .main-quick-links__arrow {
    display: none;
  }
}
.hero-product {
  position: relative;
  width: 100%;
}
.hero-product__slider {
  position: relative;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  border-radius: 16px;
  background: #fff;
}
.hero-product__badge-mob {
  display: none;
}
.hero-product__nav {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 10;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -28px 0 0 0;
}
.hero-product__nav::before {
  content: "";
  width: 8px;
  height: 12px;
  background: url("../../i/arrow-right.svg") center no-repeat;
  background-size: contain;
}
.hero-product__nav_prev {
  left: 8px;
}
.hero-product__nav_prev::before {
  transform: rotate(180deg);
}
.hero-product__nav_next {
  right: 8px;
}
.hero-product__nav.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}
.hero-product__progress {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  width: 100%;
}
.hero-product__progress-item {
  flex: 1;
  height: 3px;
  background-color: #e3e3e3;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.hero-product__progress-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #A2C617;
  border-radius: 3px;
}
.hero-product__progress-item.is-active::after {
  animation: heroProgressAnimation 5000ms linear forwards;
}
.hero-product:hover .hero-product__progress-item.is-active::after {
  animation-play-state: paused;
}

.main-hero__right {
  width: 308px;
  flex-shrink: 0;
}

.hero-product-card {
  position: relative;
  padding: 20px 20px 28px;
  background: #fff;
}
.hero-product-card__badge {
  display: inline-block;
  max-width: 100%;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: #f2530c;
  background: #FFF1E8;
  border-radius: 12px;
  padding: 4px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-product-card__tools {
  position: absolute;
  top: 40px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}
.hero-product-card__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid #e3e3e3;
  background: #fff;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.hero-product-card__tool:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
}
.hero-product-card__tool_compare::before {
  background: url("../../i/container.svg#icon-21") center no-repeat;
  background-size: cover;
}
.hero-product-card__tool_favorite::before {
  background: url("../../i/container.svg#icon-20") center no-repeat;
  background-size: cover;
}
.hero-product-card__tool_cart {
  background: #A2C617;
  border-color: #A2C617;
}
.hero-product-card__tool_cart::before {
  background: url("../../i/container.svg#icon-18") center no-repeat;
  background-size: cover;
}
.hero-product-card__gallery {
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}
.hero-product-card__gallery .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-product-card__photo {
  max-width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-product-card__photo img {
  object-fit: contain;
  display: block;
  max-width: 210px;
  margin: auto;
}
.hero-product-card__dots {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.hero-product-card__dotnav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: #F5F5F5;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}
.hero-product-card__dotnav::before {
  content: "";
  width: 6px;
  height: 10px;
  background: url("../../i/arrow-right.svg") center no-repeat;
  background-size: contain;
}
.hero-product-card__dotnav_prev::before {
  transform: rotate(180deg);
}
.hero-product-card__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: unset !important;
  margin: 0 6px !important;
}
.hero-product-card__pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e3e3e3;
  opacity: 1;
  margin: 0;
  cursor: pointer;
}
.hero-product-card__pagination .swiper-pagination-bullet-active {
  background: #A2C617;
}
.hero-product-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 500;
  color: #0F0F0F;
  line-height: 18px;
  min-height: 36px;
  margin-top: 15px;
  text-decoration: none;
}
.hero-product-card__title:hover {
  color: #0F0F0F;
}
.hero-product-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}
.hero-product-card__meta .rate-item {
  display: flex;
  align-items: center;
}
.hero-product-card__meta .rate-item__star {
  background: url("../../i/container.svg#icon-43") center no-repeat;
  background-size: cover;
  width: 15px;
  height: 15px;
  margin-right: 2px;
}
.hero-product-card__meta .rate-item__total {
  font-size: 12px;
  line-height: 15px;
  font-weight: 600;
  color: #0F0F0F;
  padding-left: 3px;
}
.hero-product-card__comments a {
  display: inline-block;
  padding-left: 20px;
  font-size: 12px;
  line-height: 15px;
  color: #808080;
  text-decoration: none;
  background: url("../../i/message-text-square.svg") no-repeat left center;
}
.hero-product-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
}
.hero-product-card__prices .product-cost {
  font-size: 16px;
  font-weight: 500;
  color: #0F0F0F;
  line-height: 1.25;
  white-space: nowrap;
}
.hero-product-card__prices .product-cost span {
  font-size: 13px;
}
.hero-product-card__prices .product-cost_old {
  font-size: 12px;
  text-decoration: line-through;
  color: #484F54;
}
.hero-product-card__prices .product-cost_old span {
  font-size: 12px;
}
.hero-product-card__prices .product-cost_new {
  font-size: 20px;
  font-weight: 600;
  color: #f2530c;
}
.hero-product-card__prices .product-cost_new span {
  font-size: 15px;
}
.hero-product-card__actions {
  display: none;
  align-items: center;
  gap: 8px;
}
.hero-product-card__actions .hero-product-card__tool_compare,
.hero-product-card__actions .hero-product-card__tool_favorite {
  background: #F5F5F5;
  border-color: #F5F5F5;
}

@media (max-width: 992px) {
  .main-hero__top {
    flex-wrap: wrap;
  }
  .main-hero__right {
    flex: 1 1 100%;
    width: 100%;
  }
  .hero-product-card__gallery .swiper-button-prev,
  .hero-product-card__gallery .swiper-button-next {
    display: none;
  }
  .hero-product-card__dots {
    display: none;
  }
  .hero-product-card__tools {
    display: none;
  }
  .hero-product-card__actions {
    display: flex;
  }
  .hero-product-card__tool_cart--desktop {
    display: none;
  }
  .hero-product {
    padding-top: 12px;
  }
  .hero-product__badge-mob {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 12px;
    z-index: 6;
    max-width: calc(100% - 24px);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    color: #f2530c;
    background: #FFF1E8;
    border-radius: 12px;
    padding: 4px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 14px;
  }
  .hero-product-card__badge {
    display: none;
  }
  .hero-product-card__gallery {
    flex: 0 0 130px;
    width: 130px;
    min-width: 0;
    margin-top: 0;
  }
  .hero-product-card__photo {
    height: 120px;
  }
  .hero-product-card__photo img {
    max-width: 130px;
  }
  .hero-product-card__product-info {
    flex: 1 1 0;
    min-width: 0;
  }
  .hero-product-card__title {
    margin-top: 0;
    -webkit-line-clamp: 2;
    min-height: 0;
  }
  .hero-product-card__meta {
    margin-top: 8px;
  }
  .hero-product-card__bottom {
    margin-top: 8px;
  }
  .hero-product__nav {
    display: none !important;
  }
}
@media (max-width: 576px) {
  .hero-product-card__gallery {
    width: 72px;
    flex: 0 0 72px;
  }
  .hero-product-card__photo {
    height: 72px;
    width: 72px;
  }
  .hero-product-card__photo img {
    max-width: 72px;
  }
  .hero-product__slider {
    border-radius: 12px;
  }
  .hero-product__progress {
    gap: 5px;
    margin-top: 10px;
  }
  .hero-product__progress-item {
    height: 2.5px;
  }
}

/* WEB-2272: отступ после быстрых ссылок */
.main-quick-links {
  margin-bottom: 40px;
}

/* WEB-2272: название быстрой ссылки переносится на мобильном */
@media (max-width: 992px) {
  .main-quick-links__title {
    white-space: normal;
    overflow: visible;
  }
}

/* WEB-2272: весь баннер — ссылка, вместо кнопки «Подробнее» стрелка в углу при наведении */
.hero-banner-card {
  text-decoration: none;
}
.hero-banner-card__img {
  transition: transform 0.4s ease;
}
.hero-banner-card__arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #A2C617 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 11.5l7-7M5.5 4.5h6v6' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translate(-6px, 6px) scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hero-banner-card:hover .hero-banner-card__img {
  transform: scale(1.03);
}
.hero-banner-card:hover .hero-banner-card__arrow,
.hero-banner-card:focus-visible .hero-banner-card__arrow {
  opacity: 1;
  transform: none;
}
@media (hover: none) {
  .hero-banner-card__arrow {
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
    background-size: 13px;
    opacity: 1;
    transform: none;
  }
}

/* WEB-2272: место под оценку и отзывы есть всегда — у товара без них цена стоит на том же уровне */
.hero-product-card__meta {
  min-height: 19px;
}

/* WEB-2272: у товара без старой цены цена стоит на той же линии, что новая цена у остальных */
.hero-product-card__prices {
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* WEB-2272: плашка «Товары недели» на верхней рамке блока — как на мобильном (на десктопе чуть выше рамки, блок не сдвигается) */
@media (min-width: 993px) {
  .hero-product__badge-mob {
    display: inline-block;
    position: absolute;
    top: -11px;
    left: 16px;
    z-index: 6;
    max-width: calc(100% - 32px);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    color: #f2530c;
    background: #FFF1E8;
    border-radius: 12px;
    padding: 4px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-product-card__badge {
    display: none;
  }
  /* место, которое занимала плашка внутри карточки: высота блока = высоте баннеров */
  .hero-product-card {
    padding-top: 48px;
  }
}
/* цена без скидки — того же размера, что новая цена у товаров со скидкой, по центру блока (на уровне кнопки корзины) */
.hero-product-card__prices .product-cost:only-child {
  font-size: 20px;
  font-weight: 500;
  line-height: 25px;
  margin-top: auto;
  margin-bottom: auto;
}

/*# sourceMappingURL=main-slider.css.map */
