.prices {
    padding-bottom: 60px;
}
.prices.--bt {
    border-top: 1px solid #e6e6e6;
}
.prices__group {
    padding-top: 51px;
    margin-bottom: 30px;
}
.prices:not(:has(.branks-links)) .prices__group {
    margin-bottom: 40px;
}
.prices__text {
    margin-bottom: 30px;
}
.prices__brands {
    margin-bottom: 40px;
}
.prices__brands.--hidden {
    display: none;
}
.prices__tab {
    display: grid;
    grid: none/1.39fr 2.01fr 2fr;
    gap: 44px;
}
.prices__item {
    display: flex;
    flex-direction: column;
}
.prices__img-wrap {
    position: relative;
}
.prices__img {
    position: relative;
    height: 400px;
}
.prices__img img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.prices__label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
    position: absolute;
    top: -5px;
    right: 0;
    text-align: center;
    width: 73px;
    height: 73px;
	max-height: calc(100% - (20px * 2));
}
.prices__label-icon {
	width: 73px;
    height: 73px;
    font-size: 0;
    position: absolute;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-image: url(../../uploads/icons/icon-prices-guarantee.png);
    z-index: -1;
}
.prices__label-icon.prices__label-icon_skidka {
	background-image: url(../../uploads/icons/icon-prices-skidka.png);
}
.prices__label-icon.prices__label-icon_colors {
	background-image: url(../../uploads/icons/icon-prices-colors.png);
}
.prices__label-text {
    color: #fff;
    font-size: 13px;
    line-height: 16px;
    font-weight: 500;
}
.prices__label-text strong {
    font-size: 16px;
    font-weight: 700;
}
.prices__inner {
    z-index: 4;
    position: relative;
    margin-top: -105px;
}
.prices__name {
    margin-bottom: 22px;
}
.prices__price {
    margin-bottom: 30px;
}
.prices__data {
    margin-bottom: 15px;
}
.prices__btn-wrapper {
	display: block;
}
.prices__btn-inner {
	display: inline-block;
	vertical-align: top;
}
.prices__btn {
    max-width: 100%;
}
@media screen and (min-width: 1576px) {
	.prices__tab {
		grid: none/1.5fr 1.7fr 1.5fr
	}
	.prices_plasticdveri .prices__tab, 
	.prices_vhodgroups .prices__tab, 
	.prices_balconydveri .prices__tab, 
	.prices_steklodveri .prices__tab, 
	.prices_terracedveri .prices__tab, 
	.prices_shtulpdveri .prices__tab, 
	.prices_portaldveri .prices__tab, 
	.prices_alokna .prices__tab {
		grid: none/repeat(3, 1fr);
	}
	.prices__item.prices__item_bivalve .prices__label {
		right: 105px;
	}
	.prices__item.prices__item_tricuspid .prices__label {
		right: 30px;
	}
	.prices__item.prices__item_balcony .prices__label {
		right: 0px;
	}
	.prices_plasticdveri .prices__label, 
	.prices_vhodgroups .prices__label, 
	.prices_balconydveri .prices__label, 
	.prices_steklodveri .prices__label, 
	.prices_terracedveri .prices__label, 
	.prices_shtulpdveri .prices__label, 
	.prices_portaldveri .prices__label, 
	.prices_alokna .prices__label {
		right: 0px !important;
	}
	.prices_plasticdveri .prices__img, 
	.prices_vhodgroups .prices__img, 
	.prices_balconydveri .prices__img, 
	.prices_steklodveri .prices__img, 
	.prices_terracedveri .prices__img, 
	.prices_shtulpdveri .prices__img, 
	.prices_portaldveri .prices__img, 
	.prices_alokna .prices__img {
		height: 415px;
	}
	.prices_plasticdveri .prices__inner, 
	.prices_vhodgroups .prices__inner, 
	.prices_balconydveri .prices__inner, 
	.prices_steklodveri .prices__inner, 
	.prices_terracedveri .prices__inner, 
	.prices_shtulpdveri .prices__inner, 
	.prices_portaldveri .prices__inner, 
	.prices_alokna .prices__inner {
		margin-top: 30px;
	}
}
@media screen and (min-width: 1221px) and (max-width: 1575px) {
	.prices_plasticdveri .prices__tab, 
	.prices_vhodgroups .prices__tab, 
	.prices_balconydveri .prices__tab, 
	.prices_steklodveri .prices__tab, 
	.prices_terracedveri .prices__tab, 
	.prices_shtulpdveri .prices__tab, 
	.prices_portaldveri .prices__tab, 
	.prices_alokna .prices__tab {
		grid: none/repeat(3, 1fr);
	}
	.prices_plasticdveri .prices__img, 
	.prices_vhodgroups .prices__img, 
	.prices_balconydveri .prices__img, 
	.prices_steklodveri .prices__img, 
	.prices_terracedveri .prices__img, 
	.prices_shtulpdveri .prices__img, 
	.prices_portaldveri .prices__img, 
	.prices_alokna .prices__img {
		height: 360px;
	}
	.prices_plasticdveri .prices__inner, 
	.prices_vhodgroups .prices__inner, 
	.prices_balconydveri .prices__inner, 
	.prices_steklodveri .prices__inner, 
	.prices_terracedveri .prices__inner, 
	.prices_shtulpdveri .prices__inner, 
	.prices_portaldveri .prices__inner, 
	.prices_alokna .prices__inner {
		margin-top: 30px;
	}
}
@media screen and (max-width: 1220px) {
    .prices__tab {
        grid: none/repeat(3, 1fr);
    }
    .prices__img {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 200px;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
	.prices_plasticdveri .prices__img, 
	.prices_vhodgroups .prices__img, 
	.prices_balconydveri .prices__img, 
	.prices_steklodveri .prices__img, 
	.prices_terracedveri .prices__img, 
	.prices_shtulpdveri .prices__img, 
	.prices_portaldveri .prices__img, 
	.prices_alokna .prices__img {
		max-width: 100%;
		height: 250px;
	}
    .prices__img img {
		display: block;
        position: static;
    }
    .prices__inner {
        margin-top: 10px;
    }
	.prices_plasticdveri .prices__inner, 
	.prices_vhodgroups .prices__inner, 
	.prices_balconydveri .prices__inner, 
	.prices_steklodveri .prices__inner, 
	.prices_terracedveri .prices__inner, 
	.prices_shtulpdveri .prices__inner, 
	.prices_portaldveri .prices__inner, 
	.prices_alokna .prices__inner {
		margin-top: 20px;
	}
}
@media screen and (max-width: 992px) {
    .prices {
        padding-bottom: 45px;
    }
    .prices__group {
        padding-top: 40px;
    }
	.prices:not(:has(.branks-links)) .prices__group {
		margin-bottom: 40px;
	}
    .prices__tab {
        grid: none/repeat(2, 1fr);
    }
    .prices__text {
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 580px) {
    .prices__group {
        margin-bottom: 20px;
    }
	.prices:not(:has(.branks-links)) .prices__group {
		margin-bottom: 35px;
	}
    .prices__brands {
        margin-bottom: calc(20px + 10px);
    }
    .prices__tab {
        grid: none/1fr;
        gap: 30px;
    }
    .prices__img {
		justify-content: flex-start;
		max-width: 100% !important;
		height: auto !important;
    }
	.prices__name {
		margin-bottom: 20px;
	}
    .prices__price {
        margin-bottom: 20px;
    }
    .prices__data {
        margin-bottom: 5px;
    }
    .prices__btn {
        margin-top: 0;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 480px) {
	.prices__img img {
		position: relative;
		image-rendering: -moz-crisp-edges;
		image-rendering: -o-crisp-edges;
		image-rendering: -webkit-optimize-contrast;
		image-rendering: crisp-edges;
		-ms-interpolation-mode: nearest-neighbor;
	}
	.prices__item_balcony .prices__inner {
		margin-top: -30px;
	}
}
@media screen and (max-width: 400px) {
	.prices__btn-inner {
		display: block;
	}
    .prices__btn {
		width: 100%;
    }
}