/* Hero block */
/*#rec2003453471 {*/
/*    margin-top: 60px;*/
/*}*/

/* Filters container */
#rec2028837511 .js-store-parts-select-container {
  display: flex;
  justify-content: center;
}

#rec2028837511 .t-store__parts-switch-wrapper {
  display: flex;
  align-items: center;

  background: #0f3b63;
  border-radius: 20px;
  padding: 15px;
  gap: 0;
}

#rec2028837511 .t-store__parts-item {
  margin: 0 7px 0 0;
}

/* Buttons */
#rec2028837511 .t-store__parts-switch-btn {
  margin: 0;
  padding: 10px 18px;
  border-radius: 14px;

  background: transparent;
  color: #ffffff;
  border: 1px solid #204D71;

  font-size: 16px!important;
  font-weight: 500;
  line-height: 1;

  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  opacity: 1;
}


/* Button hover */
#rec2028837511 .t-store__parts-switch-btn:not(.t-active):hover {
  background: #ffffff;
  color: #0f3b63;
}

/* Active button */
#rec2028837511 .t-store__parts-switch-btn.t-active {
  background: #ffffff;
  color: #0f3b63;
}

@media screen and (max-width: 959px) {
  /* Filters container: 20px padding from screen edges */
  #rec2028837511 .js-store-parts-select-container {
    padding: 0 20px;
    justify-content: center;
    width: auto;
  }

  /* Capsule background becomes a card with small border radius */
  #rec2028837511 .t-store__parts-switch-wrapper {
    display: flex;
    flex-wrap: wrap;                  /* wrap into multiple rows */
    justify-content: center;
    background: #0f3b63;
    border-radius: 10px;              /* 10px border radius */
    padding: 10px;                    /* 10px inner padding */
    gap: 10px;                        /* 10px gap horizontally and vertically */
  }

  /* Individual filter items: remove outer margins, spacing handled by gap */
  #rec2028837511 .t-store__parts-item {
    margin: 0;
  }

  /* Filter buttons — smaller size, 10px paddings */
  #rec2028837511 .t-store__parts-switch-btn {
    font-size: 14px!important;        /* font size 14 */
    padding: 10px 10px;               /* 10px padding to the border */
    border-radius: 14px;
    white-space: nowrap;
  }
}



/* 1. Video block: background */
#rec1897980001 {
  position: relative;
  height: 0;
  overflow: visible;
  z-index: 0;
}

#rec1897980001 .hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#rec1897980001 .hero-video-bg video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: none !important;
}


/* 2. DESKTOP slider above the video (#rec1732880641) */
#rec1732880641 {
  position: relative;
  margin-top: 0;
  z-index: 1;
  background: transparent !important;
}

/* Remove background images from the desktop cover and slides */
#rec1732880641 .t-cover,
#rec1732880641 .t-cover__carrier {
  background: none !important;
  background-image: none !important;
}

/* Hero height on desktop */
#rec1732880641 .t734__table,
#rec1732880641 .t-cell.t-valign_middle {
  min-height: 100vh;
}

/* Text background overlay (shared logic, also works for mobile if classes match) */
#rec1732880641 .t734__wrapper,
#rec1892324871 .t734__wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

#rec1732880641 .t734__wrapper::before,
#rec1892324871 .t734__wrapper::before {
  content: "";
  position: absolute;
  inset: -10px -20px;
  background: radial-gradient(
    circle at center,
    rgba(5, 10, 25, 0.35) 0%,
    rgba(5, 10, 25, 0.25) 40%,
    rgba(5, 10, 25, 0.0) 100%
  );
  z-index: -1;
  opacity: 0.25;
}

#rec1732880641 .t734__title,
#rec1892324871 .t734__title {
  color: #ffffff;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.85);
}

#rec1732880641 .t734__descr,
#rec1892324871 .t734__descr {
  color: rgba(235, 242, 255, 0.95);
  font-size: 18px;
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.75);
}


/* 3. MOBILE slider above the video (#rec1892324871) */
@media screen and (max-width: 959px) {
  /* Video height equals viewport height */
  #rec1897980001 .hero-video-bg video {
    height: 100vh;
    filter: none;
  }

  /* Mobile block positioned above the video */
  #rec1892324871 {
    position: relative;
    z-index: 1;
    background: transparent !important;
  }

  /* Remove background images from mobile cover and slides */
  #rec1892324871 .t-cover,
  #rec1892324871 .t-cover__carrier {
    background: none !important;
    background-image: none !important;
  }

  /* Hero height on mobile, центр по высоте */
  #rec1892324871 .t734__table {
    min-height: 100vh;
    display: flex;
    align-items: center;      /* vertical text alignment */
    justify-content: center;
  }

  #rec1892324871 .t-cell.t-valign_middle {
    display: block;
    width: 100%;
  }

  /* Overlay and text adjustments for mobile */
  #rec1892324871 .t734__wrapper {
    margin-top: 50%;
    max-width: 90%;
    padding: 0 16px;
    position: relative;
    text-align: center;
  }

  #rec1892324871 .t734__wrapper::before {
    content: "";
    position: absolute;
    inset: -8px -12px;
    background: rgba(29, 29, 31, 0.5);  
    filter: blur(100px);                 
    border-radius: 999px;               
    z-index: -1;
    opacity: 1;
  }

  #rec1892324871 .t734__title {
    padding-top: 30px;
    font-size: 30px;
  }

  #rec1892324871 .t734__descr {
    font-size: 15px;
    padding-bottom: 30px;
  }
}








/* New Hero*/

/* Обёртка вокруг всех слайдов */
.uc-hero-rotator-wrapper {
  position: relative;
}

/* Каждый слайд позиционируем абсолютно внутри обёртки */
.uc-hero-rotator-wrapper .uc-hero-rotator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  transition: opacity 0.8s ease;
}

/* Скрытый слайд */
.uc-hero-rotator-wrapper .uc-hero-rotator.t-hero-hidden {
  opacity: 0;
  pointer-events: none;
}

.uc-hero-rotator-wrapper {
  min-height: 100vh; 
}


/* ==== Карточки товаров (uc-houses) ==== */

/* Сетка: 2 колонки, отступы */
.uc-houses .t-store__grid-cont {
  max-width: 1200px;
}

.uc-houses .t-store__card-list {
  row-gap: 24px;
}

@media screen and (max-width: 960px) {
    .uc-houses .t-store__grid-cont .t-store__card-list {
        row-gap: 20px !important;
    }
}

.uc-houses .t-store__card__mark-wrapper {
  left: 8px !important;
  top: 8px !important;
}

.uc-houses .t-store__card__mark-wrapper .t-store__card__mark {
  width: auto !important;
  text-transform: uppercase;
  border-radius: 20px 0 20px 0;
}

/* Карточка */
.uc-houses .t-store__card__wrap_all {
  position: relative;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
  overflow: hidden;
}

/* Картинка дома с внутренней рамкой */
.uc-houses .t-store__card__imgwrapper {
  position: relative;
  padding-bottom: 45%;
  overflow: hidden;
}

.uc-houses .t-store__card__bgimg {
  position: absolute;
  inset: 8px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
}

/* Контент карточки */
.uc-houses .t-store__card__title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.uc-houses .store__card__wrap_txt-and-opts {
    padding-top: 0 !important;
    padding-bottom: 15px !important;
}

.uc-houses .t-store__card__textwrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px !important;
}

/* Описание / характеристики */
.uc-houses .t-store__card__descr,
.uc-houses .t-store__card__opts {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

.uc-houses .t-typography__title {
  display: none;
}

/* Параметры дома через ul > li и nth-child */
.uc-houses .t-store__card__descr ul {
  display: flex;
  gap: 16px;
  padding-left: 0 !important;
  margin: 0;
  list-style: none;
}

.uc-houses .t-store__card__descr li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

@media screen and (max-width: 959px) {
    .uc-houses .t-store__card__descr li,
    .uc-houses .t-store__card__price-item {
        font-size: 11px;
    }
    .uc-houses .t-store__card__price-wrapper {
        margin-top: 8px;
    }
}

.uc-houses .t-store__card__descr li::before {
  content: "";
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 1‑й пункт — метраж, без иконки */
.uc-houses .t-store__card__descr li:nth-child(1)::before {
  display: none;
}

/* 2‑й пункт — кровать */
.uc-houses .t-store__card__descr li:nth-child(2)::before {
  background-image: url('https://static.tildacdn.com/tild6231-3034-4165-a363-653863333362/furniture_13639285.png');
}

/* 3‑й пункт — ванная */
.uc-houses .t-store__card__descr li:nth-child(3)::before {
  background-image: url('https://static.tildacdn.com/tild3037-3738-4138-a336-363161363565/bath-tub_7495831.png');
}

/* ===== Лейбл "Дом мечты" для первой карточки ===== */

.uc-houses a[href*="tproduct/837963685842-birranga-200"] + br + span {
  font-size: 0;
  position: relative;
  display: block;
}

.uc-houses
