/* Local uploaded Modam TrueType faces; weights verified from OS/2 metadata. */
@font-face{font-family:"Modam";src:url("/fonts/Modam-ExtraLight.ttf") format("truetype");font-style:normal;font-weight:200;font-display:swap;}
@font-face{font-family:"Modam";src:url("/fonts/Modam-Light.ttf") format("truetype");font-style:normal;font-weight:300;font-display:swap;}
@font-face{font-family:"Modam";src:url("/fonts/Modam-Regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap;}
@font-face{font-family:"Modam";src:url("/fonts/Modam-Medium.ttf") format("truetype");font-style:normal;font-weight:500;font-display:swap;}
@font-face{font-family:"Modam";src:url("/fonts/Modam-SemiBold.ttf") format("truetype");font-style:normal;font-weight:600;font-display:swap;}
@font-face{font-family:"Modam";src:url("/fonts/Modam-Bold.ttf") format("truetype");font-style:normal;font-weight:700;font-display:swap;}
@font-face{font-family:"Modam";src:url("/fonts/Modam-ExtraBold.ttf") format("truetype");font-style:normal;font-weight:800;font-display:swap;}
@font-face{font-family:"Modam";src:url("/fonts/Modam-Black.ttf") format("truetype");font-style:normal;font-weight:900;font-display:swap;}
html{font-synthesis:none;}
:root{--green:#007f49;--muted:#746f65;--paper:#f8f5ee;--line:#e5dfd2;--gold:#b48a45;--red:#a63c33;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--green);font-family:"Modam",Tahoma,Arial,sans-serif;font-size:14px;line-height:1.9}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.header{max-width:1280px;margin:auto;padding:22px 32px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px;font-size:19px;font-weight:bold}.brand small{display:block;font:10px "Modam",Tahoma,Arial,sans-serif;letter-spacing:3px;margin-top:4px}.brand-mark{display:grid;place-items:center;background:var(--green);color:#f6e4bd;width:53px;height:53px;border-radius:50%;font-size:21px}.header nav{display:flex;gap:22px;font-size:12px}.header nav a[aria-current]{color:var(--gold);font-weight:bold}.trial{text-align:center;background:#eae7dc;color:#5c6253;font-size:11px;padding:7px 15px}main{max-width:1216px;margin:0 auto;min-height:65vh;padding:0 24px 50px}.hero{margin:30px 0 32px;display:grid;grid-template-columns:1.35fr 1fr;background:var(--green);color:var(--paper);min-height:265px;border-radius:24px;overflow:hidden}.hero-copy{padding:35px 42px}.eyebrow{font-size:10px;letter-spacing:4px;font-family:"Modam",Tahoma,Arial,sans-serif;color:#ddc492}.hero h1{font-size:34px;margin:7px 0 12px;font-weight:normal}.hero p{font-size:13px;color:#d3d8cf;margin:0 0 17px}.hero .chip{font-size:11px;padding:5px 12px;border:1px solid #687660;border-radius:20px;color:#e7d6af}.coffee-art{position:relative;display:grid;place-items:center;min-height:240px;background:radial-gradient(ellipse at center,#64745b 0,#354c38 52%,#263c30 76%)}.cup{width:135px;height:135px;border-radius:50%;background:radial-gradient(circle,#593220 0 37%,#bd9870 38% 43%,#faf2dc 44% 57%,#aeb9a1 58% 59%,#e6e0c8 60% 70%,transparent 71%);filter:drop-shadow(12px 22px 12px #17271b88);transform:rotate(-18deg);position:relative}.cup:after{content:'';position:absolute;border:9px solid #e6e0c8;width:28px;height:23px;right:-12px;top:51px;border-radius:12px;z-index:-1}.coffee-art span{position:absolute;bottom:20px;font:10px "Modam",Tahoma,Arial,sans-serif;letter-spacing:5px;color:#d8d0ab}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.section-heading h2{font-size:23px;margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:2px 0}.muted{color:var(--muted);font-size:12px}.menu-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:27px;align-items:start}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.filter{border:1px solid var(--line);border-radius:25px;padding:8px 17px;background:transparent;color:var(--muted);font-size:12px}.filter.active{background:var(--green);border-color:var(--green);color:white}.search{margin-bottom:16px;width:100%}.menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.menu-card{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:#fffdf9;display:flex;flex-direction:column}.item-visual{height:95px;display:grid;place-items:center;background:#ede9de;border-radius:11px;font-size:42px;margin-bottom:13px}.menu-card h3{margin:0;font-size:16px}.menu-card p{font-size:11px;color:var(--muted);margin:7px 0 17px;min-height:24px}.item-bottom{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:9px}.price{font-size:15px;font-weight:bold}.price small{font-size:10px;font-weight:normal}.add{border:1px solid #c8d1c5;color:var(--green);background:#f2f5ef;border-radius:9px;min-width:40px;min-height:40px;font-size:20px}.cart{position:sticky;top:18px;background:#fffdf9;border:1px solid var(--line);border-radius:var(--radius);padding:21px}.cart h2{font-size:17px;margin:0}.cart-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:15px}.badge{background:#ebece3;border-radius:20px;padding:2px 10px;font-size:11px}.empty{text-align:center;color:var(--muted);padding:32px 9px;font-size:12px}.cart-line{padding:13px 0;border-bottom:1px solid var(--line)}.cart-line>div,.total{display:flex;justify-content:space-between;align-items:center;gap:8px}.cart-line strong{font-size:12px}.qty{display:flex;gap:12px;align-items:center;margin-top:8px;font-size:12px}.qty button{border:1px solid var(--line);background:white;width:29px;height:29px;border-radius:7px}.total{margin:18px 0;font-weight:bold}label{display:block;margin:10px 0 5px;font-size:12px}input,select,textarea{max-width:100%;padding:10px 12px;border-radius:9px;border:1px solid var(--line);background:white;color:var(--green)}form input,form select,form textarea,.cart input,.cart textarea{width:100%}textarea{resize:vertical;min-height:68px}.primary,.secondary,.danger{border:0;border-radius:10px;padding:10px 17px;font-size:12px;min-height:42px}.primary{background:var(--green);color:white}.secondary{background:#e9ecdf;color:var(--green)}.danger{background:#f5e1dc;color:var(--red)}.wide{width:100%;margin-top:12px}.notice{font-size:11px;color:var(--muted);margin:12px 0 0}.tracking{padding:16px;border:1px solid #bac7b1;background:#eff3e9;border-radius:12px;margin-bottom:20px}.tracking strong{display:block}.tracking button{margin-top:10px}.login{max-width:420px;margin:55px auto;background:#fffdf9;border:1px solid var(--line);border-radius:20px;padding:30px}.login h1{font-size:24px;margin:0 0 10px}.staff-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;margin:35px 0 24px}.staff-head h1{margin:0;font-size:25px}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.order-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.order-card{background:#fffdf9;border:1px solid var(--line);border-radius:16px;padding:19px}.order-top{display:flex;justify-content:space-between;gap:10px}.status{font-size:10px;border-radius:20px;padding:3px 10px;background:#e9ecdf}.status-ready{background:#d8e9cd}.status-cancelled{background:#f4ded8}.order-card ul{padding-right:20px;font-size:12px;min-height:60px}.order-card .note{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#f4efe4;padding:9px;border-radius:8px}.order-card .toolbar{margin-top:15px}.editor{margin-top:35px;border-top:1px solid var(--line);padding-top:25px}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.menu-list{display:grid;gap:8px}.menu-row{display:flex;align-items:center;justify-content:space-between;padding:10px;background:#fffdf9;border:1px solid var(--line);border-radius:10px;font-size:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}#message{position:fixed;bottom:24px;left:24px;right:24px;width:max-content;max-width:calc(100% - 48px);margin:auto;border-radius:12px;padding:0;z-index:20;background:#263c30;color:white;box-shadow:0 5px 30px #0002;font-size:13px}#message.visible{padding:12px 20px}.receipt{display:none}footer{text-align:center;font-size:11px;color:var(--muted);padding:22px;border-top:1px solid var(--line)}.loading{text-align:center;padding:60px}.error{color:var(--red)}[hidden]{display:none!important}@media(max-width:1000px){.order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.menu-layout{grid-template-columns:minmax(0,1fr) 280px}.hero-copy{padding:30px}.hero h1{font-size:28px}}@media(max-width:720px){.header{padding:16px;align-items:flex-start}.header nav{gap:12px;font-size:10px;flex-wrap:wrap;justify-content:flex-end;max-width:190px}.brand{font-size:15px;gap:8px}.brand-mark{width:42px;height:42px;font-size:17px}main{padding:0 15px 35px}.hero{grid-template-columns:1.5fr 1fr;margin-top:20px;min-height:220px}.hero-copy{padding:24px 18px}.hero h1{font-size:23px}.hero p{font-size:11px}.coffee-art{min-height:210px}.cup{width:100px;height:100px}.cup:after{width:22px;height:18px;top:36px;border-width:7px}.coffee-art span{font-size:7px;letter-spacing:2px}.menu-layout{grid-template-columns:1fr}.cart{position:static}.menu-card{padding:13px}.menu-grid{gap:10px}.item-visual{height:80px;font-size:36px}.price{font-size:13px}.section-heading h2{font-size:21px}.editor-grid,.order-grid{grid-template-columns:1fr}.hero .chip{font-size:9px}.staff-head h1{font-size:22px}}@media print{
  /* Respect the selected 58/80 mm driver paper; 5 mm margins leave 48/70 mm. */
  @page{size:auto;margin:5mm}
  html,body{width:100%;min-width:0!important;margin:0!important;padding:0!important;background:#fff;color:#000}
  .header,.trial,main,footer,#message{display:none!important}
  .receipt{display:block;width:100%;max-width:70mm;min-width:0;margin:0 auto;padding:0;box-sizing:border-box;color:#000;font-family:"Modam",Tahoma,Arial,sans-serif;font-size:11px;line-height:1.65;direction:rtl;text-align:right}
  .receipt .receipt-document{width:100%;max-width:100%;min-width:0}
  .receipt-header{text-align:center;break-inside:avoid;page-break-inside:avoid;margin-bottom:3mm}
  .receipt .receipt-logo{display:block;width:auto;height:18mm;max-width:100%;object-fit:contain;margin:0 auto 2mm}
  .receipt h1{margin:0 0 2mm;font-size:19px;line-height:1.5;color:#000}
  .receipt .receipt-number{font-size:12px;font-weight:700;margin:0 0 2mm}
  .receipt-meta{text-align:right;border-top:1px dashed #777;padding-top:2mm}
  .receipt-meta p{margin:0 0 1mm;overflow-wrap:anywhere}
  .receipt-meta span{font-weight:700}
  .receipt .receipt-items{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;direction:rtl;margin:0}
  .receipt-name-col{width:50%}.receipt-quantity-col{width:14%}.receipt-amount-col{width:36%}
  .receipt-items thead{display:table-header-group}
  .receipt-items tr{break-inside:avoid;page-break-inside:avoid}
  .receipt .receipt-items th,.receipt .receipt-items td{padding:1.8mm .5mm;border-bottom:1px dashed #888;vertical-align:top;font-size:10px;line-height:1.65;white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-align:right}
  .receipt .receipt-items th{font-weight:700;border-top:1px solid #555;border-bottom:1px solid #555}
  .receipt .receipt-items th:nth-child(2),.receipt .receipt-item-quantity{text-align:center}
  .receipt .receipt-items th:last-child,.receipt .receipt-line-total{text-align:left}
  .receipt .receipt-items small{font-size:9px;font-weight:400}
  .receipt-grand-total{margin-top:3mm;padding:3mm 0;border-bottom:1px dashed #777;text-align:center;break-inside:avoid;page-break-inside:avoid;overflow-wrap:anywhere}
  .receipt-grand-total>span{display:block;font-size:11px;margin-bottom:1mm}
  .receipt-grand-total>strong{display:block;font-size:18px;font-weight:700;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
  .receipt-grand-total>strong>small{font-size:12px;font-weight:700}
  .receipt .receipt-note{margin-top:3mm;padding:0;background:transparent;font-size:10px;white-space:normal;overflow-wrap:anywhere}
  .receipt-note p{white-space:pre-wrap;margin:1mm 0 0;overflow-wrap:anywhere}
  .receipt .receipt-footer{margin:3mm 0 0;text-align:center;font-size:9px;color:#000;break-inside:avoid;page-break-inside:avoid}
}

/* Customer menu: compact, text-only product cards. */
body.customer-page{background:#f5f6f5;color:#24352e;font-family:"Modam",Tahoma,Arial,sans-serif}
.header-title{font-size:15px;font-weight:bold;padding-inline-start:20px;border-inline-start:1px solid #e2e7e3;color:var(--green)}
.customer-page .header{max-width:1200px;padding:18px 28px;min-height:94px;background:#fff;gap:24px}
.customer-page .brand{font-size:20px;gap:12px}
.customer-page .brand-mark{background:#007f49;color:white;border-radius:13px;width:52px;height:52px;font-size:23px}
.customer-page .brand small{font-size:9px;letter-spacing:2px;color:#7b8a80}
.customer-page .header nav{margin-inline-start:auto;gap:18px}
.customer-page .header nav a[aria-current]{color:#007f49}
.customer-page .trial{background:#edf5ef;color:#50685b;border-top:1px solid #e6ede8;border-bottom:1px solid #e6ede8}
.customer-page main{max-width:1200px;padding:0 28px 48px}
.menu-banner{margin:24px 0 27px;background:#007f49;color:#fff;border-radius:14px;min-height:130px;padding:25px 24px;text-align:center;display:flex;flex-direction:column;justify-content:center}
.menu-banner h1{font-size:28px;font-weight:bold;line-height:1.5;margin:0 0 5px}
.menu-banner p{font-size:12px;margin:0;color:#dff4e8}
.customer-page .section-heading{margin-bottom:16px;align-items:flex-start}
.customer-page .section-heading h2{font-size:18px}
.customer-page .section-heading p{font-size:11px;max-width:520px}
.customer-page .menu-layout{grid-template-columns:minmax(0,1fr) 300px;gap:22px}
.customer-page .search{border-radius:10px;font-size:12px;background:#fff;padding:10px 13px;margin-bottom:14px}
.customer-page .filters{gap:7px;margin-bottom:16px}
.customer-page .filter{border-color:#dfe6e1;color:#53665b;background:#fff;border-radius:9px;font-size:11px;padding:7px 12px;min-height:36px}
.customer-page .filter.active{background:#007f49;color:#fff;border-color:#007f49}
.customer-page .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.customer-page .product-card{background:#fff;border:1px solid #e0e6e2;border-radius:12px;padding:15px 16px;min-height:126px;box-shadow:0 2px 5px #163b2303}
.product-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.customer-page .product-card h3{font-size:14px;font-weight:bold;line-height:1.7;margin:0}
.customer-page .product-card p{font-size:10px;line-height:1.8;color:#7c8780;margin:5px 0 13px;min-height:18px}
.availability{font-size:9px;color:#8c6258;background:#f8eeeb;border-radius:5px;padding:2px 6px;white-space:nowrap}
.customer-page .item-bottom{gap:8px;margin-top:auto;padding-top:7px;flex-wrap:wrap}
.customer-page .price{font-size:13px;color:#007f49;white-space:nowrap}
.customer-page .price small{font-size:9px;color:#79877d}
.product-quantity{display:flex;align-items:center;gap:4px;direction:ltr}
.product-quantity button{height:32px;width:32px;border:1px solid #c9e1d3;background:#f1f8f4;border-radius:8px;color:#007f49;font-family:"Modam",Tahoma,Arial,sans-serif;font-size:19px;line-height:1;display:grid;place-items:center}
.product-quantity button:disabled{opacity:.4}
.product-quantity output{font-size:12px;min-width:22px;text-align:center;font-variant-numeric:tabular-nums}
.customer-page .cart{border-color:#e0e6e2;border-radius:12px;background:#fff;padding:18px}
.customer-page .cart h2{font-size:16px}
.customer-page .cart-title{border-color:#e5ebe7;padding-bottom:12px}
.customer-page .cart .badge{background:#e9f5ed;color:#007f49}
.customer-page .cart input,.customer-page .cart textarea{border-color:#dfe6e1;border-radius:8px;font-size:12px}
.customer-page .qty button{color:#007f49;border-color:#d5e6db;border-radius:6px}
.customer-page .primary{background:#007f49;border-radius:8px}
.customer-page .cart .total{font-size:13px}
.customer-page .tracking{background:#edf8f1;border-color:#c9e5d4}
.customer-page footer{background:white;border-color:#e2e9e4;color:#6f7f75}
@media(max-width:850px){.customer-page .header{gap:14px;padding:16px 20px}.customer-page .header-title{font-size:13px;padding-inline-start:14px}.customer-page .header nav{gap:12px;font-size:11px}.customer-page .menu-layout{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.customer-page .product-card{padding:12px}.customer-page .product-card h3{font-size:13px}.customer-page .price{font-size:12px}}
@media(max-width:720px){.customer-page .header{flex-wrap:wrap;align-items:center;gap:12px;padding:14px 16px;min-height:0}.customer-page .brand{font-size:17px}.customer-page .brand-mark{width:44px;height:44px;font-size:20px}.customer-page .header-title{margin-inline-start:auto}.customer-page .header nav{max-width:none;flex-basis:100%;justify-content:flex-start;margin-inline-start:0;gap:22px;padding-top:8px;border-top:1px solid #edf1ee}.customer-page main{padding:0 14px 32px}.menu-banner{margin:18px 0 23px;min-height:112px;border-radius:12px;padding:20px}.menu-banner h1{font-size:25px}.menu-banner p{font-size:11px}.customer-page .menu-layout{grid-template-columns:1fr}.customer-page .menu-grid{gap:10px}.customer-page .section-heading p{font-size:10px}.customer-page .section-heading>.muted{font-size:10px;white-space:nowrap}.customer-page .cart{position:static}}
@media(max-width:430px){.customer-page .menu-grid{grid-template-columns:1fr}.customer-page .product-card{min-height:110px;padding:14px 16px}.customer-page .item-bottom{flex-wrap:nowrap}.customer-page .product-card h3{font-size:14px}}
@media print{.customer-page .header,.menu-banner{display:none!important}}

/* Reference layout supplied in the brief: cream, horizontal cards, bottom summary. */
body.customer-page{background:#fffaf0;color:#203c2b}
.customer-page .header{background:#fffaf0;max-width:1100px;justify-content:flex-start}
.customer-page .brand{margin-inline-end:8px}
.customer-page .brand-mark{background:transparent;color:#007f49;border:2px solid #007f49;border-radius:50%;font-weight:bold}
.customer-page .trial{background:#f3efdf;border-color:#e9e3d1}
.customer-page main{max-width:1100px}
.customer-page .menu-banner{background:#007f49;min-height:108px;margin:18px 0 24px;border-radius:14px}
.customer-page .menu-banner h1{font-size:30px;margin:0}
.customer-page .section-heading{margin-bottom:10px}
.customer-page .menu-layout{display:flex;flex-direction:column;gap:25px}
.customer-page .products-section,.customer-page .order-summary{width:100%;min-width:0}
.customer-page .filters{gap:8px;margin-bottom:20px}
.customer-page .filter{background:#fffdf7;border-color:#e5dfce;color:#496153;border-radius:9px;padding:8px 15px;font-size:12px}
.customer-page .filter.active{background:#007f49;border-color:#007f49;color:#fff}
.customer-page .search{background:#fffdf7;border-color:#e5dfce}
.customer-page .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
.customer-page .product-card{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;min-height:94px;padding:17px 19px;background:#fffdf7;border:1px solid #e8e1d0;border-radius:12px;box-shadow:none;text-align:right}
.product-details{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.customer-page .product-heading{justify-content:flex-start;flex-wrap:wrap}
.customer-page .product-card h3{font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.customer-page .product-card .price{font-size:13px;color:#007f49}
.customer-page .product-quantity{flex-shrink:0;gap:7px;direction:ltr}
.customer-page .product-quantity button{width:34px;height:34px;border-color:#007f49;color:#007f49;background:#f7fbf5;border-radius:8px}
.customer-page .product-quantity output{min-width:19px;font-size:14px}
.customer-page .cart.order-summary{position:static;top:auto;align-self:stretch;background:#fffdf7;border:1px solid #e8e1d0;border-radius:14px;padding:22px}
.customer-page .cart-title{border-color:#e8e1d0;padding-bottom:13px}
.customer-page .cart-title h2{font-size:19px}
.customer-page .cart-line{display:flex;justify-content:space-between;gap:15px;border-color:#eee6d8;padding:12px 0}
.customer-page .cart-line>div:first-child{flex:1;justify-content:flex-start;gap:15px}
.customer-page .cart-line .qty{margin:0;flex-shrink:0}
.customer-fields{display:grid;grid-template-columns:1.3fr 1.3fr .7fr;gap:16px;margin-top:13px}
.customer-page .cart input,.customer-page .cart textarea{background:#fffefa;border-color:#e4dccb;min-height:42px}
.checkout-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #e8e1d0;margin-top:20px;padding-top:18px}
.customer-page .checkout-bottom .total{margin:0;gap:24px;font-size:15px}
.customer-page #submit-order{min-width:200px;background:#007f49;color:white;font-size:14px;border-radius:9px}
.customer-page .order-summary .notice{font-size:10px}
.customer-page footer{background:#fffaf0;border-color:#e9e3d1}
.order-customer{font-size:11px;color:#627365;overflow-wrap:anywhere;margin:7px 0}
@media(max-width:720px){.customer-page .menu-grid{grid-template-columns:1fr}.customer-page .product-card{min-height:88px;padding:15px 16px;gap:12px}.customer-page .menu-banner{min-height:96px}.customer-page .menu-banner h1{font-size:26px}.customer-page .cart.order-summary{padding:17px}.customer-fields{grid-template-columns:1fr 1fr;gap:10px}.customer-fields>div:last-child{grid-column:1 / -1}.customer-page .filter{font-size:11px;padding:7px 11px}.customer-page .checkout-bottom .total{font-size:13px;gap:10px}.customer-page #submit-order{min-width:145px}.customer-page .cart-line>div:first-child{align-items:flex-start;flex-direction:column;gap:2px}}
@media(max-width:430px){.customer-fields{grid-template-columns:1fr}.checkout-bottom{align-items:stretch;flex-direction:column;gap:15px}.customer-page .checkout-bottom .total{justify-content:space-between}.customer-page #submit-order{width:100%;min-width:0}.customer-page .product-quantity{gap:4px}.customer-page .product-quantity button{width:32px;height:32px}}

/* Original SVG: intrinsic portrait ratio, without border, crop or recoloring. */
.header .brand-logo{display:block;flex-shrink:0;width:auto;height:72px;aspect-ratio:895.7 / 1546.89;object-fit:contain;background:transparent;border:0;border-radius:0}
@media(max-width:720px){.header .brand-logo{height:56px;width:auto}}

/* Featured products: compact warm cream grid, wrapping without horizontal scroll. */
.customer-page .featured-section{background:#f1e5d4;border:1px solid #b99976;border-radius:14px;padding:17px;margin:0 0 26px}
.featured-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.featured-heading h2{margin:0;color:#69482d;font-size:19px}
.featured-heading>span{font-size:11px;color:#785c43}
.featured-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px;padding:0;min-width:0}
.featured-card{max-width:100%;min-width:0;display:flex;flex-direction:column;background:#fffaf0;border:1px solid #d5bfa3;border-radius:10px;padding:12px}
.featured-card h3{font-size:13px;margin:0 0 7px;color:#5e4029;overflow-wrap:anywhere}
.featured-card .price{color:#007f49;font-size:14px;font-weight:700}
.featured-card .price small{font-size:10px;font-weight:400}
.featured-count{font-size:11px;color:#5b7763;min-height:18px;margin:5px 0}
.featured-card .featured-add{margin-top:auto;width:100%;border-radius:8px;background:#007f49;font-size:12px}
.featured-empty{margin:0;padding:9px 2px;color:#6d7d6e;font-size:12px}
.featured-list:focus-visible{outline:2px solid #007f49;outline-offset:4px;border-radius:8px}
.menu-row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.featured-toggle[aria-pressed="true"]{background:#dceee1;color:#006a3d}
@media(max-width:720px){.customer-page .featured-section{padding:15px;margin-bottom:22px}.featured-heading h2{font-size:17px}.featured-card{padding:11px}.menu-row{gap:12px;flex-wrap:wrap}}
@media(max-width:430px){.featured-list{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-card .featured-add{font-size:11px;padding:8px 6px}.featured-heading{align-items:flex-start}.featured-heading>span{font-size:10px}}
@media print{.featured-section{display:none!important}}

/* Staff order boards: no changes to prices, fonts or print receipt. */
.order-board{margin:24px 0 30px}.order-board h2{font-size:18px;display:flex;gap:10px;align-items:center;margin:0 0 15px}.order-board>.order-grid>.empty{grid-column:1 / -1;text-align:right;padding:15px 0}
.sound-info{border:1px solid #c4dfcc;border-radius:10px;background:#edf7ef;padding:11px 15px;color:#007f49;font-size:12px}
.order-archive{margin-top:36px;padding-top:24px;border-top:1px solid var(--line)}.order-archive h2{font-size:20px;margin:0 0 6px}.archive-search{max-width:620px;margin:17px 0}.archive-search .toolbar{flex-wrap:nowrap}.archive-search input{flex:1;min-width:0}.order-archive>#archive-more{margin-top:18px}
.status-new,.status-accepted{background:#fff0ce;color:#855d18}.status-preparing{background:#e0eee5;color:#007f49}.status-served{background:#e9ecea;color:#4c6557}
@media(max-width:720px){.staff-head>.toolbar{width:100%}.sound-info{font-size:11px}.order-board h2{font-size:17px}.archive-search .toolbar{align-items:stretch}}

/* Customer price numerals only; existing units, typography, colors and print stay intact. */
@media screen{
  .customer-page .product-card .price,.customer-page .featured-card .price{font-size:15px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
}
/* Separate admin recovery area; no changes to customer card layout. */
.inactive-menu{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
.admin-menu-lists>h3,.inactive-menu>h3{font-size:15px;margin:0 0 12px}

/* Staff account controls; customer menu and receipt styles remain unchanged. */
.staff-account-management{margin-top:2rem;padding:1.25rem;border:1px solid var(--line,#ddd);border-radius:16px;background:var(--card,#fff)}
.staff-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}
.staff-account-card{min-width:0;padding:1rem;border:1px solid var(--line,#ddd);border-radius:12px}
.staff-account-card input{width:100%;min-width:0}.staff-account-card bdi{overflow-wrap:anywhere}.staff-account-card button{margin-top:1rem}
@media print{.staff-account-management{display:none!important}}

/* Customer header: a three-column grid centers the SVG itself, independently of side labels. */
.customer-page .header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;position:relative}
.customer-page .header .brand{display:contents;margin:0}
.customer-page .header .brand-logo{grid-column:2;grid-row:1;justify-self:center}
.customer-page .header .brand>span{grid-column:1;grid-row:1;justify-self:start;font-size:16px}
.customer-page .header-title{grid-column:3;grid-row:1;justify-self:end;margin:0;font-size:12px;text-align:end}
.customer-page .header nav{display:none}
.mobile-cart-trigger{display:none}.cart-sheet:not([open]){display:none}
@media(max-width:720px){
 .customer-page .header{padding-inline:18px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 .customer-page .header .brand>span{font-size:13px}.customer-page .header .brand small{font-size:8px;letter-spacing:1px}.customer-page .header-title{font-size:11px}
 .customer-page{padding-bottom:calc(85px + env(safe-area-inset-bottom,0px))}
 .customer-page.checkout-sheet-open{overflow:hidden}
 .customer-page .mobile-cart-trigger{display:flex;position:fixed;inset-inline:16px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:30;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;min-height:56px;border:0;border-radius:15px;color:#fff;background:var(--green);box-shadow:0 5px 22px #004c2c33;font-weight:700}
 .mobile-cart-trigger .badge{background:#fff;color:var(--green);flex-shrink:0}
 .cart-sheet[open]{position:fixed;inset:auto 0 var(--sheet-bottom,0px);margin:0;width:100%;max-width:none;max-height:var(--sheet-height,94dvh);height:var(--sheet-height,94dvh);display:flex;flex-direction:column;padding:0;color:var(--green);background:var(--paper);border:1px solid var(--line);border-bottom:0;border-radius:22px 22px 0 0;overflow:hidden}
 .cart-sheet::backdrop{background:#10251bcc}
 .cart-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;padding:12px 17px;border-bottom:1px solid var(--line)}
 .cart-sheet-heading h2{margin:0;font-size:16px}.cart-sheet-heading button{min-height:42px}
 .cart-sheet-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-block:20px 110px}
 .customer-page .cart-sheet .order-summary{border:0;border-radius:0;padding:0 17px calc(12px + env(safe-area-inset-bottom,0px));background:transparent}
 .cart-sheet .cart-title{padding-top:12px}.cart-sheet .customer-fields{grid-template-columns:1fr}
 .cart-sheet .checkout-bottom{position:sticky;bottom:0;z-index:1;background:var(--paper);padding:12px 0;box-shadow:0 -9px 12px var(--paper);margin-top:16px;display:flex;flex-direction:column;gap:8px}
 .cart-sheet .checkout-bottom .total{width:100%;justify-content:space-between}.customer-page .cart-sheet #submit-order{width:100%;min-height:46px}
 .customer-page.checkout-sheet-open #message{z-index:100}
 .cart-sheet .notice{margin-top:8px}
}
@media print{.mobile-cart-trigger,.cart-sheet{display:none!important}}

/* Mobile banner only; desktop banner retains its original dimensions. */
@media(max-width:720px){.customer-page .menu-banner{min-height:64px;padding:10px 14px;margin:12px 0 16px}.customer-page .menu-banner h1{font-size:22px;line-height:1.4}}
@media(max-width:340px){.featured-list{grid-template-columns:minmax(0,1fr)}}
.category-management{margin-top:28px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fffaf3}
.category-management #category-create{margin:16px 0}.category-row{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:16px 0;border-top:1px solid var(--line)}
.category-row>div:first-child{flex:1;min-width:150px}.category-row input,.category-row select{width:100%;min-width:0}.category-row>label{min-width:150px;max-width:100%}
@media(max-width:720px){.category-row>.toolbar{width:100%}.category-row>label{width:100%}.category-management{padding:12px}}
@media print{.category-management{display:none!important}}
