/* ==========================================================================
   Mumus Menu Display - Extra Large Food Photography Layout
   ========================================================================== */

:root {
  --bg-main-board: #FAF6F0;           /* Soft warm cream main canvas background */
  --bg-left-card: #FFFFFF;            /* Pure white card for Breakfast & French Toast */
  --bg-waffle-pink: #FDF2F2;          /* Soft pale pinkish tint card for Waffles & Pancakes */
  --bg-wood-dark: #1A1816;            /* Dark wood panel for Appetizers & Sides */
  --bg-green-emerald: #07442B;        /* Deep emerald green panel for Salads */
  
  --color-title-brown: #2C1A0E;        /* Dark cocoa brown for titles */
  --color-dark-text: #111111;         /* Bold black item titles */
  --color-muted-text: #2C2C2C;        /* Darker readable gray for descriptions */
  --color-price-red: #8C1C1C;         /* Rich burgundy price text */
  --color-white: #FFFFFF;
  --color-yellow: #FFEB3B;            /* Bright yellow salad prices */
  --color-light-green: #E8F5E9;       /* Light green salad descriptions */
  --color-orange-box: #D84315;        /* Orange Add Chicken box */
  
  --font-script: 'Dancing Script', cursive;
  --font-sans: 'Proxima Nova', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: #0A0A0A;
  font-family: var(--font-sans);
  color: var(--color-dark-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  font-feature-settings: "kern" 1, "liga" 1;
}

img {
  image-rendering: auto;
  image-rendering: high-quality;
}

/* --------------------------------------------------------------------------
   Top Navigation Bar
   -------------------------------------------------------------------------- */
.top-nav-bar {
  width: 100%;
  background: #111111;
  color: #FFFFFF;
  padding: 10px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  position: relative;
  z-index: 999;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-family: var(--font-script);
  font-size: 2.3rem;
  font-weight: 700;
  color: #F5B041;
  line-height: 1;
}

.nav-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #AAAAAA;
  font-family: var(--font-sans);
}

.nav-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-btn {
  background: #222222;
  color: #CCCCCC;
  border: 1px solid #444444;
  padding: 8px 15px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: #333333;
  color: #FFFFFF;
}

.active-btn {
  background: #F5B041 !important;
  color: #111111 !important;
  border-color: #F5B041 !important;
}

.btn-fs {
  background: #2E7D32;
  color: #FFFFFF;
  border-color: #2E7D32;
}

.btn-fs:hover {
  background: #1B5E20;
}

.btn-print {
  background: #1565C0;
  color: #FFFFFF;
  border-color: #1565C0;
}

.btn-4k {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #FFFFFF;
  border-color: #a78bfa;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.btn-4k:hover {
  background: linear-gradient(135deg, #6d28d9, #4338ca);
  transform: translateY(-1px);
}


/* --------------------------------------------------------------------------
   Main Menu Scaler Wrapper (Centering 1920x1080 canvas)
   -------------------------------------------------------------------------- */
.menu-scaler-wrapper {
  width: 100vw;
  height: calc(100vh - 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #111111;
}

/* 1920x1080 Canvas */
.menu-canvas {
  width: 1920px;
  min-width: 1920px;
  height: 1080px;
  min-height: 1080px;
  flex-shrink: 0;
  background-color: var(--bg-main-board);
  position: relative;
  transform-origin: center center;
  box-sizing: border-box;
  overflow: hidden;
  padding: 14px 18px;
  display: grid;
  grid-template-rows: 1fr 230px;
  gap: 12px;
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

/* --------------------------------------------------------------------------
   TOP ROW (41% Left Column / 59% Right Column)
   -------------------------------------------------------------------------- */
.top-row {
  display: grid;
  grid-template-columns: 41% 59%;
  gap: 16px;
  height: 100%;
}

/* TOP LEFT BLOCK (Pure White Card Background) */
.block-left-top {
  background-color: var(--bg-left-card);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* SUBCOLUMN SEPARATE PHOTO CARDS (Breakfast Plate & French Toast) */
.subcolumn-photo-card {
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  min-width: 0;
  min-height: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 6px;
}

.subcolumn-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.left-subcolumns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  flex-grow: 1;
}

.subcolumn {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.script-title {
  font-family: var(--font-script);
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 2px;
  overflow: visible;
}

.brown-script {
  color: var(--color-title-brown);
}

.white-script {
  color: #FFFFFF !important;
}

.items-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.item-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.item-name {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.2px;
  line-height: 1.15;
}

.item-pipe {
  color: #555555;
  font-size: 0.95rem;
  font-weight: 700;
}

.green-pipe {
  color: #81C784 !important;
}

.item-price {
  font-family: var(--font-sans);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--color-price-red);
}

.yellow-price {
  color: var(--color-yellow) !important;
  font-weight: 800;
}

.item-desc {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: #1A1A1A;
  line-height: 1.25;
  font-weight: 600;
}

.light-green-desc {
  color: #F0FDF4 !important;
  font-weight: 500;
}


/* TOP RIGHT BLOCK (Soft Pinkish Tint Background Card) */
.block-right-top {
  background-color: var(--bg-waffles-pink);
  border: 1px solid #F6E6E6;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.waffles-pancakes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 2px;
}

.header-left {
  display: flex;
  flex-direction: column;
}

.small-gourmet {
  font-size: 1.6rem;
  font-family: var(--font-script);
  font-weight: 700;
  color: #5D4037;
  margin-bottom: -10px;
  line-height: 1;
}

.inline-title {
  margin-bottom: 0;
  font-size: 2.7rem;
}

/* Batter Seal Badge */
.batter-seal {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px dashed #A88764;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #FAF4EB;
  max-width: 310px;
}

.wheat-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.seal-text {
  display: flex;
  flex-direction: column;
}

.seal-head {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  color: #61462A;
  letter-spacing: 0.5px;
}

.seal-sub {
  font-family: var(--font-sans);
  font-size: 0.50rem;
  font-weight: 700;
  color: #7D6144;
  line-height: 1.15;
}

/* EXTRA LARGE TOP RIGHT WAFFLES & PANCAKES PHOTO BAND */
.waffles-photos-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 195px;
  gap: 12px;
  height: 195px;
  flex-shrink: 0;
}

.photo-card {
  width: 100%;
  height: 195px;
  min-width: 0;
  min-height: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 3 Columns: Waffles Col 1, Waffles Col 2, Pancakes Col */
.waffles-pancakes-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  flex-grow: 1;
}

.pancake-subcol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.full-stack-tag {
  font-family: var(--font-sans);
  background-color: #C62828;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 4px;
  align-self: flex-end;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(198, 40, 40, 0.3);
}


/* --------------------------------------------------------------------------
   BOTTOM ROW (Appetizers & Sides + Salads Banners)
   -------------------------------------------------------------------------- */
.bottom-row {
  display: grid;
  grid-template-columns: 41% 59%;
  gap: 16px;
  height: 230px;
}

/* BOTTOM LEFT BLOCK (Dark Wood Panel) */
.block-left-bottom {
  background: linear-gradient(rgba(24, 22, 20, 0.95), rgba(24, 22, 20, 0.95)),
              repeating-linear-gradient(0deg, #1c1a18 0px, #1c1a18 2px, #252220 2px, #252220 4px);
  color: #FFFFFF;
  border-radius: 10px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 12px;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.sides-title-box {
  display: flex;
  flex-direction: column;
}

.sides-ampersand {
  font-family: var(--font-script);
  font-size: 2.8rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 0.8;
  margin-top: -8px;
}

.sides-disclaimer {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #E0E0E0;
  font-style: italic;
  margin-top: 6px;
  line-height: 1.25;
}

.sides-items-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.08rem;
  border-bottom: 1px dotted rgba(255,255,255,0.35);
  padding-bottom: 2px;
}

.side-item-name {
  font-family: var(--font-sans);
  font-weight: 700;
  color: #FFFFFF;
}

.side-item-price {
  font-family: var(--font-sans);
  font-weight: 800;
  color: #FFEB3B;
}


/* BOTTOM RIGHT BLOCK (Special Offers / Promo Banner) */
.block-right-bottom {
  background: #FFFDF9;
  color: #111111;
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  border: 1.5px solid #EADBCC;
}

.promo-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px 6px;
}

.promo-top-sub {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #3C2A1E;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.promo-main-title {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 900;
  color: #A82020;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 1px 0 4px 0;
  line-height: 1.05;
}

.promo-center-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 4px 0;
}

.promo-discount-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.88;
}

.disc-pct {
  font-family: var(--font-sans);
  font-size: 2.9rem;
  font-weight: 900;
  color: #111111;
  letter-spacing: -1px;
}

.disc-lbl {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 900;
  color: #111111;
  letter-spacing: 1.5px;
}

/* RPI ID Mockup */
.promo-id-mockup {
  border: 2px solid #222222;
  border-radius: 7px;
  padding: 4px 8px;
  background: #FFFFFF;
  width: 140px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}

.id-top {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  color: #A82020;
  border-bottom: 1.5px solid #222222;
  padding-bottom: 2px;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.id-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.id-avatar {
  font-size: 1.5rem;
  line-height: 1;
}

.id-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.id-bar {
  height: 8px;
  background: #111111;
  border-radius: 2px;
  width: 90%;
}

.id-barcode {
  font-family: monospace;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #111111;
}

/* Badges for First Responders */
.promo-icons-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-emblem {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emblem-svg {
  width: 100%;
  height: 100%;
}

.promo-callout {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #222222;
  text-transform: uppercase;
  margin: 3px 0;
}

.promo-pill-tag {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 900;
  color: #A82020;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.15;
}

.promo-divider {
  width: 1.5px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, #D1C7BD, transparent);
  margin: 0 6px;
}

/* ==========================================================================
   BLOCK MANAGEMENT (DELETE / ADD BLOCKS)
   ========================================================================== */
.block-admin-bar {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-delete-block {
  background: #EF4444;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: all 0.18s ease;
}
.btn-delete-block:hover {
  background: #DC2626;
  transform: scale(1.05);
}

.add-block-placeholder {
  min-height: 230px;
  border: 2.5px dashed #6366F1;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease;
}
.add-block-placeholder:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: #F59E0B;
  transform: scale(1.01);
}
.add-block-placeholder span {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: #4F46E5;
}
.add-block-placeholder small {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #6B7280;
}



/* --------------------------------------------------------------------------
   FLUID MOBILE & TABLET RESPONSIVE MODE (.mobile-flow-mode)
   -------------------------------------------------------------------------- */
body.mobile-flow-mode {
  background-color: #FAF7F2 !important;
  overflow-y: auto !important;
}

body.mobile-flow-mode .menu-scaler-wrapper {
  height: auto !important;
  width: 100% !important;
  overflow: visible !important;
  background-color: transparent !important;
  padding: 16px 12px;
}

body.mobile-flow-mode .menu-canvas {
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: 960px !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  padding: 16px !important;
  border-radius: 12px !important;
}

body.mobile-flow-mode .top-row,
body.mobile-flow-mode .bottom-row {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  gap: 24px !important;
}

body.mobile-flow-mode .left-subcolumns,
body.mobile-flow-mode .waffles-pancakes-columns,
body.mobile-flow-mode .salads-columns,
body.mobile-flow-mode .block-left-bottom {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

body.mobile-flow-mode .waffles-pancakes-header {
  flex-direction: column !important;
  align-items: flex-start !important;
  height: auto !important;
  gap: 12px !important;
}

body.mobile-flow-mode .waffles-photos-band {
  height: 180px !important;
}

body.mobile-flow-mode .block-right-bottom {
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 20px !important;
}

/* --------------------------------------------------------------------------
   PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
  @page {
    size: A3 landscape;
    margin: 0;
  }

  body {
    background: #FFF;
  }

  .no-print {
    display: none !important;
  }

  .menu-scaler-wrapper {
    width: 100vw;
    height: 100vh;
    background: transparent;
  }

  .menu-canvas {
    box-shadow: none;
  }
}

/* ==========================================================================
   INLINE EDIT MODE & DRAG & DROP STYLES
   ========================================================================== */
.btn-edit { background: #6366F1; color: #FFFFFF; border-color: #6366F1; }
.btn-edit:hover { background: #4F46E5; }

.edit-toolbar {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 9999; background: #1E1E2E; border: 1.5px solid #4F46E5;
  border-radius: 14px; padding: 10px 20px; display: flex;
  align-items: center; gap: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
}
.edit-toolbar-label { color: #A5B4FC; font-family: 'Montserrat',sans-serif; font-size:0.85rem; font-weight:700; white-space:nowrap; }
.et-btn { border:none; border-radius:8px; padding:8px 14px; font-family:'Montserrat',sans-serif; font-size:0.82rem; font-weight:700; cursor:pointer; transition:all 0.18s; display:inline-flex; align-items:center; gap:5px; }
.et-add  { background:#22C55E; color:#fff; } .et-add:hover  { background:#16A34A; }
.et-save { background:#3B82F6; color:#fff; } .et-save:hover { background:#2563EB; }
.et-download { background:#8B5CF6; color:#fff; } .et-download:hover { background:#7C3AED; }
.et-close{ background:#EF4444; color:#fff; } .et-close:hover{ background:#DC2626; }

body.edit-mode-active .editable-field { outline:2px dashed #6366F1 !important; outline-offset:2px; border-radius:3px; cursor:text; min-width:20px; }
body.edit-mode-active .editable-field:hover  { outline-color:#F59E0B !important; background:rgba(245,158,11,0.08); }
body.edit-mode-active .editable-field:focus  { outline:2px solid #22C55E !important; background:rgba(34,197,94,0.08); }

body.edit-mode-active .editable-photo { cursor:pointer !important; transition:filter 0.2s; }
body.edit-mode-active .editable-photo:hover  { filter:brightness(0.7) !important; outline:3px dashed #F59E0B; outline-offset:-3px; }

body:not(.edit-mode-active) .editable-field {
  outline: none !important;
  background: transparent !important;
  cursor: default !important;
}

body:not(.edit-mode-active) .drag-handle,
body:not(.edit-mode-active) .delete-item-btn,
body:not(.edit-mode-active) .insert-divider,
body:not(.edit-mode-active) .category-add-btn,
body:not(.edit-mode-active) .block-admin-bar,
body:not(.edit-mode-active) #editToolbar {
  display: none !important;
}

/* Drag Handle */
.drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  cursor: grab !important;
  color: #818CF8;
  font-size: 15px;
  line-height: 1;
  user-select: none;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.drag-handle:hover {
  color: #F59E0B;
  background: rgba(245,158,11,0.15);
}
.drag-handle:active {
  cursor: grabbing !important;
}

/* Dragging States */
.item.is-dragging, .side-item-row.is-dragging {
  opacity: 0.3 !important;
  outline: 2px dashed #F59E0B !important;
}
.drag-over-top {
  border-top: 3px solid #22C55E !important;
}
.drag-over-bottom {
  border-bottom: 3px solid #22C55E !important;
}

/* Delete item button */
.delete-item-btn {
  display:inline-block; margin-left:6px; background:#EF4444; color:#fff;
  border:none; border-radius:50%; width:18px; height:18px; font-size:10px;
  line-height:18px; text-align:center; cursor:pointer; padding:0; font-weight:900;
  opacity:0.8; transition:opacity 0.15s,transform 0.15s;
}
.delete-item-btn:hover { opacity:1; transform:scale(1.2); }
.delete-side-btn { float:right; margin-left:10px; }

/* Insert Divider Between Items */
.insert-divider {
  height: 6px;
  margin: 3px 0;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  opacity: 0.25;
  border: 1px dashed #6366F1;
}
.insert-divider:hover {
  height: 22px;
  opacity: 1;
  background: rgba(99, 102, 241, 0.15);
  border-color: #F59E0B;
}
.insert-divider-btn {
  display: none;
  background: #F59E0B;
  color: #111;
  border: none;
  border-radius: 10px;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
}
.insert-divider:hover .insert-divider-btn {
  display: inline-block;
}

/* Category Add Item Button at bottom of each list */
.category-add-btn {
  display: block;
  width: 100%;
  padding: 6px 10px;
  margin-top: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1.5px dashed #6366F1;
  border-radius: 6px;
  color: #4F46E5;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.category-add-btn:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: #22C55E;
  color: #16A34A;
}
.block-right-bottom .category-add-btn {
  color: #A7F3D0;
  border-color: #34D399;
  background: rgba(52, 211, 153, 0.1);
}
.block-right-bottom .category-add-btn:hover {
  background: rgba(52, 211, 153, 0.25);
  color: #FFFFFF;
}
.block-left-bottom .category-add-btn {
  color: #FDE68A;
  border-color: #F59E0B;
  background: rgba(245, 158, 11, 0.1);
}
.block-left-bottom .category-add-btn:hover {
  background: rgba(245, 158, 11, 0.25);
  color: #FFFFFF;
}

/* ==========================================================================
   EDIT MODE SCROLL & REACHABILITY OVERRIDES
   Allows full scrolling down to Sides, Appetizers & Salads in Edit Mode
   ========================================================================== */
body.edit-mode-active {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
}

body.edit-mode-active .menu-scaler-wrapper {
  height: auto !important;
  min-height: calc(100vh - 50px) !important;
  overflow: visible !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 20px 0 160px 0 !important;
}

body.edit-mode-active .menu-canvas {
  height: auto !important;
  min-height: 1080px !important;
  overflow: visible !important;
  grid-template-rows: auto auto !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6) !important;
}

body.edit-mode-active .top-row {
  height: auto !important;
  min-height: 800px !important;
}

body.edit-mode-active .bottom-row {
  height: auto !important;
  min-height: 250px !important;
  margin-top: 15px !important;
}

body.edit-mode-active .block-left-bottom,
body.edit-mode-active .block-right-bottom {
  min-height: 240px !important;
}

/* Scroll Jump Button in Toolbar */
.et-scroll {
  background: #0284C7 !important;
  color: #FFFFFF !important;
}
.et-scroll:hover {
  background: #0369A1 !important;
}

/* ==========================================================================
   TV / PANO KIOSK MODE (Full Screen Menu Display without ANY Admin UI)
   ========================================================================== */
body.tv-kiosk-mode {
  overflow: hidden !important;
  background-color: #000000 !important;
  cursor: none;
}

body.tv-kiosk-mode .top-nav-bar,
body.tv-kiosk-mode #editToolbar,
body.tv-kiosk-mode .tv-kiosk-exit-btn,
body.tv-kiosk-mode .block-admin-bar,
body.tv-kiosk-mode .drag-handle,
body.tv-kiosk-mode .delete-item-btn,
body.tv-kiosk-mode .insert-divider,
body.tv-kiosk-mode .category-add-btn {
  display: none !important;
}

body.tv-kiosk-mode .menu-scaler-wrapper {
  width: 100vw !important;
  height: 100vh !important;
  background-color: #000000 !important;
}

/* ── Item status (data layer): sold out / hidden ───────────── */
.menu-canvas .is-sold-out .item-price,
.menu-canvas .is-sold-out .side-item-price {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  opacity: .45;
}
.menu-canvas .is-sold-out .item-name::after,
.menu-canvas .is-sold-out .side-item-name::after {
  content: 'SOLD OUT';
  display: inline-block;
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: 6px;
  background: #B91C1C;
  color: #fff;
  font: 800 0.6em/1.3 'Montserrat', sans-serif;
  letter-spacing: .06em;
  vertical-align: middle;
}
.menu-canvas .is-sold-out .item-desc { opacity: .5; }
.menu-canvas .is-hidden-item { display: none !important; }
body.edit-mode-active .menu-canvas .is-hidden-item {
  display: flex !important;
  opacity: .35;
  outline: 2px dashed #6B7280;
}
.item-flags { display: none; }
body.edit-mode-active .item-flags { display: flex; gap: 6px; margin-top: 4px; }
body.edit-mode-active .side-item-row .item-flags { margin: 0 0 0 8px; }
.item-flags button {
  font: 700 11px/1 system-ui, -apple-system, sans-serif;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  cursor: pointer;
}
.is-sold-out > .item-flags .flag-soldout { background: #B91C1C; color: #fff; border-color: #B91C1C; }
.is-hidden-item > .item-flags .flag-hidden { background: #111827; color: #fff; border-color: #111827; }
/* ══════════════════════════════════════════════════════════════════
   TV 1 (layout tv1-v2) — Breakfast / French Toast / Waffles /
   Pancakes / Sides / Salads. Photos + script titles: tv1/bg.jpg.
   Coordinates are canvas px (1920×1080).
   ══════════════════════════════════════════════════════════════════ */
.menu-canvas.screen-1 {
  display: block;
  padding: 0;
  background: #FFFFFF url('tv1/bg.jpg') 0 0 / 1920px 1080px no-repeat;
  font-family: 'Red Hat Display', 'Montserrat', sans-serif;
  color: #523304;
}
.screen-1 .s1-title { display: none; }
.screen-1 .s1-col {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  text-align: left;
}
.screen-1 .item { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.screen-1 .item-header { display: flex; align-items: baseline; gap: 0; flex-wrap: nowrap; white-space: nowrap; }
.screen-1 .item-name,
.screen-1 .item-price,
.screen-1 .side-item-name,
.screen-1 .side-item-price {
  font-family: 'Red Hat Display', 'Montserrat', sans-serif;
  font-size: 22.5px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0;
  color: inherit;
}
.screen-1 .item-name b, .screen-1 .side-item-name b { font-weight: 700; }
.screen-1 .item-price, .screen-1 .side-item-price { display: inline-block; font-weight: 700; }
.screen-1 .item-price::first-letter, .screen-1 .side-item-price::first-letter { font-weight: 300; }
.screen-1 .item-pipe { font-size: 21px; font-weight: 400; line-height: 25px; color: inherit; margin: 0 0.45em; }
.screen-1 .item-desc {
  font-family: 'Red Hat Display', 'Montserrat', sans-serif;
  font-size: 14.6px;
  font-weight: 400;
  line-height: 16.5px;
  color: inherit;
  margin: 0;
}
.screen-1 .item-desc b { font-weight: 700; }

/* Breakfast plates: right aligned */
.screen-1 .s1-bf { left: 8px; top: 371px; width: 324px; height: 481px; text-align: right; justify-content: flex-start; }
.screen-1 .s1-bf .item { align-items: flex-end; }
.screen-1 .s1-bf .item-desc { padding-right: 4.5px; }
/* French toast */
.screen-1 .s1-ft { left: 376px; top: 377.5px; width: 400px; height: 444px; justify-content: flex-start; }
.screen-1 .item.s1-tight .item-name, .screen-1 .item.s1-tight .item-price { font-size: 19.5px; }
.screen-1 .item.s1-tight .item-pipe { margin: 0 0.15em; }

/* Brussels waffles (near-black on pink) */
.screen-1 .s1-waf { color: #080000; }
.screen-1 .s1-waf .item-name, .screen-1 .s1-waf .item-price { font-size: 20px; line-height: 23px; }
.screen-1 .s1-waf .item-price { font-weight: 400; }
.screen-1 .s1-waf .item-price::first-letter { font-weight: 400; }
.screen-1 .s1-waf .item-desc { font-size: 14px; line-height: 18.5px; }
.screen-1 .s1-waf .item-pipe { margin: 0 0.4em; }
.screen-1 .s1-waf .item.s1-tight2 .item-name, .screen-1 .s1-waf .item.s1-tight2 .item-price { font-size: 18px; }
.screen-1 .s1-waf .item.s1-tight3 .item-name, .screen-1 .s1-waf .item.s1-tight3 .item-price { font-size: 17.4px; }
.screen-1 .s1-waf .item.s1-tight2 .item-pipe { margin: 0 0.25em; }
.screen-1 .s1-wb1 { left: 785px;  top: 314.5px; width: 322px; height: 70px; justify-content: center; }
.screen-1 .s1-wb2 { left: 1135px; top: 321px; width: 320px; height: 64px; justify-content: center; }
.screen-1 .s1-wb2 .item-desc { font-size: 12.9px; line-height: 17px; }
.screen-1 .s1-w1  { left: 784px;  top: 390px; width: 330px; height: 402px; }
.screen-1 .s1-w2  { left: 1140px; top: 395px; width: 318px; height: 392px; justify-content: flex-start; }

/* Pancakes */
.screen-1 .s1-pan { left: 1491px; top: 327px; width: 410px; height: 403px; }
.screen-1 .s1-pan .item-desc { font-size: 14.4px; }

/* Appetizers & sides (white on wood) */
.screen-1 .s1-sides { left: 378px; top: 873px; width: 340px; height: 189px; color: #FFFFFF; justify-content: space-between; }
.screen-1 .side-item-row {
  display: flex; align-items: baseline; justify-content: flex-start;
  border: 0; padding: 0; height: 28px;
}
.screen-1 .side-item-name, .screen-1 .side-item-price { font-size: 21px; line-height: 28px; }
.screen-1 .side-item-name { font-weight: 400; }
.screen-1 .s1-sides .item-pipe { font-size: 20px; line-height: 28px; }

/* Salads (white on green) */
.screen-1 .s1-sal { color: #FFFFFF; justify-content: flex-start; }
.screen-1 .s1-sal .item-name, .screen-1 .s1-sal .item-price { font-size: 22px; line-height: 25px; }
.screen-1 .s1-sal .item-desc { font-size: 16px; line-height: 18.5px; margin-top: 1px; }
.screen-1 .s1-sal1 { left: 989px;  top: 908px; width: 320px; height: 70px; }
.screen-1 .s1-sal2 { left: 1315px; top: 908px; width: 316px; height: 70px; }
.screen-1 .s1-sal3 { left: 1635px; top: 906px; width: 250px; height: 70px; }
.screen-1 .s1-sal4 { left: 1005px; top: 981px; width: 400px; height: 70px; }
.screen-1 .s1-sal5 { left: 1413px; top: 981px; width: 400px; height: 70px; }

/* Special-offer banner (replaces the salads panel) */
.screen-1 .s1-promo {
  position: absolute; left: 776px; top: 820px; width: 1104px; height: 242px;
  box-sizing: border-box;
  background: #FCFBF8; color: #111111;
  border: 1.5px solid #ECE4DA; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  font-family: 'Montserrat', sans-serif;
}
.screen-1 .s1-promo .promo-card { padding: 0 8px; }
.screen-1 .s1-promo .promo-top-sub { font-family: 'Montserrat', sans-serif; font-size: 15px; letter-spacing: 3px; color: #222; margin-bottom: 0; }
.screen-1 .s1-promo .promo-main-title { font-family: 'Montserrat', sans-serif; font-size: 34px; font-weight: 800; color: #A82020; letter-spacing: 0.5px; margin: 0 0 6px; }
.screen-1 .s1-promo .promo-center-row { gap: 22px; margin: 2px 0 8px; }
.screen-1 .s1-promo .disc-pct { font-family: 'Montserrat', sans-serif; font-size: 52px; font-weight: 800; letter-spacing: -2px; }
.screen-1 .s1-promo .disc-lbl { font-family: 'Montserrat', sans-serif; font-size: 25px; font-weight: 800; letter-spacing: 2px; }
.screen-1 .s1-promo .promo-id-mockup { width: 168px; padding: 5px 10px 7px; border-width: 2px; }
.screen-1 .s1-promo .id-top { font-family: 'Montserrat', sans-serif; font-size: 12px; }
.screen-1 .s1-promo .id-avatar { font-size: 30px; }
.screen-1 .s1-promo .id-bar { height: 9px; }
.screen-1 .s1-promo .id-barcode { font-size: 13px; }
.screen-1 .s1-promo .badge-emblem { width: 50px; height: 50px; }
.screen-1 .s1-promo .promo-icons-wrap { gap: 18px; }
.screen-1 .s1-promo .promo-callout { font-family: 'Montserrat', sans-serif; font-size: 15px; letter-spacing: 1.5px; color: #222; margin: 0 0 3px; }
.screen-1 .s1-promo .promo-pill-tag { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 800; color: #A82020; letter-spacing: 1px; }
.screen-1 .s1-promo .promo-divider { margin: 0 10px; }

/* sold-out badge sized for this board */
.screen-1 .is-sold-out .item-name::after,
.screen-1 .is-sold-out .side-item-name::after { font-size: 11px; padding: 2px 7px; margin-left: 8px; vertical-align: 3px; }
.screen-1 .s1-sides .is-sold-out .side-item-name::after,
.screen-1 .s1-sal .is-sold-out .item-name::after { background: #FFFFFF; color: #B91C1C; }

/* editing keeps the fixed 1920×1080 board */
body.edit-mode-active .menu-canvas.screen-1 {
  height: 1080px !important; min-height: 1080px !important;
  display: block !important; overflow: visible !important;
}
body.edit-mode-active .screen-1 .s1-col { outline: 1px dashed rgba(82,51,4,.35); }
body.edit-mode-active .screen-1 .item-header { flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════════
   TV 2 — Pastries / Cups / Sandwiches / Wrap / Panini / Drinks
   Photos + script titles live in tv2/bg.jpg (3840×2160), all prices
   and texts below are live HTML (editable, synced, sold-out aware).
   Coordinates are in canvas px (1920×1080).
   ══════════════════════════════════════════════════════════════════ */
.menu-canvas.screen-2 {
  display: block;
  padding: 0;
  background: #F9F7FA url('tv2/bg.jpg') 0 0 / 1920px 1080px no-repeat;
  font-family: 'Red Hat Display', 'Montserrat', sans-serif;
  color: #523304;
}
.screen-2 .s2-title { display: none; }
.screen-2 .s2-col {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  text-align: center;
}
.screen-2 .item { display: flex; flex-direction: column; align-items: center; gap: 0; }
.screen-2 .item-header { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: nowrap; white-space: nowrap; }
.screen-2 .item-name,
.screen-2 .item-price {
  font-family: 'Red Hat Display', 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 660;
  line-height: 25px;
  letter-spacing: 0;
  color: inherit;
}
.screen-2 .item-pipe { font-size: 21px; font-weight: 400; line-height: 25px; color: inherit; margin: 0 0.3em; }
.screen-2 .item-desc {
  font-family: 'Red Hat Display', 'Montserrat', sans-serif;
  font-size: 13.6px;
  font-weight: 450;
  line-height: 18px;
  color: inherit;
  margin: 1px 0 0;
}
.screen-2 .item-desc b { font-weight: 700; }
.screen-2 .item-addon {
  white-space: nowrap;
  font-family: 'Red Hat Display', 'Montserrat', sans-serif;
  font-size: 12.7px;
  font-style: italic;
  line-height: 17px;
  margin: 2px 0 0;
}
.screen-2 .item-header { position: relative; }
.screen-2 .item-icons {
  position: absolute; right: 100%; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 4px; margin-right: 7px;
}
.screen-2 .item-desc { position: relative; }
.screen-2 .item-desc .ico { position: absolute; right: 100%; top: -2px; height: 22px; margin-right: 6px; }
.screen-2 .ico { height: 26px; width: auto; display: block; }
.screen-2 .ico[src$="halal.png"] { height: 24px; }

/* column placement (measured from the original 4K design) */
.screen-2 .s2-pastries { left: 4px;    top: 349px; width: 460px; height: 149px; }
.screen-2 .s2-sand1    { left: 500px;  top: 340px; width: 394px; height: 440px; }
.screen-2 .s2-sand2    { left: 852px;  top: 333px; width: 322px; height: 416px; }
.screen-2 .s2-wrap     { left: 1150px; top: 246px; width: 414px; height: 721px; }
.screen-2 .s2-panini   { left: 1552px; top: 251px; width: 362px; height: 766px; }
.screen-2 .s2-drinks1  { left: 536px;  top: 839px; width: 284px; height: 208px; text-align: right; }
.screen-2 .s2-drinks2  { left: 852px;  top: 837px; width: 262px; height: 170px; text-align: left; }

/* drinks: white on teal */
.screen-2 .s2-drinks1, .screen-2 .s2-drinks2 { color: #FFFFFF; }
.screen-2 .s2-drinks1 .item { align-items: flex-end; }
.screen-2 .s2-drinks1 .item-header { justify-content: flex-end; }
.screen-2 .s2-drinks2 .item { align-items: flex-start; }
.screen-2 .s2-drinks2 .item-header { justify-content: flex-start; }
.screen-2 .s2-drinks1 .item-desc { font-size: 13.6px; }
.screen-2 .s2-drinks2 .item-desc { font-size: 13.6px; }
.screen-2 .item.s2-small .item-name,
.screen-2 .item.s2-small .item-price,
.screen-2 .item.s2-small .item-pipe { font-size: 17px; line-height: 23px; }

/* homemade cups (purple, right-aligned name | price) */
.screen-2 .s2-cups1, .screen-2 .s2-cups2 { color: #563C63; justify-content: flex-start; gap: 0; }
.screen-2 .s2-cups1 { left: 140px; top: 596px; width: 304px; height: 144px; }
.screen-2 .s2-cups2 { left: 140px; top: 760px; width: 307px; height: 62px; }
.screen-2 .side-item-row {
  display: flex; align-items: center; justify-content: flex-end;
  border: 0; padding: 0; height: 23.5px;
  font-family: 'Red Hat Display', 'Montserrat', sans-serif; font-size: 17.2px; line-height: 23.5px;
}
.screen-2 .side-item-row .ico { height: 17px; margin-right: 2px; }
.screen-2 .side-item-name { color: inherit; font-weight: 400; }
.screen-2 .side-item-name b { font-weight: 700; }
.screen-2 .side-item-row .item-pipe { font-size: 17px; font-weight: 400; margin: 0 0.55em 0 0.3em; }
.screen-2 .side-item-price { color: inherit; font-weight: 400; min-width: 52px; text-align: left; }
.screen-2 .s2-cups-note { font-size: 11.9px; line-height: 14px; margin: -3px 0 0; text-align: right; padding-right: 72px; color: #563C63; }

/* sold-out badge sized for this board */
.screen-2 .is-sold-out .item-name::after,
.screen-2 .is-sold-out .side-item-name::after { font-size: 11px; padding: 2px 7px; margin-left: 8px; }
.screen-2 .s2-drinks1 .is-sold-out .item-name::after,
.screen-2 .s2-drinks2 .is-sold-out .item-name::after { background: #FFFFFF; color: #B91C1C; }

/* editing keeps the fixed 1920×1080 board */
body.edit-mode-active .menu-canvas.screen-2 {
  height: 1080px !important; min-height: 1080px !important;
  display: block !important; overflow: visible !important;
}
body.edit-mode-active .screen-2 .s2-col { outline: 1px dashed rgba(82,51,4,.35); }
body.edit-mode-active .screen-2 .item-header { flex-wrap: wrap; }
