html,body{
    font-size: 16px;
}

h1.lk__title{
    font-weight: 400;
    font-size: 2.5rem;
}
.lk__headerbtns .btn.active,
.lk__headerbtns .btn:hover{
    color: #000 !important;
}

.catalog-section__products-item{
    position: relative;

}

.lk__wrapper {
    grid-template-columns: 6fr 4fr;
    gap: 50px;
    margin-top: 52px;
    display: flex;
}
.lk__wrapper > *:nth-child(1) {
    flex: 0 0 calc(60% - 25px);
}
.lk__wrapper > *:nth-child(2) {
    flex: 0 0 calc(40% - 25px);
}



.lk__item {
    margin-top: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    padding: 3.12rem;
}
.lk__item:first-child {
    margin-top: 0;
}

.lk__subtitle {
    font-weight: 700;
    font-size: 1.69rem;
    line-height: 89%;
}

.lk__subbertitle {
    font-weight: 600;
    font-size: 1.12rem;
    line-height: 133%;
    margin-top: 18px;
}

.lk__form {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.popup form .btn {
    margin-top: 24px;
    width: 100%;
}
.popup form .agreement {
    margin-top: 24px;
    display: flex;
    align-items: start;
    gap: 15px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 150%;
}
.popup form .agreement svg {
    flex: 0 0 24px;
}
.popup form .agreement svg path:first-child {
    opacity: 0;
    transition: all 0.3s ease;
}
.popup form .agreement.active path:first-child {
    opacity: 1;
}

.popup__form-item {
    margin-top: 12px;
}
.popup__form-item:first-child {
    margin-top: 0;
}
.popup__form-item input {
    display: block;
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 0.62rem;
    padding: 0.62rem;
    font-weight: 300;
    color: #000;
    font-size: 0.88rem;
    line-height: 229%;
}

.lk__form-item .inpattachment{
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 20px;
}

.lk__form-item input {
    display: block;
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 0.62rem;
    padding: 0.62rem;
    font-weight: 300;
    color: #000;
    font-size: 0.88rem;
    line-height: 229%;
}
.lk__form-item .btn {
    width: 100%;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 0.88rem;
    line-height: 229%;
    padding: 10px 20px;
    color: #000;
    display: block;
    border-radius: 0.62rem;
    box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.1);
    background: rgb(199, 178, 153);
    width: -moz-max-content;
    text-align: center;
    width: 100%;
    border-bottom:none;

}

.lk__form-item .btn:hover{
    color:#fff!important
}

.lk-select {
    position: relative;
    height: 100%;
    /*overflow: hidden;*/
}

.lk-select {
    /*overflow: visible;*/
}

.lk-select:hover .select-body {
    opacity: 1;
    /*z-index: 4;*/
}
/*.lk__form-item{*/
/*    z-index: 3;*/
/*    position: relative;*/
/*}*/

/*.lk__form-item:hover{*/
/*    z-index: 4;*/
/*}*/


.lk-select:hover .chev {
    transform: rotate(180deg);
}

.select-active {
    cursor: default;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 10px;
    border: 1px solid #c7b299;
    border-radius: 0.62rem;
    padding: 0.62rem;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 0.88rem;
    line-height: 229%;
    color: #c7b299;
}
.select-active span {
    white-space: nowrap;
}
.select-active .chev {
    transition: all 0.3s ease;
    flex: 0 0 24px;
    height: 24px;
}
.select-active .chev svg {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    display: block;
}

.select-body {
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: -moz-max-content;
    height: max-content;
    top: calc(100% + 4px);
    border-radius: 1.25rem;
    padding: 0.94rem;
    background: #f4f0eb;
}
.select-body:before {
    content: "";
    width: 100%;
    height: 4px;
    position: absolute;
    top: -4px;
}

.select__item {
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.88rem;
    gap: 8px;
    margin-top: 8px;
}
.select__item:first-child {
    margin-top: 0;
}
.select__item .check {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1px solid #c2c2c2;
    border-radius: 50%;
    position: relative;
}
.select__item .check:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
    opacity: 0;
    display: block;
    margin: auto;
}
.select__item.active .check:before {
    opacity: 1;
}

.lk__avatarwrapper {
    margin: 0;
    padding: 0 !important;
    border: none;
    display: flex;
    align-items: center;
    gap: 20px;
    width: auto;
}
.lk__avatarwrapper input[type=file] {
    width: 0;
}
.lk__avatarwrapper .lk__form-item {
    margin-top: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 10px;
}
.lk__avatarwrapper .lk__form-item div:last-child {
    font-weight: 300;
    font-size: 0.75rem;
}

.file-btn {
    width: -moz-max-content !important;
    width: max-content !important;
    min-width: 182px;
}

.lk-file-name {
    flex: 1 1 auto;
    width: auto;
}

.lk__avatar {
    flex: 0 0 106px;
}
.lk__avatar img {
    width: 106px;
    height: 106px;
    display: block;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
}
.lk__avatar span {
    display: block;
    margin-top: 20px;
    text-align: center;
}

.lk__username {
    font-weight: 700;
    font-size: 1.12rem;
    line-height: 133%;
}

.lk__addition-item {
    margin-top: 2rem;
    background: radial-gradient(68% 94.34% at 86.37% 27.16%, #c7b299 0%, #000 100%);
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    color: #fff;
}
.lk__addition-item .textcontent {
    padding: 2rem;
}
.lk__addition-item:first-child {
    margin-top: 0;
}
.lk__addition-item:before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.lk__addition-item * {
    position: relative;
    z-index: 10;
}
.lk__addition-item .lk__btn {
    margin-top: 2rem;
}

.lk-bg {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.lk-bg img {
    position: absolute;
    display: block;
}
.lk-bg .grid {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.lk__addition-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 160%;
}

.lk__addition-desc {
    font-weight: 400;
    font-size: 0.88rem;
    line-height: 155%;
    color: #fff;
}

.lk__addition-item .textcontent {
    padding-right: 200px;
}

.lk__addition-item#for-client .lk-main-bg {
    position: absolute;
    width: 215px;
    height: 120px;
    right: -50px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.lk__addition-item#for-designer .lk-main-bg {
    position: absolute;
    width: 283px;
    height: 214px;
    right: -50px;
    bottom: 0;
}

.lk__addition-item#for-beuro .lk-main-bg {
    position: absolute;
    width: 376px;
    height: 362px;
    right: -50px;
    bottom: -10px;
}

.nofound {
    margin-top: 82px;
    margin-bottom: 100px;
}

.nofound__title {
    text-align: center;
    font-weight: 400;
    font-size: 4.38rem;
    line-height: 80%;
    text-align: center;
    color: #000;
}

.nofound__icon {
    margin-left: auto;
    margin-right: auto;
    margin-top: 52px;
    width: 100px;
    height: 100px;
}
.nofound__icon img {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: contain;
    object-fit: contain;
}

.nofound__desc {
    margin-top: 52px;
    text-align: center;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 140%;
    text-align: center;
    color: #000;
}
.nofound__desc a {
    font-weight: 700;
    text-decoration: underline;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    color: #c7b299;
}

.fav {
    margin-top: 52px;
    padding-bottom: 40px;
}

.fav__wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.fav__item {
    position: relative;
}

.fav__image {
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    height: 537px;
}
.fav__image > img {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
}

.fav__params {
    padding: 14px 20px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fav__item-alink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fav__remove {
    cursor: pointer;
    position: absolute;
    z-index: 10;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
}
.fav__remove:before, .fav__remove:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    margin: auto;
}
.fav__remove:after {
    transform: rotate(45deg);
}
.fav__remove:before {
    transform: rotate(-45deg);
}

.fav__likes {
    position: absolute;
    z-index: 10;
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
}
.fav__likes img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    display: block;
}

.fav__size {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 0.88rem;
    line-height: 140%;
    color: #000;
    padding: 4px 10px;
    border-radius: 0.31rem;
    padding: 0.12rem 0.62rem;
    background: #c7b299;
    bottom: 20px;
    left: 20px;
}

.fav__item-more {
    padding: 12px 20px;
}

.fav__others {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.fav__other-item {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
}
.fav__other-item img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
}

.fav__item-name {
    display: block;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 1.62rem;
    line-height: 123%;
    color: #000;
    margin-top: 12px;
}

.fav__item-price {
    margin-top: 5px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 145%;
    color: #000;
}

.downloaded__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.downloaded .fav__item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.downloaded .fav__item-more {
    padding: 0;
}

.downloaded__body {
    margin-top: 18px;
}

.downloaded__subtitle {
    margin-top: 18px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 160%;
}

.downloaded__item {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1rem;
    line-height: 115%;
    transition: all 0.3s ease;
    color: #555;
}
.downloaded__item:first-child {
    margin-top: 0;
}
.downloaded__item svg {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    -o-object-fit: contain;
    object-fit: contain;
    display: block;
}
.downloaded__item svg path {
    transition: all 0.3s ease;
}
.downloaded__item span {
    max-width: 132px;
}
.downloaded__item.active {
    color: #11bf42;
}
.downloaded__item.active svg path {
    fill: #11bf42;
}

.popup {
    max-width: 330px;
    padding: 1.25rem 0.94rem !important;
    border-radius: 1.25rem;
}

.f-button.is-close-button {
    top: 10px !important;
    right: 10px !important;
    --f-close-button-color: #555;
    width: 14px !important;
    height: 14px !important;
}

.popup__title {
    text-align: center;
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 140%;
    text-align: center;
    color: #555;
}

.popup__wrapper {
    margin-top: 24px;
}

.popup__btn {
    margin-top: 24px;
    width: 100%;
    box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #c7b299;
    border-radius: 0.62rem;
    padding: 0.62rem 2.5rem;
    background: transparent;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 0.88rem;
    line-height: 229%;
    text-align: center;
    color: #555;
}
.popup__btn:first-child {
    margin-top: 0;
}
.popup__btn.colored {
    background: rgba(199, 178, 153, 0.7);
}

.popup__enter-wrap {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.popup__enter-wrap span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 140%;
    color: #555;
}
.popup__enter-wrap a {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 0.88rem;
    line-height: 140%;
    text-align: right;
    color: #d8c9b8;
}

.popup#enter .title, .popup#register .title {
    font-size: 2.12rem;
    margin-bottom: 24px;
}


.downloaded{
    margin-bottom: 50px;
}

.btn.lk__btn{
    border-radius: 0.62rem;
    padding: 10px 50px;
    box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.1);
    background: rgb(199, 178, 153);
    width: -moz-max-content;
    width: max-content;
    font-family: var(--font-family);
    font-weight: 300;
    text-align: center;
    color: #fff;
    border-bottom: none;
}

.lk__headerbtns {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2.5rem;
}
.lk__headerbtns .btn.lk__btn {
    flex: 0 0 max-content;
    padding: 10px 20px;
    gap: 10px;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgb(199, 178, 153);
    color: rgb(199, 178, 153);
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.1);
}
.lk__headerbtns .btn img {
    width: 24px;
    height: 24px;
    display: block;
    flex: 0 0 24px;
    -o-object-fit: contain;
    object-fit: contain;
}
.lk__headerbtns .btn.lk__btn.active, .lk__headerbtns .lk__btn.btn:hover {
    background: rgb(199, 178, 153);
    color: #000;
}
.lk__form-item .btn.lk__btn{
    width: 100%;

}

@media (max-width: 1331px) {
    .leavimage {
        top: 9%;
    }
    .lk__wrapper {
        gap: 1.5rem;
        display: flex;
        align-items: stretch;
        flex-wrap: wrap;
    }
    .lk__main {
        flex: 1 1 auto;
    }
}
@media (max-width: 1101px) {
    .leavimage {
        top: 17%;
    }
}

@media (max-width: 810px) {
    .leavimage {
        top: 17%;
        width: 320px;
        height: 320px;
        img {
            display: block;
            width: 100%;
            height: 100%;
        }
    }
}

@media (max-width: 1540px) {
    .lk__wrapper {
        flex-wrap: wrap;
        & > *:nth-child(1) {
            flex: 1 1 calc(50%);
        }
        & > *:nth-child(2) {
            flex: 1 1 calc(30%);
        }
    }
}

@media (max-width: 1100px) {
    .lk__avatarwrapper {
        flex: 0 0 100% !important;
    }
}

@media (max-width: 800px) {
    .lk__item {
        padding: 2rem 1.5rem;
    }
    .lk__avatarwrapper {
        padding: 0;
    }
    .lk__form {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .lk__headerbtns {
        max-width: calc(100vw - 40px);
        width: max-content;
        overflow-x: scroll;
        padding-bottom: 12px;
        &::-webkit-scrollbar {
            background: #f8f8f8;
            height: 3px;
        }
        &::-webkit-scrollbar-thumb {
            background: #c7b299;
            height: 3px;
            border-radius: 3px;
        }
    }

}

@media (max-width: 650px) {
    .lk__form {
        grid-template-columns: repeat(1, 1fr);
    }
    .lk__addition-item {
        position: relative;
        overflow: hidden;
    }
    .lk__addition-item {
        .textcontent {
            padding-right: 2rem;
            padding-bottom: 0;
        }
    }
    .lk-bg {
        position: relative;
        height: 120px;
        width: 100%;
        .grid {
            top: 0;
            left: 0;
            object-fit: cover;
            object-position: center center;
            max-height: 200%;
            max-width: 200%;

            width: 140%;
            height: 140%;
            top: -20px;
            left: -40%;
        }
        height: 170px;
    }
    .lk__addition-item#for-client .lk-main-bg {
        height: 140px;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        margin: auto;
    }
    .lk__addition-item#for-designer .lk-main-bg {
        height: 140px;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        object-fit: contain;
        margin: auto;
    }
    .lk__addition-item#for-beuro .lk-main-bg {
        height: 140px;
        top: auto;
        left: 0;
        bottom: 0;
        right: 0;
        margin: auto;
    }
    .lk__wrapper {
        margin-top: 2rem;
    }
}

@media (max-width: 475px) {
    .lk__addition-item .lk__btn {
        margin-top: 20px;
        width: 100%;
        padding: 1rem;
        font-size: 1.25rem;
    }
    .lk__addition-item .textcontent {
        padding: 1rem;
    }
    .lk__form-item .file-btn {
        width: 153px !important;
        line-height: 169%;
        padding: 10px;
    }
    .lk__form {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    .lk__title {
        font-size: 24px;
    }
    .lk__headerbtns {
        margin-top: 20px;
    }
}

@media (max-width: 1450px) {
    .fav__wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    .fav__image {
        height: 400px;
    }
    .fav__size {
        font-size: 12px;
    }
}
@media (max-width: 1000px) {
    .fav__size {
        font-size: 10px;
        gap: 5px;
    }
}

@media (max-width: 900px) {
    .fav__size {
        display: none;
    }
    .fav__image {
        height: 320px;
    }
    .fav__wrapper {
        gap: 15px;
    }
}

@media (max-width: 769px) {
    .fav__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .fav__item-more {
        padding-left: 0;
        padding-right: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .fav {
        margin-top: 2rem;
    }
}
@media (max-width: 475px) {
    .fav__others {
        gap: 10px;
    }
    .fav__image {
        height: 280px;
    }
    .fav__other-item {
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
    }
    .fav__remove {
        top: 10px;
        left: 10px;
        width: 30px;
        height: 30px;
    }
    .fav__likes {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
    }
    .fav__item-name {
        font-size: 1rem;
        margin-top: 10px;
    }
    .fav__item-price {
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .fav__remove {
        top: 10px;
        left: 10px;
        width: 24px;
        height: 24px;
    }
    .fav__likes {
        top: 10px;
        right: 10px;
        width: 24px;
        height: 24px;
    }
    .fav__image {
        height: 220px;
        border-radius: 10px;
    }
}

@media (max-width: 1333px) {
    .downloaded .fav__size {
        display: none;
    }
}

@media (max-width: 1025px) {
    .downloaded__wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
    .downloaded .fav__item {
        display: block;
    }
}

@media (max-width: 850px) {
    .downloaded__subtitle {
        font-size: 18px;
        line-height: 120%;
    }
    .downloaded__item svg {
        flex: 0 0 2rem;
        width: 2rem;
        height: 2rem;
    }
    .downloaded__item {
        font-size: 14px;
    }
}

@media (max-width: 720px) {
    .downloaded__subtitle {
        font-size: 1rem;
        margin-top: 10px;
    }
    .downloaded__item {
        margin-top: 5px;
    }
}
@media (max-width: 650px) {
    .downloaded__wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 475px) {
    .downloaded__subtitle {
        font-size: 0.81rem;
    }
    .downloaded__item {
        font-size: 0.75rem;
        svg {
            flex: 0 0 24px;
            width: 24px;
            height: 24px;
        }
    }
}

@media (max-width: 350px) {
    .downloaded__item {
        font-size: 10px;
    }
}


.usersettings_form{
    margin-bottom: 60px;
}

.field-d__text.usersettings_text {
    font-weight: 300;
    font-size: 0.75rem;
}


.fav__image .fav__likes{
    display: none;
}

.fav__image:hover .fav__likes{
    display: block;
}
