.constructor__product--title__back {color: #F63636;}
.constructor__product--title__back svg path {stroke: #F63636;}

.constructor__product--product__replace {
	width: 100%;
	padding: 8px;
}

.constructor__loader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 999;
}

.constructor__loader--loader {
    color: #ffffff;
    font-size: 45px;
    text-indent: -9999em;
    overflow: hidden;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    transform: translateZ(0);
    animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
    left:calc(50% - 0.5em);
    top:calc(50% - 0.5em);
    display: block;
    z-index: 1;
}

@keyframes mltShdSpin {
    0% {
      box-shadow: 0 -0.83em 0 -0.4em,
      0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    5%,
    95% {
      box-shadow: 0 -0.83em 0 -0.4em, 
      0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 
      0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
    10%,
    59% {
      box-shadow: 0 -0.83em 0 -0.4em, 
      -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, 
      -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
    }
    20% {
      box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
       -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, 
       -0.749em -0.34em 0 -0.477em;
    }
    38% {
      box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
       -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, 
       -0.82em -0.09em 0 -0.477em;
    }
    100% {
      box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 
      0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
    }
}
  
@keyframes round {
0% { transform: rotate(0deg) }
100% { transform: rotate(360deg) }
}

.constructor__loader--background {
    position: inherit;
    width: inherit;
    height: inherit;
    top: inherit;
    left: inherit;
    object-fit: cover;
    filter: brightness(0.5);
}

.constructor__mobile_screen {
    display: none;
    width: 100%;
    margin: 80px 0 120px 0;
    padding: 0 15px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 40px;
}

.constructor__mobile_screen img {
    width: auto;
    height: 200px;
    object-fit: contain;
}

.constructor__mobile_screen p {
    text-align: center;
    font-size: 18px;
    line-height: 23px;
}
 
@media (max-width: 1023px) {
    .constructor__product--hide,
    .constructor__product--main_title,
    .constructor__product--btn {
        display: none !important;
    }

}

.constructor__product--product__replace.selected {
	background: #212121;
	border-color: #212121;
	color: #ffffff;
	cursor: unset;
}

.constructor__product--product__replace.selected,
.constructor__product--product__replace.unselect {
	width: 45%;
}

.constructor__product--product__line {flex-wrap: nowrap;}
.constructor__product--main_title {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 20px 16px;
    background: #ffffff;
    border-bottom: 1px solid rgba(33, 33, 33, 0.16);
    font-size: 18px;
    line-height: 28px;
    font-family: "Inter Tight Medium";
}
.constructor__product--list__title {
    padding: 20px 16px;
    background: #ffffff;
    border-bottom: 1px solid rgba(33, 33, 33, 0.16);
    font-size: 18px;
    line-height: 28px;
    font-family: "Inter Tight Medium";
    display: none;
}
.constructor__product--group__title {
    padding: 20px 16px;
    background: #ffffff;
    border-bottom: 1px solid rgba(33, 33, 33, 0.16);
    font-size: 18px;
    line-height: 28px;
    font-family: "Inter Tight Medium";
    display: block;
    cursor: pointer;
    color: #666666;
    position: relative;
}
.constructor__product--group__title::after {
    content: "›";
    position: absolute;
    font-size: 24px;
    line-height: 28px;
    font-family: "Inter Tight Medium";
    top: calc(50%-12px);
    right: 30px;
}
.constructor__product--btn .related {
    gap: 4px;
    border: 1px solid rgba(33, 33, 33, 0.16);
    background: unset;
    color: unset;
    font-size: 14px;
    margin-bottom: 8px;
}
.constructor__product--btn .related:hover {
    border: 1px solid #212121;
    color: #212121;
}
.constructor__product--btn .selected {
    cursor: pointer;
    gap: 4px;
    border: 1px solid rgba(33, 33, 33, 0.16);
    background: unset;
    color: unset;
    font-size: 14px;
    margin-bottom: 8px;
    font-family: "Inter Tight Medium";
    height: 48px;
    justify-content: center;
    align-items: center;
}
.constructor__product--btn .selected:hover {
    border: 1px solid #212121;
    color: #212121;
}
.constructor__top--filter__btn.eye {
    cursor: pointer;
    color: #666666;
    font-size: 14px;
    width: 50px;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.constructor__product--title__eye,
.constructor__product--main_title__eye {
    cursor: pointer;
    color: #666666;
    font-size: 14px;
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    /* border: 1px solid #ffffff; */
}
.constructor__product--title__eye:hover,
.constructor__product--main_title__eye:hover {
    /* border: 1px solid #212121; */
}
.constructor__product--title__btns {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.constructor__product--product__btns.control {display: flex;}
.control .constructor__product--product__replace {width: auto;}
.control .constructor__product--product__basket {padding: 8px;}
.constructor__product--product {
    position: relative;
}
.constructor__product--product__remove {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
    /* border: 1px solid #ffffff; */
    cursor: pointer;
    width: 28px;
    height: 28px;
}
.constructor__product--product__remove:hover {
    /* border: 1px solid #212121; */
}
.constructor__product--product__replace.selected {width: 100%;}
.constructor__product--product__replace.unselect {display: none !important}

.state__product--hidden,
.state__group--hidden {display: none;}

.state__product--added .constructor__product--product__images,
.state__product--added .constructor__product--product__prices,
.state__product--added .constructor__product--product__btns.control,
.state__product--added .constructor__product--product__remove {display: flex;}
.state__product--added .constructor__product--product__name {display: block;}
.state__product--added .constructor__product--product__btns.add,
.state__product--added .constructor__product--product__btns.change {display: none;}

.state__product--not_added .constructor__product--product__btns.add {display: flex;}
.state__product--not_added .constructor__product--product__images,
.state__product--not_added .constructor__product--product__name,
.state__product--not_added .constructor__product--product__prices,
.state__product--not_added .constructor__product--product__btns.control,
.state__product--not_added .constructor__product--product__btns.change,
.state__product--not_added .constructor__product--product__remove {display: none;}

.state__product--selected .constructor__product--product__images,
.state__product--selected .constructor__product--product__prices,
.state__product--selected .constructor__product--product__btns.change {display: flex;}
.state__product--selected .constructor__product--product__name {display: block;}
.state__product--selected .constructor__product--product__btns.add,
.state__product--selected .constructor__product--product__btns.control,
.state__product--selected .constructor__product--product__remove {display: none;}
.state__product--selected .constructor__product--product__btns.change .selected,
.state__product--selected .constructor__product--product__btns.change .unselect {display: flex;}
.state__product--selected .constructor__product--product__btns.change .select {display: none;}

.state__product--not_selected .constructor__product--product__images,
.state__product--not_selected .constructor__product--product__prices,
.state__product--not_selected .constructor__product--product__btns.change {display: flex;}
.state__product--not_selected .constructor__product--product__name {display: block}
.state__product--not_selected .constructor__product--product__btns.add,
.state__product--not_selected .constructor__product--product__btns.control,
.state__product--not_selected .constructor__product--product__remove {display: none;}
.state__product--not_selected .constructor__product--product__btns.change .select {display: flex;}
.state__product--not_selected .constructor__product--product__btns.change .selected,
.state__product--not_selected .constructor__product--product__btns.change .unselect {display: none;}

.state__group--opened::after {rotate: -90deg;}
.state__group--opened + .constructor__product--group__block {display:block;}

.state__group--closed::after {rotate: 90deg;}
.state__group--closed + .constructor__product--group__block {display: none;}

.state__content--list .constructor__product--btn .selected {display: flex;}
.state__content--list [data-key].constructor__product--title > .constructor__product--title__eye {display: block;}
.state__content--list [data-key].constructor__product--title {display: flex; justify-content: space-between; flex-wrap: nowrap; cursor: pointer;}
.state__content--list .constructor__product--title .constructor__product--title__btns,
.state__content--list .constructor__product--title:not([data-key]) > .constructor__product--title__eye,
.state__content--list .constructor__product--btn .related {display: none;}

.state__content--key .constructor__product--title.active {display: block;}
.state__content--key .constructor__product--title:not([data-key]),
.state__content--key .constructor__product--btn .related,
.state__content--key .constructor__product--main_title,
.state__content--key .constructor__product--title > .constructor__product--title__eye,
.state__content--key .constructor__product--btn .selected {display: none;}

.state__content--selection .constructor__product--title.product__selection {display: block;}
.state__content--selection .constructor__product--btn .related {display: flex;}
.state__content--selection .constructor__product--main_title,
.state__content--selection .constructor__product--title.active,
.state__content--selection .constructor__product--group__title,
.state__content--selection .constructor__product--btn .selected {display: none;}

.state__content--setup .constructor__product--title.active,
.state__content--setup .constructor__product--list__title,
.state__content--setup .constructor__product--title.product__selected {display: block;}
.state__content--setup .constructor__product--btn .related,
.state__content--setup .constructor__product--main_title,
.state__content--setup .constructor__product--title.active,
.state__content--setup .constructor__product--title > .constructor__product--title__eye,
.state__content--setup .constructor__product--btn .selected {display: none;}

.state__eye--open {background-image: url('/local/templates/fedor/images/eye_open.png');}
.state__eye--open.constructor__product--title__eye,
.state__eye--open.constructor__product--main_title__eye,
.state__eye--open.constructor__product--product__remove {opacity: 1;}

.state__eye--close {background-image: url('/local/templates/fedor/images/eye_close.png');}
.state__eye--close.constructor__product--title__eye,
.state__eye--close.constructor__product--main_title__eye,
.state__eye--close.constructor__product--product__remove {opacity: 0.16;}

header, footer {display: none !important;}

@media (min-width: 641px) {
    .header {display: none;}
    .constructor__mobile_screen {display: none;}
    .constructor__loader {display: block}
    #constructor-modal {display: none;}
}

@media (max-width: 640px) {
    .header {display: block;}
    .header__mob--flex {justify-content: center;}
    .constructor__mobile_screen {display: flex;}
    .constructor__loader {display: none;}
    #constructor-modal {display: none !important;}
}

.constructor__tip-hide {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 19px;
    cursor: pointer;
    color: #999;
    font-size: 25px;
}

.constructor__tip-hide:hover {
    color: #fff;
}

.constructor__top--filter__btn.save:not(.active),
.constructor__top--filter__btn.open-login-popup:not(.active) {
    display: none;
}