.menu-page {
  background: #07120e;
}
.menu-shell {
  padding-top: 70px;
}
.menu-hero {
  padding: 92px max(20px, calc((100% - 1180px) / 2)) 42px;
  border-bottom: 1px solid rgba(201, 165, 106, 0.3);
  background:
    linear-gradient(90deg, rgba(7, 18, 14, 0.95), rgba(7, 18, 14, 0.68)),
    url("source-materiale/billeder/2022/02/Maden-v2-HD-1080p-mov-image.jpg")
      center/cover;
}
.menu-hero h1 {
  font-size: clamp(52px, 8vw, 96px);
  margin: 12px 0;
}
.menu-hero > p:not(.eyebrow) {
  max-width: 580px;
  color: #c5c4b9;
  font-size: 17px;
  line-height: 1.6;
}
.menu-app {
  border-bottom: 1px solid rgba(201, 165, 106, 0.3);
}
.menu-toolbar {
  width: min(calc(100% - 40px), 1180px);
  margin: auto;
  padding: 26px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(201, 165, 106, 0.3);
}
.menu-switch {
  display: flex;
  gap: 8px;
}
.menu-scroll-arrow {
  display: none;
}
.menu-switch button {
  min-width: 140px;
  padding: 12px 18px;
  border: 1px solid rgba(201, 165, 106, 0.3);
  background: transparent;
  color: #a8aaa0;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.menu-switch button.is-active,
.menu-switch button:hover {
  border-color: #c9a56a;
  background: #c9a56a;
  color: #07120e;
}
.menu-switch small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.05em;
}
.menu-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.menu-toolbar input {
  width: min(100%, 330px);
  padding: 12px 14px;
  border: 1px solid rgba(201, 165, 106, 0.3);
  background: #0e1c16;
  color: #e8e4d8;
  outline: 0;
  font-size: 14px;
}
.menu-toolbar input:focus {
  border-color: #c9a56a;
}
.menu-layout {
  width: min(calc(100% - 40px), 1180px);
  margin: auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 60px;
  padding: 54px 0 110px;
}
.menu-sidebar {
  align-self: start;
  position: sticky;
  top: 95px;
}
.category-link {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: #a8aaa0;
  text-align: left;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.menu-sidebar nav {
  display: grid;
  gap: 0;
}
.category-link.is-active,
.category-link:hover {
  color: #c9a56a;
}
.menu-result-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 8px;
}
.menu-result-heading #menuCount {
  color: #a8aaa0;
  font-size: 12px;
}
.menu-group {
  margin-bottom: 62px;
  scroll-margin-top: 105px;
}
.menu-group h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 40px;
  color: #e8e4d8;
  font-weight: 600;
  margin-bottom: 28px;
}
.menu-group h2:after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(201, 165, 106, 0.3);
}
.menu-group-description {
  margin: -12px 0 14px;
  color: #a8aaa0;
  font-size: 14px;
  line-height: 1.45;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(201, 165, 106, 0.3);
}
.menu-item h3 {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.menu-item p {
  max-width: 650px;
  margin: 5px 0 0;
  color: #a8aaa0;
  font-size: 14px;
  line-height: 1.5;
}
.menu-price {
  align-self: start;
  color: #c9a56a;
  font-size: 13px;
  white-space: nowrap;
}
.menu-footer-note {
  padding: 30px max(20px, calc((100% - 1180px) / 2));
  color: #a8aaa0;
  font-size: 12px;
}
.menu-footer-note a {
  display: inline-block;
  margin: 14px 25px 0 0;
  color: #c9a56a;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.no-results {
  padding: 35px 0;
  color: #a8aaa0;
}
@media (max-width: 760px) {
  .menu-toolbar {
    display: block;
    padding: 18px 0;
  }
  .menu-switch-wrap {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    grid-row: 1;
    position: sticky;
    top: 58px;
    z-index: 42;
    background: #07120e;
    box-shadow: 0 8px 18px rgba(7, 11, 9, 0.42);
  }
  .menu-switch {
    grid-column: 2;
    overflow-x: auto;
    padding: 12px 0 8px;
  }
  .menu-scroll-arrow {
    display: grid;
    place-items: center;
    align-self: stretch;
    z-index: 1;
    padding: 0;
    border: 0;
    background: #07120e;
    color: var(--gold);
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1;
  }
  .menu-scroll-arrow-left {
    grid-column: 1;
  }
  .menu-scroll-arrow-right {
    grid-column: 3;
  }
  .menu-scroll-arrow:focus-visible {
    outline: 1px solid var(--gold);
    outline-offset: -3px;
  }
  .menu-switch button {
    min-width: 132px;
  }
  .menu-toolbar input {
    width: 100%;
    box-sizing: border-box;
  }
  .menu-layout {
    display: block;
    width: 100%;
    padding: 0 0 74px;
  }
  .menu-sidebar {
    position: sticky;
    z-index: 2;
    top: 70px;
    padding: 16px 20px;
    background: #07120e;
    border-bottom: 1px solid rgba(201, 165, 106, 0.3);
  }
  .menu-sidebar .eyebrow {
    display: none;
  }
  .menu-sidebar nav {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .menu-sidebar nav::-webkit-scrollbar {
    display: none;
  }
  .menu-category-scroll {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    align-items: stretch;
  }
  .menu-category-scroll nav {
    grid-column: 2;
  }
  .category-link {
    flex: 0 0 auto;
    width: auto;
    margin-bottom: 0;
    padding: 8px 10px;
    border: 1px solid rgba(201, 165, 106, 0.25);
    font-size: 10px;
    font-weight: 700;
  }
  .menu-results {
    padding: 38px 20px 0;
  }
  .menu-group h2 {
    font-size: 34px;
    font-weight: 600;
  }
  .menu-item {
    display: block;
  }
  .menu-price {
    display: block;
    margin-top: 7px;
  }
  .menu-result-heading {
    margin-bottom: 24px;
  }
}

/* Prisen står ud for retten og er højrestillet. */
.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 20px;
  row-gap: 0;
}
.menu-price {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: block;
  margin: 0;
  color: #c9a56a;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
/* Remove the decorative rule on the right side of each menu category heading. */
.menu-group h2:after {
  display: none;
}
/* Fælles typografi med Tidslös */
.menu-group h2 {
  font-family: Georgia, "Times New Roman", serif;
}
.menu-item h3 {
  font-family: "Tidslos Sans", Arial, sans-serif;
}

/* Ensartede, diskrete gyldne skillelinjer. */
.menu-hero,
.menu-app,
.menu-toolbar {
  border-color: rgba(201, 165, 106, 0.58);
}
.category-link,
.menu-item {
  border-color: var(--line);
}
@media (max-width: 760px) {
  .menu-sidebar {
    border-color: var(--line);
  }
  .category-link {
    border-color: var(--line);
  }
}

/* Menu-kategorier og underkategorier skal stå tydeligt med fed skrift. */
.menu-switch button,
.category-link,
.menu-group h2 {
  font-weight: 700;
}

/* Tæt og rolig opbygning af hver ret: pris, navn og ingredienser. */
.menu-item {
  padding: 12px 0;
}
.menu-price {
  margin: 0;
}
.menu-item h3 {
  margin: 0;
  color: #c9a56a;
  line-height: 1.25;
}
.menu-item p {
  margin: 2px 0 0;
  line-height: 1.4;
}
.menu-group .menu-item:last-child {
  border-bottom-color: var(--line);
}
.menu-group .menu-item {
  border-top: 0;
  border-bottom: 0;
}
.menu-group .menu-item-no-description {
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
}

/* Lille luft efter skillelinjen i bøfsektionerne før næste ret. */
#koed .menu-item + .menu-item,
#plankeboeffer .menu-item + .menu-item {
  padding-top: 16px;
}
.menu-item > div {
  display: contents;
}
.menu-item h3 {
  grid-column: 1;
  grid-row: 1;
}
.menu-item p {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid var(--line);
}
:root {
  --line: rgba(201, 165, 106, 0.58);
}
#menuContent > .menu-group:first-child h2 {
  margin-top: 0;
}

/* På mobil beholdes den kompakte prislinje over retten. */
@media (max-width: 760px) {
  .menu-item {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .menu-item > div {
    display: block;
  }
  .menu-price {
    order: -1;
    grid-column: auto;
    grid-row: auto;
    margin: 0 0 2px;
    text-align: left;
  }
  .menu-item p {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Kompakt mobilmenu med Tidslös-inspireret kontrolrækkefølge. */
@media (max-width: 760px) {
  .menu-hero {
    display: none;
  }
  .menu-shell {
    padding-top: 60px;
  }
  .menu-app {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 0;
  }
  .menu-toolbar,
  .menu-layout {
    display: contents;
  }
  .menu-switch-wrap {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    grid-row: 1;
    position: sticky;
    top: 60px;
    z-index: 42;
    background: #07120e;
    box-shadow: 0 8px 18px rgba(7, 11, 9, 0.42);
  }
  .menu-switch {
    grid-column: 2;
    position: static;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0 8px;
    scrollbar-width: none;
  }
  .menu-switch::-webkit-scrollbar {
    display: none;
  }
  .menu-switch button {
    min-width: 132px;
  }
  .menu-sidebar {
    position: sticky;
    top: 123px;
    z-index: 41;
    grid-row: 2;
    padding: 8px 20px 10px;
    border-bottom: 0;
    background: #07120e;
    box-shadow: 0 8px 18px rgba(7, 11, 9, 0.36);
  }
  .menu-sidebar nav {
    gap: 7px;
  }
  .menu-toolbar input {
    position: sticky;
    top: 176px;
    z-index: 40;
    grid-row: 3;
    justify-self: end;
    width: min(210px, calc(100% - 40px));
    margin: 0 20px 12px;
    box-shadow: 0 8px 18px rgba(7, 11, 9, 0.3);
  }
  .menu-results {
    grid-row: 4;
    padding: 10px 20px 74px;
  }
}
