@font-face {
  font-family: "Hayran Print Cormorant";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-600.ttf") format("truetype");
}
@font-face {
  font-family: "Hayran Print Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400.ttf") format("truetype");
}
@font-face {
  font-family: "Hayran Print Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-600.ttf") format("truetype");
}

html.hayran-print-open,
body.hayran-print-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

#hayran-menu-print-preview {
  --hmp-gold: #96702c;
  --hmp-rule: #c8b58b;
  --hmp-ink: #292c2a;
  --hmp-muted: #626761;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--hmp-ink);
  background: #e8eae8;
  font: 400 14px/1.5 "Hayran Print Manrope", "Manrope", Arial, sans-serif;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  isolation: isolate;
  color-scheme: light;
  -webkit-user-select: text;
  user-select: text;
}
#hayran-menu-print-preview *,
#hayran-menu-print-preview *::before,
#hayran-menu-print-preview *::after {
  box-sizing: border-box;
  letter-spacing: 0;
  animation: none;
  transition: none;
}
#hayran-menu-print-preview :is(h1, h2, h3, p) {
  margin: 0;
  padding: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}
#hayran-menu-print-preview [hidden] { display: none !important; }
#hayran-menu-print-preview .hmp-toolbar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 12px 24px;
  border-bottom: 1px solid #d5dad5;
  background: #fff;
}
#hayran-menu-print-preview .hmp-title {
  flex: 0 1 auto;
  color: var(--hmp-ink);
  font: 600 18px/1.3 "Hayran Print Manrope", "Manrope", Arial, sans-serif;
}
#hayran-menu-print-preview .hmp-counter {
  color: var(--hmp-muted);
  font-size: 12px;
}
#hayran-menu-print-preview .hmp-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  margin-left: auto;
}
#hayran-menu-print-preview .hmp-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid #c7cdc7;
  border-radius: 4px;
  color: var(--hmp-ink);
  background: #fff;
  font: 600 13px/1.3 "Hayran Print Manrope", "Manrope", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
#hayran-menu-print-preview .hmp-button:hover {
  border-color: var(--hmp-gold);
  background: #f7f8f6;
}
#hayran-menu-print-preview .hmp-print-button {
  border-color: #425344;
  color: #fff;
  background: #425344;
}
#hayran-menu-print-preview .hmp-print-button:hover {
  border-color: #304233;
  background: #304233;
}
#hayran-menu-print-preview .hmp-button:disabled { opacity: 0.45; cursor: wait; }
#hayran-menu-print-preview :focus-visible { outline: 3px solid #96702c; outline-offset: 3px; }
#hayran-menu-print-preview .hmp-viewport {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#hayran-menu-print-preview .hmp-status {
  max-width: 620px;
  margin: 32px auto;
  padding: 16px 24px;
  color: var(--hmp-ink);
  font: inherit;
}
#hayran-menu-print-preview .hmp-pages {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  padding: 24px 12px 36px;
}
#hayran-menu-print-preview .hmp-pages[aria-busy="true"] { visibility: hidden; }
#hayran-menu-print-preview .hmp-page-frame {
  position: relative;
  flex: 0 0 auto;
  width: 210mm;
  height: 297mm;
}
#hayran-menu-print-preview .hmp-page {
  position: relative;
  display: flex;
  width: 210mm;
  min-width: 210mm;
  max-width: 210mm;
  height: 297mm;
  min-height: 297mm;
  max-height: 297mm;
  flex-direction: column;
  margin: 0;
  padding: 13mm 16mm 11mm;
  border: 0;
  border-radius: 0;
  color: var(--hmp-ink);
  background: #fff;
  box-shadow: 0 2px 14px #00000014;
  font: 400 9pt/1.5 "Hayran Print Manrope", "Manrope", Arial, sans-serif;
  transform: scale(var(--hmp-scale, 1));
  transform-origin: top left;
  overflow-wrap: anywhere;
}
#hayran-menu-print-preview .hmp-page-header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 8mm;
  min-height: 23mm;
  padding-bottom: 4mm;
  border-bottom: 0.25mm solid var(--hmp-rule);
}
#hayran-menu-print-preview .hmp-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 3mm;
}
#hayran-menu-print-preview .hmp-logo {
  display: block;
  flex: 0 0 22mm;
  width: 22mm;
  max-width: none;
  height: 22mm;
  object-fit: contain;
}
#hayran-menu-print-preview .hmp-brand-name {
  color: var(--hmp-gold);
  font: 600 16pt/1.1 "Hayran Print Cormorant", "Cormorant Garamond", Georgia, serif;
}
#hayran-menu-print-preview .hmp-brand-caption,
#hayran-menu-print-preview .hmp-source {
  color: var(--hmp-muted);
  font-size: 7.5pt;
  line-height: 1.6;
}
#hayran-menu-print-preview .hmp-source { flex: 0 1 45mm; text-align: right; }
#hayran-menu-print-preview .hmp-category { flex: 0 0 auto; padding: 6mm 0 5mm; }
#hayran-menu-print-preview .hmp-category-title {
  color: var(--hmp-gold);
  font: 600 29pt/1.08 "Hayran Print Cormorant", "Cormorant Garamond", Georgia, serif;
}
#hayran-menu-print-preview .hmp-continuation {
  margin-top: 1.5mm;
  color: var(--hmp-muted);
  font-size: 8pt;
}
#hayran-menu-print-preview .hmp-page-body {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
#hayran-menu-print-preview .hmp-page-flow { display: flow-root; width: 100%; }
#hayran-menu-print-preview .hmp-columns,
#hayran-menu-print-preview .hmp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24mm 27mm;
  gap: 4mm;
  align-items: start;
}
#hayran-menu-print-preview .hmp-columns {
  padding: 0 0 2.5mm;
  border-bottom: 0.2mm solid var(--hmp-rule);
  color: var(--hmp-muted);
  font-size: 7.5pt;
  font-weight: 600;
}
#hayran-menu-print-preview .hmp-row {
  padding: 3mm 0;
  border-bottom: 0.15mm solid #e2e2da;
  break-inside: avoid;
  page-break-inside: avoid;
}
#hayran-menu-print-preview .hmp-row-copy { min-width: 0; }
#hayran-menu-print-preview .hmp-dish-name {
  color: var(--hmp-ink);
  font: 600 13pt/1.15 "Hayran Print Cormorant", "Cormorant Garamond", Georgia, serif;
}
#hayran-menu-print-preview .hmp-description,
#hayran-menu-print-preview .hmp-description-continuation {
  margin-top: 1mm;
  color: var(--hmp-muted);
  font: 400 8.3pt/1.5 "Hayran Print Manrope", "Manrope", Arial, sans-serif;
  white-space: pre-wrap;
}
#hayran-menu-print-preview .hmp-description-continuation { color: var(--hmp-gold); font-size: 7.5pt; }
#hayran-menu-print-preview .hmp-numeric {
  min-width: 0;
  text-align: right;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
#hayran-menu-print-preview .hmp-weight { padding-top: 0.5mm; color: var(--hmp-muted); font-size: 8pt; }
#hayran-menu-print-preview .hmp-price {
  padding-top: 0.2mm;
  color: var(--hmp-gold);
  font-size: 10pt;
  font-weight: 600;
}
#hayran-menu-print-preview .hmp-note {
  padding: 3mm 0;
  color: var(--hmp-muted);
  font-size: 8.5pt;
  line-height: 1.6;
  white-space: pre-wrap;
}
#hayran-menu-print-preview .hmp-page-footer {
  flex: 0 0 auto;
  margin-top: 5mm;
  padding-top: 3mm;
  border-top: 0.25mm solid var(--hmp-rule);
  color: var(--hmp-muted);
  font-size: 7pt;
  line-height: 1.6;
}
#hayran-menu-print-preview .hmp-service { margin-bottom: 1.5mm; color: var(--hmp-ink); font-weight: 600; }
#hayran-menu-print-preview .hmp-folio { display: flex; justify-content: space-between; gap: 6mm; margin-top: 2mm; }
#hayran-menu-print-preview .hmp-page-number { flex: 0 0 auto; color: var(--hmp-gold); font-variant-numeric: tabular-nums; }
#hayran-menu-print-preview .hmp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 520px) {
  #hayran-menu-print-preview .hmp-toolbar { gap: 8px 12px; padding: 10px 12px; }
  #hayran-menu-print-preview .hmp-title { flex: 1 1 160px; font-size: 16px; }
  #hayran-menu-print-preview .hmp-actions { margin-left: 0; }
  #hayran-menu-print-preview .hmp-pages { gap: 16px; padding-top: 16px; }
}

@media print {
  @page hayran-menu { size: A4 portrait; margin: 0; }

  html.hayran-print-open,
  html.hayran-print-open body.hayran-print-open {
    display: block !important;
    position: static !important;
    width: 210mm !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    transform: none !important;
  }

  /* Outrank the legacy body.printing-menu display rules, including its sheet. */
  html.hayran-print-open body.hayran-print-open > :not(#hayran-menu-print-preview) {
    display: none !important;
  }
  html.hayran-print-open body.hayran-print-open > #hayran-menu-print-preview {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 210mm !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
  }
  #hayran-menu-print-preview .hmp-toolbar,
  #hayran-menu-print-preview.hmp-ready .hmp-status { display: none !important; }
  #hayran-menu-print-preview .hmp-viewport,
  #hayran-menu-print-preview .hmp-pages {
    display: block !important;
    position: static !important;
    width: 210mm !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }
  #hayran-menu-print-preview:not(.hmp-ready) .hmp-pages,
  #hayran-menu-print-preview .hmp-pages[hidden] { display: none !important; }
  #hayran-menu-print-preview .hmp-page-frame {
    page: hayran-menu;
    display: block !important;
    position: static !important;
    width: 210mm !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    break-inside: avoid;
    page-break-inside: avoid;
    break-after: page;
    page-break-after: always;
  }
  #hayran-menu-print-preview .hmp-page {
    page: hayran-menu;
    width: 210mm !important;
    height: 297mm !important;
    margin: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #hayran-menu-print-preview .hmp-page-frame:last-child {
    break-after: auto;
    page-break-after: auto;
  }
}
