.catalog-card__top-title {
  /*position: absolute;*/
  top: 0;
  left: 0;

  font-size: 2.6rem;
  line-height: 123%;
  font-weight: 500;
}

.catalog-card__top-subtitle {
  font-size: 2rem;
  font-weight: 500;
  line-height: 160%;

  margin-top: 1rem;
  margin-bottom: 1rem;
}

.catalog-card__top-subtitle.catalog-card__top-subtitle--mobile {
  display: none;
}

.catalog-card__actions {
  column-gap: 1.1rem;
  /*justify-content: flex-end;*/

  margin-bottom: 3.2rem;
}

.catalog-card__text {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: -0.01em;

  margin-bottom: 2.6rem;
}

.catalog-card__text.catalog-card__text--mobile {
  display: none;
}

.catalog-card__rating {
  display: flex;
  column-gap: 1.2rem;

  margin-bottom: 1.9rem;
}

.catalog-card__rating-link {
  color: #3f892c;
  font-size: 1.4rem;
  line-height: 200%;

  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.5rem;
}

.catalog-card__rating-link:hover {
  text-decoration: underline;
  text-decoration-color: #3f892c;
}

.catalog-card__rating-text {
  color: #979797;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 200%;
}

.catalog-card-concentrations__text {
  display: inline-block;
  color: #191919;
  font-size: 1.3rem;
  line-height: 215%;

  margin-bottom: 0.7rem;
}

.catalog-card__wrapper {
  position: relative;

  display: flex;
  justify-content: space-between;

  margin-bottom: 7.6rem;
}

.catalog-card-concentrations__buttons {
  display: flex;
  align-items: center;
  column-gap: 0.8rem;

  margin-bottom: 1.6rem;
}

.catalog-card-concentrations__button {
  height: 4rem;
  width: 6.7rem;

  border-radius: 0.8rem;
  background-color: transparent;
  border: 0.05rem solid #191919;
  transition: border 0.3s ease;

  color: #191919;
  font-weight: 600;

  outline: none;
}

.catalog-card-concentrations__button:hover {
  border: 0.05rem solid #3f892c;
}

.catalog-card-concentrations__button.active {
  color: #fff;
  background-color: #3f892c;
  border: 0.05rem solid #3f892c;
}

.catalog-card-concentrations__link {
  color: #3f892c;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1;

  display: inline-flex;
  align-items: flex-end;
  column-gap: 0.5rem;
}

.catalog-card-concentrations__link:hover {
  text-decoration: underline;
  text-decoration-color: #3f892c;
}

.catalog-card-concentrations {
  margin-bottom: 3.7rem;
}

.product-price__current {
  color: #3f892c;
  font-size: 3.8rem;
  font-weight: 600;
  line-height: 1;
}

.catalog-card__price {
  position: relative;
  width: 40rem;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  margin-bottom: 3.5rem;
}

.catalog-card__price .catalog-card__slider-badge {
  position: static;

  background-color: transparent;
    /*display: none;*/
}

.catalog-card__price .catalog-card__slider-badge span {
  color: #3f892c;
}

.catalog-card__price-wrapper {
  display: flex;
  align-items: center;
  column-gap: 0.6rem;
}

.catalog-card__price-content {
  width: 27rem;

  display: flex;
  align-items: flex-start;
column-gap: 1.5rem;
}

.product-price__old {
  color: #979797;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: line-through;
}

.product-price__discount {
  color: #3f892c;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.catalog-card__button {
  width: 30.1rem;
  height: 5rem;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  column-gap: 1.3rem;

  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;

  border-radius: 6rem;
  background-color: #191919;
  transition: background-color 0.3s ease;

  margin-bottom: 2.5rem;

  outline: none;
  border: none;
}

.catalog-card__button:hover {
  background-color: #3f892c;
}

.catalog-card__split {
  display: flex;
  align-items: center;
  column-gap: 0.7rem;

  margin-bottom: 2.5rem;
}

.catalog-card__split-text {
  display: inline-block;
  width: 17.3rem;

  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.catalog-card__split-button {
  width: 15rem;
  height: 3.5rem;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #000;

  border-radius: 5rem;
  background-color: #f6f6f6;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;

  border: none;
}

.catalog-card__split-button:hover {
  color: #fff;
  background-color: #3f892c;
}

.catalog-card-delivery {
  width: 40rem;
}

.catalog-card-delivery__wrapper {
  display: flex;
  align-items: center;
  column-gap: 0.7rem;
}

.catalog-card-delivery__text {
  color: #000;
  font-weight: 500;
  font-size: 1.6rem;
}

.catalog-card-delivery__text span {
  font-weight: 700;
}

.catalog-card-delivery__button {
  color: #3f892c;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 200%;

  padding-left: 2.2rem;
  margin-bottom: 0.7rem;

  border: none;
  outline: none;
  background-color: transparent;
}

.catalog-card-delivery__button:hover {
  text-decoration: underline;
  text-decoration-color: #3f892c;
}

.catalog-card-description__title {
  color: #3f892c;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1;

  margin-bottom: 2.5rem;
}

.catalog-card-description__title--small {
  font-size: 1.8rem;
  font-weight: 500;

  margin-bottom: 1.4rem;
}

.catalog-card-description__text {
  color: #000;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 140%;

  max-width: 88.1rem;
  width: 100%;
}

.catalog-card-description__text:last-of-type {
  margin-bottom: 4.3rem;
}

.catalog-card-description__text--small {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 140%;

  margin-bottom: 2.5rem;
}

.catalog-card-description__text--small:last-of-type {
  margin-bottom: 5.8rem;
}

.catalog-card-description__text--small span {
  font-weight: 600;
  display: block;

  margin-top: 2.5rem;
}

.catalog-card-description__text--small span + span {
  margin-top: 0;
}

.catalog-card-description__list {
  margin-bottom: 3.6rem;
}

.catalog-card-description__item {
  font-weight: 500;
}

.catalog-card-characteristic__text.catalog-card-characteristic__text p {
  color: #3f892c;
  font-weight: 600;

  display: flex;
  align-items: center;
  column-gap: 1.3rem;
}

.catalog-card-characteristic__text.catalog-card-characteristic__text button {
  background-color: transparent;
  outline: none;
  border: none;
}

.characteristic-item__text.catalog-card-compound-text {
  max-width: 100%;
}

.characteristic-item__text.catalog-card-compound-text p {
  margin-bottom: 0;
}

.characteristic-item.characteristic-item--catalog-card {
  border-bottom: none;
}

.characteristic-item__title.characteristic-item__title--catalog-card {
  width: 25%;
}

.product__tab-nav.product__tab-nav--catalog-card {
  margin: 0 0 5.1rem;

  justify-content: space-around;
}

.product__tab-nav.product__tab-nav--catalog-card .tab-nav__item {
  margin: 0rem 0% -0.1rem 0rem;
}

.product__tab-nav.product__tab-nav--catalog-card .tab-nav__link {
  position: relative;

  white-space: nowrap;
  padding-bottom: 1.2rem;
  color: #000;
  font-size: 1.6rem;
  font-weight: 600;
  display: block;

  border-bottom: none;
}

.product__tab-nav.product__tab-nav--catalog-card .tab-nav__link.active {
  color: #3f892c;
}

.product__tab-nav.product__tab-nav--catalog-card .tab-nav__link.active::before {
  content: "";
  position: absolute;

  bottom: -0.1rem;
  left: 50%;
  transform: translateX(-50%);

  width: 17.2rem;
  height: 0.3rem;

  background-color: #3f892c;
}

.characteristic-item.characteristic-item--catalog-card-text {
  font-size: 1.4rem;
  line-height: 1;
}

.characteristic-item--catalog-card-text-lh {
  line-height: 140%;
}

.characteristic-item__text.characteristic-item--catalog-card-text-w {
  max-width: 59%;
}

.btn--catalog-card {
  display: none !important;
}

.catalog-card__slider-badge {
  position: absolute;
  left: 1.6rem;
  bottom: 1.6rem;

  width: 12.7rem;
  height: 3.5rem;

  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.6rem;

  border-radius: 0.8rem;
  background-color: #3f892c;

  padding: 0.5rem 0.8rem;
}

.catalog-card__slider-badge span {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.catalog-card-icons__text.catalog-card-icons__text--mobile {
  display: none !important;
}

.catalog-card__wrapper-mobile {
  display: none;
}

.catalog-card-text-important {
  font-family: "Oswald", sans-serif;
  color: #3F892C;
  font-size: 3rem;
  font-weight: 400;
  line-height: 120%;
}

/* FAQ START */
.catalog-card-faq {
  margin-bottom: 9.1rem;
}
/* FAQ END */

/* SLIDER START */
.slider-nav {
  top: 0 !important;
  width: 80rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/*.slider-nav .slick-list {
  height: auto !important;
}*/

.slider-nav .slick-slide {
  height: 11rem;
  margin-bottom: 0.8rem;
}

.slider-nav .slick-slide:last-child {
  margin-bottom: 0;
}

.slider-nav img {
  width: 6.5rem;
  height: 8.6rem;
  object-fit: cover;
  border-radius: 1rem;
}

/*.slider-nav .slick-list {
  height: auto !important;
}*/

.slider-nav .slick-slide {
  height: 11rem;
  margin-bottom: 0.8rem;
}

.slider-nav .slick-slide:last-child {
  margin-bottom: 0;
}

.slider-nav img {
  width: 6.5rem;
  height: 8.6rem;
  object-fit: cover;
  border-radius: 1rem;
}

.slider-for.catalog-card__slider-main {
  position: relative;

  margin: 0 12rem 0 0 !important;
}

.catalog-card__slider-item:not(.catalog-card__slider-item--small) {
  width: 56rem !important;
  height: 60rem !important;
}

.catalog-card__slider-item.catalog-card__slider-item--small {
  width: 100% !important;
  height: 11rem !important;

  border-radius: 1rem;
}

.catalog-card__slider {
  width: 64.2rem;
}

.catalog-card__slider-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

.slider-for {
  margin-right: 9rem;
}

.slider-for .slick-slide {
  justify-content: right !important;
}

.catalog-card__slider-item {
  position: relative;

  width: 49rem;
  height: 49rem;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 2rem;
  background-color: #eef0f3;
}

.catalog-card__slider-item--small:not(:last-child) {
  border-radius: 1rem;
  margin: 0 0 1.6rem 0 !important;
}

.catalog-card__slider-item--small img {
  width: 6.5rem;
  height: 8.6rem;
}

.catalog-card--mobile {
  display: none;
}

.catalogue-slider.catalog-card-products__slider {
  margin-bottom: 0;
}

.catalog-card-products__slider .slick-arrow {
  width: max-content !important;
  height: auto !important;

  background-color: transparent !important;
  border: none !important;
}

.catalog-card-products__slider .slick-arrow::before {
  width: 6rem !important;
  height: 0.8rem !important;
  background: url(../../img/icons/next.svg) 0 0 no-repeat !important;
}

.catalog-card-products__slider .slick-arrow.slick-prev::before {
  background: url(../../img/icons/prev.svg) 0 0 no-repeat !important;
}

.catalog-card-products__slider .slick-arrow.slick-prev {
  margin-right: 7.5rem !important;
}

.slider-nav.catalog-card__slider-nav {
  right: 0;
  left: auto;

  width: 10.7rem !important;
}

.catalog-card__slider-nav.slider-nav .slick-slide.slick-current {
  border-color: #3f892c;
}

.catalog-card__slider-nav.slider-nav .slick-slide {
  height: 11rem;

  margin: 0 0 0 0;
}

.catalog-card__slider-main.slider-for .slick-dots li {
  margin: 0;

  height: auto;
  line-height: 0;
}

.catalog-card__slider-main.slider-for .slick-dots button {
  width: 0.6rem !important;
  height: 0.6rem !important;

  opacity: 0.6;
  border-radius: 100%;
  background-color: rgba(25, 25, 25, 0.2);
}

.catalog-card__slider-main.slider-for .slick-dots li.slick-active button {
  background-color: #3f892c;
}

.catalog-card__slider-main.slider-for .slick-dots li button:hover {
  background-color: #3f892c;
}

.catalog-card-products__slider-badge {
  width: 5rem;
  height: 2.1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.1rem;
  font-weight: 500;

  border-radius: 0.4rem;
  background-color: #ffdd2d;

  margin-bottom: 1.4rem;
}

.slider-for.catalog-card__slider-main .slick-dots {
  position: absolute;
  bottom: -3.6rem;

  left: 28.3rem;

  column-gap: 0.8rem;

  margin: 0;
}
/* SLIDER END */

/* Products START */
.catalog-card-products {
  margin-bottom: 9.2rem !important;
}
/* Products END */

.favorite-link.favorite-link--catalog-card {
  padding-top: 0;
}

/* Adaptiv */
@media only screen and (max-width: 1200px) {
  .catalog-card__wrapper {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

@media only screen and (max-width: 991px) {
  .catalog-card__slider-item {
    width: 49rem;
    height: 49rem;
  }

    .product_card_number {
        display: none !important;
    }
}

@media only screen and (max-width: 992px) {
  .slider-for {
    margin: 0 0 0 auto !important;
  }

  .slider-for .slick-slide {
    justify-content: center !important;
  }

  .catalog-card__slider-item {
    width: 100%;
    height: 57.5rem;
  }
}

@media only screen and (max-width: 768px) {
  .btn--catalog-card {
    display: inline-flex !important;
  }

  .catalog-card-products {
    margin-bottom: 4.1rem !important;
  }

  .catalog-card--mobile {
    display: block;
  }

  .catalog-card__text {
    width: 100%;
  }

  .catalog-card-delivery {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .catalog-card-delivery__button {
    padding-left: 0;
  }
}

@media only screen and (max-width: 585px) {
  .catalog-card__slider {
    width: 100%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .container {
    padding-left: 2.2rem !important;
    padding-right: 2.2rem !important;
  }

  .catalog-card__slider-item:not(.catalog-card__slider-item--small) {
    min-width: 100% !important;
    height: 57.5rem !important;
  }

    .catalog-card__actions {
        /*width: 80%;*/
    }

  .catalog-card__slider-item.catalog-card__slider-item--small {
    width: 12.6rem !important;
    height: 13rem !important;
  }

  .catalog-card__actions {
    margin-bottom: 2.4rem;
  }

  .catalog-card__actions {
    margin-bottom: 1.2rem;
      position: static !important;
  }

  .text-light--catalog-card {
    display: none !important;
  }

  .product__tab-nav.product__tab-nav--catalog-card {
    gap: 0.7rem;

    overflow: unset;

    padding-bottom: 2.9rem;
  }

  .product__tab-nav.product__tab-nav--catalog-card
    .tab-nav__link.active::before {
    display: none;
  }

  .product__tab-nav.product__tab-nav--catalog-card .tab-nav__link {
    font-size: 1.4rem;
    font-weight: 500;

    width: 17.2rem;
    height: 4.5rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 0.8rem;
    background-color: #f4f4f4;

    padding: 0.7rem 1rem;
  }

  .product__tab-nav.product__tab-nav--catalog-card .tab-nav__link.active {
    color: #fff;
    background-color: #78b968;
  }

  .catalog-card-delivery__text {
    font-size: 1.2rem;
  }

  .catalog-card__wrapper {
    margin-bottom: 4.1rem;
  }

  .catalog-card__split {
    justify-content: space-between;
  }

  .catalog-card__button {
    height: 4.5rem;
  }

  .catalog-card__price {
    margin-bottom: 3.2rem;
  }

  .catalog-card-concentrations__button {
    width: 16.4rem;
    height: 5rem;

    font-size: 2.2rem;
  }

  .catalog-card__text {
    margin-bottom: 1.4rem;
  }

  .catalog-card__rating {
    margin-bottom: 1.3rem;
  }

  .catalog-card__top-title {
    font-size: 1.6rem;
  }

  .catalog-card__top-subtitle {
    font-size: 1.4rem;
  }

  .product__tab-nav.product__tab-nav--catalog-card {
    margin-bottom: 5.3rem;
    padding-bottom: 0;

    border-bottom: none;
  }

  .catalog-card-description__title,
  .catalog-card-description__title--small {
    font-size: 1.8rem;
  }

  .catalog-card__slider {
    width: 100%;

    margin-bottom: 4.9rem;
  }

  .slider-for.catalog-card__slider-main .slick-slide {
    justify-content: start !important;
      height: 100%;
  }

  .catalog-card__top-title {
    font-size: 2.6rem;
  }

  .slider-for.catalog-card__slider-main .slick-dots {
    left: 32.5rem;
  }

  .catalog-card__price-wrapper {
    right: 8.5rem !important;
  }

  .catalog-card__wrapper-mobile {
    display: flex;
  }

  .catalog-card__price:not(.catalog-card__wrapper-mobile .catalog-card__price),
  .catalog-card__split:not(.catalog-card__wrapper-mobile .catalog-card__split) {
    display: none;
  }

  .catalog-card__button img {
    display: none;
  }
}

@media only screen and (min-width: 360px) and (max-width: 991px) {

  .icons-nav__count.catalog-card-icons__count {
    top: -0.6rem !important;
    right: -0.8rem !important;

    width: 1.4rem !important;

    color: #fff !important;

    background-color: #3f892c !important;
  }

  .catalog-card-icons__text.catalog-card-icons__text--mobile {
    display: block !important;

    position: static;
    margin-top: 0.2rem;

    color: #000;
    font-size: 1.1rem;
    font-weight: 500;
  }

  .catalog-card-icons__link.catalog-card-icons__link--no-reg
    .icon-login-primary-full {
    /* display: block !important; */
  }

  .icons-nav a[href="../favorites.html"] {
    order: 2;
  }

  .icons-nav a[href="#basket-pane"] {
    order: 1;
  }

  .catalog-card__text span {
    font-weight: 600;
  }

  .catalog-card__text {
    display: none;

    font-family: "Inter", sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
  }

  .catalog-card__text--mobile {
    display: block !important;
  }

  .catalog-card__button {
    width: 100%;
  }

  .catalog-card__split-text {
    width: 16.5rem;
  }

  .catalog-card__price {
    width: 100%;
  }

  .catalog-card__price .catalog-card__slider-badge {
    position: absolute;
    bottom: -2rem;
    left: 16rem;
  }

  .catalog-card__price-wrapper {
    right: 8rem;
  }

  .catalog-card-text-important {
    text-align: center;
  }

  .catalog-card__top-title {
    position: static;
  }

  .catalog-card__price-content {
    column-gap: 1.7rem;
  }

  .catalog-card__top-subtitle {
    display: none;

    margin-top: 0.2rem;
  }

  .catalog-card__top-subtitle.catalog-card__top-subtitle--mobile {
    display: block;
  }

  .catalog-card__top-title span {
    display: none;
  }

  .catalog-card-delivery {
    margin: 0 auto;
  }

  .catalog-card-concentrations__text {
    font-weight: 600;
  }

  .catalog-card-concentrations__buttons {
    justify-content: space-between;
  }


}

@media only screen and (min-width: 360px) and (max-width: 767px) {
  .container.catalog-card-container {
    padding-left: 1.6rem !important;
    padding-right: 1.6rem !important;
  }

  .catalog-card__actions {
    /*margin-bottom: 2.2rem;*/
      margin-top: 10px;
  }

  .text-light--catalog-card {
    display: none !important;
  }

  .product__tab-nav.product__tab-nav--catalog-card {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);

    gap: 0.7rem;

    padding-bottom: 2.9rem;
    margin-bottom: 3.2rem;
  }

  .product__tab-nav.product__tab-nav--catalog-card.tab-nav__link.active::before {
    display: none;
  }

  .product__tab-nav.product__tab-nav--catalog-card .tab-nav__item {
    display: flex;
  }

  .product__tab-nav.product__tab-nav--catalog-card .tab-nav__link {
    font-size: 1.4rem;
    font-weight: 500;

    min-width: 0;
    height: 4rem;

    flex: 1;
    white-space: unset;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 0.8rem;
    background-color: #f4f4f4;

    padding: 1.1rem 0.5rem;
  }

  .product__tab-nav.product__tab-nav--catalog-card .tab-nav__link.active {
    color: #fff;
    background-color: #78b968;
  }

  .product__tab-nav.product__tab-nav--catalog-card
    .tab-nav__link.active::before {
    display: none;
  }

  .catalog-card-delivery__text {
    font-size: 1.2rem;
  }

  .catalog-card__wrapper {
    margin-bottom: 4.1rem;
  }

  .catalog-card__split {
    justify-content: space-between;
  }

  .catalog-card__button {
    height: 4.5rem;
    flex-direction: row;
  }

  .catalog-card__price {
    margin-bottom: 2.5rem;
  }

  .catalog-card-concentrations__button {
    width: 7.8rem;
    height: 4rem;

    flex: 1;
  }

  .catalog-card__text {
    margin-bottom: 1.4rem;
  }

  .catalog-card__rating {
    margin-bottom: 1.3rem;
  }

  .catalog-card__top-title {
    font-size: 1.6rem;
    font-weight: 600;
  }

  .catalog-card__top-subtitle {
    font-size: 1.4rem;
  }

  .catalog-card-description__title {
    font-size: 1.5rem;

    margin-bottom: 2rem;
  }

  .catalog-card-description__item {
    font-size: 1.6rem;
  }

  .catalog-card-description__title--small {
    margin-bottom: 1.6rem;
  }

  .catalog-card-description__text--small {
    margin-bottom: 2rem;
  }

  .catalog-card-description__text--small span {
    margin-top: 1.8rem;
  }

  .catalog-card-description__text:last-of-type {
    margin-bottom: 0;
  }

  .favorite-link.favorite-link--catalog-card {
    width: 2.6rem;
    height: 2.6rem;
  }

  .favorite-link.favorite-link--catalog-card .icon-favorite,
  .favorite-link.favorite-link--catalog-card .icon-share {
    width: 3rem;
    height: 3rem;
  }

  .catalog-card__slider-item img {
    width: 17.5rem ;
    height: 23.3rem;
  }

  .catalog-card__slider-main.slider-for .slick-dots {
    bottom: -1.5rem;
    left: 14.5rem;
  }

  .catalog-card__slider-wrapper {
    margin-bottom: 3.6rem;
  }

  .catalog-card__button img {
    display: block;
  }

  .catalog-card-text-important {
    font-size: 1.8rem;
  }

  .catalog-card-delivery {
    width: 100%;
  }
}

/*
 * Убираем старый внешний отступ 1.6rem,
 * который увеличивает высоту каждой миниатюры.
 */


.favorite-link.active:hover:before {
    width: 0rem !important;
    background: none !important;
}

/* Popup «Поделиться» на странице товара */
.catalog-card__slider {
    position: relative;
    z-index: 1;
    overflow: visible;
}

.catalog-card__actions {
    position: absolute;
    z-index: 101;
    overflow: visible;
    vertical-align: sub;
}

.catalog-card__actions .custom-article-header-share-popup {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;

    z-index: 999999;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.catalog-card__actions .custom-article-header-share-popup.active {
    display: flex;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.favorite-link:hover {
    border-color: #3F892C !important;
    background: #3F892C !important;
}

.catalog-card__slider-wrapper .catalog-card__slider-badge {
    top: auto;
    left: 16px;
    right: auto;
    bottom: 16px;
    z-index: 999;
}

.catalog-card__slider-badge > img {
    max-height: 1.6rem !important;
}

/*
 * Выпадающий расчёт доставки в карточке товара.
 * #ip-selector-container является общим родителем
 * кнопки и раскрывающегося блока.
 */
#ip-selector-container {
    position: relative;
    z-index: 100;
}

/*
 * Блок выводится поверх следующих элементов карточки
 * и больше не увеличивает высоту родителя.
 */
#ip-selector-container > .js-delivery-block {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: auto;
    z-index: 1000;

    width: 100%;
    min-width: 400px;
    margin: 0;

    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/*
 * Разрешаем блоку выходить за границы правой части карточки.
 */
.catalog-card-delivery,
.catalog-card__content,
.catalog-card__wrapper,
.catalog-card-section {
    overflow: visible;
    z-index: 1;
}

.block_rasschet_vp {
    margin-left: 1rem;
}

@media (max-width: 767px) {
    #ip-selector-container {
        width: 100%;
    }

    #ip-selector-container > .js-delivery-block {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
        max-height: 65vh;
        overflow-y: auto;
    }
}

/* Стрелка блока доставки: в закрытом состоянии направлена вниз */
.js-toggle-delivery::after {
    transform: rotate(90deg);
    transform-origin: center;
    transition: transform 0.2s ease;
}

/* В раскрытом состоянии направлена вверх */
.js-toggle-delivery.active::after {
    transform: rotate(-90deg);
}

/* Четыре миниатюры на высоту основной фотографии */
@media (min-width: 992px) {
    .slider-nav.catalog-card__slider-nav {
        width: 10.7rem !important;
        height: 60rem !important;
        max-height: 60rem !important;
        overflow: hidden !important;
    }

    .slider-nav.catalog-card__slider-nav .slick-list {
        height: 60rem !important;
        max-height: 60rem !important;
        overflow: hidden !important;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small.slick-slide {
        /*
         * 4 × 13.8rem + 3 × 1.6rem = 60rem
         */
        height: 13.8rem !important;
        margin: 0 0 1.6rem !important;
        box-sizing: border-box;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small img {
        width: 100%;
        height: 100%;
        padding: 1.2rem;
        object-fit: contain;
        box-sizing: border-box;
        border-radius: 1rem;
    }
}

/* Планшеты: четыре вертикальные миниатюры */
@media (min-width: 768px) and (max-width: 991px) {
    .catalog-card__slider-wrapper {
        position: relative;
    }

    .slider-nav.catalog-card__slider-nav {
        position: absolute;
        top: 0 !important;
        right: 0;
        left: auto;

        width: 12.6rem !important;
        height: 57.5rem !important;
        max-height: 57.5rem !important;

        display: block;
        overflow: hidden !important;
    }

    .slider-nav.catalog-card__slider-nav .slick-list {
        height: 57.5rem !important;
        max-height: 57.5rem !important;
        overflow: hidden !important;
    }

    .slider-nav.catalog-card__slider-nav .slick-track {
        display: block !important;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small.slick-slide {
        width: 12.6rem !important;
        height: 13.175rem !important;
        margin: 0 0 1.6rem !important;
        box-sizing: border-box;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small img {
        width: 100%;
        height: 100%;
        padding: 1.2rem;
        object-fit: contain;
        box-sizing: border-box;
    }

    .slider-for.catalog-card__slider-main {
        margin-right: 15rem !important;
    }
}

/* Мобильная карточка: четыре миниатюры справа */
@media (max-width: 767px) {
    .catalog-card__slider-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .slider-for.catalog-card__slider-main {
        width: auto !important;
        margin: 0 7.5rem 0 0 !important;
    }

    .slider-nav.catalog-card__slider-nav {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;

        width: 6.3rem !important;
        height: 28.6rem !important;
        max-height: 28.6rem !important;

        display: block !important;
        overflow: hidden !important;
    }

    .slider-nav.catalog-card__slider-nav .slick-list {
        width: 6.3rem !important;
        height: 28.6rem !important;
        max-height: 28.6rem !important;
        overflow: hidden !important;
    }

    .slider-nav.catalog-card__slider-nav .slick-track {
        display: block !important;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small.slick-slide {
        width: 6.3rem !important;
        height: 6.475rem !important;
        margin: 0 0 0.9rem !important;
        box-sizing: border-box;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small img {
        width: 100% !important;
        height: 100% !important;
        padding: 0.6rem;
        object-fit: contain;
        box-sizing: border-box;
    }
}

/* Исправление галереи на экранах меньше 768px */
/* Галерея карточки товара на мобильных устройствах */
@media (max-width: 767px) {
    .catalog-card__slider {
        width: 100% !important;
        max-width: 100% !important;
    }

    /*
     * Основная фотография и миниатюры располагаются
     * в двух колонках.
     */
    .catalog-card__slider-wrapper {
        position: relative;

        width: 100% !important;
        max-width: 100% !important;
        height: 31.6rem !important;

        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 6.3rem;
        grid-template-rows: 28.6rem;
        column-gap: 1.2rem;
        align-items: start;

        overflow: hidden !important;
    }

    /* Основная фотография */
    .slider-for.catalog-card__slider-main {
        position: relative;

        grid-column: 1;
        grid-row: 1;

        min-width: 0;
        width: 100% !important;
        max-width: 100% !important;
        height: 28.6rem !important;

        margin: 0 !important;
    }

    .slider-for.catalog-card__slider-main .slick-list {
        width: 100% !important;
        height: 28.6rem !important;
        overflow: hidden;
    }

    /*
     * Не задаём width для slick-track:
     * эту ширину рассчитывает сам Slick.
     */
    .slider-for.catalog-card__slider-main .slick-track {
        height: 28.6rem !important;
    }

    .slider-for.catalog-card__slider-main
    .catalog-card__slider-item:not(
        .catalog-card__slider-item--small
    ) {
        height: 28.6rem !important;
    }

    .slider-for.catalog-card__slider-main
    .catalog-card__slider-item img {
        max-width: 90% !important;
        max-height: 90% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain;
    }

    /* Правая колонка миниатюр */
    /* Правая колонка миниатюр */
    .slider-nav.catalog-card__slider-nav {
        position: relative !important;

        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;

        grid-column: 2;
        grid-row: 1;

        width: 6.3rem !important;
        min-width: 6.3rem !important;
        height: 28.6rem !important;
        max-height: 28.6rem !important;

        margin: 0 !important;
        display: block !important;
        overflow: hidden !important;
    }

    .slider-nav.catalog-card__slider-nav .slick-list {
        width: 6.3rem !important;
        height: 28.6rem !important;
        max-height: 28.6rem !important;
        overflow: hidden !important;
    }

    .slider-nav.catalog-card__slider-nav .slick-track {
        display: block !important;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small.slick-slide {
        width: 6.3rem !important;
        height: 6.475rem !important;

        margin: 0 0 0.9rem !important;
        box-sizing: border-box;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small img {
        width: 100% !important;
        height: 100% !important;

        padding: 0.5rem;
        object-fit: contain;
        box-sizing: border-box;
    }
}

/* =========================================================
   Единая раскладка галереи карточки товара
   ========================================================= */

.catalog-card__slider {
    width: 68.2rem;
    max-width: 100%;
}

.catalog-card__slider-wrapper {
    position: relative;

    width: 100%;
    height: 63rem;

    display: grid;
    grid-template-columns: minmax(0, 56rem) 10.7rem;
    grid-template-rows: 60rem;
    column-gap: 1.5rem;
    align-items: start;

    overflow: hidden;
}

.slider-for.catalog-card__slider-main {
    position: relative;

    grid-column: 1;
    grid-row: 1;

    min-width: 0;
    width: 100% !important;
    height: 60rem;

    margin: 0 !important;
}

.slider-for.catalog-card__slider-main .slick-list {
    width: 100%;
    height: 60rem;
    overflow: hidden;
}

.slider-for.catalog-card__slider-main .slick-track {
    height: 60rem;
}

.slider-for.catalog-card__slider-main
.catalog-card__slider-item {
    width: 100% !important;
    height: 60rem !important;
}

.slider-for.catalog-card__slider-main
.catalog-card__slider-item img {
    width: auto !important;
    height: auto !important;
    max-width: 90% !important;
    max-height: 90% !important;
    object-fit: contain;
}

/* Четыре миниатюры справа */
.slider-nav.catalog-card__slider-nav {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    grid-column: 2;
    grid-row: 1;

    width: 10.7rem !important;
    min-width: 10.7rem;
    height: 60rem !important;
    max-height: 60rem !important;

    display: block;
    margin: 0 !important;
    overflow: hidden !important;
}

.slider-nav.catalog-card__slider-nav .slick-list {
    width: 10.7rem !important;
    height: 60rem !important;
    max-height: 60rem !important;

    overflow: hidden !important;
}

.slider-nav.catalog-card__slider-nav .slick-track {
    display: block !important;
}

.slider-nav.catalog-card__slider-nav
.catalog-card__slider-item--small.slick-slide {
    width: 10.7rem !important;
    height: 13.8rem !important;

    margin: 0 0 1.6rem !important;
    box-sizing: border-box;
}

.slider-nav.catalog-card__slider-nav
.catalog-card__slider-item--small img {
    width: 100% !important;
    height: 100% !important;

    padding: 1.2rem;
    object-fit: contain;
    box-sizing: border-box;
    border-radius: 1rem;
}

/* Одно изображение: миниатюры не выводятся */
.catalog-card__slider-wrapper.is-single-image {
    grid-template-columns: minmax(0, 1fr);
}

.catalog-card__slider-wrapper.is-single-image
.catalog-card__slider-nav {
    display: none !important;
}

.catalog-card__slider-wrapper.is-single-image
.catalog-card__slider-main {
    grid-column: 1;
    width: 100% !important;
}

/* Планшет */
@media (min-width: 768px) and (max-width: 991px) {
    .catalog-card__slider {
        width: 100%;
        max-width: 100%;
    }

    .catalog-card__slider-wrapper {
        height: 60.5rem;

        grid-template-columns: minmax(0, 1fr) 12.6rem;
        grid-template-rows: 57.5rem;
        column-gap: 1.6rem;
    }

    .slider-for.catalog-card__slider-main,
    .slider-for.catalog-card__slider-main .slick-list,
    .slider-for.catalog-card__slider-main .slick-track {
        height: 57.5rem !important;
    }

    .slider-for.catalog-card__slider-main
    .catalog-card__slider-item {
        width: 100% !important;
        height: 57.5rem !important;
    }

    .slider-nav.catalog-card__slider-nav {
        width: 12.6rem !important;
        min-width: 12.6rem;
        height: 57.5rem !important;
        max-height: 57.5rem !important;
    }

    .slider-nav.catalog-card__slider-nav .slick-list {
        width: 12.6rem !important;
        height: 57.5rem !important;
        max-height: 57.5rem !important;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small.slick-slide {
        width: 12.6rem !important;
        height: 13.175rem !important;

        margin-bottom: 1.6rem !important;
    }
}

/* Мобильные устройства, включая iPhone */
@media (max-width: 767px) {
    .catalog-card__slider {
        width: 100% !important;
        max-width: 100% !important;
    }

    .catalog-card__slider-wrapper {
        width: 100%;
        max-width: 100%;
        height: 31.6rem;

        grid-template-columns: minmax(0, 1fr) 6.3rem;
        grid-template-rows: 28.6rem;
        column-gap: 1.2rem;

        overflow: hidden;
    }

    .slider-for.catalog-card__slider-main {
        width: 100% !important;
        max-width: 100% !important;
        height: 28.6rem !important;

        margin: 0 !important;
    }

    .slider-for.catalog-card__slider-main .slick-list,
    .slider-for.catalog-card__slider-main .slick-track {
        height: 28.6rem !important;
    }

    /*
     * Ширину slick-track не задаём.
     * Её должен рассчитывать Slick.
     */
    .slider-for.catalog-card__slider-main
    .catalog-card__slider-item {
        width: 100% !important;
        height: 28.6rem !important;
    }

    .slider-for.catalog-card__slider-main
    .catalog-card__slider-item img {
        width: auto !important;
        height: auto !important;
        max-width: 90% !important;
        max-height: 90% !important;
    }

    .slider-nav.catalog-card__slider-nav {
        width: 6.3rem !important;
        min-width: 6.3rem;
        height: 28.6rem !important;
        max-height: 28.6rem !important;
    }

    .slider-nav.catalog-card__slider-nav .slick-list {
        width: 6.3rem !important;
        height: 28.6rem !important;
        max-height: 28.6rem !important;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small.slick-slide {
        width: 6.3rem !important;
        height: 6.475rem !important;

        margin: 0 0 0.9rem !important;
    }

    .slider-nav.catalog-card__slider-nav
    .catalog-card__slider-item--small img {
        width: 100% !important;
        height: 100% !important;

        padding: 0.5rem;
        object-fit: contain;
        box-sizing: border-box;
    }

    /* При одном фото основное изображение занимает всю ширину */
    .catalog-card__slider-wrapper.is-single-image {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================================
   Защита от горизонтального scrollWidth в iOS Safari
   ========================================================= */

@media (max-width: 767px) {
    /*
     * Не даём внутренним track Slick увеличивать
     * горизонтальный размер страницы.
     */
    .catalog-card__slider-wrapper {
        contain: layout paint;
        overscroll-behavior-x: none;
    }

    .slider-for.catalog-card__slider-main,
    .slider-nav.catalog-card__slider-nav {
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .slider-for.catalog-card__slider-main .slick-list,
    .slider-nav.catalog-card__slider-nav .slick-list {
        position: relative;
        contain: layout paint;
        overflow: hidden !important;
    }

    /*
     * Safari не должен воспринимать горизонтальный жест
     * по фотографии как прокрутку всей страницы.
     */
    .catalog-card__slider-wrapper,
    .catalog-card__slider-wrapper .slick-list {
        touch-action: pan-y;
    }
}

/* =========================================================
   Статичное отображение единственного изображения
   ========================================================= */

.catalog-card__slider-wrapper.is-single-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.catalog-card__slider-wrapper.is-single-image
.catalog-card__slider-nav {
    display: none !important;
}

.catalog-card__slider-wrapper.is-single-image
.catalog-card__slider-main {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 60rem;

    margin: 0 !important;
    overflow: hidden;
}

.catalog-card__slider-wrapper.is-single-image
.catalog-card__slider-main > div {
    display: block !important;

    width: 100% !important;
    height: 60rem !important;

    margin: 0 !important;
}

.catalog-card__slider-wrapper.is-single-image
.catalog-card__slider-item {
    width: 100% !important;
    height: 60rem !important;

    margin: 0 !important;
}

.catalog-card__slider-wrapper.is-single-image
.catalog-card__slider-item img {
    display: block;

    width: auto !important;
    height: auto !important;
    max-width: 90% !important;
    max-height: 90% !important;

    margin: auto;
    object-fit: contain;
}

/* Планшет с одним изображением */
@media (min-width: 768px) and (max-width: 991px) {
    .catalog-card__slider-wrapper.is-single-image {
        height: 60.5rem;
    }

    .catalog-card__slider-wrapper.is-single-image
    .catalog-card__slider-main,
    .catalog-card__slider-wrapper.is-single-image
    .catalog-card__slider-main > div,
    .catalog-card__slider-wrapper.is-single-image
    .catalog-card__slider-item {
        height: 57.5rem !important;
    }
}

/* Мобильный и iPhone с одним изображением */
@media (max-width: 767px) {
    .catalog-card__slider-wrapper.is-single-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 31.6rem !important;

        overflow: hidden !important;
    }

    .catalog-card__slider-wrapper.is-single-image
    .catalog-card__slider-main,
    .catalog-card__slider-wrapper.is-single-image
    .catalog-card__slider-main > div,
    .catalog-card__slider-wrapper.is-single-image
    .catalog-card__slider-item {
        width: 100% !important;
        max-width: 100% !important;
        height: 28.6rem !important;

        margin: 0 !important;
    }

    .catalog-card__slider-wrapper.is-single-image
    .catalog-card__slider-item img {
        width: auto !important;
        height: auto !important;
        max-width: 90% !important;
        max-height: 90% !important;

        margin: auto;
    }
}

/* Только десктоп */
@media (min-width: 992px) {
    .catalog-card__slider-wrapper {
        display: grid !important;
        grid-template-columns: 45rem 10.7rem;
        column-gap: 2rem;
        width: 57.7rem !important;
        min-width: 57.7rem;
        max-width: 57.7rem;
        align-items: start;
    }

    .catalog-card__slider-main {
        display: block;
        width: 45rem !important;
        min-width: 45rem !important;
        max-width: 45rem !important;
        overflow: hidden;
    }

    .catalog-card__slider-main .slick-list {
        width: 45rem !important;
        min-width: 45rem;
        max-width: 45rem;
    }

    .catalog-card__slider-main .catalog-card__slider-item {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 45rem;
        height: 45rem;
        overflow: hidden;
    }

    .catalog-card__slider-main .catalog-card__slider-item > img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100% !important;
        object-fit: contain;
        object-position: center;
    }

    .catalog-card__slider-nav {
        width: 10.7rem !important;
        min-width: 10.7rem;
        max-width: 10.7rem;
    }
}

@media (max-width: 575px) {
    .characteristic-item__text.characteristic-item--catalog-card-text-w {
        max-width: 100%;
    }
}