.detailConstr {padding-top: 2rem;}
.contructor__title {margin-bottom: 2rem; display: block;}
.contructor__product {border: 1px solid #f4f4f4; margin-bottom: 1rem;}
.contructor__dop {background: #f4f4f4;}

.contrItems {margin: 0 -0.5rem !important;}
.contrItems>.col, .contrItems>[class*=col-] {padding: 1rem 0.5rem 0;}

.contrItem {padding: 0.75rem .75rem 0;}
.contrItem.product-item {border: 1px solid #f4f4f4; padding: 0.25rem .5rem 0.5rem;}
.contrItem.product-item {}
.contrItem__imgContainer {
    height: 0;
    padding-top: 90%;
    position: relative;
    margin-bottom: 0.75rem;
    cursor: pointer;
}
.contrItem.product-item .contrItem__imgContainer {margin-bottom: 0.5rem;}
.contrItem__imgFlex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: .5rem;
    left: .5rem;
    right: .5rem;
    bottom: .5rem;
}
.contrItem__img {
    max-width: 100%;
    height: auto;
    max-height: 100%;
}
.contrItem__name {
    letter-spacing: 0.6px;
    line-height: 1.3;
    max-height: 2.5rem;
    overflow: hidden;
    display: block;
    color: #282828 !important;
    height: 2.5rem;
    cursor: pointer;
}

.contrItem.product-item  .contrItem__name {margin-bottom: 0;}

.contrItem__offer {
    padding: 0.5rem 0rem;
}
.contrItem__offerProp {font-size: 0.8125rem; color: #6d6d6d; line-height: 1; margin-bottom: 0.125rem;}
.contrItem__offerPrice {font-size: 1rem; color: #282828; line-height: 1rem;}
.contrItem__offerPrice._old {font-size: 0.75rem; color: #656565; text-decoration: line-through;} 
.contrItem__offerQ {font-size: 0.6875rem; color: #929292; line-height: 1rem; padding-left: 0.25rem;}
.contrItem__offerCol._l {padding-right: 0.25rem !important;}

.contructor__dopBlock .quantity,
.contructor__productAct .quantity {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    max-width: 150px;
    margin: 0 auto 0;
    border: 1px solid #c1c1c1;
    background: #fff;
    width: 4.5rem;
}

.contructor__dopBlock .quantity.hide {opacity: 0 !important;}
.contructor__dopBlock .quantity {opacity: 1 !important; margin-left: 0.5rem;}

.contructor__dopBlock .quantity button,
.contructor__productAct .quantity button {
    position: relative;
    display: block;
    min-width: 1.125rem;
    height: 1.875rem;
    border-radius: 0px;
    background-color: transparent;
    color: #444343;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    transition: background 300ms ease, opacity 300ms ease;
    line-height: 1.875rem;
    color: #444343;
    font-size: 0.875rem;
    border: none !important;
    padding: 0 6px;
}
.contructor__dopBlock .quantity button:hover,
.contructor__productAct .quantity button:hover {background-color: #e6e6e6}

.contructor__dopBlock .quantity input,
.contructor__productAct .quantity input {
    display: block;
    padding: 0;
    width: 100%;
    height: 1.875rem;
    border: none;
    border-radius: 0px;
    background: transparent !important;
    color: #444343;
    vertical-align: middle;
    text-align: center;
    line-height: 1.875rem;
    transition: border 300ms ease;
    font-size: 0.875rem;
    width: 2rem;
}

.contructor__dopBlock .quantity input,
.contructor__dopBlock .quantity button {height: 1.375rem; line-height: 1.375rem;}

.contructor__totalSum {font-weight: 600; font-size: 1.25rem; color: #444343;}
.contructor__totalSum span {font-weight: bold; color: #e31f24;}

.constructor__btnAdd {position: relative; padding: .375rem 2.75rem .375rem 4rem !important;}
.constructor__btnAdd:before {content: ''; position: absolute; display: block; background: url(images/icon-card.svg) center center no-repeat; background-size: contain; width: 1.25rem; height: 1.125rem; left: 2rem; top: 50%; transform: translateY(-50%);}


.contructor__product.first {display: block !important;}

.constructor__listSelect {
  text-transform: uppercase;
  height: 1.5rem;
  padding: 0.125rem !important;
  font-size: 0.8125rem !important;
}
.constructor__listSelect span {display: inline-block; padding-left: 1.25rem; position: relative;}
.constructor__listSelect span.constructor__listIco {display: none !important;}
.constructor__listSelect span:before {content: '+'; position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-size: 1.5em; font-weight: 400;}

.contructor__dop {padding: 1.25rem 1.25rem 0 !important;}

.contructor__dopBlock {margin-bottom: 1.5rem;}

.contructor__tableText {display: none;}
.constructor__summary {position: relative; padding: 0.875rem 0 0.75rem;}
.constructor__summary:before {content: ''; display: block; left: 0rem; right: -1.25rem; top: 0; height: 1px; background: #fff; position: absolute;}
.contructor__productPriceDop {color: #444343;}
.contructor__productPriceDop span {color: #e31f24; font-weight: bold;}
.contructor__productSum {color: #444343; text-transform: uppercase; font-weight: 600; text-align: right;}
.contructor__productSum span {text-transform: none; color: #e31f24; font-weight: bold;}

.detailConstr {display: none;}
.detailConstr .dopPic {display: block; width: 6.5rem; height: 6.5rem; margin-right: 1rem; background-color: #fff; background-position: center center; background-repeat: no-repeat; background-size: contain; position: relative; border: 3px solid transparent;}
.detailConstr .dopPic .dopEdit {display: block; position: absolute; left: 0; right: 0; bottom: 0; top: 0; }
.detailConstr .dopPic .dopDel {display: block; position: absolute; right: -3px; top: -3px;  width: 1.375rem; height: 1.375rem;}
.detailConstr .dopPic .dopDel:before,
.detailConstr .dopPic .dopDel:after {content: ''; position: absolute; top: 50%; left: 50%; right: 50%; width: 1rem; height: 1px; background: #b4b4b4; }
.detailConstr .dopPic .dopDel:before {transform: translate(-50%,-50%) rotate(-45deg);}
.detailConstr .dopPic .dopDel:after {transform: translate(-50%,-50%) rotate(45deg);}
.detailConstr .dopPic .dopDel:hover:before,
.detailConstr .dopPic .dopDel:hover:after {background: #e31f24;}

.detailConstr .contructor__product {display: none;}

.detailConstr .dopName {font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; color: #000; line-height: 1.2; display: block; height: 1.875rem; overflow: hidden; text-overflow: ellipsis;}
.detailConstr .dopPrice {color: #e31f24; font-size: 0.875rem; font-weight: 600; height: 1.5rem}
.detailConstr .dopType {color: #444343; font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; height: 1.625rem;
width: 100%; line-height: 1;
}

.detailConstr .tableEditor {color: #828282; font-size: 0.8125rem; text-align: center; display: inline-block; position: relative; vertical-align: top; padding-left: 1.25rem;}
.detailConstr .tableEditor a {color: #e31f24;} 
.detailConstr .tableEditor:before {content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; background: url(images/textedit.svg) center center no-repeat; background-size: contain;}



.itemSelector__searchBtn:before {content: ''; display: block; width: 1.3125rem; height: 1.3125rem; background: url(images/icon-search.svg) center center no-repeat; background-size: contain;}



/*desktops*/
@media (max-width: 1200px) { 

}

/*tablets*/
@media (max-width: 991px) {

}

/*phones*/
@media (max-width: 767px) { 
	.contructor__dop {padding: 0.5rem 0.5rem 0 !important;}
	.detailConstr .dopName {min-height: 1rem; height: auto;}
	.contrItem {padding: 0.5rem .5rem 0;}
	.detailConstr .dopPic {width: 4.5rem; height: 5.5rem; margin-right: 0.875rem;}
	.contructor__dopBlock {margin-bottom: 0.5rem;}
	.contructor__productAct {margin-bottom: 0.5rem;}
	.contructor__totalSum {padding-bottom: 0.5rem; }
	.constructor__btnAdd {width: 100%;}
	.contructor__productSum {text-align: left;}
	.detailConstr .dopPic {border: 3px solid transparent; background-size: contain;}
	.contrItem__imgContainer {width: 4.5rem; height: 5.5rem; margin-right: 0.875rem; padding: 0;}
	.itemSelector .contrItem__imgContainer {margin: 0 auto;}
}
