/*--- Элементы ---*/
.photos-items-wrapper {
display: block;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
position: relative;
}
.photos-items {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
align-items: flex-start;
margin: -20px -10px 0px -10px;
padding: 0px 0px 0px 0px;
position: relative;
font-size: 0px;
}
.photos-item {
display: inline-block;
vertical-align: top;
margin: 20px 10px 0px 10px;
padding: 0px 0px 0px 0px;
position: relative;
width: 253px;
}
.photos-item__img {
display: block;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
position: relative;
width: 100%;
height: 253px;
background: #eee;
overflow: hidden;
}
.photos-item__img:hover, 
.photos-item__img:active {
box-shadow: 0px 0px 14px 0px rgba(199,21,42,0.25);
}
.photos-item__img a {
display: inline-block;
vertical-align: top;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
position: relative;
width: 100%;
height: 100%;
max-width: 100%;
max-height: 100%;
text-decoration: none;
}
.photos-item__img a:before, 
.photos-item__img a:after {
content: "";
display: block;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
position: absolute;
opacity: 0;
visibility: hidden;
}
.photos-item__img a:before {
width: 100%;
height: 100%;
top: 0px;
left: 0px;
background: rgba(199,21,42,0.8);
z-index: 2;
}
.photos-item__img a:after {
width: 57px;
height: 57px;
top: calc(50% - (57px / 2));
left: calc(50% - (57px / 2));
background-position: 50% 50%;
background-repeat: no-repeat;
background-image: url(../images/icon-loupe.webp);
z-index: 3;
}
.photos-item__img:hover a:before, 
.photos-item__img:active a:before, 
.photos-item__img:hover a:after, 
.photos-item__img:active a:after {
opacity: 1;
visibility: visible;
}
.photos-item__img picture {
display: block;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
position: relative;
width: 100%;
max-width: 100%;
z-index: 1;
}
.photos-item__img img {
display: block;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
position: relative;
width: 100%;
max-width: 100%;
z-index: 1;
}
.photos-item__title {
display: block;
margin: 12px 0px 0px 0px;
padding: 0px 0px 0px 0px;
position: relative;
font-size: 15px;
line-height: 21px;
font-weight: 500;
}
.photos-item__price {
display: block;
margin: 2px 0px 0px 0px;
padding: 0px 0px 0px 0px;
position: relative;
font-size: 18px;
line-height: 24px;
font-weight: 500;
color: #ce3446;
}

/*--- Блок на главной странице ---*/
.photos-section {
display: block;
margin: 0px 0px 0px 0px;
padding: 53px 0px 60px 0px;
position: relative;
z-index: 90;
}
.photos-section .photos-items-wrapper {
margin-top: 43px;
}

/*--- Блок на странице товара ---*/
.photos-product-section {
display: block;
margin: 0px 0px 0px 0px;
padding: 0px 0px 60px 0px;
position: relative;
z-index: 90;
}

/*--- Страница ---*/
.photos-gallery-section {
display: block;
margin: 0px 0px 0px 0px;
padding: 0px 0px 60px 0px;
position: relative;
z-index: 90;
}
.photos-tabs {
display: block;
margin: 30px 0px 0px 0px;
padding: 0px 0px 0px 0px;
position: relative;
}
.photos-tab {
display: none;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
position: relative;
}
.photos-tab.photos-tab_active {
display: block;
}

/*--- Адаптивность ---*/
@media (min-width: 1395px) {
	.products-section .content .photos-item, 
	.product-section .content .photos-item, 
	.content-section.content-section_sidebar .content .photos-item {
		width: 240px;
	}
	.products-section .content .photos-item__img, 
	.product-section .content .photos-item__img, 
	.content-section.content-section_sidebar .content .photos-item__img {
		height: 240px;
	}
}
@media (max-width: 1394px) {
	.photos-item {
		width: calc((100% / 5) - (10px * 2));
	}
	.products-section .content .photos-item, 
	.product-section .content .photos-item, 
	.content-section.content-section_sidebar .content .photos-item {
		width: calc((100% / 5) - (10px * 2));
	}
	.photos-item__img {
		padding-bottom: 100%;
		height: 0px;
	}
	.photos-item__img a {
		position: absolute;
		top: 0px;
		left: 0px;
	}
}
@media (min-width: 1200px) and (max-width: 1394px) {
	.products-section .content .photos-item:nth-child(n+11), 
	.product-section .content .photos-item:nth-child(n+11), 
	.content-section.content-section_sidebar .content .photos-item:nth-child(n+11) {
		display: none;
	}
}
@media (max-width: 1199px) {
	.photos-item {
		width: calc((100% / 4) - (10px * 2));
	}
	.products-section .content .photos-item, 
	.product-section .content .photos-item, 
	.content-section.content-section_sidebar .content .photos-item {
		width: calc((100% / 4) - (10px * 2));
	}
}
@media (max-width: 767px) {
	.photos-item {
		width: calc((100% / 3) - (10px * 2));
	}
	.products-section .content .photos-item, 
	.product-section .content .photos-item, 
	.content-section.content-section_sidebar .content .photos-item {
		width: calc((100% / 3) - (10px * 2));
	}
	.photos-item__title {
		font-size: 14px;
		line-height: 19px;
		font-weight: 400;
	}
	.photos-item__price {
		font-size: 16px;
		line-height: 22px;
	}
}
@media (max-width: 499px) {
	.photos-section {
		padding-top: 43px;
		padding-bottom: 50px;
	}
	.photos-tabs {
		margin-top: 25px;
	}
	.photos-section .photos-items-wrapper {
		margin-top: 30px;
	}
	.photos-item {
		width: calc((100% / 2) - (10px * 2));
	}
	.products-section .content .photos-item, 
	.product-section .content .photos-item, 
	.content-section.content-section_sidebar .content .photos-item {
		width: calc((100% / 2) - (10px * 2));
	}
	.photos-item__img a:after {
		width: 40px;
		height: 40px;
		top: calc(50% - (40px / 2));
		left: calc(50% - (40px / 2));
		background-size: cover;
	}
	.photos-gallery-section {
		padding-top: 0px;
		padding-bottom: 50px;
	}
	.photos-product-section {
		padding-top: 0px;
		padding-bottom: 50px;
	}
}