/* Gemeinsame App-Navbar + Tab-Leiste (Bestellung, Auth, Konto) */

.je-app-shell .sp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.je-app-shell .sp-skip:focus {
  left: 0.75rem;
  top: 0.75rem;
  z-index: 900;
  padding: 0.5rem 0.75rem;
  background: #111;
  color: #fff;
  border-radius: 8px;
}

.je-app-shell {
  --je-orange: #ff7a00;
  --je-orange-dark: #e56e00;
  --je-text: #111111;
  --je-muted: #6b6b6b;
  --je-line: #ececec;
  --je-tabs-h: 4.55rem;
  margin: 0;
  min-height: 100vh;
  padding-bottom: calc(var(--je-tabs-h) + env(safe-area-inset-bottom, 0px));
  background: #fff;
}

.je-app-shell:not(.je-order-page--app) .je-nav {
  position: sticky;
  top: 0;
  z-index: 300;
  width: 100%;
  background: #fff;
}

.je-app-shell.je-order-page--app .je-nav {
  position: fixed;
  top: 0;
  z-index: 520;
  width: 100%;
  background: #fff;
}

.je-app-shell .je-app-topbar {
  background: #f3f1ee;
  color: #111111;
  border-bottom: 1px solid #eceae6;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
}

.je-app-shell .je-app-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 1.35rem;
  padding: 0.38rem 0.7rem;
}

.je-app-shell .je-app-topbar a {
  color: #111111;
  text-decoration: none;
  white-space: nowrap;
}

.je-app-shell .je-app-topbar a:hover {
  color: #111111;
  text-decoration: underline;
}

.je-app-shell .je-app-topbar i {
  color: var(--je-orange);
  margin-right: 0.3rem;
}

@media (max-width: 767px) {
  .je-app-shell .je-app-topbar {
    font-size: 0.68rem;
  }

  .je-app-shell .je-app-topbar__inner {
    gap: 0.3rem 0.75rem;
    padding: 0.32rem 0.55rem;
  }

  .je-app-shell .je-app-topbar i {
    margin-right: 0.22rem;
    font-size: 0.72rem;
  }
}

.je-app-shell:not(.je-order-page--app) .je-header {
  border-bottom: 1px solid var(--je-line);
  background: #fff;
}

.je-app-shell:not(.je-order-page--app) .je-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 56px;
  height: 56px;
  box-sizing: border-box;
  padding: 0 0.7rem;
  gap: 0.5rem;
}

.je-app-shell:not(.je-order-page--app) .je-header__menu-btn {
  grid-column: 1;
  justify-self: start;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: var(--je-text);
  font-size: 1.15rem;
  border-radius: 10px;
  cursor: pointer;
}

.je-app-shell:not(.je-order-page--app) .je-header__menu-btn:hover {
  background: #f4f4f4;
}

.je-app-shell:not(.je-order-page--app) .je-header__logo {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  min-width: 0;
}

.je-app-shell:not(.je-order-page--app) .je-header__logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(148px, 38vw);
  object-fit: contain;
}

.je-app-shell:not(.je-order-page--app) .je-header__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.38rem;
}

.je-app-shell:not(.je-order-page--app) .je-header__info,
.je-app-shell:not(.je-order-page--app) .je-header__account,
.je-app-shell:not(.je-order-page--app) .je-header__cart {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  text-decoration: none;
  box-sizing: border-box;
}

.je-app-shell:not(.je-order-page--app) .je-header__info {
  border: none;
  background: #fff;
  box-shadow: 0 0 0 1.5px var(--je-orange);
  padding: 0;
  cursor: pointer;
}

.je-app-shell:not(.je-order-page--app) .je-header__info-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  color: var(--je-orange);
}

.je-app-shell:not(.je-order-page--app) .je-header__info:hover {
  background: var(--je-orange);
}

.je-app-shell:not(.je-order-page--app) .je-header__info:hover .je-header__info-mark {
  color: #fff;
}

.je-app-shell:not(.je-order-page--app) .je-header__account,
.je-app-shell:not(.je-order-page--app) .je-header__cart {
  position: relative;
  border: 1.5px solid var(--je-orange);
  color: var(--je-orange);
  background: #fff;
}

.je-app-shell:not(.je-order-page--app) .je-header__account:hover,
.je-app-shell:not(.je-order-page--app) .je-header__account.is-logged-in,
.je-app-shell:not(.je-order-page--app) .je-header__cart:hover {
  background: var(--je-orange);
  color: #fff;
}

.je-app-shell .je-header__cart-badge {
  position: absolute;
  top: -0.28rem;
  right: -0.28rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  border-radius: 99px;
  background: var(--je-orange);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
}

.je-app-shell .je-header__cart-badge:empty,
.je-app-shell .je-header__cart-badge[data-count="0"] {
  display: none;
}

.je-app-shell .je-header__auth-sep {
  margin: 0 0.25rem;
  color: var(--je-muted);
}

.je-app-shell .je-header__auth-guest[hidden],
.je-app-shell .je-header__auth-user[hidden] {
  display: none !important;
}

.je-app-shell .je-app-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 410;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-sizing: border-box;
  height: auto;
  min-height: 3.55rem;
  padding: 0.38rem 0.4rem calc(0.42rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: saturate(1.7) blur(22px);
  backdrop-filter: saturate(1.7) blur(22px);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px 24px 0 0;
  box-shadow:
    0 -10px 28px rgba(17, 17, 17, 0.08),
    0 -1px 0 rgba(255, 255, 255, 0.9) inset;
}

.je-app-shell .je-app-tabs__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  border-radius: 12px;
  color: #8a8a8a;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  -webkit-tap-highlight-color: transparent;
}

.je-app-shell .je-app-tabs__item i {
  font-size: 1.08rem;
  line-height: 1;
}

.je-app-shell .je-app-tabs__pill {
  background: #f4f4f4;
  box-shadow: none;
}

.je-app-shell .je-app-tabs__item.is-active {
  color: var(--je-orange, #ff7a00);
  background: transparent;
}

.je-app-shell .je-app-tabs__item.is-active i {
  color: var(--je-orange, #ff7a00);
}

.je-app-shell .ku-wrap--auth,
.je-app-shell .ku-wrap {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}

body.konto-page.je-app-shell {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body.konto-page.je-app-shell .ku-main {
  padding-bottom: 1.25rem;
}

body.konto-page.je-app-shell .ku-wrap {
  padding-top: 1.15rem;
}

body.je-drawer-open {
  overflow: hidden;
}

html.je-drawer-open,
html.je-drawer-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

@media (min-width: 1024px) {
  .je-app-shell {
    padding-bottom: 2rem;
  }

  .je-app-shell:not(.je-order-page--app) .je-header__inner {
    height: 60px;
    min-height: 60px;
    padding: 0 1.15rem;
  }

  .je-app-shell:not(.je-order-page--app) .je-header__logo-img {
    height: 42px;
    max-width: 168px;
  }

  .je-app-shell .je-app-tabs {
    display: none;
  }
}
