/* ═══════════════════════════════════════════
   ЛК — Личный кабинет · Жги Колеса
   Подключается поверх css/style.css
═══════════════════════════════════════════ */

/* ── Badge hidden fix ────────────────────── */
[hidden] { display: none !important; }

/* ── Header ──────────────────────────────── */
.lk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s, height 0.2s;
}
.lk-header.is-scrolled {
  box-shadow: 0 2px 18px rgba(0,0,0,0.08);
}

.lk-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lk-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.lk-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.lk-nav::-webkit-scrollbar { display: none; }

.lk-nav a {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--black);
  transition: background 0.15s;
}
.lk-nav a:hover { background: var(--soft); }
.lk-nav a.active {
  background: var(--lime);
  color: var(--black);
}

.lk-account-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft);
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.lk-account-btn:hover,
.lk-account-btn.active { background: var(--lime); }
.lk-account-btn img { width: 19px; height: 19px; }

.lk-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 5px 6px 5px 18px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.lk-user-chip[hidden] {
  display: none;
}

.lk-user-chip button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--purple);
  color: var(--white);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

/* ── Layout ──────────────────────────────── */
.lk-main {
  min-height: calc(100vh - 66px - 46px);
  padding: 28px 0 52px;
}

.lk-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.lk-panel { display: block; }
.lk-panel.hidden { display: none; }

/* ── Breadcrumb + title ───────────────────── */
.lk-breadcrumb {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}

.lk-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 22px;
  line-height: 1.1;
}

.lk-back {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
  cursor: pointer;
  color: var(--black);
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

/* ── Tabs (shared) ───────────────────────── */
.lk-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.lk-tabs button {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.14s;
}
.lk-tabs button:hover:not(.active) { border-color: var(--black); }
.lk-tabs button.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ── Beta banner ─────────────────────────── */
.lk-beta-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--lime);
  margin-bottom: 24px;
}
.lk-beta-banner .lk-beta-icon { font-size: 22px; line-height: 1; }
.lk-beta-banner div { flex: 1; }
.lk-beta-banner b { display: block; font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.lk-beta-banner p { font-size: 13px; font-weight: 500; margin: 0; color: var(--black); opacity: 0.72; }

/* ── Empty state ─────────────────────────── */
.lk-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.lk-empty-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  max-width: 480px;
}

/* ── Device grid ─────────────────────────── */
.lk-device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* ── Device card ─────────────────────────── */
.lk-device-card {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  padding: 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: box-shadow 0.18s;
}
.lk-device-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.09); }
.lk-device-card.hidden { display: none; }

/* Lime corner arrow */
.lk-device-card::after {
  content: "→";
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  background: var(--lime);
  border-radius: 0 22px 0 54px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 11px 12px 0 0;
  font-size: 17px;
  font-weight: 900;
  pointer-events: none;
}

.lk-dc-cat {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.lk-dc-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  padding-right: 44px;
}

.lk-dc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lk-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--soft);
  color: var(--black);
}
.lk-tag.green { background: var(--lime); }
.lk-tag.blue  { background: var(--blue); color: var(--white); }

.lk-dc-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
}
.lk-dc-img img {
  width: 100%;
  max-height: 145px;
  object-fit: contain;
}

.lk-dc-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.lk-dc-price p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.lk-dc-price b { font-weight: 800; }
.lk-dc-price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* ── Profile ─────────────────────────────── */
.lk-profile-inner { max-width: 520px; }

.lk-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--soft);
  margin-bottom: 28px;
}
.lk-warning-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.lk-warning-text b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}
.lk-warning-text p {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
}

/* Form fields (underline style) */
.lk-form-group { margin-bottom: 20px; }
.lk-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 4px;
}
.lk-form-group input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--line);
  padding: 8px 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  background: transparent;
  outline: none;
}
.lk-form-group input:focus { border-bottom-color: var(--black); }
.lk-form-error {
  font-size: 12px;
  color: #d63031;
  font-weight: 600;
  margin-top: 3px;
}

/* Contact method toggles */
.lk-contact-label {
  font-size: 15px;
  font-weight: 800;
  margin: 28px 0 12px;
}
.lk-contact-toggles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.lk-contact-toggle {
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.14s;
}
.lk-contact-toggle.active {
  background: var(--black);
  color: var(--white);
}

/* Checkboxes */
.lk-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.lk-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.14s;
}
.lk-checkbox-item.required { border-color: #d63031; }
.lk-checkbox-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--black);
  cursor: pointer;
}
.lk-checkbox-item a { color: var(--violet); text-decoration: underline; }

/* Action buttons */
.lk-action-btns { display: flex; flex-direction: column; gap: 12px; }
.lk-btn-save {
  width: 100%;
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.lk-btn-save:hover { background: var(--black); }
.lk-btn-delete {
  width: 100%;
  padding: 15px 24px;
  border-radius: 999px;
  background: transparent;
  color: #d63031;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid #d63031;
  cursor: pointer;
  transition: all 0.14s;
}
.lk-btn-delete:hover { background: #d63031; color: var(--white); }

/* ── About ───────────────────────────────── */
.lk-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}
.lk-about-col h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 16px;
}
.lk-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}
.lk-ci {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.lk-ci img { width: 22px; height: 22px; object-fit: contain; }
.lk-ci.purple-bg { background: var(--violet); }
.lk-ci.purple-bg img { filter: brightness(0) invert(1); }

.lk-address-block { margin-bottom: 36px; }
.lk-address-block h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px;
}
.lk-address-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.lk-address-pin {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── FAQ ─────────────────────────────────── */
.lk-faq-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.lk-faq-tabs button {
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.14s;
}
.lk-faq-tabs button.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.lk-faq-tabs button:hover:not(.active) { border-color: var(--black); }

.lk-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lk-faq-list.hidden { display: none; }

.lk-faq-item {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
}
.lk-faq-item > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  color: var(--black);
  gap: 12px;
}
.lk-faq-item > button span { flex: 1; }
.lk-faq-item > button b {
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.lk-faq-item.open > button b { transform: rotate(45deg); }
.lk-faq-item > p {
  display: none;
  padding: 0 20px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.lk-faq-item.open > p { display: block; }

/* ── Footer ──────────────────────────────── */
.lk-footer {
  text-align: center;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ── About row2 (address + requisites) ──── */
.lk-about-row2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  margin-top: 8px;
}

.lk-about-address h3,
.lk-about-requisites h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 16px;
}

.lk-req-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
}
.lk-req-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 2px;
}

/* ── Nav icons ───────────────────────────── */
.lk-nav-icon {
  display: none; /* hidden on desktop */
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.lk-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
  .lk-device-grid { grid-template-columns: repeat(2, 1fr); }
  .lk-about-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 767px) {
  .lk-header-inner { padding: 0 16px; gap: 16px; }
  .lk-nav { gap: 0; }
  .lk-nav a { padding: 6px 12px; font-size: 13px; }
  .lk-user-chip { display: none; }
  .lk-container { padding: 0 16px; }
  .lk-main { padding: 20px 0 40px; }
  .lk-device-grid { grid-template-columns: 1fr; }
  .lk-about-grid { grid-template-columns: 1fr; gap: 20px; }
  .lk-title { font-size: 20px; }
  .lk-booking-rental .rental-ah-row { grid-template-columns: 1fr; }
  .lk-booking-rental .rental-summary { flex-wrap: wrap; }
  .lk-booking-rental .rental-summary strong {
    width: 100%;
    margin-left: 0;
    font-size: 30px;
  }
}

@media (max-width: 540px) {
  .lk-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 6px 8px env(safe-area-inset-bottom, 8px);
    justify-content: space-around;
    z-index: 40;
  }
  .lk-nav a {
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 4px;
    font-size: 10px;
    border-radius: 12px;
  }
  .lk-nav-icon {
    display: block; /* show icons on mobile */
  }
  .lk-main { padding-bottom: 80px; }
  .lk-about-row2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── Backend LK / PLAN2 final layer ───────────────────────────────── */
body.lk-auth-pending {
  visibility: hidden;
}

body.lk-modal-open {
  overflow: hidden;
}

.lk-bell-wrap {
  position: relative;
  flex-shrink: 0;
}

.lk-bell {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}

.lk-bell svg {
  width: 20px;
  height: 20px;
}

.lk-bell-badge,
.lk-nav-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.lk-bell-badge {
  position: absolute;
  top: -2px;
  right: -2px;
}

.lk-bell-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: -10px;
  width: min(360px, calc(100vw - 32px));
  padding: 14px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(31,31,31,.16);
  z-index: 100;
}

.lk-bell-dropdown.hidden {
  display: none;
}

.lk-bell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.lk-bell-header b {
  font-size: 15px;
  font-weight: 900;
}

.lk-bell-header button {
  border: 0;
  background: transparent;
  color: var(--purple);
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lk-bell-list {
  display: grid;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
}

.lk-bell-empty {
  padding: 24px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.lk-bell-empty.hidden {
  display: none;
}

.lk-notif-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: var(--soft);
  cursor: pointer;
}

.lk-notif-item.read {
  opacity: .72;
}

.lk-notif-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.lk-notif-item b {
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.lk-notif-item p {
  margin: 3px 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--muted);
}

.lk-notif-item small {
  color: var(--muted);
  font-weight: 700;
}

.lk-user-chip {
  padding: 5px;
  gap: 6px;
}

.lk-user-main {
  min-height: 40px;
  padding: 0 12px 0 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.lk-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--lime);
  padding: 7px;
}

.lk-logout-btn {
  width: 36px;
  min-height: 36px !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lk-logout-btn svg {
  width: 18px;
  height: 18px;
}

.lk-skeleton-inline {
  width: 120px;
  height: 16px;
  border-radius: 999px;
  color: transparent !important;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

.lk-btn-book {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--black);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  margin-top: 4px;
}

.lk-active-bookings {
  margin: 0 0 24px;
  padding: 16px;
  border-radius: 22px;
  background: var(--white);
}

.lk-section-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.lk-active-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lk-active-list::-webkit-scrollbar {
  display: none;
}

.lk-active-item {
  min-width: 290px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: var(--soft);
}

.lk-active-item img {
  width: 72px;
  height: 56px;
  object-fit: contain;
}

.lk-active-item b,
.lk-active-item small {
  display: block;
}

.lk-active-item small {
  color: var(--muted);
  font-weight: 700;
}

.lk-active-item button {
  border: 0;
  background: transparent;
  color: var(--purple);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lk-app-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.lk-app-filters button,
.lk-btn-primary,
.lk-btn-secondary,
.lk-btn-password {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.lk-app-filters button.active,
.lk-btn-primary {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.lk-btn-secondary {
  background: var(--soft);
}

.lk-btn-password {
  width: 100%;
  border-color: var(--purple);
  color: var(--purple);
}

.lk-apps-skeleton {
  display: grid;
  gap: 8px;
}

.lk-skeleton-row {
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.lk-apps-list {
  display: grid;
  gap: 10px;
}

.lk-app-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  animation: appIn .18s ease;
}

@keyframes appIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lk-app-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 18px 20px;
  align-items: center;
}

.lk-app-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lk-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.lk-status-pill.in_progress {
  background: #2e7d32;
}

.lk-status-pill.done {
  background: #757575;
}

.lk-status-pill.cancelled {
  background: #c62828;
}

.lk-app-date,
.lk-app-cat {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lk-app-product b,
.lk-app-product small {
  display: block;
}

.lk-app-product b {
  font-size: 17px;
  font-weight: 900;
}

.lk-app-product small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.lk-app-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lk-app-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform .2s;
}

.lk-app-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.lk-app-details {
  padding: 0 20px 20px;
  display: grid;
  gap: 10px;
}

.lk-app-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.lk-app-detail-row span {
  color: var(--muted);
}

.lk-app-detail-row.full {
  display: block;
}

.lk-app-detail-row.full p,
.lk-app-comment p {
  margin: 6px 0 0;
  color: var(--black);
  font-weight: 600;
  line-height: 1.45;
}

.lk-app-comment {
  padding: 12px;
  border-radius: 14px;
  background: rgba(123,77,255,.08);
  font-size: 14px;
  font-weight: 800;
}

.lk-app-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.lk-timeline-step {
  position: relative;
  padding: 10px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lk-timeline-step.active {
  color: var(--black);
  background: rgba(203,255,107,.42);
}

.lk-tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  margin-bottom: 6px;
}

.lk-timeline-step span,
.lk-timeline-step small {
  display: block;
}

.lk-apps-empty {
  padding: 40px 20px;
  border-radius: 24px;
  background: var(--white);
  text-align: center;
  color: var(--black);
}
.lk-apps-empty.hidden {
  display: none;
}
.lk-apps-empty svg {
  width: 80px;
  height: 80px;
  color: var(--purple);
}

.lk-apps-empty b {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 900;
}

.lk-apps-empty p {
  color: var(--muted);
  font-weight: 700;
}

.lk-form-note {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.lk-booking-backdrop,
.lk-backdrop-mini {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12,5,36,.44);
}

.lk-booking-backdrop.hidden,
.lk-backdrop-mini.hidden {
  display: none;
}

.lk-booking-modal,
.lk-mini-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 780px);
  overflow-y: auto;
  padding: 22px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 28px 90px rgba(0,0,0,.22);
}

.lk-booking-close,
.lk-mini-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  font: inherit;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
}

.lk-booking-product {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding-right: 46px;
}

.lk-booking-product img {
  width: 120px;
  height: 92px;
  object-fit: contain;
  border-radius: 18px;
  background: var(--soft);
}

.lk-booking-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.lk-booking-product b {
  display: block;
  font-size: 22px;
  font-weight: 900;
}

.lk-booking-product small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

#lk-booking-form {
  display: grid;
  gap: 12px;
}

#lk-booking-form input,
#lk-booking-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  padding: 0 16px;
  font: inherit;
  font-weight: 800;
}

.lk-rental-select > span,
.messenger-select > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.lk-rental-opts,
.lk-ah-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lk-rental-opts label,
.lk-ah-row label {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 900;
}

.lk-rental-opts input,
.lk-ah-row input {
  width: auto !important;
  min-height: auto !important;
  accent-color: var(--purple);
}

.lk-booking-success {
  text-align: center;
  padding: 24px 10px 6px;
}

.lk-booking-success.hidden {
  display: none !important;
}

.lk-booking-success svg {
  width: 76px;
  height: 76px;
  color: var(--purple);
}

.lk-booking-success b {
  display: block;
  font-size: 24px;
  font-weight: 900;
}

.lk-booking-success p {
  color: var(--muted);
  font-weight: 700;
}

.lk-mini-modal h3 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 900;
}

.lk-pw-wrap {
  position: relative;
}

.lk-pw-wrap input {
  padding-right: 100px;
}

.lk-pw-eye {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--purple);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lk-pw-strength {
  height: 7px;
  margin-top: 9px;
  border-radius: 999px;
  background: #d63031;
}

.lk-pw-strength[data-level="medium"] {
  background: #e6a700;
}

.lk-pw-strength[data-level="strong"] {
  background: #2e7d32;
}

.lk-confirm-modal > b {
  display: block;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 8px;
}

.lk-confirm-modal > p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.lk-confirm-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lk-btn-danger {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.lk-toast-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
}

.lk-toast {
  min-width: 280px;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 36px rgba(0,0,0,.14);
  animation: toastIn .25s ease;
  transition: opacity .25s, transform .25s;
}

.lk-toast.success { background: #1b5e20; }
.lk-toast.error { background: #b71c1c; }
.lk-toast.info { background: var(--violet); }
.lk-toast.warning { background: #e65100; }
.lk-toast.is-leaving { opacity: 0; transform: translateY(12px); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
  .lk-header-inner {
    height: 66px;
    padding: 0 14px;
    gap: 10px;
  }

  .lk-logo img {
    height: 34px;
  }

  .lk-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: var(--white);
    border-top: 1px solid var(--line);
    z-index: 60;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    overflow-x: auto;
  }

  .lk-nav a {
    flex: 1 0 74px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 52px;
    padding: 5px 3px;
    border-radius: 14px;
    font-size: 9px;
    line-height: 1.1;
  }

  .lk-nav-icon {
    display: block;
    width: 20px;
    height: 20px;
  }

  .lk-nav-badge {
    position: absolute;
    top: 2px;
    right: 10px;
  }

  .lk-main {
    padding-bottom: 92px;
  }

  .lk-user-chip {
    display: inline-flex;
    background: transparent;
    padding: 0;
  }

  .lk-user-name {
    display: none;
  }

  .lk-user-main {
    padding: 0;
  }

  .lk-logout-btn {
    display: none;
  }

  .lk-bell {
    width: 38px;
    height: 38px;
  }

  .lk-active-item {
    min-width: 260px;
    grid-template-columns: 58px 1fr;
  }

  .lk-active-item button {
    grid-column: 2;
    justify-self: start;
  }

  .lk-app-card-head {
    padding: 16px;
  }

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

  .lk-app-detail-row {
    flex-direction: column;
    gap: 3px;
  }

  .lk-booking-backdrop,
  .lk-backdrop-mini {
    align-items: flex-end;
    padding: 0;
  }

  .lk-booking-modal,
  .lk-mini-modal {
    width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
    padding: 18px;
  }

  .lk-booking-product {
    grid-template-columns: 88px 1fr;
    gap: 12px;
  }

  .lk-booking-product img {
    width: 88px;
    height: 72px;
  }

  .lk-toast-container {
    left: 16px;
    right: 16px;
    bottom: 82px;
  }

  .lk-toast {
    width: 100%;
    min-width: auto;
    max-width: none;
  }
}

/* ════════════════════════════════════════════
   НОВЫЕ КОМПОНЕНТЫ: Home btn · Burger · Menu · Bottom bar
═══════════════════════════════════════════ */

/* ── Header right group ───────────────────── */
.lk-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ── Home button ──────────────────────────── */
.lk-home-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 14px;
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}
.lk-home-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.lk-home-btn:hover { background: var(--soft); }
@media (max-width: 540px) {
  .lk-home-btn span { display: none; }
  .lk-home-btn { padding: 6px; border-radius: 50%; }
}

/* ── Burger button ────────────────────────── */
.lk-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
  cursor: pointer;
  padding: 0 10px;
  flex-shrink: 0;
}
.lk-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--black);
  transition: transform 0.22s, opacity 0.22s, width 0.22s;
}
.lk-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lk-burger.is-open span:nth-child(2) { opacity: 0; }
.lk-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) { .lk-burger { display: flex; } }

/* ── Desktop nav — hide on narrow screens ─── */
@media (max-width: 960px) {
  .lk-nav { display: none; }
}

/* ── Mobile menu overlay ──────────────────── */
.lk-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,5,36,.4);
  z-index: 200;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.lk-menu-overlay.hidden { display: none !important; }

/* ── Mobile menu drawer ───────────────────── */
.lk-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.4,0,.2,1);
  padding: 0 0 env(safe-area-inset-bottom, 16px);
}
.lk-mobile-menu.is-open { transform: translateX(0); }
.lk-mobile-menu.hidden { display: none !important; }

.lk-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.lk-mobile-menu-title {
  font-size: 16px;
  font-weight: 900;
}
.lk-mobile-menu-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
}

.lk-mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  gap: 2px;
  flex: 1;
}
.lk-mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  transition: background 0.14s;
}
.lk-mobile-menu-nav a:hover,
.lk-mobile-menu-nav a.active { background: var(--soft); }
.lk-mobile-menu-nav a.active { color: var(--violet); }
.lk-mobile-menu-nav a svg { flex-shrink: 0; color: var(--muted); }
.lk-mobile-menu-nav a.active svg { color: var(--violet); }

.lk-mobile-menu-contacts {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lk-menu-contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
}
.lk-menu-messengers {
  display: flex;
  gap: 10px;
}
.lk-menu-msg-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
}
.lk-menu-msg-btn:hover { background: var(--line); }
.lk-menu-msg-btn img { width: 22px; height: 22px; object-fit: contain; }

.lk-menu-home-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 20px 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── Bottom bar — только на мобилке ──────── */
.lk-bottom-bar {
  display: none;
}
@media (max-width: 767px) {
  .lk-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    z-index: 60;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
  }
  /* Прячем старый nav на мобилке */
  .lk-nav { display: none !important; }
  .lk-main { padding-bottom: 90px; }
}

.lk-bb-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 4px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  min-height: 52px;
  justify-content: center;
}
.lk-bb-item svg { width: 22px; height: 22px; }
.lk-bb-item:hover { background: var(--soft); }
.lk-bb-item.active {
  color: var(--violet);
  background: rgba(102,51,255,.08);
}
.lk-bb-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 20px);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Тосты поднимаем над bottom bar */
@media (max-width: 767px) {
  .lk-toast-container { bottom: 78px; }
}

/* Хедер на мобилке — бургер всегда виден */
@media (max-width: 767px) {
  .lk-header-inner { padding: 0 14px; gap: 10px; height: 60px; }
  .lk-logo img { height: 32px; }
  .lk-user-name { display: none; }
  .lk-user-main { padding: 0; }
  .lk-logout-btn { display: none; }
  .lk-user-chip { background: transparent; padding: 0; }
  .lk-bell { width: 38px; height: 38px; }
}

/* ── Profile dropdown ────────────────────── */
.lk-profile-drop-wrap {
  position: relative;
  flex-shrink: 0;
}

.lk-profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 284px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
  padding: 6px 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.lk-profile-dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* hide dropdown on mobile — burger menu covers it */
@media (max-width: 960px) {
  .lk-profile-dropdown { display: none !important; }
}

/* hide mobile-only logout on desktop — dropdown has it */
@media (min-width: 961px) {
  .lk-logout-mobile { display: none !important; }
}

.lk-pdd-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 16px;
}

.lk-pdd-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.lk-pdd-av img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.lk-pdd-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.lk-pdd-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lk-pdd-bonus {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.lk-pdd-bonus b {
  font-weight: 700;
  color: var(--black);
}

.lk-pdd-sep {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

.lk-pdd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.13s;
  white-space: nowrap;
}

.lk-pdd-item:hover {
  background: var(--soft);
}

.lk-pdd-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
}

.lk-pdd-legal {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 16px;
  white-space: normal;
  line-height: 1.4;
}

.lk-pdd-legal:hover {
  color: var(--black);
  background: var(--soft);
}

.lk-pdd-messengers {
  display: flex;
  gap: 8px;
  padding: 4px 16px 10px;
}

.lk-pdd-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft);
  transition: background 0.13s;
  flex-shrink: 0;
}

.lk-pdd-msg:hover { background: var(--line); }

.lk-pdd-msg img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.lk-pdd-logout {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.13s;
}

.lk-pdd-logout:hover { color: #d63031; }

.lk-pdd-version {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  padding: 0 16px 10px;
}

/* ═══════════════════════════════════════════
   ЗАЯВКИ В ЛК — кнопки направлений
═══════════════════════════════════════════ */
.lk-new-request {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--white);
}
.lk-new-request-label {
  font-size: 14px;
  font-weight: 900;
  color: var(--muted);
}
.lk-new-request-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lk-req-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.lk-req-btn:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-1px);
}

.lk-req-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.lk-req-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 20px;
  border-radius: 22px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s, box-shadow 0.16s;
}
.lk-req-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(31, 31, 31, 0.1);
}
.lk-req-card-ico {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 6px;
}
.lk-req-card b {
  font-size: 17px;
  font-weight: 900;
}
.lk-req-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}
.lk-req-card-cta {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--purple);
}

/* Visibility toggles for booking-mode elements */
.lk-booking-dirs.hidden,
.lk-booking-task.hidden,
.lk-booking-product.hidden,
.lk-rental-select.hidden,
.lk-booking-rental.hidden { display: none !important; }

.lk-booking-rental {
  margin: 2px 0 4px;
}

.lk-booking-rental .rental-opts {
  padding: 18px;
  border-radius: 24px;
}

.lk-booking-rental .rental-period-btn {
  min-height: 58px;
  font-size: 18px;
  font-weight: 900;
}

.lk-booking-rental .rental-ah-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lk-booking-rental .rental-ah-chip {
  min-height: 78px;
  justify-content: flex-start;
  padding: 12px 14px;
}

.lk-booking-rental .rental-ah-chip img {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.lk-booking-rental .rental-ah-chip b {
  font-size: 22px;
}

.lk-booking-rental .rental-ah-chip small {
  font-size: 14px;
}

.lk-booking-rental .rental-summary {
  min-height: 72px;
}

.lk-booking-rental .rental-summary strong {
  margin-left: auto;
  font-size: 34px;
  font-weight: 900;
}

.lk-booking-rental .rental-summary small {
  color: var(--muted);
  font-size: 16px;
  font-weight: 900;
}

/* ── Booking modal: direction tabs ── */
.lk-booking-dirs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 46px 16px 0;
}
.lk-booking-dirs button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--black);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lk-booking-dirs button.active {
  background: var(--purple);
  color: #fff;
}

/* ── Booking modal: task textarea ── */
.lk-booking-task > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.lk-booking-task textarea {
  width: 100%;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  resize: vertical;
}
.lk-booking-task textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
}

/* ═══════════════════════════════════════════
   CONTACT FAB + BOOK POPUP (ЛК)
═══════════════════════════════════════════ */
.lk-contact-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 70;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  border: none;
  cursor: pointer;
}
.lk-contact-fab img {
  width: 64px;
  height: 64px;
  display: block;
}
/* book-popup for LK (style.css not loaded here) */
.lk-book-popup {
  position: fixed;
  right: 32px;
  bottom: 110px;
  z-index: 69;
  width: 290px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1.5px solid #D8EFAC;
  box-shadow: 0 12px 48px rgba(31,31,31,0.18);
}
.lk-book-popup[hidden] { display: none; }
.lk-book-popup .book-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f5f5;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  color: #888;
  cursor: pointer;
  border: none;
}
.lk-book-popup .book-popup-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  color: #1f1f1f;
  padding-right: 28px;
}
.lk-book-popup .book-popup-sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: #888;
  font-weight: 600;
  line-height: 1.4;
}
.lk-book-popup .book-popup-messengers {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.lk-book-popup .book-popup-messenger {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #B4FF2B;
  display: grid;
  place-items: center;
  transition: opacity 0.18s;
}
.lk-book-popup .book-popup-messenger:hover { opacity: 0.8; }
.lk-book-popup .book-popup-messenger img { width: 26px; height: 26px; }
.lk-book-popup .book-popup-phone {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: #1f1f1f;
  text-decoration: none;
}
.lk-book-popup .book-popup-phone:hover { color: #7B4DFF; }

@media (max-width: 767px) {
  .lk-req-cards {
    grid-template-columns: 1fr;
  }
  .lk-contact-fab {
    right: 16px;
    bottom: 80px;
  }
  .lk-contact-fab img {
    width: 50px;
    height: 50px;
  }
  .lk-book-popup {
    right: 16px;
    bottom: 148px;
    width: calc(100vw - 32px);
    max-width: 320px;
  }
}
