

/* Start:/local/templates/ugla-shop/components/bitrix/news.detail/collections_2/style.css?178782434010446*/
main > .block--group:first-child {
  margin-top: 120px !important;
}
.block--collection ~ .block--products {
  /* margin-top: -50px; */
}
.collection {
  display: flex;
  align-items: stretch;
  column-gap: 140px;

  .collection__gallery {
    width: 690px;
    min-width: 690px;
    display: flex;
    align-items: stretch;
    column-gap: 20px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .collection__carousel {
      width: 98px;
      min-width: 98px;
      height: 420px;
      overflow: hidden;

      .swiper {
        max-height: 100%;
      }

      .swiper-slide {
        height: 80px;
        min-height: 80px;
        max-height: 80px;
        cursor: pointer;
      }

      .collection__carousel-item {
        width: 100%;
        height: 80px;
        overflow: hidden;

        img {
          width: 98px;
          height: 80px;
          scale: 1;
          transition: .3s;
        }

        &:hover img {
          scale: 1.05;
        }
      }
    }

    .collection__slider {
      width: 572px;
      min-width: 572px;
      height: 420px;
      
      .collection__slider-item {
        overflow: hidden;
        cursor: pointer;

        img {
          width: 572px;
          height: 420px;
        }
      }
    }
  }

  .collection__description {
    display: flex;
    flex-direction: column;
    row-gap: 40px;

    .collection__logo {
      margin-top: auto;

      .icon {
        width: 38px;
        height: 40px;
      }
    }
  }
}

.collection__carousel-item, .collection__slider-item {
  position: relative;
  z-index: 0;
}
.collection__carousel-item .icon, .collection__slider-item .icon {
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.collection__carousel-item .icon svg {
  width: 40px;
  height: 40px;
}
.collection__slider-item .icon svg {
  width: 100px;
  height: 100px;
}

/* swiper navigation */
.collection__carousel {
    position: relative;
}

.collection__carousel .swiper-button-next,
.collection__carousel .swiper-button-prev {
    z-index: 10;
    height: 30px;
    left: 0;
    right: 0;
    margin: 0;
    color: #fff;
    width: auto;
	user-select: none;
}

.collection__carousel .swiper-button-prev {
    top: 0;
    background: linear-gradient(180deg, black, transparent);
}

.collection__carousel .swiper-button-prev:after {
    transform: rotate(90deg);
}

.collection__carousel .swiper-button-next:after,
.collection__carousel .swiper-button-prev:after {
    font-size: 20px;
}

.collection__carousel .swiper-button-next {
    bottom: 0;
    background: linear-gradient(0deg, black, transparent);
    top: auto;
}

.collection__carousel .swiper-button-next:after {
    transform: rotate(90deg);
}

.collection__slider .swiper-button-prev,
.collection__slider .swiper-button-next {
    color: white;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
	user-select: none;
}

@media screen and (max-width: 1100px) {
  .collection {
    column-gap: 20px;

    .collection__gallery {
      width: 582px;
      min-width: 582px;

      .collection__carousel {
        width: 82px;
        min-width: 82px;
        height: 352px;

        .swiper-slide {
          height: 67px;
          min-height: 67px;
          max-height: 67px;
          cursor: pointer;
        }
  
        .collection__carousel-item {
          width: 100%;
          height: 67px;
          overflow: hidden;
  
          img {
            width: 82px;
            height: 67px;
          }
        }
      }

      .collection__slider {
        width: 480px;
        min-width: 480px;
        height: 352px;
        
        .collection__slider-item {
          img {
            width: 480px;
            height: 352px;
          }
        }
      }
    }

    .collection__logo {
      display: none;
    }
  }
}

@media screen and (max-width: 768px) {
  .collection {
    flex-direction: column;
    row-gap: 40px;

    .collection__gallery {
      flex-direction: column;
      row-gap: 4px;
      width: 100%;
      min-width: 100%;

      .collection__carousel {
        width: 100%;
        min-width: 100%;
        height: auto;

        .swiper-slide {
          height: auto;
          min-height: auto;
          max-height: 100%;
          cursor: pointer;
        }
  
        .collection__carousel-item {
          width: auto;
          height: auto;
          overflow: hidden;
  
          img {
            width: auto;
            height: auto;
          }
        }
      }

      .collection__slider {
        width: 100%;
        min-width: 100%;
        height: auto;
        order: -1;
        
        .collection__slider-item {
          img {
            width: 100%;
            height: auto;
          }
        }
      }
    }
  }

  .block--products {
    margin-top: -50px;
  }

  /* swiper navigation */
  .collection__carousel .swiper-button-next,
  .collection__carousel .swiper-button-prev {
    width: 30px;
    height: auto;
    top: 0;
    bottom: 0;
    left: auto;
    right: auto;
  }

  .collection__carousel .swiper-button-prev {
    left: 0;
    background: linear-gradient(90deg, black, transparent);
  }

  .collection__carousel .swiper-button-prev:after {
    transform: rotate(0deg);
  }

  .collection__carousel .swiper-button-next:after,
  .collection__carousel .swiper-button-prev:after {
    font-size: 20px;
  }

  .collection__carousel .swiper-button-next {
    right: 0;
    background: linear-gradient(270deg, black, transparent);
  }

  .collection__carousel .swiper-button-next:after {
    transform: rotate(0deg);
  }
}

/* ========== Стили для каталога внутри коллекции ========== */
.block--catalog {
  margin-top: 40px !important;
}

.catalog {
  display: flex;
  column-gap: 24px;
  align-items: flex-start;
  min-height: 600px;
}

/* Сайдбар */
.catalog__sidebar {
  flex: 0 0 250px;
  max-width: 250px;
}

.catalog__categories {
  margin-bottom: 30px;
}

.category-tree {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-tree__group {
  margin-bottom: 8px;
}

.category-tree__parent-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s;
  cursor: pointer;
}

.category-tree__parent-toggle:hover,
.category-tree__parent-toggle.active {
  background: #f5f5f5;
}

.category-tree__parent-link {
  text-decoration: none;
  color: #000;
  font-size: 15px;
  font-weight: 400;
  flex: 1;
}

.category-tree__parent-link.active {
  color: #CB2032;
}

.category-tree__count {
  font-size: 13px;
  color: #7C7C7C;
  margin-left: 8px;
}

/* Горизонтальная панель фильтра */
.catalog__filter-horizontal {
  margin-bottom: 20px;
}

/* Правая часть с товарами */
.catalog__products {
  flex: 1;
  min-width: 0;
}

/* Мобильная адаптация */
@media screen and (max-width: 768px) {
  .catalog {
    flex-direction: column;
  }
  .catalog__sidebar {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  .catalog__filter-horizontal {
    margin-bottom: 10px;
  }
}

/* ========== Мобильные элементы (кнопки и панели) ========== */

/* По умолчанию скрываем кнопки и панель категорий; фильтр-панель оставляем управляться шаблоном */
.filter-sort-mobile,
.catalog-mobile-panel {
  display: none;
}

/* На мобильных (до 1024px) показываем кнопки и управляем панелями */
@media screen and (max-width: 1024px) {
  /* Скрываем десктопный горизонтальный фильтр, т.к. используется мобильная панель */
  /* .catalog__filter-horizontal {
    display: none;
  } */

  /* Кнопки фильтра и каталога */
  .filter-sort-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 0 15px;
  }

  .filter-sort-mobile .button {
    column-gap: 4px;
    font-size: 14px;
    flex: 1;
    text-align: center;
  }

  .filter-sort-mobile .button .icon {
    width: 14px;
    height: 14px;
  }

  .filter-sort-mobile .button.filter-mobile .icon {
    order: -1;
  }

  /* Фиксированная плавающая панель (когда скроллим вниз) */
  .block--catalog .filter-sort-mobile {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    transition: .3s;
    width: var(--container-width);
    max-width: 100%;
  }

  .block--catalog .filter-sort-mobile--show {
    opacity: 1;
    visibility: visible;
    top: 60px;
    z-index: 99;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  /* Выезжающая панель категорий */
  .catalog-mobile-panel {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: calc(100% - 65px);
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding-bottom: 150px;
    scrollbar-color: #cb2032 transparent;
    scrollbar-width: thin;
  }

  .catalog-mobile-panel.open {
    left: 0;
  }

  .catalog-mobile-panel__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    border-bottom: none;
  }

  .catalog-mobile-panel__close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }

  .catalog-mobile-panel__body {
    padding: 0 20px 20px;
    flex: 1;
    overflow-y: auto;
  }

  /* Блокируем скролл body при открытой панели */
  body.catalog-mobile-panel-open {
    overflow: hidden;
  }

  /* Стили для кнопки «Каталог» */
  .catalog-toggle-btn {
    display: block;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}
/* End */


/* Start:/local/templates/ugla-shop/components/bitrix/catalog.smart.filter/horizontal_dropdown/style.css?178774906813155*/
/* ==========================================================================
   Горизонтальный фильтр
   ========================================================================== */

.bx-filter-horizontal .bx-filter-parameters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.bx-filter-param-block {
    position: relative;
}

.bx-filter-param-title {
    cursor: pointer;
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #000;
}

.bx-filter-param-title span {
    flex: 1;
}

.bx-filter-param-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    transform: rotate(180deg);
}

.bx-filter-param-block.open .bx-filter-param-arrow {
    transform: rotate(0deg);
}

/* Выпадающий список */
.bx-filter-param-values {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #e0e0e0;
    min-width: 335px;
    max-height: 365px;
    z-index: 10;
    margin-top: 0;
    flex-direction: column;
    background: #F0F0F0;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.15);
}

.sort__values {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bx-filter-param-block.open .bx-filter-param-values {
    display: flex;
}

/* Прокручиваемый контейнер для контента */
.bx-filter-param-content {
    padding: 20px 20px 1px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-color: #cb2032 transparent;
    scrollbar-width: thin;
    flex: 1;
    gap: 15px;
}

/* Фиксированный футер */
.bx-filter-param-footer {
    display: none;
    padding: 20px;
    background-color: #F0F0F0;
    flex-direction: column;
    gap: 10px;
}

.bx-filter-param-block.open .bx-filter-param-footer {
    display: flex;
}

.bx-filter-param-apply {
    text-align: center;
}

.btn-apply-inline {
    width: 100%;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    background: #000;
}

.btn-apply-inline:hover {
    background: #333;
}

.bx-filter-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-apply {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 15px;
}

.btn-apply:hover {
    background: #333;
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #757575;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-reset svg {
    height: 15px;
    width: 15px;
}

.btn-reset:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #333;
}

/* Активный блок */
.bx-filter-param-block.active .bx-filter-param-title {
    background: #000;
    border-color: #000;
    color: #fff;
}

.bx-filter-param-block.active .bx-filter-param-arrow path {
    fill: #fff;
}

/* ==========================================================================
   Ползунок цены (внутри выпадающего списка) – единственный блок
   ========================================================================== */
.bx-filter-param-price-slider {
    padding: 10px 0;
}

.bx-filter-param-price-slider .bx-ui-slider-track-container {
    padding: 30px 10px 10px;
}

.bx-filter-param-price-slider .bx-ui-slider-track {
    position: relative;
    height: 4px;
    background: #e0e0e0;
    margin: 0 10px;
}

.bx-filter-param-price-slider .bx-ui-slider-range {
    position: absolute;
    top: 0;
    bottom: 0;
    background: #000;
    z-index: 2;
    left: 0%;
    right: 0%;
}

.bx-filter-param-price-slider .bx-ui-slider-handle {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    transition: box-shadow 0.2s;
}

.bx-filter-param-price-slider .bx-ui-slider-handle:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.bx-filter-param-price-slider .bx-ui-slider-handle.left {
    position: absolute;
    left: 0;          /* всегда в начале range */
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;        /* убираем любые смещения */
}

.bx-filter-param-price-slider .bx-ui-slider-handle.right {
    position: absolute;
    right: 0;         /* всегда в конце range */
    top: 50%;
    transform: translate(50%, -50%);
    margin: 0;
}

.bx-filter-param-price-slider .bx-filter-parameters-box-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.price-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.price-label span {
    font-size: 13px;
    color: #666;
    margin-left: 2px;
}

.bx-filter-param-price-slider .min-price,
.bx-filter-param-price-slider .max-price {
    width: 100%;
    height: 36px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* ==========================================================================
   Сортировка (выпадающий список в фильтре)
   ========================================================================== */
.sort-dropdown .sort__head {
    cursor: pointer;
    display: flex;
    padding: 10px 15px;
    align-items: center;
    gap: 10px;
    border: 1px solid #000;
    border-radius: 4px;
    background: #fff;
}

.sort-dropdown .sort__values {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    gap: 15px;
}

.sort-dropdown.open .sort__values {
    display: flex;
}

.sort-dropdown .sort__item {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.sort-dropdown .sort__item:hover {
    background: #f0f0f0;
}

.sort-dropdown .sort__item a {
    flex: 1;
    text-decoration: none;
    color: #000;
    font-size: 14px;
}

.sort-dropdown .sort__item .icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.btn-reset-inline {
    border: none;
    background: transparent;
    display: flex;
    align-items: end;
    line-height: 1;
}

.btn-reset-inline span {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.btn-reset-inline  span:hover {
    text-decoration-line: none;
}

.btn-reset-inline svg {
    width: 14px;
    height: 14px;
    color: #000;
    opacity: 1;
}

.btn-reset-inline svg:hover {
    color: #000;
    opacity: 1;
}

.btn-reset-inline-dropdown {
    display: flex;
    align-items: end;
    line-height: 1;
}

.btn-reset-inline-dropdown span {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    text-decoration-line: underline;
}

.btn-reset-inline-dropdown span:hover {
    text-decoration-line: none;
}

.btn-reset-inline-dropdown svg {
    width: 14px;
    height: 14px;
}

.bx-filter-param-text {
    font-size: 14px;
}

/* Кнопка «Очистить» внутри футера */
.btn-reset-inline-dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    color: #757575;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-reset-inline-dropdown:hover {
    color: #333;
}

/* ==========================================================================
   Мобильная панель фильтра
   ========================================================================== */
.filter-toggle-btn {
    display: none;
}

.filter-mobile-panel__header {
    display: none;
}

@media (max-width: 1024px) {
    .bx-filter-horizontal .bx-filter-parameters-row {
        /* display: none; */
    }
    .filter-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        padding: 10px 15px;
        background: transparent;
        border: none;
        font-size: 14px;
        color: #000;
    }
    .filter-mobile-panel {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100%;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
    }
    .filter-mobile-panel.open {
        right: 0;
    }
    .filter-mobile-panel__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #eaeaea;
    }
    .filter-mobile-panel__title {
        font-size: 18px;
        font-weight: 600;
    }
    .filter-mobile-panel__close {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        padding: 0;
        line-height: 1;
    }
    .filter-mobile-panel__body {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
    }
    body.filter-panel-open {
        overflow: hidden;
    }

    /* Исправление сайдбара – возвращаем мобильное поведение */
    .catalog__sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 375px;
        height: 100%;
        z-index: 999;
        transition: left 0.3s ease;
        background: #fff;
    }
    .catalog__sidebar.open {
        left: 0;
    }
}


.bx-filter-param-content .checkbox {
    position: relative;
}

.bx-filter-param-content .checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.bx-filter-param-content .checkbox .bx-filter-param-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}


.bx-filter-param-content .checkbox .bx-filter-param-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: transparent;
    /* border: 1px solid #ccc; */
    transition: background 0.2s, border-color 0.2s;
    position: absolute;
}


.bx-filter-param-content .checkbox input[type="checkbox"]:checked + .bx-filter-param-text + .checkbox-checkmark {
    display: block;
}

.bx-filter-param-content .checkbox input[type="checkbox"]:checked ~ .checkbox-checkmark {
    display: block;
}

.bx-filter-param-content .checkbox input[type="checkbox"]:checked + .bx-filter-param-text::before {
    background: #CB2032;
}


.bx-filter-param-content .checkbox .checkbox-checkmark {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    width: 24px;
    height: 24px;
}


.bx-filter-param-content .checkbox input[type="checkbox"]:checked ~ .checkbox-checkmark {
    display: block;
}


.bx-filter-param-content .checkbox .bx-filter-param-label::before {
    /* оставляем, т.к. это фон */
}

/* Кастомные чекбоксы в фильтре */
.bx-filter-param-content .checkbox {
    position: relative;
}

.bx-filter-param-content .checkbox .bx-filter-param-label {
    display: flex;
    align-items: center;
    /* gap: 10px; */
    cursor: pointer;
}

/* Прячем нативный чекбокс */
.bx-filter-param-content .checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Визуальный квадрат (через псевдоэлемент span) */
.bx-filter-param-content .checkbox .bx-filter-param-text::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 1px solid #ccc;
    background: transparent;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
    vertical-align: middle;
    margin-right: 10px;
}

/* При выборе – красный фон */
.bx-filter-param-content .checkbox input[type="checkbox"]:checked ~ .bx-filter-param-text::before {
    background: #CB2032;
    border-color: #CB2032;
}

/* SVG-галочка (скрыта по умолчанию) */
.bx-filter-param-content .checkbox .checkbox-checkmark {
    display: none;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* Показываем SVG при отмеченном чекбоксе */
.bx-filter-param-content .checkbox input[type="checkbox"]:checked ~ .checkbox-checkmark {
    display: block;
}
/* End */


/* Start:/local/templates/ugla-shop/components/bitrix/system.pagenavigation/common/style.css?17877490961384*/
.pagenavigator {
  margin-top: 120px;
}

.pagenavigator__list {
  display: flex;
  column-gap: 10px;
  align-items: center;
  justify-content: start;
}
.pagenavigator__list, .pagenavigator__item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagenavigator__link, .pagenavigator__current, .pagenavigator__dots {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pagenavigator-color);
  border: 1px solid var(--pagenavigator-border);
  background-color: var(--pagenavigator-background);
  font-size: calc(16px + 8 * ((100vw - 375px) / 1575));
}
.pagenavigator__link:hover {
  color: var(--pagenavigator-action-color);
  border-color: var(--pagenavigator-action-border);
}
.pagenavigator__current {
  color: var(--pagenavigator-action-color);
  border-color: var(--pagenavigator-action-border);
  background-color: var(--pagenavigator-action-background);
}
.pagenavigator__dots {
  background-color: transparent;
  border-color: transparent;
}

@media screen and (max-width: 768px) {
  .pagenavigator {
    margin-top: 50px;
    
    .pagenavigator__list {
      column-gap: 5px;
      row-gap: 5px;
      flex-wrap: wrap;

      .pagenavigator__link, .pagenavigator__current, .pagenavigator__dots {
        width: 44px;
        height: 44px;
      }
    }
  }
}
/* End */


/* Start:/local/templates/ugla-shop/components/bitrix/catalog.section/.default/style.css?17877490651390*/
.catalog__sidebar {
    flex: none;
	width: 342px;
	height: auto;
	/* position: sticky; */
	/* top: 90px; */
	z-index: 5;
	/* background-color: var(--category-sidebar-background); */
}

.catalog__sort {
	padding: 24px;
	position: relative;
	background-color: var(--category-sidebar-background);
}
.sort__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-weight: 600;
}
.sort__head i.icon {
	width: 24px;
	height: 24px;
}

.catalog__sidebar ~ .catalog__products {
	/* width: calc(100% - 342px); */
	width: 100%;
}

.catalog__filter {
	position: relative;
	background-color: var(--category-sidebar-background);
}
.catalog__filter ~ .catalog__products .products {
	grid-template-columns: repeat(3, 1fr);
}

.catalog--sidebar-fixed {
    padding-left: 366px;
    position: relative;
}

.catalog--sidebar-fixed .catalog__sidebar {
    flex: none;
    position: fixed;
    top: var(--header-height);
    bottom: var(--bottom-position);
    left: var(--left-position);
    overflow-y: auto;
	scrollbar-color: #cb2032 transparent;
	scrollbar-width: thin;
}

.catalog--sidebar-fixed .catalog__sidebar::-webkit-scrollbar {
    width: 5px;
}

.catalog--sidebar-fixed .catalog__sidebar::-webkit-scrollbar-thumb {
    background: #cb2032;
    border-radius: 5px;
}

.catalog--sidebar-fixed .catalog__sidebar ~ .catalog__products {
    width: 100%;
}


/* End */
/* /local/templates/ugla-shop/components/bitrix/news.detail/collections_2/style.css?178782434010446 */
/* /local/templates/ugla-shop/components/bitrix/catalog.smart.filter/horizontal_dropdown/style.css?178774906813155 */
/* /local/templates/ugla-shop/components/bitrix/system.pagenavigation/common/style.css?17877490961384 */
/* /local/templates/ugla-shop/components/bitrix/catalog.section/.default/style.css?17877490651390 */
