body {
    font-variant-numeric: lining-nums;
    font-feature-settings: 'lnum';
    -moz-font-feature-settings: 'lnum=1';
    -ms-font-feature-settings: 'lnum';
    -webkit-font-feature-settings: 'lnum';
    -o-font-feature-settings: 'lnum';
}
.t-checkbox__indicator{
    border-radius:30px;
}
.uc-cta .t-cover,
.uc-cta .t-cover__wrapper,
.uc-cta .t-cover__carrier,
.uc-cta .t-cover__filter,
.uc-cta .t-cover .t-container {
  height: auto !important;
  min-height: 0 !important;
}
.uc-cta .t-cover {
  position: relative;
}
.uc-cta .t-cover__carrier,
.uc-cta .t-cover__filter {
  position: absolute !important;
  inset: 0;
  height: 100% !important;
}
.uc-cta .t-cover .t-container {
  position: relative !important;
}
.uc-cta .t995__container {
    width: auto;
}
.uc-cta .t995__inner-wrapper {
    padding: 60px 0 !important;
}
.uc-cta .t995__descr {
    padding: 30px 0 35px;
}
.uc-cta .t995 .t-cover {
    background-image: none !important;
    background-color: #f3efe7 !important;
}
.uc-cta .t995__wrapper {
    box-sizing: border-box;
    padding: 20px 50px;
    padding-bottom: 0 !important;
}
.t-redactor__quote{
    border-color: #4f4335 !important;
}
.uc-first-seo .t997__cards-wrapper::-webkit-scrollbar,
.t-table__viewport::-webkit-scrollbar{
    display: none !important;
}
/*Safari fix: автомасштабирование стандартных блоков для iOS (.t-record_scaled)*/
@supports (-webkit-touch-callout: none) {
  .t-record_scaled,
  .t-record_scaled * {
    -webkit-text-size-adjust: initial !important;
    text-size-adjust: initial !important;
  }
}
.uc-first-seo .t-cover-outer {
    padding-bottom: 0 !important;
}
.uc-first-seo .t997__cards-wrapper {
    display: grid;
    margin-bottom: 20px;
    gap: 20px;
    padding: 0 20px;
}
.uc-first-seo .t997__card-headline {
    width:100%;
}
.uc-first-seo  .t997__card-title {
    margin-bottom: 5px;
}
.uc-first-seo .t997__wrapper{
    height:100%;
}
.uc-first-seo .t997__cards-wrapper::before, 
.uc-first-seo .t997__cards-wrapper::after {
    display: none;
}
.uc-first-seo .t997__col {
    border: 1px solid #ffffff40;
    border-radius: 20px;
    padding: 15px;
    max-width: stretch;
    margin: 0;
}
.uc-first-seo .t997__header-wrapper .t-section__topwrapper{
    width:auto;
    padding: 0;
}
.t758 ul{
    white-space: nowrap;
}
.t758 {
    overflow: auto;
}
.t758::-webkit-scrollbar{
    display: none !important;
}
.t758 ul li:last-child {
    padding-right: 20px;
}
.t758__list_item {
    width: max-content;
}
.video-hover a:before {
    content: "";
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(17 15 12 / 70%)), color-stop(#30292000), to(rgb(17 15 12 / 70%)));
    background-image: -o-linear-gradient(rgb(17 15 12 / 70%), #30292000, rgb(17 15 12 / 70%));
    background-image: linear-gradient(rgb(17 15 12 / 70%), #30292000, rgb(17 15 12 / 70%));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.insta-hover a:before {
    content: "";
    background: rgb(17 15 12 / 40%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.video-hover a,
.insta-hover a{
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.uslugi-cart:before {
    content: "";
    /*background: #302920;*/
    background-image: -webkit-gradient(linear, left top, left bottom, from(#302920), color-stop(#30292000), to(#302920));background-image: -o-linear-gradient(#302920, #30292000, #302920);background-image: linear-gradient(#302920, #30292000, #302920);
    /*opacity: .7;*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}
.uslugi-cart:after {
    content: "";
    background: #4f4335;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
    opacity:0;
    -webkit-transition: all .3s;    
    -o-transition: all .3s;   
    transition: all .3s;
}
.uslugi-cart:hover:after {
    opacity:0.8;
}
.tovary-cart{
    overflow: hidden;
    border-radius: 20px;
}
.tovary-cart a{
    transition: transform .4s !important;
}
.tovary-cart a:hover{
    transform: scale(1.15);
}
.tovary-cart:before {
    content: "";
    /*background: #302920;*/
    background-image: -webkit-gradient(linear, left top, left bottom, from(#302920), color-stop(#30292000), to(#302920));background-image: -o-linear-gradient(#302920, #30292000, #302920);background-image: linear-gradient(#302920, #30292000, #302920);
    /*opacity: .7;*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
    pointer-events: none;
}
.border-radius-bottom div {
    border-radius: 0 0 30px 30px !important;
}
/*для плавного появления фона в zero popup*/
.t1093 .t-popup__bg {
    display:block;
}
.t450__right_social_links {
    margin-top: 15px;
}
.t450__container .t-menusub__menu {
    margin-bottom: 20px;
}
.t-menusub__list-item {
    margin-bottom: 12px;
}
.t702 .t-submit {
    height: 60px;
}
.t-feed__post-label {
    /*background-color: rgb(79 67 53 / 80%) !important;*/
    border-radius: 8px !important;
}
/*.t-feed__post-tag {
    font-weight: 400 !important;
}*/
.t-form__errorbox-middle{
    display:none !important;
}
.t225__title {
    padding-top: 0;
    padding-bottom: 0;
}
.t005__text {
    padding-top: 0;
    padding-bottom: 0;
    margin:0;
}
.uc-text2 ul {
    margin:0;
}
.uc-avtor .t422__text_right {
    border: 1px solid #a49e96 !important;
    border-radius: 30px;
}
.uc-avtor .t422__img, .uc-avtor .t422__img-mobile {
    border-radius: 30px;
    margin-right: 20px;
}
.uc-avtor .t422__uptitle {
    margin-bottom: 10px;
    opacity: .8;
}
.uc-avtor .t422__btn-wrapper {
    margin: 20px 0px 0 0;
}
.t401__title {
    max-width: 80%;
}
@media (min-width:961px) {
    /* uc-h2 и uc-text2 — отступы вместо стандартных 20px */
    .uc-h2 .t-col,
    .uc-text2 .t-col,
    .uc-glavy .t-col,
    .uc-article .t-col,
    .t668__col {
      margin-left: 50px !important;
      margin-right: 50px !important;
      width: calc(100% - 100px) !important;
      max-width: calc(100% - 100px) !important;
      box-sizing: border-box;
    }
    .uc-statyi .t-container{
        display: grid;
        gap: 20px;
        box-sizing: border-box;
        grid-template-columns: 1fr 1fr;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    .uc-statyi .t401__col {
        max-width: 100%;
        margin: 0;
    }
    .uc-statyi .t-container:after,
    .uc-statyi .t-container:before{
        display:none;
    }
    .uc-avtor .t422__wrapper {
        margin-right: 50px;
        margin-left: 50px;
        display: flex;
    }
    .uc-text2 .t-row{
        display:flex;
    }
    h2.t-redactor__h2 {
        margin-bottom: 30px !important;
    }
}

@media (min-width:1200px) {
    .uc-collage .t1236__container{
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    .uc-article .t-table__wrapper,
    .uc-article .t-table__table{
        width: 100%;
    }
    .uc-first-seo .t-cover-outer{
        padding-top: 5px !important;
    }
    .uc-hleb {
        position:absolute;
        z-index: 9;
        width: 100%;
        top: 30px;
        opacity: .8;
    }
    .uc-hleb .t758__link-item__wrapper .t-menu__link-item {
        color: #fff !important;
    }
    .uc-first-seo .t997__cards-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    .uc-first-seo .t-cover__carrier > div {
      width: auto !important;
    }
}

@media (max-width:1199px) {
    .uslugi-cart:after {
        opacity: 0.5;
    }
    .uc-biz-podarki .uslugi-cart:after {
        opacity: 0.25;
    }
    .uc-home-tabs video {
        height:440px !important;
    }
    .video-bg-order2 video,
    .video-bg-order3 video{
        height:307px !important;
    }
}
@media (max-width:960px) {
    .uc-statyi .t401__textwrapper {
        padding-bottom: 30px;
    }
    .uc-statyi .t401__table{
        height:260px !important;
    }
    .uc-statyi .t401 .t401__col:last-child {
        margin-bottom: 0px;
    }
    .uc-statyi .t401__col {
        margin-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .uc-statyi .t401__textwrapper__content {
        margin: 0;
    }
    .uc-avtor .t422__textwrapper {
        padding: 30px 20px 20px 20px;
    }
    .uc-avtor .t422__img-mobile {
        height:200px !important;
        margin-bottom: 10px;
    }
    .uc-avtor .t422__text_mobile {
        border:none !important;
    }
    .uc-h2 .t-col,
    .uc-text2 .t-col,
    .uc-glavy .t-col{
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width:959px) {
    .uc-home-tabs video {
        height:440px !important;
    }
    .video-bg-order video {
        height:323px !important;
    }
    .video-bg-order2 video {
        height:301px !important;
    }
    .video-bg-order3 video{
        height:343px !important;
    }
    .split-video-bg video{
        height:450px !important;
    }
    .video-bg-link video{
        height:368px !important;
    }
    .t-feed__container_inrow1 .t-feed__post:first-child, .t-feed__container_inrow2 .t-feed__post:nth-child(-n+2), .t-feed__container_inrow3 .t-feed__post:nth-child(-n+3), .t-feed__container_inrow4 .t-feed__post:nth-child(-n+4) {
        margin-top: 40px !important;
    }
    .t-feed__container_inrow4 .t-feed__post:first-child {
        margin-top: 0px !important;
    }
    .video-bg-coming-soon video,
    .video-bg-coming-soon2 video{
        height:446px !important;
    }
}

@media(max-width:640px){
    .t702 .t702__title {
        margin-bottom: 15px !important;
    }
    .t702__descr{
        font-size:16px !important;
    }
    .t702 .t702__text-wrapper {
        margin-bottom: 20px !important;
    }
    .t702 .t-submit, .t702 .t-input, .t702 .t-select {
        height: 60px;
    }
}

@media (max-width:639px) {
    .video-bg-coming-soon video,
    .video-bg-coming-soon2 video{
        height:437px !important;
    }
    .uc-home-tabs video {
        height:440px !important;
    }
    .video-bg-order video {
        height:287px !important;
    }
    .video-bg-order2 video {
        height:323px !important;
    }
    .video-bg-order3 video {
        height:301px !important;
    }
    .split-video-bg video{
        height:350px !important;
    }
    .video-bg-link video{
        height:356px !important;
    }
}

@media (max-width:560px){
    .t702 .t-popup__block-close {
        background: #4f4335;
    }
}

@media (max-width:480px) {
    .uc-cta .t995__inner-wrapper {
        padding: 40px 0px 20px 0px !important;
    }
    .uc-cta .t-btnflex.t-btnflex_type_button,
    .uc-avtor .t422__btn-wrapper a,
    .t1331 .t1331__row a{
        width:100%;
    }
    .uc-cta .t995__descr {
        padding: 20px 0 25px;
    }
    .uc-glavy .t976__wrapper_alignleft .t976__list-item:last-child {
        padding-bottom: 0;
    }
    .uc-text2 .t-row {
        display:grid;
        gap:20px;
    }
    .uc-glavy .t976__menu-link_large {
        padding: 8px 20px;
    }
    .uc-glavy .t976__list-item {
        padding-right: 0;
        width: 100%;
    }
.uc-hleb {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
/* затухание справа */
.uc-hleb::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;          /* ширина зоны затухания */
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    #f9f9f7 100%
  );
  pointer-events: none; /* скролл и клики проходят */
  z-index: 2;
}
    
    .uc-first-seo .t997__card-title {
        margin-bottom: 5px;
    }
    .uc-first-seo .t-cover-outer {
        padding-top: 0 !important;
    }
    .t758__wrapper {
        text-align: left;
    }
    .uc-first-seo .t997__cards-wrapper {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        gap: 10px;
        margin-bottom:0;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .uc-first-seo .t997__cards-wrapper .t997__col {
        flex: 0 0 65%;
        min-width: 65%;
      }
    .uc-first-seo .t997__col {
        padding: 15px;
    }
    
    /* === FULL HEIGHT HERO === */
  .uc-first-seo .t-cover{
    position: relative !important; 
    min-height: 0 !important;
    overflow: hidden;
    height: 100vh !important;
  }
  /* контент заполняет cover целиком */
  .uc-first-seo .t997 {
    position: relative;
    z-index: 1;
    height: 100% !important;          /* ← КЛЮЧЕВАЯ СТРОКА */
    min-height: 100% !important;
  }
  .uc-first-seo .t-cover .t-container {
    position: relative !important;
    height: 100% !important;
    min-height: 100% !important;
  }
  .uc-first-seo .t-cover__carrier,
  .uc-first-seo .t-cover__filter {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
  }
  .uc-first-seo .t-cover__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    height: 100% !important;
    min-height: 100% !important;
  }
  .uc-first-seo .t997__wrapper,
  .uc-first-seo .t997__inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
    min-height: unset !important; /* перебить Tilda ≤640px */
  }
  .uc-first-seo .t997__header-wrapper {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px !important;
    min-height: 0;
  }
  .uc-first-seo .t997__cards-wrapper {
    flex: 0 0 auto;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 20px;
    /* ваш flex + overflow-x остаётся из блока выше */
  }
  .uc-first-seo .t-cover__carrier > div {
    width: auto !important;
    height: 100% !important;
  }
}

@media (max-width:479px) {
    .video-bg-coming-soon video {
        height:343px !important;
    }
    .video-bg-coming-soon2 video{
        height:351px !important;
    }
    .video-bg-case video{
        height:260px !important;
    }
    .uc-home-tabs video {
        height:300px !important;
    }
    .video-bg-order video {
        height:276px !important;
    }
    .video-bg-order2 video {
        height:248px !important;
    }
    .video-bg-order3 video{
        height:266px !important;
    }
    .split-video-bg video {
        height: 265px !important;
    }
    .video-hover video,
    .insta-hover video{
        height: 260px !important;
    }
    .video-bg-link video{
        height:316px !important;
    }
}