

/* Start:/local/components/public2022/catalog.list/templates/.default/style.css?17825869788476*/
/* Базовые элементы управления */
.switchery {
	background-color:#fff;
	border:1px solid #dfdfdf;
	border-radius:20px;
	cursor:pointer;
	display:inline-block;
	height:30px;
	position:relative;
	vertical-align:middle;
	width:50px;
	-moz-user-select:none;
	-khtml-user-select:none;
	-webkit-user-select:none;
	-ms-user-select:none;
	user-select:none;
	box-sizing:content-box;
	background-clip:content-box;
}
.switchery>small {
	background:#fff;
	border-radius:100%;
	box-shadow:0 1px 3px rgba(0,0,0,0.4);
	height:30px;
	position:absolute;
	top:0;
	width:30px;
}
.switchery-small {
	border-radius:15px!important;
	height:15px !important;
	width:28px !important;
}
.switchery-small>small {
	height: 15px !important;
	width: 15px !important;
}

/* ==========================================================================
   СОВРЕМЕННАЯ НАВИГАЦИЯ (ЧИПСЫ-ПИЛЮЛИ В НЕСКОЛЬКО РЯДОВ)
   ========================================================================== */
.catalog-nav-container {
	margin-bottom: 25px;
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
}
.catalog-nav-scroll {
	display: flex;
	flex-wrap: wrap;         /* Перенос на новые ряды */
	justify-content: center; /* Центрирование */
	align-items: center;
	gap: 10px 12px;          /* Отступы по горизонтали и вертикали */
	padding: 10px 15px;
	width: 100%;
	max-width: 900px;        /* Ограничение ширины для красивой укладки */
	margin: 0 auto;
}
.catalog-nav-btn {
	display: inline-block;
	white-space: nowrap;
	padding: 10px 22px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #475569;
	font-size: 14px;
	font-weight: 500;
	border-radius: 30px;
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.catalog-nav-btn:hover {
	background: #ffffff;
	border-color: #49698E;
	color: #49698E;
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(73, 105, 142, 0.1);
}
.catalog-nav-btn.active {
	background: #49698E;
	border-color: #49698E;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(73, 105, 142, 0.2);
}

/* ==========================================================================
   АККУРАТНЫЕ ЧИПСЫ-ПОДРАЗДЕЛЫ (TAGS)
   ========================================================================== */
.subcategory-chips-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}
.subcategory-chip {
	display: inline-block;
	padding: 6px 16px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	color: #475569;
	font-size: 12px;
	font-weight: 500;
	border-radius: 20px;
	text-decoration: none !important;
	transition: all 0.2s ease;
}
.subcategory-chip:hover {
	background: #ffffff;
	border-color: #49698E;
	color: #49698E;
	transform: translateY(-1px);
}

/* ==========================================================================
   МИНИМАЛИСТИЧНЫЕ СОВРЕМЕННЫЕ АЛЕРТЫ
   ========================================================================== */
.alert-modern {
	display: flex;
	align-items: flex-start;
	padding: 15px 20px;
	border-radius: 12px;
	border: none;
	font-size: 13px;
	line-height: 1.5;
	margin-bottom: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.alert-modern .alert-icon {
	font-size: 18px;
	margin-right: 12px;
	flex-shrink: 0;
}
.alert-modern .alert-text {
	color: #475569;
	font-weight: 450;
}
.alert-warning-modern {
	background-color: #fffbeb;
	border-left: 4px solid #f59e0b;
}
.alert-warning-modern .alert-icon {
	color: #d97706;
}
.alert-info-modern {
	background-color: #f0fdf4;
	border-left: 4px solid #10b981;
}
.alert-info-modern .alert-icon {
	color: #059669;
}

/* ==========================================================================
   ЭФФЕКТ ПЛАВНОГО ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ
   ========================================================================== */
.reveal-card {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}
.reveal-card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   ГРИД-СЕТКА НА 5 СТОЛБЦОВ
   ========================================================================== */
.product-grid-modern {
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* 2 колонки на телефонах */
	gap: 20px;
	justify-content: center;
	margin-top: 15px;
}
@media (min-width: 576px) {
	.product-grid-modern {
		grid-template-columns: repeat(3, 1fr); /* 3 колонки на планшетах */
	}
}
@media (min-width: 992px) {
	.product-grid-modern {
		grid-template-columns: repeat(4, 1fr); /* 4 колонки на ноутбуках */
	}
}
@media (min-width: 1200px) {
	.product-grid-modern {
		grid-template-columns: repeat(5, 1fr); /* Ровно 5 колонок на десктопах */
	}
}

/* ==========================================================================
   СОВРЕМЕННЫЙ СТИЛЬ КАРТОЧЕК ТОВАРОВ (ПРОПОРЦИИ 3:4)
   ========================================================================== */
.product {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #f1f5f9;
	transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.5s ease-out;
	transform-style: preserve-3d;
	will-change: transform;
	position: relative;
	cursor: pointer;
	
	/* Пропорции всей карточки строго 3:4 */
	aspect-ratio: 3 / 4; 
	display: flex;
	flex-direction: column;
	width: 100%;
}
.product:hover {
	box-shadow: 0 20px 35px rgba(0, 0, 0, 0.07) !important;
	border-color: #cbd5e1;
	z-index: 5;
}

/* Квадратный контейнер для картинки (занимает 75% высоты карточки) */
.product-img-holder {
	background: #fdfdfd;
	width: 100%;
	aspect-ratio: 1 / 1; /* Ровный квадрат */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
	border-bottom: 1px solid #f8fafc;
	transform: translateZ(20px);
	flex-shrink: 0;
}
.product-img-holder img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Контейнер для текста (занимает оставшиеся 25% высоты карточки) */
.product-info-holder {
	padding: 12px 15px 15px 15px;
	transform: translateZ(35px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-grow: 1;
	overflow: hidden;
	background: #ffffff;
}

/* Выразительное название товара (Montserrat) */
.product .caption {
	height: auto;
	margin-bottom: 4px;
	overflow: hidden;
	text-align: left;
	padding: 0 !important;
	flex-grow: 1;
}
.product .caption a {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #1e293b;
	text-decoration: none !important;
	transition: color 0.2s ease;
	
	/* Ограничение строго до двух строк с троеточием */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.product:hover .caption a {
	color: #49698E;
}

/* Цены и теги */
.product .ratings {
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
}
.product .price-tag {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
}
.product .price-tag span {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
}
.product .secret-tag i {
	font-size: 14px;
	color: #94a3b8;
	transition: color 0.2s ease;
}
.product:hover .secret-tag i {
	color: #49698E;
}

/* Адаптивность текстовой зоны под мобильные */
@media (max-width: 768px) {
	.product-img-holder {
		padding: 8px;
	}
	.product-info-holder {
		padding: 8px;
	}
	.product .caption a {
		font-size: 11px;
		line-height: 1.25;
	}
	.product .price-tag {
		font-size: 10px;
	}
	.product .price-tag span {
		font-size: 13px;
	}
}

/* Скрытие устаревших элементов */
.urlcatalog, #form-shapka, .col-lg-3.col-md-4 {
	display: none !important;
}
/* End */
/* /local/components/public2022/catalog.list/templates/.default/style.css?17825869788476 */
