

/* Start:/local/components/public2022/catalog.list/templates/.default/style.css?17825116318217*/
/* Базовые компоненты */
.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;
}

/* ==========================================================================
   СОВРЕМЕННАЯ НАВИГАЦИЯ (ЦЕНТРИРОВАНИЕ В 2 РЯДА БЕЗ СКРОЛЛА)
   ========================================================================== */
.catalog-nav-container {
	margin-bottom: 30px;
	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;          /* Отступы: 10px по вертикали между рядами, 12px по горизонтали */
	padding: 10px 15px;
	width: 100%;
	max-width: 850px;        /* Ограничение ширины для красивого деления на 2 ряда */
	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;
	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);
	text-decoration: none;
}
.catalog-nav-btn.active {
	background: #49698E;
	border-color: #49698E;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(73, 105, 142, 0.2);
}

/* ==========================================================================
   МИНИМАЛИСТИЧНЫЕ ПРЕДУПРЕЖДЕНИЯ (ALERTS)
   ========================================================================== */
.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);
}

/* ==========================================================================
   НОВЫЙ СТИЛЬ КАРТОЧЕК ТОВАРОВ (ФОРМАТ 3:4)
   ========================================================================== */
.product {
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #f1f5f9;
	transition: box-shadow 0.3s ease, transform 0.5s ease-out;
	transform-style: preserve-3d;
	will-change: transform;
	position: relative;
	
	/* Пропорции всей карточки строго 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: #e2e8f0;
	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;
}

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

/* Цены и скрытые метки */
.product .ratings {
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto; /* Прижимаем цену к самому низу */
}
.product .price-tag {
	font-size: 11px;
	color: #64748b;
	font-weight: 500;
	white-space: nowrap;
}
.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;
}

/* ==========================================================================
   КАРТОЧКА ПОДРАЗДЕЛА (БЕЗ КАРТИНКИ - СБРОС ПРОПОРЦИИ 3:4)
   ========================================================================== */
.subcategory-card {
	aspect-ratio: auto !important; /* Отменяем 3:4, чтобы не было пустых блоков */
	min-height: 80px;
	padding: 15px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.subcategory-link {
	font-size: 14px;
	font-weight: 600;
	color: #334155 !important;
	text-decoration: none;
	transition: color 0.2s ease;
}
.subcategory-card:hover .subcategory-link {
	color: #49698E !important;
}

/* ==========================================================================
   АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ СТРОК
   ========================================================================== */
@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;
	}
	.subcategory-card {
		min-height: 65px;
	}
}
/* End */
/* /local/components/public2022/catalog.list/templates/.default/style.css?17825116318217 */
