

/* Start:/local/templates/mkit/components/bitrix/catalog.section/mkit_project_section/style.css?177632770914796*/
/* Хлебные крошки (страницы каталога / товара) */
.breadcrumbs {
  padding: 40px 0 20px;
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
}

.breadcrumbs__sep {
  color: var(--color-gray);
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
}

.breadcrumbs__link {
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-gray);
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
  color: var(--color-text);
  opacity: 1;
}

.breadcrumbs__current {
  font-size: 13px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-gray);
  letter-spacing: -0.3px;
}

.catalog-hero {
  padding: 40px 0 0;
}

.catalog-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.catalog-hero__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: flex-end;
}

.catalog-hero__title {
  font-size: 60px;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -2.5px;
}

@media (min-width: 768px) {
  .catalog-hero__title {
    font-size: 80px;
    letter-spacing: -3px;
  }
}

@media (min-width: 1024px) {
  .catalog-hero__title {
    font-size: 110px;
    letter-spacing: -4.4px;
  }
}

.catalog-hero__description {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-gray);
  line-height: 1.1;
  letter-spacing: -0.6px;
  max-width: 910px;
}

@media (min-width: 1024px) {
  .catalog-hero__description {
    font-size: 20px;
  }
}

.catalog-section {
  padding: 20px 0 80px;
}

.catalog-section:has(+ .calc-section) {
  padding: 20px 0 0;
}

.catalog-section + .calc-section {
  padding: 100px 0 100px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--color-border);
  padding: 10px;
  background: var(--color-bg);
  align-self: start;
  overflow: hidden;
}

.catalog-section .product-grid .product-card .product-card__img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 600 / 372 !important;
  height: auto !important;
  background-color: #f0f0f0;
}

.catalog-section .product-grid .product-card.product-card--tall .product-card__img-wrap {
  aspect-ratio: 600 / 605 !important;
}

.catalog-section .product-grid > .product-card:nth-child(9n + 3) .product-card__img-wrap,
.catalog-section .product-grid > .product-card:nth-child(9n + 5) .product-card__img-wrap,
.catalog-section .product-grid > .product-card:nth-child(9n + 7) .product-card__img-wrap {
  aspect-ratio: 600 / 605 !important;
}

/* Картинка заполняет .product-card__img-wrap и обрезается по рамке (без изменения пропорций карточки). */
.catalog-section .product-grid .product-card .product-card__img-wrap img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__img-wrap img {
  transform: scale(1.02);
}

.product-card__badge {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 5px 10px;
}

.product-card__top-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  max-width: calc(100% - 20px);
  pointer-events: none;
}

.product-card__info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding: 0;
}

.product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 10px;
  background: #D42071;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.product-card__name {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--color-text);
}

.product-card__price-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.product-card__name:hover {
  opacity: 0.7;
}

.product-card__price {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--color-text);
  white-space: nowrap;
}

.product-card__cta {
  display: none;
}

.catalog-pagination-wrap {
  margin-top: 40px;
}

.catalog-pagination {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 290px;
  margin: 0 auto;
}

.catalog-pagination__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 290px;
  height: 54px;
  min-width: 170px;
  border: 1px solid #121226;
  color: #121226;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.catalog-pagination__more:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  opacity: 1;
}

.catalog-pagination__pages {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
}

.catalog-pagination__pages.is-compact {
  width: auto;
}

.catalog-pagination__page,
.catalog-pagination__ellipsis {
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
  color: #8e8e8e;
}

.catalog-pagination__page {
  position: relative;
  padding-bottom: 2px;
}

.catalog-pagination__page.is-active {
  color: var(--color-primary);
}

.catalog-pagination__page.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--color-primary);
}

.catalog-pagination.is-loading .catalog-pagination__more {
  opacity: 0.5;
  pointer-events: none;
}

.project-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 0;
  width: 100%;
  background: #fff;
}

.project-sections__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 25px;
  border-right: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
  background: #fff;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.project-sections__item:hover,
.project-sections__item.is-active {
  background-color: var(--color-primary);
  color: var(--color-white);
  opacity: 1;
}

@media (min-width: 1200px) {
  .project-sections {
    width: fit-content;
    max-width: 100%;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .catalog-hero__inner {
    gap: 50px;
  }

  .catalog-hero__title {
    font-size: 60px;
    letter-spacing: -2.4px;
  }

  .project-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    width: 100%;
    max-width: 560px;
    background: #fff;
  }

  .project-sections__item {
    justify-self: stretch;
    min-height: 34px;
    padding: 10px 15px;
    font-size: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    min-width: 270px;
  }

  .catalog-section .product-grid .product-card .product-card__img-wrap,
  .catalog-section .product-grid > .product-card:nth-child(9n + 3) .product-card__img-wrap,
  .catalog-section .product-grid > .product-card:nth-child(9n + 5) .product-card__img-wrap,
  .catalog-section .product-grid > .product-card:nth-child(9n + 7) .product-card__img-wrap {
    aspect-ratio: auto !important;
    height: 280px !important;
  }

  .product-card__info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .product-card__name,
  .product-card__price {
    font-size: 16px;
    letter-spacing: 0;
  }

  .product-card__price-wrap {
    justify-content: flex-start;
    width: 100%;
  }

  .product-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 12px 16px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
  }

  .catalog-pagination {
    width: 100%;
    margin: 0;
  }

  .catalog-pagination__more {
    width: 100%;
  }

  .catalog-pagination__pages {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .catalog-pagination__pages.is-compact {
    width: auto;
    justify-content: flex-start;
    gap: 14px;
  }
}

@media (max-width: 599px) {
  .catalog-hero__inner {
    gap: 50px;
  }

  .catalog-hero__title {
    font-size: 40px;
    line-height: 0.9;
    letter-spacing: -1.6px;
  }

  .project-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 335px;
    background: #fff;
  }

  .project-sections__item {
    justify-self: stretch;
    min-height: 34px;
    padding: 10px 15px;
    font-size: 14px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-width: 0;
  }

  .catalog-section .product-grid .product-card .product-card__img-wrap,
  .catalog-section .product-grid > .product-card:nth-child(9n + 3) .product-card__img-wrap,
  .catalog-section .product-grid > .product-card:nth-child(9n + 5) .product-card__img-wrap,
  .catalog-section .product-grid > .product-card:nth-child(9n + 7) .product-card__img-wrap {
    aspect-ratio: 600 / 372 !important;
    height: auto !important;
  }

  .product-card__info {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .product-card__name,
  .product-card__price {
    font-size: 16px;
    letter-spacing: 0;
  }

  .product-card__price-wrap {
    justify-content: flex-start;
    width: 100%;
  }

  .catalog-pagination {
    width: 100%;
    margin: 0;
  }

  .catalog-pagination__more {
    width: 100%;
  }

  .catalog-pagination__pages {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .catalog-pagination__pages.is-compact {
    width: auto;
    justify-content: flex-start;
    gap: 14px;
  }

  .product-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 12px 16px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
  }
}

@media (min-width: 900px) and (max-width: 1599px) {
  .catalog-section .product-grid .product-card .product-card__img-wrap {
    aspect-ratio: auto !important;
    height: 372px !important;
  }

  .catalog-section .product-grid > .product-card:nth-child(9n + 3) .product-card__img-wrap,
  .catalog-section .product-grid > .product-card:nth-child(9n + 5) .product-card__img-wrap,
  .catalog-section .product-grid > .product-card:nth-child(9n + 7) .product-card__img-wrap {
    aspect-ratio: auto !important;
    height: 605px !important;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .catalog-hero__title {
    font-size: 90px;
    letter-spacing: -3.6px;
  }

  .product-card__name,
  .product-card__price {
    font-size: 20px;
    letter-spacing: -0.6px;
  }

  .project-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    width: 100%;
    max-width: 820px;
    background: #fff;
  }

  .project-sections__item {
    justify-self: stretch;
    min-height: 34px;
    padding: 10px 15px;
    font-size: 14px;
  }

  .catalog-pagination {
    width: 100%;
    margin: 0;
  }

  .catalog-pagination__more {
    width: 100%;
  }

  .catalog-pagination__pages {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .catalog-pagination__pages.is-compact {
    width: auto;
    justify-content: flex-start;
    gap: 14px;
  }
}

@media (min-width: 1500px) {
  .catalog-pagination-wrap {
    padding-left: calc((100% - 40px) / 3 + 20px);
  }

  .catalog-pagination {
    margin: 0;
  }

  .catalog-section .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .catalog-section .product-grid .product-card .product-card__img-wrap {
    aspect-ratio: 600 / 372 !important;
  }

  .catalog-section .product-grid > .product-card:nth-child(9n + 3) .product-card__img-wrap,
  .catalog-section .product-grid > .product-card:nth-child(9n + 5) .product-card__img-wrap,
  .catalog-section .product-grid > .product-card:nth-child(9n + 7) .product-card__img-wrap {
    aspect-ratio: 600 / 605 !important;
  }
}

/* Typography lock: keep project card text consistent across breakpoints */
.catalog-section .product-grid .product-card .product-card__name,
.catalog-section .product-grid .product-card .product-card__price {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.6px;
}

@media (min-width: 900px) and (max-width: 1199px) {
  .catalog-section .product-grid .product-card .product-card__name,
  .catalog-section .product-grid .product-card .product-card__price {
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.6px;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .catalog-section .product-grid .product-card .product-card__name,
  .catalog-section .product-grid .product-card .product-card__price {
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: 0;
  }
}

/* End */
/* /local/templates/mkit/components/bitrix/catalog.section/mkit_project_section/style.css?177632770914796 */
