.c-item-p__images-main {
	border: 1px solid hsl(var(--bg2-h), var(--bg2-s), calc(var(--bg2-l) - 12%));
}

.c-item-p__images-gallery {
	margin: 10px -3px -3px;
	display: flex;
	flex-wrap: wrap;
}
.c-item-p__images-gallery-item {
	list-style: none;
	width: 33.3333%;
	padding: 3px;
}
.c-item-p__images-gallery-link {
	border: 3px solid hsl(var(--bg2-h), var(--bg2-s), calc(var(--bg2-l) - 12%));
}

.c-item-p__img {
	display: block;
	width: 100%;
	height: auto;
}
.c-item-p__img[data-src] {
	height: 0;
	padding-top: 100%;
	overflow: hidden;
}
.c-item-p__img_video {background-color: #ededed;}

a.c-item-p__images-main,
a.c-item-p__images-gallery-link {display: block}
a.c-item-p__images-main:hover,
a.c-item-p__images-gallery-link:hover {border-color: var(--emphasize1);}

.c-item-p__about-top {
	color:var(--text-color2);
	margin-bottom: 24px;
	line-height: 1.7;
}
.c-item-p__advantages-title {margin-bottom: 12px;}
.c-item-p__advantages-list {margin-bottom: 25px}
.c-item-p__advantages-item {
	list-style: none;
	padding-left: 38px;
	line-height: 20px;
}
.c-item-p__advantages-item:before {
	font-family: var(--fa-style-family);
	font-weight: var(--fa-style-solid);
	content: var(--fa-var-star);
	font-size: 12px;
	color:var(--emphasize1);
	position: absolute;
	top:0;
	left:10px;
	line-height: inherit;
}
.c-item-p__advantages-item + .c-item-p__advantages-item {margin-top: 10px}

.c-item-p__offer,
.c-item-p__calc {margin-bottom:40px;}

.c-item-p__price {
	font-size:16px;
	font-weight:600;
	color:hsl(var(--emphasize1-h), calc(var(--emphasize1-s) - 5%), calc(var(--emphasize1-l) - 17%));
}
.c-item-p__price-value {
	font-size: 1.25em;
	font-weight: bold;
}

.c-item-p__btn {
	min-width: 180px;
	font-size: 16px;
}

.c-item-p__calc {
	display: block;
	background: hsl(var(--emphasize1-h), calc(var(--emphasize1-s) - 5%), calc(var(--emphasize1-l) - 12%));
	color:#ffffff;
	font-size: 16px;
}
.c-item-p__calc:after {
	font-family: var(--fa-style-family);
	font-weight: var(--fa-style-solid);
	content: var(--fa-var-arrow-right);
	position:absolute;
	line-height:26px;
	height:30px;
	width:30px;
	text-align:center;
	border:2px solid;
	border-radius:50%;
	color: rgba(255, 255, 255, 0.85);
}
.c-item-p__calc:hover:after {color:#ffffff;}
.c-item-p__calc:before {
	content: '';
	display: block;
	position:absolute;
	top:50%;
	margin-top: -19px;
	width:30px;
	height:37px;
	background: url("/Public/Images/icon-calc.webp") -43px 0;
}

.c-item-p .consultation-banner {margin-top: 60px;}
.c-item-p .consultation-banner:not(:last-child) {margin-bottom: 60px;}
.c-item-p .consultation-banner:last-child {margin-bottom: -100px;}

.c-item-p__top {margin-bottom: 50px}

.c-item-p__description1 + .c-item-p-clothes-wrapper {margin-top: 30px;}

.c-item-p__order-options-title {margin-bottom: 12px;}
.c-item-p__order-options {margin-bottom: 20px}
.c-item-p__order-option {
	list-style: none;
}
.c-item-p__order-option-price {
	margin-top: 10px;
	font-size: 1.14em;
	font-weight: 500;
}
.c-item-p__order-option:before {
	content: '';
	display: block;
	position: absolute;
	background: url("/Public/Images/icons-delivery-payment.webp");
}
.c-item-p__order-option_card:before {width:42px;height:30px;background-position:0 0;}
.c-item-p__order-option_cash:before {width:24px;height:35px;background-position:-45px 0;}
.c-item-p__order-option_bank-transfer:before {width:32px;height:32px;background-position:-72px 0;}
.c-item-p__order-option_moscow:before {width:42px;height:25px;background-position:0 -37px;}
.c-item-p__order-option_regions:before {width:42px;height:25px;background-position:-45px -37px;}


@media all and (-Webkit-min-device-pixel-ratio:1.5),
all and (-moz-min-device-pixel-ratio:1.5),
all and (-o-min-device-pixel-ratio:3/2),
all and (min-device-pixel-ratio:1.5) {
	.c-item-p__calc:before {
		background-image: url("/Public/Images/icon-calc_x3.webp");
		background-size:auto 49px;
	}
	.c-item-p__order-option:before {
		background-image: url("/Public/Images/icons-delivery-payment_x3.webp");
		background-size:auto 62px;
	}
}


@media all and (max-width:359px) {
	.c-item-p__calc {padding:27px 20px 67px 67px;}
	.c-item-p__calc:before {left:20px;}
	.c-item-p__calc:after {bottom:20px;left:67px;}
}

@media all and (min-width:360px) {
	.c-item-p__calc {padding:27px 70px 27px 77px;}
	.c-item-p__calc:before {left:27px;}
	.c-item-p__calc:after {top:50%;margin-top:-15px;right:22px;}
}

@media all and (max-width:559px) {
	.c-item-p__images {margin-bottom: 30px;}
	
	.c-item-p__order-option {padding-left: 55px;}
	.c-item-p__order-option:not(:first-child) {margin-top: 15px;}
	.c-item-p__order-option:before {top:0;}

	.c-item-p__order-option_card {min-height:30px;}
	.c-item-p__order-option_card:before {left:0;}
	
	.c-item-p__order-option_cash {min-height:35px;}
	.c-item-p__order-option_cash:before {left:7px;}

	.c-item-p__order-option_bank-transfer {min-height:32px;}
	.c-item-p__order-option_bank-transfer:before {left:6px;}

	.c-item-p__order-option_moscow {min-height:25px;}
	.c-item-p__order-option_moscow:before {left:0;}

	.c-item-p__order-option_regions {min-height:25px;}
	.c-item-p__order-option_regions:before {left:0;}
}

@media all and (min-width:560px) {
	.c-item-p__images {float: left;}
	.c-item-p__info {float: right;}
	
	.c-item-p__order-options {
		display: flex;
		margin-left: -15px;
		margin-right: -15px;
	}
	.c-item-p__order-option {
		padding-left: 15px;
		padding-right: 15px;
	}
	.c-item-p__order-option:before {
		left: 15px;
		top:0;
	}
	.c-item-p__order-option_payment {width: 33.3333%;padding-top:38px;}
	.c-item-p__order-option_delivery {width: 50%;padding-top:32px;}
}

@media all and (min-width:560px) and (max-width:719px) {
	.c-item-p__images {width: 200px;}
	.c-item-p__info {width: calc(100% - 200px - 25px);}
}

@media all and (min-width:720px) and (max-width:767px) {
	.c-item-p__images {width: 250px;}
	.c-item-p__info {width: calc(100% - 250px - 25px);}
}

@media all and (max-width:767px) {
	.c-item-p__info2 {clear: both}
}

@media all and (min-width:768px) {
	.c-item-p__info2 {float: right;}
}

@media all and (max-width: 639px),
all and (min-width: 940px) {
	.c-item-p__price {margin-bottom: 20px;}
}

@media all and (min-width:640px) and (max-width:939px) {
	.c-item-p__offer {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}

@media all and (min-width:768px) and (max-width:939px) {
	.c-item-p__images {width: 300px;}
	.c-item-p__info,
	.c-item-p__info2 {width: calc(100% - 300px - 30px);}
}

@media all and (min-width:940px) {
	.c-item-p__offer-wrapper {
		display: flex;
		justify-content: space-between;
	}
	.c-item-p__offer {align-self: center}
	.c-item-p__calc {
		margin-left: 25px;
		flex-grow: 1;
		max-width:370px;
	}
}

@media all and (min-width:940px) and (max-width:1023px) {
	.c-item-p__images {width: 350px;}
	.c-item-p__info,
	.c-item-p__info2 {width: calc(100% - 350px - 30px);}
}

@media all and (min-width:1024px) {
	.c-item-p__images {width: 400px;}
	.c-item-p__info,
	.c-item-p__info2 {width: calc(100% - 400px - 30px);}
}

/* полотна */
.c-item-p-clothes-wrapper {margin-bottom: 70px;}
.c-item-p-clothes__item {
	list-style: none;
}

@media all and (max-width: 459px) {
	.c-item-p-clothes {
		margin: -15px -4px;
	}
	.c-item-p-clothes__item {
		padding: 15px 4px;
	}
	.c-item-p-clothes__item .product__title {font-size: 1rem;}
}

@media all and (min-width: 460px) {
	.c-item-p-clothes {
		margin: -15px -8px;
	}
	.c-item-p-clothes__item {
		padding: 15px 8px;
	}
}

@media all and (min-width:360px) {
	.c-item-p-clothes {
		display:flex;
		flex-wrap:wrap;
	}
	.c-item-p-clothes__item > .product {
		height: 100%;
	}
}

@media all and (min-width:360px) and (max-width:639px) {
	.c-item-p-clothes__item {
		width: 50%;
	}
}
@media all and (min-width:640px) and (max-width:767px) {
	.c-item-p-clothes__item {
		width: 33.3333%;
	}
}

@media all and (min-width:768px) and (max-width: 1199px) {
	.c-item-p-clothes__item {
		width: 25%;
	}
}

@media all and (min-width:1200px) {
	.c-item-p-clothes__item:only-child,
	.c-item-p-clothes__item:nth-last-child(2):first-child,
	.c-item-p-clothes__item:nth-last-child(2):first-child ~ .c-item-p-clothes__item,
	.c-item-p-clothes__item:nth-last-child(3):first-child,
	.c-item-p-clothes__item:nth-last-child(3):first-child ~ .c-item-p-clothes__item,
	.c-item-p-clothes__item:nth-last-child(4):first-child,
	.c-item-p-clothes__item:nth-last-child(4):first-child ~ .c-item-p-clothes__item {
		width: 25%;
	}
	
	.c-item-p-clothes__item:nth-last-child(5):first-child,
	.c-item-p-clothes__item:nth-last-child(5):first-child ~ .c-item-p-clothes__item {
		width: 20%;
	}

	.c-item-p-clothes__item:nth-last-child(6):first-child,
	.c-item-p-clothes__item:nth-last-child(6):first-child ~ .c-item-p-clothes__item {
		width: 16.6666%;
	}
	
	.c-item-p-clothes__item:nth-last-child(6):first-child .product__features,
	.c-item-p-clothes__item:nth-last-child(6):first-child ~ .c-item-p-clothes__item  .product__features {
		font-size: 0.93rem;
	}
	
}