.calc_product-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 15px;
}

.calc_product-grid .item {
	display: flex;
	flex-direction: column;
}

.calc_product-grid .item img {
	height: 166px;
	width: 100%;
	object-fit: cover;
}

.calc_product-grid .item .calc-btn:hover, #calc_back {
	cursor: pointer;
}

.calc_product-grid .item .title {
	font-size: 16px;
    color: #000;
    margin: 20px 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
}

.calc_product-grid .item .descr {
	margin-bottom: 13px;
	flex-grow: 1;
}

.calc_product-grid .item .calc-btn, .save-calc-btn {
	background-color: #132651;
    text-transform: uppercase;
    padding: 10px 15px;
    display: block;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
	width: 100%;
	cursor: pointer;
}

.save-calc-btn {
	margin-left: auto;
	width: 150px;
	margin-top: 30px;
}

.calc_title-wrap {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
}

#calc_back {
	font-size: 15px;
    font-weight: 700;
    background-color: #fff;
    border: 1px solid #dcc8a2;
    border-radius: 3px;
    padding: 5px 30px;
}

#edmn-calc {
	min-height: 500px;
}

.calc-block_title {
	padding: 5px 30px;
	background: #ededed;
    font-size: 16px;
   	margin-bottom: 30px;
    font-weight: 700;
}

.product-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	margin-bottom: 40px;
	font-size: 14px;
}

.product-options .option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.product-options .option.option_width {
	grid-column: 1/span 2;
    flex-direction: column;
    align-items: flex-start;
}

.product-options .option.option_width::after {
	display: none;
}

.product-options .option.option_width input {
	width: 100%;
	padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 1px solid #000;
	width: 100px;
	text-align: center;
}

.option_width-info {
	display: flex;
}

.option_width-info > *:first-child {
	margin-right: 20px;
}

.product-options .option .option__title {
	background: #fff;
	z-index: 1;
}

.option__button-wrap {
	z-index: 1;
	padding-left: 15px;
	background-color: #fff;
}

.product-options .option .option__button {
	color: #333;
    background-color: #fff;
    border: 1px solid #dcc8a2;
    border-radius: 3px;
    height: 32px;
    line-height: 30px;
    min-width: 100px;
    padding: 0 10px;
}

.product-options .option .option__button:hover {
	background-color: #eee;
	cursor: pointer;
}

.product-options .option .option__button.active {
	color: #000;
    background: #dcc8a2;
}

.product-options .option::after {
	content: "";
    display: block;
    width: 100%;
    bottom: 11px;
    left: 0;
    height: 2px;
    position: absolute;
    z-index: 0;
    border-bottom: 2px dotted #888;
}

.param-group {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	gap: 10px;
}

.param-group__title {
	text-align: center;
	margin-bottom: 30px;
	font-size: 20px;
}

.param-item {
	width: 200px;
	display: flex;
	flex-direction: column;
	padding: 10px;
	border: 1px solid transparent;
	transition: all .3s;
	position: relative;
}

.param-item.selected {
	border-color: #dcc8a2;
}

.param-item:not(.selected):hover {
	cursor: pointer;
	border-color: #cdcdcd;
}

.param__img-wrap img {
	max-width: 100%;
}

.param_show-photo {
	border: 1px solid #cdcdcd;
    border-radius: 50%;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background: #efefef url(icon-search.svg) no-repeat 50%;
    position: absolute;
    right: 9px;
    top: 9px;
    z-index: 5;
}

.param__title {
	height: 29px;
    text-align: center;
    font-size: 14px;
    line-height: 14px;
    padding: 0 10px;
	margin: 10px 0;
    overflow: hidden;
}

.param__price {
	font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.calc__price-total {
	font-size: 16px;
    font-weight: 700;
	margin: 20px 0;
}

.calc__price-total span {
	font-size: 20px;
}

.calc_term-title {
	text-align: center;
	color: #132651;
	font-size: 28px;
	margin: 40px 0;
}

.calc_product {
	display: flex;
	justify-content: space-between;
}

.calc_product .product__img-col, .calc_product .product__attr-col {
	width: calc(50% - 25px);
}

.calc_product .thumb-gallery {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 15px;
}

.product__dop-price {
	display: grid;
	grid-template-columns: 1fr;
	gap: 15px;
}

#product__dop-price {
	margin-bottom: 15px;
	display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.dop-price__item {
	display: flex;
    align-items: center;
    justify-content: space-between;
	position: relative;
}

.dop-price__item .price {
	font-size: 20px;
    font-weight: 700;
	padding-left: 5px;
}

.dop-price__item .price, .dop-price__item .title {
	background-color: #fff;
	position: relative;
	z-index: 2;
}

.dop-price__item.empty::after {
	display: none;
}

.dop-price__item::after {
	content: "";
    display: block;
    width: 100%;
    bottom: 11px;
    left: 0;
    height: 2px;
    position: absolute;
    z-index: 0;
    border-bottom: 2px dotted #888;
}

.calc_send-form {
	width: 350px;
    margin: 40px 0 40px;
}

.calc_send-form h2 {
	font-size: 16px;
}

.calc_send-form  .wpcf7-form-control {
	color: #000;
}

.calc_send-form .hidden {
	display: none;
}

.calc-hr {
	width: 100%;
	height: 2px;
	background-color: #000;
	margin: 30px 0;
}


@media(max-width: 991px) {
	.calc_product {
		flex-direction: column;
		align-items: center;
		gap: 30px;
	}

	.param-group {
		grid-template-columns: 1fr 1fr 1fr;
		overflow-y: scroll;
		max-height: 80vh;
	}

	.calc_send-form {
		width: 100%;
	}
}

@media(max-width: 767px) {
	.calc_product-grid {
		grid-template-columns: 1fr 1fr;
	}
	.product-options .option.option_width {
		grid-column: unset;
	}

	.product-options {
		grid-template-columns: 1fr;
	}

	.param-group {
		grid-template-columns: 1fr 1fr;
	}

	.calc_product .product__img-col, .calc_product .product__attr-col {
		width: 100%;
	}

	.param-group__wrap {
		padding: 15px !important;
	}

	.param-item {
		width: 100%;
	}

	.param__title {
		height: auto;
		flex-grow: 1;
	}


}

@media(max-width: 550px) {
	.param__price {
		font-size: 14px;
	}

	.calc_product-grid .item .descr {
		font-size: 14px;
	}

	.calc_product-grid .item .title {
		margin: 10px 0;
	}

	.calc_product-grid .item img {
		height: 120px;
	}

	.dop-price__item .price, .dop-price__item .title {
		font-size: 14px;
	}

	.dop-price__item .title {
		max-width: 60%;
	}

	
}