/* Ottimo printable menu — two A4 sheets, same look on screen and in print. */
:root {
  --paper: #F7EEDF;
  --brown: #7B4A26;
  --brown-pill: #8A5A2F;
  --green: #0E7A5F;
  --ink: #2A2420;
  --soft: #6E6157;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: var(--ink); background: #E9E4DA; }

/* toolbar (screen only) */
.mn-toolbar {
  position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; background: rgba(233,228,218,0.92); backdrop-filter: blur(8px);
}
.mn-back { color: var(--green); font-weight: 600; text-decoration: none; }
.mn-print { border: 0; border-radius: 999px; padding: 10px 18px; background: var(--green); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.mn-print:hover { filter: brightness(1.1); }

/* sheets */
.mn-sheets { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; padding: 12px 16px 48px; }
.mn-page {
  position: relative; overflow: hidden; width: 100%; max-width: 640px; aspect-ratio: 210 / 297;
  padding: 4.5% 7% 5%; display: flex; flex-direction: column; gap: 2.2%;
  background: var(--paper); box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  container-type: inline-size;
}
.mn-page > * { position: relative; z-index: 1; }

.mn-logo { display: block; width: 36cqw; margin: 0 auto 1.5cqw; }

.mn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; align-items: start; }
.mn-row-top { grid-template-columns: 1.1fr 0.9fr; }
.mn-row-mid { grid-template-columns: 0.85fr 1.15fr; align-items: center; }
.mn-row-bottom { grid-template-columns: 0.75fr 1.25fr; align-items: end; margin-top: auto; }
.mn-row-drinks { margin-top: auto; align-items: end; grid-template-columns: 0.82fr 1.18fr; }

/* big section titles */
.mn-title { font-family: 'Forum', serif; font-weight: 400; line-height: 0.95; letter-spacing: 0.02em; font-size: 13cqw; margin-bottom: 1.6cqw; }
.mn-title.brown { color: var(--brown); }
.mn-title.green { color: var(--green); }
.mn-title.long { font-size: 10.5cqw; }

/* small labels */
.mn-pill {
  display: inline-block; margin: 2.2cqw 0 1.1cqw; padding: 0.5cqw 2.2cqw; border-radius: 999px;
  font-family: 'Forum', serif; font-size: 2.1cqw; letter-spacing: 0.06em; color: #fff;
}
.mn-pill.brown { background: var(--brown-pill); }
.mn-pill.green { background: var(--green); }
.mn-group:first-of-type .mn-pill, .mn-coffee .mn-pill { margin-top: 0; }

/* item rows */
.mn-list { list-style: none; }
.mn-list li { display: flex; justify-content: space-between; gap: 2cqw; font-size: 1.85cqw; line-height: 1.45; }
.mn-name { color: var(--ink); }
.mn-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* product photos blend into the paper */
.mn-photo img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
}
.mn-photo-waffle { margin-top: 3cqw; transform: scale(1.12); transform-origin: left top; }
.mn-photo-tea { margin-top: 1cqw; transform: scale(1.1); transform-origin: right top; }
.mn-photo-shake { width: 74%; margin: 0 0 1cqw -3%; }

/* promo + order */
.mn-promo { background: var(--brown-pill); color: #fff; border-radius: 3.2cqw; padding: 2.6cqw 3.2cqw; }
.mn-promo-title { display: block; font-size: 3.4cqw; line-height: 1.15; font-weight: 600; letter-spacing: 0.02em; }
.mn-promo-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 2cqw; margin-top: 1cqw; }
.mn-promo-body p { font-size: 1.7cqw; line-height: 1.4; opacity: 0.95; }
.mn-promo .mn-price { font-size: 1.9cqw; }
.mn-order { display: flex; align-items: center; gap: 2.4cqw; font-size: 1.75cqw; line-height: 1.35; }
.mn-order strong { font-size: 4.4cqw; font-weight: 700; }
.mn-order img { width: 13cqw; height: 13cqw; background: #fff; padding: 0.6cqw; border-radius: 1cqw; }

/* coffee table */
.mn-table { width: 100%; border-collapse: collapse; font-size: 1.7cqw; }
.mn-table td.mn-name, .mn-ice-wrap .mn-name { white-space: nowrap; }
.mn-table th { text-align: center; padding-bottom: 0.8cqw; font-weight: 400; }
.mn-table td { padding: 0.12cqw 0; line-height: 1.4; }
.mn-table td.mn-price { text-align: center; }
.mn-table th:first-child { width: 40%; }
.mn-cup { display: block; margin: 0 auto 0.6cqw; color: #222; height: 3.6cqw; width: auto; }
.mn-cup-1 { height: 4.2cqw; } .mn-cup-2 { height: 4.8cqw; }
.mn-size { display: inline-block; padding: 0.3cqw 1.4cqw; border-radius: 999px; background: var(--green); color: #fff; font-size: 1.6cqw; white-space: nowrap; }
.mn-affogato td { padding-top: 1.6cqw; vertical-align: top; }
.mn-affogato small { display: block; font-size: 1.15cqw; color: var(--soft); }
.mn-icecoffee { margin-top: 2.2cqw; }
.mn-ice-wrap { display: flex; flex-direction: row-reverse; align-items: center; gap: 4cqw; }
.mn-ice-wrap .mn-list { flex: 1; }
.mn-ice-size { text-align: center; }

/* phones: pages stack and stay readable */
@media (max-width: 560px) {
  .mn-sheets { padding: 8px 8px 32px; gap: 18px; }
}

/* ---------- Print: exactly two A4 sheets ---------- */
@page { size: A4; margin: 0; }
@media print {
  body { background: none; }
  .mn-toolbar { display: none; }
  .mn-sheets { display: block; padding: 0; }
  .mn-page {
    width: 210mm; max-width: none; height: 297mm; aspect-ratio: auto; box-shadow: none;
    break-after: page; page-break-after: always;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .mn-page:last-child { break-after: auto; page-break-after: auto; }
}
