/* сдвиг иконок в кнопках */
.tn-elem[data-elem-id="1790961354346"] .tn-atom .tn-atom__button-content,
.tn-elem[data-elem-id="1790961354531"] .tn-atom .tn-atom__button-content,
.tn-elem[data-elem-id="1790961354775"] .tn-atom .tn-atom__button-content {
    margin-left: 26px;
}

/* Ховер ссылок */
.links .tn-atom,
.links .tn-atom a,
.links2 .tn-atom,
.links2 .tn-atom a {
  transition: color 0.3s ease !important;
}

.links:hover .tn-atom,
.links:hover .tn-atom a {
  color: rgba(255, 255, 255, 0.6) !important;
}

.links2:hover .tn-atom,
.links2:hover .tn-atom a {
  color: #8B8B8B !important;
}
/* Подчеркивание ссылок */
.links3 .tn-atom,
.links3 .tn-atom a {
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-decoration-thickness: 0.3px;
  text-underline-offset: 3px;
}


/* модификация кнопок Заказать */

.btn-mode-up .tn-atom {
  position: relative !important;
  overflow: hidden !important;
}

.btn-mode-up .tn-atom__button-content {
  position: relative !important;
  z-index: 2 !important;
}

.btn-mode-up .tn-atom__button-text {
  display: inline-block !important;
  position: relative !important;
  z-index: 3 !important;
  transform: translateY(0);
  transition: transform 0.3s ease !important;
}

.btn-mode-up:hover .tn-atom__button-text {
  transform: translateY(-1.5px);
}

.btn-mode-up .tn-atom::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;

  top: -70% !important;
  left: -110%;

  width: 85% !important;
  height: 240% !important;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.08) 12%,
    rgba(255,255,255,0.25) 28%,
    rgba(255,255,255,0.7) 50%,
    rgba(255,255,255,0.25) 72%,
    rgba(255,255,255,0.08) 88%,
    transparent 100%
  ) !important;

  transform: rotate(18deg);
  pointer-events: none !important;

  animation: btn-mode-shine 4s ease-in-out infinite !important;
}

@keyframes btn-mode-shine {
  0% {
    left: -110%;
  }

  38% {
    left: 145%;
  }

  100% {
    left: 145%;
  }
}

/* Ховер лого */
.logo svg,
.logo svg * {
  transition: fill 0.3s ease, stroke 0.3s ease !important;
}

.logo:hover svg,
.logo:hover svg * {
  fill: #8B8B8B !important;
  stroke: #8B8B8B !important;
}


/* Кнопка 40×40: белый фон, скругление 6px */
.t-popup__close-wrapper {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  background-color: #FFFFFF !important;
  border-radius: 6px !important;
  transition: background-color 0.3s ease;
}

/* Крестик 16×16 */
.t-popup__close-icon {
  width: 16px !important;
  height: 16px !important;
}

/* Убираем штатную полупрозрачность Тильды при ховере */
.t-popup__close,
.t-popup__close:hover,
.t-popup__close-wrapper,
.t-popup__close-wrapper:hover,
.t-popup__close-icon,
.t-popup__close-icon:hover {
  opacity: 1 !important;
}

/* Крестик в обычном состоянии */
.t-popup__close-icon g {
  fill: #262626 !important;
  transition: fill 0.3s ease;
}

/* Ховер: синий фон, белый крестик */
@media (hover: hover) and (pointer: fine) {
  .t-popup__close-wrapper:hover {
    background-color: #3F5DFF !important;
  }
  .t-popup__close-wrapper:hover .t-popup__close-icon g {
    fill: #FFFFFF !important;
  }
}


/* каталог */
.js-catalog-prod-descr.t-catalog__card__descr.t-typography__descr.t-descr.t-descr_xxs {
    margin-top: 24px;
    margin-bottom: 24px;
}




.t-catalog__card__imgwrapper {
  overflow: hidden;
}
.t-catalog__card__imgwrapper .t-bgimg {
  /* opacity — родная анимация Тильды при подгрузке фото, её сохраняем */
  transition: opacity .1s linear, transform .6s ease;
}
@media (hover: hover) {
  .t-catalog__card:hover .t-catalog__card__imgwrapper .t-bgimg {
    transform: scale(1.08);
  }
}
</style>
