body.t-body {
    background: rgb(22, 22, 22);
}

/* 1. Убираем синий блик при тапе (Android/iOS) */
/* Цели: ссылки, кнопки, любые интерактивные элементы, включая сам попап и оверлей */, 
a, button, input, [tabindex], .t-popup, .t-cover, .t-popup__container {
    /* Основное свойство для мобильных бликов */
    -webkit-tap-highlight-color: transparent !important;
    
    /* Дополнительные сбросы на всякий случай */
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
}
/* 2. Убираем синий/желтый контур фокуса */
/* Эта подсветка появляется, когда элемент теряет фокус (например, при закрытии) */
:focus {
    /* Убирает стандартный контур фокуса у всех элементов */
    outline: none !important; 
}

/* 3. Опционально: Если блик появляется при прокрутке */
/* Иногда синий блик - это на самом деле цвет скроллбара, который исчезает */
:-webkit-scrollbar {
    background-color: transparent !important;
}

.t-popup, .t-cover, .t-popup__container, .t-records a, .t396 .tn-elem[data-elem-type='button'], div {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
}
*, *:before, *:after {
    border-width: 0px;
    
}
.t-zoomer__scale.showed {
    display: none !important;
}
.t-zoomer__close {
    background: hsl(0deg 0% 100% / 0%) !important;
}
/*.t-carousel__zoomer__arrow__wrapper:before {
    background: url(https://static.tildacdn.com/tild3434-6264-4632-b764-333466663832/next.svg);
    height: 46px;
    width: 46px;
    border-radius: 24px;
    margin: 10px;
    padding: 0px;
}*/
.t-carousel__zoomer__control_right {
    left: 80%;
}
.t-carousel__zoomer__control_left {
    right: 80%;
    left: auto;
}
/*.t-carousel__zoomer__arrow_right {
    border-right: 3px solid;
    border-top: 3px solid;
    margin-right: 25px;
    margin-top: 23px;
    color: #FFF;
    width: 18px !important;
    height: 18px !important;
    display: none;
}*/
/*.t-carousel__zoomer__arrow_left {
    border-bottom: 3px solid;
    border-left: 3px solid;
    margin-left: 25px;
    margin-top: 23px;
    color: #FFF;
    width: 18px !important;
    height: 18px !important;
    display: none;
}*/
.t450__logowrapper {
    margin-bottom: 50px;
}
.t-carousel__zoomer__arrow__wrapper {
    transform: none;
}
.t-margin_auto {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/*.t-carousel__zoomer__arrow__wrapper.t-carousel__zoomer__arrow__wrapper_left:before {
    background: url(https://static.tildacdn.com/tild6363-3530-4161-b736-356533636665/prev.svg);
}*/


.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gallery img {
  width: 150px;
  height: auto;
  cursor: pointer;
  border-radius: 6px;
}

.g-popup {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.g-popup-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
}
.g-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  cursor: pointer;
  color: #fff;
}

.g-nav {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 20px;
  user-select: none;
}
.g-prev { left: 20px; }
.g-next { right: 20px; }

button.t-slds__arrow.t-slds__arrow-right.t-slds__arrow-withbg {
    background: url(https://static.tildacdn.com/tild3537-3466-4238-a161-373535343963/next.svg);
    width: 48px !important;
    height: 48px !important;
    background-color: #ffffff00 !important;
}
/*.t-slds__arrow_body.t-slds__arrow_body-right {
    display: none;
}*/
button.t-slds__arrow.t-slds__arrow-left.t-slds__arrow-withbg {
    background: url(https://static.tildacdn.com/tild6639-3833-4862-a535-316437306237/prev.svg);
    width: 48px !important;
    height: 48px !important;
    background-color: #ffffff00 !important;
}
/*.t-slds__arrow_body.t-slds__arrow_body-left {
    display: none;
}*/

.t-slds__bgimg.t-slds__bgimg-contain.t-bgimg {
    width: 100%;

}

.t-slds__item-innactive:not(.t-slds__item_active) div {
    display: block !important;
    height: 600px;
}
.t-slds__item.t-slds__item-innactive {
    height: 690px;
}
@media (max-width: 479px) {
.t746__imgwrapper {
    margin-left: 10px;
    margin-right: 10px;
}
.t-popup__block-close {
    right: 10px !important;
    top: 3% !important;
    height: 14px;
    width: 14px;
}
svg.t-popup__close-icon {
    width: 14px;
    height: 14px;
}
.t-popup__block-close-button {
    padding: 0px !important;
    width: 14px;
}
.t-popup__container.t-width.t-width_12.t-popup__container-animated {
    top: 52%;
}
}
@media (max-width: 640px) {
.t-popup__close.t-popup__block-close {
    height: 30px;
    width: 30px;
}
.t-carousel__zoomer__img {
    width: 95% !important;
    border-radius: 10px;
}
svg.t-popup__close-icon {
    width: 18px;
    height: 18px;
}
rect {
    width: 2px;
}
button.t-popup__close-wrapper.t-popup__block-close-button {
    padding: 0px !important;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
path {
    /*fill: #FFF;*/
    stroke: none !important;
    }
svg.t-null__slds-arrow.t-null__slds-arrow_1 {
    background: url(https://static.tildacdn.com/tild3537-3466-4238-a161-373535343963/next.svg);
    /*width: 48px;
    height: 48px;*/
    background-size: cover;
}
.t-slds__arrow {
    width: 100% !important;
    /*width: 48px !important;
    height: 48px !important;*/
    background: none !important;
}
    [d="M11,0 L11,22"] {
      stroke: rgb(241, 100, 152) !important
    }
    [d="M0,11 L22,11"] {
      stroke: rgb(241, 100, 152) !important;
    }

}    
div#carousel_1632183271 {

    /*height: 600px !important;*/
    height: auto;
}
button.t-slds__arrow.t-slds__arrow-right.t-slds__arrow-withbg {
    right: 15px;
}
button.t-slds__arrow.t-slds__arrow-left.t-slds__arrow-withbg {
    left: 15px;
}


    .t-slds__item {
        opacity: 1 !important;
    }
    
@media (min-width: 641px){    
[d="M22.6291 1.41421L21.2148 0L0.00164068 21.2132L1.41585 22.6274L22.6291 1.41421Z"]
 path {
    fill: #FFF;
    }
}

@media (min-width: 480px) and (max-widht:640px){

}
.t-zoomer__close {
    top: 10px !important;
}

.t396__elem.tn-elem.tn-elem__17475520111474895377259, .t396__elem.tn-elem.tn-elem__17475522711474895377259, .t396__elem.tn-elem.tn-elem__17410942511474895377259, .t396__elem.tn-elem.tn-elem__17475517111474895377259 {
    height: 1px !important;
    }

.t396__elem.tn-elem.tn-elem__17225532711766397365603.tn-elem__gallery_arrows-in {
    top: calc(70px * var(--zoom, 1)) !important;
}

/* Анимация открытия попапа как в lightbox */
/*.t-popup {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.t-popup.t-popup_show {
  opacity: 1;
  transform: scale(1);
}*/

#rec1709514571 .t1093 .t-popup.t-popup-transition, #rec1709514571 .t1093 .t-popup.t-popup-transition + .t-popup__bg {
    animation: showZoomerWrapper 0.2s ease-in-out both !important;
}

/*.t-popup_show .t-popup__container {
        animation: showZoomerWrapper .3s ease-in-out both;
}*/

/*.t-zoomer__wrapper {
    -webkit-animation: showZoomerWrapper 0s linear both !important;
    touch-action: manipulation !important
}*/

.t-zoomer__container {
    z-index: 99999999;
    background: #161616 !important;
}
.t-popup.t-popup-disabled-bg.t-popup-anim-fadein.t-popup-transition {
    -webkit-animation: showZoomerWrapper 0.0s linear both !important;
    } 
    
    /*.t-popup__container.t-width.t-valign_middle.t-popup__container-animated {
         -webkit-animation: showZoomerWrapper 0.0s linear both !important; 
         transition: none !important;
    }*/
    
    .t-popup.t-popup-disabled-bg.t-popup-anim-fadein.t-popup-transition.t-popup_show {
    opacity: 1 !important;
}

/*.t-popup {
    height: 100dvh !important;
    min-height: 100dvh !important;
    background: #161616 !important;
}
.t-popup__container { min-height: 100dvh !important; }*/

/*    .t1093 .t-popup {
        z-index: 110000001;
    }*/

/*.t396__artboard.rendered.t396__artboard_scale.t396__artboard_pointer-events-auto.t396_resizechange {
    height: 100dvh !important;
    max-height: 100dvh !important;
    background: #161616 !important;;
}*/

/* Fallback для браузеров без поддержки dvh */
/*@supports not (height: 100dvh) {
.t396__artboard.rendered.t396__artboard_scale.t396__artboard_pointer-events-auto.t396_resizechange{
        height: 130vh !important;
        min-height: 130vh !important;
    }
}*/

/* Дополнительно: убедимся, что контент не обрезается */
/*.t396__artboard.rendered.t396__artboard_scale.t396__artboard_pointer-events-auto.t396_resizechange {
    min-height: 100dvh;
    height: auto !important;
}*/

/*.t396__artboard.rendered.t396__artboard_scale.t396_resizechange {
    opacity: 1 !important;
}*/

/*.t-popup_show .t-popup__container {
        transition: none !important;
}*/
/*.t-popup.t-popup_show {
  -webkit-animation: showZoomerWrapper 0.6s 
linear both !important;
    transition: none !important;
} */
/* Гарантируем изоляцию для всех попапов */
/*.t-popup__container {
    isolation: isolate !important;
    /*transform: translateZ(0) !important;*/
    backface-visibility: hidden !important;
    contain: layout style paint !important;
    clip-path: inset(0) !important;
    -webkit-clip-path: inset(0) !important;
}

/* Обязательно: сплошной фон подложки */
.t-popup {
    background-color: #161616 !important; /* или #fff, если светлая тема */
}*/

/* Применяем изоляцию и фикс к самому попапу */
.t-popup {
    isolation: isolate !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    contain: layout style paint !important;
    clip-path: inset(0) !important;
    -webkit-clip-path: inset(0) !important;

    /* Обязательно: сплошной фон, чтобы закрыть всё за собой */
    background-color: #000 !important; /* ← замени на нужный цвет (белый/серый и т.п.) */
}

/* Убираем возможные прозрачности */
.t-popup::before,
.t-popup::after {
    display: none !important;
}
.t-upwidget-container__button.t-text {
    width: 150px !important;
    /* height: 50px !important; */
    font-size: 12px !important;
}
@media (min-width: 1429px){ 
.t-slds__arrow.t-slds__arrow-right,.t-slds__arrow.t-slds__arrow-left {
    height: 100px !important;
    width: 100px !important;
}
.tn-elem .t-slds__arrow_body {
    height: calc(45px * var(--zoom, 1)) !important;
    --zoom: 1.8 !important;
}
.t-carousel__zoomer__arrow {
    height: 25px !important;
    width: 25px !important;
}
.t-carousel__zoomer__arrow__wrapper_dark:before {
    background: rgb(22 22 22 /0%);
}

}
/*@media (max-width:1430px) {*/
    .t-carousel__zoomer__arrow__wrapper:before {
            background: rgb(22 22 22 / 00%);
    }
        .t-carousel__zoomer__control .t-carousel__zoomer__arrow {
                    color: #fff !important;
        }
/*}*/

.t-carousel__zoomer__img {
    cursor: default !important;
        border-radius: 25px;
}
.t-carousel__zoomer__item.active {
    cursor: default !important;
}

svg {
    width: 23px;
    height: 23px;
}

@media (max-width: 980px){ 
li.t-sociallinks__item.t-sociallinks__item_website {
    margin-right: 10px;
}
img.t-sociallinks__customimg {
    width: 38px !important;
    height: 38px !important;
}
}
.t-popup__bg {
    height: 100vh !important;
}



.tn-elem .t-slds__bullet_wrapper {
    position: absolute;
    width: 95%;
    text-align: end;
}

.t-container:before, .t-container:after, .t-container_10:before, .t-container_10:after, .t-container_8:before, .t-container_8:after, .t-container_100:before, .t-container_100:after {
    display: contents;
    content: " ";
    width: 0;
}

