/* ============================================================
   Личный кабинет и авторизация (/account/*, /user/*) — ts-дизайн.
   Всё скоупится под .lkts; палитра и приёмы — как в
   product-detail-ts.css / cart-simple-ts.css / delivery-ts.css.
   ============================================================ */
.lkts {
  --ink: #2b2622; --ink2: #5b544c; --ink3: #8a8178; --ink4: #a79c92;
  --green: #4f6e5c; --green-d: #41594b; --green-l: #5c7a68; --green-bg: #f3f7f1; --green-bg2: #eef4ed;
  --sale: #c9584a;
  --panel: #f8f5f0; --panel2: #faf7f3; --line: #f1e7e1; --line2: #e4d9d2; --input-line: #e8ded7;
  --serif: 'Playfair Display', Georgia, serif;
  /* внутри страницы синий акцент темы переводим в ts-зелёный */
  --accent-color-400: #4f6e5c; --accent-color-500: #41594b;
  --color-button-primary-background: #4f6e5c; --color-button-primary-border: #4f6e5c;
  --main-elements-color: #4f6e5c; --custom-accent-color-400: #4f6e5c;
  max-width: 1200px; margin: 0 auto; padding: 8px 0 48px;
  color: var(--ink); font-family: 'Inter', 'Lato', sans-serif; font-size: 14px !important; line-height: 1.5;
}
.lkts * { box-sizing: border-box; }
.lkts a { text-decoration: none; }
/* :where — нулевая специфичность, чтобы отступы классов (.lkts__lead и т.п.) не перебивались */
:where(.lkts) p { margin: 0; }
/* custom-styles.css прода: .inner-page h1 { margin-left: 50px }, h1 { padding-bottom: 30px } — гасим */
:where(.lkts) h1, :where(.lkts) h2, :where(.lkts) h3 { margin: 0; padding: 0 !important; margin-left: 0 !important; font-weight: 500; text-align: left !important; }

/* фон как у первого экрана главной: белый сверху в фирменный розовый (#f8c0cc — body в custom-styles.css) */
body.lk-page main { background: linear-gradient(180deg, #ffffff 0%, #f8c0cc 58%) !important; }
.lkts-section { background: transparent !important; }
.lkts-section > .container { padding-top: 0; padding-bottom: 0; }
/* старые LK-стили из main.css */
body.lk-page .content-block { padding: 0; }
body.lk-page .page-head { margin: 0; }

/* ===== иконки (lucide, inline) ===== */
.lkts .ic { width: 17px; height: 17px; flex-shrink: 0; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.lkts .ic_sm { width: 14px; height: 14px; }
.lkts .ic_lg { width: 20px; height: 20px; }

/* ===== хлебные крошки ===== */
/* .page-head в main.css на мобильном даёт серую полосу на всю ширину — гасим */
.lkts .page-head { width: auto; margin: 0; padding: 0; background: transparent; display: block; }
.lkts .breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px !important; color: var(--ink3); margin: 0 0 20px; }
.lkts .breadcrumbs a { color: var(--ink3); transition: color .15s; }
.lkts .breadcrumbs a:hover { color: var(--green); }
.lkts .breadcrumbs__sep { display: block !important; width: 12px; height: 12px; margin: 0; opacity: .5; transform: rotate(-90deg); color: var(--ink4) !important; }

/* ===== типографика ===== */
.lkts__eyebrow { font-size: 10px !important; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #9b8d81; }
.lkts__h1 { font-family: var(--serif) !important; font-size: 30px !important; line-height: 1.15; color: var(--ink); margin: 10px 0 0 !important; }
.lkts__h2 { font-family: var(--serif) !important; font-size: 24px !important; line-height: 1.2; color: var(--ink); margin: 6px 0 0 !important; }
.lkts__lead { font-size: 14px !important; line-height: 1.6; color: #82776d; margin-top: 12px; max-width: 640px; }
@media (min-width: 700px) { .lkts__h1 { font-size: 36px !important; } }

/* ===== кнопки ===== */
.lkts .btn-ts {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 13px 22px; font-size: 14px !important; font-weight: 500; line-height: 1;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  font-family: inherit; text-decoration: none;
}
.lkts .btn-ts_primary { background: var(--green); color: #fff; border-color: var(--green); }
.lkts .btn-ts_primary:hover { background: var(--green-d); border-color: var(--green-d); color: #fff; }
.lkts .btn-ts_outline { background: #fff; color: #5f6f5f; border-color: #e7ddd5; }
.lkts .btn-ts_outline:hover { background: #f8faf6; color: var(--green); }
.lkts .btn-ts_ghost { background: #fff; color: var(--green); border-color: #d9e2d8; }
.lkts .btn-ts_ghost:hover { background: #f5f8f4; }
.lkts .btn-ts_block { width: 100%; }
.lkts .btn-ts_sm { padding: 10px 16px; font-size: 12px !important; }

/* ===== формы ===== */
.lkts .f-field { display: block; font-size: 14px !important; font-weight: 500; color: #514940; margin: 0; }
.lkts .f-field__label { display: block; }
.lkts .f-field__req { color: var(--sale); margin-left: 2px; }
.lkts .f-field input.form-control,
.lkts .f-field input[type="text"], .lkts .f-field input[type="email"],
.lkts .f-field input[type="password"], .lkts .f-field input[type="tel"] {
  display: block; width: 100%; margin-top: 8px; height: auto;
  border: 1px solid var(--input-line); border-radius: 12px; background: #fffdfa;
  padding: 12px 16px; font-size: 14px !important; font-weight: 400; line-height: 1.4; color: var(--ink);
  font-family: inherit; outline: none; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.lkts .f-field input::placeholder { color: #b1a69d; }
.lkts .f-field input:focus { border-color: #718875; box-shadow: 0 0 0 3px rgba(113, 136, 117, .12); }
.lkts .f-field_error input { border-color: #d9a39b; background: #fffaf9; }
.lkts .f-error { display: block; margin-top: 6px; font-size: 12px !important; font-weight: 400; line-height: 1.4; color: var(--sale); }
.lkts .f-error ul, .lkts .f-error .errorlist { list-style: none; margin: 0; padding: 0; }
.lkts .f-error li { margin: 0; padding: 0; }
.lkts .f-help { display: block; margin-top: 6px; font-size: 12px !important; font-weight: 400; color: var(--ink3); }
.lkts .f-form { margin-top: 28px; }
.lkts .f-form > * + * { margin-top: 16px; }
.lkts .f-grid { display: grid; gap: 16px; }
.lkts .f-grid > * { margin-top: 0 !important; }
@media (min-width: 640px) {
  .lkts .f-grid_2 { grid-template-columns: 1fr 1fr; }
  .lkts .f-grid_3 { grid-template-columns: 1fr 1fr 1fr; }
}
.lkts .f-row { display: flex; justify-content: flex-end; }
.lkts .f-link { font-size: 12px !important; color: #5b765f; text-decoration: underline; text-decoration-color: #bdc9bb; text-underline-offset: 4px; }
.lkts .f-link:hover { color: #385541; }
.lkts .f-note {
  margin-top: 20px; border-radius: 16px; border: 1px solid #dfe9e2; background: #f4f8f3;
  padding: 14px 16px; font-size: 14px !important; line-height: 1.6; color: #49604d;
}
.lkts .f-note_error { border-color: #efd3cd; background: #fdf4f2; color: #8d4a3f; }
.lkts .f-note p + p { margin-top: 6px; }
/* чекбокс согласия (общий тег render_form_agreement) */
.lkts .privacy-policy { margin-top: 16px; }
.lkts .privacy-policy .checkbox { position: relative; }
.lkts .privacy-policy label {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer; margin: 0; padding: 0;
  font-size: 12px !important; line-height: 1.6; color: #71675e; font-weight: 400;
}
.lkts .privacy-policy label::before, .lkts .privacy-policy label::after { display: none !important; }
.lkts .privacy-policy input[type="checkbox"] {
  position: static; opacity: 1; width: 16px; height: 16px; margin: 2px 0 0; flex-shrink: 0;
  accent-color: var(--green); appearance: auto; -webkit-appearance: checkbox;
}
.lkts .privacy-policy label a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.lkts .privacy-policy .checkbox input[type="checkbox"] + label { padding-left: 28px; }
.lkts .privacy-policy .checkbox input[type="checkbox"] { position: absolute; left: 0; top: 3px; }
.lkts .f-check { display: flex; align-items: center; gap: 10px; font-size: 13px !important; color: #71675e; font-weight: 400; cursor: pointer; margin: 0; }
.lkts .f-check input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--green); appearance: auto; -webkit-appearance: checkbox; opacity: 1; position: static; }

/* ============================================================
   АВТОРИЗАЦИЯ: карточка с левой панелью
   ============================================================ */
.auth { padding: 16px 0 24px; }
.auth__card {
  margin: 0 auto; display: grid; overflow: hidden;
  border-radius: 24px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 18px 55px rgba(79, 54, 42, .06);
}
@media (min-width: 860px) { .auth__card { grid-template-columns: .82fr 1.18fr; } .auth { padding: 32px 0 40px; } }
@media (min-width: 1100px) { .auth__card { grid-template-columns: .7fr 1.3fr; } .auth__body { padding: 52px 72px; } }
.auth__aside {
  position: relative; display: none; flex-direction: column; justify-content: space-between; overflow: hidden;
  min-height: 590px; background: #f6e9e4; padding: 36px;
}
@media (min-width: 860px) { .auth__aside { display: flex; } }
.auth__ring { position: absolute; border-radius: 50%; border: 1px solid #e5d3cb; }
.auth__ring_1 { right: -64px; top: 96px; width: 256px; height: 256px; }
.auth__ring_2 { right: -8px; top: 160px; width: 160px; height: 160px; border-color: #dfc9c0; }
.auth__brand { position: relative; }
.auth__brand-name { font-family: var(--serif) !important; font-size: 20px !important; color: var(--ink); }
.auth__brand-name:hover { color: var(--ink); }
.auth__brand-sub { margin-top: 4px; font-size: 9px !important; letter-spacing: .22em; color: #8a8178; text-transform: uppercase; }
.auth__quote { position: relative; max-width: 260px; }
.auth__quote-line { display: block; width: 48px; height: 1px; background: #78907b; margin-bottom: 20px; }
.auth__quote-title { font-family: var(--serif) !important; font-size: 30px !important; line-height: 1.15; color: #493d36; }
.auth__quote-text { margin-top: 16px; font-size: 14px !important; line-height: 1.6; color: #796e66; }
.auth__tagline { position: relative; font-size: 12px !important; color: #93847b; }
.auth__body { padding: 24px; }
@media (min-width: 640px) { .auth__body { padding: 40px; } }
@media (min-width: 860px) { .auth__body { padding: 44px 48px; } }
.auth__body .breadcrumbs { margin-bottom: 24px; }
.auth__h1 { font-family: var(--serif) !important; font-size: 30px !important; line-height: 1.2; color: var(--ink); margin: 0 !important; }
.auth__lead { margin-top: 12px; font-size: 14px !important; line-height: 1.6; color: #82776d; }
.auth__switch { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; text-align: center; font-size: 14px !important; color: #7d7269; }
.auth__switch a { font-weight: 500; color: var(--green); }
.auth__switch a:hover { text-decoration: underline; }
.auth__switch a .ic { vertical-align: -3px; margin-right: 4px; }
.auth__text { margin-top: 20px; font-size: 14px !important; line-height: 1.7; color: #5f554c; }
.auth__text p + p { margin-top: 10px; }
.auth__text strong { color: var(--ink); font-weight: 600; }
.auth__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
/* капча: яндекс-виджет внутри формы */
.lkts .smart-captcha, .lkts .ycaptcha { margin-top: 16px; }

/* ============================================================
   КАБИНЕТ: шапка, сайдбар, контент
   ============================================================ */
.lk { padding-top: 12px; }
.lk__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.lk__head .lkts__h1 { margin: 0 !important; }
.lk__grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 980px) { .lk__grid { grid-template-columns: 250px minmax(0, 1fr); } }

.lk__side { border-radius: 24px; border: 1px solid var(--line); background: #fff; padding: 16px; }
@media (min-width: 640px) { .lk__side { padding: 20px; } }
.lk__user { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.lk__avatar {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: #f7e9e5; color: #6e5149; font-family: var(--serif) !important; font-size: 18px !important; overflow: hidden;
}
.lk__avatar img { width: 100%; height: 100%; object-fit: cover; }
.lk__user-info { min-width: 0; }
.lk__user-name { font-size: 14px !important; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk__user-mail { font-size: 12px !important; color: #95897f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk__nav { display: grid; gap: 4px; }
.lk__nav a {
  display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 10px 12px;
  font-size: 14px !important; color: #685f56; transition: background .15s, color .15s;
}
.lk__nav a:hover { background: #fcf8f5; color: #42604c; }
.lk__nav a.is-active { background: #f5f7f2; color: #42604c; font-weight: 500; }
.lk__logout { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.lk__logout a {
  display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 10px 12px;
  font-size: 14px !important; color: #857970; transition: background .15s, color .15s;
}
.lk__logout a:hover { background: #fcf5f3; color: #81584d; }

.lk__content { min-width: 0; border-radius: 24px; border: 1px solid var(--line); background: #fff; padding: 20px; }
@media (min-width: 640px) { .lk__content { padding: 32px; } }
.lk__title { margin-bottom: 36px; border-bottom: 1px solid var(--line); padding-bottom: 36px; }
.lk__title .lkts__h1 { font-size: 30px !important; }
@media (min-width: 640px) { .lk__title .lkts__h1 { font-size: 34px !important; } }
.lk__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px !important; color: #6e7f6e; }
.lk__back:hover { text-decoration: underline; color: #6e7f6e; }

/* год-секции (заказы, документы) */
.lk__year { margin-bottom: 28px; }
.lk__year-title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px !important; font-family: var(--serif) !important; font-size: 20px !important; color: #55483f; }
.lk__year-title::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.lk__hint { border-radius: 12px; background: var(--panel2); padding: 12px 16px; font-size: 12px !important; color: #94877d; }
.lk__empty {
  border-radius: 16px; border: 1px dashed #e7ddd5; background: #fdfbf8; padding: 28px 20px; text-align: center;
}
.lk__empty .ic { width: 24px; height: 24px; color: #b2a69b; margin: 0 auto; display: block; }
.lk__empty-title { margin-top: 12px; font-size: 14px !important; font-weight: 500; color: #63594f; }
.lk__empty-text { margin-top: 4px; font-size: 12px !important; color: #9a8e84; }

/* ===== главная ЛК ===== */
.lk__cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .lk__cards { grid-template-columns: 1fr .72fr; } .lk__cards_single { grid-template-columns: 1fr; } }
.lk__profile { border-radius: 16px; background: var(--panel); padding: 20px; }
@media (min-width: 640px) { .lk__profile { padding: 24px; } }
.lk__profile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lk__profile-label { font-size: 12px !important; letter-spacing: .13em; text-transform: uppercase; color: #93867b; }
.lk__profile-name { margin: 10px 0 0 !important; font-family: var(--serif) !important; font-size: 24px !important; color: var(--ink); }
.lk__profile-mail { margin-top: 4px; font-size: 14px !important; color: #746a61; }
.lk__profile-ico { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #fff; color: #657a66; }
.lk__profile-rows { margin-top: 20px; border-top: 1px solid #eae1d9; padding-top: 16px; font-size: 14px !important; color: #62594f; }
.lk__profile-rows p { display: flex; align-items: center; gap: 8px; }
.lk__profile-rows p + p { margin-top: 12px; }
.lk__profile-rows span:first-child { font-size: 12px !important; color: #9b8f85; }
.lk__profile-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px !important; font-weight: 500; color: var(--green); }
.lk__profile-link:hover { text-decoration: underline; color: var(--green); }
/* карточка программы лояльности */
.lk__loyalty { position: relative; overflow: hidden; border-radius: 16px; background: var(--green-bg2); padding: 20px; }
@media (min-width: 640px) { .lk__loyalty { padding: 24px; } }
.lk__loyalty-ring { position: absolute; right: -24px; top: -32px; width: 128px; height: 128px; border-radius: 50%; border: 1px solid #dce5db; }
.lk__loyalty-ico { position: relative; color: #58715d; }
.lk__loyalty-label { font-size: 12px !important; letter-spacing: .13em; text-transform: uppercase; color: #7e8e7e; }
.lk__loyalty-value { margin: 8px 0 0 !important; font-family: var(--serif) !important; font-size: 28px !important; color: #385541; }
.lk__loyalty-text { margin-top: 6px; font-size: 14px !important; color: #6d796b; }
.lk__loyalty-foot { margin-top: 20px; border-top: 1px solid #dce5db; padding-top: 16px; font-size: 12px !important; line-height: 1.6; color: #6d796b; }
.lk__loyalty-foot strong { color: #385541; font-weight: 600; }
.lk__personal { margin-top: 16px; border-radius: 16px; background: var(--green-bg); padding: 20px; font-size: 14px !important; line-height: 1.6; color: #4b5a4c; }
.lk__personal p + p { margin-top: 8px; }
.lk__personal-label { font-size: 12px !important; letter-spacing: .13em; text-transform: uppercase; color: #7e8e7e; margin-bottom: 8px; }
.lk__section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 40px; }
.lk__section-head .lkts__h2 { margin-top: 4px; }
.lk__section-head { margin-bottom: 4px; }
.lk__section-note { display: none; font-size: 12px !important; color: #9b8d81; }
@media (min-width: 640px) { .lk__section-note { display: block; } }
.lk__tiles { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .lk__tiles { grid-template-columns: repeat(3, 1fr); } }
.lk__tile {
  display: block; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 16px;
  transition: border-color .15s, background .15s;
}
.lk__tile:hover { border-color: #cbd8ca; background: #fbfcfa; }
.lk__tile .ic_lg { color: #6a816b; }
.lk__tile-title { margin-top: 16px; font-size: 14px !important; font-weight: 600; color: #403932; }
.lk__tile-text { margin-top: 4px; font-size: 12px !important; line-height: 1.5; color: #8d8177; }
.lk__tile-arrow { margin-top: 16px; color: #8fa08e; transition: transform .15s; }
.lk__tile:hover .lk__tile-arrow { transform: translateX(4px); }

/* ===== заказы ===== */
.lk__orders { display: grid; gap: 12px; }
.lk__order {
  display: block; border-radius: 16px; border: 1px solid var(--line); padding: 16px; color: inherit;
  transition: border-color .15s, background .15s;
}
@media (min-width: 640px) { .lk__order { padding: 20px; } }
a.lk__order:hover { border-color: #cbd8ca; background: #fdfcf9; color: inherit; }
.lk__order-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lk__order-num { font-weight: 600; color: #3c342d; }
.lk__order-date { margin-top: 4px; font-size: 12px !important; color: #94877d; }
.lk__pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-size: 12px !important; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.lk__pill_green { background: var(--green-bg2); color: #58715d; }
.lk__pill_neutral { background: var(--panel2); color: #8a7d72; }
.lk__pill_warn { background: #fdf1ec; color: #a8604f; }
.lk__pill_white { background: #fff; color: #687768; }
.lk__order-meta { display: grid; gap: 12px; margin-top: 16px; border-top: 1px solid #f3ece7; padding-top: 12px; font-size: 12px !important; color: #786e64; }
@media (min-width: 640px) { .lk__order-meta { grid-template-columns: 1fr 1fr 1fr; } }
.lk__order-meta span { display: flex; align-items: center; gap: 8px; }
.lk__order-meta .ic { color: #a09286; }
.lk__order-sum { justify-content: space-between; font-weight: 500; color: #51473e; font-size: 13px !important; }
.lk__order-sum .ic { color: #98a390; transition: transform .15s; }
.lk__orders_offline { margin-top: 16px; }
.lk__orders_offline .lk__order-sum { font-size: 14px !important; align-self: center; }
a.lk__order:hover .lk__order-sum .ic { transform: translateX(4px); }

/* карточка заказа */
.lk__status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-radius: 16px; background: var(--green-bg); padding: 16px; }
.lk__status-main { display: inline-flex; align-items: center; gap: 8px; font-size: 14px !important; font-weight: 500; color: #45614b; }
.lk__status_neutral { background: var(--panel2); }
.lk__status_neutral .lk__status-main { color: #6b6058; }
.lk__items { margin-top: 24px; }
.lk__item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lk__item:first-child { border-top: 1px solid var(--line); }
.lk__item-name { font-size: 14px !important; font-weight: 500; color: #443c35; }
.lk__item-sub { margin-top: 4px; font-size: 12px !important; color: #95897f; }
.lk__item-right { flex-shrink: 0; text-align: right; }
.lk__item-sum { font-size: 14px !important; font-weight: 500; color: #443c35; }
.lk__item-qty { margin-top: 4px; font-size: 12px !important; color: #95897f; }
.lk__totals { margin-top: 8px; border-radius: 16px; background: var(--panel2); padding: 16px 20px; }
.lk__totals-row { display: flex; justify-content: space-between; font-size: 14px !important; color: #7f746b; }
.lk__totals-row + .lk__totals-row { margin-top: 8px; }
.lk__totals-row_total { margin-top: 12px; border-top: 1px solid #eae1d9; padding-top: 12px; font-weight: 600; color: #362f29; }
.lk__order-info { display: grid; gap: 8px; margin-top: 20px; font-size: 14px !important; color: #62594f; }
.lk__order-info span:first-child { color: #9b8f85; font-size: 12px !important; margin-right: 8px; }
.lk__order-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== документы ===== */
.lk__docs { display: grid; gap: 12px; }
.lk__doc { display: flex; flex-direction: column; gap: 12px; border-radius: 16px; border: 1px solid var(--line); padding: 16px; }
@media (min-width: 640px) { .lk__doc { flex-direction: row; align-items: center; justify-content: space-between; padding: 20px; } }
.lk__doc-main { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.lk__doc-ico { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #f7f2ec; color: #7c8a75; }
.lk__doc-name { font-size: 14px !important; font-weight: 500; color: #443c35; }
.lk__doc-meta { margin-top: 4px; font-size: 12px !important; color: #95897f; }
.lk__doc .btn-ts { align-self: flex-start; }
@media (min-width: 640px) { .lk__doc .btn-ts { align-self: center; } }

/* ===== личные данные ===== */
.lk__divider { height: 1px; background: var(--line); margin: 36px 0; }
.lk__sub { margin-bottom: 28px; }
.lk__sub .lkts__h2 { margin-top: 4px; }
.lk__sub .lkts__lead { margin-top: 4px; }
.lk__form-foot { margin-top: 20px; }

/* ===== отзывы о букетах в карточке заказа ===== */
.lk__reviews { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 32px; }
.lk__review { border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.lk__review + .lk__review { margin-top: 12px; }
@media (min-width: 640px) { .lk__review { padding: 20px; } }
.lk__review-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lk__review-product { font-size: 14px !important; font-weight: 600; color: #3c342d; }
.lk__review-product:hover { color: var(--green); }
.lk__review-body { margin-top: 12px; }
.lk__stars { display: inline-flex; gap: 2px; }
.lk__stars .td__star { width: 18px; height: 18px; color: #d9d1cb; fill: none; stroke: currentColor; stroke-width: 2; }
.lk__stars .td__star.is-on { color: #d6a94d; fill: #d6a94d; }
.lk__review-text { margin-top: 10px; font-size: 14px !important; line-height: 1.6; color: #62594f; }
.lk__review-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.lk__review-photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.lk__review-reply { margin-top: 12px; border-radius: 12px; background: var(--green-bg); padding: 12px 14px; font-size: 13px !important; line-height: 1.6; color: #4b5a4c; }
.lk__review-reply-label { font-size: 11px !important; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #7e8e7e; margin-bottom: 4px; }
/* форма */
.lk__review-form { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.lk__review-form[hidden], .lk__review-success[hidden], .lk__review-error[hidden] { display: none !important; }
.lk__review-field + .lk__review-field { margin-top: 14px; }
.lk__review-field textarea {
  display: block; width: 100%; margin-top: 8px; border: 1px solid var(--input-line); border-radius: 12px; background: #fffdfa;
  padding: 12px 16px; font-size: 14px !important; font-weight: 400; line-height: 1.5; color: var(--ink); font-family: inherit; outline: none; resize: vertical;
}
.lk__review-field textarea:focus { border-color: #718875; box-shadow: 0 0 0 3px rgba(113, 136, 117, .12); }
.lk__rate-stars { display: flex; gap: 4px; margin-top: 8px; }
.lk__rate-stars .star { display: block; width: 36px; height: 36px; padding: 4px; margin: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; line-height: 0; }
.lk__rate-stars .star:focus-visible { outline: 2px solid var(--green); outline-offset: 0; }
.lk__rate-stars .star .td__star { width: 28px; height: 28px; color: #d9d1cb; fill: none; stroke: currentColor; stroke-width: 2; }
.lk__rate-stars .star.selected .td__star { color: #d6a94d; fill: #d6a94d; }
.lk__review-upload-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.lk__review-upload { cursor: pointer; }
.lk__review-upload.is-full { opacity: .5; pointer-events: none; }
.lk__review-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.lk__review-preview { position: relative; width: 56px; height: 56px; }
.lk__review-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.lk__review-preview-rm { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); font-size: 14px !important; line-height: 20px; color: #6b6058; cursor: pointer; padding: 0; }
.lk__review-error { margin-top: 12px; }
.lk__review-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lk__review-success { margin-top: 12px; }
.lk__sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.btn-ts.is-loading { opacity: .6; pointer-events: none; }
