/* ============================================================
   Slöinge Pizzeria — Huvudstil
   ============================================================ */
:root {
  /* Stämningsfullt mörkt tema inspirerat av frontbilden (espresso, karamell & bränd terrakotta) */
  --brand:       #d97b2e;
  --brand-dark:  #b85f1c;
  --brand-light: #e8954a;
  --accent:      #e2b45f;
  --accent-dark: #c99a43;
  --bg:          #14100b;
  --bg-card:     #201812;
  --bg-elev:     #2a2016;
  --text:        #f1e3cc;
  --text-muted:  #c0ab8c;
  --border:      #3a2c1c;
  --shadow:      0 6px 20px rgba(0,0,0,0.35);
  --shadow-hov:  0 14px 36px rgba(217,123,46,0.22);
  --radius:      14px;
  --radius-sm:   8px;
  --font:        'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --container:   1140px;
  --transition:  0.25s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; }

/* Small hover preview image for index cards: reduced size for quicker glance */
.hover-preview {
  position: absolute;
  pointer-events: none;
  max-width: 120px;
  max-height: 120px;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  border: 2px solid rgba(217,123,46,0.12);
  transform: translate(-50%, -10%);
  transition: opacity 0.18s ease, transform 0.18s ease;
  opacity: 0;
}
.hover-preview.show { opacity: 1; }
a { color: var(--brand); transition: color var(--transition); }
a:hover { color: var(--brand-light); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Mörk innehållsyta med guldfärgad text för bättre kontrast */
.page-content {
  background: linear-gradient(135deg, rgba(11,11,11,0.95), rgba(36,24,14,0.85));
  background-blend-mode: multiply;
  color: var(--brand-light);
  border-radius: calc(var(--radius) - 2px);
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  margin: 20px 0;
  border-top: 3px solid rgba(212,175,55,0.16);
  border-bottom: 1px solid rgba(0,0,0,0.6);
}
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  color: #f6e7c2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.page-content p,
.page-content li,
.page-content a { color: #f0e4c0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--brand), var(--brand-light));
  color: #1a1006;
  border: 1px solid rgba(212,175,55,0.14);
  box-shadow: 0 8px 20px rgba(217,123,46,0.12);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(217,123,46,0.18); }
.btn-secondary {
  background: transparent;
  color: #f0e4c0;
  border: 1px solid rgba(217,123,46,0.12);
}
.btn-secondary:hover { background: rgba(212,175,55,0.06); color: #ffdf8a; }

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  background: linear-gradient(180deg, rgba(20,16,11,0.6), rgba(26,20,14,0.6));
}
.table th, .table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: #f0e4c0;
}
.table th { color: #f6e7c2; text-align: left; }

/* Forms */
input[type="text"], input[type="email"], textarea, select {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212,175,55,0.08);
  color: #f0e4c0;
  padding: 10px 12px;
  border-radius: 8px;
}
input::placeholder, textarea::placeholder { color: rgba(240,228,192,0.5); }

/* compact menu rows test: 20px high, 100px long thumbnails */
.menu-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.menu-row .menu-thumb {
  width: 100px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
}

/* restore nav/footer visual similar to previous compact look */
.site-nav {
  background: #222;
  color: #fff;
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  align-items: center;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 4px;
}
.site-nav a:hover, .site-nav a.active {
  background: rgba(255,255,255,0.06);
}

.site-footer {
  background: #111;
  color: #ddd;
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, #0b0b0b, #1a1308);
  color: #e9d9a6;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  transition: box-shadow var(--transition);
}
.site-header:hover { box-shadow: 0 6px 24px rgba(212,175,55,0.22); }
/* Titel mellan logga och språkflaggor – kursiv, guld metallic-banderoll, text i metallic-färger */
.site-title {
  font-style: italic;
  font-weight: 800;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 4px 6px;
}
.site-title:hover { opacity: 0.94; }
.st-word {
  display: inline-block;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  padding-right: 3px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.45)) drop-shadow(0 2px 6px rgba(212,175,55,0.55));
}
.st-red    { background-image: linear-gradient(180deg, #ffc1b6 0%, #ef4a38 35%, #cd212a 60%, #8b0000 82%, #ff8a7a 100%); }
.st-green  { background-image: linear-gradient(180deg, #d3f0c0 0%, #58b046 35%, #008c45 60%, #005c2e 82%, #7fd06a 100%); }
.st-silver { background-image: linear-gradient(180deg, #ffffff 0%, #d9d9d9 35%, #a6a6a6 60%, #d9d9d9 82%, #ffffff 100%); }
@media (max-width: 900px) {
  .site-title { gap: 8px; }
  .st-word { font-size: 1.25rem; letter-spacing: 1.5px; }
}
@media (max-width: 480px) {
  .st-word { font-size: 1.05rem; letter-spacing: 1px; }
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px;
}

/* Small screen thumbnails shown in header when logo is hidden */
.screen-views {
  display: flex;
  gap: 8px;
  align-items: center;
}
.screen-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

@media (max-width: 700px) {
  .screen-thumb { width: 56px; height: 38px; }
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #d4af37;
  text-decoration: none;
  letter-spacing: -0.3px;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.88; color: #e8c766; }
.logo { display: inline-flex; align-items: center; }
.logo-img {
  display: block;
  height: 112px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55));
  transition: transform var(--transition), filter var(--transition);
}
.logo:hover .logo-img { transform: scale(1.03); filter: drop-shadow(0 2px 12px rgba(212,175,55,0.5)); }
@media (max-width: 640px) { .logo-img { height: 84px; } }
.logo-name {
  letter-spacing: 0.4px;
  /* Metallisk guldtitel */
  background: linear-gradient(180deg, #fff6cf 0%, #f5d778 25%, #d4af37 50%, #a8781e 75%, #f7e08b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.55));
}
.logo:hover .logo-name { filter: drop-shadow(0 1px 6px rgba(212,175,55,0.55)); }
.nav-toggle { display: none; background: none; border: 2px solid rgba(212,175,55,0.5); color: #d4af37; font-size: 1.4rem; padding: 6px 14px; border-radius: var(--radius-sm); cursor: pointer; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px; }
.nav-links a {
  color: #e6d7a8;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(212,175,55,0.16);
  color: #ffdf8a;
  transform: translateY(-1px);
}
.nav-links a.active { background: rgba(212,175,55,0.22); }

/* Språkväxlare med flaggor – flagga i rutan, språknamn under rutan */
.lang-switch { display: flex; gap: 6px; align-items: flex-start; margin-right: 4px; }
.flag-btn {
  background: none;
  border: none;
  padding: 2px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: transform var(--transition);
}
.flag-btn:hover { transform: translateY(-2px); }
.flag-box {
  width: 38px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: #1a1308;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.flag-img { width: 32px; height: auto; display: block; border-radius: 3px; }
.flag-label { font-size: 0.6rem; color: #e6d7a8; font-weight: 600; line-height: 1; white-space: nowrap; }
.flag-btn.active .flag-box { border-color: #ffdf8a; box-shadow: 0 0 0 2px rgba(212,175,55,0.3); }
.flag-btn.active .flag-label { color: #ffdf8a; }

/* Smal banner i italienska färger (metalliska) */
.italian-banner { display: flex; height: 10px; width: 100%; }
.italian-banner span { flex: 1; }
.ib-green { background: linear-gradient(180deg, #b6e0a8 0%, #4c9a3c 35%, #008c45 55%, #005c2e 80%, #66bb6a 100%); }
.ib-white { background: linear-gradient(180deg, #ffffff 0%, #d6d6d6 30%, #b0b0b0 55%, #e8e8e8 80%, #cfcfcf 100%); }
.ib-red { background: linear-gradient(180deg, #ffb3a8 0%, #e6392a 35%, #cd212a 55%, #8b0000 80%, #ef5350 100%); }

/* Sidrubrik-strip under headern (PHP-sidor) */
.page-title {
  background: linear-gradient(135deg, #151009, #241a10);
  border-top: 1px solid rgba(212,175,55,0.15);
  padding: 14px 0;
}
.page-title-main { font-size: 1.3rem; font-weight: 800; color: #d4af37; letter-spacing: -0.2px; }
.page-title-sub { margin-left: 12px; color: #c0ab8c; font-size: 0.9rem; }
@media (max-width: 700px) { .page-title-main { font-size: 1.1rem; } .page-title-sub { display: block; margin-left: 0; margin-top: 2px; } }

/* Front-banner: bild på pizzerians fasad, visas på alla sidor */
.front-banner {
  background:
    linear-gradient(105deg, rgba(27,17,8,0.86) 0%, rgba(124,58,18,0.6) 55%, rgba(161,77,30,0.35) 100%),
    url('../images/front-bild.jpeg') center 35% / cover no-repeat;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 26px 0;
}
.front-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.front-banner-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.front-banner-sub {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
@media (max-width: 700px) {
  .front-banner { padding: 18px 0; }
  .front-banner-title { font-size: 1.2rem; }
}

/* Admin-badge i headern */
.nav-links a.admin-badge {
  background: rgba(212,175,55,0.12);
  border: 1.5px solid rgba(212,175,55,0.4);
  font-size: 0.8rem;
  padding: 6px 12px;
  margin-left: 6px;
  letter-spacing: 0.3px;
}
.nav-links a.admin-badge:hover {
  background: rgba(212,175,55,0.25);
  border-color: rgba(212,175,55,0.7);
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  padding: 32px 28px;
  border-radius: var(--radius);
  margin: 20px 0;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.hero:hover { box-shadow: var(--shadow-hov); }
.hero h2 { margin: 0 0 8px; font-size: 1.7rem; }
.hero p { margin: 0; opacity: 0.92; }

/* Hero med frontbilden som bakgrund — varm espresso-tonad overlay */
.hero-front {
  position: relative;
  background:
    linear-gradient(120deg, rgba(27,17,8,0.82) 0%, rgba(124,58,18,0.62) 55%, rgba(161,77,30,0.4) 100%),
    url('../images/front-bild.jpeg') center / cover no-repeat;
  color: #fff;
  padding: 56px 40px;
  overflow: hidden;
}
.hero-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 80% 20%, rgba(217,164,65,0.18), transparent 60%);
  pointer-events: none;
}
.hero-front h2 { position: relative; z-index: 1; font-size: 2rem; letter-spacing: -0.3px; }
.hero-front p { position: relative; z-index: 1; max-width: 640px; }
.hero-front .cta { position: relative; z-index: 1; }

/* ===== BUTTONS ===== */
.cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(161,77,30,0.22);
}
.cta:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(161,77,30,0.32);
}
.cta.ghost {
  background: transparent;
  border: 2px solid #fff;
  box-shadow: none;
}
.cta.ghost:hover { background: rgba(255,255,255,0.12); }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hov);
  transform: translateY(-3px);
}

/* ===== MENYGRID (menu.php) ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.menu-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.menu-card:hover {
  box-shadow: var(--shadow-hov);
  transform: translateY(-4px);
}
.menu-card h3 { margin: 0 0 6px; color: var(--brand-light); font-size: 1.1rem; }
.menu-card .price-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--brand-light);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 8px;
  align-self: flex-start;
}
.ingredient-list { font-size: 0.88rem; color: var(--text-muted); margin: 6px 0; flex: 1; line-height: 1.5; }
.price-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); font-weight: 700; }
.price-row .label { color: var(--text-muted); }
.price-row .value { color: var(--brand-light); }
.icon { font-size: 1.7rem; background: var(--bg-elev); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; }
.menu-card-img {
  width: 100%; height: 120px; object-fit: cover; border-radius: 10px; margin-bottom: 10px;
  border: 1px solid var(--border); transition: transform var(--transition);
}
.menu-card:hover .menu-card-img { transform: scale(1.03); }

/* ===== HOVER TOOLTIP ===== */
.menu-card { position: relative; cursor: pointer; }
.menu-card .hover-info {
  display: none;
  position: absolute;
  top: 100%; left: 50%; transform: translateX(-50%);
  z-index: 200;
  width: 280px;
  background: var(--bg-elev);
  border: 2px solid var(--brand);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  font-size: 0.85rem;
  text-align: left;
  margin-top: 4px;
}
.menu-card:hover .hover-info { display: block; }
.menu-card .hover-info .hi-img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.menu-card .hover-info .hi-nr { font-weight: 700; color: var(--brand-light); font-size: 1rem; }
.menu-card .hover-info .hi-price { font-weight: 700; color: var(--brand-light); font-size: 1.1rem; margin: 4px 0; }
.menu-card .hover-info .hi-ing { color: var(--text-muted); margin: 4px 0; font-size: 0.82rem; }
.menu-card .hover-info .hi-allergen { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border); }
.menu-card .hover-info .hi-allergen span {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; margin: 2px;
}
.allergen-laktos { background: rgba(230,81,0,0.18); color: #ffb074; }
.allergen-gluten { background: rgba(198,40,40,0.22); color: #ff8a80; }
.allergen-ägg { background: rgba(249,168,37,0.16); color: #ffd54f; }
.allergen-jordnötter { background: rgba(106,27,154,0.25); color: #ce93d8; }

/* ===== TABS ===== */
.cat-tabs, .class-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.cat-tab, .class-tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all var(--transition);
}
.cat-tab:hover, .class-tab:hover { border-color: var(--brand-light); background: var(--bg-elev); transform: translateY(-2px); }
.cat-tab.active, .class-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.class-tab small { font-weight: 400; font-size: 0.75rem; opacity: 0.65; }

/* ===== PRISKLASSRUBRIK ===== */
.class-header { text-align: center; margin: 12px 0 18px; }
.class-header h2 { color: var(--brand-light); margin: 0; font-size: 1.4rem; }
.class-header p { margin: 4px 0 0; color: var(--text-muted); font-weight: 600; }

/* ===== EXTRAS (extra tillbehör) ===== */
.extras-banner {
  background: linear-gradient(135deg, #2a1f14, #362716);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.extras-banner h3 { grid-column: 1 / -1; margin: 0 0 4px; color: var(--brand-light); font-size: 1rem; }
.extras-col h4 { margin: 0 0 6px; color: var(--text-muted); font-size: 0.9rem; }
.extras-row { display: flex; justify-content: space-between; padding: 2px 0; font-size: 0.88rem; }
.extras-row .xprice { color: var(--brand); font-weight: 700; }

/* ===== FOOTER — max 20% av sidan ===== */
.site-footer {
  background: linear-gradient(135deg, #1b1108, #2e1c0e);
  color: #e6d7c2;
  margin-top: auto;
  padding: 14px 0 0;
  font-size: 0.82rem;
  max-height: 20vh;
  overflow-y: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1300px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-box {
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
}
.footer-box p, .footer-box .ravara-text { font-size: 0.8rem; line-height: 1.4; margin: 0 0 4px; }
.footer-box .ravara-text strong { color: #fff; }
.footer-box h3 { color: var(--accent); margin: 0 0 6px; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 4px; }
.footer-box ul { list-style: none; padding: 0; margin: 0; }
.footer-box ul li { padding: 1px 0; font-size: 0.8rem; }
.footer-box a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
.footer-box a:hover { color: #e6b85c; }
.hours-list .season-tag { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; margin: 2px 0; }
.season-tag.sommar { background: #2e7d32; color: #fff; }
.season-tag.vinter { background: #1565c0; color: #fff; }
.hours-row { display: flex; justify-content: space-between; padding: 0; font-size: 0.8rem; line-height: 1.5; }
.extras-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.extras-footer-col { min-width: 0; }
.extras-footer-col p { font-size: 0.75rem !important; }
.map-btn {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent);
  color: #222;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  transition: all var(--transition);
  margin-bottom: 6px;
}
.map-btn:hover { background: var(--accent-dark); color: #222; transform: translateY(-1px); }
.map-preview iframe { width: 100%; height: 80px; border: 0; border-radius: 6px; }
.footer-allergi {
  text-align: center; padding: 10px 20px; font-size: 0.85rem; color: #e6b85c;
  background: rgba(0,0,0,0.18); font-weight: 600; letter-spacing: 0.3px;
}
.footer-bottom {
  margin-top: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--accent); }

/* ===== INDEX-SIDANS KORTÖVERSIKT ===== */
.home-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0 10px;
}
.home-highlight {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: #fff;
  min-height: 180px;
  transition: all var(--transition);
}
.home-highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hov);
  color: #fff;
}
.home-highlight img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}
.home-highlight .home-highlight-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.72));
}
.home-highlight .home-highlight-kicker {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.home-highlight h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.05rem;
}
.home-highlight p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
}
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin: 20px 0;
}
.index-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  display: block;
}
.index-card:hover {
  box-shadow: var(--shadow-hov);
  transform: translateY(-6px);
  color: var(--text);
}
.index-card .card-icon { font-size: 2.4rem; margin-bottom: 8px; }
.index-card h3 { margin: 0 0 6px; color: var(--brand-light); font-size: 1.05rem; }
.index-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.index-card .card-image {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.index-card:hover .card-image {
  transform: scale(1.02);
}

/* ===== PRISKLASS-SIDOR ===== */
.class-highlight {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 18px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin: 16px 0 18px;
}
.class-highlight img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.class-highlight h3 {
  margin: 0 0 6px;
  color: var(--brand-light);
  font-size: 1.15rem;
}
.class-highlight p {
  margin: 0;
  color: var(--text-muted);
}
.class-highlight .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.class-highlight .chips span {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--brand-light);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
}
@media (max-width: 700px) {
  .class-highlight {
    grid-template-columns: 1fr;
  }
}

/* ===== GALLERI ===== */
.slideshow { position: relative; text-align: center; }
.slideshow img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===== MALL / GENERISK SIDA ===== */
.page-content { background: var(--bg-card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin: 20px 0; }

/* ===== HOVER-KORT FÖR STATISKA MENYSIDOR ===== */
.menu-hover-item {
  position: relative;
  cursor: pointer;
}
.menu-list li.menu-hover-item {
  list-style-position: inside;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background var(--transition);
}
.menu-list li.menu-hover-item:hover,
.menu-list li.menu-hover-item:focus-within {
  background: linear-gradient(135deg, #2a1f14 0%, #352616 100%);
}
.menu-hover-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-elev);
  vertical-align: middle;
}
.menu-hover-panel {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%) translateY(6px);
  width: min(340px, calc(100vw - 36px));
  z-index: 300;
  background: rgba(30,22,14,0.97);
  border: 2px solid var(--brand);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  padding: 14px;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.menu-hover-item:hover .menu-hover-panel,
.menu-hover-item:focus-within .menu-hover-panel,
.menu-hover-item.open .menu-hover-panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.menu-hover-img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.menu-hover-title {
  margin: 10px 0 4px;
  color: var(--brand-light);
  font-size: 1rem;
  line-height: 1.3;
}
.menu-hover-price {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--brand-light);
}
.menu-hover-ingredients {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}
.menu-hover-allergens {
  margin-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.menu-hover-allergens strong {
  font-size: 0.8rem;
  color: var(--text);
}
.menu-hover-add {
  width: 100%;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--brand);
  color: #1a1006;
  font-weight: 700;
  cursor: pointer;
}
.menu-hover-add:hover:not(:disabled) { background: var(--brand-light); }
.menu-hover-add:disabled { cursor: wait; opacity: 0.7; }
.menu-hover-cart-message {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.menu-hover-chip {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 9px;
  margin: 4px 4px 0 0;
  font-size: 0.72rem;
  font-weight: 700;
}
.menu-hover-chip.neutral {
  background: rgba(52,73,94,0.35);
  color: #cbd5e1;
}
.menu-hover-chip.gluten {
  background: rgba(173,20,87,0.28);
  color: #ffb3c7;
}
.menu-hover-chip.laktos {
  background: rgba(239,108,0,0.22);
  color: #ffc07a;
}
.menu-hover-chip.agg {
  background: rgba(249,168,37,0.18);
  color: #ffe082;
}
.menu-hover-chip.fisk {
  background: rgba(21,101,192,0.25);
  color: #90caf9;
}
.menu-hover-chip.jordnotter {
  background: rgba(94,53,177,0.28);
  color: #d1c4e9;
}

@media (max-width: 700px) {
  .menu-hover-panel {
    width: min(300px, calc(100vw - 24px));
    left: 0;
    transform: translateX(0) translateY(6px);
  }
  .menu-hover-item:hover .menu-hover-panel,
  .menu-hover-item:focus-within .menu-hover-panel,
  .menu-hover-item.open .menu-hover-panel {
    transform: translateX(0) translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .nav-links { display: none; width: 100%; flex-direction: column; gap: 2px; padding-top: 8px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .header-flex { padding: 12px 16px; }
  .hero { padding: 24px 18px; }
  .hero h2 { font-size: 1.3rem; }
}

/* =====================================================================
   HELTÄCKANDE RESPONSIVT – anpassar sig efter skärmstorlek
   (mobil, iPad, laptop, desktop)
   ===================================================================== */

/* Grund: media får aldrig flöda över */
img, video, iframe, canvas, svg { max-width: 100%; height: auto; }

/* --- Surfaplatta (iPad) --- */
@media (max-width: 1024px) {
  .container { padding: 0 16px; }
  .hero { padding: 28px 20px; }
  .hero h2 { font-size: 1.6rem; }
  .page-title-main { font-size: 1.25rem; }
}

/* --- Liten skärm / mobil --- */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 14px; }

  /* Rubriker */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }

  /* Header: logotyp + titel + språkflaggor radas om snyggt */
  .header-flex { justify-content: center; }
  .logo-img { height: 72px; }
  .lang-switch { order: 3; width: 100%; justify-content: center; margin-top: 6px; }
  .site-title { order: 2; }
  .logo { order: 1; }

  /* Allmänna layouter staplas */
  .footer-grid { grid-template-columns: 1fr; }
  .extras-footer-grid { grid-template-columns: 1fr; }

  /* Kort-/rutnätslayouter till en kolumn */
  .card-grid, .grid, .cards, .panel-grid, .kontakt-grid, .booking-grid,
  .menu-grid, .dish-grid, .ratter-grid, .stats-grid, .shop-layout,
  .class-highlight {
    grid-template-columns: 1fr !important;
  }

  /* Tabeller: horisontell rullning i stället för att krossa layouten */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  thead { display: table-header-group; }
  tbody { display: block; }

  /* Formulär */
  input, select, textarea, button {
    max-width: 100%;
    box-sizing: border-box;
  }
  form.inline { flex-direction: column; align-items: stretch; }

  /* Sektioner/paneler */
  .panel, .card, .menu-list, .page-content { padding: 16px; }
  .menu-list { padding: 14px; }
  .ingredient-grid, .sauce-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Hover-paneler ersätts av klickbar rullning på pekskärm */
  .menu-hover-panel { position: static; transform: none; width: 100%; }
}

/* --- Mycket små telefoner --- */
@media (max-width: 480px) {
  .ingredient-grid, .sauce-grid { grid-template-columns: 1fr; }
  .hero h2 { font-size: 1.15rem; }
  .page-title-sub { font-size: 0.85rem; }
  .nav-links a { font-size: 0.85rem; }
}

