:root {
  color-scheme: light;
  --red: #da291c;
  --red-dark: #b82016;
  --yellow: #ffc72c;
  --yellow-light: #fff1b9;
  --ink: #211d1a;
  --muted: #6e655c;
  --paper: #fffaf0;
  --card: #ffffff;
  --line: #eadfc9;
  --green: #314f37;
  --shadow: 0 12px 32px rgba(85, 52, 17, .10);
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--paper); }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); background: var(--paper); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }

.app-shell { width: 100%; min-height: 100vh; max-width: 1500px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 74px); display: flex; flex-direction: column; }
.topbar { min-height: 82px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 3px solid var(--yellow); }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-logo { width: 46px; height: 54px; display: block; object-fit: contain; border-radius: 6px; background: white; }
.brand-name { color: var(--red); font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.brand-name b { color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.text-button, .cashier-link { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 2px solid var(--red); border-radius: 10px; color: var(--red); background: white; font-size: 18px; font-weight: 700; }
.text-button:hover, .cashier-link:hover { color: white; background: var(--red); }
#screen { flex: 1; display: flex; flex-direction: column; }

.welcome-stage { min-height: calc(100vh - 84px); flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 40px 0; text-align: center; }
.welcome-kicker, .section-tag { display: inline-flex; align-items: center; width: fit-content; padding: 8px 14px; border-radius: 6px; color: var(--ink); background: var(--yellow); font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.welcome-kicker { padding: 11px 18px; font-size: 34px; }
.welcome-stage h1 { margin: 0; color: var(--red); font-size: clamp(48px, 9vw, 112px); line-height: .98; letter-spacing: -.035em; }
.welcome-logo { width: clamp(210px, 28vw, 330px); max-height: 34vh; display: block; object-fit: contain; border-radius: 10px; background: white; }
.language-options { width: min(100%, 900px); display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.language-option { min-height: 54px; padding: 0 18px; border: 2px solid var(--line); border-radius: 10px; color: var(--ink); background: white; font-size: 19px; font-weight: 700; }
.language-option:hover { border-color: var(--red); }
.language-option.selected { border-color: var(--red); color: white; background: var(--red); box-shadow: inset 0 0 0 2px white; }
.welcome-stage .start-button { min-width: 330px; min-height: 80px; margin-top: 10px; font-size: 26px; }
.welcome-stage .follow-us-button { min-width: 260px; min-height: 56px; margin-top: -8px; gap: 10px; color: white; background: linear-gradient(45deg, #feda75, #fa7e1e 34%, #d62976 68%, #962fbf); font-size: 19px; box-shadow: 0 4px 0 rgba(150, 47, 191, .2); }
.welcome-stage .follow-us-button:hover { filter: brightness(1.08); }
.welcome-stage .follow-us-button svg { width: 24px; height: 24px; }
.button { min-height: 60px; display: inline-flex; justify-content: center; align-items: center; gap: 15px; padding: 0 25px; border: 0; border-radius: 11px; font-size: 20px; font-weight: 700; transition: transform .14s ease, background .14s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--ink); background: var(--yellow); box-shadow: 0 5px 0 #db9e10; }
.button-primary:hover { background: #ffd758; }
.button-secondary { color: var(--red); border: 2px solid var(--red); background: white; }
.button svg { flex: 0 0 auto; }

.order-layout { width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 0 50px; }
.stepper { display: flex; justify-content: center; gap: clamp(20px, 7vw, 100px); margin: 0 auto 26px; }
.step { display: flex; align-items: center; gap: 10px; color: #948a7c; font-size: 18px; font-weight: 700; }
.step-number { width: 35px; height: 35px; display: grid; place-items: center; border: 2px solid #d6c9b4; border-radius: 50%; font-size: 16px; }
.step.active { color: var(--red); }
.step.active .step-number { color: var(--ink); border-color: var(--yellow); background: var(--yellow); }
.step.done { color: var(--green); }
.step.done .step-number { color: white; border-color: var(--green); background: var(--green); }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin: 0 0 22px; }
.page-heading > div { display: grid; gap: 10px; }
.page-heading h1 { margin: 0; color: var(--red); font-size: clamp(36px, 4vw, 52px); line-height: 1; }
.order-total { padding: 12px 17px; border: 2px solid var(--yellow); border-radius: 9px; color: var(--red); background: white; font-size: 25px; white-space: nowrap; }
.order-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 15px; }
.order-count-label { color: var(--muted); font-size: 19px; font-weight: 700; }
.add-item { min-height: 47px; padding: 0 18px; border: 2px solid var(--red); border-radius: 9px; color: var(--red); background: white; font-weight: 700; }
.add-item:hover { color: white; background: var(--red); }
.add-item-large { width: 100%; min-height: 72px; margin: 20px 0 8px; border-width: 3px; border-radius: 14px; font-size: 23px; box-shadow: 0 5px 0 rgba(184, 32, 22, .16); }
.add-item-large:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(184, 32, 22, .16); }
.order-list { display: grid; gap: 20px; }
.order-item { padding: clamp(17px, 2.5vw, 28px); border: 2px solid var(--line); border-top: 7px solid var(--yellow); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.order-item-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.order-item-head h2 { margin: 0; color: var(--red); font-size: 23px; }
.item-header-actions { display: flex; align-items: center; gap: 10px; }
.remove-item { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--red); background: white; font-size: 25px; }
.quantity-selector { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 17px; }
.quantity-selector > strong { color: var(--muted); font-size: 17px; }
.quantity-controls { display: flex; align-items: center; gap: 12px; }
.quantity-stepper { width: 52px; height: 52px; border: 2px solid var(--red); border-radius: 11px; color: var(--red); background: white; font-size: 31px; font-weight: 700; line-height: 1; }
.quantity-stepper:hover:not(:disabled) { color: white; background: var(--red); }
.quantity-stepper:disabled { opacity: .38; cursor: not-allowed; }
.quantity-value { min-width: 38px; color: var(--red); font-size: 27px; font-weight: 700; text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.product-tile { min-height: 250px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 7px; padding: 14px; border: 2px solid var(--line); border-radius: 12px; color: var(--ink); background: #fffdf7; text-align: left; }
.product-tile:hover { border-color: var(--red); }
.product-tile.selected { border: 3px solid var(--red); background: var(--yellow-light); box-shadow: inset 0 0 0 2px white; }
.product-tile-kind { color: var(--red); font-size: 15px; font-weight: 700; letter-spacing: .1em; }
.product-figure { width: 100%; height: 78px; display: grid; place-items: center; }
.product-figure svg { width: min(100%, 135px); height: 78px; display: block; overflow: visible; }
.product-figure.product-photo { height: auto; aspect-ratio: 1074 / 666; overflow: hidden; border-radius: 8px; background: #f6d99c; }
.product-photo-extra { aspect-ratio: 1444 / 1186; }
.product-photo-extra img { transform: scale(1.05) translateY(-2%); }
.product-photo-lavash { position: relative; aspect-ratio: 630 / 572; }
.product-photo img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: center; }
.product-photo .product-photo-count { width: 29px; height: 29px; position: absolute; top: 5px; right: 5px; display: grid; place-items: center; border: 2px solid #fffaf0; border-radius: 50%; color: white; background: var(--red); font-size: 17px; line-height: 1; }
.product-tile strong { font-size: 23px; line-height: 1.06; }
.product-tile > span:not(.product-tile-kind) { color: var(--muted); font-size: 18px; }
.product-tile b { color: var(--red); font-size: 23px; }
.item-customization { margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); }
.customization-panels { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, 1fr); gap: 22px; }
.customization-panel h3 { margin: 0 0 13px; font-size: 21px; }
.sauce-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.spice-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spice-options .sauce-option { width: 100%; min-height: 68px; padding: 6px 8px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.sauce-option { min-height: 50px; padding: 0 18px; border: 2px solid var(--line); border-radius: 9px; color: var(--ink); background: white; font-weight: 700; }
.sauce-option:hover:not(:disabled) { border-color: var(--red); }
.sauce-option.selected { border-color: var(--red); color: white; background: var(--red); }
.sauce-option:disabled { opacity: .4; cursor: not-allowed; }
.sauce-option.sauce-choice { min-height: 82px; padding: 7px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.sauce-icon { width: 34px; height: 34px; flex: 0 0 auto; }
.sauce-choice-label { font-size: 15px; line-height: 1.05; }
.spice-indicator { min-height: 23px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.spice-peppers { display: flex; align-items: center; }
.pepper-icon { width: 19px; height: 19px; margin-right: -3px; }
.spice-level-number { min-width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--red); background: var(--yellow); font-size: 15px; line-height: 1; }
.spice-option.selected .spice-level-number { color: var(--ink); }
.customize-options { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 13px; }
.customize-toggle { min-height: 48px; display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; cursor: pointer; }
.customize-toggle input { width: 24px; height: 24px; margin: 0; accent-color: var(--red); }
.customize-toggle input:disabled + span { color: #999; }
.form-error { min-height: 22px; margin: 8px 0 0; color: var(--red-dark); font-weight: 700; }
.order-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 24px; }
.back-button { min-height: 48px; padding: 0 7px; border: 0; color: var(--red); background: transparent; font-weight: 700; }
.order-bottom .button { min-width: 230px; }

.details-layout { max-width: 1060px; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.form-card, .summary-card { padding: 25px; border: 2px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.form-card { display: flex; flex-direction: column; align-items: stretch; }
.form-card .section-tag { margin-bottom: 20px; }
.form-card h2, .summary-card h2 { margin: 0 0 18px; color: var(--red); font-size: 24px; }
.phone-label { display: block; margin-bottom: 11px; font-size: 18px; font-weight: 700; }
.phone-entry { width: 100%; min-height: 70px; padding: 0 18px; border: 2px solid #cfc3b1; border-radius: 10px; outline: 0; color: var(--ink); background: #fffdf7; font-size: 32px; font-weight: 700; letter-spacing: .26em; }
.phone-entry:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(218, 41, 28, .13); }
.phone-entry::placeholder { color: #c6bcae; }
.form-card .button { width: 100%; margin-top: 10px; }
.summary-list { display: grid; gap: 12px; }
.summary-item { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 18px; }
.summary-item:last-child { border-bottom: 0; }
.summary-item > div { display: grid; gap: 5px; }
.summary-item strong { color: var(--ink); }
.summary-item span { color: var(--muted); }
.summary-item > b { color: var(--red); white-space: nowrap; }
.summary-total, .confirmation-total, .cashier-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 15px; border-top: 2px solid var(--yellow); font-size: 18px; font-weight: 700; }
.summary-total strong, .confirmation-total strong, .cashier-total strong { color: var(--red); font-size: 22px; }
.confirmation { max-width: 690px; margin: 15px auto 35px; padding: 36px; border: 3px solid var(--yellow); border-radius: 18px; background: white; text-align: center; box-shadow: var(--shadow); }
.success-mark { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; color: var(--yellow); background: var(--red); font-size: 42px; font-weight: 700; }
.confirmation .section-tag { margin-bottom: 7px; }
.order-number-box { max-width: 350px; margin: 19px auto; padding: 17px; border-radius: 12px; background: var(--yellow-light); }
.order-number-box span { display: block; margin-bottom: 5px; font-size: 16px; font-weight: 700; }
.order-number-box strong { color: var(--red); font-size: 39px; }
.order-number-box small { display: block; margin-top: 7px; font-size: 17px; font-weight: 700; }
.confirmation-total { max-width: 350px; margin: 0 auto 17px; }
.pay-banner { display: block; margin: 0 auto 16px; padding: 16px; border-radius: 10px; color: var(--ink); background: var(--yellow); font-size: 20px; font-weight: 700; }

.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(33, 29, 26, .62); }
.modal-card { position: relative; width: min(100%, 480px); padding: 32px; border: 3px solid var(--yellow); border-radius: 16px; background: white; box-shadow: var(--shadow); text-align: center; }
.modal-close { position: absolute; top: 11px; right: 13px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: white; background: var(--red); font-size: 27px; }
.qr-modal .section-tag { margin: 0 auto 16px; }
.qr-modal h2 { color: var(--red); font-size: 27px; }
.qr-modal canvas { width: 260px; height: 260px; max-width: 100%; border: 8px solid white; background: white; box-shadow: 0 0 0 2px var(--yellow); image-rendering: pixelated; }
.qr-url { margin: 15px 0 5px; color: var(--red); font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.qr-hint { margin: 0; color: var(--muted); font-size: 18px; }

.cashier-body { background: #fff7df; }
.cashier-shell { max-width: 1500px; }
.cashier-main { flex: 1; padding: 32px 0 55px; }
.cashier-nav { display: flex; align-items: center; gap: 10px; }
.cashier-link { text-align: center; }
.cashier-heading, .orders-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 18px; }
.cashier-heading h1 { margin: 8px 0 0; color: var(--red); font-size: clamp(38px, 4vw, 52px); }
.refresh-button { min-height: 48px; }
.inventory-panel { width: min(100%, 780px); margin: 24px 0 0 auto; padding: 12px 14px; border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: 10px; background: white; }
.inventory-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.inventory-heading h2, .orders-section-heading h2 { margin: 9px 0 0; color: var(--red); font-size: 29px; }
.inventory-heading h2 { margin: 3px 0 0; font-size: 20px; }
.inventory-heading .section-tag { padding: 4px 8px; font-size: 14px; }
.inventory-heading p { margin: 0; padding: 5px 8px; border-radius: 6px; background: var(--yellow-light); font-size: 16px; font-weight: 700; }
.inventory-content { display: grid; grid-template-columns: minmax(235px, .8fr) 1.2fr; gap: 14px; align-items: center; }
.inventory-form label { display: block; margin-bottom: 5px; font-size: 16px; font-weight: 700; }
.inventory-input-row { display: flex; align-items: center; gap: 7px; }
.inventory-input-row input { width: min(100%, 125px); min-width: 0; min-height: 44px; padding: 0 9px; border: 2px solid #cfc3b1; border-radius: 7px; outline: 0; font-size: 19px; }
.inventory-input-row input:focus { border-color: var(--red); }
.inventory-input-row > span { font-size: 14px; font-weight: 700; }
.inventory-input-row .button { min-height: 44px; margin-left: auto; padding: 0 10px; font-size: 14px; }
.inventory-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.inventory-metrics > div { min-height: 58px; display: flex; flex-direction: column; justify-content: center; padding: 6px; border-radius: 7px; background: #fff6d9; text-align: center; }
.inventory-metrics > div.inventory-remaining { color: white; background: var(--red); }
.inventory-metrics span { font-size: 13px; font-weight: 700; }
.inventory-metrics strong { margin: 2px 0; font-size: 23px; line-height: 1; }
.inventory-metrics small { font-size: 14px; }
.inventory-status { min-height: 18px; margin: 5px 0 0; color: var(--muted); font-size: 16px; }
.inventory-form .form-error { min-height: 0; margin: 3px 0 0; font-size: 15px; }
.orders-section-heading { align-items: center; }
.orders-section-heading h2 { margin-top: 0; }
.orders-title-group { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.order-date-filter { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; font-weight: 700; }
.order-date-filter input { min-height: 43px; padding: 0 9px; border: 2px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font-size: 16px; }
.sales-report-panel { margin: 0 0 20px; padding: 14px; border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: 10px; background: white; }
.sales-report-page { max-width: 1100px; margin: 0 auto; padding: clamp(18px, 4vw, 36px); box-shadow: var(--shadow); }
.sales-report-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.sales-report-toolbar h2 { margin: 0; color: var(--red); font-size: 25px; }
.sales-report-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sales-report-card { min-height: 170px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 18px; border-radius: 8px; background: #fff7df; text-align: center; }
.sales-report-card.daily-report-card { background: var(--yellow-light); }
.sales-report-card h3 { margin: 0; color: var(--muted); font-size: 17px; letter-spacing: .08em; }
.sales-report-card > strong { color: var(--red); font-size: 38px; line-height: 1.05; }
.sales-report-card > span { font-size: 18px; font-weight: 700; }
.sales-report-card > small { color: var(--muted); font-size: 15px; }
.sales-report-card > small b { color: var(--ink); font-size: 17px; }
.sales-report-status { min-height: 20px; margin-top: 15px; text-align: center; }
.cashier-status { margin: 0; color: var(--muted); font-size: 18px; text-align: right; }
.cashier-filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 15px; border-bottom: 2px solid var(--yellow); }
.cashier-filters [data-filter="all"] { margin-left: auto; }
.filter-button { min-height: 48px; padding: 0 14px; border: 2px solid transparent; border-radius: 8px; color: var(--muted); background: white; font-size: 17px; font-weight: 700; }
.filter-button.active { border-color: var(--red); color: white; background: var(--red); }
.orders-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 15px; }
.cashier-order { padding: 20px; border: 2px solid var(--line); border-top: 6px solid var(--yellow); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.cashier-order-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 13px; }
.cashier-order-number { display: flex; align-items: baseline; gap: 8px; margin: 0 0 5px; color: var(--red); }
.cashier-order-number span { color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.cashier-order-number strong { color: var(--red); font-size: 30px; line-height: 1; }
.cashier-order-time { color: var(--muted); font-size: 16px; }
.status-pill { padding: 8px 10px; border-radius: 6px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.status-pill.pending { color: #7b4d00; background: #ffedb2; }
.status-pill.paid { color: white; background: var(--green); }
.status-pill.ready { color: var(--ink); background: var(--yellow); }
.status-pill.delivered { color: white; background: var(--green); }
.order-phone { margin: 0 0 13px; color: var(--muted); font-size: 17px; }
.order-phone strong { color: var(--ink); }
.cashier-items { display: grid; gap: 8px; margin-bottom: 15px; }
.cashier-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px; border-radius: 8px; background: #fff7df; font-size: 17px; }
.cashier-item > div { display: grid; gap: 4px; }
.cashier-item strong { color: var(--ink); }
.cashier-item span { color: var(--muted); }
.cashier-item > b { color: var(--red); white-space: nowrap; }
body[data-cashier-filter="paid"] .cashier-order-time { font-size: 12px; }
body[data-cashier-filter="paid"] .status-pill { padding: 6px 8px; font-size: 13px; }
body[data-cashier-filter="paid"] .order-phone { font-size: 14px; }
body[data-cashier-filter="paid"] .order-phone strong { color: var(--red); font-size: 20px; }
body[data-cashier-filter="paid"] .cashier-item { padding: 15px; font-size: 21px; }
body[data-cashier-filter="paid"] .cashier-item > div { gap: 7px; }
body[data-cashier-filter="paid"] .cashier-item strong { font-size: 24px; line-height: 1.1; }
body[data-cashier-filter="paid"] .cashier-item span { font-size: 18px; line-height: 1.2; }
body[data-cashier-filter="paid"] .cashier-item > b { font-size: 22px; }
body[data-cashier-filter="paid"] .cashier-total { font-size: 20px; }
body[data-cashier-filter="paid"] .cashier-total strong { font-size: 27px; }
.cashier-total { margin: -3px 0 14px; padding: 10px 0 0; }
.paid-button { width: 100%; min-height: 51px; border: 0; border-radius: 9px; color: var(--ink); background: var(--yellow); font-weight: 700; }
.paid-button:disabled { color: #566252; background: #dce8db; cursor: default; }
.delivered-button { color: white; background: var(--green); }
.delivered-button:hover { background: #263f2b; }
.recall-action-row { display: flex; justify-content: flex-end; margin-top: 10px; }
.recall-button { min-height: 48px; padding: 0 19px; border: 2px solid var(--red); border-radius: 9px; color: white; background: var(--red); font-weight: 700; }
.recall-button:hover:not(:disabled) { color: var(--red); background: white; }
.recall-button:disabled { opacity: .65; cursor: wait; }
.empty-orders { grid-column: 1 / -1; padding: 45px 20px; border: 2px dashed #decda9; border-radius: 14px; color: var(--muted); background: rgba(255, 255, 255, .7); font-size: 18px; text-align: center; }
.all-orders-total { grid-column: 1 / -1; justify-self: end; width: min(100%, 460px); display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 5px; padding: 14px 18px; border-radius: 10px; color: white; background: var(--ink); font-weight: 700; }
.all-orders-total strong { color: var(--yellow); font-size: 25px; white-space: nowrap; }

.cashier-login-body { display: grid; place-items: center; padding: 24px; background: #fff7df; }
.cashier-login-card { width: min(100%, 480px); padding: clamp(25px, 6vw, 42px); border: 2px solid var(--line); border-top: 7px solid var(--yellow); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.cashier-login-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 25px; text-align: center; }
.cashier-login-brand img { width: 100px; height: 120px; object-fit: contain; background: white; }
.cashier-login-brand strong { color: var(--red); font-size: 30px; }
.cashier-login-card h1 { margin: 0 0 22px; color: var(--red); font-size: 35px; text-align: center; }
.cashier-login-field { display: grid; gap: 8px; margin: 0 0 17px; font-size: 19px; font-weight: 700; }
.cashier-login-field input { width: 100%; min-height: 58px; padding: 0 14px; border: 2px solid #cfc3b1; border-radius: 9px; outline: 0; background: #fffdf7; font-size: 21px; }
.cashier-login-field input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(218, 41, 28, .13); }
.cashier-login-card .button { width: 100%; margin-top: 7px; }
.cashier-login-error { min-height: 24px; margin: 14px 0 0; color: var(--red-dark); font-weight: 700; text-align: center; }

.display-body { color: white; background: var(--ink); }
.display-shell { width: 100%; min-height: 100vh; max-width: 1900px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.display-topbar { min-height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 3px solid var(--yellow); }
.display-brand { display: inline-flex; align-items: center; gap: 15px; color: var(--yellow); font-size: 25px; font-weight: 700; letter-spacing: .05em; }
.display-brand img { width: 65px; height: 78px; object-fit: contain; border-radius: 6px; background: white; }
.display-brand b { color: white; }
.display-live { display: inline-flex; align-items: center; gap: 9px; color: #e7e0d4; font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.display-live i { width: 11px; height: 11px; border-radius: 50%; background: #60d394; box-shadow: 0 0 14px #60d394; }
.display-main { min-height: calc(100vh - 108px); display: flex; flex-direction: column; align-items: center; padding: clamp(28px, 5vh, 60px) 0 30px; text-align: center; }
.display-eyebrow { color: var(--yellow); font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: .15em; }
.display-instruction { margin: 9px 0 25px; color: #e7e0d4; font-size: clamp(18px, 2vw, 25px); }
.display-current { width: min(100%, 1150px); }
.display-number-card { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; border: 5px solid var(--yellow); border-radius: 24px; color: var(--ink); background: white; box-shadow: 0 16px 55px rgba(0, 0, 0, .3); }
.display-number-card > span { color: var(--red); font-size: clamp(19px, 2.2vw, 28px); font-weight: 700; letter-spacing: .15em; }
.display-number-card strong { display: block; color: var(--red); font-size: clamp(100px, 25vw, 260px); line-height: .98; letter-spacing: -.05em; }
.display-number-card small { color: var(--ink); font-size: clamp(17px, 2vw, 24px); font-weight: 700; letter-spacing: .08em; }
.display-no-call { min-height: 220px; display: grid; place-items: center; padding: 28px; border: 2px dashed #786f63; border-radius: 20px; color: #c7bda9; font-size: clamp(22px, 4vw, 40px); font-weight: 700; }
.display-queue-section { width: min(100%, 1150px); margin: 27px auto 0; }
.display-queue-section h2 { margin: 0 0 13px; color: var(--yellow); font-size: 17px; letter-spacing: .12em; }
.display-queue { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.display-queue-number { min-width: 135px; padding: 12px 18px; border: 1px solid #6d6459; border-radius: 10px; color: white; background: #332e28; font-size: 25px; font-weight: 700; }
.display-status { margin: auto 0 0; padding-top: 20px; color: #aba194; font-size: 15px; }

@media (max-width: 920px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inventory-content { grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: 10px; }
}

@media (max-width: 680px) {
  :root { font-size: 19px; }
  .app-shell { padding-right: 16px; padding-left: 16px; }
  .topbar { min-height: 72px; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 8px 0; }
  .brand { gap: 8px; }
  .topbar > .brand { width: 100%; justify-content: center; }
  .brand-logo { width: 39px; height: 46px; }
  .brand-name { font-size: 19px; }
  .topbar-actions, .cashier-nav { width: 100%; justify-content: center; gap: 7px; }
  .cashier-nav .cashier-link { flex: 1 1 0; }
  .text-button, .cashier-link { min-height: 44px; padding: 0 9px; font-size: 15px; }
  .welcome-stage { min-height: calc(100vh - 126px); gap: 17px; padding: 24px 0; }
  .welcome-stage h1 { font-size: clamp(38px, 10vw, 64px); }
  .welcome-logo { width: min(270px, 65vw); max-height: 26vh; }
  .language-options { gap: 8px; }
  .language-option { min-height: 48px; padding: 0 11px; font-size: 17px; }
  .welcome-stage .start-button { width: 100%; min-width: 0; min-height: 72px; font-size: 23px; }
  .welcome-stage .follow-us-button { width: min(100%, 330px); min-width: 0; min-height: 52px; }
  .order-layout { padding: 22px 0 35px; }
  .stepper { justify-content: space-between; gap: 6px; margin-bottom: 21px; }
  .step { gap: 5px; font-size: 14px; }
  .step-number { width: 29px; height: 29px; font-size: 15px; }
  .page-heading { align-items: center; }
  .page-heading h1 { font-size: 35px; }
  .order-total { padding: 9px 10px; font-size: 20px; }
  .product-grid { gap: 8px; }
  .product-tile { min-height: 230px; padding: 10px; }
  .product-figure { height: 70px; }
  .product-figure svg { height: 70px; }
  .product-figure.product-photo { height: auto; }
  .product-tile strong { font-size: 20px; }
  .product-tile > span:not(.product-tile-kind) { font-size: 17px; }
  .product-tile b { font-size: 21px; }
  .sauce-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .sauce-option { min-height: 47px; padding: 0 12px; font-size: 16px; }
  .sauce-option.sauce-choice { min-height: 72px; padding: 5px 4px; }
  .sauce-icon { width: 29px; height: 29px; }
  .sauce-choice-label { font-size: 14px; }
  .customization-panels { grid-template-columns: 1fr; gap: 18px; }
  .item-header-actions { gap: 6px; }
  .add-item-large { min-height: 66px; margin-top: 16px; font-size: 21px; }
  .quantity-controls { gap: 9px; }
  .quantity-stepper { width: 48px; height: 48px; }
  .quantity-value { min-width: 32px; font-size: 24px; }
  .order-bottom { align-items: stretch; flex-direction: column-reverse; }
  .order-bottom .button { width: 100%; }
  .back-button { align-self: center; }
  .details-grid { grid-template-columns: 1fr; }
  .form-card, .summary-card { padding: 20px; }
  .confirmation { padding: 25px 17px; }
  .cashier-main { padding: 24px 0 38px; }
  .cashier-heading h1 { font-size: 38px; }
  .inventory-panel { padding: 10px; }
  .inventory-content { grid-template-columns: 1fr; gap: 8px; }
  .inventory-heading { align-items: center; }
  .inventory-heading p { font-size: 13px; }
  .inventory-input-row { flex-wrap: nowrap; }
  .inventory-input-row input { flex: 1 1 80px; }
  .inventory-input-row .button { flex: 0 0 auto; margin: 0 0 0 auto; padding: 0 8px; font-size: 13px; }
  .inventory-metrics { grid-template-columns: repeat(3, 1fr); }
  .inventory-metrics > div { min-height: 56px; }
  .orders-section-heading { align-items: start; flex-direction: column; }
  .orders-title-group { width: 100%; justify-content: space-between; gap: 8px; }
  .order-date-filter { font-size: 12px; }
  .order-date-filter input { min-height: 40px; font-size: 14px; }
  .sales-report-grid { grid-template-columns: 1fr; }
  .sales-report-card { min-height: 140px; }
  .sales-report-toolbar { align-items: start; flex-direction: column; gap: 12px; }
  .sales-report-toolbar h2 { font-size: 20px; }
  .cashier-status { text-align: left; }
  .cashier-nav { flex-wrap: wrap; gap: 5px; }
  .cashier-nav .cashier-link { flex: 1 1 40%; }
  .orders-list { grid-template-columns: 1fr; }
  .cashier-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-button { padding: 0 7px; font-size: 15px; }
  .display-shell { padding-right: 15px; padding-left: 15px; }
  .display-topbar { min-height: 78px; gap: 8px; }
  .display-brand { gap: 8px; font-size: 17px; }
  .display-brand img { width: 42px; height: 52px; }
  .display-live { gap: 6px; font-size: 12px; letter-spacing: .03em; }
  .display-live i { width: 8px; height: 8px; }
  .display-main { min-height: calc(100vh - 80px); padding-top: 30px; }
  .display-number-card { min-height: 280px; padding: 18px 10px; border-width: 3px; border-radius: 16px; }
  .display-queue-number { min-width: 105px; padding: 10px 12px; font-size: 20px; }
}

@media (max-width: 370px) {
  .brand-name { font-size: 16px; }
  .brand-logo { width: 35px; height: 42px; }
  .text-button, .cashier-link { padding: 0 6px; font-size: 13px; }
  .step { font-size: 12px; }
  .step-number { width: 26px; height: 26px; }
}
