

/* Start:/local/templates/ugla-shop/components/bitrix/catalog/katalog/style.css?17500909675497*/
.block--catalog-group {
	margin-top: 40px !important;
}

.block--catalog {
	margin-top: 40px !important;
}

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

.catalog__sort {
}
.catalog__sort .sort__values {
	height: 0;
	overflow: hidden;
	transition: 0.3s;
}
.catalog__sort .sort__item {
	margin-top: 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.catalog__sort .sort__values a {
	color: #7C7C7C;
	font-size: calc(15px + 0 * ((100vw - 375px) / 1575));
}

body {
	@media screen and (max-width: 1024px) {
		.bx-filter {
			#modef.bx-filter-popup-result {
				border: 0;
				background-color: transparent;

				a {
					height: 67px;
					width: calc(100% - 30px);
					margin-left: auto;
					margin-right: auto;
					background-color: #CB2032;
					margin-bottom: 15px;
					color: #fff !important;
					display: flex !important;
					align-items: center;
					justify-content: center;
					column-gap: 4px;
					font-size: 20px;
					font-weight: 400;

					&::before {
						content: '';
						position: absolute;
						left: 0;
						top: 0;
						right: 0;
						bottom: 0;
					}

					&:hover {
						background-color: #CB2032;
					}
				}
			}
		}

		&.catalog-filter-shown {
			.header {
				height: 65px;

				.header__filter {
					display: block;

					.clear {
						display: flex;
						align-items: center;
						justify-content: start;
						column-gap: 5px;

						font-weight: 400;
						font-size: 16px;
						color: #CB2032;

						.icon {
							width: 24px;
							height: 24px;

							path {
								fill: #CB2032;
							}
						}
					}

					.back {
						display: none;


					}
				}

				.header__logo, .header__search, .header__wishlist, .header__basket, .header__login {
					display: none;
				}

				.header__mobile {
					.icon {
						&.icon--mobile-menu-2 {
							display: none;
						}
						&.icon--close {
							display: flex;
						}
					}
				}
			}

			.catalog {
				&::before {
					content: '';
					position: absolute;
					z-index: 98;
					left: 0;
					top: 0;
					right: 0;
					bottom: 0;
					background-color: var(--popup-background);
				}
			}
		}

		&.catalog-filter-shown-item {
			.header {
				.header__filter {
					.clear {
						display: none;
					}
					.back {
						display: block;

						path {
							fill: #000;
						}
					}
				}
			}

			.catalog__sidebar {
				.catalog__sort:not(.catalog-sidebar-item-active) {
					display: none !important;
				}
				.bx-filter-parameters-box:not(.catalog-sidebar-item-active) {
					display: none;
				}
				.submit-buttons {
					display: none;
				}
			}
		}
	}
}

.catalog__sidebar {
	.catalog__sort {
		.sort__head {
			font-weight: 400;
		}
		.sort__item {
			margin-top: 30px;
		}
	}

	@media screen and (max-width: 1024px) {
		& {
			height: calc(100vh - 128px) !important;
			overflow: hidden;
			overflow-y: auto;

			&::before {
				background-color: #fff !important;
			}

			.catalog__sort, .catalog__filter {
				background-color: #fff !important;

				&.catalog__sort {
					display: block !important;
					padding: 15px;
					border: 0 !important;
					z-index: 0;
					/* margin-top: 54px; */

					.sort__values {
						/* display: none; */
						height: auto !important;
						
						.sort__item {
							margin-top: 30px;
						}
					}

					&:not(.catalog-sidebar-item-active) {
						.sort__values {
							display: none;
						}
					}

					.button.sort-mobile {
						display: none;
					}
				}

				&.catalog__filter {
					border: 0 !important;
					z-index: 1;

					.bx-filter {
						height: auto;
						overflow: visible;

						.bx-filter-section {
							background-color: #fff !important;

							.bx-filter-parameters-box {
								border: 0 !important;
								padding: 15px;

								.bx-filter-parameters-box-title {
									.icon--plus {
										display: flex !important;
									}
									.icon--minus {
										display: none !important;
									}
								}
			
								&.catalog-sidebar-item-active {
									.bx-filter-parameters-box-title {
										display: none !important;

										.icon--plus {
											display: none !important;
										}
										.icon--minus {
											display: flex !important;
										}
									}

									.bx-filter-block {
										margin-top: 0 !important;
									}
								}
								
								.bx-filter-block {
									display: block !important;
									margin-top: 30px;
								}
			
								&:not(.catalog-sidebar-item-active) {
									.bx-filter-block {
										display: none !important;
									}
								}
							}

							#set_filter, #show_more_filter {
								display: none;
							}

							#del_filter {
								background-color: #fff !important;
								justify-content: start;
								column-gap: 5px;
								padding: 0 15px;

								display: none;
								/* position: absolute;
								left: 0;
								top: -108px;
								z-index: 2; */

								.icon {
									order: -1;
								}
							}
						}
					}
				}
			}
		}
	}
}

.catalog-description {
	margin-top: 30px;
}


@media screen and (max-width: 1024px) {
	.wrapper {
		margin-top: 98px !important;

		main {
			padding-top: 0;
			margin-top: -8px !important;
		}
		.header-marquee ~ main {
			padding-top: 22px;
			margin-top: 0 !important;
		}
	}

	section.block--breadcrumbs {
		display: none;

		& + section.block {
			margin-top: 0px !important;
		}
	}
}

@media screen and (max-width: 768px) {
	.catalog {
		flex-direction: column;
	}
}
/* End */


/* Start:/local/templates/ugla-shop/components/bitrix/catalog.section.list/.default/style.css?1711524200963*/
.sections {
  display: grid;
  row-gap: 40px;
  column-gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}

.sections__item {
  width: 100%;
}

.sections__image {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background-color: var(--categories-background);
}
.sections__image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.sections__name {
  margin-top: 15px;
  font-size: calc(16px + 4 * ((100vw - 375px) / 1575));
}

.sections__item:hover .icon--arrow-more {
  transform: translateX(-10px);
}

@media screen and (max-width: 1200px) {
  .sections {
    text-transform: lowercase;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 991px) {
  .sections {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 370px) {
  .sections {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* End */
/* /local/templates/ugla-shop/components/bitrix/catalog/katalog/style.css?17500909675497 */
/* /local/templates/ugla-shop/components/bitrix/catalog.section.list/.default/style.css?1711524200963 */
