

/* Start:/local/templates/tkanililiya_custom/components/bitrix/catalog.section.list/bootstrap_v4/style.css?17715202105586*/
.catalog-section-list-item { }

.catalog-section-list-item-title {
	overflow: hidden;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	text-align: center;
	text-overflow: ellipsis;
	font-size: 14px;
	line-height: 20px;
}

.catalog-section-list-item-link {
	vertical-align: middle;
	font-size: 14px;
	line-height: 20px;
}

.catalog-section-list-item-counter {
	vertical-align: middle;
	font-size: 12px;
	line-height: 20px;
}

.catalog-section-list-item-description { font-size: 13px; }

.catalog-section-list-item-img {
	display: block;
	padding-top: 100%;
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 2px;
	background-color: #fff;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transition: 250ms linear all;
}

.catalog-section-list-item-img:hover { border-color: var(--theme-color-primary); }

/* region Line */
.catalog-section-list-line-list {
	padding: 0;
	list-style: none;
}

.catalog-section-list-line-list .catalog-section-list-item {
	display: flex;
	margin-bottom: 15px;
	align-items: flex-start;
}

.catalog-section-list-line-list .catalog-section-list-item-title { text-align: left; }

.catalog-section-list-line-img-container {
	padding-right: 15px;
	min-width: 75px;
	width: 75px;
}

.catalog-section-list-line-list .catalog-section-list-titles {
	margin: 0;
	line-height: 20px;
}

/*endregion*/

/*region Text */
.catalog-section-list-text-list {
	padding: 0;
	list-style: none;
	column-count: 3;
}

.catalog-section-list-text-list .catalog-section-list-item-title { text-align: left; }

@media (max-width: 767px) {
	.catalog-section-list-text-list { column-count: 1; }
}

/*endregion*/

/*region Tile */

.catalog-section-list-tile-list {
	padding: 0;
	list-style: none;
}

.catalog-section-list-tile-img-container { width: 100%; }

/*endregion*/

/* list */

.catalog-section-list-list { margin-bottom: 30px; }

.catalog-section-list-list .catalog-section-list-item {
	padding: 0;
	line-height: 16px;
}

.catalog-section-list-list .catalog-section-list-item:before { content: '' !important }

.catalog-section-list-list-title {
	display: inline-block;
	margin: 0;
	margin-bottom: 10px;
	padding: 0;
	vertical-align: top;
	font-weight: normal;
	font-size: 12px;
	line-height: 16px;
}

.catalog-section-list-list-link {
	white-space: nowrap;
	font-size: 13px;
}

.catalog-section-list-list-link:hover { text-decoration: none }

.catalog-section-list-list-title span { font-size: 11px; }

@media (max-width: 639px) {
	.bx-touch .catalog-section-list-list .bx_catalog_line_title {
		margin-bottom: 5px;
		line-height: 12px;
	}

	.bx-touch .catalog-section-list-list .bx_catalog_line_title a { font-size: 12px; }
}

.catalog-section-list-list-title,
.catalog-section-list-list-link { transition: all 0.3s ease; }

/* ============================================
   Ткани Лилия - Кастомные стили категорий
   ============================================ */

/* Сетка категорий (TILE mode) */
.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 1rem;
}

.categories-grid .category-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: transform 0.2s, box-shadow 0.2s;
	text-decoration: none !important;
	color: inherit;
}

.categories-grid .category-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	text-decoration: none !important;
	color: inherit;
}

.categories-grid .category-card-image-wrapper {
	position: relative;
	padding-top: 100%;
	background: #f8f8f8;
	overflow: hidden;
}

.categories-grid .category-card-image-wrapper img,
.categories-grid .category-card-image {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center top;
	transition: transform 0.3s;
}

.categories-grid .category-card:hover .category-card-image,
.categories-grid .category-card:hover .category-card-image-wrapper img {
	transform: scale(1.05);
}

.category-card-body {
	padding: 1rem;
	text-align: center;
}

.category-card-title {
	font-size: 1rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 0.25rem;
}

.category-card-count {
	font-size: 0.85rem;
	color: #888;
}

/* Кнопки категорий (LINE mode) */
.category-buttons-wrapper {
	overflow-x: auto;
	padding-bottom: 0.5rem;
	margin-bottom: 1rem;
}

.category-buttons-list {
	display: flex;
	gap: 0.5rem;
	flex-wrap: nowrap;
}

.category-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 20px;
	color: #333;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.2s;
}

.category-btn:hover {
	background: #e8e8e8;
	text-decoration: none;
	color: #333;
}

.category-btn.active {
	background: var(--primary, #007bff);
	border-color: var(--primary, #007bff);
	color: #fff;
}

.category-btn-name {
	font-weight: 500;
}

.category-btn-count {
	font-size: 0.8rem;
	opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 768px) {
	.categories-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.category-card-body {
		padding: 0.75rem;
	}

	.category-card-title {
		font-size: 0.9rem;
	}

	/* Скрываем кнопки категорий на мобильных */
	.catalog-category-buttons {
		display: none !important;
	}
}
/* End */


/* Start:/local/templates/tkanililiya_custom/components/bitrix/catalog.section/bootstrap_v4/style.css?17715202107421*/

/* ============================================
   Ткани Лилия - Кастомные стили карточек товаров
   ============================================ */

/* Сетка товаров */
.fabrics-catalog .products-grid {
	margin: 0 -0.5rem;
}

.fabrics-catalog .product-col {
	padding: 0.5rem;
}

/* Карточка товара */
.product-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	transition: transform 0.2s, box-shadow 0.2s;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-card.not-available {
	opacity: 0.6;
}

/* Изображение товара */
.product-card-image-wrapper {
	position: relative;
	padding-top: 100%;
	background: #f5f5f5;
	overflow: hidden;
}

.product-card-image-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.product-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.product-card:hover .product-card-image {
	transform: scale(1.05);
}

.product-card-no-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ccc;
}

.product-card-no-image .material-symbols-outlined {
	font-size: 48px;
}

/* Бейджи */
.product-card-badges {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	z-index: 2;
}

.product-card-badges .badge {
	font-size: 0.7rem;
	padding: 0.25rem 0.5rem;
	font-weight: 600;
}

.badge-new {
	background: #28a745;
	color: #fff;
}

.badge-hit {
	background: #fd7e14;
	color: #fff;
}

.badge-sale {
	background: #dc3545;
	color: #fff;
}

/* Кнопки действий на изображении */
.product-card-favorite,
.product-card-compare {
	position: absolute;
	right: 0.5rem;
	background: rgba(255,255,255,0.9);
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s, background 0.2s;
	z-index: 2;
}

.product-card-favorite {
	top: 0.5rem;
}

.product-card-compare {
	top: 3rem;
}

.product-card:hover .product-card-favorite,
.product-card:hover .product-card-compare {
	opacity: 1;
}

.product-card-favorite:hover,
.product-card-compare:hover {
	background: #fff;
}

.product-card-favorite .material-symbols-outlined,
.product-card-compare .material-symbols-outlined {
	font-size: 20px;
	color: #666;
}

/* Информация о товаре */
.product-card-info {
	padding: 0.75rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.product-card-title {
	font-size: 0.9rem;
	font-weight: 500;
	color: #333;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 0.25rem;
}

.product-card-title:hover {
	color: var(--primary, #007bff);
	text-decoration: none;
}

.product-card-material {
	font-size: 0.8rem;
	color: #888;
	margin-bottom: 0.5rem;
}

.product-card-price-row {
	margin-top: auto;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.25rem;
}

.product-card-price {
	font-size: 1.1rem;
	font-weight: 700;
	color: #333;
}

.product-card-measure {
	font-size: 0.85rem;
	color: #666;
}

.product-card-old-price {
	font-size: 0.85rem;
	color: #999;
	text-decoration: line-through;
	margin-left: 0.5rem;
}

.product-card-price-request {
	font-size: 0.9rem;
	color: #888;
	font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
	.product-card-info {
		padding: 0.5rem;
	}

	.product-card-title {
		font-size: 0.85rem;
	}

	.product-card-price {
		font-size: 1rem;
	}

	.product-card-favorite,
	.product-card-compare {
		opacity: 1;
		width: 32px;
		height: 32px;
	}

	.product-card-compare {
		top: 2.5rem;
	}
}

/* ============================================
   Стили секции каталога
   Ткани Лилия
   ============================================ */

/* Контейнер секции каталога */
.catalog-section {
	background: transparent;
}

/* Строки товаров */
.catalog-section [data-entity="items-row"] {
	margin-bottom: 1rem;
}

/* Карточки в сетке */
.product-item-small-card,
.product-item-big-card {
	margin-bottom: 1.5rem;
}

/* Описание раздела */
.catalog-section-description {
	background: #fff;
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	margin-bottom: 1.5rem;
}

.catalog-section-description p {
	margin: 0;
	color: #555;
	line-height: 1.7;
}

/* Пагинация */
.catalog-section .bx-pagination-container {
	text-align: center;
}

.catalog-section .bx-pagination {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.catalog-section .bx-pagination li {
	list-style: none;
}

.catalog-section .bx-pagination a,
.catalog-section .bx-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	color: #333;
	text-decoration: none;
	font-size: 0.95rem;
	transition: all 0.2s ease;
}

.catalog-section .bx-pagination a:hover {
	background: var(--primary, #2A4B6D);
	border-color: var(--primary, #2A4B6D);
	color: #fff;
	text-decoration: none;
}

.catalog-section .bx-pagination .bx-active span {
	background: var(--primary, #2A4B6D);
	border-color: var(--primary, #2A4B6D);
	color: #fff;
}

/* Кнопка "Показать ещё" */
.catalog-section [data-use^="show-more"] {
	background: var(--primary, #2A4B6D);
	border-color: var(--primary, #2A4B6D);
	border-radius: 10px;
	padding: 0.875rem 2rem;
	font-weight: 500;
	text-transform: none;
	transition: all 0.2s ease;
}

.catalog-section [data-use^="show-more"]:hover {
	background: #1e3a5f;
	border-color: #1e3a5f;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(42, 75, 109, 0.25);
}

/* Линейный вид карточек */
.product-item-line-card {
	margin-bottom: 1rem;
}

.product-item-line-card .product-item {
	display: flex;
	flex-direction: row;
	border-radius: 12px;
	padding: 1rem;
}

.product-item-line-card .product-item-image-wrapper {
	width: 150px;
	flex-shrink: 0;
	padding-top: 0;
	height: 150px;
	border-radius: 8px;
	margin-right: 1.5rem;
}

.product-item-line-card .product-item-title {
	padding: 0;
	white-space: normal;
}

.product-item-line-card .product-item-price-container {
	padding: 0.5rem 0;
}

/* Мобильная адаптация сетки */
@media (max-width: 992px) {
	.product-item-small-card,
	.product-item-big-card {
		margin-bottom: 1rem;
	}
}

@media (max-width: 768px) {
	.catalog-section-description {
		padding: 1rem;
		border-radius: 8px;
	}

	.product-item-line-card .product-item {
		flex-direction: column;
	}

	.product-item-line-card .product-item-image-wrapper {
		width: 100%;
		height: auto;
		padding-top: 100%;
		margin-right: 0;
		margin-bottom: 1rem;
	}

	/* Fix pagination overflow on mobile */
	.pagination {
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.25rem;
	}

	.pagination .page-item .page-link {
		padding: 0.35rem 0.6rem;
		font-size: 0.85rem;
	}
}

/* End */


/* Start:/local/templates/tkanililiya_custom/components/bitrix/catalog.item/bootstrap_v4/style.css?177152021039554*/
/* ============================================
   Ткани Лилия - Карточка товара
   Updated: 2026-01-11 v2
   ============================================ */

.product-item-container {
	position: relative !important;
	height: 100% !important;
	max-width: 100% !important;
	overflow: hidden !important;
}

.product-item-container.hover { z-index: 17; }

/* Основные стили карточки с !important для гарантии */
.product-item,
.product-item.tl-card {
	display: flex !important;
	flex-direction: column !important;
	box-sizing: border-box !important;
	padding: 12px !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	border: 1px solid #eee !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
	transition: box-shadow 0.2s ease, transform 0.2s ease !important;
	overflow: hidden !important;
}

.product-item:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.product-item-big-card .product-item,
.product-item-small-card .product-item { }

.product-item-line-card .product-item { border-bottom: 1px solid #dadada; }

/* Убираем сложную hover-анимацию, используем простой hover эффект */
.bx-no-touch .product-item-container.hover .product-item {
	/* Убрали абсолютное позиционирование */
}

.bx-touch .product-item {
	width: auto;
	background: #fff;
}

/*Image - Ткани Лилия style (квадратное изображение с отступами) */
.product-item-image-wrapper {
	position: relative;
	display: block;
	margin-bottom: 12px;
	padding-top: 100%; /* Квадратное соотношение сторон */
	width: 100%;
	overflow: hidden;
	background: #f8f9fa;
	border-radius: 8px; /* Скругление картинки */
}

.product-item-image-wrapper:hover { }

.product-item-container.hover.product-item-scalable-card .product-item-image-wrapper { padding-top: 100%; }

.product-item-image-original,
.product-item-image-alternative {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-position: center top;
	background-size: cover; /* cover вместо contain как на Ткани Лилия */
	background-repeat: no-repeat;
	transition: opacity 300ms linear, transform 300ms ease;
}

.product-item-image-original { z-index: 11; }

.product-item-image-alternative {
	z-index: 13;
	opacity: 0;
}

/* Эффект увеличения при наведении */
.product-item:hover .product-item-image-original,
.product-item:hover .product-item-image-alternative {
	transform: scale(1.05);
}

.bx-no-touch .product-item-container.hover .product-item-image-original { opacity: 0; }

.bx-no-touch .product-item-container.hover .product-item-image-alternative { opacity: 1; }

.product-item-big-card .product-item-image-wrapper { margin-bottom: 0; }

/*Image Slider*/
.product-item-image-slider-slide-container {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 100%;
	transition: opacity 300ms ease;
}

.product-item-image-slide {
	position: relative;
	display: none;
	height: 100%;
	background-color: #fff;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	transition: .6s ease-in-out left;
}

@media all and (transform-3d), (-webkit-transform-3d) {
	.product-item-image-slide {
		transition: transform .6s ease-in-out, -webkit-transform .6s ease-in-out;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		-webkit-perspective: 1000px;
		perspective: 1000px;
	}

	.product-item-image-slide.next,
	.product-item-image-slide.active.right {
		left: 0;
		-webkit-transform: translate3d(100%, 0, 0);
		transform: translate3d(100%, 0, 0);
	}

	.product-item-image-slide.prev,
	.product-item-image-slide.active.left {
		left: 0;
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}

	.product-item-image-slide.next.left,
	.product-item-image-slide.prev.right,
	.product-item-image-slide.active {
		left: 0;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

.product-item-image-slider-slide-container > .active,
.product-item-image-slider-slide-container > .next,
.product-item-image-slider-slide-container > .prev { display: block; }

.product-item-image-slider-slide-container > .active { left: 0; }

.product-item-image-slider-slide-container > .next,
.product-item-image-slider-slide-container > .prev {
	position: absolute;
	top: 0;
	width: 100%;
}

.product-item-image-slider-slide-container > .next { left: 100%; }

.product-item-image-slider-slide-container > .prev { left: -100%; }

.product-item-image-slider-slide-container > .next.left,
.product-item-image-slider-slide-container > .prev.right { left: 0; }

.product-item-image-slider-progress-bar-container {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 1px;
}

.product-item-image-slider-progress-bar {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: block;
	height: 1px;
	background-color: var(--theme-color-primary);
	opacity: .8;
}

.product-item-image-slider-control-container {
	position: absolute;
	right: 0;
	bottom: 10px;
	left: 0;
	z-index: 15;
	display: block;
	padding: 0;
	text-align: center;
	opacity: 0;
	transition: opacity 300ms ease;
}

.product-item-container.hover .product-item-image-slider-control-container,
.product-item-line-card:hover .product-item-image-slider-control-container { opacity: 1; }

.product-item-image-slider-control,
.product-item-image-slider-control.active {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(128, 128, 128, .8);
	opacity: .6;
	cursor: pointer;
	transition: all 300ms ease;
}

.product-item-image-slider-control:hover,
.product-item-image-slider-control.active:hover { cursor: pointer; }

.product-item-image-slider-control.active,
.product-item-image-slider-control:hover { background-color: var(--primary); }

/*Label - Ткани Лилия style badges */
.product-item-label-text,
.product-item-label-ring {
	position: absolute;
	z-index: 15;
	top: 10px;
	left: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.product-item-label-text span,
.product-item-label-ring {
	display: inline-block;
	clear: both;
	margin-bottom: 0;
	background: #22C55E; /* Зеленый для NEW по умолчанию */
	color: #fff;
	vertical-align: middle;
	text-align: center;
	border-radius: 20px;
	font-weight: 600;
	font-size: 11px;
	line-height: 1;
	padding: 5px 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 250ms ease;
}

/* Цвета для разных бейджей */
.product-item-label-text span[title*="Хит"],
.product-item-label-text span[title*="ХИТ"],
.product-item-label-text span[title*="хит"] {
	background: #14B8A6; /* Бирюзовый для ХИТ */
}

.product-item-label-text span[title*="Акция"],
.product-item-label-text span[title*="АКЦИЯ"],
.product-item-label-text span[title*="акция"],
.product-item-label-text span[title*="Скидка"],
.product-item-label-text span[title*="СКИДКА"] {
	background: #EF4444; /* Красный для акций */
}

.bx-red .product-item-label-text span,
.bx-red .product-item-label-ring { background-color: #EF4444; }

.product-item-label-text > div,
.product-item-label-ring > div { line-height: 0; }

/* TEXT */
.product-item-label-text span {
	padding: 5px 10px;
	vertical-align: middle;
	font-weight: 600;
}

/*SMALL*/
.product-item-label-text.product-item-label-small span,
.product-item-scalable-card.hover .product-item-label-text.product-item-label-small span {
	margin-bottom: 0;
	padding: 4px 8px;
	font-weight: 600;
	font-size: 10px;
	line-height: 1;
}

.product-item-big-card .product-item-label-text.product-item-label-small span {
	padding: 6px 12px;
	font-size: 12px;
	line-height: 1;
}

/* BIG */
.product-item-label-text.product-item-label-big span,
.product-item-scalable-card.hover .product-item-label-text.product-item-label-big span {
	padding: 5px 10px;
	font-size: 11px;
	line-height: 1;
}

.product-item-big-card .product-item-label-text.product-item-label-big span {
	padding: 6px 14px;
	font-size: 13px;
	line-height: 1;
}

@media (max-width: 767px) {
	.product-item-label-text > div { line-height: 0; }

	.product-item-label-text.product-item-label-small span,
	.product-item-scalable-card.hover .product-item-label-text.product-item-label-small span {
		margin-bottom: 1px;
		padding: 2px 7px;
		font-size: 10px;
		line-height: 14px;
	}

	.product-item-big-card .product-item-label-text.product-item-label-small span,
	.product-item-label-text.product-item-label-big span,
	.product-item-scalable-card.hover .product-item-label-text.product-item-label-big span {
		margin-bottom: 1px;
		padding: 3px 12px;
		font-size: 14px;
		line-height: 16px;
	}

	.product-item-big-card .product-item-label-text.product-item-label-big span {
		padding: 3px 12px;
		font-size: 20px;
		line-height: 25px;
	}
}

/*RING*/
.product-item-label-ring {
	box-sizing: border-box;
	border-radius: 50%;
	font-weight: bold;
}

.product-item-label-ring.product-item-label-small,
.product-item-scalable-card.hover .product-item-label-ring.product-item-label-small {
	width: 40px;
	height: 40px;
	font-size: 14px;
	line-height: 40px;
}

.product-item-big-card .product-item-label-ring.product-item-label-small {
	width: 100px;
	height: 100px;
	font-size: 30px;
	line-height: 100px;
}

.product-item-label-ring.product-item-label-big,
.product-item-scalable-card.hover .product-item-label-ring.product-item-label-big {
	width: 50px;
	height: 50px;
	font-size: 18px;
	line-height: 50px;
}

.product-item-big-card .product-item-label-ring.product-item-label-big {
	width: 120px;
	height: 120px;
	font-size: 42px;
	line-height: 120px;
}

@media (max-width: 767px) {
	.product-item-label-ring.product-item-label-small,
	.product-item-scalable-card.hover .product-item-label-ring.product-item-label-small {
		--product-item-label-ring-size: 40px;
		width: var(--product-item-label-ring-size);
		height: var(--product-item-label-ring-size);
		line-height: var(--product-item-label-ring-size);
		font-size: 14px;
	}

	.product-item-big-card .product-item-label-ring.product-item-label-small,
	.product-item-label-ring.product-item-label-big,
	.product-item-scalable-card.hover .product-item-label-ring.product-item-label-big {
		width: 35px;
		height: 35px;
		font-size: 12px;
		line-height: 35px;
	}

	.product-item-big-card .product-item-label-ring.product-item-label-big {
		width: 70px;
		height: 70px;
		font-size: 24px;
		line-height: 70px;
	}
}

.product-item-label-top { top: -5px; }

.product-item-label-center {
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

.product-item-label-center > div { text-align: center; }

.product-item-label-left { left: -5px; }

.product-item-label-left > div { text-align: left; }

.product-item-label-bottom { bottom: -5px; }

.product-item-label-middle {
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.product-item-label-right { right: -5px; }

.product-item-label-right > div { text-align: right; }

.product-item-label-center.product-item-label-middle {
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

/*Title - Ткани Лилия style */
.product-item-title {
	overflow: hidden;
	margin: 12px 0 0;
	padding: 0;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-weight: 400;
	font-size: 14px;
	text-align: left;
	line-height: 1.4;
}

.product-item-title a {
	color: #333;
	text-decoration: none;
	transition: color 200ms ease;
}

.product-item-title a:hover {
	color: var(--primary, #2A4B6D);
}

.product-item-line-card .product-item-title {
	white-space: normal;
	text-align: left;
}

.product-item-big-card .product-item-title { margin-top: 16px; }
.product-item-big-card .product-item-title a { font-size: 16px; }

.product-item-line-card .product-item-title a { font-size: 18px; }

@media (max-width: 1199px) {
	.product-item-big-card .product-item-title a { font-size: 15px; }
}

@media (max-width: 991px) {
	.product-item-big-card .product-item-title a { font-size: 14px; }
}

@media (max-width: 767px) {
	.product-item-title { margin-top: 10px; }
	.product-item-big-card .product-item-title a { font-size: 13px; }
}

@media (max-width: 575px) {
	.product-item-big-card .product-item-title a { font-size: 14px; }
}

/*Price - Ткани Лилия style (крупная цена) */
.product-item-price-container {
	text-align: left;
	line-height: 1;
	margin-top: 8px;
	padding: 0;
}

.product-item-price-current {
	color: #222;
	white-space: nowrap;
	font-weight: 600;
	font-size: 16px;
}

/* Стиль для копеек и "руб." */
.product-item-price-current sup {
	font-size: 11px;
	font-weight: 400;
	vertical-align: super;
}

.product-item-price-old {
	color: #999;
	text-decoration: line-through;
	white-space: nowrap;
	font-size: 13px;
	margin-right: 8px;
}

.product-item-big-card .product-item-price-container {
	margin-top: 10px;
}

.product-item-big-card .product-item-price-current,
.product-item-big-card .product-item-price-old {
	vertical-align: middle;
	line-height: 1.2;
}

.product-item-big-card .product-item-price-current { font-size: 20px; }

.product-item-big-card .product-item-price-old { font-size: 15px; }

@media (max-width: 767px) {
	.product-item-price-container { margin-top: 6px; }
	.product-item-price-current { font-size: 14px; }
}

/*Info*/
.product-item-info-container {
	clear: both;
	margin-bottom: 8px;
	padding: 0;
}

.product-item-big-card .product-item-info-container {
	padding: 0;
}

.product-item-info-container-title { font-size: 12px; }

/* Кнопки всегда видимы (не скрываем) */
.product-item-info-container.product-item-hidden {
	display: block !important;
	opacity: 1 !important;
}

.bx-touch .product-item-info-container.product-item-touch-hidden { display: none !important }

/*Amount*/
.product-item-amount {
	padding: 0 0 2px;
	text-align: center;
}

.product-item-amount-field-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: relative;
	max-width: 150px;
	margin: 0 auto 15px;
}


.product-item-amount-field-btn-plus,
.product-item-amount-field-btn-minus {
	position: relative;
	display: block;
	min-width: 22px;
	height: 22px;
	border-radius: 2px;
	background-color: #f2f2f2;
	color: #fff;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
	transition: background 300ms ease, opacity 300ms ease;
}

.bx-retina .product-item-amount-field-btn-plus,
.bx-retina .product-item-amount-field-btn-minus { border-width: .5px; }

.product-item-amount-field-btn-plus:hover,
.product-item-amount-field-btn-minus:hover { background: #d3d3d3; }

.product-item-amount-field-btn-plus:after,
.product-item-amount-field-btn-minus:after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: "";
	opacity: .8;
	transition: opacity 300ms ease, background 300ms ease;
}

.product-item-amount-field-btn-disabled.product-item-amount-field-btn-plus:after,
.product-item-amount-field-btn-disabled.product-item-amount-field-btn-minus:after {
	opacity: .3 !important;
	cursor: default;
}

.product-item-amount-field-btn-disabled.product-item-amount-field-btn-plus:hover,
.product-item-amount-field-btn-disabled.product-item-amount-field-btn-minus:hover {
	background-color: #f2f2f2;
}

.product-item-amount-field-btn-plus:after {
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIgdmlld0JveD0iMCAwIDMwIDMwIj4gIDxwYXRoIGZpbGw9IiM1MjVDNjgiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTE4LDEyIEwxOCwwIEwxMiwwIEwxMiwxMiBMMCwxMiBMMCwxOCBMMTIsMTggTDEyLDMwIEwxOCwzMCBMMTgsMTggTDMwLDE4IEwzMCwxMiBMMTgsMTIgWiIvPjwvc3ZnPg==) no-repeat center;
	background-size: 10px;
}

.product-item-amount-field-btn-minus:after {
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIgdmlld0JveD0iMCAwIDMwIDMwIj4gIDxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSI2IiB5PSIxMiIgZmlsbD0iIzUyNUM2OCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat center;
	background-size: 10px;
}

.product-item-amount-field-btn-plus:hover:after,
.product-item-amount-field-btn-minus:hover:after { opacity: 1; }

.product-item-amount-field-block {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.product-item-amount-field {
	display: block;
	padding: 0;
	width: 100%;
	height: 22px;
	border: 1px solid transparent;
	border-radius: 2px;
	background: transparent !important;
	color: #000;
	vertical-align: middle;
	text-align: center;
	font-weight: bold;
	line-height: 22px;
	transition: border 300ms ease;
}

.bx-retina .product-item-amount-field { border-width: .5px; }

.product-item-amount-field:focus { outline: none !important; }

.bx-no-touch input.product-item-amount-field::-webkit-outer-spin-button,
.bx-no-touch input.product-item-amount-field::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
	appearance: none
}

.product-item-amount-description-container {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	color: #a5a5a5;
	white-space: nowrap;
	font-size: 12px;
}

/*.product-item-big-card .product-item-amount-field-container { text-align: left; }*/

.product-item-amount-description-container strong {
	color: #333;
	white-space: nowrap;
}

.product-item-amount-label-container {
	margin: 5px 0;
	color: #a5a5a5;
	font-weight: bold;
	font-size: 12px;
}

/**/
.product-item-quantity { font-size: 12px; }

/*region Properties */
.product-item-properties {
	display: block;
	margin: 0;
}

.product-item-properties dl { clear: both; }

.product-item-properties dt {
	float: left;
	clear: both;
	font-weight: normal;
	font-size: 12px;
}

.product-item-properties dd {
	float: right;
	margin-bottom: 3px;
	margin-left: 5px;
	font-size: 12px;
}

/*endregion*/

/*Compare - Ткани Лилия style */
.product-item-compare-container {
	position: relative;
	display: none;
	margin: 8px 0 0;
	padding: 8px 0 0;
	min-height: auto;
	border-top: 1px solid #f0f0f0;
	background: transparent;
	box-shadow: none;
	vertical-align: middle;
	font-size: 12px;
	line-height: 20px;
}

.product-item-big-card .product-item-compare-container {
	margin-top: 8px;
	padding-top: 8px;
}

.product-item-line-card .product-item-compare-container {
	margin: 0;
	border: none;
	background-color: transparent;
	box-shadow: none;
	text-align: center;
}

.bx-touch .product-item-compare-container { display: none; }

.product-item-line-card .product-item-compare-container,
.product-item-container.hover .product-item-compare-container,
.product-item:hover .product-item-compare-container { display: block; }

.product-item-compare .checkbox {
	margin: 0;
	padding: 0;
}

/* SCU */
.product-item-line-card .product-item-scu-container { text-align: left; }

.product-item-scu-container-title {
	color: #333;
	font-size: 12px;
}

.product-item-scu-block { }

.product-item-scu-block-title { font-size: 12px; }

.product-item-scu-list { margin: 0; }

.product-item-scu-item-list {
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
}

.product-item-scu-item-color-container,
.product-item-scu-item-text-container {
	display: inline-block;
	box-sizing: border-box;
	padding: 5px 3px;
	max-width: 100%;
}

.product-item-scu-item-text-container { min-width: 32px; }

.product-item-scu-item-color-container {
	max-width: 38px;
	width: 25%;
}

.product-item-scu-item-color-block {
	position: relative;
	padding-top: 100%;
	outline: 1px solid #c0cfda;
	cursor: pointer;
}

.bx-no-touch .product-item-scu-item-color-block { transition: outline 200ms ease; }

.bx-retina .product-item-scu-item-color-block { outline-width: .5px; }

.product-item-scu-item-color-container.selected .product-item-scu-item-color-block { outline-width: 2px; }

.bx-retina .product-item-scu-item.selected .product-item-scu-item-color-block { outline-width: 1px; }

.product-item-scu-item-color {
	position: absolute;
	top: 2px;
	right: 2px;
	bottom: 2px;
	left: 2px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.product-item-scu-item-text-block {
	position: relative;
	padding: 0 5px;
	outline: 1px solid #c0cfda;
	cursor: pointer;
}

.bx-no-touch .product-item-scu-item-text-block { transition: outline 300ms ease; }

.bx-retina .product-item-scu-item-text-block { outline-width: .5px; }

.product-item-scu-item-text-container.selected .product-item-scu-item-text-block { outline-width: 2px; }

.bx-retina .product-item-scu-item.selected .product-item-scu-item-text-block { outline-width: 1px; }

.product-item-scu-item-text {
	overflow: hidden;
	max-width: 100%;
	vertical-align: middle;
	text-align: center;
	text-transform: uppercase;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	line-height: 18px;
}

.product-item-scu-item-color-container.notallowed .product-item-scu-item-color-block,
.product-item-scu-item-text-container.notallowed .product-item-scu-item-text-block {
	position: relative;
	outline-color: #a9adb4 !important;
}

.product-item-scu-item-color-container.notallowed .product-item-scu-item-color-block:after,
.product-item-scu-item-text-container.notallowed .product-item-scu-item-text-block:after {
	position: absolute;
	top: -2px;
	right: -2px;
	bottom: -2px;
	left: -2px;
	background: rgba(255, 255, 255, 0.75) url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiIgdmlld0JveD0iMCAwIDI2IDI2Ij4gIDxwYXRoIGZpbGw9IiNBOUFEQjQiIGZpbGwtcnVsZT0iZXZlbm9kZCIgZD0iTTE0LjM5MjEyNjgsMTMuMjMyMzAyOSBMMjUuOTkyLDEuNDE4IEwyNC42LDAgTDEyLjk5OTk5NTYsMTEuODE0NDM2NCBMMS40LDAgTDAuMDA5LDEuNDE5IEwxMS42MDc4Njg3LDEzLjIzMjI5NzUgTDAuNDczLDI0LjU3MyBMMS44NjUsMjUuOTkxIEwxMi45OTk5OTkzLDE0LjY1MDE2NDUgTDI0LjEzNCwyNS45OSBMMjUuNTI2LDI0LjU3MiBMMTQuMzkyMTI2OCwxMy4yMzIzMDI5IFoiLz48L3N2Zz4=) no-repeat center;
	background-size: 80% 80%;
	content: "";
}


.product-item-scu-item-text-block:hover,
.product-item-scu-item-color-block:hover,
.product-item-scu-item-text-container.selected .product-item-scu-item-text-block,
.product-item-scu-item-color-container.selected .product-item-scu-item-color-block { outline-color: #000; }

/*Description*/
.product-item-description-container { }

.product-item-description-container p {
	color: #575757;
	font-size: 13px;
}

/*Buttons - Ткани Лилия style (две кнопки рядом) */
.product-item-button-container {
	display: flex !important;
	gap: 8px;
	padding: 12px 0 0;
	margin-top: auto;
}

.product-item-big-card .product-item-button-container {
	padding: 16px 0 0;
}

.product-item-button-container .btn {
	flex: 1;
	padding: 8px 12px;
	border-radius: 8px;
	font-weight: 500;
	font-size: 13px;
	transition: all 0.2s ease;
	white-space: nowrap;
}

/* Кнопка "В корзину" - основная с акцентом */
.product-item-button-container .btn-primary {
	background: var(--primary, #2A4B6D);
	border-color: var(--primary, #2A4B6D);
}

.product-item-button-container .btn-primary:hover {
	background: #1e3a5f;
	border-color: #1e3a5f;
	transform: translateY(-1px);
}

/* Кнопка "Подробнее" - без акцента */
.product-item-button-container .btn-outline-secondary {
	flex: 0 0 auto;
	color: #666;
	border-color: #ddd;
	background: transparent;
}

.product-item-button-container .btn-outline-secondary:hover {
	color: #333;
	border-color: #bbb;
	background: #f8f9fa;
}

/*Stickers*/
.product-item-sticker,
.product-item-sticker-round { display: none; }

/*More*/
.product-item-more-container {
	position: relative;
	display: block;
	box-sizing: border-box;
	padding: 15px 15px 5px;
	width: 100%;
	border: 1px solid transparent;
	border-radius: 2px;
	transition: all 300ms ease;
}

.product-item-more-wrapper {
	position: relative;
	display: block;
	margin-bottom: 15px;
	padding-top: 116%;
	width: 100%;
}

.product-item-more {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: #f3f3f3 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjk3LjYxMyAyOTcuNjEzIiBzdHlsZT0iZmlsbDogcmdiKDEzMCwgMTMwLCAxMzApOyIgeG1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x-touch .product-item-more,
.product-item-container.hover .product-item-more { opacity: 1; }

.product-item-more-title {
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.no-select {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

input[type='number'] { -moz-appearance: textfield; }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ============================================
   Мобильные стили карточек товаров
   ============================================ */
@media (max-width: 768px) {
	/* Компактная карточка для мобильных */
	.product-item,
	.product-item.tl-card {
		padding: 10px !important;
		border-radius: 10px !important;
	}

	.product-item-image-wrapper {
		margin-bottom: 8px;
		border-radius: 6px;
	}

	.product-item-title {
		margin: 6px 0 0;
		font-size: 13px;
		line-height: 1.3;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		white-space: normal;
		min-height: 34px;
	}

	.product-item-price-container {
		margin-top: 4px;
	}

	.product-item-price-current {
		font-size: 15px;
		font-weight: 700;
		color: #009AA8;
	}

	/* Показываем 2 параметра на мобильных */
	.product-item-properties {
		margin-top: 6px;
		font-size: 11px;
	}

	.product-item-properties dt,
	.product-item-properties dd {
		font-size: 11px;
		line-height: 1.3;
		margin-bottom: 2px;
	}

	.product-item-properties dt {
		color: #888;
	}

	.product-item-properties dd {
		color: #333;
	}

	/* Только одна кнопка "В корзину" на мобильных */
	.product-item-button-container {
		padding: 8px 0 0 !important;
		gap: 0 !important;
	}

	.product-item-button-container .btn-outline-secondary {
		display: none !important;
	}

	.product-item-button-container .btn-primary,
	.product-item-button-container .btn {
		flex: 1 !important;
		padding: 10px 12px !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		border-radius: 8px !important;
		background: #009AA8 !important;
		border-color: #009AA8 !important;
	}

	.product-item-button-container .btn-primary:hover,
	.product-item-button-container .btn:hover {
		background: #008895 !important;
		border-color: #008895 !important;
	}

	/* Скрываем лишние элементы */
	.product-item-compare-container,
	.product-item-info-container.product-item-hidden[data-entity="quantity-block"] {
		display: none !important;
	}
}

/* ============================================
   Мобильный фильтр (всплывающий)
   ============================================ */
.mobile-filter-btn {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 16px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	color: #333;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.mobile-filter-btn:hover {
	border-color: #009AA8;
	color: #009AA8;
}

.mobile-filter-btn .material-symbols-outlined {
	font-size: 18px;
}

@media (max-width: 768px) {
	.mobile-filter-btn {
		display: flex;
	}

	/* Скрываем кнопки категорий на мобильных */
	.catalog-category-buttons {
		display: none !important;
	}

	/* Колонка фильтра: убираем из потока, но не display:none (drawer position:fixed) */
	.catalog-filter-col {
		position: absolute !important;
		width: 0 !important;
		height: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		overflow: visible !important;
	}

	.catalog-products-col {
		width: 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

/* Модальное окно фильтра */
.mobile-filter-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.mobile-filter-overlay.active {
	opacity: 1;
	visibility: visible;
}

.mobile-filter-panel {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	max-width: 320px;
	height: 100%;
	background: #fff;
	z-index: 9999;
	transition: right 0.3s ease;
	display: flex;
	flex-direction: column;
}

.mobile-filter-panel.active {
	right: 0;
}

.mobile-filter-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	border-bottom: 1px solid #eee;
	background: #f8f9fa;
}

.mobile-filter-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.mobile-filter-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: none;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s;
}

.mobile-filter-close:hover {
	background: #eee;
}

.mobile-filter-close .material-symbols-outlined {
	font-size: 24px;
	color: #666;
}

.mobile-filter-content {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
}

.mobile-filter-footer {
	padding: 16px;
	border-top: 1px solid #eee;
	background: #f8f9fa;
}

.mobile-filter-apply {
	width: 100%;
	padding: 12px 20px;
	background: #009AA8;
	border: none;
	border-radius: 8px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.mobile-filter-apply:hover {
	background: #008895;
}

.mobile-filter-reset {
	width: 100%;
	margin-top: 8px;
	padding: 10px 20px;
	background: transparent;
	border: 1px solid #ddd;
	border-radius: 8px;
	color: #666;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s;
}

.mobile-filter-reset:hover {
	border-color: #999;
	color: #333;
}

/* ============================================
   Характеристики и наличие в карточке (UX улучшение)
   ============================================ */
.product-item-specs-stock {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid #f0f0f0;
}

.product-item-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin-bottom: 6px;
	font-size: 12px;
	color: #666;
	line-height: 1.3;
}

.product-item-spec {
	display: inline-block;
}

.product-item-spec:not(:last-child)::after {
	content: "•";
	margin-left: 8px;
	color: #ccc;
}

.product-item-stock {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 500;
}

.product-item-stock .stock-indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

.product-item-stock.in-stock .stock-indicator {
	background: #22C55E;
	box-shadow: 0 0 4px rgba(34, 197, 94, 0.4);
}

.product-item-stock.in-stock .stock-text {
	color: #16A34A;
}

.product-item-stock.out-of-stock .stock-indicator {
	background: #F59E0B;
}

.product-item-stock.out-of-stock .stock-text {
	color: #D97706;
}

/* Увеличенная цена */
.product-item-price-current {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #1a365d !important;
}

.product-item-big-card .product-item-price-current {
	font-size: 22px !important;
}

@media (max-width: 768px) {
	.product-item-specs-stock {
		margin-top: 6px;
		padding-top: 6px;
	}

	.product-item-specs {
		font-size: 11px;
		margin-bottom: 4px;
	}

	.product-item-stock {
		font-size: 11px;
	}

	.product-item-stock .stock-indicator {
		width: 6px;
		height: 6px;
	}

	.product-item-price-current {
		font-size: 16px !important;
	}
}

/* ============================================
   Bitrix Popup (уведомление корзины)
   ============================================ */
.popup-window {
	font-family: 'Ysabeau Infant', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	border-radius: 16px !important;
	overflow: hidden !important;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
}

.popup-window-titlebar {
	background: linear-gradient(135deg, #009AA8 0%, #00818a 100%) !important;
	padding: 18px 24px !important;
	border-bottom: none !important;
}

.popup-window-titlebar-text {
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #fff !important;
}

.popup-window-close-icon {
	background: rgba(255, 255, 255, 0.2) !important;
	border-radius: 50% !important;
	width: 32px !important;
	height: 32px !important;
	right: 16px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	opacity: 0.9 !important;
}

.popup-window-close-icon:hover {
	background: rgba(255, 255, 255, 0.3) !important;
	opacity: 1 !important;
}

.popup-window-content {
	padding: 24px !important;
	background: #fff !important;
}

.popup-window-content p {
	font-size: 15px !important;
	color: #333 !important;
	margin: 12px 0 0 !important;
	line-height: 1.5 !important;
}

.popup-window-content img {
	border-radius: 12px !important;
	object-fit: cover !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.popup-window-buttons {
	padding: 16px 24px 24px !important;
	background: #fff !important;
	display: flex !important;
	gap: 12px !important;
	justify-content: center !important;
}

.popup-window-button {
	padding: 14px 28px !important;
	border-radius: 10px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	border: none !important;
}

/* Основная кнопка "Перейти в корзину" */
.popup-window-button:first-child,
.popup-window .btn-primary,
.popup-window .btn-buy {
	background: #009AA8 !important;
	color: #fff !important;
}

.popup-window-button:first-child:hover {
	background: #008795 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(0, 154, 168, 0.3) !important;
}

/* Вторая кнопка "Продолжить покупки" */
.popup-window-button:nth-child(2) {
	background: #f5f5f5 !important;
	color: #333 !important;
}

.popup-window-button:nth-child(2):hover {
	background: #eee !important;
}

/* Оверлей */
.popup-window-overlay {
	background: rgba(0, 0, 0, 0.5) !important;
	backdrop-filter: blur(4px) !important;
}

/* ============================================
   Кнопка "Оформить заказ" (после добавления в корзину)
   ============================================ */
.btn-cart.in-basket,
.btn-cart.added-to-basket {
	background: #22C55E !important;
	border-color: #22C55E !important;
}

.btn-cart.in-basket:hover,
.btn-cart.added-to-basket:hover {
	background: #16A34A !important;
	border-color: #16A34A !important;
}
/* End */
/* /local/templates/tkanililiya_custom/components/bitrix/catalog.section.list/bootstrap_v4/style.css?17715202105586 */
/* /local/templates/tkanililiya_custom/components/bitrix/catalog.section/bootstrap_v4/style.css?17715202107421 */
/* /local/templates/tkanililiya_custom/components/bitrix/catalog.item/bootstrap_v4/style.css?177152021039554 */
