html, body {
  margin: 0;
  width: 1920px;
  height: 1080px;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.7) 100%),
    url('background.jpg') center/cover no-repeat;
  background-color: #000000;
  color: #ffffff;
  font-family: Montserrat, sans-serif;
  box-sizing: border-box
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  padding: 15px 100px;
  display: flex;
}

.menu-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 32px;
}


.menu-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 0.5fr);
  align-items: center;
  gap: 24px;
  border-bottom: 3px solid var(--brand-orange);
  padding-bottom: 10px; /* Adjust spacing to accommodate the line */
}

.menu-top__logo img {
  width: clamp(260px, 24vw, 400px);
  padding: 0px 10px;
  max-width: 100%;
  max-height: 130px;
  display: block;
  object-fit: contain;
}

.menu-top__notice {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-line;
}

.menu-top__spacer {
  justify-self: end;
  width: clamp(160px, 20vw, 260px);
  height: 0px;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0 20px; /* Match menu-list margin for alignment */
  padding: 10px 0; /* Adjust padding for alignment */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: transparent; /* No background on main header */
}

.menu-header--columns-1 {
  grid-template-columns: 1fr 130px;
}

.menu-header--columns-2 {
  grid-template-columns: 1fr 180px 150px;
}

.menu-header--columns-chicken {
  grid-template-columns: 1fr 90px 90px 90px; /* Adjusted for Chicken */
}

/* Column layouts for price-columns to match menu items */
.price-columns--2 {
  grid-template-columns: 240px 180px;
}

.price-columns--3 {
  grid-template-columns: 200px 255px 255px;
}

.price-columns--1 {
  grid-template-columns: 250px;
}
.menu-title {
  display: flex; /* Align title and price-columns in the same row */
  align-items: center; /* Vertically align the title with the price-columns */
  gap: 16px; /* Add spacing between the title and price-columns */
}

.menu-title h1,
.price-column-label {
  margin: 0;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.14em;
}

.menu-title h1 {
  margin: 0;
}

.price-columns {
  display: grid; /* Use grid to match menu item layout */
  column-gap: 40px; /* Match the column-gap from menu-item */
  align-items: center; /* Vertically align items */
}

.price-column-label {
  display: inline-flex; /* Keep labels inline */
  align-items: baseline; /* Align text properly */
  gap: 8px; /* Adjust spacing within labels */
  justify-self: end; /* Align to the right */
  text-align: right; /* Right-align text */
}

.price-column-note {
  margin-top: 0;
  font-size: 25px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
}

.menu-list {
  list-style: none;
  margin: 0 20px; /* Add horizontal margin for padding from edges */
  padding: 20px; /* Add internal padding */
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* Distribute items evenly with equal spacing */
  flex-grow: 1; /* Take up available vertical space */
  background-color: rgba(0, 0, 0, 0.603);
}

/* Multi-column layout for screen4 */
.menu-list--multi-column {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  background-color: transparent; /* No background - sections have their own */
  margin: 0 20px; /* Add horizontal margin */
  padding: 20px 0; /* Vertical padding only */
}

.menu-section {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* Distribute items evenly with equal spacing */
  background-color: rgba(0, 0, 0, 0.603);
  padding: 20px; /* Add internal padding */
}

.menu-section.left-column {
  grid-column: 1;
  grid-row: 1 / 3; /* Spans both rows */
}

.menu-section.right-top {
  grid-column: 2;
  grid-row: 1;
}

.menu-section.right-bottom {
  grid-column: 2;
  grid-row: 2;
}

.menu-section .menu-header {
  flex-shrink: 0;
  margin: -20px -20px 20px -20px; /* Extend to edges, add bottom margin */
  padding: 10px 20px; /* Add padding inside */
  background-color: transparent; /* No background for section headers */
}

/* Section headers and divs inside menu-list (for screen3 only, not screen4) */
.menu-list:not(.menu-list--multi-column) .menu-section {
  background-color: transparent; /* No background - parent menu-list has it */
  padding: 0; /* No padding - parent menu-list has it */
  margin: 0;
}

.menu-list .menu-header {
  margin: 0 -20px; /* Extend to edges of menu-list padding */
  padding: 10px 20px;
  background-color: transparent;
}

.menu-item {
  display: grid;
  align-items: center;
  padding: 3px 0;
  padding-bottom: 6px;
  column-gap: 40px;
  border-bottom: 2px dotted rgba(255, 255, 255, 0.25);
  padding-right: 20px; /* Ensure 20px gap on the right-hand side */
}

.menu-item:first-child {
  border-top: 0px dotted rgba(255, 255, 255, 0.25);
}
.menu-item:last-child {
  padding-bottom: 15px;
  border-bottom: 0px dotted rgba(255, 255, 255, 0.25);
}


.menu-item--columns-1 {
  grid-template-columns: 1fr 220px;
}

.menu-item--columns-2 {
  grid-template-columns: 1fr 240px 180px;
}

.menu-item--columns-3 {
  grid-template-columns: 1fr 200px 255px 255px; /* First column narrower for more description space */
}

.menu-item--columns-chicken {
  grid-template-columns: 1fr 90px 90px 90px; /* Adjusted for Chicken */
}

.menu-item--empty {
  justify-content: center;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  border-bottom: none;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 15px;
}

.item-name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.item-description {
  font-size: 22px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.item-description::before,
.item-description::after {
  content: ' / ';
  color: var(--brand-red);
}

.item-price {
  justify-self: end;
  text-align: right;
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--brand-orange);
}

.price-value {
  white-space: nowrap;
}

.price-missing {
  opacity: 0.4;
}

/* Multi-price snack items (3 KS / 6 KS / 10 KS inline layout) */
.menu-item--multi-price-snack {
  grid-template-columns: 1fr; /* Full width for item info */
}

.menu-item--multi-price-snack .item-info {
  gap: 8px;
}

.item-prices-inline {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-top: 4px;
  justify-content: flex-end;
}

.inline-price-group {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.inline-price-label {
  font-size: 22px;
  font-weight: 300;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 0.05em;
}

.inline-price-group .price-value {
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-orange);
}

:root {
  --brand-orange: #E8A845;
  --brand-red: #E30512;
}