/* ==========================================================================
   price-menu.css: the one-page printable price menus
   (/detail/menu/ and /yard/prices/). Letter size, prints in color;
   on screen it shows the same page with a Print button.
   Colors come from detail.css / yard.css (the --pd-* tokens).
   ========================================================================== */

body.menu-page { background: #e5e7eb; margin: 0; }
.menu-tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2); padding: var(--space-4); }
.menu-tools__label { flex: 1 1 100%; text-align: center; color: #111827; }
.menu-sheet {
  width: 8.5in;
  min-height: 11in;
  margin: 0 auto var(--space-6);
  background: #fff;
  color: #111827;
  box-shadow: 0 10px 40px rgb(0 0 0 / 0.2);
  display: flex;
  flex-direction: column;
  font-size: 9.5pt;
}
.menu-head {
  display: flex;
  align-items: center;
  gap: 0.25in;
  padding: 0.2in 0.45in;
  background: var(--pd-black);
  color: #fff;
}
.menu-head img { width: 0.9in; height: 0.9in; object-fit: contain; }
.menu-head h1 { margin: 0; color: #fff; font-size: 21pt; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.05; }
.menu-head h1 span { display: block; color: var(--pd-accent); font-size: 13pt; letter-spacing: 0.3em; }
.menu-head p { margin: 4pt 0 0; color: #cbd5e1; font-size: 9.5pt; letter-spacing: 0.12em; text-transform: uppercase; }
.menu-body { flex: 1; padding: 0.16in 0.45in; display: grid; gap: 0.11in; align-content: start; }
.menu-section h2 {
  margin: 0 0 5pt;
  padding-bottom: 3pt;
  border-bottom: 2px solid var(--pd-accent-dark);
  color: var(--pd-accent-dark);
  font-size: 11pt;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.menu-table { width: 100%; border-collapse: collapse; }
.menu-table th { text-align: right; font-size: 8pt; color: #6b7280; text-transform: uppercase; letter-spacing: 0.06em; padding: 0 0 2pt 8pt; }
.menu-table th:first-child { text-align: left; padding-left: 0; }
.menu-table td { padding: 2.5pt 0; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.menu-table td + td { text-align: right; font-weight: 800; padding-left: 8pt; white-space: nowrap; color: var(--pd-accent-dark); }
.menu-table strong { display: block; }
.menu-table small { display: block; color: #6b7280; font-weight: 400; font-size: 7.5pt; }
.menu-two .menu-section + .menu-section { margin-top: 0.1in; }
/* Long menus: notes sit on the same line as the item. */
.menu-sheet--compact .menu-table strong { display: inline; }
.menu-sheet--compact .menu-table small { display: inline; margin-left: 4pt; }
.menu-sheet--compact .menu-section h2 { margin-bottom: 3pt; }
.menu-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.3in; }
.menu-sizes { display: flex; gap: 6pt; flex-wrap: wrap; font-size: 8.5pt; color: #374151; }
.menu-sizes span { padding: 2pt 6pt; border-radius: 4pt; background: #f3f4f6; }
.menu-notes { margin: 0; padding-left: 12pt; font-size: 8.5pt; color: #4b5563; }
.menu-foot {
  display: flex;
  align-items: center;
  gap: 0.25in;
  padding: 0.14in 0.45in;
  background: var(--pd-black);
  color: #fff;
}
.menu-foot .menu-qr { width: 0.85in; height: 0.85in; flex: 0 0 auto; }
.menu-foot .menu-qr svg { width: 100%; height: 100%; display: block; border-radius: 4pt; }
.menu-foot strong { display: block; font-size: 14pt; }
.menu-foot span { color: #cbd5e1; font-size: 9.5pt; }

@media screen and (max-width: 860px) {
  .menu-sheet { width: auto; min-height: 0; margin: 0 var(--space-2) var(--space-6); }
  .menu-two { grid-template-columns: 1fr; }
}
@media print {
  @page { size: letter; margin: 0; }
  body.menu-page { background: #fff; }
  .menu-tools { display: none; }
  .menu-sheet { box-shadow: none; margin: 0; height: 11in; overflow: hidden; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
