/*************************/
/* Вид карточек (список) */
/*************************/

/* Карточка (внешний div) */
.liststyle-pre-thumbnail {
	width:100%; /*OK*/
	padding-left:15px;
	padding-right:15px;
}

.card.d-flex:hover { box-shadow: 0 0 8px 0 rgba(0,0,0,0.5); }
.card.d-flex:hover img.tov {
	border: none;
	padding: 0;
}
	
/* Ценник */
.price { right:5px; }

.liststyle-price {
	position:relative; /*OK*/
	margin-top:0; /*OK*/
	text-align:center; /*OK*/
	padding:0 4px 0 4px; /*OK*/
	right:0 !important; /*OK*/
}

/* Картинка (внешний div) */
.picture {
	margin:5px; /*OK*/
}
.liststyle-picture {
	position:relative; /*OK*/
	display:inline-block; /*OK*/
	width:200px; /*OK*/
}

/* Картинка */
.card-img-top {
	border-radius:0 0 0 0; /*OK*/
}

/* Наименование товара */
.name_tov {
	margin-top:0; /*OK*/
	height: 30%;
	overflow: hidden; /*OK*/
}

/* Кнопки */
.c_but {
	margin-bottom:0; /*OK*/
}
.liststyle-c_but {
	position:absolute; /*OK*/
	right:8px; /*OK*/
	margin-top:0 !important; /*OK*/
	top:125px; /*OK*/
}
.liststyle-c_but .liststyle-btn-danger, .liststyle-btn-primary {
	width:64px; /*OK*/
	font-size:0.85rem; /*OK*/
}

/* Карточка (внутренний div) */
.card {
	margin-bottom:1rem; /*OK*/
}

/* Новинки */
.action {
	left:-1px; top:-1px; /*OK*/
}
.action img {
	max-width:100%;
}

.liststyle-action {
	position:absolute;
	left:-1;
	top:-1;
}
.liststyle-img {
	position:relative;
	max-width:100%;
}

/* Процент скидки */
.liststyle-percent {
	position:absolute;
	width:80px;
	height:80px;
	right:0;
	top:0;
}
.percent img {
	max-width:100%;
}
.liststyle-percent span {
	font-size:14px;
}

/**************************/
/**************************/

@media (max-width: 1199px) {
	/* Ценник */
	.liststyle-price {
		border-radius:0 0 10px 0; /*OK*/
		font-size:16px; /*OK*/
	}
	
	/* Картинка */
	.liststyle-picture { width:175px !important; } /*OK*/
	
	/* Заголовок карточки */
	.name_tov {
		font-size:18px !important; /*OK*/
	}
	.liststyle-name_tov {
		line-height:0.95em;
	}
	/*
	.card-column {
		width:250px !important;
	}
	*/
}

@media (max-width: 991px) {
	/* Картинка */
	.liststyle-picture { width:150px !important; } /*OK*/
	
	/* Наименование товара */
	.liststyle-name_tov {
		/*font-weight:bold; /*OK*/
	}
	
	/* Кнопки */
	.liststyle-c_but { top:93px; } /*OK*/
	
	/* Строки описания товара */
	.ptov {
		height:16px;
		font-size:0.780em;
		margin-top:0 !important;
	}
	
	/* Размер ленты "акция" или "новинка" */
	.liststyle-img { width:66px !important; }
	/*
	.card-column {
		width:290px !important;
	}
	*/
}

@media (max-width: 767px) {
	/*
	.card-column {
		width:360px !important;
	}
	*/
}

@media (max-width: 575px) {
	/*
	.card-column {
		width:270px !important;
	}
	*/
}

@media (max-width: 500px) {
	/* Ценник */
	.liststyle-price {
		font-size:12px; /*OK*/
		border-radius:0 0 6px 6px; /*OK*/
	}
	
	/* Процент скидки */
	.liststyle-percent {
		width:70px !important;
		height:70px !important;
		top:55px !important;
		left:58px !important;
	}
	.liststyle-percent span { font-size:12px; }
	
	/* Картинка */
	.liststyle-picture { width:120px !important; } /*OK*/

	/* Кнопки */
	.liststyle-c_but {
		right:auto !important; /*OK*/
		left:5px; /*OK*/
		top:150px; /*OK*/
	}
	.liststyle-btn-danger { width:120px !important; } /*OK*/
	.liststyle-btn-primary { width:120px !important; } /*OK*/
	
	/* Рамки карточек */
	.card-row { height:236px !important; } /*OK*/
	
	/* Строки описания товара */
	.ptov {
		height:16px; /*OK*/
		font-size:0.780em; /*OK*/
	}
	
	/* Наименование товара */
	.liststyle-name_tov {
		height: 53px;
	}
}

@media (min-width: 421px) {
	/* Наименование товара */
	.name_tov { height: 65px; }
	.liststyle-name_tov { height: 30%; }
}

@media (min-width: 992px) {
	/* Кнопки */
	.liststyle-c_but {
		top:117px; /*OK*/
	}
	.liststyle-btn-danger, .liststyle-btn-primary { width:100px !important; } /*OK*/
}

@media (min-width: 1200px) {
	/* Ценник */
	.liststyle-price {
		position:absolute; /*OK*/
		bottom:0; /*OK*/
		right:0; /*OK*/
		padding:0 5px 0 10px; /*OK*/
	}
	
	/* Наименование товара */
	.name_tov { height: 72px; }
	.name_tov.liststyle-name_tov { height: 30%; }
}