/* Dallas Pizza & Hamburgerbar
   Sidans ljusa botten har samma färg som studiobakgrunden i restaurangens egna matfoton,
   så att rätterna ligger direkt på sidan. Mörka ytor bär den vita och träfärgade logotypen. */

@font-face {
  font-family: 'Ultra';
  src: url(/assets/fonts/ultra.bb83a02686.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url(/assets/fonts/archivo.e3a28eade2.woff2) format('woff2-variations'), url(/assets/fonts/archivo.e3a28eade2.woff2) format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --bord: #efeee9;
  --bord-2: #e5e2da;
  --linje: #d4cfc4;
  --oxblod: #3a1912;
  --oxblod-2: #2c120d;
  --plank: #d3b36c;
  --signal: #b3221a;
  --signal-2: #93190f;
  --blak: #2b1913;
  --grafit: #64524a;
  --gron: #3f7d3a;
  --display: 'Ultra', 'Rockwell Extra Bold', 'Rockwell', Georgia, serif;
  --text: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 76rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bord);
  color: var(--blak);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: lining-nums;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.top :focus-visible, .hero :focus-visible, .visit :focus-visible, .foot :focus-visible, .bar :focus-visible { outline-color: var(--plank); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--plank); color: var(--oxblod); padding: .6rem 1rem; font-weight: 700; text-decoration: none; border-radius: 4px; }
.skip:focus { top: 1rem; }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.35rem;
  border: 2px solid transparent; border-radius: 6px;
  font: 700 1.02rem/1.1 var(--text); font-stretch: 92%;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  touch-action: manipulation;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-order { background: var(--signal); color: #fff; }
.btn-order:hover { background: var(--signal-2); }
.btn-ghost { border-color: rgb(255 255 255 / .55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.btn-dark { background: var(--oxblod); color: #fff; }
.btn-dark:hover { background: var(--oxblod-2); }
.btn-tan { background: var(--plank); color: var(--oxblod); }
.btn-tan:hover { background: #e2c684; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Sidhuvud ---------- */
.top { background: var(--oxblod); color: #fff; }
.top-nav {
  max-width: var(--max); margin: 0 auto; padding: .75rem var(--gutter);
  display: flex; align-items: center; gap: 1.25rem;
}
.top-home { flex: none; border-radius: 6px; }
.top-nav ul { display: flex; gap: .25rem 1.4rem; flex-wrap: wrap; }
.top-nav ul a { text-decoration: none; font-weight: 550; padding: .5rem 0; display: inline-block; }
.top-nav ul a:hover { color: var(--plank); }
.top-tel { margin-left: auto; color: var(--plank); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; padding: .5rem 0; white-space: nowrap; }
.top-tel:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hjälte: logotypen och ett bord med pizzor ---------- */
.hero {
  background: var(--oxblod); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: 2rem;
  padding: clamp(2rem, 5vw, 4.5rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero-logo { width: min(540px, 100%); margin: 0 0 2rem -.4rem; }
.hero h1 {
  font-family: var(--display); color: var(--plank);
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.3rem); line-height: 1.08;
  max-width: 14ch;
}
.hero-lede { margin-top: 1rem; max-width: 34rem; font-size: 1.15rem; line-height: 1.5; color: rgb(255 255 255 / .9); }
.hero .actions { margin-top: 1.75rem; }

.status { margin-top: 1.25rem; display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1rem; }
.status-dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--plank); flex: none; }
.status[data-open="true"] .status-dot { background: #6fd06a; box-shadow: 0 0 0 4px rgb(111 208 106 / .2); }
.status[data-open="false"] .status-dot { background: #e2564c; }
.status-light[data-open="true"] .status-dot { background: #6fd06a; }

.hero-pizzas { position: relative; height: clamp(30rem, 44vw, 38rem); margin-right: calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2 + var(--gutter))); }
.hero-pizzas li { position: absolute; width: var(--s); }
.hero-pizzas img { width: 100%; filter: drop-shadow(0 18px 22px rgb(0 0 0 / .45)); }
.hero-pizzas .cap {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, -.2rem);
  display: flex; gap: .45rem; align-items: baseline; white-space: nowrap;
  font-size: .9rem; color: rgb(255 255 255 / .85);
}
.hero-pizzas .cap b { color: var(--plank); font-weight: 700; font-stretch: 90%; font-size: 1rem; }
/* Placeringen är handsatt: pizzorna ligger löst, och en går ut över kanten. */
.hero-pizzas li:nth-child(1) { --s: 15rem; --i: 0; left: 0;   top: 3%;  }
.hero-pizzas li:nth-child(2) { --s: 18rem; --i: 1; left: 33%; top: -6%; }
.hero-pizzas li:nth-child(3) { --s: 16rem; --i: 2; left: 47%; top: 50%; }
.hero-pizzas li:nth-child(4) { --s: 14rem; --i: 3; left: 73%; top: 15%; }
.hero-pizzas li:nth-child(5) { --s: 13rem; --i: 4; left: 21%; top: 51%; }
.hero-pizzas li:nth-child(6) { --s: 10.5rem; --i: 5; left: -7%; top: 69%; }

@media (prefers-reduced-motion: no-preference) {
  .hero-pizzas li { animation: serve .9s cubic-bezier(.2, .8, .25, 1) backwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
  @keyframes serve {
    from { opacity: 0; transform: translate(3.5rem, -1rem) rotate(-24deg); }
  }
}

/* ---------- Meny ---------- */
.menu { max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) 2rem; }
.menu-head { display: grid; grid-template-columns: auto minmax(0, 36rem) auto; gap: 1rem 3rem; align-items: end; }
.menu-head h2, .about h2, .visit h2 { font-family: var(--display); font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.6rem); line-height: 1; }
.menu-head p { color: var(--grafit); }
.menu-head p a { color: var(--blak); font-weight: 700; white-space: nowrap; }

.menu-bar {
  position: sticky; top: 0; z-index: 10;
  margin: 2.25rem calc(var(--gutter) * -1) 0; padding: .6rem var(--gutter);
  background: rgb(239 238 233 / .96);
  border-bottom: 1px solid var(--linje);
  display: flex; align-items: center; gap: 1rem;
}
@supports (backdrop-filter: blur(6px)) { .menu-bar { background: rgb(239 238 233 / .86); backdrop-filter: blur(8px); } }
.menu-nav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav ul { display: flex; gap: .4rem; }
.menu-nav a {
  display: block; white-space: nowrap; text-decoration: none;
  padding: .55rem .9rem; border-radius: 999px;
  font-weight: 600; font-stretch: 94%; font-size: .98rem;
  border: 1.5px solid var(--linje);
}
.menu-nav a:hover { border-color: var(--blak); }
.menu-nav a[aria-current="true"] { background: var(--oxblod); border-color: var(--oxblod); color: #fff; }
.menu-search { flex: 0 1 17rem; }
.menu-search input {
  width: 100%; min-height: 2.75rem; padding: .5rem .9rem;
  font: inherit; font-size: 1rem; color: var(--blak);
  background: #fff; border: 1.5px solid var(--linje); border-radius: 6px;
}
.menu-search input:focus { border-color: var(--blak); outline: none; }
.menu-search input:focus-visible { outline: 3px solid var(--signal); outline-offset: 1px; }
.menu-empty { margin-top: 2rem; font-size: 1.1rem; }
.menu-empty:empty { margin: 0; }
.menu-empty button { font: inherit; font-weight: 700; color: var(--signal); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

.m-group { padding-top: 3rem; scroll-margin-top: 4.5rem; }
.m-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.5rem; padding-bottom: .9rem; border-bottom: 3px solid var(--blak); }
.m-group-head h3 { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); line-height: 1.1; }
.m-group-head p { color: var(--grafit); max-width: 40rem; }
.m-cat { margin-top: 1.9rem; }
.m-cat h4 { font-weight: 750; font-stretch: 88%; font-size: 1.2rem; display: flex; gap: .75rem; align-items: baseline; }
.m-cat h4 small { font-weight: 450; font-stretch: 100%; font-size: .95rem; color: var(--grafit); }

.m-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.5rem; margin-top: .4rem; }
.dish {
  display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); gap: 0 1rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px solid var(--linje);
}
.dish-img { width: 4.75rem; height: 4.75rem; grid-row: span 1; }
.dish-img img { width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 86%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 86%, transparent 100%); }
.dish-noimg { width: 4.75rem; }
.dish-line { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.dish-name { min-width: 0; overflow-wrap: break-word; font-weight: 700; font-stretch: 92%; font-size: 1.06rem; line-height: 1.25; }
.dish-desc { color: var(--grafit); font-size: .95rem; line-height: 1.4; margin-top: .15rem; }
.dish-note { font-size: .88rem; color: var(--grafit); margin-top: .2rem; font-style: italic; }
.dish-price { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
.dish-price small { font-weight: 500; font-size: .85rem; color: var(--grafit); }
.tag { display: inline-block; margin-left: .35rem; padding: .02rem .45rem; border-radius: 4px; font-size: .78rem; font-weight: 650; font-stretch: 100%; vertical-align: .1em; }
.tag-veg { background: #dcebd5; color: #23511f; }
.tag-hot { background: #f6d6cf; color: #8a1a10; }
/* Tillbehör och dryck: tät lista utan bilder. */
.m-list-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; }
.m-list-compact .dish { display: block; padding: .55rem 0; }
.m-list-compact .dish-name { font-weight: 550; }
.dish[hidden], .m-cat[hidden], .m-group[hidden] { display: none; }
/* Slut för tillfället (enligt GloriaFood): rätten står kvar men tonas ned. */
.dish.is-out .dish-img, .dish.is-out .dish-name, .dish.is-out .dish-desc, .dish.is-out .dish-note { opacity: .55; }
.dish-price.dish-out { font-weight: 600; font-size: .9rem; color: var(--grafit); }

/* ---------- Om oss ---------- */
.about {
  max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem 4rem; align-items: start;
}
.about-text > p { margin-top: 1rem; max-width: 34rem; font-size: 1.1rem; }
.about-text > h2 { max-width: 12ch; }
.facts { margin-top: 2rem; display: grid; gap: 1rem; max-width: 34rem; }
.facts li { padding-left: 1rem; border-left: 4px solid var(--plank); color: var(--grafit); }
.facts strong { display: block; color: var(--blak); font-stretch: 92%; font-size: 1.08rem; }
.booking { margin-top: 2.5rem; padding: 1.5rem 1.6rem; background: var(--bord-2); border-radius: 8px; max-width: 34rem; scroll-margin-top: 1rem; }
.booking h3 { font-family: var(--display); font-size: 1.6rem; }
.booking p { margin: .4rem 0 1.1rem; color: var(--grafit); }
.booking p a { color: var(--blak); font-weight: 700; white-space: nowrap; }
.about-dishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; align-content: start; padding-top: 1rem; }
.about-dishes li:first-child { grid-column: 1 / -1; }
.about-dishes img {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%);
}
.about-dishes span { display: block; margin-top: -.4rem; font-weight: 650; font-stretch: 92%; color: var(--grafit); text-align: center; }

/* ---------- Hitta hit ---------- */
.visit {
  background: var(--oxblod); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 4rem;
  padding: clamp(3.5rem, 7vw, 5.5rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.visit h2 { color: var(--plank); }
.visit address { margin-top: 1.5rem; font-size: 1.35rem; line-height: 1.45; }
.visit-name { display: block; font-weight: 700; font-stretch: 92%; color: var(--plank); font-size: 1.05rem; margin-bottom: .25rem; }
.visit-links { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.link { color: #fff; font-weight: 650; text-underline-offset: 4px; padding: .5rem 0; }
.link:hover { color: var(--plank); }
.allergy { margin-top: 2rem; max-width: 30rem; color: rgb(255 255 255 / .85); }
.allergy strong { color: #fff; }
.visit h3 { font-family: var(--display); font-size: 1.7rem; color: var(--plank); }
.hours { margin-top: 1rem; border-collapse: collapse; width: 100%; max-width: 26rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid rgb(255 255 255 / .16); text-align: left; font-weight: 450; }
.hours td { text-align: right; }
.hours tr[data-today] th, .hours tr[data-today] td { font-weight: 750; color: var(--plank); }
.idag { margin-left: .5rem; font-size: .82rem; font-weight: 600; color: var(--oxblod); background: var(--plank); padding: .05rem .4rem; border-radius: 4px; }
.visit .actions { margin-top: 1.75rem; }

/* ---------- Sidfot ---------- */
.foot { background: var(--oxblod-2); color: rgb(255 255 255 / .82); padding: 2rem var(--gutter) 2.25rem; text-align: center; font-size: .95rem; }
.foot-social { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: .9rem; }
.foot-social a { color: #fff; font-weight: 650; text-underline-offset: 4px; padding: .4rem 0; display: inline-block; }
.foot-social a:hover { color: var(--plank); }

/* ---------- Fast rad på mobil ---------- */
.bar { display: none; }

/* ---------- Mellanstorlek ---------- */
@media (max-width: 1100px) {
  .menu-head { grid-template-columns: minmax(0, 1fr) auto; }
  .menu-head p { grid-column: 1 / -1; grid-row: 2; }
  .m-list { column-gap: 2.25rem; }
}

/* ---------- Mobil ---------- */
@media (max-width: 899px) {
  body { font-size: 1rem; }
  .hide-s { display: none; }
  .top-nav { gap: .9rem; }
  .top-nav ul { gap: 1rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-bottom: 2.5rem; }
  .hero-logo { margin-bottom: 1.5rem; }
  .hero .actions .btn { flex: 1 1 12rem; }
  .hero-pizzas { order: 2; margin-right: 0; height: auto; display: flex; justify-content: space-between; gap: .5rem; margin: .5rem 0 0; }
  .hero-pizzas li:nth-child(n) { position: relative; left: auto; top: auto; width: calc((100% - 1rem) / 3); }
  .hero-pizzas li:nth-child(n+4) { display: none; }
  .hero-pizzas .cap { position: static; transform: none; justify-content: center; flex-wrap: wrap; gap: 0 .4rem; margin-top: .3rem; font-size: .82rem; }
  .hero-pizzas .cap b { font-size: .92rem; }
  .menu-head { grid-template-columns: minmax(0, 1fr); }
  .menu-head p { grid-row: auto; }
  .menu-head .btn { justify-self: start; }
  .menu-bar { flex-direction: column; align-items: stretch; gap: .5rem; padding-top: .5rem; padding-bottom: .5rem; }
  .menu-search { flex: none; }
  .menu-nav { margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .m-group { scroll-margin-top: 7.5rem; }
  .m-list, .m-list-compact { grid-template-columns: minmax(0, 1fr); }
  .dish { grid-template-columns: 4rem minmax(0, 1fr); gap: 0 .85rem; }
  .dish-img, .dish-noimg { width: 4rem; }
  .dish-img { height: 4rem; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .bar {
    display: grid; grid-template-columns: 1fr 2fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    background: var(--oxblod); box-shadow: 0 -6px 18px rgb(0 0 0 / .2);
    transform: translateY(110%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .bar.is-on { transform: none; visibility: visible; transition: transform .25s ease; }
  .foot { padding-bottom: 6rem; }
}
@media (max-width: 380px) {
  .top-tel { font-size: .95rem; }
  .hero-pizzas .cap span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar, .bar.is-on, .btn { transition: none; }
}

/* ---------- 404 ---------- */
.lost { background: var(--oxblod); }
.lost .foot { padding-bottom: 2.25rem; }
.hero-lost { min-height: 100vh; min-height: 100dvh; grid-template-columns: minmax(0, 40rem); }
