/* Bento Sushi — marketing shop (black + acrylic red, Japanese) */
:root,
[data-theme="dark"] {
  --bg: #050505;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #2a2a2a;
  --utility-bg: #0a0a0a;
  --header-bg: #0a0a0a;
  --primary: #e31837;
  --primary-bright: #ff2247;
  --primary-dark: #b8122c;
  --gold: #d4af37;
  --text: #f5f0e8;
  --text-muted: #a89e92;
  --vipps: #ff5b24;
  --radius: 12px;
  --max: 1280px;
  --sidebar: 220px;
  --img-bg: linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 100%);
  --img-filter: brightness(0.9) contrast(1.1) saturate(1.06);
  --img-scale: 1.14;
  --img-hover-scale: 1.2;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --body-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e31837' fill-opacity='0.03'%3E%3Cpath d='M30 0c16.569 0 30 13.431 30 30S46.569 60 30 60 0 46.569 0 30 13.431 0 30 0zm0 8c-12.15 0-22 9.85-22 22s9.85 22 22 22 22-9.85 22-22-9.85-22-22-22z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

[data-theme="light"] {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --border: #e8e8e8;
  --utility-bg: #ffffff;
  --header-bg: #ffffff;
  --primary: #d4143a;
  --primary-bright: #e31837;
  --primary-dark: #b8122c;
  --gold: #8b6914;
  --text: #222222;
  --text-muted: #666666;
  --vipps: #ff5b24;
  --img-bg: #ffffff;
  --img-filter: none;
  --img-scale: 1;
  --img-hover-scale: 1.04;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --body-pattern: none;
  --card-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  --sidebar-bg: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: var(--body-pattern);
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 11, 9, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.brand-text {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-text span { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover, .nav a.active { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(227, 24, 55, 0.35); }
.btn-primary:hover { background: var(--primary-bright); color: #fff; box-shadow: 0 6px 28px rgba(255, 34, 71, 0.45); }
.btn-gold { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-gold:hover { background: rgba(212, 175, 55, 0.1); color: var(--gold); }
.btn-vipps { background: var(--vipps); color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; min-height: 54px; }
.btn-block { width: 100%; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/hero.png') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,11,9,0.95) 0%, rgba(13,11,9,0.75) 45%, rgba(13,11,9,0.55) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 24px 24px, var(--gold) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 560px;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero h1 em { font-style: normal; color: var(--gold); }

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Sections ───────────────────────────────────────────────────────────── */
section { padding: 5rem 0; }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--primary);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* ── Feature cards ──────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.feature-card .icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Menu preview ───────────────────────────────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.menu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.menu-card:hover { border-color: var(--primary); }

.menu-card-img {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  object-fit: cover;
  width: 100%;
}
.menu-card-body { padding: 1rem; }
.menu-card h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.35rem; }
.menu-card .price { color: var(--gold); font-weight: 700; font-size: 0.95rem; }

/* ── Locations ──────────────────────────────────────────────────────────── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.location-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.location-card .addr { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.location-card .hours { font-size: 0.8rem; color: var(--gold); margin-bottom: 1rem; }
.location-card .open {
  display: inline-block;
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* ── Download CTA band ──────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cta-inner h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.cta-inner p { color: var(--text-muted); }

/* ── Download page ────────────────────────────────────────────────────────── */
/* ── PWA download (bestill) ─────────────────────────────────────────────── */
.pwa-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
}

.pwa-download h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.pwa-download .lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.55;
}

.qr-wrap {
  position: relative;
  display: inline-block;
  padding: 14px;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.qr-wrap .qr-img {
  display: block;
  width: 240px;
  height: 240px;
}

.qr-wrap .qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  padding: 5px;
  background: #fff;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 0 0 4px #fff;
}

.pwa-download .scan-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.pwa-download .btn { min-width: 240px; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.75rem; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--text); font-size: 0.9rem; margin-bottom: 0.5rem; text-decoration: none; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Page hero (inner pages) ──────────────────────────────────────────────── */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.page-hero p { color: var(--text-muted); }

/* ── Menu page (meny.html) ───────────────────────────────────────────────── */
.menu-page-body { padding-bottom: 88px; }

.menu-page {
  position: relative;
  padding: 2rem 0 4rem;
  min-height: calc(100vh - 72px);
}

.menu-page-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 85% 15%, rgba(198, 40, 40, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 35% at 10% 80%, rgba(212, 175, 55, 0.08), transparent 50%);
}

.menu-page-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.menu-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.menu-page-head h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.menu-page-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 420px;
}

.menu-head-cta {
  flex-shrink: 0;
  padding: 0.75rem 1.35rem;
  font-size: 0.9rem;
}

.menu-toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.menu-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  color: var(--text-muted);
  transition: border-color 0.2s;
}

.menu-search:focus-within {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--text);
}

.menu-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}

.menu-search input::placeholder { color: var(--text-muted); }

.menu-cats-wrap {
  margin: 0 -1rem;
  padding: 0 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.menu-cats-wrap::-webkit-scrollbar { display: none; }

.menu-cats {
  display: flex;
  gap: 0.5rem;
  width: max-content;
  min-width: 100%;
  padding-bottom: 2px;
}

.menu-cats button {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.menu-cats button:hover {
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--text);
}

.menu-cats button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.15s;
}

.filter-chip:hover { transform: translateY(-1px); }

.filter-chip.active.filter-vegan {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.45);
  color: #81c784;
}

.filter-chip.active.filter-spicy {
  background: rgba(255, 152, 0, 0.12);
  border-color: rgba(255, 152, 0, 0.45);
  color: #ffb74d;
}

.filter-chip.active.filter-gf {
  background: rgba(66, 165, 245, 0.12);
  border-color: rgba(66, 165, 245, 0.45);
  color: #64b5f6;
}

.filter-chip.active.filter-chef {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--gold);
}

.filter-chip.active.filter-daily {
  background: rgba(156, 39, 176, 0.12);
  border-color: rgba(156, 39, 176, 0.45);
  color: #ce93d8;
}

.filter-chip[hidden] { display: none; }

.menu-result-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.menu-cards {
  display: grid;
  gap: 0.65rem;
}

.menu-loading,
.menu-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
}

.menu-dish-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.menu-dish-card:hover {
  border-color: rgba(198, 40, 40, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.menu-dish-link {
  display: flex;
  color: inherit;
  text-decoration: none;
}

.menu-dish-link:hover { text-decoration: none; }

.menu-dish-thumb {
  width: 112px;
  flex-shrink: 0;
  background: var(--surface-2);
  align-self: stretch;
  min-height: 112px;
}

.menu-dish-thumb img {
  width: 100%;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
}

.menu-dish-placeholder {
  width: 100%;
  height: 100%;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--surface-2), #1a1510);
}

.menu-dish-placeholder img {
  width: 44px;
  height: 44px;
  min-height: auto;
  object-fit: contain;
  opacity: 0.55;
}

.menu-dish-body {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem 0.85rem 0;
  display: flex;
  flex-direction: column;
}

.menu-dish-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.menu-dish-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.dish-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
}

.dish-tag.tag-vegan {
  border-color: rgba(76, 175, 80, 0.35);
  color: #81c784;
}

.dish-tag.tag-spicy {
  border-color: rgba(255, 152, 0, 0.35);
  color: #ffb74d;
}

.dish-tag.tag-gf {
  border-color: rgba(66, 165, 245, 0.35);
  color: #64b5f6;
}

.dish-tag.tag-chef {
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--gold);
}

.dish-tag.tag-daily {
  border-color: rgba(156, 39, 176, 0.35);
  color: #ce93d8;
}

.menu-dish-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.menu-dish-title-row h3 {
  flex: 1;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.menu-dish-badges {
  display: flex;
  gap: 0.15rem;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.menu-dish-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-dish-ingredients {
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.4;
  font-style: italic;
  opacity: 0.85;
  margin-bottom: 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-dish-allergens {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.55rem;
}

.allergens-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.allergens-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.allergen-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  line-height: 1.2;
}

.allergen-name {
  color: var(--text-muted);
  font-size: 0.65rem;
}

.menu-dish-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.menu-dish-meta {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.menu-dish-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

.menu-dish-weight {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.menu-dish-add {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text);
  transition: background 0.15s;
}

.menu-dish-card:hover .menu-dish-add {
  background: var(--primary);
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 11, 9, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 1rem;
  text-align: center;
  z-index: 50;
}

.sticky-cta .btn {
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .menu-page-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-head-cta { width: 100%; }

  .menu-dish-body { padding-right: 0.75rem; }
}

@media (min-width: 900px) {
  .menu-page-inner { max-width: 780px; }
}

/* ── Shop (homepage — bento-kopervik layout, dark rebrand) ─────────────── */
.shop-body { background-image: none; }

.utility-bar {
  background: var(--utility-bg);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  gap: 1rem;
}

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.utility-bar a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.utility-bar a:hover { color: var(--primary-bright); text-decoration: none; }
.utility-sep { color: var(--border); }
.utility-cart { display: inline-flex; align-items: center; gap: 0.35rem; }

.lang-switcher {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.25rem 0.35rem;
}

.lang-toggle:hover { color: var(--primary-bright); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  max-height: min(360px, 70vh);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  list-style: none;
  padding: 0.35rem;
  z-index: 200;
}

/* Theme switcher */
.theme-switcher { position: relative; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.25rem 0.35rem;
}

.theme-toggle:hover { color: var(--primary-bright); }
.theme-icon { font-size: 0.9rem; line-height: 1; }

.theme-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  list-style: none;
  padding: 0.35rem;
  z-index: 200;
}

.theme-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
}

.theme-menu button:hover,
.theme-menu button.active {
  background: rgba(227, 24, 55, 0.12);
  color: var(--primary-bright);
}

.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.82rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
}

.lang-menu button:hover {
  background: rgba(227, 24, 55, 0.1);
  color: var(--text);
}

.lang-menu button.active {
  color: var(--primary-bright);
  font-weight: 600;
}

.shop-header {
  background: var(--surface);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.shop-header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 0;
}

.brand-lg img { width: 52px; height: 52px; }

.header-search {
  flex: 1;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: var(--text-muted);
}

.header-search:focus-within { border-color: var(--primary); color: var(--text); }

.header-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}

.shop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.shop-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.shop-nav a:hover { color: var(--text); text-decoration: none; }
.shop-nav .btn { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

.shop-banner {
  position: relative;
  height: clamp(180px, 22vw, 260px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.shop-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.shop-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 5, 0.88) 0%,
    rgba(5, 5, 5, 0.45) 38%,
    rgba(5, 5, 5, 0.15) 62%,
    rgba(227, 24, 55, 0.12) 100%
  );
}

.shop-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.shop-banner-text p {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.breadcrumb {
  padding: 0.85rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-bright); }

.shop-layout {
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  align-items: start;
}

.shop-sidebar-wrap {
  position: sticky;
  top: 88px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.sidebar-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-bright);
  padding: 0 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.shop-sidebar {
  display: flex;
  flex-direction: column;
}

.cat-link {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  color: var(--text-muted);
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.cat-link:hover {
  color: var(--text);
  background: rgba(227, 24, 55, 0.06);
}

.cat-link.active {
  color: var(--primary-bright);
  border-left-color: var(--primary);
  background: rgba(227, 24, 55, 0.1);
  font-weight: 600;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.toolbar-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.toolbar-group select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-size: 0.82rem;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.shop-count { font-size: 0.82rem; color: var(--text-muted); }

.view-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.view-toggle button {
  background: var(--surface);
  border: none;
  color: var(--text-muted);
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.view-toggle button.active {
  background: var(--primary);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(227, 24, 55, 0.2);
}

.product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-link:hover { text-decoration: none; }

.product-img {
  aspect-ratio: 1;
  background: var(--img-bg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  z-index: 2;
}

[data-theme="light"] .product-img::after {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(var(--img-scale));
  filter: var(--img-filter);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-card:hover .product-img img {
  transform: scale(var(--img-hover-scale));
}

/* Packshot drinks — plastic bottles, fill square frame */
.product-img img[src*="drink_"] {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.08);
  filter: none;
  padding: 6% 12% 4%;
  height: 100%;
}

.product-card:hover .product-img img[src*="drink_"] {
  transform: scale(1.12);
}

[data-theme="light"] .product-img:has(img[src*="drink_"]) {
  background: #f0f0f0;
}

[data-theme="dark"] .product-img:has(img[src*="drink_"]) {
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
}

.product-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--img-bg);
}

.product-no-img img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.45;
}

.product-body {
  padding: 0.85rem 1rem 1rem;
  text-align: center;
}

.product-body h3 {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: block;
  color: var(--primary-bright);
  font-weight: 700;
  font-size: 1rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.45rem;
}

.product-tags span {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(227, 24, 55, 0.12);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.product-card--list .product-link {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem;
}

.product-card--list .product-img { aspect-ratio: 1; border-radius: 8px; }
.product-card--list .product-info h3 { font-size: 0.95rem; margin-bottom: 0.25rem; min-height: auto; text-align: left; }
.product-card--list .product-info p { font-size: 0.78rem; color: var(--text-muted); text-align: left; }
.product-card--list .product-tags { justify-content: flex-start; }
.product-card--list .product-price { padding-right: 0.5rem; white-space: nowrap; }

/* Diet & allergen info on product cards */
.diet-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.4rem;
}

.product-card--list .diet-tags { justify-content: flex-start; }

.diet-tag {
  font-size: 0.62rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
}

.tag-daily { background: rgba(255, 193, 7, 0.15); color: #ffc107; }
.tag-chef { background: rgba(227, 24, 55, 0.15); color: var(--primary-bright); }
.tag-vegan { background: rgba(76, 175, 80, 0.15); color: #81c784; }
.tag-spicy { background: rgba(255, 87, 34, 0.15); color: #ff8a65; }
.tag-gf { background: rgba(33, 150, 243, 0.12); color: #64b5f6; }

.diet-ingredients-compact {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.35;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--list .diet-ingredients-compact { text-align: left; }

.diet-allergens-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.35rem;
  justify-content: center;
}

.product-card--list .diet-allergens-compact { justify-content: flex-start; }

.diet-allergens-compact .allergen-name {
  font-size: 0.6rem;
}

/* Product detail — full diet panel */
.diet-panel {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.diet-panel-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.diet-block { margin-bottom: 0.85rem; }
.diet-block:last-of-type { margin-bottom: 0; }

.diet-block h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.diet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
}

.diet-list li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.diet-allergens-full {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.allergen-pill--full {
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
}

.allergen-pill--full span { color: var(--text); font-size: 0.78rem; }

.diet-muted {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.diet-note {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.45;
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
}

.shop-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 2rem;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}

.page-btn:hover { border-color: var(--primary); color: var(--text); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.shop-loading, .shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
}

.shop-promo {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.shop-promo-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.shop-promo-copy h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.shop-promo-copy p { color: var(--text-muted); margin-bottom: 1.25rem; max-width: 420px; }

.shop-promo-visual img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  opacity: 0.85;
  filter: drop-shadow(0 0 24px rgba(227, 24, 55, 0.3));
}

.shop-locations {
  padding: 4rem 0;
}

.shop-footer {
  border-top: 2px solid var(--primary);
}

@media (max-width: 900px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar-wrap {
    position: static;
    max-height: none;
  }

  .shop-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 0.5rem 0.5rem;
    gap: 0.35rem;
  }

  .cat-link {
    border-left: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    width: auto;
  }

  .cat-link.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
  }

  .sidebar-title { display: none; }

  .header-search { display: none; }

  .shop-nav { display: none; }
  .shop-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }

  .shop-header-inner { position: relative; flex-wrap: wrap; }

  .shop-promo-inner { grid-template-columns: 1fr; text-align: center; }
  .shop-promo-copy p { margin-inline: auto; }
  .shop-promo-visual { display: none; }

  .utility-left { display: none; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }
  .nav-toggle { display: block; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 75vh; }
}

/* ── E-commerce: cart, checkout, product ───────────────────────────────── */
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.utility-cart--active { color: var(--primary-bright) !important; }

.product-card { position: relative; }

.product-add-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(227, 24, 55, 0.45);
  z-index: 2;
  transition: transform 0.15s, background 0.15s;
}

.product-add-btn:hover {
  background: var(--primary-bright);
  transform: scale(1.06);
}

.product-card--list .product-add-btn {
  position: static;
  align-self: center;
  margin-right: 0.75rem;
}

.ecommerce-page { padding-bottom: 4rem; }
.page-title { font-size: 1.75rem; margin-bottom: 1.5rem; }

.cart-table { display: grid; gap: 0.75rem; margin-bottom: 2rem; }

.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cart-line-img { width: 80px; height: 80px; border-radius: 10px; overflow: hidden; }
.cart-line-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.cart-line-info a { color: inherit; text-decoration: none; }
.cart-line-info a:hover { color: var(--primary-bright); }
.cart-line-price { font-weight: 700; color: var(--primary-bright); white-space: nowrap; }

.cart-qty { display: inline-flex; align-items: center; gap: 0.5rem; }
.cart-qty button {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
}

.cart-summary {
  max-width: 420px;
  margin-left: auto;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.cart-summary-total {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.checkout-layout { max-width: 960px; }
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.checkout-fields label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkout-fields label span { display: block; margin-bottom: 0.35rem; font-weight: 600; }

.checkout-fields input,
.checkout-fields select,
.checkout-fields textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
}

.checkout-type {
  border: none;
  padding: 0;
  margin-bottom: 1rem;
  display: flex;
  gap: 1.25rem;
}

.checkout-type label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  cursor: pointer;
}

.checkout-summary {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: sticky;
  top: 96px;
}

.checkout-summary h2 { font-size: 1rem; margin-bottom: 1rem; }
.checkout-lines { list-style: none; margin-bottom: 1rem; }
.checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.checkout-error {
  color: var(--primary-bright);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.btn-block { width: 100%; }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2rem 0 4rem;
}

.product-detail-img {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--img-bg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-img img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  transform: scale(var(--img-scale));
  filter: var(--img-filter);
}

.product-detail-img img[src*="drink_"] {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.05);
  filter: none;
  padding: 5% 10%;
}

.product-no-img.large {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--img-bg);
}

.product-no-img.large img { width: 80px; height: 80px; opacity: 0.5; }

.product-detail-info h1 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.product-detail-price { color: var(--primary-bright); font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.product-detail-desc { color: var(--text-muted); line-height: 1.55; margin-bottom: 1rem; }
.product-detail-ing { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; }
.product-detail-qty { margin-bottom: 1.25rem; }
.product-detail-qty input { width: 80px; margin-left: 0.5rem; padding: 0.4rem; }

.order-success { min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.order-success-box { text-align: center; max-width: 440px; }
.order-success-icon {
  width: 72px; height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  line-height: 72px;
}
.order-id { margin: 1.25rem 0 1.75rem; color: var(--text-muted); }

/* ── Light theme — closer to bento-kopervik.no ─────────────────────────── */
[data-theme="light"] .shop-body { background: var(--bg); }

[data-theme="light"] .shop-header {
  background: var(--header-bg);
  box-shadow: 0 1px 0 var(--border);
}

[data-theme="light"] .shop-sidebar-wrap {
  background: var(--sidebar-bg);
  border-color: var(--border);
  box-shadow: var(--card-shadow);
}

[data-theme="light"] .sidebar-title { color: var(--primary); }

[data-theme="light"] .cat-link {
  color: var(--text-muted);
}

[data-theme="light"] .cat-link:hover,
[data-theme="light"] .cat-link.active {
  background: rgba(227, 24, 55, 0.07);
  color: var(--primary);
  border-color: transparent;
}

[data-theme="light"] .product-card {
  box-shadow: var(--card-shadow);
}

[data-theme="light"] .product-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

[data-theme="light"] .shop-toolbar,
[data-theme="light"] .header-search {
  background: var(--surface);
}

[data-theme="light"] .header-search {
  border-color: var(--border);
}

[data-theme="light"] .product-body h3 {
  color: var(--text);
  font-weight: 600;
}

[data-theme="light"] .diet-tag {
  border-color: var(--border);
}

[data-theme="light"] .diet-panel {
  background: var(--surface-2);
  border-color: var(--border);
}

@media (max-width: 768px) {
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line-price, .cart-remove { grid-column: 2; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .product-detail { grid-template-columns: 1fr; }
}

/* ── Auth (login / register) ───────────────────────────────────────────── */
.auth-page { padding: 2rem 0 4rem; }
.auth-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.auth-lead { color: var(--text-muted); margin: 0.5rem 0 1.5rem; font-size: 0.95rem; }
.auth-field { display: block; margin-bottom: 1rem; }
.auth-field span { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.auth-field input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
}
.auth-gdpr {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.auth-gdpr input { margin-top: 0.2rem; flex-shrink: 0; }
.auth-switch { margin-top: 1.5rem; text-align: center; font-size: 0.9rem; color: var(--text-muted); }
.auth-dev { font-size: 0.85rem; color: var(--gold); margin-bottom: 1rem; }
.auth-meta { color: var(--text-muted); margin-bottom: 1.5rem; }
.auth-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.auth-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.25rem;
  background: var(--surface-2);
  border-radius: 10px;
}
.auth-tab {
  flex: 1;
  padding: 0.55rem 0.5rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.auth-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.btn-vipps {
  background: #ff5b24;
  color: #fff;
  border: none;
  font-weight: 700;
}
.btn-vipps:hover { filter: brightness(1.05); }
.btn-block { width: 100%; margin-top: 0.5rem; }

/* RTL (Arabic) — sidebar on the right, main content on the left */
html[dir="rtl"] .utility-inner,
html[dir="rtl"] .shop-header-inner,
html[dir="rtl"] .shop-toolbar,
html[dir="rtl"] .breadcrumb,
html[dir="rtl"] .auth-gdpr,
html[dir="rtl"] .checkout-form,
html[dir="rtl"] .cart-page-inner {
  direction: rtl;
}

html[dir="rtl"] .shop-layout {
  direction: ltr;
  grid-template-columns: 1fr var(--sidebar);
}

html[dir="rtl"] .shop-main {
  grid-column: 1;
  grid-row: 1;
  direction: rtl;
}

html[dir="rtl"] .shop-sidebar-wrap {
  grid-column: 2;
  grid-row: 1;
  direction: rtl;
}

html[dir="rtl"] .sidebar-title {
  text-align: right;
}

html[dir="rtl"] .cat-link {
  text-align: right;
  border-left: none;
  border-right: 3px solid transparent;
}

html[dir="rtl"] .cat-link.active {
  border-left-color: transparent;
  border-right-color: var(--primary);
}

html[dir="rtl"] .header-search {
  direction: rtl;
}

html[dir="rtl"] .header-search svg {
  order: 1;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .product-card-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .product-card--list {
  direction: rtl;
}

html[dir="rtl"] .shop-promo-inner {
  direction: rtl;
}

html[dir="rtl"] .footer-grid {
  direction: rtl;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
