/* Bottom dock — Menü / Fafi / Liefern / Instagram / Bewerten */
:root{
  --bottom-nav-bg:#1a1614;
  --bottom-nav-active:#f5c518;
  --bottom-nav-muted:#a89f91;
  --bottom-nav-content:58px;
  --bottom-nav-h:calc(var(--bottom-nav-content) + env(safe-area-inset-bottom,0px))
}

body{
  padding-bottom:calc(var(--bottom-nav-h) + 12px)
}
.site-footer{
  padding-bottom:calc(24px + var(--bottom-nav-h))
}

.bottom-nav{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:stretch;gap:0;
  min-height:var(--bottom-nav-content);
  padding:8px 4px calc(8px + env(safe-area-inset-bottom,0px));
  border:0;border-radius:22px 22px 0 0;
  background:var(--bottom-nav-bg);
  box-shadow:0 -8px 28px rgba(0,0,0,.35);
  -webkit-tap-highlight-color:transparent
}
.bottom-nav::before{
  content:"";position:absolute;left:12%;right:12%;top:0;height:1px;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(201,168,106,.35) 18%,
    rgba(245,197,24,.95) 50%,
    rgba(201,168,106,.35) 82%,
    transparent 100%
  );
  box-shadow:0 0 10px rgba(245,197,24,.35);
  pointer-events:none
}

.bottom-nav-item{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;min-width:0;min-height:44px;margin:0;padding:4px 1px;
  border:0;border-radius:12px;background:transparent;
  color:var(--bottom-nav-muted);font:500 .62rem/1.15 var(--menu-font,inherit);
  letter-spacing:.01em;cursor:pointer;transition:color .18s ease,transform .12s ease
}
.bottom-nav-item:active{transform:scale(.96)}
.bottom-nav-item:focus-visible{
  outline:2px solid var(--bottom-nav-active);outline-offset:-2px
}
.bottom-nav-ico{
  display:grid;place-items:center;width:26px;height:26px;flex:0 0 auto;
  transition:filter .18s ease,color .18s ease
}
.bottom-nav-ico svg{display:block;width:22px;height:22px}
.bottom-nav-label{
  max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-weight:500
}

/* Wolt script wordmark in Liefern slot — wider than square icons, always white */
.bottom-nav-item--wolt{
  color:#f2f5f7
}
.bottom-nav-ico--wolt{
  width:52px;height:22px
}
.bottom-nav-wolt-mark{
  display:block;width:50px;height:18px;
  background:#fff;
  -webkit-mask:url(assets/images/liefer/wolt-wordmark.png) center / contain no-repeat;
  mask:url(assets/images/liefer/wolt-wordmark.png) center / contain no-repeat
}
.bottom-nav-label--wolt{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0
}

.bottom-nav-item.is-active{
  color:var(--bottom-nav-active)
}
.bottom-nav-item.is-active .bottom-nav-label{font-weight:600}
.bottom-nav-item.is-active .bottom-nav-ico{
  filter:drop-shadow(0 0 8px rgba(245,197,24,.55)) drop-shadow(0 0 16px rgba(245,197,24,.28))
}
.bottom-nav-item--wolt.is-active{
  color:#f2f5f7
}
.bottom-nav-item--wolt.is-active .bottom-nav-wolt-mark{
  background:#fff
}
.bottom-nav-item--wolt.is-active .bottom-nav-ico--wolt{
  filter:drop-shadow(0 0 6px rgba(255,255,255,.35))
}

/* Lift floating chrome above the dock */
.order-dock{
  bottom:calc(var(--bottom-nav-h) + 12px) !important
}
body.has-order-dock .site-footer{
  padding-bottom:calc(84px + var(--bottom-nav-h))
}
.ninja-invite{
  bottom:max(calc(var(--bottom-nav-h) + 16px),calc(env(safe-area-inset-bottom) + var(--bottom-nav-content) + 16px)) !important
}
body.has-order-dock .ninja-invite{
  bottom:max(calc(var(--bottom-nav-h) + 78px),calc(env(safe-area-inset-bottom) + var(--bottom-nav-content) + 78px)) !important
}
.order-toast{
  bottom:max(calc(var(--bottom-nav-h) + 24px),calc(env(safe-area-inset-bottom) + var(--bottom-nav-content) + 24px)) !important
}

@media(min-width:768px){
  .bottom-nav{
    left:50%;right:auto;width:min(560px,100%);
    transform:translateX(-50%);
    border-radius:22px 22px 0 0
  }
  .bottom-nav-item{font-size:.68rem}
  .bottom-nav-label{letter-spacing:.02em}
}

@media(prefers-reduced-motion:reduce){
  .bottom-nav-item{transition:none}
}
