* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}
.calc {
    font-family: 'Merriweather';

}
.container.ws {
    max-width: 100%;
    width: 100%;
    padding: 0 25px;
}

.container {
    max-width: 1631px;
    padding: 0 15px;
    margin: 0 auto;
    width: 100%;
}
.calc__descr-img img {
    width: auto !important;
    max-width: none;
}
.calc__descr-text p {
    padding: 0 !important;
}
.calc {
    padding: 126px 0;
    padding-top: 60px;
}
.calc__wrap {

}
.calc__title {
    font-weight: bold;
    font-size: 48px;
    line-height: 60px;
    text-align: center;
    color: #575144;
}
.calc__content {
    display: flex;
    margin-top: 80px;
}
.calc__stap {
    padding: 51px 22px;
}
@media(min-width: 1000px) {
	.calc__stap {
		min-height: 626px;
	}
}
.calc__stap-1 {
    border: 1px solid #C8A577;
    max-width: 492.6px;
    width: 100%;
}
.calc__stap-2 {
    border: 1px solid #C8A577;
    border-left: none;
    max-width: 580.6px;
    width: 100%;
    padding-right: 8px;
    padding-bottom: 22px;
}
.calc__stap-3 {
    padding: 0;
    max-width: 491px;
    width: 100%;
    margin-left: 37px;
}
.calc__stap-3 .calc-stap__wrap {
    padding: 51px 22px;
    border: 1px solid #C8A577;
    width: 100%;
    max-width: 491px;
    padding-right: 8px;
    padding-bottom: 22px;
    position: relative;
    width: 100%;
    height: calc(100% - 98px);
}
.calc__stap-3__btn {
    margin: 37px auto 0;
}
.calc__stap-1__btn {
    margin-top: 39px;
}

.calc__stap-3 .calc-stap__title {
    margin-bottom: 3px;
}
.calc__stap-3 .calc-stap__decor {
    transform: rotate(
90deg);
    top: calc(100% - 10px);
    left: calc(50% - 17px);
}

.calc-stap {
    position: relative;
}
.calc-stap__list-result {
    margin-top: 14px;
}
.calc-stap__decor {
    position: absolute;
    top: 50%;
    left: calc(100% - 3px);
    transform: translateY(-50%);
}
.calc-stap__title {
    font-weight: 300;
    font-size: 24px;
    line-height: 30px;
    color: #C8A577;
    margin-bottom: 20px;
}
.calc-stap__descr {
    font-family: 'Open Sans';
    font-weight: 300;
    font-size: 14px;
    line-height: 19px;
    display: flex;
    align-items: center;
    color: #575144;
    max-width: 280px;
}
.calc-stap__item:not(:last-child) {
    margin-bottom: 9px;
}
.calc-stap__item-name {
    font-family: 'Open Sans';
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    display: flex;
    align-items: center;
    color: #575144;
    margin-bottom: 9px;
}
.calc-stap__select {
    position: relative;
}
.calc-stap__select-btn {
    background-color: #fff;
    border: 1px solid #B5A58C;
    box-sizing: border-box;
    border-radius: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 42px 0 36px;
    cursor: pointer;
}
.calc-stap__select-name {
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    color: #575144;
    text-transform: uppercase;
    font-family: 'Open Sans';
}


.calc-input {
    height: 60px;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #B5A58C;
    border-radius: 1000px;
    padding: 0 42px 0 36px;
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    color: #575144;
    text-transform: uppercase;
    font-family: 'Open Sans';
    outline: none;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
.calc-input::placeholder {
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    color: #575144;
    text-transform: uppercase;
    font-family: 'Open Sans';
}


.calc .btn {
    font-family: 'Open Sans' !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-size: 20px !important;
    line-height: 27px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    color: #FFFFFF !important;
    height: 60px !important;
    background: #CC9966 !important;
    border-radius: 60px !important;
    cursor: pointer !important;
    transition: none !important;
    outline: none !important;
	border: none !important;
}
.calc .btn:hover {
    background: linear-gradient(0deg, #A27950 0%, #CC9966 100%)  !important;
}


.calc__stap-2 .calc-stap__list {
    padding-left: 10px;
}










.calc__stap-2 .calc-stap__title {
    margin-bottom: 11px;
}



.calc-stap__list {
    overflow: hidden;
    max-height: 510px;
    min-height: calc(100% - 40px);
    overflow-y: visible;
}



.mini-item {

    min-height: auto;
}

.mini-item .result-item__img {
    height: 100%;
}

.mini-item .result-item__title,
.mini-item .result-item__counter,
.mini-item .result-item__price {
	display: none;
}
.mini-item .calc-stap__result-item.result-item, .mini-item img {
    display: block;
    width: 100% !important;
    height: 100%;
    object-fit: cover;
}



.calc__descr {
    padding-top: 113px;
    padding-bottom: 108px;
}
.calc__descr-img {
    margin-right: 160px;
}
.calc__descr-wrap {
    display: flex;
    align-items: center;
    max-width: 1170px;
    margin: 0 auto;
    margin-top: 69px;
}
.calc__descr-text {
    font-family: 'Open Sans';
    font-weight: normal;
    font-size: 18px;
    line-height: 25px;
    color: #575144;
}
.calc__descr-text p {
    margin: 0;
}
.calc__descr-text p:not(:last-child){
    margin-bottom: 50px;
}
.calc__descr-text span {
    font-weight: 600;
}

.calc-list-item__delete img:nth-child(1) {
    display: block;
}
.calc-list-item__delete img:nth-child(2) {
    display: none;
}

.calc-list-item__delete:hover img:nth-child(1) {
    display: none;
}
.calc-list-item__delete:hover img:nth-child(2) {
    display: block;
}

.tag-coment {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

@media(min-width:1000px) {
    .calc-list-item__tag-coment:hover .tag-coment__text {
        display: block;
    }
}
.calc-list-item__tag-coment.active .tag-coment__text {
    display: block;
}

.calc-list-item__tag-coment-wrap {
    flex-grow: 1;
    width: 100%;
    display: flex;
}

.tag-coment__text {
    position: absolute;
    max-width: 419px;
    background: #FFFFFF;
    box-shadow: 0px 0px 10px #e2e0da;
    border-radius: 100px;
    padding: 11px 25px;
    left: -10px;
    top: calc(100% + 10px);
    font-family: Open Sans;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 19px;
    color: #575144;

    display: none;
}

.calc-stap__select-btn svg {
    transform: rotate(0);
}

.select-modal__top svg {
    cursor: pointer;
    margin-right: 16px;
    transform: rotate(180deg);
}
.calc-list-item__tag-coment {
    cursor: pointer;
}
.result-item__img img {
    max-width: 75px;
}




.select-modal__top svg {
    min-width: 19px;
}

@media(max-width:400px) {
	.result-item {
		margin-right: 0;
	}
	.calc-stap__list {
		position: relative;
		left: -20px;
		width: calc(100% + 20px);
	}

	.result-item__price {
		max-width: 84px;
		width: 84px;
		min-width: 84px;
		box-sizing: border-box;
		margin-left: 10px;
	}

	.calc__stap-2 .calc-stap__list {
		left: -8px;
		width: 100%;
	}
}