:root {
  /* Menukort: cream, mørk brun tekst, orange accent (inspireret af fysisk menu) */
  /* Firkantet logo (PNG m. gennemsigtig baggrund): 1 = fuld boks */
  --logo-inner-scale: 1;
  --logo-radius: 12px;
  --logo-radius-landing: 16px;
  --bg: #f9f7f2;
  --bg-warm: #f3efe6;
  --panel: #fffcf7;
  --panel-soft: #f5f0e8;
  --text: #3d2b1f;
  --text-muted: #6b5344;
  --accent: #e86e25;
  --accent-strong: #f08636;
  --accent-soft: rgba(232, 110, 37, 0.14);
  --stroke: rgba(232, 110, 37, 0.35);
  --stroke-muted: rgba(61, 43, 31, 0.12);
  --radius: 18px;
  --shadow: 0 18px 40px rgba(61, 43, 31, 0.08);
  --shadow-strong: 0 20px 48px rgba(61, 43, 31, 0.12);
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  /* Samme “pille” for + og for − antal + */
  --menu-item-action-w: 7.5rem;
  --menu-item-action-h: 2.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  position: relative;
}

/* Fin papir/kalkeringstekstur */
.site-paper {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 60% at 50% -15%, rgba(232, 110, 37, 0.07), transparent 52%),
    linear-gradient(180deg, #fcfbf7 0%, var(--bg) 45%, #f2ebe0 100%);
}

.site-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.landing-page .landing-hero,
.menu-page > .menu-layout,
.menu-page.checkout-page > .checkout-layout {
  position: relative;
  z-index: 1;
}

.menu-page > .menu-header,
.menu-page.checkout-page > .menu-header {
  position: relative;
  z-index: 2;
}

a,
button {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-page {
  min-height: 100vh;
  padding-bottom: max(4rem, env(safe-area-inset-bottom));
}

.landing-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg-warm)
    url("../images/indian-ethnic-food-buffet-white-concrete-table-from-curry-samosa-rice-biryani-dal_1234738-367378-4205638135.jpeg")
    center / cover no-repeat;
}

/* Forside: ingen hvid “vask” over hero — fotoet må fylde; let mørk scrim til læsbarhed */
.landing-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 10, 8, 0.2) 0%,
    rgba(12, 10, 8, 0.58) 100%
  );
  backdrop-filter: none;
}

.landing-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: grid;
  gap: 1.15rem;
  padding: 1.4rem;
}

.landing-page .landing-logo {
  width: min(300px, 65vw);
  height: min(300px, 65vw);
  margin-inline: auto;
  border-radius: var(--logo-radius-landing);
  border: 0;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transform: scale(var(--logo-inner-scale));
  transform-origin: center center;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.35));
}

.landing-page .landing-address {
  margin: -0.35rem 0 0.35rem;
  font-size: clamp(0.82rem, 2vw, 0.98rem);
  letter-spacing: 0.02em;
  color: rgba(253, 249, 243, 0.9);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
  text-transform: none;
}

.cta-primary {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(217, 107, 31, 0.3);
  transition: transform 120ms ease, filter 120ms ease;
}

.cta-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.cta-secondary {
  display: inline-block;
  text-decoration: none;
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  text-align: center;
  color: var(--accent);
  background: var(--panel);
}

.cta-secondary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-soft);
  color: var(--text);
}

.menu-page {
  min-height: 100vh;
  background: transparent;
}

.menu-header {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
}

.menu-header-centered {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.menu-header-spacer {
  justify-self: start;
}

.menu-header-centered .brand-logo-link {
  justify-self: center;
  overflow: visible;
}

/* Hover på <a> skalerer ikke wrapper (undgår dobbelt-transform + mærkelig skygge); kun billedet reagerer. */
.menu-header-centered .brand-logo-link:hover,
.menu-header-centered .brand-logo-link:focus-visible {
  transform: none;
  filter: none;
}

.menu-header-centered .brand-logo-link:hover .header-brand-logo,
.menu-header-centered .brand-logo-link:focus-visible .header-brand-logo {
  transform: translateY(0.55rem)
    scale(calc(var(--logo-inner-scale) * var(--logo-header-scale) * 1.02));
  filter: brightness(1.05);
}

.menu-header-centered .lang-switch {
  justify-self: end;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--logo-radius);
  border: 0;
  box-shadow: none;
  overflow: hidden;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  transition: transform 120ms ease, filter 120ms ease;
}

.brand-logo-link:hover,
.brand-logo-link:focus-visible {
  transform: scale(1.03);
  filter: brightness(1.06);
}

.brand-logo-link:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.header-brand-logo {
  display: block;
  width: min(76px, 22vw);
  height: min(76px, 22vw);
  object-fit: contain;
  object-position: center;
  border-radius: var(--logo-radius);
  background: transparent;
  transform: scale(var(--logo-inner-scale));
  transform-origin: center center;
}

/* Større logo i menu/checkout-header: layout højde uændret (skala + bund som ankre). */
.menu-header-centered .header-brand-logo {
  /* Tre gange 2 % mindre end oprindelige 1.38 */
  --logo-header-scale: calc(1.38 * 0.98 * 0.98 * 0.98);
  transform: translateY(0.55rem)
    scale(calc(var(--logo-inner-scale) * var(--logo-header-scale)));
  transform-origin: center bottom;
  transition: transform 120ms ease, filter 120ms ease;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch button {
  background: var(--panel-soft);
  border: 0;
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.lang-switch button.is-active {
  background: var(--accent);
  color: #fff;
}

.menu-layout {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  display: grid;
  gap: 1rem;
  padding: 0.25rem;
  border: 2px solid var(--stroke);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 252, 247, 0.65);
  box-shadow: var(--shadow);
}

.menu-layout-tabstrip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  align-items: flex-end;
  padding: 0.55rem 0.55rem 0;
  margin: 0 0 -1px;
  border-bottom: 2px solid var(--stroke);
}

.menu-layout-tab {
  appearance: none;
  margin: 0;
  font: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem 0.62rem;
  border: 2px solid transparent;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: rgba(255, 252, 247, 0.5);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.menu-layout-tab:hover {
  color: var(--accent);
  background: rgba(255, 252, 247, 0.88);
}

.menu-layout-tab[aria-selected="true"] {
  background: var(--panel);
  color: var(--text);
  border-color: var(--stroke-muted);
  border-bottom-color: var(--panel);
  margin-bottom: -2px;
  padding-bottom: calc(0.62rem + 2px);
  position: relative;
  z-index: 2;
  box-shadow: 0 -4px 14px rgba(61, 43, 31, 0.05);
}

.menu-layout-tab:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.menu-tab-panel--about .about-panel-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-style: italic;
  color: var(--text);
}

.about-panel-text {
  margin: 0 0 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.about-panel-address {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(232, 110, 37, 0.28);
  font-size: 0.95rem;
  color: var(--text);
}

.about-panel-address strong {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
}

/* Om os: slideshow — hele billedet synligt (især på mobil) */
.about-gallery-slideshow {
  margin: 1.25rem 0 0;
  touch-action: pan-y pinch-zoom;
}

.about-gallery-viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: var(--panel-soft);
  box-shadow: 0 6px 20px rgba(61, 43, 31, 0.07);
}

.about-gallery-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.38s ease;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .about-gallery-track {
    transition: none;
  }
}

.about-gallery-slide {
  flex: 0 0 100%;
  flex-shrink: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.about-gallery-frame {
  margin: 0;
  padding: 0.5rem 0.65rem 0.65rem;
}

.about-gallery-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 28rem);
  object-fit: contain;
  margin: 0 auto;
  border-radius: 10px;
}

.about-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}

.about-gallery-nav {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.about-gallery-nav:hover {
  background: var(--panel-soft);
  border-color: var(--accent-soft);
}

.about-gallery-nav:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.about-gallery-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
}

.about-gallery-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--stroke-muted);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.about-gallery-dot:hover {
  background: var(--stroke);
}

.about-gallery-dot.is-active {
  background: var(--accent-strong);
  transform: scale(1.25);
}

.about-gallery-dot:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .about-gallery-frame img {
    max-height: min(70vh, 34rem);
  }
}

.menu-tab-panel--map .map-panel-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-style: italic;
  color: var(--text);
}

.map-panel-lead {
  margin: 0 0 1rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.map-embed-wrap {
  position: relative;
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 1px solid var(--stroke-muted);
  box-shadow: 0 8px 24px rgba(61, 43, 31, 0.08);
  aspect-ratio: 16 / 10;
  min-height: 220px;
  background: var(--panel-soft);
}

.map-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
}

.map-open-maps {
  margin-top: 1rem;
  box-sizing: border-box;
}

.category-sidebar,
.menu-panel,
.cart-panel {
  background: var(--panel);
  border: 1px solid var(--stroke-muted);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(61, 43, 31, 0.06);
}

.category-sidebar {
  padding: 1rem 0.75rem;
  display: none;
  height: fit-content;
}

.category-sidebar h2 {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.category-sidebar-nav {
  display: grid;
  gap: 0.35rem;
}

.category-sidebar-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  border-left: 2px solid transparent;
  padding: 0.2rem 0.45rem;
  transition: color 120ms ease, border-color 120ms ease;
}

.category-sidebar-link:hover,
.category-sidebar-link.is-active {
  color: var(--accent);
  border-left-color: var(--accent-strong);
}

.menu-panel {
  padding: 1.1rem;
  min-width: 0;
}

.menu-panel h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.menu-subtitle {
  margin: 0.35rem 0 0.9rem;
  color: var(--text-muted);
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.category-nav a {
  text-decoration: none;
  border: 1px solid var(--stroke-muted);
  border-radius: 999px;
  padding: 0.33rem 0.65rem;
  background: var(--panel-soft);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.category-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-outline-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  margin: 0;
  border: 2px solid var(--stroke-muted);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffefb, var(--panel-soft));
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.menu-outline-toggle:hover,
.menu-outline-toggle:focus-visible {
  border-color: var(--accent-strong);
  color: var(--accent);
}

.menu-outline-toggle:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  width: 1.15rem;
}

.hamburger-line {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}

.menu-outline-backdrop {
  display: none;
}

.menu-sections {
  display: grid;
  gap: 0.9rem;
}

.menu-category {
  border: 1px solid var(--stroke-muted);
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.9);
  padding: 0.8rem;
}

.menu-category h2 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.menu-item {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem 0;
  border-top: 1px dashed rgba(232, 110, 37, 0.28);
}

.menu-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
}

.item-name {
  font-weight: 700;
}

.item-price {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.item-description {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.item-action-row {
  display: flex;
  justify-content: flex-end;
}

.add-btn {
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  background: var(--panel);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.add-btn--icon {
  width: var(--menu-item-action-w);
  min-width: var(--menu-item-action-w);
  max-width: var(--menu-item-action-w);
  height: var(--menu-item-action-h);
  min-height: var(--menu-item-action-h);
  padding: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.add-btn:hover {
  background: var(--accent);
  color: #fff;
}

.menu-item-qty {
  display: grid;
  grid-template-columns: 2.35rem minmax(1.35rem, 1fr) 2.35rem;
  align-items: stretch;
  width: var(--menu-item-action-w);
  min-width: var(--menu-item-action-w);
  max-width: var(--menu-item-action-w);
  height: var(--menu-item-action-h);
  min-height: var(--menu-item-action-h);
  box-sizing: border-box;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--panel);
  overflow: hidden;
}

.menu-qty-btn {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.12s ease,
    color 0.12s ease;
}

.menu-qty-btn:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.menu-qty-value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 0.1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.cart-floating {
  display: contents;
}

.cart-backdrop {
  display: none;
}

.cart-moon-toggle {
  display: none;
}

.cart-panel {
  padding: 1rem;
  height: fit-content;
}

.cart-panel-content h2 {
  margin: 0 0 0.8rem;
}

.cart-items {
  display: grid;
  gap: 0.65rem;
}

.cart-empty {
  color: var(--text-muted);
  border: 1px dashed var(--stroke);
  border-radius: 12px;
  padding: 0.8rem;
  background: var(--panel-soft);
}

.cart-item {
  border: 1px solid var(--stroke-muted);
  border-radius: 12px;
  padding: 0.65rem;
  background: var(--panel-soft);
}

.cart-item-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.4rem;
}

.cart-item-head strong {
  min-width: 0;
  flex: 1 1 8rem;
}

.cart-item-head > span {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.cart-item-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.qty-btn,
.remove-btn {
  border: 1px solid var(--stroke-muted);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  padding: 0.2rem 0.52rem;
  cursor: pointer;
}

.qty-btn:hover,
.remove-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.remove-btn {
  margin-left: auto;
}

.cart-summary {
  margin-top: 0.95rem;
  border-top: 1px solid var(--stroke);
  padding-top: 0.75rem;
  display: grid;
  gap: 0.4rem;
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
}

.cart-summary > div > span {
  min-width: 0;
}

.cart-summary > div > strong {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* Moms er en opdeling af totalen — vises sekundært */
.cart-summary__vat {
  font-size: 0.82em;
  color: var(--text-muted);
  line-height: 1.35;
}

.cart-summary__vat strong {
  font-weight: 500;
  color: inherit;
}

.cart-cta-group {
  display: grid;
  gap: 0.65rem;
}

.opening-hours {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stroke-muted);
}

.opening-hours-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.opening-status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.opening-status-dot--open {
  background: #1f9d55;
  box-shadow: 0 0 0 2px rgba(31, 157, 85, 0.25);
}

.opening-status-dot--closed {
  background: #c62828;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.22);
}

.opening-status-text {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.opening-hours-heading {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.opening-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.38rem;
  font-size: 0.86rem;
}

.opening-hours-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.5rem 0.65rem;
}

.opening-hours-day {
  color: var(--text-muted);
  min-width: 0;
}

.opening-hours-time {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.full-width {
  width: 100%;
  text-align: center;
  margin-top: 0.9rem;
}

.checkout-layout {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  display: grid;
  gap: 1rem;
  padding: 0.25rem;
  border: 2px solid var(--stroke);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(255, 252, 247, 0.65);
  box-shadow: var(--shadow);
}

/* Mobil: ordreoversigt over «kommer snart»-blokken (desktop: uændret kolonneorden) */
@media (max-width: 899px) {
  .menu-page.checkout-page .checkout-layout .cart-panel {
    order: -1;
  }
}

.checkout-panel {
  background: var(--panel);
  border: 1px solid var(--stroke-muted);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(61, 43, 31, 0.06);
  padding: 1.1rem;
}

.checkout-phone-cta {
  margin: 0.35rem 0 1.35rem;
  display: grid;
  gap: 0.9rem;
}

.checkout-phone-notice {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
}

.checkout-phone-btn {
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.checkout-disabled-preview {
  position: relative;
  margin-top: 0.15rem;
}

.checkout-disabled-badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(61, 43, 31, 0.08);
  border: 1px solid var(--stroke-muted);
  border-radius: 6px;
}

.checkout-disabled-inner {
  border: 1px dashed var(--stroke-muted);
  border-radius: calc(var(--radius) + 2px);
  padding: 1rem 1rem 1.15rem;
  background: rgba(61, 43, 31, 0.03);
}

.checkout-preview-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.checkout-disabled-preview .checkout-preview-fieldset {
  opacity: 0.5;
  filter: grayscale(0.35);
}

body.checkout-mode-test .checkout-disabled-preview .checkout-preview-fieldset {
  opacity: 1;
  filter: none;
}

body.checkout-mode-test .checkout-disabled-inner {
  border-style: solid;
  background: var(--panel);
}

.checkout-pay-disabled-mock .flatpay-input {
  cursor: default;
  color: #666;
  background: #f5f5f5;
}

.checkout-form {
  display: grid;
  gap: 0.8rem;
}

.checkout-form label {
  display: grid;
  gap: 0.35rem;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--stroke-muted);
  border-radius: 10px;
  color: var(--text);
  padding: 0.65rem;
}

.checkout-form input:focus-visible,
.checkout-form textarea:focus-visible {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.checkout-result {
  margin-top: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* Flatpay-inspireret skitse (hvid/minimal – matcher deres checkout-look) */
.flatpay-sketch-label {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.flatpay-mock {
  margin-top: 0.35rem;
  padding: 1.1rem 1rem 1rem;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  font-family: var(--font-sans);
  color: #000;
}

.flatpay-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.flatpay-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
}

.flatpay-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flatpay-brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #000;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  background: #fff;
  white-space: nowrap;
}

.flatpay-mock-rule {
  height: 1px;
  margin: 0.85rem 0 1rem;
  background: #e8e8e8;
}

.flatpay-mock-fields {
  display: grid;
  gap: 1rem;
}

.flatpay-field {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.flatpay-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.flatpay-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #000;
}

.flatpay-input {
  width: 100%;
  padding: 0.62rem 0.65rem;
  font: inherit;
  font-size: 0.95rem;
  color: #000;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
}

.flatpay-input::placeholder {
  color: #9a9a9a;
}

.flatpay-input:focus-visible {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.flatpay-pay-btn {
  display: block;
  width: 100%;
  margin-top: 1.15rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: #000;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.12s ease;
}

.flatpay-pay-btn:hover:not(:disabled) {
  opacity: 0.92;
}

.flatpay-pay-btn:active:not(:disabled) {
  transform: scale(0.99);
}

.flatpay-pay-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.flatpay-mock-footer {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  color: #888;
  text-align: center;
}

.checkout-pay-simplified .checkout-pay-lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
  color: #333;
}

.checkout-pay-simplified .flatpay-pay-btn {
  margin-top: 0;
}

@media (max-width: 420px) {
  .flatpay-field-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .menu-layout {
    grid-template-columns: 260px minmax(0, 1fr) 260px;
    align-items: start;
  }

  .menu-layout--about .category-sidebar {
    display: none !important;
  }

  .menu-layout--about .menu-panel {
    grid-column: 1 / 3;
  }

  .category-sidebar {
    display: block;
    position: sticky;
    top: 1rem;
    border-left: 2px solid var(--stroke);
    border-right: 2px solid var(--stroke);
  }

  .menu-panel {
    border-left: 2px solid var(--stroke);
    border-right: 2px solid var(--stroke);
  }

  .category-nav {
    display: none;
  }

  .cart-panel {
    position: sticky;
    top: 1rem;
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }

  .checkout-panel {
    border-right: 2px solid var(--stroke);
  }
}

/* Mobil: halvmåne-knap til højre + skuffe-kurv (kun .cart-floating — checkout .cart-panel upåvirket) */
@media (max-width: 899px) {
  #menu-layout.menu-layout {
    --floating-chrome-top: max(0.35rem, calc(env(safe-area-inset-top) + 5rem));
  }

  .menu-outline-toggle {
    display: inline-flex;
    position: fixed;
    left: max(0px, env(safe-area-inset-left, 0px));
    top: var(--floating-chrome-top);
    z-index: 151;
    border: 2px solid var(--stroke);
    border-left: none;
    border-radius: 0 14px 14px 0;
    box-shadow: none;
  }

  .menu-layout:has(#panel-menu[hidden]) .menu-outline-toggle {
    display: none !important;
  }

  .menu-outline-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 175;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(61, 43, 31, 0.35);
    backdrop-filter: blur(2px);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-outline-backdrop[hidden] {
    display: none !important;
  }

  body.menu-outline-open {
    overflow: hidden;
  }

  .category-nav {
    display: none !important;
  }

  .category-sidebar {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(288px, 86vw);
    max-width: 288px;
    height: auto;
    margin: 0;
    padding: max(0.85rem, env(safe-area-inset-top)) 0.85rem max(1rem, env(safe-area-inset-bottom)) 0.85rem;
    z-index: 180;
    border-radius: 0 var(--radius) var(--radius) 0;
    border: 1px solid var(--stroke-muted);
    border-left: none;
    box-shadow: 8px 0 36px rgba(61, 43, 31, 0.14);
    transform: translateX(-102%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .menu-layout.menu-outline-open .category-sidebar {
    transform: translateX(0);
  }

  .cart-floating {
    display: block;
    position: relative;
    --cart-moon-w: clamp(44px, 12vw, 52px);
    --cart-mobile-top: var(--floating-chrome-top);
  }

  .cart-floating > .cart-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(61, 43, 31, 0.35);
    backdrop-filter: blur(2px);
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .cart-floating > .cart-backdrop[hidden] {
    display: none !important;
  }

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

  .cart-floating .cart-panel {
    position: fixed;
    top: var(--cart-mobile-top);
    right: 0;
    transform: none;
    z-index: 150;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: auto;
    height: auto;
    max-height: none;
    padding: 0;
    margin: 0;
    border-radius: var(--radius) 0 0 var(--radius);
    border: none;
    overflow: visible;
    /* Ingen skygge/ramme på wrapper når kun halvmåne vises — undgår grå “halo” uden om knappen */
    box-shadow: none;
    background: transparent;
  }

  .cart-floating .cart-panel.is-open {
    max-height: calc(100dvh - var(--cart-mobile-top) - max(0.75rem, env(safe-area-inset-bottom)) - 0.75rem);
    align-items: stretch;
    background: var(--panel);
    box-shadow: -12px 0 40px rgba(61, 43, 31, 0.15);
    border: 1px solid var(--stroke-muted);
    border-right: none;
    /* Hele skuffen må ikke brede sig ud over viewport (undgår afklippet højre kant / DKK / lukketid) */
    max-width: 100vw;
    box-sizing: border-box;
  }

  .cart-floating .cart-moon-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    order: 2;
    flex: 0 0 var(--cart-moon-w);
    width: var(--cart-moon-w);
    min-height: 0;
    margin: 0;
    padding: 0.42rem 0.12rem 0.42rem 0.22rem;
    border: 2px solid var(--stroke);
    border-right: none;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(180deg, #fffefb, var(--panel-soft));
    color: var(--text);
    cursor: pointer;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    align-self: flex-start;
  }

  .cart-floating .cart-panel.is-open .cart-moon-toggle {
    align-self: stretch;
  }

  .cart-floating .cart-moon-toggle:hover,
  .cart-floating .cart-moon-toggle:focus-visible {
    border-color: var(--accent-strong);
    color: var(--accent);
  }

  .cart-floating .cart-moon-toggle__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
  }

  .cart-floating .cart-moon-icon {
    font-size: 1.15rem;
    line-height: 1;
    filter: none;
  }

  .cart-floating .cart-moon-count {
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 1.25rem;
    padding: 0.1rem 0.22rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    line-height: 1.1;
    text-align: center;
  }

  .cart-floating .cart-moon-count:empty,
  .cart-floating .cart-moon-count[data-zero="1"] {
    background: var(--panel-soft);
    color: var(--text-muted);
    border: 1px solid var(--stroke-muted);
  }

  .cart-floating .cart-panel-content {
    order: 1;
    /* Fylder resten af skuffen efter halvmåne; min-width:0 så indhold kan krympe uden at skubbe ud af skærmen */
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
    padding: 1rem 0.85rem 1rem 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition:
      flex-basis 0.28s ease,
      max-width 0.28s ease,
      opacity 0.22s ease,
      padding 0.22s ease;
    min-height: 0;
  }

  .cart-floating .cart-panel:not(.is-open) .cart-panel-content {
    flex-basis: 0;
    max-width: 0;
    max-height: 0;
    padding-left: 0;
    padding-right: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .cart-floating .cart-panel.is-open .cart-panel-content {
    max-height: calc(100dvh - var(--cart-mobile-top) - max(0.75rem, env(safe-area-inset-bottom)) - 0.75rem);
    opacity: 1;
    border-right: 1px solid var(--stroke-muted);
  }

  .menu-layout {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-floating .cart-panel-content {
    transition: none;
  }
}

@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .category-sidebar {
    transition: none;
  }
}

/* —— Privatlivsside —— */
.legal-page .legal-header,
.legal-page .legal-main,
.legal-page .site-footer {
  position: relative;
  z-index: 1;
}

.legal-header {
  padding: 1rem 1rem 0;
  display: flex;
  justify-content: center;
}

.legal-main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2.5rem;
}

.legal-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
  color: var(--text);
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.legal-article h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.75rem 0 0.65rem;
  color: var(--text);
}

.legal-article p,
.legal-article li {
  line-height: 1.55;
  color: var(--text);
}

.legal-article ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-article a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.legal-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stroke-muted);
}

/* —— Footer + cookie-banner —— */
.landing-page .site-footer--landing {
  position: relative;
  z-index: 1;
}

.site-footer {
  text-align: center;
  padding: 1rem 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.site-footer-legal {
  margin: 0 0 0.35rem;
  line-height: 1.45;
}

.site-footer-links {
  margin: 0;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 2px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-left));
  padding-left: max(0.75rem, env(safe-area-inset-left));
  pointer-events: none;
}

.cookie-banner-inner {
  pointer-events: auto;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0.85rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--stroke-muted);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
}

.cookie-banner-text {
  margin: 0;
  flex: 1 1 16rem;
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text);
}

.cookie-banner-text a {
  color: var(--accent);
  font-weight: 600;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  -webkit-tap-highlight-color: transparent;
}

.cookie-btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-strong);
}

.cookie-btn--primary:hover,
.cookie-btn--primary:focus-visible {
  background: var(--accent-strong);
}

.cookie-btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--stroke-muted);
}

.cookie-btn--secondary:hover,
.cookie-btn--secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-page .menu-layout {
  padding-bottom: max(5rem, env(safe-area-inset-bottom));
}

.menu-page.checkout-page .checkout-layout {
  padding-bottom: max(5rem, env(safe-area-inset-bottom));
}
