* {
  box-sizing: border-box;
}
body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #fdf8f0;
  color: #2b2b2b;
  margin: 0;
  padding: 40px 20px;
}
.menu {
  max-width: 820px;
  margin: 0 auto;
  background: #fffaf2;
  padding: 50px 60px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #e8dcc0;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8dcc0;
}
.page-header img {
  height: 48px;
  width: auto;
  max-width: 100%;
}
.home-btn {
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.95em;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #8b1a1a;
  background: transparent;
  padding: 8px 18px;
  text-decoration: none;
  border: 1.5px solid #8b1a1a;
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.home-btn:hover {
  background: #8b1a1a;
  color: #fffaf2;
}
h1 {
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  font-size: 2.8em;
  margin: 0 0 30px 0;
  letter-spacing: 4px;
  border-bottom: 2px solid #8b1a1a;
  padding-bottom: 15px;
  color: #8b1a1a;
}
h2.section {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.9em;
  color: #8b1a1a;
  margin: 40px 0 15px 0;
  letter-spacing: 3px;
  text-align: center;
  border-bottom: 1px solid #d4c5a0;
  padding-bottom: 8px;
}
.dish, .pizza {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px dotted #d4c5a0;
}
.dish:last-of-type, .pizza:last-of-type {
  border-bottom: none;
}
.name {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 1.45em;
  color: #1a1a1a;
  word-wrap: break-word;
}
.allergens {
  font-size: 0.85em;
  color: #8b1a1a;
  margin-left: 6px;
  font-weight: normal;
  white-space: nowrap;
}
.portion {
  font-size: 0.75em;
  color: #666;
  font-weight: normal;
  font-style: italic;
}
.price {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 1.25em;
  text-align: right;
  color: #1a1a1a;
  white-space: nowrap;
  min-width: 90px;
}
.ingredients {
  grid-column: 1 / 2;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92em;
  color: #555;
  margin-top: 2px;
  line-height: 1.4;
}
.sub-item {
  margin: 10px 0 10px 20px;
  padding-left: 14px;
  border-left: 2px solid #d4c5a0;
}
.sub-item .sub-name {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  font-size: 1.1em;
  color: #2b2b2b;
  display: block;
  margin-bottom: 3px;
}
.sub-item .sub-ingredients {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.88em;
  color: #555;
  line-height: 1.4;
}
.contorni-box {
  background: #f5ead0;
  border: 1px solid #d4c5a0;
  padding: 20px 30px;
  margin: 15px 0;
}
.contorni-box p.intro {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  color: #555;
  margin: 0 0 12px 0;
  font-size: 0.92em;
  text-align: center;
}
.contorni-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 30px;
}
.contorni-box li {
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.05em;
  padding: 4px 0;
  color: #1a1a1a;
  break-inside: avoid;
}
.allergeni-box {
  margin-top: 40px;
  padding: 25px 30px;
  background: #f5ead0;
  border: 1px solid #d4c5a0;
}
.allergeni-box h2 {
  font-family: 'Times New Roman', Times, serif;
  margin: 0 0 15px 0;
  font-size: 1.4em;
  letter-spacing: 2px;
  color: #8b1a1a;
  text-align: center;
}
.allergeni-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 20px;
  font-size: 0.88em;
  margin: 10px 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #444;
}
.note {
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
  color: #666;
  font-size: 0.85em;
  margin: 6px 0;
  line-height: 1.6;
}
.notice {
  background: #f5ead0;
  border-left: 4px solid #8b1a1a;
  padding: 18px 25px;
  margin: 25px 0;
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  color: #4a3a2a;
  font-size: 1em;
  line-height: 1.55;
}
.credit {
  max-width: 820px;
  margin: 20px auto 0 auto;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78em;
  color: #999;
  letter-spacing: 1px;
  padding: 0 10px;
}
.credit a {
  color: #8b1a1a;
  text-decoration: none;
  font-weight: bold;
}
.credit a:hover {
  text-decoration: underline;
}

/* Tablet & small laptops */
@media (max-width: 768px) {
  body { padding: 25px 15px; }
  .menu { padding: 40px 35px; }
  h1 { font-size: 2.3em; letter-spacing: 3px; }
  h2.section { font-size: 1.7em; letter-spacing: 2px; }
  .page-header img { height: 42px; }
  .name { font-size: 1.3em; }
  .price { font-size: 1.15em; min-width: 80px; }
  .allergeni-box { padding: 20px 22px; }
  .contorni-box { padding: 18px 22px; }
}

/* Phones */
@media (max-width: 500px) {
  body { padding: 15px 10px; }
  .menu { padding: 25px 18px; }
  .page-header {
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
  .page-header img { height: 33px; }
  .home-btn {
    font-size: 0.75em;
    padding: 6px 12px;
    letter-spacing: 1px;
  }
  h1 {
    font-size: 1.9em;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }
  h2.section {
    font-size: 1.35em;
    letter-spacing: 1.5px;
    margin: 28px 0 12px 0;
  }
  .dish, .pizza {
    padding: 12px 0;
    gap: 8px;
  }
  .name { font-size: 1.1em; }
  .allergens {
    font-size: 0.75em;
    margin-left: 4px;
    display: inline-block;
  }
  .portion {
    font-size: 0.7em;
    display: block;
    margin-top: 2px;
  }
  .price {
    font-size: 1em;
    min-width: 60px;
  }
  .ingredients { font-size: 0.85em; }
  .sub-item {
    margin: 8px 0 8px 8px;
    padding-left: 10px;
  }
  .sub-item .sub-name { font-size: 1em; }
  .sub-item .sub-ingredients { font-size: 0.82em; }
  .contorni-box {
    padding: 15px 18px;
  }
  .contorni-box ul { column-count: 1; }
  .notice {
    padding: 14px 18px;
    font-size: 0.92em;
    margin: 18px 0;
  }
  .allergeni-box {
    padding: 18px 16px;
    margin-top: 25px;
  }
  .allergeni-box h2 { font-size: 1.2em; }
  .allergeni-grid {
    grid-template-columns: 1fr;
    font-size: 0.82em;
    gap: 3px;
  }
  .note { font-size: 0.78em; }
}

/* Very small phones */
@media (max-width: 360px) {
  .menu { padding: 20px 12px; }
  .page-header img { height: 27px; }
  .home-btn {
    font-size: 0.68em;
    padding: 5px 9px;
    letter-spacing: 0.5px;
  }
  h1 { font-size: 1.6em; }
  h2.section { font-size: 1.2em; }
  .name { font-size: 1em; }
  .price { font-size: 0.95em; min-width: 55px; }
  .ingredients { font-size: 0.8em; }
}
