

/* Start:/local/components/binom/newbuildings.cards/templates/carousel/style.css?17770185724836*/
.nb-carousel {
  padding: 40px 0;

  --nb-brand: #0C54A0;
  --nb-brand-dark: #253970;
}

.nb-carousel__slider {
  margin-left: -20px;
}

.nb-carousel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.nb-carousel__title {
  font: 400 23px/100% "Montserrat", sans-serif;
  color: #000;
}

.nb-carousel__all {
  height: 31px;
  padding: 0 13px;
  border: 1px solid #D9DBDE;
  border-radius: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font: 600 10px/150% "Montserrat", sans-serif;
  color: #333;
  cursor: pointer;
}

.nb-carousel__all:hover {
  background: #DEEAFA;
}

/* Фоллбэк до инициализации Slick — горизонтальный скролл */
.nb-carousel__slider:not(.slick-initialized) {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.nb-carousel__slider:not(.slick-initialized) > .nb-carousel__slide {
  flex: 0 0 340px;
  scroll-snap-align: start;
}

/* Slick-режим */
.nb-carousel__slider .nb-carousel__slide {
  height: auto;
  box-sizing: border-box;
}

.nb-carousel__slider .nb-card {
  height: 100%;
}

.nb-carousel__slider .slick-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.nb-carousel__slider .slick-slide {
  height: auto;
  padding-top: 10px;
}

.nb-carousel__slider .slick-slide > div {
  height: 100%;
}

/* Скрываем дефолтные стрелки на краях — свои рендерим в .nb-carousel__controls */
.nb-carousel__slider > .slick-prev,
.nb-carousel__slider > .slick-next {
  display: none !important;
}

/* Блок управления: prev слева, точки по центру, next справа */
.nb-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
}

.nb-carousel__controls .nb-carousel__arrow--prev {
  order: 1;
}

.nb-carousel__controls .nb-carousel__dots {
  order: 2;
  flex: 1;
  justify-content: center;
}

.nb-carousel__controls .nb-carousel__arrow--next {
  order: 3;
}

/* Стрелки */
.nb-carousel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: #FFF;
  color: var(--nb-brand);
  border: 1px solid rgba(12, 84, 160, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.nb-carousel__arrow:hover {
  background: var(--nb-brand);
  color: #FFF;
  border-color: var(--nb-brand);
}

.nb-carousel__arrow--prev svg {
  transform: rotate(180deg);
}

.nb-carousel__arrow.slick-disabled {
  opacity: 0.35;
  cursor: default;
}

.nb-carousel__arrow.slick-disabled:hover {
  background: #FFF;
  color: var(--nb-brand);
  border-color: rgba(12, 84, 160, 0.4);
}

/* Точки */
.nb-carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nb-carousel__dots li {
  width: 10px;
  height: 10px;
  line-height: 0;
}

.nb-carousel__dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--nb-brand);
  border-radius: 50%;
  font-size: 0;
  color: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nb-carousel__dots li button::before {
  content: none;
}

.nb-carousel__dots li.slick-active button {
  background: var(--nb-brand);
  transform: scale(1.1);
}

/* Оконный режим: если точек много — показываем ±3 от активной, крайние помельче */
.nb-carousel__dots.is-windowed li { display: none; }

.nb-carousel__dots.is-windowed li[data-offset="-3"],
.nb-carousel__dots.is-windowed li[data-offset="-2"],
.nb-carousel__dots.is-windowed li[data-offset="-1"],
.nb-carousel__dots.is-windowed li[data-offset="0"],
.nb-carousel__dots.is-windowed li[data-offset="1"],
.nb-carousel__dots.is-windowed li[data-offset="2"],
.nb-carousel__dots.is-windowed li[data-offset="3"] { display: inline-flex; }

.nb-carousel__dots.is-windowed li[data-offset="-2"] button,
.nb-carousel__dots.is-windowed li[data-offset="2"] button {
  transform: scale(0.8);
  opacity: 0.75;
}

.nb-carousel__dots.is-windowed li[data-offset="-3"] button,
.nb-carousel__dots.is-windowed li[data-offset="3"] button {
  transform: scale(0.6);
  opacity: 0.5;
}

@media (max-width: 767px) {
  .nb-carousel__arrow {
    width: 36px;
    height: 36px;
  }

  .nb-carousel__controls {
    gap: 14px;
    margin-top: 18px;
  }
}

/* End */


/* Start:/local/components/binom/newbuildings.cards/assets/card.css?17770185723034*/
/* Карточка ЖК — используется шаблонами .default и carousel компонента binom:newbuildings.cards */
.nb-card {
  background: #FFF;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nb-card:hover {
  transform: translateY(-8px);
}

.nb-card__media {
  min-height: 200px;
  max-height: 200px;
  background: #F8F9FA;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 16px 16px 0 0;
}

.nb-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nb-card:hover .nb-card__image {
  transform: scale(1.05);
}

.nb-card__no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 16px;
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  border-radius: 16px 16px 0 0;
}

.nb-card__body {
  padding: 9px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  line-height: 100%;
  height: 100%;
}

.nb-card__row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.nb-card__price-from {
  color: #000;
  font-size: 14px;
  font-weight: 400;
}

.nb-card__delivery {
  color: #000;
  font-size: 11px;
}

.nb-card__mortgage {
  font-size: 11px;
  margin-bottom: 12px;
}

.nb-card__mortgage span {
  color: rgba(12, 84, 160, 1);
}

.nb-card__title {
  margin: 0 0 12px 0;
  padding: 0 0 12px 0;
  font-size: 14px;
  font-weight: 400;
  color: rgba(12, 84, 160, 1);
  border-bottom: 1px solid rgba(12, 84, 160, 1);
  text-transform: uppercase;
}

.nb-card__title a {
  color: inherit;
  text-decoration: none;
}

.nb-card__title a:hover {
  color: #253970;
  text-decoration: underline;
}

.nb-card__address {
  color: #000;
  font-size: 11px;
}

.nb-card__metro {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 11px;
  color: #000;
  flex-wrap: wrap;
}

.nb-card__metro img {
  height: 12px;
  flex-shrink: 0;
}

.nb-card__metro span {
  white-space: nowrap;
}

.nb-card__prices-detail {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nb-card__price-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #000;
}

.nb-card__price-item-area {
  color: #6C757D;
}

.nb-card__price-item-price {
  font-weight: 600;
}

.nb-card__all-count {
  color: rgba(132, 138, 146, 1);
  font-size: 9px;
  text-decoration: none;
  font-weight: 500;
}

.nb-card__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(12, 84, 160, 0.5);
  border-radius: 50px;
  margin-top: auto;
}

.nb-card__phone {
  color: #253970;
  font-size: 13px;
  font-weight: 400;
  padding: 10px 20px;
  text-align: center;
}

.nb-card__phone a {
  color: inherit;
  text-decoration: none;
}

.nb-card__phone a:hover {
  text-decoration: underline;
}

/* End */
/* /local/components/binom/newbuildings.cards/templates/carousel/style.css?17770185724836 */
/* /local/components/binom/newbuildings.cards/assets/card.css?17770185723034 */
