/**
 * Öffentliche Käufer-Chrome (Desktop): horizontale Nav, keine Sidebar.
 * Seller/Admin/Buyer-Dash behalten die linke Sidebar (body ohne .lk-public).
 * Mobile (<992): Sidebar bleibt als Burger-Drawer, Mainnav aus.
 */
:root {
  --lk-shop-orange: #ff7900;
  --lk-shop-orange-hot: #ff8a16;
  --lk-shop-bg: #ffffff;
  --lk-shop-bg2: #f7f7f7;
  --lk-shop-text: #14161a;
  --lk-shop-muted: #5c6370;
  --lk-shop-line: #e8eaed;
  --lk-shop-live: #dc2626;
  --lk-shop-radius: 12px;
  --lk-shop-shadow: 0 4px 18px rgba(16, 24, 40, 0.06);
  --lk-mainnav-h: 72px;
}

body.lk-public {
  --lk-ink: #ffffff;
  --lk-bg: #ffffff;
  --lk-panel: #ffffff;
  --lk-card: #ffffff;
  --lk-line: var(--lk-shop-line);
  --lk-text: var(--lk-shop-text);
  --lk-muted: var(--lk-shop-muted);
  --lk-orange: var(--lk-shop-orange);
  background: var(--lk-shop-bg);
  color: var(--lk-shop-text);
}

body.lk-public .main-content {
  background: var(--lk-shop-bg);
  color: var(--lk-shop-text);
}

/* Desktop: Sidebar weg, Mainnav an */
@media (min-width: 992px) {
  body.lk-public {
    --lk-side-w: 0px;
  }
  body.lk-public .lk-side {
    display: none !important;
  }
  body.lk-public .lk-top {
    left: 0 !important;
    background: #ffffff;
    border-bottom: 1px solid var(--lk-shop-line);
    box-shadow: none;
  }
  body.lk-public .main-content {
    padding-left: 0 !important;
    padding-top: calc(var(--lk-top-h) + var(--lk-mainnav-h)) !important;
  }
  body.lk-public .footer {
    margin-left: 0 !important;
  }
  body.lk-public .lk-mainnav {
    display: block;
  }
}

/* Mobile: Mainnav aus, Burger behält Sidebar-Drawer */
@media (max-width: 991.98px) {
  body.lk-public .lk-mainnav {
    display: none !important;
  }
}

.lk-mainnav {
  display: none;
  position: fixed;
  top: var(--lk-top-h);
  left: 0;
  right: 0;
  z-index: 1050;
  height: var(--lk-mainnav-h);
  background: #ffffff;
  border-bottom: 1px solid var(--lk-shop-line);
}
.lk-mainnav__inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 36px);
  padding: 0 20px;
}
.lk-mainnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 88px;
  padding: 6px 10px 8px;
  text-decoration: none;
  color: var(--lk-shop-text);
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lk-mainnav__item:hover {
  color: var(--lk-shop-orange);
}
.lk-mainnav__item.is-active {
  color: var(--lk-shop-orange);
  border-bottom-color: var(--lk-shop-orange);
}
.lk-mainnav__ico {
  display: inline-flex;
  color: inherit;
  line-height: 0;
}
.lk-mainnav__item strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.lk-mainnav__item small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--lk-shop-muted);
  line-height: 1.1;
}
.lk-mainnav__item.is-active small,
.lk-mainnav__item:hover small {
  color: inherit;
  opacity: 0.85;
}

/* Top-Bar: Warenkorb-Badge orange */
body.lk-public .lk-top__cart b,
body.lk-public .lk-top__meta b {
  background: var(--lk-shop-orange) !important;
  color: #fff !important;
}
body.lk-public .lk-top__search {
  background: #f7f7f7 !important;
  border: 1px solid var(--lk-shop-line) !important;
  border-radius: 999px;
}
body.lk-public .lk-top__auth-btn,
body.lk-public .lk-top__meta {
  color: var(--lk-shop-text) !important;
}

/* Mobile public: Suche-Icon, Chat/Notif aus, Formular-Suche aus */
body.lk-public .lk-top__search-ico {
  display: none;
}
@media (max-width: 991.98px) {
  body.lk-public .lk-top__search {
    display: none !important;
  }
  body.lk-public .lk-top__icons {
    display: flex;
    align-items: center;
    gap: 0;
  }
  body.lk-public .lk-top__search-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--lk-shop-text);
    text-decoration: none;
    border-radius: 12px;
    order: 1;
  }
  body.lk-public .lk-top__cart {
    order: 2;
  }
  body.lk-public .lk-top__auth-btn,
  body.lk-public .lk-top__icons > .dropdown {
    order: 3;
  }
  body.lk-public .lk-hm-burger {
    order: 4;
  }
  body.lk-public .lk-top__meta--desk {
    display: none !important;
  }
  body.lk-public .lk-top__auth-btn span,
  body.lk-public .lk-top__meta span,
  body.lk-public .lk-top__cart span {
    display: none !important;
  }
  body.lk-public .mobile-bottom-nav {
    background: #ffffff !important;
    border-top: 1px solid #e8eaed !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  body.lk-public .bottom-nav-item {
    color: #14161a !important;
    font-weight: 500 !important;
  }
  body.lk-public .bottom-nav-item.active,
  body.lk-public .bottom-nav-item.active span,
  body.lk-public .bottom-nav-item.active .bottom-nav-ico,
  body.lk-public .bottom-nav-item.active i {
    color: #ff7900 !important;
  }
  body.lk-public .bottom-nav-item--live .bottom-nav-ico,
  body.lk-public .bottom-nav-item--live i {
    color: #e11d48 !important;
  }
  body.lk-public .bottom-nav-item--live.active .bottom-nav-ico,
  body.lk-public .bottom-nav-item--live.active i {
    color: #e11d48 !important;
  }
}
