body.has-tabbar {
  padding-bottom: 72px;
}

.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bs-body-bg);
  border-top: 1px solid var(--bs-border-color);
  z-index: 1030;
  padding-bottom: env(safe-area-inset-bottom);
}

.tabbar-item {
  flex: 1;
  text-align: center;
  padding: 8px 0 6px;
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
  text-decoration: none;
}

.tabbar-item.active {
  color: var(--bs-primary);
  font-weight: 600;
}

.tabbar-icon {
  font-size: 1.4rem;
  line-height: 1.4;
}

.storage-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.1s ease;
}

.storage-card:hover {
  transform: translateY(-2px);
}

.storage-card .card {
  height: 100%;
}

.item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bs-border-color);
}

.item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bs-tertiary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.freshness-ok { color: var(--bs-success); }
.freshness-laeuft_bald_ab { color: var(--bs-warning); }
.freshness-abgelaufen { color: var(--bs-danger); }
.freshness-unbekannt { color: var(--bs-secondary-color); }

.quantity-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.quantity-stepper button {
  width: 28px;
  height: 28px;
  padding: 0;
  line-height: 1;
}

#scanner-video {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  background: #000;
}
