.b1-payparts {
	margin-top: 12px;
}
/* ============================================
   ПЛАТИ ЧАСТЯМИ — стикер в каталоге + тултип
   + выравнивание карточек
   ============================================ */

/* --- Стикер --- */
.product-item-payparts {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 4px;
	font-size: 12px;
	line-height: 1.2;
	flex-wrap: wrap;
}

.product-item-payparts__badge {
	padding: 3px 8px;
	background: linear-gradient(88.46deg, #A0E720, #00D900 22.46%, #21A038 70.5%);
	color: #fff;
	border-radius: 4px;
	font-weight: 700;
	font-size: 10px;
	letter-spacing: .3px;
	text-transform: uppercase;
	white-space: nowrap;
}

.product-item-payparts__price {
	color: #21A038;
	font-weight: 600;
	font-size: 12px;
	white-space: nowrap;
}

.product-item-payparts__info {
	width: 16px;
	height: 16px;
	min-width: 16px;
	border-radius: 50%;
	background: #f0f0f0;
	color: #555;
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	border: none;
	cursor: pointer;
	padding: 0;
	font-family: serif;
	font-style: italic;
	flex-shrink: 0;
	transition: background .2s;
}

.product-item-payparts__info:hover {
	background: #e0e0e0;
}

/* --- Тултип --- */
.product-item-payparts__tooltip {
	position: absolute;
	z-index: 9999;
	max-width: 320px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
	padding: 16px;
	font-size: 13px;
	line-height: 1.5;
	color: #333;
	font-family: inherit;
}

.product-item-payparts__tooltip-inner strong {
	display: block;
	font-size: 15px;
	margin-bottom: 8px;
	color: #1a1a1a;
}

.product-item-payparts__tooltip-inner p {
	margin: 0 0 12px;
	color: #555;
}

.product-item-payparts__tooltip-inner a {
	color: #21A038;
	font-weight: 600;
	text-decoration: none;
}

.product-item-payparts__tooltip-inner a:hover {
	text-decoration: underline;
}

/* --- Название в 4 строки --- */
.product_item_title .name.name--4-lines {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(1.4em * 4);
	line-height: 1.4;
}

/* --- Кнопка по центру --- */
.product_item__ico.basket_icon,
.product-item-button-container {
	display: flex !important;
	justify-content: center !important;
	align-items: center;
	text-align: center;
}

.product_item__ico.basket_icon a,
.product-item-button-container a,
.product-item-button-container button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

/* --- Карточка: flex-колонка для ровных рядов --- */
.product_item {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Убираем прижимание к низу — оно ломает кнопку */
/* .product_item__price { margin-top: auto; } */

/* --- Мобильная адаптация --- */
@media (max-width: 640px) {
	.product-item-payparts {
		font-size: 11px;
	}
	.product-item-payparts__badge {
		font-size: 9px;
		padding: 2px 6px;
	}
	.product-item-payparts__price {
		font-size: 11px;
	}
	.product-item-payparts__tooltip {
		max-width: calc(100vw - 32px);
	}
}