

/* Start:/local/templates/preora/css/pages/catalog.css?178048139513422*/
.banner {
  padding-bottom: 75px;
  background: var(--bgDark);
}

.banner__info {
  width: 100%;
  height: 490px;
  background: url(/local/templates/preora/css/pages/../../img/common/bgBanner.jpg) center no-repeat;
  background-size: cover;
}

.banner__box {
  height: 100%;
  position: relative;
}

.banner__content {
  display: flex;
  align-items: center;
  height: 100%;
}

.banner__title {
  width: 40%;
  color: var(--bgLight);
}

.banner__bgProduct {
  position: absolute;
  bottom: -75px;
  right: 0;
  width: 60%;
}

.banner__bgProduct img {
  max-height: 450px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin-left: auto;
}

@media screen and (max-width: 1400px) {
  .banner__info {
    height: 380px;
  }

  .banner__bgProduct {
    width: 56%;
  }
}

@media screen and (max-width: 1200px) {
  .banner__bgProduct {
    width: 50%;
  }
}

@media screen and (max-width: 1000px) {
  .banner {
    padding-bottom: 130px;
  }

  .banner__info {
    padding: 60px 0;
    height: 400px;
  }

  .banner__content {
    align-items: start;
    flex-direction: column;
  }

  .banner__title {
    width: 60%;
  }

  .banner__bgProduct {
    top: 130px;
    width: 70%;
  }
}

@media screen and (max-width: 800px) {
  .banner__info {
    height: 320px;
  }

  .banner__bgProduct {
    width: 60%;
  }
}

@media screen and (max-width: 700px) {
  .banner {
    padding-bottom: 100px;
  }

  .banner__info {
    padding: 40px 0;
    height: 460px;
  }

  .banner__bgProduct {
    width: 80%;
    top: auto;
    bottom: -80px;
  }
}

@media screen and (max-width: 660px) {
  .banner {
    padding-bottom: 80px;
  }

  .banner__info {
    padding: 40px 0;
    height: 280px;
  }

  .banner__bgProduct {
    width: 74%;
    bottom: -120px;
  }
}

@media screen and (max-width: 540px) {
  .banner__bgProduct {
    bottom: -100px;
  }
}

@media screen and (max-width: 430px) {
  .banner {
    padding-bottom: 60px;
  }

  .banner__bgProduct {
    width: 80%;
    bottom: -100px;
  }
}

@media screen and (max-width: 380px) {
  .banner {
    padding-bottom: 60px;
  }

  .banner__bgProduct {
    width: 100%;
  }
}
.main {
  background: var(--bgDark);
}

.main__box {
}

.main__content {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 85px;
}

.main__filters {
}

.main__filters-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  user-select: none;
}

.main__filters-top::after {
  content: "▲";
  font-size: 10px;
  transition: transform 0.2s;
}

.main__filters-top.collapsed::after {
  transform: rotate(180deg);
}

.main__filters-title {
  font-size: 24px;
}

.main__filters-reset {
  font-size: 12px;
}

.main__filters-list {
  margin-top: 36px;
}

.main__filters-list.hidden {
  display: none;
}

.main__filters-item {
  position: relative;
  border-bottom: 1px solid var(--textAccentLightTransparent);

  &:last-of-type {
    border: none;
  }
}

.main__filters-item.active {
  .main__filters-mark::before {
    opacity: 1;
  }

  .main__filters-choice {
    pointer-events: all;
    height: auto;
    opacity: 1;
    margin-bottom: 20px;
  }
}

.main__filters-item.active .main__filters-mark::before {
  opacity: 1;
}

.main__filters-item.active .main__filters-choice {
  pointer-events: all;
  height: auto;
  opacity: 1;
  margin-bottom: 20px;
}

.main__filters-heading {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}

.main__filters-title {
  font-family: var(--Bounded);
  font-weight: 600;
  font-size: 16px;
}

.main__filters-mark {
  width: 14px;
  height: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;

  &::after,
  &::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 2px;
    background: var(--textAccentLight);
  }

  &::before {
    rotate: 90deg;
    opacity: 0;
  }
}

.main__filters-choice {
  opacity: 0;
  height: 0;
  pointer-events: none;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main__filters-choice-item {
}

.main__filters-choice-name {
  font-family: var(--Bounded);
  font-weight: 400;
  font-size: 14px;
}

.main__filters-submit {
  margin-top: 24px;
  width: 100%;
}

/* ── Categories list (sections.php) ── */
.categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 60px 0;
}

.categories__item {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--bgLight);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.categories__item-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 400px;
  background: var(--bgLight);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.categories__item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.categories__item-content {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.categories__item-title {
  font-family: var(--Bounded);
  font-weight: 600;
  font-size: 22px;
  color: var(--textDark);
}

.categories__item-desc {
  font-size: 15px;
  color: var(--textDark);
  opacity: 0.7;
  line-height: 1.5;
}

.categories__item-link {
  align-self: flex-start;
  margin-top: 8px;
}

@media (hover: hover) {
  .categories__item:hover .categories__item-img img {
    transform: scale(1.04);
  }
}

@media screen and (max-width: 700px) {
  .categories {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }

  .categories__item-title {
    font-size: 18px;
  }
}

/* ── Section page extras ── */
.main__catalog-item-power {
  padding: 0 20px 14px;
  font-size: 13px;
  font-family: var(--Bounded);
  font-weight: 500;
  color: var(--textAccentLight);
}

.main__downloads {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ── Element spec table (single) ── */
.specification__single {
  max-width: 640px;
}

/* ── Banner subtitle (back-link to section) ── */
.banner__subtitle {
  font-size: 14px;
  margin-top: 8px;
  opacity: 0.75;
}

.main__catalog-empty {
  color: var(--textMiddle, #6b7280);
  font-size: 16px;
}

.main__catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  justify-content: space-between;
  gap: 60px 30px;
}

.main__catalog-item {
  display: block;
  border-radius: 24px;
  background: var(--bgLight);
}

.main__catalog-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.main__catalog-item-gallery {
  padding: 20px 20px 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  position: relative;
}

.main__catalog-item-img {
  width: 100%;
  height: 100%;
  padding-bottom: 33px;

  img {
    transform: scale(0.8);
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
.main__catalog-item-pagination {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.main__catalog-item-title {
  padding: 0 20px;
  margin: 10px 0;
  font-size: 16px;
  font-family: var(--Bounded);
  font-weight: 600;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  max-height: calc(16px * 3 * 1.55);
}

.main__catalog-item-download {
  display: flex;
  flex-direction: column;
  position: relative;
}

.main__catalog-item-download-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  cursor: pointer;
  margin: 10px 20px 20px auto;
}

.main__catalog-item-download-open {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  top: 0;
  background: var(--textAccentLight);
  border-radius: 0 0 24px 24px;
  padding: 10px 20px 20px;
  pointer-events: none;
  opacity: 0;
  z-index: 20;
}

.main__catalog-item-download-open.active {
  opacity: 1;
  pointer-events: all;
}

.main__catalog-item-download-open-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  cursor: pointer;
  margin-left: auto;
}

.main__catalog-item-download-formats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.main__catalog-item-download-link {
  color: var(--bgLight);
  line-height: 100%;
  border-bottom: 1px solid var(--bgLight);
}

.main__bottom {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.main__btn {
}

.main__nums {
  display: flex;
  align-items: center;
}

.main__num {
  font-size: 18px;
  line-height: 100%;
  font-family: var(--Bounded);
  font-weight: 400;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--textDark);
  opacity: 0.8;
}

.main__num.active {
  opacity: 1;
  font-weight: 700;
  background: var(--bgLight);
}

.main__next {
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--textAccentLight);
  position: relative;

  &::after {
    content: "";
    border-top: 2px solid var(--bgLight);
    border-right: 2px solid var(--bgLight);
    width: 8px;
    height: 8px;
    border-radius: 2px;
    rotate: 45deg;
  }
}

@media (hover: hover) {
  .main__catalog-item:hover {
    .main__catalog-item-img {
      img {
        transform: scale(0.9);
      }
    }
  }

  .main__catalog-item-title:hover {
    color: var(--linkAccentDark);
  }

  .main__catalog-item-download-icon:hover {
    transform: scale(1.1);
  }

  .main__catalog-item-download-open-icon:hover {
    transform: scale(1.1);
  }

  .main__catalog-item-download-link:hover {
    border-bottom-color: transparent;
  }

  .main__num:hover {
    opacity: 1;
  }

  .main__next:hover {
    background: var(--linkAccentDark);
  }
}

@media screen and (max-width: 1400px) {
  .main__catalog-item-title {
    font-size: 14px;
    font-weight: 500;
  }
}

@media screen and (max-width: 1340px) {
  .main__catalog {
    gap: 40px 20px;
  }
}

@media screen and (max-width: 1200px) {
  .main__content {
    gap: 60px;
  }

  .main__filters-title {
    font-size: 14px;
  }

  .main__catalog-item-download-icon {
    width: 20px;
    height: 20px;
    margin: 0 20px 20px auto;
  }

  .main__catalog-item-download-open {
    top: -10px;
  }

  .main__catalog-item-download-open-icon {
    width: 20px;
    height: 20px;
  }

  .main__num {
    font-size: 14px;
    width: 30px;
  }

  .main__next {
    margin-left: 6px;
  }
}

@media screen and (max-width: 1000px) {
  .main__content {
    gap: 80px;
  }

  .main__filters-list {
    margin-top: 24px;
  }

  .main__filters-heading {
    padding: 16px 0;
  }

  .main__catalog {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  .main__catalog-item-download-icon {
    width: 30px;
    height: 30px;
    margin: 10px 20px 20px auto;
  }

  .main__catalog-item-download-open {
    top: 0;
  }

  .main__catalog-item-download-open-icon {
    width: 30px;
    height: 30px;
  }

  .main__bottom {
    flex-direction: column;
    gap: 40px;
  }

  .main__btn {
    margin: 0 auto;
  }
}

@media screen and (max-width: 800px) {
  .main__content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .main__filters-list {
    margin-top: 16px;
  }

  .main__catalog-item {
    border-radius: 16px;
  }

  .main__catalog-item-download-open {
    border-radius: 0 0 16px 16px;
    gap: 10px;
  }

  .main__num {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 560px) {
  .main__content {
    gap: 40px;
  }

  .main__catalog {
    gap: 30px 10px;
  }

  .main__catalog-item-gallery {
    padding: 10px 10px 0;
  }

  .main__catalog-item-title {
    font-size: 12px;
    margin: 0 0 10px;
    padding: 0 10px;
  }

  .main__catalog-item-download-icon {
    margin-bottom: 10px;
  }

  .main__catalog-item-download-icon,
  .main__catalog-item-download-open-icon {
    width: 24px;
    height: 24px;
  }

  .main__catalog-item-pagination {
    .swiper-pagination-bullet {
      width: 8px;
      height: 8px;
    }
  }

  .main__catalog-item-download-open {
    padding: 10px 10px 16px;
  }

  .main__catalog-item-download-link {
    font-size: 12px;
  }

  .main__num {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .main__next {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 420px) {
  .main__catalog-item {
    border-radius: 12px;
  }

  .main__catalog-item-title {
    font-size: 10px;
    margin: 0;
  }

  .main__catalog-item-download-open {
    border-radius: 0 0 12px 12px;
  }
}

/* End */
/* /local/templates/preora/css/pages/catalog.css?178048139513422 */
