/* Личный кабинет — вёрстка по макету (сайдбар + вкладки + форма) */

/* Лого в ЛК — тот же SVG, что на витрине */
.header__logo--word.header__logo--account {
  line-height: 0;
  text-decoration: none;
}

.header__logo--word.header__logo--account .header__logo-img {
  height: clamp(19px, 2.5vw, 24px);
  width: auto;
  display: block;
}

.header__logo--word.header__logo--account:hover {
  opacity: 0.55;
  color: var(--black);
}

.lk-page {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  width: 100%;
  max-width: var(--page-max-w);
  margin-inline: auto;
  padding: 80px var(--pad-x) clamp(64px, 10vw, 120px);
  box-sizing: border-box;
  transition: gap 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.lk-sidebar-clip {
  min-width: 0;
  overflow: hidden;
  width: 240px;
  box-sizing: border-box;
  transition: width 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.lk-page--sidebar-nav-collapsed .lk-sidebar-clip {
  width: 0;
}

.lk-sidebar {
  min-width: 0;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.lk-page--sidebar-nav-collapsed .lk-sidebar {
  opacity: 0;
  pointer-events: none;
}

.lk-page--sidebar-nav-collapsed {
  gap: 0;
}

@media (prefers-reduced-motion: reduce) {
  .lk-page,
  .lk-sidebar,
  .lk-sidebar-clip {
    transition: none;
  }
}

.lk-sidebar__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.35rem;
  list-style: none;
}

.lk-sidebar__nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  line-height: 1.5;
  transition: opacity 0.2s;
}

.lk-sidebar__nav a:hover,
.lk-sidebar__nav a:focus-visible {
  opacity: 0.45;
}

.lk-sidebar__nav a.lk-sidebar__link--active {
  font-weight: 400;
  opacity: 1;
}

.lk-sidebar__logout-wrap {
  list-style: none;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.lk-sidebar__logout {
  display: inline-block;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6a6a6a;
  transition: opacity 0.2s;
}

.lk-sidebar__logout:hover,
.lk-sidebar__logout:focus-visible {
  opacity: 0.55;
}

.lk-content {
  min-width: 0;
}

.lk-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: clamp(28px, 4vw, 40px);
}

.lk-tab {
  position: relative;
  padding: 0 0 12px;
  margin-bottom: -1px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.lk-tab:hover,
.lk-tab:focus-visible {
  opacity: 0.75;
}

.lk-tab--active {
  opacity: 1;
  font-weight: 500;
}

.lk-tab--active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--black);
}

.lk-panel[hidden] {
  display: none !important;
}

.lk-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(20px, 4vw, 48px);
  row-gap: clamp(22px, 3vw, 28px);
  max-width: none;
  width: 100%;
}

.lk-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lk-field label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--black);
}

.lk-field input {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
}

.lk-field input[type='checkbox'],
.lk-field input[type='radio'] {
  width: auto;
  min-width: 1.1em;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  vertical-align: middle;
}

.lk-field input::placeholder,
.lk-field textarea::placeholder {
  color: rgba(0, 0, 0, 0.28);
}

.lk-field select,
.lk-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  box-sizing: border-box;
}

.lk-field textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.45;
}

.lk-field select:focus,
.lk-field textarea:focus {
  outline: none;
  border-color: var(--black);
}

.lk-field input:focus {
  outline: none;
  border-color: var(--black);
}

#lk-main-profile-form .lk-field input:not([type='checkbox']):not([type='radio']) {
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.lk-field input[aria-invalid='true'] {
  border-color: #b00020;
}

.lk-field-error {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #b00020;
}

.lk-field-warn {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #8a5a00;
}

.lk-field--empty {
  pointer-events: none;
}

.lk-field--empty .lk-field__label-spacer {
  display: block;
  min-height: 11px;
  font-size: 11px;
  visibility: hidden;
}

.lk-field--empty .lk-field__input-spacer {
  display: block;
  min-height: 49px;
}

.lk-field--span {
  grid-column: 1 / -1;
}

.lk-save-hint {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.25em;
  font-size: 14px;
  line-height: 1.4;
  color: #1a6b1a;
}

.lk-save-hint--error {
  color: #b00020;
}

.lk-submit {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 8px;
  padding: 16px 24px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.lk-submit:hover,
.lk-submit:focus-visible {
  opacity: 0.88;
}

.lk-panel-hint {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-dark);
  max-width: 36em;
  margin-bottom: 24px;
}

/* ——— Вкладка «Пароль» (макет ЛК) ——— */
.lk-pass-form.lk-form-grid {
  grid-template-columns: 1fr;
  row-gap: clamp(22px, 3vw, 28px);
  column-gap: 0;
  max-width: 100%;
}

.lk-pass-form .lk-field {
  gap: 10px;
}

.lk-pass-form .lk-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

.lk-pass-input-wrap {
  position: relative;
  width: 100%;
}

.lk-pass-form .lk-pass-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 48px 14px 16px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
}

.lk-pass-form .lk-pass-input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.lk-pass-form .lk-pass-input:focus {
  outline: none;
  border-color: var(--black);
}

.lk-pass-toggle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s;
}

.lk-pass-toggle:hover,
.lk-pass-toggle:focus-visible {
  opacity: 0.75;
}

.lk-pass-toggle:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: -2px;
}

.lk-pass-toggle__icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}

.lk-pass-form__submit.lk-submit {
  margin-top: clamp(12px, 2vw, 20px);
  padding: 17px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

/* ——— Мои адреса ——— */
.lk-addresses-empty {
  font-size: 14px;
  color: var(--gray-dark);
  margin: 0 0 20px;
}

.lk-addresses-msg {
  font-size: 14px;
  line-height: 1.4;
  margin: 16px 0 0;
  color: #1a6b1a;
}

.lk-addresses-msg--error {
  color: #b00020;
}

.lk-addresses-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 24px);
  margin-bottom: 28px;
}

.lk-address-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px 20px 18px;
  box-sizing: border-box;
}

.lk-address-card--primary {
  background: var(--white);
  border: 1px solid var(--black);
}

.lk-address-card--secondary {
  background: #f5f5f5;
  border: none;
  padding: 24px 22px 22px;
}

/* Неосновной адрес — вёрстка 1:1 к макету */
.lk-address-card--secondary .lk-address-card__head {
  margin-bottom: 6px;
  justify-content: flex-start;
}

.lk-address-card--secondary .lk-address-card__meta {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #9a9a9a;
}

.lk-address-card--secondary .lk-address-card__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--black);
}

.lk-address-card--secondary .lk-address-card__line {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  color: #5a5a5a;
}

.lk-address-card--secondary .lk-address-card__delivery {
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

.lk-address-card--secondary .lk-address-card__delivery--muted {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #7a7a7a;
}

.lk-address-card--secondary.lk-address-card--has-pickup .lk-address-card__delivery {
  margin-bottom: 8px;
}

.lk-address-card--secondary .lk-address-card__pickup {
  margin: 0 0 26px;
  font-size: 14px;
  color: #5a5a5a;
}

.lk-address-card--secondary .lk-address-card__actions {
  margin-top: auto;
  padding-top: 2px;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.lk-address-card--secondary .lk-address-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-height: 48px;
  padding: 0 18px;
  box-sizing: border-box;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--black);
  color: var(--black);
}

.lk-address-card--secondary .lk-address-card__btn:first-child {
  flex: 1 1 0;
  min-width: 0;
}

.lk-address-card--secondary .lk-address-card__del {
  margin-left: 0;
}

.lk-address-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.lk-address-card__meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.lk-address-card__badge {
  flex-shrink: 0;
  padding: 5px 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: #1150f2;
}

.lk-address-card__title {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--black);
}

.lk-address-card__line {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gray-dark);
}

.lk-address-card__delivery {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--black);
}

.lk-address-card--has-pickup .lk-address-card__delivery {
  margin-bottom: 6px;
}

.lk-address-card__delivery--muted {
  font-weight: 500;
  color: #8a8a8a;
  text-transform: none;
  letter-spacing: 0.02em;
}

.lk-address-card__pickup {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gray-dark);
  white-space: pre-wrap;
}

.lk-address-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lk-address-card__actions--primary {
  flex-wrap: nowrap;
  align-items: stretch;
}

.lk-address-card__actions--primary .lk-address-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lk-address-card__actions--primary .lk-address-card__btn--edit {
  flex: 1;
  min-width: 0;
}

.lk-address-card__actions--primary .lk-address-card__del {
  margin-left: auto;
  height: auto;
  align-self: stretch;
  box-sizing: border-box;
}

.lk-address-card__btn {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 18px;
  cursor: pointer;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  transition: opacity 0.2s;
}

.lk-address-card__btn:hover,
.lk-address-card__btn:focus-visible {
  opacity: 0.75;
}

.lk-address-card__del {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
  margin-left: auto;
  box-sizing: border-box;
  border: 1px solid #cccccc;
  background: var(--white);
  color: #b0b0b0;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, opacity 0.2s;
}

.lk-address-card__del:hover,
.lk-address-card__del:focus-visible {
  color: #888888;
  border-color: #b5b5b5;
}

.lk-address-card__del svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Скрытое поле «Адрес» в режиме ПВЗ — не участвует в сетке формы */
#lk-address-line-wrap[hidden] {
  display: none !important;
}

/* Блок выбора ПВЗ при курьере: .lk-field иначе перебивает [hidden] */
#lk-address-pvz-wrap[hidden] {
  display: none !important;
}

/* Комментарий к адресу скрыт в режиме ПВЗ */
#lk-address-pickup-wrap[hidden] {
  display: none !important;
}

.lk-address-form-wrap {
  margin: 0 0 24px;
  padding: 24px 0 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.lk-address-form-title {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lk-address-pvz-wrap label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--black);
}

.lk-address-pvz-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gray-dark);
}

.lk-address-pvz-list {
  max-height: min(320px, 45vh);
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: var(--white);
}

.lk-pvz-item {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: background 0.15s;
}

.lk-pvz-item:last-child {
  border-bottom: none;
}

.lk-pvz-item:hover,
.lk-pvz-item:focus-visible {
  background: var(--gray-light);
}

.lk-pvz-item--active {
  background: rgba(17, 80, 242, 0.08);
  outline: 2px solid rgba(17, 80, 242, 0.35);
  outline-offset: -2px;
}

.lk-pvz-item__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.lk-pvz-item__addr {
  font-size: 13px;
  line-height: 1.4;
  color: var(--gray-dark);
}

.lk-pvz-item__hours {
  margin-top: 6px;
  font-size: 12px;
  color: #6a6a6a;
}

.lk-address-pvz-selected {
  margin-top: 14px;
}

.lk-pvz-selected__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--black);
  background: var(--white);
}

.lk-pvz-selected__check {
  flex-shrink: 0;
  font-weight: 700;
  color: #1150f2;
}

.lk-pvz-selected__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.lk-pvz-selected__addr {
  font-size: 13px;
  line-height: 1.4;
  color: var(--gray-dark);
  margin-top: 4px;
}

.lk-pvz-selected__clear {
  flex-shrink: 0;
  margin-left: auto;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: var(--white);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: var(--black);
}

.lk-pvz-selected__clear:hover,
.lk-pvz-selected__clear:focus-visible {
  opacity: 0.65;
}

.lk-address-pvz-manual-wrap {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.lk-address-pvz-manual-wrap label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--black);
}

.lk-address-pvz-manual-wrap textarea {
  width: 100%;
  min-height: 72px;
  font-family: var(--font);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.45;
}

.lk-address-pvz-manual-wrap textarea:focus {
  outline: none;
  border-color: var(--black);
}

.lk-address-pvz-manual-wrap textarea::placeholder {
  color: rgba(0, 0, 0, 0.28);
}

.lk-address-default-row {
  align-items: flex-start;
}

.lk-address-checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
}

.lk-address-checkbox input[type='checkbox'] {
  margin-top: 0.2em;
}

.lk-address-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.lk-submit--inline {
  width: auto;
  min-width: 140px;
  margin-top: 0;
}

.lk-address-cancel {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 22px;
  border: 1px solid var(--black);
  background: var(--white);
  cursor: pointer;
  transition: opacity 0.2s;
}

.lk-address-cancel:hover,
.lk-address-cancel:focus-visible {
  opacity: 0.75;
}

button.lk-address-add {
  margin-top: 8px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--black);
  background: var(--white);
  cursor: pointer;
  transition: opacity 0.2s;
}

button.lk-address-add:hover,
button.lk-address-add:focus-visible {
  opacity: 0.75;
}

/* ——— Мои сертификаты ——— */
.lk-certificates {
  width: 100%;
}

.lk-content--certificates-open > .lk-tabs {
  display: none;
}

.lk-certificates__empty {
  margin: 0;
  color: var(--gray-dark);
  font-size: 14px;
}

.lk-cert-tabs {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0 0 28px;
}

.lk-cert-tab {
  appearance: none;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  text-transform: uppercase;
  cursor: pointer;
}

.lk-cert-tab span {
  margin-left: 5px;
  color: var(--black);
  font: inherit;
}

.lk-cert-tab--active {
  border-bottom-color: currentColor;
}

.lk-cert-balance {
  min-height: 96px;
  margin-bottom: 28px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  background-color: #555;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.lk-cert-balance[hidden] {
  display: none !important;
}

.lk-cert-balance::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.38), rgba(0,0,0,.1));
}

.lk-cert-balance > * {
  position: relative;
  z-index: 1;
}

.lk-cert-balance span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  opacity: .85;
}

.lk-cert-balance strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .02em;
}

.lk-cert-balance__sum {
  text-align: right;
  min-width: 120px;
}

.lk-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.lk-cert-order {
  position: relative;
  min-height: 118px;
  padding: 16px 20px 16px 190px;
  background: #F5F5F5;
  border: 0;
  box-sizing: border-box;
}

.lk-cert-order + .lk-cert-order {
  margin-top: 18px;
}

.lk-cert-order__thumb {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 165px;
  height: 92px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.lk-cert-order__shade {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.22);
}

.lk-cert-order__logo {
  position: absolute;
  left: 10px;
  top: 9px;
  width: 36px;
  filter: brightness(0) invert(1);
  z-index: 1;
}

.lk-cert-order__term,
.lk-cert-order__thumb .lk-cert-order__label,
.lk-cert-order__thumb-amount {
  position: absolute;
  z-index: 1;
  color: var(--white);
}

.lk-cert-order__term {
  right: 9px;
  top: 8px;
  font-size: 5px;
  line-height: 1.2;
  text-align: right;
}

.lk-cert-order__thumb .lk-cert-order__label {
  left: 10px;
  bottom: 10px;
  font-size: 5px;
  line-height: 1;
  width: auto;
  height: auto;
  margin: 0;
  font-weight: 400;
  color: var(--white);
  white-space: nowrap;
}

.lk-cert-order__thumb-amount {
  right: 9px;
  bottom: 8px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

.lk-cert-order__main {
  min-height: 92px;
  padding-right: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.lk-cert-order__recipient-label,
.lk-cert-order__main p {
  margin: 0;
  color: #9C9C9C;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.lk-cert-order__recipient-label {
  margin-bottom: 0;
}

.lk-cert-order__main strong {
  display: block;
  margin-top: auto;
  margin-bottom: 2px;
  color: var(--black);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: uppercase;
}

.lk-cert-order__main strong + p {
  color: #9C9C9C;
  font-size: 14px;
  font-weight: 300;
  line-height: normal;
}

.lk-cert-order__number {
  display: none;
}

.lk-cert-order__date {
  position: absolute;
  right: 18px;
  top: 16px;
  color: #9C9C9C;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.lk-cert-order__amount {
  position: absolute;
  right: 18px;
  bottom: 22px;
  color: var(--black);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.lk-cert-card {
  border: 1px solid rgba(0,0,0,.12);
  background: var(--white);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.lk-cert-card__visual {
  position: relative;
  width: auto;
  height: auto;
  aspect-ratio: 470 / 265;
  margin: 14px 14px 0;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.lk-cert-card__shade {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.26);
}

.lk-cert-card--spent .lk-cert-card__visual {
  filter: grayscale(1);
  opacity: .58;
}

.lk-cert-card__logo,
.lk-cert-card__term,
.lk-cert-card__label,
.lk-cert-card__amount {
  position: absolute;
  z-index: 1;
}

.lk-cert-card__logo {
  left: 26px;
  top: 24px;
  width: 90px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.lk-cert-card__term {
  right: 28px;
  top: 24px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.28;
  text-align: right;
}

.lk-cert-card__label {
  left: 26px;
  bottom: 30px;
  font-size: 11px;
  font-weight: 400;
  line-height: .8;
}

.lk-cert-card__amount {
  right: 28px;
  bottom: 28px;
  font-size: 20px;
  font-weight: 500;
  line-height: .8;
}

.lk-cert-card__body {
  padding: 12px 14px 16px;
}

.lk-cert-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.lk-cert-card__row b {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.lk-cert-card__row span {
  color: #1150F2;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
}

.lk-cert-card__body p {
  margin: 0 0 7px;
  color: var(--gray-dark);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.lk-cert-card__body p:first-of-type {
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.lk-cert-card__body p span::before {
  content: '|';
  margin: 0 10px;
  color: rgba(0,0,0,.2);
}

@media (max-width: 1200px) {
  .lk-cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lk-cert-card {
    width: 100%;
  }

  .lk-cert-card__visual {
    width: auto;
    height: auto;
    aspect-ratio: 470 / 265;
  }
}

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

/* ——— Доступность ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Программа лояльности (макет ЛК) ——— */
:root {
  --lk-loyalty-blue: #1150f2;
  --lk-loyalty-card-bg: #f6f6f6;
  --lk-loyalty-label: #999999;
  --lk-loyalty-minus: #e8487a;
}

.lk-content--loyalty {
  padding-bottom: clamp(48px, 8vw, 96px);
}

.lk-loyalty-heading {
  margin: 0 0 clamp(24px, 3.5vw, 32px);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--black);
}

.lk-loyalty-card {
  padding: clamp(22px, 3.5vw, 32px) clamp(20px, 4vw, 36px) clamp(28px, 4vw, 40px);
  margin-bottom: clamp(32px, 5vw, 48px);
  background: var(--lk-loyalty-card-bg);
  border-radius: 0;
  box-sizing: border-box;
}

.lk-loyalty-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 32px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.lk-loyalty-card__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--lk-loyalty-label);
}

.lk-loyalty-card__points-block .lk-loyalty-card__label {
  text-align: right;
}

.lk-loyalty-card__level-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.lk-loyalty-card__level-name {
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--lk-loyalty-blue);
}

.lk-loyalty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--lk-loyalty-blue);
  line-height: 1;
  border-radius: 0;
}

.lk-loyalty-card__points-value {
  margin: 0;
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--black);
  text-align: right;
}

.lk-loyalty-progress {
  --lk-track-pad-x: 0px;
  --lk-progress: 0%;
  --lk-progress-mobile: 0%;
}

.lk-loyalty-progress__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--lk-loyalty-label);
}

.lk-loyalty-progress__row--top {
  margin-bottom: 14px;
}

.lk-loyalty-progress__row--top span {
  flex: 1;
  max-width: 32%;
  text-align: center;
}

.lk-loyalty-progress__row--top span:first-child {
  text-align: left;
  max-width: none;
}

.lk-loyalty-progress__row--top span:last-child {
  text-align: right;
  max-width: none;
}

.lk-loyalty-progress__row--bottom {
  margin-top: 18px;
}

.lk-loyalty-progress__row--bottom span {
  flex: 1;
  max-width: 32%;
  text-align: center;
}

.lk-loyalty-progress__row--bottom span:first-child {
  text-align: left;
}

.lk-loyalty-progress__row--bottom span:last-child {
  text-align: right;
}

.lk-loyalty-progress__track {
  position: relative;
  padding: 14px 0 64px;
  margin: 0;
}

.lk-loyalty-progress__lines {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  z-index: 0;
  pointer-events: none;
}

.lk-loyalty-progress__line--rail {
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.12);
}

.lk-loyalty-progress__line--fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--lk-progress);
  max-width: 100%;
  border-radius: 0;
  background: var(--black);
}

.lk-loyalty-progress__stops {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  isolation: isolate;
  pointer-events: none;
}

.lk-loyalty-progress__stop {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  background: var(--lk-loyalty-card-bg);
  padding: 0 2px;
}

.lk-loyalty-snowflake {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 22px;
  object-fit: contain;
}

/*
 * Игла: нулевая точка на центре линии (как у .lk-loyalty-progress__lines: top 50% трека).
 * Точка и подсказка позиционируются от якоря, без translateY(-50%) на всей колонке.
 */
.lk-loyalty-progress__needle {
  position: absolute;
  left: var(--lk-progress);
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 1px;
  overflow: visible;
  z-index: 2;
  pointer-events: none;
}

.lk-loyalty-progress__dot {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  margin: 0;
  border-radius: 50%;
  background: var(--black);
  box-shadow: 0 0 0 2px var(--lk-loyalty-card-bg);
}

.lk-loyalty-progress__tooltip {
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 14px;
  max-width: min(260px, calc(100vw - 48px));
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  color: var(--white);
  background: var(--black);
  border-radius: 0;
  box-sizing: border-box;
}

.lk-loyalty-progress__mobile {
  display: none;
}

.lk-loyalty-progress__stop--muted,
.lk-loyalty-progress__m-tier--muted {
  opacity: 0.42;
}

.lk-loyalty-progress__m-tier--muted .lk-loyalty-progress__m-tier-title,
.lk-loyalty-progress__m-tier--muted .lk-loyalty-progress__m-tier-sum {
  color: var(--lk-loyalty-label);
}

.lk-loyalty-history__title {
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.lk-loyalty-history .lk-loyalty-table-wrap {
  border-radius: 0;
}

.lk-loyalty-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lk-loyalty-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
  color: var(--black);
}

.lk-loyalty-table thead th {
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--lk-loyalty-label);
  background: var(--lk-loyalty-card-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.lk-loyalty-table thead th:last-child {
  text-align: right;
}

.lk-loyalty-table tbody td {
  padding: 16px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
}

.lk-loyalty-table tbody tr:last-child td {
  border-bottom: none;
}

.lk-loyalty-table__empty {
  padding: 20px 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--lk-loyalty-label);
  text-align: left;
}

.lk-loyalty-table__points {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.lk-loyalty-table__points--plus {
  color: var(--lk-loyalty-blue);
}

.lk-loyalty-table__points--minus {
  color: var(--lk-loyalty-minus);
}

@media (max-width: 768px) {
  .lk-loyalty-card__points-block {
    width: 100%;
  }

  .lk-loyalty-card__points-block .lk-loyalty-card__label,
  .lk-loyalty-card__points-value {
    text-align: left;
  }

  .lk-loyalty-progress__desktop {
    display: none !important;
  }

  .lk-loyalty-progress__mobile {
    display: flex;
    align-items: stretch;
    gap: clamp(14px, 4vw, 20px);
    width: 100%;
    min-height: 220px;
  }

  .lk-loyalty-progress__m-visual {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    align-self: stretch;
    min-height: 220px;
  }

  .lk-loyalty-progress__m-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }

  .lk-loyalty-progress__m-line-rail {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.12);
  }

  .lk-loyalty-progress__m-line-fill {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: var(--lk-progress-mobile);
    max-height: 100%;
    transform: translateX(-50%);
    border-radius: 0;
    background: var(--black);
    pointer-events: none;
  }

  .lk-loyalty-progress__m-stops {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    pointer-events: none;
  }

  .lk-loyalty-progress__m-stop {
    background: var(--lk-loyalty-card-bg);
  }

  .lk-loyalty-progress__m-needle {
    position: absolute;
    left: 50%;
    top: var(--lk-progress-mobile);
    transform: translate(-50%, -50%);
    width: 1px;
    height: 1px;
    overflow: visible;
    z-index: 2;
    pointer-events: none;
  }

  .lk-loyalty-progress__m-needle .lk-loyalty-progress__dot {
    box-shadow: 0 0 0 2px var(--lk-loyalty-card-bg);
  }

  .lk-loyalty-progress__tooltip--m {
    left: calc(100% + 12px);
    top: 50%;
    margin: 0;
    padding: 8px 12px;
    width: max-content;
    max-width: none;
    box-sizing: border-box;
    transform: translateY(-50%);
    text-align: left;
    font-size: clamp(8px, 2.65vw, 11px);
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 0;
  }

  .lk-loyalty-progress__m-tiers {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 220px;
    padding: 2px 0 4px;
  }

  .lk-loyalty-progress__m-tier {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 100%;
  }

  .lk-loyalty-progress__m-tier-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.35;
    color: var(--black);
  }

  .lk-loyalty-progress__m-tier-sum {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.35;
    color: var(--lk-loyalty-label);
  }

  .lk-loyalty-progress__row--top span,
  .lk-loyalty-progress__row--bottom span {
    font-size: 10px;
  }

  .lk-loyalty-progress__tooltip:not(.lk-loyalty-progress__tooltip--m) {
    white-space: normal;
    font-size: 10px;
    padding: 8px 10px;
  }

  .lk-page {
    grid-template-columns: 1fr;
    padding-top: 80px;
    gap: 32px;
  }

  .lk-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1199;
    background: rgba(0, 0, 0, 0.28);
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.32s ease;
  }

  .lk-page--sidebar-nav-collapsed::before {
    opacity: 0;
    pointer-events: none;
  }

  .lk-sidebar-clip {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1200;
    width: min(320px, 82vw);
    background: #fff;
    box-shadow: 18px 0 42px rgba(0, 0, 0, 0.14);
    transform: translateX(0);
    transition: transform 0.32s ease;
    overflow-y: auto;
  }

  .lk-page--sidebar-nav-collapsed .lk-sidebar-clip {
    transform: translateX(-105%);
  }

  .lk-sidebar-clip > .lk-sidebar {
    min-height: 100%;
    padding: 72px 20px 28px;
  }

  .lk-page--sidebar-nav-collapsed .lk-sidebar {
    pointer-events: none;
  }

  .lk-page.lk-page--sidebar-nav-collapsed {
    gap: 32px;
  }

  .lk-sidebar__nav {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 1.35rem;
  }

  .lk-form-grid {
    grid-template-columns: 1fr;
  }

  .lk-field--empty {
    display: none;
  }

  .lk-addresses-list {
    grid-template-columns: 1fr;
  }

  .lk-address-card__del {
    margin-left: 0;
  }

  .lk-returns-active-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .lk-returns-status {
    align-self: flex-start;
  }
}

/* ——— Возврат и обмен (макет ЛК) ——— */
:root {
  --lk-returns-bg: #f5f5f5;
  --lk-returns-pink: #ff5c8e;
  --lk-returns-check-blue: #1150f2;
  --lk-returns-status-ok: #4ade80;
  --lk-returns-status-wait: #fdf4a3;
  --lk-returns-muted: #999999;
  --lk-returns-radius: 0;
}

.lk-content--returns {
  padding-bottom: clamp(48px, 8vw, 96px);
}

.lk-returns-page-title {
  margin: 0 0 clamp(28px, 4vw, 40px);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--black);
}

.lk-returns-section-heading {
  margin: 0 0 clamp(14px, 2vw, 18px);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--black);
}

.lk-returns-section-heading--spaced {
  margin-top: clamp(36px, 5vw, 52px);
  margin-bottom: clamp(18px, 2.5vw, 24px);
}

.lk-returns-block--rules {
  padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 28px);
  background: var(--lk-returns-bg);
  box-sizing: border-box;
}

.lk-returns-rules-list {
  margin: 0;
  padding: 0 0 0 1.2em;
  font-size: 14px;
  line-height: 1.55;
  color: var(--black);
}

.lk-returns-rules-list li + li {
  margin-top: 10px;
}

.lk-returns-orders {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
}

.lk-returns-order {
  background: var(--lk-returns-bg);
  box-sizing: border-box;
  border-radius: var(--lk-returns-radius);
  overflow: hidden;
}

.lk-returns-order__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 20px);
  width: 100%;
  margin: 0;
  padding: clamp(14px, 2.2vw, 18px) clamp(14px, 2.2vw, 20px);
  font-family: var(--font);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--black);
  transition: opacity 0.2s;
}

.lk-returns-order__toggle:hover,
.lk-returns-order__toggle:focus-visible {
  opacity: 0.72;
}

.lk-returns-order__toggle:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

.lk-returns-order__left {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 16px);
  min-width: 0;
  flex: 1;
}

.lk-returns-order__thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 0;
  overflow: hidden;
  background: var(--white);
}

.lk-returns-order__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lk-returns-order__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.lk-returns-order__date {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--lk-returns-muted);
  line-height: 1.25;
}

.lk-returns-order__num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--black);
  line-height: 1.3;
  word-break: break-word;
}

.lk-returns-order__summary {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--lk-returns-muted);
  line-height: 1.25;
}

.lk-returns-order__right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
  flex-shrink: 0;
}

.lk-returns-order__sum {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.lk-returns-order__chev {
  display: inline-flex;
  color: var(--black);
  opacity: 0.55;
}

.lk-returns-order__chev-svg {
  display: block;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.lk-returns-order__chev-svg--up {
  transform: rotate(0deg);
}

.lk-returns-order__panel {
  padding: clamp(4px, 1vw, 8px) clamp(14px, 2.2vw, 20px) clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.lk-returns-order__panel[hidden] {
  display: none !important;
}

.lk-returns-order__compose-title {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

.lk-returns-products {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(28px, 4vw, 40px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.lk-returns-product {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 0;
  min-width: clamp(158px, 26vw, 220px);
  max-width: 280px;
  padding: 10px 10px 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.15s;
}

.lk-returns-product:hover:not(.lk-returns-product--disabled) {
  border-color: rgba(0, 0, 0, 0.12);
}

.lk-returns-product--disabled {
  cursor: not-allowed;
  opacity: 1;
}

.lk-returns-product__visual {
  position: relative;
  display: block;
  margin-bottom: 14px;
}

.lk-returns-product__ui {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 20px;
  height: 20px;
  border: 1px solid var(--black);
  background: var(--white);
  box-sizing: border-box;
  pointer-events: none;
}

.lk-returns-product__check:checked + .lk-returns-product__visual .lk-returns-product__ui {
  background: var(--lk-returns-check-blue);
  border-color: var(--lk-returns-check-blue);
}

.lk-returns-product__check:checked + .lk-returns-product__visual .lk-returns-product__ui::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.lk-returns-product__check:focus-visible + .lk-returns-product__visual .lk-returns-product__ui {
  outline: 2px solid rgba(17, 80, 242, 0.45);
  outline-offset: 2px;
}

.lk-returns-product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 8px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--white);
  background: var(--lk-returns-pink);
  max-width: calc(100% - 24px);
  text-align: left;
}

.lk-returns-product__media {
  display: block;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: #e8e8e8;
  border-radius: 0;
}

.lk-returns-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lk-returns-product__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.lk-returns-product__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
}

.lk-returns-product__detail {
  font-size: 12px;
  line-height: 1.4;
  color: var(--lk-returns-muted);
}

.lk-returns-product__price {
  font-size: 14px;
  font-weight: 700;
  margin-top: 6px;
  color: var(--black);
}

.lk-returns-order__btn {
  width: 100%;
  margin: 0;
  padding: clamp(17px, 2.5vw, 20px) 24px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.lk-returns-order__btn:hover,
.lk-returns-order__btn:focus-visible {
  opacity: 0.88;
}

.lk-returns-active-list {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 22px);
}

.lk-returns-active-card {
  padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 28px);
  background: var(--lk-returns-bg);
  box-sizing: border-box;
}

.lk-returns-active-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(16px, 2vw, 22px);
}

.lk-returns-active-card__ret-id {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
}

.lk-returns-active-card__meta {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--lk-returns-muted);
}

.lk-returns-active-card__facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 clamp(18px, 2.5vw, 24px);
}

.lk-returns-active-card__fact-line {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--black);
}

.lk-returns-active-card__order-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lk-returns-active-card__order-link:hover,
.lk-returns-active-card__order-link:focus-visible {
  opacity: 0.55;
}

.lk-returns-status {
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: 0;
  color: var(--black);
}

.lk-returns-status--approved {
  background: #c7f582;
  color: #000;
}

.lk-returns-status--pending {
  background: #f5f06c;
  color: #000;
}

.lk-returns-status--rejected {
  background: #f4b6b6;
  color: var(--black);
}

.lk-returns-active-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-bottom: clamp(18px, 2.5vw, 24px);
}

.lk-returns-active-card__label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--lk-returns-muted);
}

.lk-returns-active-card__value {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
}

.lk-returns-active-card__compose-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

.lk-returns-active-items {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 28px);
}

.lk-returns-active-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 160px;
}

.lk-returns-active-item__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lk-returns-active-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lk-returns-active-item__name {
  font-size: 11px;
  line-height: 1.35;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lk-returns-active-item__detail {
  font-size: 10px;
  line-height: 1.35;
  color: var(--lk-returns-muted);
  margin-top: 2px;
}

.lk-returns-active-item__price {
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  color: var(--black);
}

@media (max-width: 900px) {
  .lk-returns-product {
    min-width: 148px;
    flex: 1 0 148px;
  }
}

/* Мобильный макет: страница «Возврат и обмен» */
@media (max-width: 768px) {
  .lk-page--returns.lk-page {
    gap: 32px;
    padding-top: 80px;
    padding-bottom: 48px;
  }

  .lk-content--returns {
    padding-bottom: 28px;
  }

  .lk-content--returns .lk-returns-page-title {
    margin-bottom: 20px;
    font-size: clamp(17px, 5.2vw, 22px);
    letter-spacing: 0.06em;
  }

  .lk-content--returns .lk-returns-section-heading {
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .lk-content--returns .lk-returns-section-heading--spaced {
    margin-top: 28px;
    margin-bottom: 14px;
  }

  .lk-content--returns .lk-returns-block--rules {
    padding: 16px 14px;
    border-radius: 0;
  }

  .lk-content--returns .lk-returns-rules-list {
    font-size: 12px;
    line-height: 1.55;
    color: #888888;
  }

  .lk-content--returns .lk-returns-orders {
    gap: 12px;
  }

  .lk-content--returns .lk-returns-order {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }

  .lk-content--returns .lk-returns-order__toggle {
    padding: 12px;
  }

  .lk-content--returns .lk-returns-order__thumb {
    width: 48px;
    height: 48px;
  }

  .lk-content--returns .lk-returns-order__num {
    font-size: 13px;
  }

  .lk-content--returns .lk-returns-order__panel {
    padding: 10px 10px 14px;
    background: var(--lk-returns-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }

  .lk-content--returns .lk-returns-order__compose-title {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .lk-content--returns .lk-returns-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow-x: visible;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: auto;
  }

  .lk-content--returns .lk-returns-product {
    min-width: 0 !important;
    max-width: none;
    flex: none !important;
    width: 100%;
  }

  .lk-content--returns .lk-returns-order__btn {
    padding: 16px 18px;
    font-size: 10px;
  }

  .lk-content--returns .lk-returns-active-card {
    padding: 16px 14px;
    border-radius: 0;
  }

  .lk-content--returns .lk-returns-active-card__head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 14px;
  }

  .lk-content--returns .lk-returns-active-card__ret-id {
    font-size: 12px;
  }

  .lk-content--returns .lk-returns-active-card__facts {
    margin-bottom: 16px;
    gap: 8px;
  }

  .lk-content--returns .lk-returns-active-card__fact-line {
    font-size: 13px;
    line-height: 1.4;
  }

  .lk-content--returns .lk-returns-status {
    padding: 7px 10px;
    font-size: 8px;
  }

  .lk-content--returns .lk-returns-active-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .lk-content--returns .lk-returns-active-item {
    max-width: none;
    width: 100%;
  }

  .lk-content--returns .lk-returns-active-item__img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    margin-bottom: 8px;
  }

  .lk-content--returns .lk-returns-active-item__name {
    font-size: 12px;
  }

  .lk-content--returns .lk-returns-active-item__detail {
    font-size: 11px;
  }

  .lk-content--returns .lk-returns-active-item__price {
    font-size: 12px;
    font-weight: 700;
  }
}

/* ——— Поп-ап «Оформить возврат» ——— */
.lk-return-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px clamp(16px, 4vw, 48px);
  box-sizing: border-box;
}

.lk-return-modal[hidden] {
  display: none !important;
}

.lk-return-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.lk-return-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(960px, 72vw);
  max-height: min(97vh, 1180px);
  overflow-y: auto;
  background: var(--white);
  padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 56px) clamp(36px, 4vw, 52px);
  box-sizing: border-box;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
}

.lk-return-modal__close {
  position: absolute;
  top: clamp(12px, 2vw, 20px);
  right: clamp(12px, 2vw, 22px);
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 26px;
  line-height: 1;
  font-weight: 300;
  color: var(--black);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.lk-return-modal__close:hover,
.lk-return-modal__close:focus-visible {
  opacity: 1;
}

.lk-return-modal__title {
  margin: 0 0 10px;
  padding-right: 44px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--black);
}

.lk-return-modal__subtitle {
  margin: 0 0 clamp(22px, 3vw, 32px);
  font-size: clamp(13px, 1.35vw, 15px);
  font-weight: 400;
  line-height: 1.45;
  color: var(--lk-returns-muted);
}

.lk-return-modal__rules-box {
  margin-bottom: clamp(26px, 3.5vw, 36px);
  padding: clamp(18px, 2.2vw, 24px) clamp(18px, 2.5vw, 26px);
  background: var(--lk-returns-bg);
  box-sizing: border-box;
}

.lk-return-modal__rules-heading {
  margin: 0 0 14px;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.lk-return-modal__rules-list {
  margin: 0;
  padding: 0 0 0 1.15em;
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.6;
  color: #888888;
}

.lk-return-modal__rules-list li + li {
  margin-top: 10px;
}

.lk-return-modal__form {
  display: block;
}

.lk-return-modal__block-title {
  margin: 0 0 12px;
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
}

.lk-return-modal__form .lk-return-modal__block-title:not(:first-of-type) {
  margin-top: clamp(28px, 3.5vw, 42px);
}

.lk-return-modal__picks {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: 12px;
}

.lk-return-modal__pick {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  cursor: pointer;
}

.lk-return-modal__pick[hidden] {
  display: none !important;
}

.lk-return-modal__pick-visual {
  position: relative;
  display: block;
  margin-bottom: 12px;
}

.lk-return-modal__pick-ui {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 20px;
  height: 20px;
  border: 1px solid var(--black);
  background: var(--white);
  box-sizing: border-box;
  pointer-events: none;
}

.lk-return-modal__pick-check:checked + .lk-return-modal__pick-visual .lk-return-modal__pick-ui {
  background: var(--lk-returns-check-blue);
  border-color: var(--lk-returns-check-blue);
}

.lk-return-modal__pick-check:checked + .lk-return-modal__pick-visual .lk-return-modal__pick-ui::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.lk-return-modal__pick-check:focus-visible + .lk-return-modal__pick-visual .lk-return-modal__pick-ui {
  outline: 2px solid rgba(17, 80, 242, 0.45);
  outline-offset: 2px;
}

.lk-return-modal__pick-img {
  display: block;
  aspect-ratio: 280 / 373;
  overflow: hidden;
  background: #e8e8e8;
}

.lk-return-modal__pick-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lk-return-modal__pick-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lk-return-modal__pick-name {
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

.lk-return-modal__pick-detail {
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.4;
  color: var(--lk-returns-muted);
}

.lk-return-modal__pick-price {
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  margin-top: 4px;
  color: var(--black);
}

.lk-return-modal__select-wrap {
  position: relative;
  margin-bottom: 0;
}

.lk-return-modal__select-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--black);
  border-bottom: 1.5px solid var(--black);
  transform: rotate(45deg);
  opacity: 0.45;
  pointer-events: none;
}

.lk-return-modal__select {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 44px 16px 18px;
  font-family: var(--font);
  font-size: clamp(14px, 1.25vw, 15px);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.lk-return-modal__select:focus {
  outline: none;
  border-color: var(--black);
}

.lk-return-modal__textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: clamp(160px, 24vh, 240px);
  padding: 18px 20px;
  font-family: var(--font);
  font-size: clamp(14px, 1.25vw, 15px);
  line-height: 1.45;
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 0;
  resize: vertical;
}

.lk-return-modal__textarea::placeholder {
  color: #b0b0b0;
}

.lk-return-modal__textarea:focus {
  outline: none;
  border-color: var(--black);
}

.lk-return-modal__file-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-family: var(--font);
  font-size: clamp(12px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
  cursor: pointer;
  transition: opacity 0.2s;
}

.lk-return-modal__file-btn:hover,
.lk-return-modal__file-btn:focus-visible {
  opacity: 0.72;
}

.lk-return-modal__file-icon {
  display: block;
  flex-shrink: 0;
}

.lk-return-modal__methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lk-return-modal__method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 2vw, 20px) clamp(16px, 2vw, 22px);
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: var(--white);
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.lk-return-modal__method:has(.lk-return-modal__method-input:checked) {
  border-color: var(--black);
}

.lk-return-modal__method-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--black);
  background: var(--white);
  box-sizing: border-box;
  border-radius: 0;
}

.lk-return-modal__method-input:checked + .lk-return-modal__method-box {
  background: var(--lk-returns-check-blue);
  border-color: var(--lk-returns-check-blue);
  box-shadow: inset 0 0 0 2px var(--white);
}

.lk-return-modal__method-text {
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--black);
}

.lk-return-modal__footer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
}

.lk-return-modal__btn {
  flex: 1 1 0;
  min-width: 0;
  padding: clamp(16px, 2vw, 20px) clamp(18px, 2vw, 24px);
  font-family: var(--font);
  font-size: clamp(10px, 0.95vw, 11px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.lk-return-modal__btn--ghost {
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
}

.lk-return-modal__btn--primary {
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
}

.lk-return-modal__btn:hover,
.lk-return-modal__btn:focus-visible {
  opacity: 0.88;
}

@media (min-width: 561px) {
  .lk-return-modal__dialog {
    min-height: min(78vh, 880px);
  }
}

@media (max-width: 560px) {
  .lk-return-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .lk-return-modal__dialog {
    max-width: 100%;
    max-height: 95vh;
    min-height: 0;
    padding: 36px 18px 24px;
  }

  .lk-return-modal__picks {
    flex-wrap: wrap;
  }

  .lk-return-modal__pick {
    flex: 1 1 calc(33.333% - 8px);
    min-width: calc(33.333% - 8px);
  }
}

@media (max-width: 400px) {
  .lk-return-modal__pick {
    flex: 1 1 calc(50% - 6px);
    min-width: calc(50% - 6px);
  }
}

/* ——— Покупки и предзаказы (макет «все покупки») ——— */
.lk-page--purchases {
  padding-bottom: clamp(64px, 10vw, 120px);
}

.lk-content--purchases {
  min-width: 0;
}

.lk-tabs--purchases {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.lk-tabs--purchases .lk-tab {
  opacity: 1;
  letter-spacing: 0.14em;
}

.lk-tabs--purchases .lk-tab:not(.lk-tab--active) {
  color: var(--black);
  font-weight: 600;
}

.lk-tabs--purchases .lk-tab:not(.lk-tab--active):hover,
.lk-tabs--purchases .lk-tab:not(.lk-tab--active):focus-visible {
  opacity: 0.55;
}

.lk-tabs--purchases .lk-tab--active {
  color: #0055ff;
  font-weight: 700;
  opacity: 1;
}

.lk-tabs--purchases .lk-tab--active::after {
  height: 3px;
  background: #0055ff;
}

.lk-tabs--purchases .lk-tab--active:hover,
.lk-tabs--purchases .lk-tab--active:focus-visible {
  opacity: 1;
  color: #0055ff;
}

.lk-tabs__count {
  font-weight: 600;
  opacity: 0.85;
}

.lk-tabs--purchases .lk-tab--active .lk-tabs__count {
  color: inherit;
  opacity: 0.92;
}

.lk-panel--purchases[hidden] {
  display: none !important;
}

/* Вкладка «Предзаказы»: сетка карточек как на макете */
.lk-panel--preorders {
  padding-top: 0;
}

.lk-preorder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.2vw, 28px);
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.lk-preorder-card {
  margin: 0;
  padding: 0;
  min-width: 0;
  box-sizing: border-box;
}

.lk-preorder-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e8e8e8;
}

.lk-preorder-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lk-preorder-card__badge {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  max-width: calc(100% - 12px);
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  background: #0055ff;
  box-sizing: border-box;
}

.lk-preorder-card__cart {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 13px 12px;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #000;
  border: none;
  cursor: pointer;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .lk-preorder-card__cart {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
  }

  .lk-preorder-card:hover .lk-preorder-card__cart,
  .lk-preorder-card:focus-within .lk-preorder-card__cart {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .lk-preorder-card:hover .lk-preorder-card__cart:hover {
    opacity: 0.88;
  }
}

.lk-preorder-card__cart:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  .lk-preorder-card__cart {
    transition: opacity 0.2s ease;
  }

  @media (hover: hover) and (pointer: fine) {
    .lk-preorder-card__cart {
      transform: none;
    }

    .lk-preorder-card:hover .lk-preorder-card__cart,
    .lk-preorder-card:focus-within .lk-preorder-card__cart {
      transform: none;
    }
  }
}

.lk-preorder-card__body {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lk-preorder-card__name {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--black);
}

.lk-preorder-card__meta {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #8a8a8a;
}

.lk-preorder-card__price {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
}

@media (max-width: 1100px) {
  .lk-preorder-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .lk-preorder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

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

.lk-purch-list {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 16px);
}

.lk-purch-order {
  background: #f7f7f7;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.lk-purch-order__toggle {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 16px);
  width: 100%;
  margin: 0;
  padding: clamp(14px, 2.2vw, 20px) clamp(14px, 2.2vw, 20px);
  font-family: var(--font);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--black);
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.lk-purch-order__toggle:hover,
.lk-purch-order__toggle:focus-visible {
  opacity: 0.72;
}

.lk-purch-order__toggle:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

.lk-purch-order__thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 0;
  overflow: hidden;
  background: var(--white);
}

.lk-purch-order__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lk-purch-order__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lk-purch-order__row--top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.lk-purch-order__row--bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.lk-purch-order__ids {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lk-purch-order__date {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #777;
  line-height: 1.25;
}

.lk-purch-order__num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--black);
  line-height: 1.3;
  word-break: break-word;
}

.lk-purch-order__subs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 2.4vw, 32px);
}

.lk-purch-order__sub {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #777;
  line-height: 1.25;
  white-space: nowrap;
}

.lk-purch-order__price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.lk-purch-order__sum {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.lk-purch-order__chev {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--black);
  opacity: 0.55;
}

.lk-purch-order__chev-svg {
  display: block;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.lk-purch-order__chev-svg--up {
  transform: rotate(0deg);
}

.lk-purch-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
  border-radius: 0;
  box-sizing: border-box;
}

.lk-purch-badge--ready {
  color: #000;
  background: #c7f582;
}

.lk-purch-badge--placed {
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
}

.lk-purch-badge--shipping {
  color: #fff;
  background: #ff5490;
}

.lk-purch-badge--done {
  color: #fff;
  background: #1150f2;
}

.lk-purch-badge--return {
  color: #000;
  background: #f5f06c;
}

.lk-purch-badge--cancelled {
  color: #444;
  background: #e8e8e8;
}

.lk-purch-order__panel {
  background: var(--white);
  padding: clamp(20px, 3vw, 32px) clamp(16px, 2.5vw, 24px) clamp(24px, 3.5vw, 36px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.lk-purch-order__panel[hidden] {
  display: none !important;
}

.lk-returns-empty,
.lk-purch-panel-placeholder,
.lk-purch-empty {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #999;
}

.lk-purch-empty {
  padding: clamp(36px, 6vw, 56px) 0;
  text-align: center;
}

.lk-purch-section + .lk-purch-section {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(24px, 3.5vw, 32px);
  border-top: 1px solid #e8e8e8;
}

.lk-purch-section__title {
  margin: 0 0 clamp(16px, 2.2vw, 22px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

.lk-purch-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.lk-purch-section__order-num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
}

.lk-purch-track {
  margin-bottom: clamp(24px, 3.5vw, 32px);
}

.lk-purch-track__rail {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-bottom: 14px;
}

.lk-purch-track__pip {
  flex-shrink: 0;
  border-radius: 0;
  align-self: center;
}

.lk-purch-track__pip--start {
  width: 8px;
  height: 8px;
  background: #000;
  margin-right: 0;
}

.lk-purch-track__pip--end {
  width: 6px;
  height: 6px;
  background: #c4c4c4;
  margin-left: 0;
}

.lk-purch-track__bar {
  --lk-track-pct: 80%;
  position: relative;
  flex: 1;
  height: 2px;
  background: #d5d5d5;
  border-radius: 0;
  align-self: center;
}

.lk-purch-track__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--lk-track-pct);
  max-width: 100%;
  background: #000;
  border-radius: 0;
  pointer-events: none;
  z-index: 0;
}

.lk-purch-track__star-wrap {
  position: absolute;
  left: var(--lk-track-pct);
  top: 50%;
  transform: translate(0, -50%);
  z-index: 1;
}

.lk-purch-track__star {
  display: block;
  line-height: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

.lk-purch-track__star-img {
  display: block;
  width: 24px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.lk-purch-track__captions {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.lk-purch-track__cap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 48%;
}

.lk-purch-track__cap--end {
  align-items: flex-end;
  text-align: right;
}

.lk-purch-track__cap-date {
  font-size: 12px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
}

.lk-purch-track__cap-date--faded {
  font-weight: 600;
  color: #000;
}

.lk-purch-track__cap-muted {
  font-size: 11px;
  font-weight: 400;
  color: #777;
  line-height: 1.35;
}

.lk-purch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.lk-purch-col__title {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

.lk-purch-col__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #777;
}

.lk-purch-col__text + .lk-purch-col__text {
  margin-top: 4px;
}

/* Только «Информация о заказе»: чуть крупнее типографика и отступы */
.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-section__title {
  font-size: 12px;
  letter-spacing: 0.11em;
  margin-bottom: clamp(18px, 2.5vw, 26px);
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-section__head {
  margin-bottom: clamp(24px, 3.5vw, 36px);
  gap: 14px;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-section__order-num {
  font-size: 16px;
  letter-spacing: 0.03em;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-section__head .lk-purch-badge {
  padding: 8px 13px;
  font-size: 10px;
  letter-spacing: 0.11em;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-track {
  margin-bottom: clamp(28px, 4vw, 42px);
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-track__rail {
  margin-bottom: 18px;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-track__pip--start {
  width: 9px;
  height: 9px;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-track__pip--end {
  width: 7px;
  height: 7px;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-track__bar {
  height: 3px;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-track__captions {
  gap: 28px;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-track__cap {
  gap: 6px;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-track__cap-date {
  font-size: 13px;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-track__cap-muted {
  font-size: 12px;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-grid {
  gap: clamp(24px, 3.5vw, 44px);
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-col__title {
  font-size: 11px;
  margin-bottom: 12px;
  letter-spacing: 0.11em;
}

.lk-purch-order__panel > .lk-purch-section:first-child .lk-purch-col__text {
  font-size: 15px;
  line-height: 1.55;
}

.lk-purch-sum {
  margin: 0;
}

.lk-purch-sum__row {
  display: flex;
  align-items: baseline;
  width: 100%;
  gap: 8px;
  padding: 6px 0 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.lk-purch-sum__row:first-child {
  padding-top: 0;
}

.lk-purch-sum__label {
  flex: 0 0 auto;
  font-weight: 400;
  color: #000;
}

.lk-purch-sum__leader {
  flex: 1 1 auto;
  min-width: 12px;
  border-bottom: 1px dotted #c4c4c4;
  height: 0;
  margin-bottom: 2px;
  transform: translateY(-1px);
}

.lk-purch-sum__value {
  flex: 0 0 auto;
  font-weight: 400;
  color: #000;
  white-space: nowrap;
}

.lk-purch-sum__value--strong {
  font-weight: 700;
}

.lk-purch-sum__row--total {
  padding-top: 10px;
}

.lk-purch-sum__row--total .lk-purch-sum__label,
.lk-purch-sum__row--total .lk-purch-sum__value {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}

.lk-purch-products {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: clamp(12px, 2vw, 20px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.lk-purch-product {
  flex: 1 1 0;
  min-width: clamp(158px, 26vw, 220px);
  max-width: 280px;
  padding: 10px 10px 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  box-sizing: border-box;
}

.lk-purch-product__media {
  display: block;
  aspect-ratio: 3 / 4;
  margin: 0 0 14px;
  overflow: hidden;
  background: #e8e8e8;
  border-radius: 0;
}

.lk-purch-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lk-purch-product__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lk-purch-product__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
}

.lk-purch-product__detail {
  font-size: 12px;
  line-height: 1.4;
  color: #999;
}

.lk-purch-product__price {
  font-size: 14px;
  font-weight: 700;
  margin-top: 6px;
  color: var(--black);
}

.lk-purch-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 18px);
  margin-top: clamp(28px, 4vw, 36px);
  padding-top: clamp(24px, 3.5vw, 32px);
  border-top: 1px solid #e8e8e8;
}

.lk-purch-btn {
  margin: 0;
  padding: 16px 20px;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.lk-purch-btn:hover,
.lk-purch-btn:focus-visible {
  opacity: 0.88;
}

.lk-purch-btn:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 2px;
}

.lk-purch-btn--ghost {
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
}

.lk-purch-btn--solid {
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--black);
}

a.lk-purch-btn--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

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

  .lk-purch-track__cap--end {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .lk-purch-order__toggle {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .lk-purch-order__row--bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .lk-purch-order__price-block {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .lk-purch-actions {
    grid-template-columns: 1fr;
  }

  .lk-purch-track__cap--end {
    align-items: flex-end;
    text-align: right;
  }
}
