/* Общие компоненты */
.catalog-ui-button,
.ocf-btn-link,
.ocf-search-btn-static {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  outline: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.catalog-ui-button:hover,
.catalog-ui-button:focus,
.ocf-btn-link:hover,
.ocf-btn-link:focus,
.ocf-search-btn-static:hover,
.ocf-search-btn-static:focus {
  text-decoration: none;
}

.catalog-ui-button--soft,
.ocf-btn-link {
  background-color: #f3f5f7;
  color: #22313c;
}

.catalog-ui-button--soft:hover,
.catalog-ui-button--soft:focus,
.ocf-btn-link:hover,
.ocf-btn-link:focus {
  background-color: #eff3f7;
  color: #22313c;
}

.catalog-ui-button--dark {
  background-color: #1f222d;
  color: #ffffff;
}

.catalog-ui-button--dark:hover,
.catalog-ui-button--dark:focus {
  background-color: #22313c;
  color: #ffffff;
}

.catalog-ui-button--danger,
.ocf-search-btn-static {
  background-color: #f24d68;
  color: #ffffff;
}

.catalog-ui-button--danger:hover,
.catalog-ui-button--danger:focus,
.ocf-search-btn-static:hover,
.ocf-search-btn-static:focus {
  background-color: #db3953;
  color: #ffffff;
}

.catalog-ui-button--icon {
  width: 52px;
  height: 52px;
}

.catalog-ui-button--pill {
  border-radius: 24px;
}

.catalog-ui-button--block {
  width: 100%;
}

.catalog-ui-button:disabled,
.catalog-ui-button.catalog-ui-button--disabled,
.ocf-btn-link:disabled,
.ocf-btn-link.ocf-disabled,
.ocf-search-btn-static:disabled,
.ocf-search-btn-static.ocf-disabled {
  background-color: #f3f5f7;
  color: #5a688e;
  cursor: default;
}

.catalog-text,
.catalog-new_premium-tooltip-title,
.catalog-new_premium-tooltip-text,
.catalog-new_premium-text,
.catalog-new_group-description,
.catalog-new-banner_description,
.categorizer-top-description,
.categorizer-top-category-name,
.categorizer-top-category-description,
.custom-product-name,
.catalog-new_category-mini-name {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .catalog-text,
  .catalog-new_premium-tooltip-title,
  .catalog-new_premium-tooltip-text,
  .catalog-new_premium-text,
  .catalog-new_group-description,
  .catalog-new-banner_description,
  .categorizer-top-description,
  .categorizer-top-category-name,
  .categorizer-top-category-description,
  .catalog-new_category-mini-name {
    font-size: 14px;
  }
}
.catalog-title,
.catalog-new_group-title,
.categorizer-top-title,
.catalog-new_services-title {
  color: #22313c;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  padding: 0;
    font-family: GTEestiPro, sans-serif;

}

@media screen and (max-width: 767px) {
  .catalog-title,
  .catalog-new_group-title,
  .categorizer-top-title,
  .catalog-new_services-title {
    font-size: 20px;
  }
}
/* Верхние категории */
.catalog-new_top-categories-wrapper {
  padding-top: 32px;
}

.catalog-new_top-categories.swiper {
  margin-left: 0;
  margin-right: 0;
}

.catalog-new_top-categories--static {
  --catalog-top-category-slide-width: calc(21.2766% - 19.4043px);
  --catalog-top-category-slide-gap: 16px;
  --catalog-top-category-slide-offset: 16px;
}

.catalog-new_top-categories--static:not(.swiper-initialized) > .swiper-wrapper {
  display: flex;
  flex-direction: row;
  gap: var(--catalog-top-category-slide-gap);
  box-sizing: border-box;
  width: 100%;
  padding-left: var(--catalog-top-category-slide-offset);
  padding-right: var(--catalog-top-category-slide-offset);
}

.catalog-new_top-categories--static:not(.swiper-initialized)
  > .swiper-wrapper
  > .catalog-new_category-mini {
  flex: 0 0 var(--catalog-top-category-slide-width);
  width: var(--catalog-top-category-slide-width);
  max-width: var(--catalog-top-category-slide-width);
}

@media screen and (min-width: 768px) {
  .catalog-new_top-categories--static {
    --catalog-top-category-slide-width: calc(12.8205% - 13.9487px);
    --catalog-top-category-slide-offset: 0px;
  }
}

@media screen and (min-width: 1024px) {
  .catalog-new_top-categories--static {
    --catalog-top-category-slide-width: calc(12.5% - 14px);
  }
}

@media screen and (min-width: 1300px) {
  .catalog-new_top-categories--static {
    --catalog-top-category-slide-width: calc(11.1111% - 14.2222px);
  }
}

.catalog-new_top-categories.is-bouncing .swiper-wrapper,
.catalog-new_product-group.is-bouncing > .swiper-wrapper {
  animation: catalogTopCategoriesBounce 620ms ease-out both;
}

@keyframes catalogTopCategoriesBounce {
  0% {
    opacity: 1;
    transform: translate3d(var(--catalog-top-categories-translate, 0px), 0, 0);
  }
  45% {
    opacity: 1;
    transform: translate3d(calc(var(--catalog-top-categories-translate, 0px) - 28px), 0, 0);
  }
  72% {
    opacity: 1;
    transform: translate3d(calc(var(--catalog-top-categories-translate, 0px) - 16px), 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(var(--catalog-top-categories-translate, 0px), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-new_top-categories.is-bouncing .swiper-wrapper,
  .catalog-new_product-group.is-bouncing > .swiper-wrapper {
    animation: none;
  }

  .catalog-new_lazy-loader-spinner {
    animation: none;
  }
}

.catalog-new-header-fixed {
  background-color: #ffffff;
  position: fixed;
  top: 93px;
  left: 0;
  width: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.catalog-new-header-fixed.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes catalogNewHeaderFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.catalog-new-header-fixed .catalog-new_top-categories-wrapper {
  padding: 0;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.catalog-new-header-fixed .catalog-new_top-categories-wrapper::after,
.catalog-new-header-fixed .catalog-new_top-categories-wrapper::before {
  display: none;
}
@media screen and (max-width: 992px) {
  .catalog-new-header-fixed {
           top: 48px;
  }
}
@media screen and (max-width: 767px) {
  .catalog-new-header-fixed {
    top: 70px;
  }
}

.catalog-new_category-mini {
  padding-bottom: 32px;
}
@media screen and (max-width: 767px) {
  .catalog-new_category-mini {
    padding-bottom: 16px;
  }
}
.catalog-new_category-mini-img {
  aspect-ratio: 1/1;
  border-radius: 24px;
  margin-bottom: 12px;
  overflow: hidden;
  background-color: #fff;
}
.catalog-new_category-mini-img > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}
.catalog-new_category-mini:hover .catalog-new_category-mini-img > img {
  transform: scale(1.05) rotate(6.78deg);
}
.catalog-new-header-fixed .catalog-new_category-mini-img {
  display: none;
}
.catalog-new_category-mini-name {
  color: #666e84;
  text-align: center;
  width: 100%;
  display: block;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.catalog-new_category-mini:hover .catalog-new_category-mini-name {
  color: #22313c;
}
.catalog-new_category-mini.active {
  background-color: #fff;
  border-radius: 24px 24px 0 0;
  position: relative;
}
.catalog-new-header:not(.fixed) .catalog-new_category-mini.active::before,
.catalog-new-header:not(.fixed) .catalog-new_category-mini.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 24px;
  height: 24px;
  display: block;
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .catalog-new-header:not(.fixed) .catalog-new_category-mini.active::before,
  .catalog-new-header:not(.fixed) .catalog-new_category-mini.active::after {
    height: 16px;
  }
}
.catalog-new-header:not(.fixed) .catalog-new_category-mini.active::before {
  left: -24px;
  border-bottom-right-radius: 24px;
  box-shadow: 8px 8px 0 8px #ffffff;
}
.catalog-new-header:not(.fixed) .catalog-new_category-mini.active::after {
  right: -24px;
  border-bottom-left-radius: 24px;
  box-shadow: -8px 8px 0 8px #ffffff;
}
.catalog-new_category-mini.active .catalog-new_category-mini-img {
  border: 2px solid #e8ebf0;
}
.catalog-new_category-mini.active .catalog-new_category-mini-name {
  color: #22313c;
}
.catalog-new-header-fixed .catalog-new_category-mini {
  border-bottom: 1px solid #e8ebf0;
  padding: 18px 16px;
  margin-right: 0 !important;
  width: auto;
}
.catalog-new-header-fixed .catalog-new_category-mini.active {
  border-bottom: 1px solid #22313c;
}

/* Категории категоризатора */
.categorizer-top-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 32px;
}
@media screen and (max-width: 767px) {
  .categorizer-top-header {
    padding-bottom: 20px;
  }
}
.categorizer-top-title {
  text-align: left;
  font-family: GTEestiPro, sans-serif;
}

.categorizer-top-description {
  color: #5a688e;
  padding: 0;
}

.categorizer-top-categories {
  padding: 40px 0;
  background-color: #ffffff;
      border-radius: 0 0 24px 24px;
    margin-bottom: 12px;
}


.categorizer-top-categories-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 24px;
}

.categorizer-top-category {
  background-color: #f3f5f8;
  border: 1px solid transparent;
  border-radius: 24px;
  color: #22313c;
  display: flex;
  text-decoration: none;
  overflow: hidden;
  outline: none;
}
.categorizer-top-category:focus {
  outline: none;

}
.categorizer-top-category:hover,
.categorizer-top-category:focus {
  color: #22313c;
  text-decoration: none;
}

.categorizer-top-category-large {
  grid-column: span 5;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 592/180;
}

.categorizer-top-category-large .categorizer-top-category-content {
  position: relative;
  z-index: 1;
  padding: 24px;
  align-self: flex-end;
}

.categorizer-top-category-large .categorizer-top-category-image {
  align-self: stretch;
  flex: 1 1 auto;
  order: 2;
}

.categorizer-top-category-large .categorizer-top-category-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.categorizer-top-category-small {
  flex-direction: column;
  gap: 14px;
  background-color: transparent;
  border-radius: 0;
  grid-column: span 2;
}
@media screen and (max-width: 767px) {
  .categorizer-top-category-small {
    grid-column: span 1;
    gap: 12px;
  }
}

.categorizer-top-category-image {
  aspect-ratio: 1/1;
  border-radius: 24px;
  background-color: #f3f5f8;
  display: block;
  overflow: hidden;
}

.categorizer-top-category-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 0.3s ease;
}

.categorizer-top-category-small:hover .categorizer-top-category-image > img,
.categorizer-top-category-large:hover .categorizer-top-category-image > img {
  transform: scale(1.05) rotate(6.78deg);
}

.categorizer-top-category-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.categorizer-top-category-description {
  color: #9aa4c0;
}

.categorizer-top-category.active .categorizer-top-category-name {
  color: #000000;
}

.categorizer-top-category.active {
  border-color: #22313c;
}

.categorizer-top-category-small.active {
  border-color: transparent;
}

.categorizer-top-category-small.active .categorizer-top-category-image {
  border: 1px solid #22313c;
}

.categorizer-top-category.active .categorizer-top-category-description {
  color: #22313c;
}

@media screen and (max-width: 767px) {
  .categorizer-top-categories {
    padding: 24px 16px;
  }
  .categorizer-top-categories-grid {
    column-gap: 8px;
    row-gap: 20px;
  }
  .categorizer-top-category-large {
    grid-column: span 3;
    aspect-ratio: 361/120;
  }
  .categorizer-top-category-name {
    font-size: 16px;
  }
  .categorizer-top-category-description {
    font-size: 14px;
  }
  .catalog-new_category-mini-img {
    margin-bottom: 8px;
  }
  .catalog-new_category-mini-name {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
  }
  .categorizer-top-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .categorizer-top-category-large .categorizer-top-category-content {
    padding: 24px 16px;
  }
}

.catalog-new_wrapper {
  padding: 40px 0 0;
  background-color: #ffffff;
  border-radius: 40px;
  overflow: visible;
}


.catalog-new_wrapper > .container {
  overflow: visible;
}

/* Заголовки товарных групп */
.catalog-new_group-header-content-title {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-new_premium-badge-wrapper {
  position: relative;
  display: inline-flex;
}

/* Премиум-бейдж и премиум-модалка */
.catalog-new_premium-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  background-color: #f3f5f7;
  color: #2859c5;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  border: none;
}
.catalog-new_premium-badge > img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .catalog-new_premium-badge > img {
    width: 16px;
    height: 16px;
  }
}

.catalog-new_premium-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  width: 300px;
  min-height: 300px;
  padding: 16px;
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 16px 40px rgba(31, 34, 45, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s linear, transform 0.2s linear;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-size: cover;
  background-position: center;
}

.catalog-new_premium-tooltip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 10px;
}

.catalog-new_premium-badge-wrapper:hover .catalog-new_premium-tooltip,
.catalog-new_premium-badge-wrapper:focus-within .catalog-new_premium-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.catalog-new_premium-tooltip-title {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-weight: 500;
  text-align: center;
}

.catalog-new_premium-tooltip-text {
  color: #ffffff;
  text-align: center;
}
.catalog-new_premium-title {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}
.catalog-new_premium-text {
  color: #ffffff;
  line-height: 1;
}

.catalog-new_premium-mobal {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.catalog-new_premium-mobal-content {
  flex-grow: 1;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.catalog-premium-modal-close {
  margin-top: 28px;
  height: 52px;
}

@media screen and (max-width: 767px) {
  .catalog-new_wrapper {
    padding: 24px 0;
    border-radius: 0 0 24px 24px;
    margin-bottom: 12px;
  }
}

@media screen and (max-width: 600px) {
  .catalog-new_premium-tooltip {
    display: none;
  }
}

.catalog-new_group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 32px;
  align-items: flex-end;
}

.catalog-new_group-header-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-new_group-header-button {
  height: 52px;
  padding-inline: 24px;
  margin-left: auto;
}
.catalog-new_group-header-button-mobile {
  display: none;
}

.catalog-new_slider-button {
  border-radius: 999px;
}

.catalog-new_slider-button.swiper-button-disabled {
  transition: none;
  opacity: 0;
  pointer-events: none;
}

/* Модальные окна */
#catalog-size-modal,
#catalog-premium-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(31, 34, 45, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s linear;
}

#catalog-size-modal.active,
#catalog-premium-modal.active {
  opacity: 1;
  pointer-events: all;
}

#catalog-size-modal .rd-modal,
#catalog-premium-modal .rd-modal {
  position: relative;
  width: min(500px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.3s linear;
  background-size: cover;
    background-position: center;
}

/* Модалка выбора размера */
.catalog-size-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background-color: #f3f5f7;
  color: #22313c;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.rd-form-container.catalog-size-modal-content {
  padding: 32px;
  display: block;
}

.catalog-size-modal-product {
  margin: 8px 0 0;
}

.catalog-size-modal-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-size-modal-option {
  padding: 2px 10px;
  border-radius: 16px;
  line-height: 1;
  height: 56px;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 0;
  font-size: 16px;
  background-color: #f3f5f7;
  color: #22313c;
  cursor: pointer;
  transition: all 0.3s ease;
}

.catalog-size-modal-option:hover,
.catalog-size-modal-option:focus {
  background-color: #eff3f7;
  outline: none;
}

.catalog-size-modal-option small {
  color: #7b87a6;
  font-size: 14px;
  margin-top: 4px;
  display: block;
}

.catalog-size-modal-empty {
  display: none;
  margin: 24px 0 0;
  color: #83899c;
  font-size: 16px;
  line-height: 1.3;
}

#catalog-size-modal .rd-form-header,
#catalog-premium-modal .rd-form-header {
  padding: 0;
}

@media screen and (max-width: 600px) {
  #catalog-size-modal,
  #catalog-premium-modal {
    align-items: flex-end;
    padding: 0;
  }

  .catalog-size-modal-close {
    display: none;
  }

  #catalog-size-modal .drug-btn,
  #catalog-premium-modal .drug-btn {
    display: block;
    height: 28px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    touch-action: none;
  }

  #catalog-size-modal .drug-btn-line,
  #catalog-premium-modal .drug-btn-line {
    height: 4px;
    width: 45px;
    border-radius: 20px;
    margin-inline: auto;
    margin-top: 16px;
    display: block;
    background-color: #cdd6e1;
  }

  #catalog-size-modal .rd-modal,
  #catalog-premium-modal .rd-modal {
    width: 100%;
    max-height: calc(100vh - 40px);
    border-radius: 24px 24px 0 0;
    min-width: 100%;
    padding: 28px 24px;
    transform: translateY(100%);
  }

  #catalog-size-modal.active .rd-modal,
  #catalog-premium-modal.active .rd-modal {
    transform: translateY(0);
  }

  #catalog-size-modal.active .rd-modal.is-drag-collapsed,
  #catalog-premium-modal.active .rd-modal.is-drag-collapsed {
    max-height: calc(100dvh - 300px);
    overflow: hidden;
  }

  #catalog-size-modal.active .rd-modal.is-drag-expanded,
  #catalog-premium-modal.active .rd-modal.is-drag-expanded {
    max-height: calc(100dvh - 35px);
    overflow: hidden;
  }

  .catalog-size-modal-content {
    padding: 24px 16px 20px;
  }
}

.catalog-new_slider-button:disabled svg path {
  stroke: #9aa4c0;
}

.catalog-new_group-header-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.catalog-new_group-description {
  color: #666e84;
}

/* Карточка товара */

.catalog-new_lazy-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  margin: 12px 0 4px;
  color: #22313c;
  font-size: 14px;
  line-height: 1.35;
}

.catalog-new_lazy-loader[hidden] {
  display: none;
}

.catalog-new_lazy-loader-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid #d9e0ea;
  border-top-color: #22313c;
  border-radius: 50%;
  animation: catalogLazyLoaderSpin 0.8s linear infinite;
}

@keyframes catalogLazyLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.catalog-new_lazy-sentinel {
  height: 1px;
}

.catalog-new_product-group.swiper,
.catalog-new_product-group.swiper-container {
  --catalog-product-slide-width: calc(71.4286% - 11.4286px);
  --catalog-product-slide-gap: 16px;
  overflow: visible !important;
  clip-path: inset(-220px -20px -220px -20px);
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(var(--catalog-product-slide-width) + 160px);
}

.catalog-new_product-group:has(.custom-product-thumb:hover),
.catalog-new_product-group.is-hovered-product-group {
  z-index: 100;
}

.catalog-new_product-group:not(.swiper-initialized) > .swiper-wrapper {
  display: flex;
  flex-direction: row;
  gap: var(--catalog-product-slide-gap);
  width: 100%;
}

.catalog-new_product-group > .swiper-wrapper {
  align-items: stretch;
  overflow: visible !important;
}

.catalog-new_product-group:not(.swiper-initialized)
  > .swiper-wrapper
  > .swiper-slide {
  flex: 0 0 var(--catalog-product-slide-width);
  width: var(--catalog-product-slide-width);
}

.catalog-new_product-group > .swiper-wrapper > .swiper-slide {
  display: flex;
  height: auto;
  overflow: visible !important;
  position: relative;
  min-width: 0;
  z-index: 1;
}

.catalog-new_product-group
  > .swiper-wrapper
  > .swiper-slide:not(.swiper-slide-visible) {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s linear;
}

.catalog-new_product-group
  > .swiper-wrapper
  > .swiper-slide.swiper-slide-visible:has(.custom-product-thumb:hover),
.catalog-new_product-group
  > .swiper-wrapper
  > .swiper-slide.swiper-slide-visible.is-hovered-slide {
  z-index: 200;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s linear;
}

.catalog-new_product-group-pagination {
      display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.catalog-new_product-group-pagination .swiper-pagination-bullet {
      background-color: #f3f5f7;
      opacity: 1;
}
 .catalog-new_product-group-pagination .swiper-pagination-bullet-active {
      background-color: #f24d68;
      opacity: 1;

}

@media screen and (min-width: 480px) {
  .catalog-new_product-group.swiper,
  .catalog-new_product-group.swiper-container {
    --catalog-product-slide-width: calc(50% - 7px);
    --catalog-product-slide-gap: 14px;
  }
}

@media screen and (min-width: 768px) {
  .catalog-new_product-group-pagination {
    display: none;
  }
  .catalog-new_product-group.swiper,
  .catalog-new_product-group.swiper-container {
    --catalog-product-slide-width: calc(33.3333% - 10.6667px);
    --catalog-product-slide-gap: 16px;
  }
}

@media screen and (min-width: 1024px) {
  .catalog-new_product-group.swiper,
  .catalog-new_product-group.swiper-container {
    --catalog-product-slide-width: calc(22.2222% - 17.7778px);
    --catalog-product-slide-gap: 20px;
  }
}

.catalog-new_product-group
  > .swiper-wrapper
  > .swiper-slide:not(.swiper-slide-visible) {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  cursor:default;
}
.catalog-new_product-group > .swiper-wrapper > .swiper-slide:not(.swiper-slide-visible) a {
  pointer-events: none;
  cursor:default;
}

.custom-product-thumb {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  transition: box-shadow 0.3s ease;
  position: relative;
  min-width: 0;
  z-index: 1;
}
.custom-product-thumb:hover,
.custom-product-thumb.is-hovered-product {
  box-shadow: 0 100px 20px 0px rgba(0, 0, 0, 0.036);
  z-index: 30;
}
@media screen and (max-width: 767px) {
  .catalog-new_product-group:not(:last-child) {
  margin-bottom: 48px;
}
  .catalog-new_product-group > .swiper-wrapper {
    overflow: visible !important;
  }

  .custom-product-thumb:hover,
  .custom-product-thumb.is-hovered-product {
    box-shadow: none;
  }

  .catalog-new_product-group.catalog-new_product-group-bestseller {
    margin-bottom: 20px;
  }
  .custom-product-thumb {
    height: 100%;
  }
}
.custom-product-top-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  min-width: 0;
}

.custom-product-top-wrapper > .image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.custom-product-top-wrapper > .image,
.custom-product-top-wrapper > .image > a {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
}

@supports not (aspect-ratio: 1 / 1) {
  .custom-product-top-wrapper {
    aspect-ratio: auto;
  }

  .custom-product-top-wrapper::before {
    content: "";
    display: block;
    padding-top: 100%;
  }

  .custom-product-top-wrapper > .image {
    position: absolute;
    inset: 0;
  }
}

.custom-product-add-cart {
  position: absolute;
  bottom: -8px;
  right: 24px;
  z-index: 1;
  border-radius: 16px;
  border: 2px solid #ffffff;
}

@media screen and (max-width: 767px) {
  .custom-product-add-cart {
    right: 12px;
    width: 44px;
    height: 44px;
  }
}

.custom-product-name {
  color: #22313c;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-product-tag {
  color: #83899c;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 0;
}

.custom-product-price {
  color: #22313c;
  font-weight: 400;
  line-height: 1;
  font-size: 24px;
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .custom-product-price {
    margin-top: auto;
    font-size: 20px;
  }
}

.custom-priduct-quick_order {
  height: 52px;
}

@media screen and (max-width: 767px) {
  .custom-priduct-quick_order {
    height: 44px;
  }
}

.custom-product-caption {
  padding: 16px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  min-height: 160px;

}

.custom-product-caption-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-product-bottom {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  position: absolute;
  z-index: 31;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translate(0, 100%);
  background-color: #fff;
  border-radius: 0 0 32px 32px;
}
.custom-product-bottom-wrapper {
  padding: 0 12px 12px 12px;
}
@media screen and (max-width: 767px) {
  .custom-product-caption-info {
    gap: 4px;
  }
  .custom-product-caption {
    flex: 1 1 auto;
    padding: 16px 0 12px 0;
    gap: 8px;
    min-height: 0;
  }
  .custom-product-bottom {
    max-height: none;
    position: static;
    transform: translate(0, 0);
    border-radius: 32px;
  }
  .custom-product-bottom-wrapper {
    padding: 0px;
  }
}
.custom-product-thumb:hover .custom-product-bottom,
.custom-product-thumb.is-hovered-product .custom-product-bottom {
  max-height: 100px;
}

.custom-product-thumb:hover .custom-product-name{
    white-space: normal;
}

@media screen and (max-width: 767px) {
  .custom-product-name{
    min-height: 0;
    max-height: none;
    white-space: normal;
}
  .catalog-new_top-categories-wrapper {
    padding-top: 16px;
  }
  .catalog-new_group-header-buttons {
    display: none;
  }
  .catalog-new_group-header-button {
    display: none;
  }
  .catalog-new_group-header-button-mobile {
    display: flex;
    height: 52px;
    margin-inline: 16px;
  }
  .catalog-new_group-header {
    padding-inline: 16px;
    margin-bottom: 20px;
  }
}

.catalog-new_bottom-wrapper {
  background-color: #ffffff;
}
.catalog-new_bottom-wrapper.round-top {
  border-radius: 40px 40px 0 0;
  padding-top: 40px;
}
.catalog-new_bottom-wrapper.round-bottom {
  border-radius: 0 0 40px 40px;
  padding-bottom: 40px;
  padding-top: 48px;
  margin-bottom: 100px;
}

@media screen and (max-width: 767px) {
  .catalog-new_info-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .catalog-new_bottom-wrapper.round-bottom {
    border-radius: 24px;
    padding: 24px 16px;
    margin-bottom: 12px;
  }
  .catalog-new_bottom-wrapper.round-top {
    order: -1;
    padding: 0;
    border-radius: 24px;
  }
}
/* Баннер */
.catalog-new-banner {
  background-color: #ffffff;
  border: 1px solid #f2f6f9;
  margin: 64px 0;
  border-radius: 40px;
  display: flex;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .catalog-new-banner {
    margin: 0;
    flex-direction: column;
  }
  .catalog-new-banner-container {
    display: none;
  }
}
.catalog-new-banner-img {
  max-width: 100%;
  padding-top: 36px;
  align-self: flex-end;
}
.catalog-new-banner-img img {
  height: auto;
}
.catalog-new-banner_content {
  width: 440px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media screen and (max-width: 991px) {
  .catalog-new-banner_content {
    padding: 24px 24px 32px 24px;
    width: 100%;
  }
}
.catalog-new-banner_text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.catalog-new-banner_title {
  font-size: 48px;
  line-height: 1;
  color: #22313c;
  font-weight: 400;
  margin: 0;
  padding: 0;
  font-family: GTEestiPro, sans-serif;
}
@media screen and (max-width: 767px) {
  .catalog-new-banner_title {
    font-size: 28px;
  }
}
.catalog-new-banner_title > span {
  color: #9aa4c0;
}
.catalog-new-banner_description {
  color: #5a688e;
}
.catalog-new-banner_button {
  gap: 10px;
  padding: 16px 24px;
  align-self: flex-start;
}
@media screen and (max-width: 767px) {
  .catalog-new-banner_button {
    align-self: stretch;
  }
}
.catalog-new-banner_button > img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
/* Нижние блоки и услуги */
.catalog-new_wrapper .rd-form-container,
.catalog-new_bottom-wrapper .rd-form-container {
  margin: 0;
}

.catalog-new_services-main-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.catalog-new_services-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.catalog-new_services {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.catalog-new_services-link {
  border-radius: 12px;
  padding: 8px 16px;
  line-height: 1.3;
}
.catalog-new_services-link.red {
  background-color: #f24d68;
  color: #ffffff;
}
.catalog-new_services-link.red:hover {
  background-color: #db3953;
  color: #ffffff;
}
@media screen and (max-width: 767px) {
  .catalog-new_services-link {
    font-size: 14px;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .catalog-new-filter-bar.mobile {
    position: fixed;
    bottom: 32px;
    right: 20px;
    padding-right: 0;
    display: block;
    z-index: 800;
  }
  .catalog-new-filter-bar:not(.mobile) {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .catalog-new-filter-bar {
    display: none;
  }
  .catalog-new-header-fixed .catalog-new-filter-bar:not(.mobile) {
    display: flex;
    align-items: center;
    padding-right: 8px;
  }
}

.catalog-new_filter-button {
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 12px;
  line-height: 1.3;
}

.catalog-new_filter-button:after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.0007 10.5007L13.2507 7.25065C13.4034 7.09787 13.5979 7.02149 13.834 7.02149C14.0701 7.02149 14.2645 7.09787 14.4173 7.25065C14.5701 7.40343 14.6465 7.59787 14.6465 7.83398C14.6465 8.0701 14.5701 8.26454 14.4173 8.41732L10.584 12.2507C10.5007 12.334 10.4104 12.3932 10.3132 12.4282C10.2159 12.4632 10.1118 12.4804 10.0007 12.4798C9.88954 12.4793 9.78537 12.462 9.68815 12.4282C9.59093 12.3943 9.50065 12.3351 9.41732 12.2507L5.58399 8.41732C5.43121 8.26454 5.35482 8.0701 5.35482 7.83398C5.35482 7.59787 5.43121 7.40343 5.58399 7.25065C5.73676 7.09787 5.93121 7.02148 6.16732 7.02148C6.40343 7.02148 6.59787 7.09787 6.75065 7.25065L10.0007 10.5007Z' fill='%2383899C'/%3E%3C/svg%3E%0A");
}

@media screen and (max-width: 767px) {
  .catalog-new_filter-button:after {
    display: none;
  }
  .catalog-new_filter-button {
    flex-direction: row-reverse;
    padding: 12px 24px;
    gap: 10px;
    box-shadow: 0 4px 20px 0 #00000012;
    border: 1px solid #d2d2d2;
  }
}

.catalog-new_filter-modal.rd-modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: block;
  width: 100vw;
  height: 100vh;
  padding: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.catalog-new_filter-modal.rd-modal-wrapper.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.catalog-new_filter-backdrop {
  display: none;
  position: absolute;
  inset: 0;
  background: transparent;
}

.rd-modal-wrapper.drug-n-drop-modal .catalog-new_filter-panel.rd-modal {
  position: fixed;
  top: 140px;
  left: max(16px, calc((100vw - 1170px) / 2));
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 316px;
  height: auto;
  max-height: calc(100vh - 316px);
  padding: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(34, 49, 60, 0.18);
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform 0.2s ease;
}

@media screen and (max-width: 767px) {
  .rd-modal-wrapper.drug-n-drop-modal .catalog-new_filter-panel.rd-modal {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
  }
}

.catalog-new_filter-modal.active .catalog-new_filter-panel.rd-modal {
  transform: translateY(0);
}

.catalog-new_filter-panel .drug-btn {
  display: none;
}

.catalog-new_filter-panel-title {
  color: #22313c;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
}

.catalog-new_filter-close {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f5f7;
  cursor: pointer;
}

.catalog-new_filter-close::before,
.catalog-new_filter-close::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 10px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #22313c;
}

.catalog-new_filter-close::before {
  transform: rotate(45deg);
}

.catalog-new_filter-close::after {
  transform: rotate(-45deg);
}

.catalog-new_filter-panel-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 16px;
}
@media screen and (max-width: 767px) {
  .catalog-new_filter-panel-body {
   padding: 28px 16px 26px;
  }
}

.catalog-new_filter-panel .ocf-container {
  width: 100%;
}

.catalog-new_filter-panel .ocf-btn-mobile-fixed {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .catalog-new_filter-modal.rd-modal-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100dvh;
    width: 100dvw;
    background-color: rgba(34, 49, 60, 0.6);
    padding: 0;
  }

  .catalog-new_filter-backdrop {
    display: block;
    background: transparent;
  }

  .rd-modal-wrapper.drug-n-drop-modal .catalog-new_filter-panel.rd-modal {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    padding: 0;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -16px 40px rgba(34, 49, 60, 0.2);
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s linear;
  }

  .catalog-new_filter-modal.active .catalog-new_filter-panel.rd-modal {
    transform: translateY(0);
  }

  .catalog-new_filter-modal.active
    .catalog-new_filter-panel.rd-modal.is-drag-collapsed,
  .catalog-new_filter-modal.active
    .catalog-new_filter-panel.rd-modal.is-drag-expanded {
    overflow: hidden;
  }

  .catalog-new_filter-modal.active
    .catalog-new_filter-panel.rd-modal.is-drag-collapsed {
    max-height: calc(100dvh - 300px);
  }

  .catalog-new_filter-modal.active
    .catalog-new_filter-panel.rd-modal.is-drag-expanded {
    max-height: calc(100dvh - 35px);
  }

  .catalog-new_filter-modal.active
    .catalog-new_filter-panel.rd-modal.is-drag-collapsed
    .catalog-new_filter-panel-body {
    max-height: calc(100dvh - 328px);
  }

  .catalog-new_filter-modal.active
    .catalog-new_filter-panel.rd-modal.is-drag-expanded
    .catalog-new_filter-panel-body {
    max-height: calc(100dvh - 63px);
  }

  .catalog-new_filter-panel .drug-btn {
    display: block;
  }
}

/* OCFilter */
.ocf-value,
.ocf-value:active,
.ocf-value:focus,
.ocf-value:visited,
.ocf-value:hover {
  cursor: pointer;
  font-weight: normal;
  font-style: normal;
  display: flex;
  font-size: 13px;
  width: 100% !important;
  color: #353535;
  flex-wrap: nowrap;
  align-items: flex-start;
  text-decoration: none;
  text-transform: none;
  padding: 16px 12px 16px 16px;
  line-height: 1.3;
  text-transform: none;
  background: transparent;
  box-shadow: none;
  border: 0;
  outline: 0;
  align-items: center;
}

.ocf-value-image,
.ocf-value-color {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  margin-right: 14px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 200ms;
}

.ocf-value-name {
  margin-right: 5px;
  word-break: break-word;
  text-align: left;
  font-size: inherit;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  color: #22313c;
}

.ocf-value.ocf-checkbox::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background-color: #eceff3;
  margin-left: auto;
}

.ocf-value.ocf-checkbox.ocf-selected::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background-color: #ff4277;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15.025 6.64177C15.1421 6.75896 15.2078 6.91781 15.2078 7.08343C15.2078 7.24906 15.1421 7.40791 15.025 7.5251L9.19171 13.3584C9.07452 13.4755 8.91567 13.5412 8.75005 13.5412C8.58442 13.5412 8.42557 13.4755 8.30838 13.3584L4.97505 10.0251C4.91364 9.96788 4.86439 9.89888 4.83023 9.82222C4.79607 9.74555 4.7777 9.66279 4.77622 9.57887C4.77474 9.49495 4.79018 9.41159 4.82161 9.33377C4.85305 9.25595 4.89983 9.18525 4.95918 9.1259C5.01853 9.06655 5.08922 9.01977 5.16705 8.98833C5.24487 8.9569 5.32823 8.94146 5.41215 8.94294C5.49607 8.94442 5.57883 8.96279 5.65549 8.99695C5.73216 9.03111 5.80116 9.08036 5.85838 9.14177L8.75005 12.0334L14.1417 6.64177C14.2589 6.52473 14.4178 6.45898 14.5834 6.45898C14.749 6.45898 14.9079 6.52473 15.025 6.64177Z' fill='white'/%3E%3C/svg%3E%0A");
}

.ocf-value-color-border {
  border: 2px solid #eceff3;
}

.ocf-filter-name {
  color: #22313c;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  margin: 0 auto;
  display: block;
  margin-bottom: 12px;
}

.ocf-value-list-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.ocf-between {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.ocf-btn-link {
  border-radius: 16px;
  height: 52px;
  padding: 0 16px;
}

.ocf-search-btn-static {
  border-radius: 16px;
  height: 52px;
  padding: 0 16px;
}

.catalog-new_empty-message {
  font-size: 20px;
  color: #22313c;
  font-weight: 400;
  text-align: center;
}

.page-inner .catalog-new-header {
    clear: both;
}

.page-inner .rd-form-container {
  display: none;
}


.page-inner .catalog-new_bottom-wrapper .rd-form-container {
  display: block;
}
