

/* Start:/local/templates/lakomie/components/bitrix/news.list/home_categories/style.css?17943170414897*/
.b2b_categories a.b2b_category-card {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  isolation: isolate;
  height: 100%;
  min-height: 320px;
  min-width: 0;
  padding: 22px 20px 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: #ebf5e8;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 24px;
  transition:
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.3s ease;
}

.b2b_categories a.b2b_category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.b2b_categories a.b2b_category-card:hover .b2b_category-card__arrow {
  color: #ffffff;
  background: #5fb128;
  transform: rotate(-45deg);
}

.b2b_categories a.b2b_category-card:hover .b2b_category-card__image {
  transform: scale(1.06);
}

.b2b_categories a.b2b_category-card:focus-visible {
  outline: 2px solid #5fb128;
  outline-offset: 2px;
}

.b2b_categories .b2b_home-carousel__slide:nth-child(5n + 1) a.b2b_category-card {
  background-color: #ebf5e8;
}

.b2b_categories .b2b_home-carousel__slide:nth-child(5n + 2) a.b2b_category-card {
  background-color: #fef1e6;
}

.b2b_categories .b2b_home-carousel__slide:nth-child(5n + 3) a.b2b_category-card {
  background-color: #fdeef2;
}

.b2b_categories .b2b_home-carousel__slide:nth-child(5n + 4) a.b2b_category-card {
  background-color: #fef8e3;
}

.b2b_categories .b2b_home-carousel__slide:nth-child(5n + 5) a.b2b_category-card {
  background-color: #edf3fa;
}

.b2b_categories .b2b_category-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
}

.b2b_categories .b2b_category-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #1c2a1c;
}

.b2b_categories .b2b_category-card__arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  color: #2d452d;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.25s ease;
}

.b2b_categories .b2b_category-card__arrow svg {
  display: block;
  flex-shrink: 0;
}

.b2b_categories .b2b_category-card__image-wrapper {
  display: flex;
  flex: 1;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding-top: 14px;
  background: transparent;
}

.b2b_categories .b2b_category-card__image {
  display: block;
  max-width: 100%;
  max-height: 210px;
  object-fit: contain;
  background: transparent;
  mix-blend-mode: multiply;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.b2b_categories .b2b_category-card__placeholder {
  width: 100%;
  max-height: 210px;
  min-height: 120px;
  aspect-ratio: auto;
  background: transparent;
}

.b2b_categories .b2b_home-carousel button.b2b_home-carousel__btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  color: #1e281e;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.b2b_categories .b2b_home-carousel button.b2b_home-carousel__btn:hover:not(:disabled) {
  color: #ffffff;
  background: #5fb128;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(95, 177, 40, 0.28);
}

.b2b_categories .b2b_home-carousel.is-animating a.b2b_category-card:hover {
  transform: none;
}

.b2b_categories .b2b_home-carousel.is-animating a.b2b_category-card:hover .b2b_category-card__image,
.b2b_categories .b2b_home-carousel.is-animating a.b2b_category-card:hover .b2b_category-card__arrow {
  transform: none;
}

@media (max-width: 767px) {
  .b2b_categories a.b2b_category-card {
    min-height: 280px;
    padding: 18px 16px 14px;
    border-radius: 20px;
  }

  .b2b_categories .b2b_category-card__title {
    font-size: 16px;
  }

  .b2b_categories .b2b_category-card__arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .b2b_categories .b2b_category-card__image {
    max-height: 170px;
  }
}

@media (max-width: 576px) {
  .b2b_categories a.b2b_category-card {
    min-height: 260px;
  }

  .b2b_categories .b2b_category-card__image {
    max-height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2b_categories a.b2b_category-card,
  .b2b_categories a.b2b_category-card:hover,
  .b2b_categories .b2b_category-card__image,
  .b2b_categories .b2b_category-card__arrow,
  .b2b_categories .b2b_home-carousel button.b2b_home-carousel__btn {
    transition: none;
  }

  .b2b_categories a.b2b_category-card:hover {
    transform: none;
  }

  .b2b_categories a.b2b_category-card:hover .b2b_category-card__image,
  .b2b_categories a.b2b_category-card:hover .b2b_category-card__arrow {
    transform: none;
  }
}

/* End */
/* /local/templates/lakomie/components/bitrix/news.list/home_categories/style.css?17943170414897 */
