.catalog_list {
	width: 100%;
	position: relative;
	cursor: pointer;
	/*border: 1px solid rgba(0, 0, 0, 0.1);
	border-width: 1px 1px 1px 1px;
	*/
	box-shadow: 0 0 0 0 rgba(74, 89, 111, 0);
	transition: all .2s ease;
	white-space: normal;
}

.catalog_list .border {
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	width: calc(100% + 1px);
	height: calc(100% + 1px);
	border: 1px solid #e5e5e5;
	background: #ffffff;
}

.catalog_list_block {
	padding-bottom: 8.5em !important;
}

.catalog_list_row img {
	max-width: 250px;
}

.catalog_list_row {
	/*border-bottom: 1px solid rgba(0, 0, 0, 0.1);*/
}

.catalog_list_row img {
	max-width: 200px;
}

.catalog_list:hover {
	/*border: 1px solid rgba(0, 0, 0, .2);*/
	/*box-shadow: 0 10px 25px -5px rgba(74, 89, 111, 0.35);*/
	box-shadow: 0 10px 25px -5px rgba(74, 89, 111, 0.35);
	z-index: 2;
}

.image_preview {
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.image_preview.bg-cover {
	background-size: cover;
	background-position: center;
}

.image_preview img {
	width: 100%;
	height: auto;
}

.brand_name {
	color: #999;
}

.hide_button .buy_container {
	display: none;
}

.buy_buttton {
	width: 100%;
	line-height: 3em;
	background: #ff0060;
	color: white;
	cursor: pointer;
	text-align: center;
	font-weight: 600;
}

.buy_buttton:hover {
	background: #dc0053;
}

.catalog_list_block .buy_container {
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 2rem;
}

.add_button .square_button {
	width: 3em;
	padding: 0;
	text-align: center;
}

.add_button .amount {
	width: 5em;
	text-align: center;
}

.price_old {
	color: #999;
	text-decoration: line-through;
}

.price {
	font-weight: 600;
}

.favorite_icon {
	position: absolute;
	top: .5rem;
	right: .5rem;
	z-index: 3;
}

.flags_block.flags_list {
	position: absolute;
	/*
	left: -0.5rem;
	top: -0.5rem;
	*/
	left: 0;
	top: -0.5rem;
	text-align: left;
}

.flags_block.flags_list_block {
	position: absolute;
	left: -0.5rem;
	bottom: 0rem;
	text-align: left;
}

.flag_container {
	display: inline-block;
}

.flags_block.flags_list_block .flag_container, .flags_block.flags_list .flag_container {
	display: block;
}

.flag {
	display: inline-block;
	padding: .2rem .5rem;
	text-align: left;
	font-size: 0.8em;
	font-weight: 600;
	margin-right: .5rem;
	margin-bottom: .5rem;
	border-radius: 3px;
}

.discount {
	background: #ff0060;
	color: #fff;
}
.flag_leader {
	background: #feb301;
	color: #000;
}
.flag_new {
	background: #0090ec;
	/*background: #ffa800;*/
	color: #fff;
}
.flag_sale {
	background: #cb00f6;
	color: #fff;
}
.flag_recommend {
	background: #00bc6a;
	color: #fff;
}
.flag_discount {
	background: #ff0060;
	color: #fff;
}

.item_params {
	display: flex;
    align-items: flex-end;
    width: 100%;
    padding: .5rem 0;
}

.item_params div {
	vertical-align: bottom;
	width: 50%;
	position: relative;
}

.item_params__name span  {
	padding-right: 5px;
	background: #fff;
	position: relative;
	font-weight: 500;
}

.item_params__name::before {
	content: "";
	display: block;
	left: 0;
	bottom: .2em;
	position: absolute;
	width: calc(100% - 5px);
	border-bottom: 1px dotted #d6dbe0;
}

.item_params .dots {
	flex: 1 1 0;
	height: 1px;
	border-bottom: 2px dotted #ddd;
	margin: 0 2px 4px;
}



/* фотогалерея в карточке товара */

.catalog_image-block {
	background: #fff;
	position: relative;
	transition: all 0.15s ease;
}

.catalog_image-outer_container {
	
}

.catalog_image-container {
	position: relative;
	float: right;
	width: calc(100% - 80px);
	overflow: hidden;
}

.catalog_image-container img {
	width: 100%;
	height: auto;
	/*border: 1px solid #ddd;*/
}

.catalog_image-preview_list {
	position: absolute;
	width: 60px;
	left: 0;
	top: 0;
	float: left;
	height: 100%;
	overflow-y: auto;
	
}

.catalog_image-preview_image {
	display: inline-block;
	vertical-align: middle;
	width: 50px;
	height: 50px;
	border: 1px solid #fff;
	border-radius: 3px;
	position: relative;
	margin-bottom: 10px;
	cursor: pointer;
}

.catalog_image-preview_image.active {
	border-color: #ff0060;
}

.catalog_image-preview_image img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	max-width: 44px;
	max-height: 44px;
}

.catalog_image-main {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	transition: all 0.15s ease;
}

.catalog_image-main.slided_left {
	transform: translateX(-100%);
	opacity: 0;
}

.catalog_image-main.slided_right {
	transform: translateX(100%);
	opacity: 0;
}

.catalog_image-main img {
	position: absolute;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	min-width: 1%;
	min-height: 1%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.catalog_image-main video {
	position: absolute;
	width: 100%;
	height: auto;
	max-width: 1200px;
	max-height: 100%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.catalog_image-block.big_view {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 100;
}

.catalog_image-block .catalog_image-close {
	display: none;
}

.catalog_image-block.big_view .catalog_image-preview_list {
	left: 20px;
	top: 20px;
	height: calc(100vh - 40px);
}
.catalog_image-block.big_view .catalog_image-container {
	width: calc(100% - 160px);
	height: 100vh;
	right: 70px;
}

.catalog_image-block.big_view .catalog_image-close {
	display: block;
	position: absolute;
	right: 23px;
	top: 23px;
	cursor: pointer;
	
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-color: transparent;
	background-size: contain;
	display: inline-block;
	transition: transform .3s ease;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' style='enable-background:new 0 0 128 128'%3e%3cstyle%3e.st0%7bfill:none;%7d%3c/style%3e%3cpath class='st0' d='M0 0h128v128H0z'/%3e%3cpath d='M72.5 64l35.4-35.4c2.3-2.3 2.3-6.1 0-8.5-2.3-2.3-6.1-2.3-8.5 0L64 55.5 28.6 20.2c-2.3-2.3-6.1-2.3-8.5 0-2.3 2.3-2.3 6.1 0 8.5L55.5 64 20.2 99.4c-2.3 2.3-2.3 6.1 0 8.5 1.2 1.2 2.7 1.8 4.2 1.8s3.1-.6 4.2-1.8L64 72.5l35.4 35.4c1.2 1.2 2.7 1.8 4.2 1.8s3.1-.6 4.2-1.8c2.3-2.3 2.3-6.1 0-8.5L72.5 64z'/%3e%3c/svg%3e");
}

.catalog_image-block.big_view .catalog_image-close:hover {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' style='enable-background:new 0 0 128 128'%3e%3cstyle%3e.st0%7bfill:none;%7d .st1%7bfill:%23ED1962;%7d%3c/style%3e%3cpath class='st0' d='M0 0h128v128H0z'/%3e%3cpath class='st1' d='M72.5 64l35.4-35.4c2.3-2.3 2.3-6.1 0-8.5-2.3-2.3-6.1-2.3-8.5 0L64 55.5 28.6 20.2c-2.3-2.3-6.1-2.3-8.5 0-2.3 2.3-2.3 6.1 0 8.5L55.5 64 20.2 99.4c-2.3 2.3-2.3 6.1 0 8.5 1.2 1.2 2.7 1.8 4.2 1.8s3.1-.6 4.2-1.8L64 72.5l35.4 35.4c1.2 1.2 2.7 1.8 4.2 1.8s3.1-.6 4.2-1.8c2.3-2.3 2.3-6.1 0-8.5L72.5 64z'/%3e%3c/svg%3e");
}

.catalog_image-block.big_view .catalog_image-container .solid_bg {
	display: none;
}

@media (max-width : 980px) {
	.catalog_image-container {
		width: 100%;
	}
	.catalog_image-preview_list {
		width: 100%;
		bottom: 0;
		top: auto;
		height: auto;
		text-align: center;
		padding: 1rem;
		z-index: 2;
	}
	.catalog_image-preview_list .catalog_image-preview_image:before{
		content: "";
		position: absolute;
		display: block;
		width: 10px;
		height: 10px;
		background: #777;
		border-radius: 5px;
		z-index: 3;
	}
	.catalog_image-preview_list .catalog_image-preview_image {
		width: 10px;
		height: 10px;
		overflow: hidden;
		border: 0;
		margin: 5px;
	}
	.catalog_image-preview_list .catalog_image-preview_image img {
		display: none;
	}
	.catalog_image-preview_list .catalog_image-preview_image.active:before {
		background: #ff0060;
	}
}