:root {
  --bg-primary:    #0f0f0f;
  --bg-secondary:  #1a1a1a;
  --bg-card:       #222222;
  --border:        #333333;
  --text-primary:  #f5f5f5;
  --text-secondary:#999999;
  --accent:        #c8a96e;
  --accent-hover:  #d4b97e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  padding-bottom: 100px;
}

/* ── Fixed top nav ─────────────────────────────────────────────── */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 60px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.top-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.top-nav-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
}
.top-nav-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.07em;
  color: var(--accent);
}
.top-nav-book {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 7px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.top-nav-book:hover {
  background: var(--accent);
  color: #0f0f0f;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-btn-outline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  padding: 7px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Hero ──────────────────────────────────────────────────────── */
.site-hero {
  margin-top: 60px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.72) 60%, #0f0f0f 100%),
    url('/images/bgpicgalna.jpg') center center / cover no-repeat;
  border-bottom: 1px solid var(--border);
  padding: 72px 24px 56px;
  text-align: center;
}
.site-hero-inner {
  max-width: 600px;
  margin: 0 auto;
}
.hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
  display: block;
  margin: 0 auto 20px;
  opacity: 0.92;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 0.06em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.hero-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Sticky category nav ───────────────────────────────────────── */
.cat-nav {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  display: flex;
  gap: 0;
  padding: 0 16px;
  white-space: nowrap;
  width: max-content;
  min-width: 100%;
}
.cat-nav-link {
  padding: 14px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  user-select: none;
  text-decoration: none;
  display: inline-block;
}
.cat-nav-link:hover { color: var(--text-primary); }
.cat-nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Main content ──────────────────────────────────────────────── */
.menu-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Category section ──────────────────────────────────────────── */
.menu-section {
  padding-top: 24px;
  scroll-margin-top: 112px;
}
.menu-section-header {
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.menu-section-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.menu-section-header p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ── Item grid ─────────────────────────────────────────────────── */
/* ── Items list (printed-menu style) ───────────────────────────── */
.items-list {
  column-count: 2;
  column-gap: 40px;
  column-rule: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 720px) {
  .items-list { column-count: 1; }
}

.menu-item {
  break-inside: avoid;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.menu-item:last-child { border-bottom: none; }

.menu-item-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.menu-item-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  flex: 1 1 auto;
}
.menu-item-price {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.menu-item-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-top: 2px;
  font-weight: 300;
}
.menu-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

/* ── Tag badges ────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 20px;
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}
.tag-vegetarisk   { background: rgba(92,184,92,0.12);   color: #7dd87d; }
.tag-vegansk       { background: rgba(92,184,92,0.12);   color: #7dd87d; }
.tag-glutenfri     { background: rgba(200,169,110,0.15); color: #d4b97e; }
.tag-laktosfri     { background: rgba(92,156,184,0.15);  color: #7db8d8; }
.tag-stark         { background: rgba(224,92,92,0.12);   color: #e07070; }
.tag-nottervarning { background: rgba(224,164,92,0.15);  color: #e0a45c; }

/* ── Loading / Error ───────────────────────────────────────────── */
.menu-loading {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.menu-spinner {
  display: inline-block;
  width: 24px; height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 10px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.menu-error {
  text-align: center;
  padding: 60px 24px;
  color: #e07070;
}

/* ── Delivery CTA ──────────────────────────────────────────────── */
#delivery-section {
  padding-top: 72px;
  padding-bottom: 24px;
}
.delivery-banner {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  padding: 36px 32px;
  text-align: center;
}
.delivery-banner h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.delivery-banner p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.delivery-badge {
  display: inline-block;
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.25);
  color: var(--accent);
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
}
.delivery-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
  margin-top: 4px;
}
.delivery-cta-btn:hover { background: #d4b97e; }

/* Sticky delivery button */
.sticky-delivery-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0f0f0f;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(200,169,110,0.35);
  transition: background 0.15s, transform 0.15s;
  z-index: 300;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sticky-delivery-btn:hover {
  background: var(--accent-hover);
  transform: translateX(-50%) translateY(-2px);
}
