
.lk{
    margin:32rem auto 64rem;
    width:100%;
    max-width:100%;
}
.lk__head{margin-bottom:28rem;}
.lk__hello{font-weight:700;font-size:32rem;line-height:120%;margin-bottom:8rem;}
.lk__lead{font-size:16rem;line-height:140%;color:#7d8ab6;margin-bottom:16rem;}
.lk__nav{display:flex;gap:16rem;flex-wrap:wrap;}
.lk__nav-item{font-weight:600;font-size:16rem;color:#7d8ab6;}
.lk__nav-item.is-active{color:#0051f8;}

.lk-orders{display:flex;flex-direction:column;gap:28rem;}

.lk-order{
    border:1px solid #cfd2e1;
    border-radius:18rem;
    background:#fff;
    overflow:hidden;
    box-shadow:0 8px 28px rgba(17,24,39,.04);
    width:100%;
}

.lk-order__head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:32rem;
    padding:28rem 32rem 8rem;
    flex-wrap:wrap;
}
.lk-order__head-left{
    flex:1 1 280rem;
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:22rem;
}
.lk-order__num{font-weight:700;font-size:28rem;line-height:120%;}
.lk-order__num-note{margin-top:4rem;font-size:13rem;color:#7d8ab6;}
.lk-order__date{margin-top:6rem;font-size:15rem;color:#7d8ab6;}

.lk-order__status{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:6rem;
    min-width:200rem;
    max-width:360rem;
    flex:0 0 auto;
}
.lk-order__status-label{font-size:13rem;color:#7d8ab6;text-transform:uppercase;letter-spacing:.04em;}
.lk-order__status-value{
    display:inline-flex;
    align-items:center;
    padding:10rem 18rem;
    border-radius:999px;
    font-size:16rem;
    font-weight:700;
    color:#fff;
    background:var(--lk-status,#7d8ab6);
    text-align:center;
}
.lk-order__status-detail{font-size:13rem;color:#7d8ab6;text-align:right;line-height:140%;}

/* Вертикальный таймлайн этапов */
.lk-progress{
    display:flex;
    flex-direction:column;
    gap:0;
    max-width:360rem;
    padding:0;
}
.lk-progress__step{
    position:relative;
    display:grid;
    grid-template-columns:18rem 1fr;
    column-gap:14rem;
    align-items:flex-start;
    min-height:36rem;
    padding:0 0 14rem;
}
.lk-progress__step:last-child{padding-bottom:0;min-height:0;}
.lk-progress__rail{
    position:absolute;
    left:8rem;
    top:16rem;
    bottom:0;
    width:2px;
    background:#e0e4ef;
}
.lk-progress__step:last-child .lk-progress__rail{display:none;}
.lk-progress__step.is-done .lk-progress__rail,
.lk-progress__step.is-active .lk-progress__rail{
    background:var(--step-color,#0051f8);
}
.lk-progress__dot{
    position:relative;
    z-index:1;
    width:18rem;
    height:18rem;
    border-radius:50%;
    background:#e0e4ef;
    border:2px solid #fff;
    box-shadow:0 0 0 1px #cfd2e1;
    margin-top:1rem;
}
.lk-progress__step.is-done .lk-progress__dot,
.lk-progress__step.is-active .lk-progress__dot{
    background:var(--step-color,#0051f8);
    box-shadow:0 0 0 1px var(--step-color,#0051f8);
}
.lk-progress__step.is-active .lk-progress__dot{
    box-shadow:0 0 0 1px var(--step-color,#0051f8), 0 0 0 5px rgba(21,101,192,.16);
}
.lk-progress__label{
    font-size:14rem;
    line-height:140%;
    color:#9aa3bd;
    font-weight:600;
    padding-top:1rem;
}
.lk-progress__step.is-done .lk-progress__label{color:#596daf;}
.lk-progress__step.is-active .lk-progress__label{
    color:var(--step-color,#0051f8);
    font-weight:700;
}

.lk-order__hero{
    display:grid;
    grid-template-columns:minmax(340px,1.15fr) minmax(300px,1fr);
    gap:28rem;
    padding:20rem 32rem 8rem;
    align-items:stretch;
}
.lk-order__media{
    min-height:380rem;
    border-radius:16rem;
    background:#f2f4f8 center/contain no-repeat;
    border:1px solid #e8ebf4;
}
.lk-order__summary{display:flex;flex-direction:column;gap:18rem;min-width:0;}
.lk-order__title{font-weight:700;font-size:24rem;line-height:130%;}
.lk-order__cost-block{
    padding:18rem 20rem;
    border-radius:14rem;
    background:#f5f8ff;
    border:1px solid #d6e2ff;
}
.lk-order__cost-label{font-size:14rem;color:#7d8ab6;margin-bottom:4rem;}
.lk-order__cost{font-weight:700;font-size:34rem;line-height:110%;color:#0051f8;}

.lk-order__facts{
    display:flex;
    flex-direction:column;
    gap:12rem;
}
.lk-order__fact{
    padding:16rem 18rem;
    border-radius:12rem;
    background:#f8f9fc;
    border:1px solid #e8ebf4;
}
.lk-order__fact-label{font-size:13rem;color:#7d8ab6;margin-bottom:6rem;}
.lk-order__fact-value{font-size:16rem;line-height:145%;font-weight:600;word-break:break-word;}
.lk-order__fact-extra{
    margin-top:8rem;
    font-size:14rem;
    line-height:145%;
    color:#596daf;
    font-weight:500;
    word-break:break-word;
}
.lk-order__fact-phone{
    display:inline-block;
    margin-top:8rem;
    font-size:16rem;
    font-weight:700;
    color:#0051f8;
    text-decoration:none;
    line-height:140%;
}
.lk-order__fact-phone:hover{text-decoration:underline;}

.lk-order__fact--soft{
    background:#fff8ef;
    border-color:#f0dfc4;
}
.lk-order__delay-note{
    margin-top:12rem;
    padding-top:12rem;
    border-top:1px solid #f0dfc4;
    font-size:14rem;
    line-height:150%;
    font-weight:500;
    color:#6b5a45;
}
.lk-order__delay-note a{
    color:#0051f8;
    font-weight:700;
    text-decoration:none;
    white-space:nowrap;
}
.lk-order__delay-note a:hover{text-decoration:underline;}

.lk-order__section{padding:20rem 32rem 32rem;}
.lk-order__section-title{
    font-weight:700;
    font-size:18rem;
    margin-bottom:14rem;
}
.lk-order__products{display:flex;flex-direction:column;gap:16rem;}

.lk-order-product{
    display:grid;
    grid-template-columns:220rem 1fr auto;
    gap:20rem;
    align-items:center;
    padding:18rem;
    background:#f8f9fc;
    border-radius:14rem;
    border:1px solid #e8ebf4;
}
.lk-order-product__img{
    width:220rem;
    height:170rem;
    border-radius:12rem;
    background:#fff center/contain no-repeat;
    border:1px solid #e8ebf4;
}
.lk-order-product__info{min-width:0;}
.lk-order-product__name{font-weight:700;font-size:18rem;line-height:130%;color:#1a1a1a;text-decoration:none;}
.lk-order-product__name:hover{color:#0051f8;}
.lk-order-product__article{font-size:14rem;color:#7d8ab6;margin-top:6rem;}
.lk-order-product__opts{margin-top:12rem;display:flex;flex-direction:column;gap:6rem;}
.lk-order-product__opt{font-size:15rem;line-height:140%;}
.lk-order-product__opt span{display:inline-block;min-width:110rem;color:#7d8ab6;margin-right:8rem;}
.lk-order-product__qty{margin-top:12rem;font-size:15rem;font-weight:600;}
.lk-order-product__cost{text-align:right;padding-right:4rem;}
.lk-order-product__cost-label{font-size:13rem;color:#7d8ab6;margin-bottom:4rem;}
.lk-order-product__cost-value{font-weight:700;font-size:22rem;white-space:nowrap;}

.lk-empty{
    border:1px dashed #cfd2e1;
    border-radius:18rem;
    padding:56rem 28rem;
    text-align:center;
    background:#fafbfe;
}
.lk-empty__title{font-weight:700;font-size:24rem;margin-bottom:10rem;}
.lk-empty__text{color:#7d8ab6;margin-bottom:24rem;font-size:16rem;max-width:520rem;margin-left:auto;margin-right:auto;line-height:145%;}
.lk-empty .button{display:inline-flex;}

/* Вход гостя */
.lk-auth{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr);
    gap:24rem;
    align-items:stretch;
    margin-bottom:48rem;
}
.lk-auth__card,
.lk-auth__side{
    border:1px solid #cfd2e1;
    border-radius:18rem;
    background:#fff;
    padding:28rem 28rem;
    box-shadow:0 8px 28px rgba(17,24,39,.04);
}
.lk-auth__title{font-weight:700;font-size:24rem;line-height:120%;margin-bottom:8rem;}
.lk-auth__lead{font-size:15rem;line-height:145%;color:#7d8ab6;margin-bottom:22rem;}
.lk-auth__form{display:flex;flex-direction:column;gap:12rem;}
.lk-auth__form .form-control{min-height:48rem;}
.lk-auth__hidden{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;}
.lk-auth__error{
    margin-top:16rem;
    padding:12rem 14rem;
    border-radius:10rem;
    background:#fff1f1;
    border:1px solid #f0c7c7;
    color:#a33;
    font-size:14rem;
    line-height:140%;
}
.lk-auth__side{background:#f5f8ff;border-color:#d6e2ff;display:flex;flex-direction:column;gap:14rem;justify-content:center;}
.lk-auth__side-title{font-weight:700;font-size:20rem;line-height:130%;}
.lk-auth__side-text{font-size:15rem;line-height:145%;color:#596daf;margin:0;}
.button--ghost{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    align-self:flex-start;
    padding:12rem 20rem;
    border-radius:999px;
    border:1px solid #0051f8;
    color:#0051f8;
    background:transparent;
    font-weight:700;
    text-decoration:none;
}
.button--ghost:hover{background:rgba(0,81,248,.06);}

@media (max-width:767px){
    .lk-auth{grid-template-columns:1fr;}
}

@media (max-width:991px){
    .lk-order__hero{grid-template-columns:1fr;}
    .lk-order__media{min-height:280rem;}
    .lk-order-product{grid-template-columns:1fr;}
    .lk-order-product__img{width:100%;height:220rem;}
    .lk-order-product__cost{text-align:left;}
}

@media (max-width:767px){
    .lk__hello{font-size:26rem;}
    .lk-order__num{font-size:22rem;}
    .lk-order__title{font-size:20rem;}
    .lk-order__cost{font-size:28rem;}
    .lk-order__head,
    .lk-order__hero,
    .lk-order__section{padding-left:16rem;padding-right:16rem;}
    .lk-order__status{align-items:flex-start;max-width:100%;}
    .lk-order__status-detail{text-align:left;}
    .lk-progress{max-width:100%;}
}
