/* =========================================================
   Bella Vista – kundeshop
   Design: varm cream-baggrund, terracotta-accent, Fraunces + Inter
   ========================================================= */
:root {
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --line: #e7e1d8;
  --paper: #faf7f2;
  --card: #ffffff;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --accent-soft: #fef0e7;
  --green: #166534;
  --green-soft: #ecfdf3;
  --gold: #b8860b;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .06), 0 1px 3px rgba(28, 25, 23, .05);
  --shadow: 0 10px 30px rgba(28, 25, 23, .09), 0 2px 6px rgba(28, 25, 23, .05);
  --shadow-lg: 0 30px 70px rgba(28, 25, 23, .18);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 .8em; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.hide-sm { display: inline; }

/* ------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px;
  padding: 12px 22px; font-weight: 600; font-size: 14.5px;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(28,25,23,.16); }
.btn-primary:hover { background: var(--accent); box-shadow: 0 8px 22px rgba(194,65,12,.28); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: #00000008; }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 26px; font-size: 15.5px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 247, 242, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(28,25,23,.05); }
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 19px; letter-spacing: -.01em; }
.brand-text small { color: var(--muted); font-size: 11.5px; letter-spacing: .02em; }
.main-nav { display: flex; gap: 6px; margin-left: 10px; }
.main-nav a {
  padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: #00000008; color: var(--ink); }
.main-nav a.is-active { background: var(--ink); color: #fff; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 9px 14px; font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--ink-soft);
  transition: border-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: var(--ink); color: #fff; border-radius: 999px;
  padding: 11px 18px; font-weight: 600; font-size: 14px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(28,25,23,.18); transition: background .15s, transform .15s;
}
.cart-btn:hover { background: var(--accent); }
.cart-btn:active { transform: scale(.97); }
.cart-count {
  background: var(--accent); color: #fff; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; font-size: 11.5px; font-weight: 700; display: grid; place-items: center;
  position: absolute; top: -6px; left: 26px; transition: transform .2s;
}
.cart-count.is-bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.user-menu { position: relative; }
.user-toggle { padding: 5px 12px 5px 5px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: 13px;
}
.user-name { font-size: 13.5px; font-weight: 600; }
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 8px; display: none; z-index: 60;
}
.user-menu.is-open .user-dropdown { display: block; animation: pop .15s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } }
.user-dropdown-head { padding: 10px 12px; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-dropdown-head small { color: var(--muted); font-size: 12px; }
.user-dropdown a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 14px; }
.user-dropdown a:hover { background: var(--paper); }
.user-dropdown a.logout { color: #b91c1c; }
.mobile-nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 12px;
  width: 40px; height: 40px; font-size: 17px; cursor: pointer;
}

/* ------------------------------------------------------ flash / toast */
.flash-wrap { width: min(1180px, 100% - 40px); margin: 16px auto 0; display: grid; gap: 8px; }
.flash {
  padding: 13px 16px; border-radius: 12px; font-size: 14px; font-weight: 500;
  border: 1px solid transparent; animation: pop .2s ease;
}
.flash-success { background: var(--green-soft); color: var(--green); border-color: #bbf7d0; }
.flash-error { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.flash-info { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 30px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  display: flex; align-items: center; gap: 8px;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------ hero */
.hero { padding: 18px 0 8px; }
.hero-inner {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 470px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-lg);
  background: #241c17;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); animation: heroZoom 18s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.09); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,10,.15) 0%, rgba(20,14,10,.45) 55%, rgba(20,14,10,.82) 100%);
}
.hero-content { position: relative; padding: 48px; max-width: 640px; color: #fff; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #ffd9bd;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 13px; border-radius: 999px; margin-bottom: 18px;
  backdrop-filter: blur(6px);
}
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); color: #fff; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: #ffc59e; }
.hero p { color: rgba(255,255,255,.82); font-size: 16px; margin: 16px 0 26px; max-width: 480px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-cta .btn-outline { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(6px); }
.hero-cta .btn-outline:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.hero-stats {
  position: absolute; right: 40px; bottom: 40px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
}
.hero-stat {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff;
  padding: 12px 16px; border-radius: 16px; backdrop-filter: blur(10px); min-width: 118px;
}
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 20px; }
.hero-stat span { font-size: 11.5px; color: rgba(255,255,255,.7); }

/* ------------------------------------------------------ sektionsvarsler */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 52px 0 22px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.section-head p { color: var(--muted); margin: 6px 0 0; font-size: 14.5px; }
.section-head a { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ------------------------------------------------------ kategori-kort */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / .95;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.22,.68,0,1), box-shadow .25s;
  isolation: isolate;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(18,12,8,.78) 100%);
}
.category-card-body { padding: 18px; }
.category-card h3 { font-size: 21px; color: #fff; }
.category-card span { font-size: 12.5px; color: rgba(255,255,255,.78); }
.category-pill {
  position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
}

/* ------------------------------------------------------ sticky kategori-bar */
.cat-bar-wrap { position: sticky; top: calc(var(--header-h) + 10px); z-index: 30; padding: 10px 0 6px; }
.cat-bar {
  display: flex; gap: 8px; overflow-x: auto; padding: 8px; scrollbar-width: none;
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-bar a {
  padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; white-space: nowrap;
  color: var(--ink-soft); transition: background .15s, color .15s;
}
.cat-bar a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.cat-bar a.is-active { background: var(--ink); color: #fff; }

/* ------------------------------------------------------ menu-sektion */
.menu-section { padding: 34px 0 10px; scroll-margin-top: 150px; }
.menu-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.menu-section-head img { width: 52px; height: 52px; border-radius: 16px; object-fit: cover; box-shadow: var(--shadow-sm); }
.menu-section-head h2 { font-size: clamp(23px, 2.6vw, 30px); }
.menu-section-head p { color: var(--muted); font-size: 13.5px; margin: 2px 0 0; }
.menu-section-head .count { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.item-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.item-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s cubic-bezier(.22,.68,0,1), box-shadow .25s, border-color .25s;
}
.item-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #ddd5c9; }
.item-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: #eee7dc; cursor: pointer; }
.item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.item-card:hover .item-media img { transform: scale(1.055); }
.item-tag {
  position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.94); color: var(--ink);
  font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 999px; letter-spacing: .02em;
}
.item-tag.addon-tag { background: rgba(28,25,23,.85); color: #fff; left: auto; right: 12px; }
.item-body { padding: 16px 17px 17px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.item-body h3 { font-size: 19px; }
.item-body p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 0; flex: 1; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.item-price { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.add-btn {
  display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent-dark);
  border: 1px solid #fbd9c2; border-radius: 999px; padding: 9px 15px; font-weight: 700; font-size: 13.5px;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.add-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ------------------------------------------------------ item modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20,15,11,.55); backdrop-filter: blur(4px);
  z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.is-open { display: flex; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } }
.modal {
  background: #fff; border-radius: 26px; width: min(620px, 100%); max-height: 92vh; overflow: auto;
  box-shadow: var(--shadow-lg); animation: modalIn .24s cubic-bezier(.22,.68,0,1);
  position: relative;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.modal-hero { aspect-ratio: 16 / 8.5; overflow: hidden; position: relative; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.94); font-size: 15px; cursor: pointer; z-index: 3;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.modal-body { padding: 22px 24px 24px; }
.modal-body h2 { font-size: 26px; }
.modal-body .desc { color: var(--muted); font-size: 14px; margin: 8px 0 18px; }
.addon-title { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.addon-title strong { font-size: 14px; }
.addon-title span { font-size: 12px; color: var(--muted); }
.addon-list { display: grid; gap: 8px; margin-bottom: 18px; }
.addon-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line);
  border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; user-select: none;
}
.addon-row:hover { border-color: #cfc5b8; background: #fcfaf7; }
.addon-row:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.addon-row input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; flex-shrink: 0; }
.addon-row .addon-name { font-size: 14px; font-weight: 500; flex: 1; }
.addon-row .addon-price { font-size: 13.5px; font-weight: 700; color: var(--accent-dark); }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-control button { width: 40px; height: 40px; border: 0; background: #fff; font-size: 17px; cursor: pointer; color: var(--ink); }
.qty-control button:hover { background: var(--paper); }
.qty-control span { min-width: 38px; text-align: center; font-weight: 700; font-size: 15px; }
.modal-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.modal-price { font-family: var(--font-display); font-size: 23px; font-weight: 700; }
.empty-note { background: var(--paper); border: 1px dashed var(--line); border-radius: 14px; padding: 16px; color: var(--muted); font-size: 13.5px; text-align: center; }

/* ------------------------------------------------------ kurv-drawer */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(20,15,11,.5); backdrop-filter: blur(3px);
  z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: #fff;
  z-index: 95; box-shadow: -20px 0 60px rgba(20,15,11,.18);
  transform: translateX(102%); transition: transform .32s cubic-bezier(.22,.68,0,1);
  display: flex; flex-direction: column;
}
.cart-drawer.is-open { transform: none; }
.drawer-head { padding: 20px 22px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 21px; }
.drawer-head .muted { font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.icon-only { border: 0; background: var(--paper); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 13px; }
.icon-only:hover { background: #eee7dc; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 22px; }
.drawer-empty { text-align: center; color: var(--muted); font-size: 14px; padding: 50px 10px; }
.drawer-empty .emoji { font-size: 34px; display: block; margin-bottom: 10px; }
.cart-line { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.cart-line-main { flex: 1; min-width: 0; }
.cart-line-main h4 { font-family: var(--font-body); font-size: 14px; font-weight: 600; }
.cart-line-addons { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cart-line-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.qty-mini { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty-mini button { border: 0; background: none; width: 27px; height: 27px; cursor: pointer; font-size: 14px; color: var(--ink-soft); }
.qty-mini span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 700; }
.cart-line-price { font-size: 13.5px; font-weight: 700; }
.cart-line-remove { border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; padding: 0; }
.cart-line-remove:hover { color: #b91c1c; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 22px 20px; background: #fff; }
.drawer-total { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 6px; }
.drawer-total strong { font-family: var(--font-display); font-size: 21px; }

/* ------------------------------------------------------ info-bånd */
.usp-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 46px 0 10px; }
.usp {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  display: flex; gap: 13px; align-items: flex-start;
}
.usp .ico { font-size: 22px; line-height: 1; }
.usp strong { display: block; font-size: 14px; }
.usp span { font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------ footer */
.site-footer { margin-top: 70px; background: #191512; color: #e9e2d8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 34px; padding: 50px 0 30px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.footer-grid .muted { color: #a8a29a; font-size: 13.5px; }
.brand-footer .brand-mark { background: var(--accent); }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: #a8a29a; }
.brand-footer { margin-bottom: 14px; }
.footer-link { color: #e9e2d8; font-size: 13.5px; border-bottom: 1px solid #4a423a; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid #2c2620; padding: 18px 0 26px; color: #8b857d; font-size: 12.5px;
}

/* ------------------------------------------------------ checkout: valgkort (levering/afhentning + betaling) */
.type-card, .pay-card {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px 16px 20px; border: 1px solid var(--line); border-radius: 16px;
  background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
  position: relative; min-height: 78px;
}
.type-card::before, .pay-card::before { display: none; }
.type-card .opt-icon, .pay-card .opt-icon {
  width: 44px; height: 44px; border-radius: 13px; background: var(--paper);
  display: grid; place-items: center; font-size: 21px; flex-shrink: 0;
  border: 1px solid var(--line); transition: background .15s, border-color .15s;
}
.type-card .opt-body, .pay-card .opt-body { display: flex; flex-direction: column; gap: 3px; text-align: left; min-width: 0; }
.type-card .opt-body strong, .pay-card .opt-body strong { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.type-card .opt-body small, .pay-card .opt-body small { font-size: 12.5px; color: var(--muted); font-weight: 400; line-height: 1.45; }

.type-option input:checked + .type-card,
.payment-option input:checked + .pay-card {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(194,65,12,.09), 0 6px 18px rgba(194,65,12,.08);
}
.type-option input:checked + .type-card .opt-icon,
.payment-option input:checked + .pay-card .opt-icon { background: #fff; border-color: #f3c9ae; }

/* flueben i stedet for radio når kortet er valgt */
.type-card::after, .pay-card::after {
  content: '✓'; position: absolute; top: 12px; right: 12px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800;
  display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: all .16s ease;
}
.type-option input:checked + .type-card::after,
.payment-option input:checked + .pay-card::after { opacity: 1; transform: scale(1); }

.type-option input:focus-visible + .type-card,
.payment-option input:focus-visible + .pay-card { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ryd de gamle pseudo-radioer */
.type-option span:not(.type-card):not(.opt-icon):not(.opt-body)::before,
.payment-option span:not(.pay-card):not(.opt-icon):not(.opt-body)::before { content: none; }

/* ------------------------------------------------------ checkout */
.checkout-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; padding: 14px 0 30px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 22px; margin-bottom: 4px; }
.panel .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 14.5px; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194,65,12,.12);
}
.field textarea { resize: vertical; min-height: 78px; }
.type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.type-option { position: relative; }
.type-option input { position: absolute; opacity: 0; }

.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; }
.summary-line.addons { font-size: 12.5px; color: var(--muted); padding: 0 0 9px 0; }
.summary-item-name { display: flex; gap: 10px; }
.summary-item-name b { font-weight: 600; }
.divider { height: 1px; background: var(--line); margin: 12px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; }
.summary-total strong { font-family: var(--font-display); font-size: 27px; }
.payment-list { display: grid; gap: 8px; margin: 10px 0 18px; }
.payment-option { position: relative; }
.payment-option input { position: absolute; opacity: 0; }

.sticky-summary { position: sticky; top: 96px; }
.step-badge { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; margin-right: 8px; }

/* ------------------------------------------------------ success */
.success-wrap { max-width: 660px; margin: 40px auto 20px; text-align: center; }
.success-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; font-size: 38px; margin: 0 auto 22px; animation: pop .4s ease; }
.success-wrap h1 { font-size: clamp(30px, 4vw, 44px); }
.success-wrap > p { color: var(--muted); margin: 12px 0 26px; }
.order-receipt { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-sm); }
.receipt-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.receipt-head strong { font-family: var(--font-display); font-size: 20px; }
.order-no { font-family: var(--font-body); font-size: 12.5px; color: var(--muted); }
.track-steps { display: flex; gap: 4px; margin: 20px 0 8px; }
.track-step { flex: 1; text-align: center; font-size: 10.5px; color: var(--muted); position: relative; }
.track-step::before { content: ''; display: block; height: 5px; border-radius: 999px; background: var(--line); margin-bottom: 7px; }
.track-step.done::before { background: var(--green); }
.track-step.current::before { background: var(--accent); }

/* ------------------------------------------------------ auth */
.auth-wrap { max-width: 460px; margin: 44px auto 30px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 29px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.auth-switch a { color: var(--accent); font-weight: 600; }
.guest-hint { margin-top: 16px; padding: 14px; background: var(--paper); border: 1px dashed var(--line); border-radius: 14px; font-size: 13px; color: var(--ink-soft); text-align: center; }
.guest-hint a { font-weight: 700; color: var(--accent); }

/* ------------------------------------------------------ mine ordrer */
.page-head { padding: 38px 0 18px; }
.page-head h1 { font-size: clamp(30px, 4vw, 42px); }
.page-head p { color: var(--muted); margin-top: 8px; }
.orders-list { display: grid; gap: 14px; padding-bottom: 20px; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; transition: box-shadow .2s; }
.order-card:hover { box-shadow: var(--shadow-sm); }
.order-card-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.order-card-head h3 { font-size: 18px; }
.order-card-head .muted { font-size: 12.5px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700;
  color: var(--badge, #666); background: color-mix(in srgb, var(--badge, #666) 12%, white);
  border: 1px solid color-mix(in srgb, var(--badge, #666) 25%, white);
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.order-items-mini { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.order-items-mini span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: 12.5px; }
.order-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.order-card-foot strong { font-family: var(--font-display); font-size: 19px; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state .emoji { font-size: 44px; }

/* ------------------------------------------------------ tracking */
.tracking { max-width: 720px; margin: 30px auto; }
.track-timeline { display: grid; gap: 0; margin: 22px 0 8px; }
.track-row { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.track-row::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.track-row:last-child::before { display: none; }
.track-dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line);
  display: grid; place-items: center; font-size: 14px; flex-shrink: 0; z-index: 1;
}
.track-row.done .track-dot { background: var(--green-soft); border-color: #86efac; }
.track-row.current .track-dot { background: var(--accent-soft); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(194,65,12,.1); }
.track-row strong { font-size: 14.5px; display: block; }
.track-row span { font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .item-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { display: none; }
  .checkout-layout { grid-template-columns: 1fr; }
  .sticky-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .usp-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 16px;
    flex-direction: column; box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .mobile-nav-toggle { display: grid; place-items: center; }
  .hero-inner { min-height: 420px; border-radius: 22px; }
  .hero-content { padding: 28px 22px; }
  .hero p { font-size: 14.5px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .item-grid { grid-template-columns: 1fr; }
  .cat-bar-wrap { top: calc(var(--header-h) + 4px); }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .modal { border-radius: 20px; }
  .modal-body { padding: 18px; }
  .brand-text small { display: none; }
  .section-head { padding: 36px 0 16px; flex-wrap: wrap; }
  .container { width: min(1180px, 100% - 28px); }
  .usp-band { grid-template-columns: 1fr 1fr; gap: 10px; }
  .usp { padding: 13px; }
  .usp .ico { font-size: 18px; }
}

/* ------------------------------------------------------ print (kvittering) */
@media print {
  .site-header, .site-footer, .cart-drawer, .drawer-overlay, .toast, .no-print { display: none !important; }
  body { background: #fff; }
  .panel, .order-receipt { box-shadow: none; border-color: #ddd; }
}

/* =========================================================
   Layout-styring fra admin: logo, åbningstider, smiley, sociale
   ========================================================= */
.brand-logo { height: 42px; width: auto; max-width: 180px; object-fit: contain; border-radius: 10px; }
.brand-logo-footer { height: 44px; margin-bottom: 4px; }

.footer-hours {
  margin: 14px 0 16px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,.045); border: 1px solid #2c2620; max-width: 320px;
}
.footer-hours-label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8b857d; margin-bottom: 4px; }
.footer-hours strong { display: block; color: #fff; font-size: 14.5px; }
.footer-hours small { display: block; color: #a8a29a; font-size: 12px; margin-top: 2px; }

.footer-social { display: flex; gap: 8px; margin-top: 4px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid #2c2620; color: #e9e2d8;
  transition: background .15s, color .15s, transform .15s, border-color .15s;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

.smiley-card {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,.045); border: 1px solid #2c2620; transition: border-color .15s, background .15s;
}
.smiley-card:hover { border-color: #4a423a; background: rgba(255,255,255,.08); }
.smiley-card strong { display: block; color: #fff; font-size: 13.5px; }
.smiley-card small { display: block; color: #a8a29a; font-size: 11.5px; }
.smiley-card svg { flex-shrink: 0; }

/* hero-badge uden emoji hvis tom */
.hero-eyebrow.is-plain { text-transform: none; letter-spacing: .04em; }

/* infobånd når levering er slået fra */
.usp-hidden { display: none !important; }

@media (max-width: 760px) {
  .brand-logo { height: 36px; }
  .footer-social a { width: 36px; height: 36px; }
}
