/* Multi-page 8.5×11″ designer handoff — use with printable-menu.css for .pm-* item styles */
@page {
  size: letter;
  margin: 0.45in;
}

.mm-master {
  margin: 0;
  background: #e6e6eb;
}

.mm-doc {
  max-width: 8.5in;
  margin: 0 auto;
}

.mm-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(11, 11, 15, 0.92);
  color: #fff;
  border-bottom: 2px solid rgba(240, 208, 96, 0.5);
}
.mm-toolbar .mm-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.9rem;
}
.mm-toolbar .mm-btn-primary {
  background: linear-gradient(135deg, #b91c1c, #991b1b);
  border-color: rgba(255, 255, 255, 0.25);
}
.mm-toolbar-note {
  font-size: 0.78rem;
  opacity: 0.92;
  text-align: center;
  width: 100%;
  max-width: 42rem;
  line-height: 1.35;
}

.mm-page {
  box-sizing: border-box;
  width: 8.5in;
  min-height: 11in;
  padding: 0.42in 0.48in;
  margin: 14px auto;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  page-break-after: always;
  break-after: page;
  position: relative;
}

.mm-page:last-child {
  page-break-after: auto;
  break-after: auto;
}

.mm-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
}

.mm-cover-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.mm-cover h1 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: #0b0b0f;
}

.mm-cover .mm-tagline {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: #444;
  max-width: 28rem;
  line-height: 1.4;
}

.mm-cover .mm-address {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.mm-cover .mm-phone {
  font-size: 1.25rem;
  font-weight: 800;
  color: #b91c1c;
  margin: 0.15rem 0;
}

.mm-cover .mm-url {
  font-size: 0.9rem;
  color: #333;
}

.mm-cover .mm-instructions {
  margin-top: 1.25rem;
  padding: 12px 16px;
  max-width: 32rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #333;
  border: 1px dashed rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  background: #fafafa;
}

.mm-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 3px solid rgba(185, 28, 28, 0.55);
}

.mm-brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.02);
}

.mm-brand-head h1 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: #0b0b0f;
}

.mm-brand-head p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: #555;
}

.mm-page-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.72rem;
  color: #555;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.mm-grid-tight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.mm-span-2 {
  grid-column: 1 / -1;
}

@media (max-width: 700px) {
  .mm-page {
    width: 100%;
    min-height: 0;
    margin: 8px;
    padding: 12px;
  }
  .mm-grid-tight {
    grid-template-columns: 1fr;
  }
}

/* Slightly denser type on packed pages */
.mm-page .pm-section {
  padding: 8px 10px 8px;
}
.mm-page .pm-item {
  padding: 3px 0;
}
.mm-page .pm-item-name {
  font-size: 0.82rem;
}
.mm-page .pm-item-price {
  font-size: 0.84rem;
}
.mm-page .pm-section-title {
  font-size: 0.88rem;
}
.mm-page .pm-note {
  font-size: 0.72rem;
}

.mm-page--coming-soon .mm-brand-head,
.mm-page--coming-soon .mm-grid-tight,
.mm-page--coming-soon .mm-page-footer {
  opacity: 0.42;
}

.mm-page-coming-stamp {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.mm-page-coming-stamp span {
  transform: rotate(-14deg);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(185, 28, 28, 0.88);
  border: 0.12em solid rgba(185, 28, 28, 0.88);
  padding: 0.12em 0.35em;
  background: rgba(255, 255, 255, 0.72);
}

.mm-coming {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 2px dashed rgba(0, 0, 0, 0.2);
  text-align: center;
}
.mm-coming strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

@media print {
  .mm-toolbar {
    display: none !important;
  }
  .mm-master {
    background: #fff;
  }
  .mm-page {
    margin: 0;
    box-shadow: none;
    width: 100%;
    min-height: 10.5in;
    page-break-after: always;
    break-after: page;
  }
  .mm-page:last-child {
    page-break-after: auto;
    break-after: auto;
  }
}
