/* ENUX cabinets: «Комплектуючі» tab on a cabinet, cabinet buttons on a component. */

.product-kit-items {
	padding: 29px 24px 29px 35px;
	display: flex;
	flex-direction: column;
	row-gap: 20px;
	width: 100%;
}

.product-kit-items .title {
	font-size: 24px;
	line-height: 30px;
	font-weight: 700;
	letter-spacing: .01em;
}

.product-kit-items .list {
	display: flex;
	flex-direction: column;
	max-height: 998px;
	overflow: auto;
}

.product-kit-items .list::-webkit-scrollbar { width: 3px; height: 3px; }
.product-kit-items .list::-webkit-scrollbar-track { background: #fff; }
.product-kit-items .list::-webkit-scrollbar-thumb { border-radius: 5px; background: #0076ef; }

.product-kit-items .item {
	display: flex;
	align-items: center;
	column-gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid #e6ebf5;
	color: inherit;
	text-decoration: none;
}

.product-kit-items .item:last-child { border-bottom: 0; }

.product-kit-items .item-image {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-kit-items .item-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.product-kit-items .item-info {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	row-gap: 2px;
}

.product-kit-items .item-model {
	font-size: 12px;
	line-height: 16px;
	font-weight: 600;
	color: #005de4;
}

.product-kit-items .item-name {
	font-size: 15px;
	line-height: 20px;
	transition: color .3s;
}

.product-kit-items .item:hover .item-name { color: #005de4; }

.product-kit-items .item-stock { font-size: 13px; line-height: 18px; }
.product-kit-items .item-stock.in-stock { color: #2ca444; }
.product-kit-items .item-stock.out-of-stock { color: #8a94a6; }

.product-kit-items .item-quantity {
	flex: 0 0 auto;
	font-size: 14px;
	white-space: nowrap;
	color: #5b6475;
}

.product-kit-items .item-price {
	flex: 0 0 110px;
	text-align: right;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.product-part-of-kits {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	row-gap: 10px;
}

.product-part-of-kits .title {
	font-size: 14px;
	line-height: 18px;
	font-weight: 600;
	color: #5b6475;
}

.product-part-of-kits .list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.product-part-of-kits .list .button-user {
	padding: 8px 14px;
	min-height: 0;
	font-size: 14px;
	line-height: 18px;
	font-weight: 600;
	text-decoration: none;
}

.product-part-of-kits .list .button-user:hover {
	background: #005de4;
	color: #fff;
}

@media (max-width: 767px) {
	.product-kit-items { padding: 24px 16px; }
	.product-kit-items .title { font-size: 18px; line-height: 20px; }
	.product-kit-items .item { flex-wrap: wrap; row-gap: 6px; }
	.product-kit-items .item-info { flex-basis: calc(100% - 72px); }
	.product-kit-items .item-quantity { margin-left: 72px; }
	.product-kit-items .item-price { flex: 1 1 auto; }
}
