@font-face { font-family:'Bebas Neue'; font-style:normal; font-weight:400; font-display:swap; src:url('/fonts/bebas-neue-latin.woff2') format('woff2'); }
@font-face { font-family:'Nunito'; font-style:normal; font-weight:400 800; font-display:swap; src:url('/fonts/nunito-latin.woff2') format('woff2'); }

:root { --wine:#94152a; --wine-deep:#4b0715; --tomato:#cf2d32; --cream:#fff5e8; --paper:#fffdf9; --ink:#281513; --muted:#896f67; --line:#efd9c3; --gold:#f2a51a; --green:#32826b; --display-font:'Bebas Neue',sans-serif; --body-font:'Nunito',Arial,sans-serif; --shadow:0 16px 40px rgba(75,7,21,.11); }
* { box-sizing:border-box; }
body, button, input, select, textarea { font-family:var(--body-font); }
body { margin:0; color:var(--ink); background:var(--cream); font:14px/1.5 var(--body-font); }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; border:0; }
.shell { min-height:100vh; display:flex; }
.sidebar { width:250px; background:var(--wine-deep); color:#fff7ec; padding:26px 18px; display:flex; flex-direction:column; gap:28px; position:sticky; top:0; height:100vh; height:100dvh; min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:#9f4653 transparent; }
.sidebar::-webkit-scrollbar { width:7px; }
.sidebar::-webkit-scrollbar-track { background:transparent; }
.sidebar::-webkit-scrollbar-thumb { background:#9f4653; border-radius:999px; }
.sidebar::-webkit-scrollbar-thumb:hover { background:#bd5a67; }
.brand { display:flex; align-items:center; gap:12px; padding:0 10px; background:transparent; color:inherit; border:0; text-align:left; appearance:none; }
.brand:hover { filter:brightness(1.04); }
.brand:focus-visible { outline:2px solid var(--gold); outline-offset:4px; border-radius:14px; }
.brand-logo { display:block; width:100%; height:82px; object-fit:cover; object-position:center; border-radius:12px; background:#fff; box-shadow:0 6px 16px rgba(0,0,0,.12); }
.brand-sidebar { padding:0; width:100%; flex:0 0 auto; }
.brand-sidebar .brand-logo { height:96px; }
.brand-public { width:170px; padding:0; }
.brand-public .brand-logo { height:78px; box-shadow:0 5px 14px rgba(58,24,18,.08); }
.brand-login { width:230px; padding:0; }
.brand-login .brand-logo { height:112px; box-shadow:0 8px 20px rgba(0,0,0,.16); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.brand-mark { width:42px; height:42px; background:var(--gold); color:var(--wine-deep); border-radius:50% 50% 50% 10px; display:grid; place-items:center; font-size:22px; transform:rotate(-12deg); box-shadow:0 5px 0 rgba(0,0,0,.12); }
.brand-copy strong { display:block; font:400 20px var(--display-font); letter-spacing:.3px; }
.brand-copy small { color:#d6b6a7; font-size:10px; text-transform:uppercase; letter-spacing:1.8px; }
.nav-label { color:#b98c80; font:400 13px/1 var(--display-font); letter-spacing:1.5px; text-transform:uppercase; padding:0 12px; margin:4px 0; }
.nav { display:grid; gap:5px; flex:0 0 auto; }
.nav button { text-align:left; color:#e8d5ca; background:transparent; padding:12px 12px; border-radius:10px; display:flex; gap:11px; align-items:center; transition:.2s; font-family:var(--body-font); }
.nav button:hover,.nav button.active { background:#6d1b28; color:#fff; }
.nav button.active { box-shadow:inset 3px 0 var(--gold); }
.nav-icon { width:22px; text-align:center; opacity:1; font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif; font-size:16px; line-height:1; }
.sidebar-footer { flex:0 0 auto; margin-top:auto; border-top:1px solid #69303a; padding:15px 10px max(12px,env(safe-area-inset-bottom)); color:#d6b6a7; font-size:12px; }
.user-chip { display:flex; gap:9px; align-items:center; margin-top:10px; color:white; }
.sidebar-account-actions { display:flex; gap:7px; flex-wrap:wrap; margin-top:12px; }
.sidebar-account-actions .btn { color:#f5dcd0; border-color:#7b3943; }
.store-status-pill { white-space:nowrap; }
.store-control-panel { border-left:4px solid var(--gold); }
.store-control-panel .panel-head { align-items:center; }
.store-control-panel .actions { justify-content:flex-end; }
.avatar { width:31px; height:31px; border-radius:50%; display:grid; place-items:center; background:#cf8b63; color:var(--wine-deep); font-weight:700; }
.main { flex:1; min-width:0; }
.topbar { background:rgba(255,253,249,.9); border-bottom:1px solid var(--line); padding:18px 34px; display:flex; align-items:center; justify-content:space-between; gap:20px; position:sticky; top:0; z-index:4; backdrop-filter:blur(10px); }
.eyebrow { text-transform:uppercase; letter-spacing:1.5px; font-size:10px; color:var(--tomato); font-weight:700; }
h1,h2,h3,h4,h5,h6 { margin:0; font-family:var(--display-font); font-weight:400; letter-spacing:.01em; }
h1 { font-size:28px; letter-spacing:-.4px; }
h2 { font-size:22px; }
h3 { font-size:17px; }
.content { padding:30px 34px 55px; max-width:1500px; margin:auto; }
.toolbar { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:24px; flex-wrap:wrap; }
.toolbar p { margin:5px 0 0; color:var(--muted); }
.orders-panel-notice { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:-7px 0 18px; padding:10px 12px; border:1px solid #e8d2ad; border-radius:10px; background:#fff6e6; color:#8b6221; font-size:12px; }
.orders-panel-notice span { color:var(--muted); }
.orders-panel-notice button { margin-left:auto; }
.actions { display:flex; gap:9px; align-items:center; flex-wrap:wrap; }
.btn { border-radius:9px; padding:10px 15px; font-weight:700; transition:.2s; display:inline-flex; align-items:center; gap:7px; }
.btn:hover { transform:translateY(-1px); filter:brightness(.98); }
.btn-primary { background:linear-gradient(135deg,var(--wine),var(--tomato)); color:white; box-shadow:0 5px 14px rgba(148,21,42,.22); }
.btn-secondary { background:#f8d77d; color:var(--wine-deep); }
.btn-ghost { background:transparent; color:var(--wine); border:1px solid #e6bb67; }
.btn-danger { background:#f8dfd8; color:#a53c2f; }
.btn-small { padding:6px 9px; font-size:12px; }
.grid { display:grid; gap:18px; }
.stats-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.stat-card,.panel,.product-card,.order-card { background:var(--paper); border:1px solid rgba(234,222,210,.85); border-radius:14px; box-shadow:var(--shadow); }
.stat-card { padding:19px; position:relative; overflow:hidden; }
.stat-card:after { content:''; width:70px; height:70px; border-radius:50%; background:#f5dfc1; position:absolute; right:-20px; top:-25px; opacity:.7; }
.stat-icon { color:var(--tomato); font-size:21px; margin-bottom:11px; }
.stat-label { color:var(--muted); font-size:12px; }
.stat-value { font:400 26px var(--display-font); margin-top:3px; }
.stat-note { color:var(--green); font-size:11px; margin-top:5px; }
.dashboard-grid { grid-template-columns:1.4fr 1fr; margin-top:18px; }
.panel { padding:21px; }
.panel-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:17px; }
.panel-head p { color:var(--muted); margin:3px 0 0; font-size:12px; }
.bar-chart { height:190px; display:flex; align-items:end; gap:10px; padding:15px 0 23px; border-bottom:1px solid var(--line); }
.bar-col { flex:1; height:100%; display:flex; flex-direction:column; justify-content:end; gap:7px; align-items:center; }
.bar { width:100%; max-width:38px; border-radius:7px 7px 2px 2px; background:linear-gradient(180deg,var(--tomato),var(--wine)); min-height:5px; }
.bar-col small { color:var(--muted); font-size:10px; }
.bar-col em { font-size:10px; color:var(--muted); font-style:normal; }
.mini-list { display:grid; gap:11px; }
.mini-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding-bottom:11px; border-bottom:1px solid #f0e5db; }
.mini-row:last-child { border-bottom:0; padding-bottom:0; }
.mini-main { display:flex; gap:10px; align-items:center; }
.rank { width:25px; height:25px; border-radius:7px; display:grid; place-items:center; background:#f6e6cf; color:var(--wine); font-weight:700; font-size:12px; }
.muted { color:var(--muted); }
.tiny { font-size:11px; }
.pill { display:inline-flex; align-items:center; gap:5px; border-radius:999px; padding:4px 9px; font-size:11px; font-weight:700; white-space:nowrap; }
.pill-warm { background:#fff0d6; color:#a36b13; } .pill-green { background:#e1f3e8; color:#277153; } .pill-red { background:#fae0dc; color:#ac4131; } .pill-wine { background:#f0dfe1; color:var(--wine); } .pill-blue { background:#e2eef9; color:#356583; }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; }
th { color:var(--muted); text-align:left; text-transform:uppercase; letter-spacing:.8px; font-size:10px; padding:10px 12px; border-bottom:1px solid var(--line); }
td { padding:13px 12px; border-bottom:1px solid #f0e5db; vertical-align:middle; }
tr:last-child td { border-bottom:0; }
.td-main { font-weight:700; } .td-sub { color:var(--muted); font-size:11px; margin-top:2px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.customer-fast-field { display:grid; gap:6px; margin-bottom:14px; }
.customer-fast-field input { font-size:18px; letter-spacing:.4px; }
.customer-lookup { min-height:24px; margin:4px 0 8px; font-size:12px; }
.lookup-loading { color:var(--muted); }
.lookup-new { color:var(--green); font-weight:700; }
.lookup-error { color:#ac4131; }
.lookup-existing { display:flex; align-items:center; gap:9px; flex-wrap:wrap; padding:10px; border-radius:9px; background:#e9f4ec; color:#276b4f; }
.lookup-existing span { margin-right:auto; }
.customer-details { display:none; }
.customer-details.revealed { display:block; animation:reveal .25s ease both; }
.customer-step-title { color:var(--tomato); font-size:10px; text-transform:uppercase; letter-spacing:1.2px; font-weight:800; margin:8px 0 12px; }
.customer-submit { margin-top:14px; }
@keyframes reveal { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:none; } }
.form-grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.field { display:grid; gap:6px; }
.field.full { grid-column:1/-1; }
label { color:#5f4943; font-size:12px; font-weight:700; }
input,select,textarea { width:100%; border:1px solid var(--line); background:#fffdfa; color:var(--ink); border-radius:8px; padding:10px 11px; outline:0; }
input:focus,select:focus,textarea:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(217,164,65,.13); }
textarea { min-height:80px; resize:vertical; }
.section-space { margin-top:18px; }
.order-board { display:grid; grid-template-columns:repeat(4,minmax(225px,1fr)); gap:14px; align-items:start; overflow:auto; padding-bottom:8px; }
.board-col-head { align-items:flex-start; }
.board-col-head > div { display:grid; gap:3px; }
.board-sla { color:var(--muted); font-size:10px; font-weight:500; }
.status-timer { display:flex; justify-content:space-between; align-items:center; gap:8px; margin:10px 0 8px; padding:7px 9px; border-radius:8px; background:#f7efe7; color:var(--wine); font-size:11px; }
.status-timer small { color:var(--muted); font-size:10px; text-align:right; }
.status-timer.overdue { background:#fff0ed; color:#a33d30; box-shadow:inset 3px 0 0 #c84b3b; }
.status-timer.overdue small { color:#a33d30; font-weight:700; }
.board-col { background:#f0e6dc; border-radius:12px; padding:12px; min-height:400px; }
.board-col.is-drop-target { outline:2px dashed var(--tomato); outline-offset:3px; background:#f8ddd0; }
.board-col-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:11px; }
.board-col-head strong { font-size:12px; } .board-count { background:#fffaf4; color:var(--muted); border-radius:999px; padding:2px 7px; font-size:11px; }
.order-card { box-shadow:none; padding:13px; margin-bottom:10px; border-left:3px solid var(--tomato); }
.order-card[draggable="true"] { cursor:grab; }
.order-card[draggable="true"]:active { cursor:grabbing; }
.order-card.is-dragging { opacity:.45; transform:rotate(1deg); }
.order-top { display:flex; justify-content:space-between; gap:8px; align-items:start; }
.order-number { color:var(--wine); font-weight:800; }
.order-price { font-weight:800; }
.order-items { padding:10px 0; color:#5d4740; font-size:12px; display:grid; gap:4px; }
.order-meta { display:flex; justify-content:space-between; align-items:center; gap:6px; border-top:1px solid var(--line); padding-top:9px; }
.order-actions { display:flex; gap:5px; margin-top:10px; }
.pos-layout { display:grid; grid-template-columns:minmax(0,1.3fr) 380px; gap:18px; align-items:start; }
.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.product-card { padding:15px; box-shadow:none; }
.manual-layout-badge { position:absolute; left:10px; bottom:10px; padding:4px 8px; border-radius:999px; background:var(--wine); color:#fff8e9; font-size:10px; font-weight:800; box-shadow:0 3px 8px rgba(75,7,21,.2); }
.layout-editor-list { display:grid; gap:10px; max-height:60vh; overflow:auto; padding:2px; }
.layout-editor-item { display:grid; grid-template-columns:28px minmax(0,1fr); gap:10px; padding:12px; border:1px solid var(--line); border-radius:10px; background:#fffdfa; }
.layout-editor-item[draggable="true"] { cursor:grab; }
.layout-editor-item.is-dragging { opacity:.45; }
.layout-editor-item.is-drop-target { outline:2px dashed var(--tomato); outline-offset:2px; }
.layout-editor-handle { display:grid; place-items:center; color:var(--wine); font-size:22px; cursor:grab; }
.layout-editor-fields { min-width:0; }
.layout-editor-item-head { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-bottom:9px; }
.layout-editor-actions { justify-content:flex-end; margin-top:16px; }
.product-visual { height:90px; border-radius:10px; background:linear-gradient(135deg,#f6debd,#d97050); display:grid; place-items:center; font-size:42px; margin-bottom:12px; position:relative; }
.product-card h3 { font-size:16px; }
.price { color:var(--wine); font-weight:800; margin:4px 0 11px; }
.cart { position:sticky; top:88px; }
.quick-customer-card { margin-bottom:18px; box-shadow:none; border-left:4px solid var(--gold); }
.quick-customer-card .panel-head { margin-bottom:14px; }
.quick-customer-form { max-width:980px; }
.cart-line { display:flex; gap:10px; padding:12px 0; border-bottom:1px solid var(--line); }
.cart-line-main { flex:1; } .cart-line-main strong { display:block; font-size:13px; } .cart-line-main small { color:var(--muted); display:block; margin-top:3px; }
.cart-totals { display:grid; gap:7px; padding:15px 0; } .total-line { display:flex; justify-content:space-between; } .total-line.grand { border-top:1px dashed var(--line); padding-top:12px; margin-top:5px; font-weight:800; font-size:17px; }
.empty { text-align:center; padding:35px 15px; color:var(--muted); border:1px dashed #d7c4b5; border-radius:10px; }
.empty-icon { font-size:30px; opacity:.6; margin-bottom:8px; }
.modal-backdrop { position:fixed; inset:0; background:rgba(44,19,16,.48); display:grid; place-items:center; z-index:20; padding:18px; }
.modal { width:min(650px,100%); max-height:90vh; overflow:auto; background:var(--paper); border-radius:16px; box-shadow:0 25px 80px rgba(36,14,10,.25); padding:24px; }
.modal.modal-wide { width:min(920px,100%); }
.modal-head { display:flex; justify-content:space-between; gap:15px; margin-bottom:20px; align-items:center; }
.customer-history-list { display:grid; gap:12px; }
.customer-history-order { padding:16px; border:1px solid var(--line); border-radius:14px; background:#fffaf4; }
.customer-history-order-head, .customer-history-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.customer-history-order-head > div { display:grid; gap:2px; }
.customer-history-order-head > div > strong { color:var(--wine); font-size:1.05rem; }
.customer-history-order-head span, .customer-history-meta { color:var(--muted); font-size:.82rem; }
.customer-history-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; margin:10px 0; }
.customer-history-order ul { display:grid; gap:4px; margin:0 0 12px; padding:10px 0 10px 20px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.customer-history-footer { flex-wrap:wrap; }
@media (max-width:560px) { .customer-history-order-head { align-items:flex-start; } }
.close { background:#f4e8dc; color:var(--wine); width:30px; height:30px; border-radius:50%; }
.check-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.check { display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:8px; padding:9px; background:#fffdfa; font-size:12px; cursor:pointer; }
.check input { width:auto; }
.pizza-category-tabs { display:flex; gap:7px; overflow-x:auto; padding-bottom:9px; scrollbar-width:none; }
.pizza-category-tabs::-webkit-scrollbar { display:none; }
.pizza-category-tab { flex:0 0 auto; padding:8px 10px; border:1px solid var(--line); border-radius:999px; background:#fffdfa; color:var(--wine-deep); font-size:11px; font-weight:700; }
.pizza-category-tab.active { background:var(--wine); border-color:var(--wine); color:#fff; }
.pizza-flavor-groups { display:grid; gap:14px; margin-top:10px; }
.pizza-flavor-group-title { display:flex; justify-content:space-between; gap:10px; margin-bottom:7px; color:var(--wine); font-size:12px; }
.pizza-flavor-group-title span { color:var(--muted); font-weight:400; }
.pizza-flavor-option { align-items:flex-start; }
.pizza-flavor-option-promo01 { border:2px solid var(--gold); background:linear-gradient(135deg,#fff7df,#fff1c4); box-shadow:0 5px 12px rgba(148,21,42,.09); }
.pizza-flavor-option-promo01 strong { color:var(--wine-deep); }
.promo01-chip { display:inline-flex; margin-left:5px; padding:2px 5px; border-radius:999px; background:var(--wine); color:#fff7e9; font-size:8px; font-style:normal; font-weight:800; letter-spacing:.2px; vertical-align:middle; }
.pizza-flavor-option input:disabled + span { opacity:.45; }
.pizza-flavor-option span { display:grid; gap:2px; }
.pizza-flavor-option small { color:var(--muted); font-size:10px; line-height:1.3; }
.pizza-flavor-group[hidden] { display:none; }
.login-shell { min-height:100vh; display:grid; grid-template-columns:1fr 1fr; background:var(--wine-deep); }
.login-art { color:#fff6eb; padding:70px clamp(30px,8vw,110px); display:flex; flex-direction:column; justify-content:center; background:radial-gradient(circle at 75% 20%,#a23b38 0,#6e1827 35%,#4a101a 80%); }
.login-art h1 { font-size:60px; line-height:1.03; max-width:480px; margin:18px 0; }
.login-art p { color:#e3c6b9; max-width:430px; font-size:16px; }
.login-art .brand { padding:0; }
.login-form-area { background:var(--cream); display:grid; place-items:center; padding:30px; }
.login-card { width:min(420px,100%); background:var(--paper); padding:34px; border-radius:18px; box-shadow:var(--shadow); }
.login-card h2 { margin-bottom:7px; } .login-card > p { color:var(--muted); margin:0 0 24px; }
.login-card .form-grid { grid-template-columns:1fr; }
.demo-note { background:#fff0d6; color:#7d5b21; border-radius:9px; padding:11px; font-size:11px; margin-top:15px; }
.public-shell { min-height:100vh; background:var(--cream); }
.public-top { position:sticky; top:0; z-index:20; padding:14px 5vw; display:flex; justify-content:space-between; align-items:center; gap:18px; background:var(--paper); border-bottom:1px solid var(--line); }
.public-top-center { flex:1 1 auto; min-width:0; display:flex; justify-content:center; padding:0 14px; }
.public-top .actions { flex-wrap:nowrap; white-space:nowrap; }
.public-track-nav { font-weight:700; color:var(--wine); border-color:var(--gold); }
.public-top-center .track-box { width:100%; max-width:760px; margin:0; padding:8px 12px; border:0; background:transparent; }
.public-top-center .track-box .eyebrow { margin:0 0 2px; font-size:9px; }
.public-top-center .track-box h2 { margin:0; font-size:18px; }
.public-top-center .track-box p { display:none; }
.public-top-center .track-row { max-width:none; margin-top:5px; }
.public-top-center .track-row input { min-width:0; padding:8px 11px; }
.public-top-center .section-space { margin-top:8px; }
.public-top-center .tracking-current-status { display:none; }
.public-top-center .timeline { margin:10px 0 0; }
.public-top-center .timeline-step { min-width:108px; min-height:64px; padding-top:32px; font-size:10px; line-height:1.2; white-space:normal; }
@media (max-width:560px) { .public-top { flex-wrap:wrap; gap:8px; } .public-top-center { order:3; flex-basis:100%; padding:0; } .public-top-center .public-track-nav { width:100%; } }
@media (max-width:560px) { .public-top .actions { flex-wrap:wrap; white-space:normal; justify-content:flex-end; } .public-top-center .track-box { padding:4px 0; } .public-top-center .track-box h2 { font-size:16px; } }
.public-content { max-width:1160px; margin:auto; padding:50px 22px; }
.public-order-heading { display:flex; justify-content:space-between; align-items:end; gap:18px; margin-bottom:22px; }
.public-order-heading h1 { font-size:42px; margin:5px 0; }
.public-order-heading p { margin:0; color:var(--muted); }
.public-order-layout { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:18px; align-items:start; }
.public-order-cart { position:sticky; top:20px; }
.order-product-tabs { display:flex; gap:8px; overflow-x:auto; margin:0 0 16px; padding:0 0 9px; border-bottom:1px solid var(--line); scrollbar-width:none; }
.order-product-tabs::-webkit-scrollbar { display:none; }
.order-product-tab { flex:0 0 auto; padding:9px 14px; border:1px solid var(--line); border-radius:999px; background:#fff8ed; color:var(--wine-deep); font-weight:700; }
.order-product-tab:hover { border-color:var(--gold); }
.order-product-tab.active { background:var(--wine); border-color:var(--wine); color:#fff; }
.public-order-product[hidden] { display:none; }
.public-beverage-hub { border-top:3px solid var(--gold); }
.public-beverage-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
.public-beverage-option { display:grid; gap:4px; padding:13px; border:1px solid var(--line); border-radius:10px; background:#fff8ed; color:var(--wine-deep); text-align:left; }
.public-beverage-option:hover { border-color:var(--gold); background:#fff0cf; }
.public-beverage-option small { color:var(--muted); font-size:11px; }
.public-beverage-option b { color:var(--wine); }
.public-cake-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
.public-cake-option { display:grid; gap:4px; padding:13px; border:1px solid var(--line); border-radius:10px; background:#fff8ed; color:var(--wine-deep); text-align:left; }
.public-cake-option:hover { border-color:var(--gold); background:#fff0cf; }
.public-cake-option small { color:var(--muted); font-size:11px; }
.public-cake-option b { color:var(--wine); }
.public-order-product .product-visual { height:105px; }
.public-order-success { max-width:650px; margin:25px auto; padding:38px; text-align:center; background:var(--paper); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); }
.public-order-success h1 { font-size:42px; margin:7px 0 10px; }
.public-order-success p { color:var(--muted); }
.public-order-code { display:grid; gap:5px; margin:24px 0; padding:18px; border-radius:12px; background:#fff0d6; color:var(--wine-deep); }
.public-order-code .tracking-copy { justify-content:center; }
.public-checkout-choice { display:grid; gap:9px; padding:14px; margin-bottom:16px; border:1px solid var(--line); border-radius:12px; background:#fffaf3; }
.public-checkout-choice small { color:var(--muted); }
.public-checkout-choice-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.public-checkout-mode { padding:11px 9px; border:1px solid var(--line); border-radius:9px; background:var(--paper); color:var(--wine-deep); font-weight:700; }
.public-checkout-mode.active { border-color:var(--wine); background:var(--wine); color:#fff; }
.public-checkout-cart { margin:17px 0; padding:13px; border:1px solid var(--line); border-radius:11px; background:#fffaf3; }
.public-checkout-cart-line { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); font-size:12px; }
.public-checkout-cart-line span { display:grid; gap:2px; }
.public-checkout-cart-line small { color:var(--muted); font-size:10px; }
#public-checkout-fields[hidden], .public-address-fields[hidden], .public-cash-field[hidden] { display:none; }
.hero { display:grid; grid-template-columns:1.1fr .9fr; gap:35px; align-items:center; margin-bottom:40px; }
.hero h1 { font-size:56px; line-height:1.05; } .hero h1 span { color:var(--tomato); } .hero p { font-size:16px; color:var(--muted); max-width:490px; }
.hero-plate { min-height:310px; border-radius:24px; background:radial-gradient(circle,#ffc878 0 10%,#db634b 11% 48%,#81222e 49% 65%,#4a101a 66%); display:grid; place-items:center; font-size:110px; box-shadow:inset 0 0 0 12px rgba(255,241,218,.13), 0 18px 50px rgba(125,31,43,.2); }
.hero-plate {
  overflow:hidden;
  border:10px solid #5a1822;
  background:#5a1822 url('/lefrans-pizza-hero.png') center center / cover no-repeat;
  color:transparent;
  font-size:0;
  box-shadow:0 18px 50px rgba(90,24,34,.22);
}
.hero {
  position:relative;
  isolation:isolate;
  padding:34px 36px;
  border:1px solid rgba(238,192,108,.45);
  border-radius:30px;
  background:
    linear-gradient(110deg, rgba(255,250,241,.94) 0 43%, rgba(255,238,205,.58) 44% 58%, rgba(255,250,241,.82) 59% 100%);
  box-shadow:0 18px 46px rgba(90,24,34,.08);
}
.hero::before {
  content:"";
  position:absolute;
  z-index:-1;
  left:36%;
  right:18%;
  top:50%;
  height:74px;
  border-top:8px solid rgba(255,193,38,.9);
  border-bottom:8px solid rgba(148,21,42,.18);
  border-radius:999px;
  transform:translateY(-52%) rotate(-3deg);
  background:linear-gradient(90deg, rgba(255,209,102,.18), rgba(255,255,255,.05));
  filter:drop-shadow(0 10px 16px rgba(148,21,42,.08));
  pointer-events:none;
}
.hero::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:auto 28px 18px auto;
  width:min(42%,470px);
  height:92px;
  border-radius:999px;
  background:rgba(148,21,42,.10);
  filter:blur(18px);
  pointer-events:none;
}
.hero > div:first-child {
  position:relative;
  z-index:1;
  max-width:540px;
}
.hero > div:first-child::after {
  content:"";
  display:block;
  width:118px;
  height:4px;
  margin-top:20px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--gold),var(--tomato));
}
.hero-plate {
  position:relative;
  z-index:1;
  min-height:340px;
  border-width:9px;
  border-radius:26px;
  transform:translateX(-8px);
}
.public-products { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.menu-browser { display:block; }
.menu-tabs { position:sticky; top:0; z-index:5; display:flex; gap:8px; overflow-x:auto; padding:10px 0 13px; margin-bottom:18px; background:linear-gradient(var(--cream) 78%, transparent); scrollbar-width:thin; scrollbar-color:var(--wine) #eadccd; -webkit-overflow-scrolling:touch; overscroll-behavior-x:contain; touch-action:pan-x; }
.menu-tabs::-webkit-scrollbar { display:block; height:7px; }
.menu-tabs::-webkit-scrollbar-track { background:#eadccd; border-radius:999px; }
.menu-tabs::-webkit-scrollbar-thumb { background:var(--wine); border-radius:999px; }
.menu-tab { display:inline-flex; align-items:center; gap:7px; flex:0 0 auto; padding:10px 14px; border:1px solid var(--line); border-radius:999px; background:rgba(255,253,249,.95); color:var(--wine-deep); font-weight:700; white-space:nowrap; transition:.2s; }
.menu-tab:hover { border-color:var(--gold); transform:translateY(-1px); }
.menu-tab.active { background:var(--wine); border-color:var(--wine); color:#fff; box-shadow:0 5px 15px rgba(125,31,43,.18); }
.menu-sections { display:block; }
.menu-results-note { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:12px; margin:3px 0 22px; }
.menu-results-note strong { color:var(--wine); font-size:13px; }
.menu-section { scroll-margin-top:90px; margin-bottom:37px; }
.menu-section[hidden] { display:none; }
.menu-section-heading { display:flex; justify-content:space-between; align-items:end; gap:15px; margin:0 0 14px; }
.menu-section-heading h3 { font-size:25px; }
.menu-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.menu-card { overflow:hidden; background:var(--paper); border:1px solid var(--line); border-radius:14px; box-shadow:0 8px 22px rgba(58,24,18,.055); transition:transform .2s, box-shadow .2s; }
.menu-card:hover { transform:translateY(-3px); box-shadow:0 15px 28px rgba(58,24,18,.1); }
.menu-card-art { height:118px; position:relative; display:grid; place-items:center; font-size:62px; background:linear-gradient(135deg,#f4cfaa,#da7657); }
.menu-card-promo01 { border:2px solid var(--gold); box-shadow:0 10px 26px rgba(148,21,42,.14); }
.menu-card-promo01 .menu-card-art { background:linear-gradient(135deg,#f8d77d 0%,#cf2d32 52%,#94152a 100%); }
.menu-card-promo-badge { position:absolute; left:10px; top:10px; padding:5px 8px; border-radius:999px; background:var(--wine-deep); color:#fff8e9; font-size:9px; font-weight:800; letter-spacing:.3px; box-shadow:0 3px 8px rgba(75,7,21,.2); }
.menu-card-art.aves { background:linear-gradient(135deg,#f5d6a4,#c98a58); }
.menu-card-art.vegetarianas-verdes { background:linear-gradient(135deg,#dce9bd,#7aa675); }
.menu-card-art.doces { background:linear-gradient(135deg,#ead0bd,#ad6b5b); }
.menu-card-art.bebidas { background:linear-gradient(135deg,#c5e1e5,#6fa5ae); }
.menu-card-body { padding:15px; }
.menu-card-title { display:flex; justify-content:space-between; align-items:start; gap:10px; }
.menu-card-title h3 { font-size:16px; line-height:1.15; }
.menu-card-price { color:var(--wine); font-weight:800; white-space:nowrap; }
.menu-card-body p { min-height:42px; margin:8px 0 13px; color:var(--muted); font-size:11px; }
.menu-card-footer { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.menu-card-size { color:var(--muted); font-size:11px; }
.public-menu-section { margin-bottom:34px; }
.public-menu-heading { display:flex; justify-content:space-between; align-items:end; gap:15px; margin:25px 0 14px; }
.public-menu-heading h3 { font-size:25px; }
.public-pizza-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.public-pizza-card { display:flex; justify-content:space-between; gap:18px; align-items:start; padding:15px 16px; background:var(--paper); border:1px solid var(--line); border-radius:11px; box-shadow:0 7px 20px rgba(58,24,18,.04); }
.public-pizza-card-main { min-width:0; }
.public-pizza-card strong:first-child { color:var(--wine); font-size:14px; }
.public-pizza-card p { margin:4px 0 0; color:var(--muted); font-size:11px; }
.public-pizza-price { color:var(--wine-deep); white-space:nowrap; font-size:15px; }
@media (max-width:820px) { .public-pizza-grid { grid-template-columns:1fr; } }
@media (max-width:560px) { .public-pizza-card { padding:12px; } .public-pizza-card p { font-size:10px; } .public-menu-heading h3 { font-size:21px; } }
.track-box { background:var(--paper); border:1px solid var(--line); border-radius:14px; padding:22px; margin-top:40px; }
.track-row { display:flex; gap:10px; max-width:520px; margin-top:13px; } .track-row input { flex:1; }
.tracking-current-status { display:grid; gap:4px; margin:16px 0 18px; padding:14px 16px; border:1px solid var(--line); border-left:4px solid var(--tomato); border-radius:12px; background:#fff8f1; }
.tracking-current-status .eyebrow { margin:0; }
.tracking-current-status strong { color:var(--wine-deep); font-size:18px; }
.tracking-copy { border:0; padding:0; background:transparent; color:var(--wine); font:inherit; cursor:pointer; text-decoration:underline; text-decoration-style:dotted; text-underline-offset:3px; }
.tracking-copy:hover { color:var(--tomato); }
.tracking-copy strong { font-weight:800; }
.payment-feedback { margin:12px 0 14px; padding:11px 13px; border-radius:9px; background:#f7efe7; color:var(--muted); font-size:12px; }
.payment-feedback.payment-error { background:#fff0ed; color:#a33d30; font-weight:700; }
.payment-feedback.payment-success { display:flex; justify-content:space-between; gap:12px; align-items:center; background:#e5f4ea; color:#19724f; }
.payment-feedback.payment-success strong { font-size:17px; }
.payment-feedback.payment-success span { font-size:11px; }

.manual-payment-options {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

/* Alerta operacional para pedidos recebidos */
.order-alert-helper {
  display:block;
  margin-top:5px;
  color:var(--green);
  font-weight:700;
}
.order-sound-toggle.is-enabled {
  border-color:#63a88f;
  color:#236a57;
  background:#eef9f4;
}
.new-order-alert {
  position:fixed;
  z-index:80;
  top:20px;
  left:50%;
  width:min(620px,calc(100vw - 32px));
  transform:translateX(-50%);
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
  padding:16px 18px;
  border:2px solid var(--gold);
  border-radius:16px;
  color:#fff;
  background:linear-gradient(135deg,var(--wine-deep),var(--wine) 62%,var(--tomato));
  box-shadow:0 22px 55px rgba(75,7,21,.34);
  animation:new-order-alert-enter .42s cubic-bezier(.2,.85,.25,1.15),new-order-alert-glow 1.2s ease-in-out .45s 3;
}
.new-order-alert-icon {
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  border-radius:50%;
  background:#fff3d1;
  font-size:30px;
  box-shadow:0 0 0 6px rgba(255,255,255,.12);
}
.new-order-alert-copy {
  display:grid;
  min-width:0;
  line-height:1.25;
}
.new-order-alert-copy span {
  color:#ffd77a;
  font:400 18px/1.1 var(--display-font);
  letter-spacing:.7px;
  text-transform:uppercase;
}
.new-order-alert-copy strong {
  margin-top:4px;
  overflow:hidden;
  font-size:18px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.new-order-alert-copy small {
  margin-top:3px;
  color:#f4ddd7;
}
.new-order-alert-actions {
  display:flex;
  align-items:center;
  gap:8px;
}
.new-order-alert-close {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.13);
  font-size:22px;
}
.new-order-alert-close:hover { background:rgba(255,255,255,.24); }
.order-card.new-order-arrival {
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(242,165,26,.22),0 12px 30px rgba(148,21,42,.16);
  animation:new-order-card-pulse 1.15s ease-in-out 3;
}
.board-col.new-order-column {
  outline:2px solid rgba(242,165,26,.7);
  outline-offset:-2px;
}
@keyframes new-order-alert-enter {
  from { opacity:0; transform:translate(-50%,-28px) scale(.96); }
  to { opacity:1; transform:translate(-50%,0) scale(1); }
}
@keyframes new-order-alert-glow {
  50% { box-shadow:0 22px 60px rgba(75,7,21,.42),0 0 0 8px rgba(242,165,26,.2); }
}
@keyframes new-order-card-pulse {
  50% { transform:translateY(-2px); box-shadow:0 0 0 5px rgba(242,165,26,.25),0 15px 34px rgba(148,21,42,.2); }
}
@media (max-width:620px) {
  .new-order-alert {
    top:10px;
    grid-template-columns:auto minmax(0,1fr);
    gap:11px;
    padding:13px;
  }
  .new-order-alert-icon { width:44px; height:44px; font-size:24px; }
  .new-order-alert-actions { grid-column:1 / -1; justify-content:flex-end; }
}
@media print {
  .new-order-alert { display:none !important; }
}
.manual-payment-option {
  position:relative;
  display:block;
  cursor:pointer;
}
.manual-payment-option input {
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.manual-payment-option span {
  display:flex;
  min-height:78px;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  padding:12px 14px;
  border:1px solid #e7cdbd;
  border-radius:14px;
  background:#fffaf5;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.manual-payment-option strong { color:#610d1b; }
.manual-payment-option small { color:var(--muted); line-height:1.35; }
.manual-payment-option input:checked + span {
  border-color:#b3132b;
  background:#fff0e7;
  box-shadow:0 0 0 2px rgba(179,19,43,.12);
}
.manual-payment-option input:focus-visible + span { outline:3px solid rgba(245,169,35,.4); outline-offset:2px; }
.manual-payment-notice {
  display:flex;
  flex-wrap:wrap;
  gap:5px 10px;
  margin:14px 0;
  padding:12px 14px;
  border-left:4px solid #f4a51c;
  border-radius:10px;
  background:#fff6df;
  color:#5f3428;
}
.manual-payment-notice strong { color:#610d1b; }
.manual-payment-success {
  display:grid;
  gap:10px;
  margin:18px 0;
  padding:18px;
  border:1px solid #efc69e;
  border-radius:16px;
  background:#fff8ed;
}
.manual-payment-success h3,.manual-payment-success p { margin:0; }
.manual-payment-success small { color:var(--muted); }
.pix-key-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border:1px dashed #c88723;
  border-radius:10px;
  background:#fff;
}
.btn-whatsapp {
  width:max-content;
  background:#1f9d55;
  color:#fff;
  text-decoration:none;
}
.btn-whatsapp:hover { background:#168047; }
.order-payment-state {
  display:grid;
  gap:4px;
  margin:10px 0;
  padding:10px;
  border-radius:10px;
  font-size:12px;
}
.order-payment-state.pending { background:#fff2cd; color:#7b4b00; }
.order-payment-state.approved { background:#e2f5e9; color:#176c47; }
.order-payment-state a { color:inherit; font-weight:800; }

@media (max-width:720px) {
  .manual-payment-options { grid-template-columns:1fr; }
  .manual-payment-option span { min-height:auto; }
  .pix-key-row { align-items:flex-start; flex-direction:column; }
  .btn-whatsapp { width:100%; justify-content:center; }
}
.promotions-panel { margin-bottom:22px; padding:22px; border:1px solid #efc16c; background:linear-gradient(135deg,#fffaf1 0%,#fffdf9 62%,#fff0d7 100%); box-shadow:0 14px 32px rgba(148,21,42,.08); }
.promotion-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.promotion-card { position:relative; padding:18px; border:1px solid #f0c574; border-top:4px solid var(--gold); border-radius:14px; background:#fffdf9; box-shadow:0 8px 20px rgba(75,7,21,.05); }
.promotion-card-secondary { border-color:#e8a4a2; border-top-color:var(--tomato); background:linear-gradient(135deg,#fff5e7,#fffdf9); }
.promo-flavor-preview-list { display:grid; gap:8px; max-height:58vh; overflow:auto; }
.promo-flavor-preview { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:#fffdfa; }
.promo-flavor-preview div { display:grid; gap:2px; min-width:0; }
.promo-flavor-preview small { color:var(--muted); font-size:11px; }
.promotion-badge { display:inline-block; margin-bottom:8px; padding:5px 9px; border-radius:999px; background:var(--wine); color:#fff7e9; font-size:10px; font-weight:800; letter-spacing:.8px; }
.promotion-card h3 { margin:0 0 5px; font-size:18px; }
.promotion-card p { margin:6px 0 10px; color:var(--muted); font-size:12px; line-height:1.45; }
.promotion-price { display:block; color:var(--wine-deep); font-size:24px; }
.promotion-price small { color:var(--muted); font-size:11px; font-weight:600; }
.promotion-flavors { display:flex; flex-wrap:wrap; gap:5px; margin:10px 0 13px; }
.promotion-flavor-buttons { flex-wrap:nowrap; overflow-x:auto; padding:2px 2px 8px; scrollbar-width:thin; scrollbar-color:var(--gold) transparent; }
.promotion-flavor-buttons .promotion-flavor-choice { flex:0 0 178px; min-height:57px; }
.promotion-flavors span { padding:4px 7px; border-radius:999px; background:#fff0c8; color:#80530d; font-size:10px; }
.promotion-flavor-choice { display:grid; gap:2px; text-align:left; border:1px solid #efc568; padding:8px 10px; border-radius:10px; background:#fff7e5; color:var(--wine-deep); font-size:10px; cursor:pointer; transition:transform .15s,background .15s,border-color .15s; }
.promotion-flavor-choice strong { font-size:10px; }
.promotion-flavor-choice small { font-size:9px; line-height:1.25; color:inherit; opacity:.82; }
.promotion-flavor-choice:hover { background:#ffe4a3; border-color:var(--gold); transform:translateY(-1px); }
.promotion-flavor-choice:active { transform:translateY(0); }
.promotion-progress { margin:13px 0; padding:10px; border-radius:9px; background:#fff0c8; color:#80530d; font-size:13px; font-weight:800; }
.public-promotions { margin:10px 0 32px; padding:20px; border:1px solid var(--line); border-radius:14px; background:var(--paper); }
@media (max-width:700px) { .promotion-grid { grid-template-columns:1fr; } }
.timeline { display:flex; gap:0; margin:24px 0 8px; overflow:auto; } .timeline-step { min-width:120px; position:relative; padding-top:27px; font-size:11px; color:var(--muted); } .timeline-step:before { content:''; position:absolute; left:0; top:8px; width:17px; height:17px; border-radius:50%; background:#e4d6ca; border:4px solid var(--paper); box-shadow:0 0 0 1px #dbc9ba; z-index:1; } .timeline-step:not(:last-child):after { content:''; position:absolute; left:17px; right:0; top:15px; height:2px; background:#e4d6ca; } .timeline-step.done { color:var(--wine); font-weight:700; } .timeline-step.done:before { background:var(--tomato); } .timeline-step.done:not(:last-child):after { background:var(--tomato); }
.timeline-step.current { text-decoration:underline; text-underline-offset:3px; }
.timeline-step.current:before { content:'🍕'; display:grid; place-items:center; background:var(--paper); border:0; box-shadow:none; width:24px; height:24px; font-size:20px; line-height:24px; }
.toast { position:fixed; right:22px; bottom:22px; z-index:30; padding:13px 16px; border-radius:10px; color:white; background:var(--wine-deep); box-shadow:var(--shadow); animation:slide .25s ease; } .toast.error { background:#ac4131; }
@keyframes slide { from { transform:translateY(12px); opacity:0; } to { transform:none; opacity:1; } }
@media (max-height:760px) and (min-width:821px) {
  .sidebar { gap:14px; padding-top:14px; padding-bottom:10px; }
  .brand-sidebar .brand-logo { height:72px; }
  .nav-label { margin-top:8px; margin-bottom:4px; }
  .nav { gap:2px; }
  .nav button { padding-top:9px; padding-bottom:9px; }
  .sidebar-footer { margin-top:8px; padding-top:10px; }
  .user-chip { margin-top:7px; }
  .sidebar-account-actions { margin-top:8px; }
}
@media (max-height:600px) and (min-width:821px) {
  .sidebar { gap:9px; padding-top:9px; }
  .brand-sidebar .brand-logo { height:56px; }
  .nav button { padding-top:7px; padding-bottom:7px; }
  .sidebar-footer { padding-top:8px; }
}
@media (max-width:1100px) { .stats-grid{grid-template-columns:repeat(2,1fr)} .pos-layout,.public-order-layout{grid-template-columns:1fr}.cart,.public-order-cart{position:static}.product-grid{grid-template-columns:repeat(3,1fr)} }
@media (max-width:820px) { .sidebar{width:72px;padding:20px 10px}.brand-copy,.nav-label,.nav button span:not(.nav-icon),.sidebar-footer>div:not(.avatar){display:none}.brand{padding:0;justify-content:center}.brand-sidebar .brand-logo{height:52px;border-radius:9px}.nav button{justify-content:center}.nav button.active{box-shadow:none}.topbar,.content{padding-left:18px;padding-right:18px}.dashboard-grid,.hero{grid-template-columns:1fr}.product-grid,.public-products{grid-template-columns:repeat(2,1fr)} .login-shell{grid-template-columns:1fr}.login-art{display:none} }
@media (max-width:560px) { .stats-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:13px}.product-grid,.public-products,.form-grid,.form-grid.three{grid-template-columns:1fr}.public-top{padding:10px 16px}.brand-public{width:136px}.brand-public .brand-logo{height:62px}.public-top .actions{gap:5px}.public-top .btn{padding:8px 9px;font-size:11px}.hero h1{font-size:40px}.hero-plate{min-height:220px;font-size:80px}.topbar{align-items:flex-start}.topbar .actions{justify-content:flex-end}.content{padding-top:22px}.panel{padding:15px}.public-order-heading{align-items:flex-start;flex-direction:column}.public-order-heading h1,.public-order-success h1{font-size:34px}.public-order-success{padding:24px 18px} }
@media (max-width:720px) { .store-control-panel .panel-head{align-items:flex-start;flex-direction:column}.store-control-panel .actions{justify-content:flex-start}.topbar .store-status-pill{display:none} }
@media (max-width:820px) { .menu-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .menu-card-grid { grid-template-columns:1fr; } .menu-tab { padding:9px 12px; font-size:12px; } .menu-section-heading h3 { font-size:21px; } }

.catalog-flavors-panel { margin-bottom:18px; }
.catalog-flavor-group + .catalog-flavor-group { margin-top:28px; }
.catalog-flavor-group-head { display:flex; justify-content:space-between; align-items:end; gap:12px; margin-bottom:10px; }
.catalog-flavor-group-head h3 { font-family:inherit; font-size:14px; margin-top:3px; }
.catalog-flavor-list { border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.catalog-flavor-head, .catalog-flavor-row { display:grid; grid-template-columns:minmax(0,1fr) 95px 105px 190px; gap:14px; align-items:center; }
.catalog-flavor-head { padding:9px 13px; background:#f8efe6; color:var(--muted); text-transform:uppercase; letter-spacing:.8px; font-size:10px; font-weight:700; }
.catalog-flavor-row { padding:12px 13px; border-top:1px solid #f0e5db; }
.catalog-flavor-row:hover { background:#fffaf5; }
.catalog-flavor-price { color:var(--wine); white-space:nowrap; }
.catalog-broto-price { display:flex; flex-direction:column; align-items:flex-start; gap:2px; }
.catalog-broto-price small { color:var(--muted); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.catalog-broto-price.is-unset { color:#a96a00; }
.catalog-flavor-row.is-inactive { opacity:.58; background:#f8f3ee; }
.catalog-photo-name { display:flex; align-items:center; gap:10px; min-width:0; }
.catalog-photo-thumb,
.catalog-card-photo {
  flex:0 0 auto;
  width:54px;
  height:42px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff8ee center / cover no-repeat;
}
.catalog-photo-placeholder {
  display:grid;
  place-items:center;
  color:var(--wine);
  font-size:20px;
}
.catalog-product-photos-panel { margin-top:18px; }
.catalog-product-photo-list { display:grid; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.catalog-product-photo-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) 95px 86px minmax(155px,auto);
  gap:14px;
  align-items:center;
  padding:12px 13px;
  border-top:1px solid #f0e5db;
}
.catalog-product-photo-row:first-child { border-top:0; }
.catalog-product-photo-row:hover { background:#fffaf5; }
.catalog-product-photo-row > .actions { justify-content:flex-end; }
.catalog-product-photo-row.is-inactive { opacity:.55; background:#f8f3ee; }
.catalog-product-photo-row.is-inactive:hover { opacity:.72; }
.catalog-photo-editor { display:grid; gap:14px; }
.catalog-photo-preview {
  min-height:220px;
  display:grid;
  place-items:center;
  border:1px dashed #d7b47a;
  border-radius:14px;
  background:#fff8ee center / cover no-repeat;
  color:var(--muted);
  font-weight:800;
}
.catalog-photo-preview.has-photo { border-style:solid; }
.product-visual.has-catalog-photo,
.menu-card-art.has-catalog-photo {
  background-color:#fff8ee;
  background-position:center;
  background-size:cover;
  color:transparent !important;
  font-size:0 !important;
}

/* Escala tipográfica solicitada: títulos 5% e textos 10% maiores. */
:root { --display-font-scale:1.05; --body-font-scale:1.10; }
body { font-size:calc(14px * var(--body-font-scale)); }
.brand-copy strong { font-size:calc(20px * var(--display-font-scale)); }
.nav-label { font-size:calc(13px * var(--display-font-scale)); }
h1 { font-size:calc(28px * var(--display-font-scale)); }
h2 { font-size:calc(22px * var(--display-font-scale)); }
h3 { font-size:calc(17px * var(--display-font-scale)); }
.stat-value { font-size:calc(26px * var(--display-font-scale)); }
.login-art h1 { font-size:calc(60px * var(--display-font-scale)); }
.public-order-heading h1,.public-order-success h1 { font-size:calc(42px * var(--display-font-scale)); }
.hero h1 { font-size:calc(56px * var(--display-font-scale)); }
.menu-section-heading h3,.public-menu-heading h3 { font-size:calc(25px * var(--display-font-scale)); }
.menu-card-title h3,.product-card h3 { font-size:calc(16px * var(--display-font-scale)); }
.promotion-card h3 { font-size:calc(18px * var(--display-font-scale)); }
.public-top-center .track-box h2 { font-size:calc(18px * var(--display-font-scale)); }
.catalog-flavor-group-head h3 { font-size:calc(14px * var(--body-font-scale)); }
.brand-copy small { font-size:calc(10px * var(--body-font-scale)); }
.sidebar-footer { font-size:calc(12px * var(--body-font-scale)); }
.eyebrow,.bar-col small,.bar-col em,.customer-step-title,.board-sla,.status-timer small,th,.manual-layout-badge,.pizza-flavor-option small,.public-top-center .track-box .eyebrow,.public-top-center .timeline-step,.public-checkout-cart-line small,.promotion-badge,.promotion-price small,.promotion-flavors span,.promotion-flavor-choice,.promotion-flavor-choice strong,.promotion-flavor-choice small,.catalog-flavor-head { font-size:calc(10px * var(--body-font-scale)); }
.orders-panel-notice,.btn-small,.stat-label,.panel-head p,.rank,.customer-lookup,label,.board-col-head strong,.order-items,.check,.pizza-category-tab,.demo-note,.public-beverage-option small,.public-cake-option small,.public-checkout-cart-line,.public-pizza-card p,.promo-flavor-preview small,.promotion-card p,.payment-feedback { font-size:calc(12px * var(--body-font-scale)); }
.stat-icon { font-size:calc(21px * var(--body-font-scale)); }
.stat-note,.td-sub,.tiny,.pill,.board-count,.menu-card-body p,.menu-card-size,.timeline-step,.payment-feedback.payment-success span { font-size:calc(11px * var(--body-font-scale)); }
.layout-editor-handle { font-size:calc(22px * var(--body-font-scale)); }
.product-visual { font-size:calc(42px * var(--body-font-scale)); }
.cart-line-main strong { font-size:calc(13px * var(--body-font-scale)); }
.total-line.grand { font-size:calc(17px * var(--body-font-scale)); }
.empty-icon { font-size:calc(30px * var(--body-font-scale)); }
.pizza-flavor-group-title { font-size:calc(12px * var(--body-font-scale)); }
.promo01-chip { font-size:calc(8px * var(--body-font-scale)); }
.login-art p { font-size:calc(16px * var(--body-font-scale)); }
.public-beverage-option small,.public-cake-option small,.public-checkout-cart-line,.promo-flavor-preview small { font-size:calc(11px * var(--body-font-scale)); }
.public-checkout-cart-line small { font-size:calc(10px * var(--body-font-scale)); }
.promotion-progress { font-size:calc(13px * var(--body-font-scale)); }
.customer-fast-field input { font-size:calc(18px * var(--body-font-scale)); }
.public-pizza-card strong:first-child { font-size:calc(14px * var(--body-font-scale)); }
.public-pizza-price { font-size:calc(15px * var(--body-font-scale)); }
.tracking-current-status strong,.payment-feedback.payment-success strong { font-size:calc(18px * var(--body-font-scale)); }
.promotion-price { font-size:calc(24px * var(--body-font-scale)); }
.brand-mark { font-size:calc(22px * var(--body-font-scale)); }
.menu-results-note { font-size:calc(12px * var(--body-font-scale)); }
.menu-results-note strong { font-size:calc(13px * var(--body-font-scale)); }
.menu-card-promo-badge { font-size:calc(9px * var(--body-font-scale)); }
.menu-card-art,.hero-plate { font-size:calc(62px * var(--body-font-scale)); }
.hero-plate { font-size:calc(110px * var(--body-font-scale)); }
@media (max-width:560px) {
  .public-top-center .track-box h2 { font-size:calc(16px * var(--display-font-scale)); }
  .public-top-center .timeline-step { font-size:calc(10px * var(--body-font-scale)); }
  .public-order-heading h1,.public-order-success h1 { font-size:calc(34px * var(--display-font-scale)); }
  .hero h1 { font-size:calc(40px * var(--display-font-scale)); }
  .hero-plate { font-size:calc(80px * var(--body-font-scale)); }
  .public-top .btn { font-size:calc(11px * var(--body-font-scale)); }
  .public-pizza-card p { font-size:calc(10px * var(--body-font-scale)); }
  .menu-tab { font-size:calc(12px * var(--body-font-scale)); }
  .menu-section-heading h3 { font-size:calc(21px * var(--display-font-scale)); }
  .public-menu-heading h3 { font-size:calc(21px * var(--display-font-scale)); }
}
.catalog-flavor-actions { justify-content:flex-end; }
.catalog-config-panel { margin-top:18px; }
.catalog-config-row .actions { justify-content:flex-end; }
.pizza-flavor-prices { color:var(--wine) !important; font-weight:800; margin-top:4px; }
.pizza-flavor-option.is-broto-unpriced { opacity:.48; background:#f7f0e9; cursor:not-allowed; }
.pizza-flavor-option.is-broto-unpriced .pizza-flavor-prices { color:#9a6c34 !important; }
.catalog-crust-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.catalog-crust-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:4px 0; }
.order-board { grid-template-columns:repeat(8,minmax(220px,1fr)); overflow-x:auto; overflow-y:hidden; padding-bottom:10px; }
.board-col { height:min(68vh,620px); min-height:420px; display:flex; flex-direction:column; }
.board-col-list { flex:1; min-height:0; overflow-y:auto; padding-right:4px; scrollbar-width:thin; }
@media (max-width:700px) { .order-board { grid-template-columns:repeat(8,minmax(220px,1fr)); } }
@media (max-width:560px) {
  .catalog-flavor-head { display:none; }
  .catalog-flavor-row { grid-template-columns:minmax(0,1fr) auto auto; gap:9px; }
  .catalog-flavor-row > .catalog-flavor-price:not(.catalog-broto-price) { grid-column:2; grid-row:1; }
  .catalog-flavor-row .catalog-broto-price { grid-column:3; grid-row:1; }
  .catalog-flavor-row .catalog-flavor-actions { grid-column:1 / -1; grid-row:2; justify-self:end; }
  .catalog-product-photo-row { grid-template-columns:minmax(0,1fr) auto; gap:9px; }
  .catalog-product-photo-row > .catalog-flavor-price { grid-column:2; grid-row:1; }
  .catalog-product-photo-row > .pill { grid-column:1; grid-row:2; width:max-content; }
  .catalog-product-photo-row > .actions { grid-column:2; grid-row:2; justify-self:end; }
  .catalog-crust-list { grid-template-columns:1fr; }
}

/* Identidade visual provisória para espaços que ainda não possuem foto. */
.product-card .product-visual,
.menu-card .menu-card-art {
  background:#fff8ee url('/lefrans-logo.png') center 54% / cover no-repeat;
  border:1px solid rgba(125,31,43,.10);
  color:transparent;
  font-size:0;
}

/* Em "Escolha seus produtos", mantém a apresentação anterior dos
   refrigerantes, bolos, brownie e pizzas. */
.product-card[data-order-product-category="PIZZA"] .product-visual {
  background:linear-gradient(135deg,#f6debd,#d97050);
  color:inherit;
  font-size:calc(42px * var(--body-font-scale));
}
.product-card[data-order-product-category="DRINK"] .product-visual,
.product-card[data-order-product-category="DRINK_HUB"] .product-visual {
  background:linear-gradient(135deg,#c5e1e5,#6fa5ae);
  color:inherit;
  font-size:calc(42px * var(--body-font-scale));
}
.product-card[data-order-product-category="DESSERT"] .product-visual {
  background:linear-gradient(135deg,#ead0bd,#ad6b5b);
  color:inherit;
  font-size:calc(42px * var(--body-font-scale));
}

/* Administração de acessos */
.access-panel { padding:0; overflow:hidden; }
.access-tabs { display:flex; gap:28px; padding:0 20px; border-bottom:1px solid var(--line); overflow-x:auto; }
.access-tabs button { appearance:none; border:0; border-bottom:3px solid transparent; background:transparent; color:var(--muted); padding:16px 2px 14px; font:700 1rem "Nunito",sans-serif; white-space:nowrap; cursor:pointer; }
.access-tabs button.active { color:var(--red); border-bottom-color:var(--red); }
.access-panel-body { padding:18px 20px 22px; }
.access-filter { display:grid; grid-template-columns:minmax(150px,1fr) minmax(140px,.9fr) 130px 135px 135px auto; gap:10px; align-items:end; margin-bottom:18px; }
.access-filter .field, .access-block-form .field { gap:5px; }
.access-filter-actions { display:flex; gap:7px; align-items:center; padding-bottom:1px; }
.access-table { max-height:62vh; overflow:auto; border:1px solid var(--line); border-radius:14px; }
.access-table table { min-width:900px; }
.access-table thead { position:sticky; top:0; z-index:2; background:var(--surface); }
.access-table code { font-family:Consolas,monospace; font-size:.9em; }
.access-block-form { display:grid; grid-template-columns:minmax(200px,.7fr) minmax(280px,1.5fr) auto; gap:12px; align-items:end; }
.access-block-reason { min-width:0; }
@media (max-width: 1180px) {
  .access-filter { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .access-filter-actions { grid-column:1/-1; }
}
@media (max-width: 720px) {
  .access-panel-body { padding:14px; }
  .access-filter, .access-block-form { grid-template-columns:1fr; }
  .access-filter-actions { grid-column:auto; flex-wrap:wrap; }
}

/* Fidelidade em destaque para o cliente */
.public-loyalty { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr); gap:28px; align-items:center; margin:24px 0; padding:26px 30px; color:#fff8ee; background:linear-gradient(135deg,#520b18 0%,#8e1627 58%,#b3202e 100%); border:1px solid rgba(255,196,65,.45); border-radius:24px; box-shadow:0 18px 42px rgba(82,11,24,.18); }
.public-loyalty .eyebrow { color:#ffd166; }
.public-loyalty h2 { color:#fff; margin:4px 0 8px; font-size:clamp(1.8rem,3vw,2.6rem); }
.public-loyalty p { margin:0 0 6px; color:#fff2e4; font-size:1.05rem; }
.public-loyalty small { color:#f4c8c5; }
.public-loyalty-action { padding:18px; color:var(--text); background:#fffaf4; border-radius:18px; }
.public-loyalty-action label { display:block; margin-bottom:7px; font-weight:800; }
.public-loyalty-action .track-row { grid-template-columns:minmax(0,1fr) auto; }
.public-loyalty-feedback { display:flex; gap:10px; align-items:center; justify-content:space-between; margin-top:12px; flex-wrap:wrap; }
.loyalty-step { display:block; color:var(--muted); }
.loyalty-step-ready { color:#15734f; font-weight:800; }
.loyalty-step-error { color:var(--red); }
.loyalty-flavor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; max-height:52vh; overflow:auto; padding:2px; }
.loyalty-flavor-option { display:block; cursor:pointer; }
.loyalty-flavor-option input { position:absolute; opacity:0; pointer-events:none; }
.loyalty-flavor-option span { display:flex; min-height:82px; flex-direction:column; gap:5px; padding:13px 14px; border:1px solid var(--line); border-radius:14px; background:var(--surface); transition:.18s ease; }
.loyalty-flavor-option small { color:var(--muted); }
.loyalty-flavor-option input:checked + span { color:#fff; background:linear-gradient(135deg,#7d1f2b,#b3202e); border-color:#dca92f; box-shadow:0 0 0 3px rgba(220,169,47,.23); }
.loyalty-flavor-option input:checked + span small { color:#ffe9cd; }
.loyalty-redeem-submit { width:100%; justify-content:center; margin-top:16px; }

/* Gerenciamento de usuários */
.user-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.user-stat-grid article { min-height:104px; padding:18px 20px; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:var(--shadow); }
.user-stat-grid span { display:block; color:var(--muted); font-size:.78rem; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.user-stat-grid strong { display:block; margin-top:6px; color:#1971d4; font:400 2rem "Bebas Neue",sans-serif; }
.user-stat-grid .user-stat-active { color:#1ca65b; }
.user-stat-grid .user-stat-blocked { color:var(--red); }
.users-management { padding:0; overflow:hidden; }
.users-management-head { padding:18px 20px 12px; margin:0; }
.user-search { display:flex; gap:8px; min-width:min(100%,380px); }
.user-search input { min-width:0; flex:1; }
.user-filter-tabs { display:flex; gap:8px; padding:0 20px 12px; overflow-x:auto; }
.user-filter-tabs button { border:1px solid var(--line); border-radius:9px; background:var(--surface); padding:8px 13px; font-weight:800; cursor:pointer; white-space:nowrap; }
.user-filter-tabs button.active { color:#fff; border-color:var(--red); background:var(--red); }
.users-management .access-table { border-radius:0; border-left:0; border-right:0; border-bottom:0; }
.users-table { min-width:1180px !important; }
.access-success { color:#12944c; font-weight:800; }
.access-failure { color:#d82c38; font-weight:800; }
.user-actions { flex-wrap:nowrap; }
@media (max-width: 900px) {
  .public-loyalty { grid-template-columns:1fr; padding:22px; }
  .user-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .users-management-head { align-items:flex-start; }
}
@media (max-width: 560px) {
  .public-loyalty-action .track-row, .loyalty-flavor-grid { grid-template-columns:1fr; }
  .user-stat-grid { grid-template-columns:1fr 1fr; gap:9px; }
  .user-stat-grid article { min-height:88px; padding:14px; }
  .user-search { width:100%; min-width:0; }
}

/* Assinatura institucional */
.developer-credit { margin:18px auto 0; padding:13px 18px; color:#9a7469; border-top:1px solid rgba(125,31,43,.12); font-family:var(--body-font); font-size:.78rem; line-height:1.4; text-align:center; letter-spacing:.02em; }

.footer-link { appearance:none; border:0; padding:0; background:transparent; color:var(--wine); font:inherit; font-weight:800; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.public-shell > .developer-credit { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px 16px; max-width:1180px; }
.privacy-consent { display:flex; align-items:flex-start; gap:10px; margin:16px 0; padding:13px 15px; border:1px solid var(--line); border-radius:12px; background:#fffaf3; }
.privacy-consent input { width:18px; height:18px; margin-top:2px; accent-color:var(--wine); flex:0 0 auto; }
.privacy-modal { padding:0; }
.privacy-policy-head { position:sticky; z-index:2; top:0; margin:0; padding:22px 26px 18px; border-bottom:1px solid var(--line); background:rgba(255,252,247,.97); backdrop-filter:blur(10px); }
.privacy-policy { display:grid; gap:17px; padding:24px 28px 30px; color:var(--ink); }
.privacy-policy-intro { display:grid; gap:5px; padding:18px; border-left:5px solid var(--gold); border-radius:14px; background:#fff3df; }
.privacy-policy-intro strong { color:var(--wine); font-size:1.15rem; }
.privacy-policy section { padding-bottom:16px; border-bottom:1px solid var(--line); }
.privacy-policy h3 { margin:0 0 7px; color:var(--wine); font-size:1.22rem; }
.privacy-policy p { margin:0; color:var(--muted); line-height:1.65; }
.privacy-policy ul { display:grid; gap:7px; margin:9px 0 0; padding-left:22px; color:var(--muted); line-height:1.5; }
.privacy-policy a { color:var(--wine); font-weight:750; overflow-wrap:anywhere; }
.privacy-contact { display:grid; gap:4px; padding:16px; border-radius:14px; background:#fff3df; }
.privacy-contact .btn { margin-top:8px; width:max-content; }
@media (max-width:560px) {
  .privacy-policy-head { padding:18px 18px 15px; align-items:flex-start; }
  .privacy-policy-head h2 { font-size:1.45rem; }
  .privacy-policy { padding:20px 18px 24px; }
}
.promotion-admin-panel { margin-bottom:22px; border-top:4px solid var(--gold); }
.promotion-admin-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.promotion-admin-summary article { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:6px 10px; padding:14px; border:1px solid var(--line); border-radius:14px; background:#fffaf4; }
.promotion-admin-summary article strong { font-size:1rem; }
.promotion-admin-summary article small { grid-column:1/-1; color:var(--muted); }
.promotion-settings-block { padding:16px; margin-bottom:15px; border:1px solid var(--line); border-radius:15px; background:#fffaf4; }
.promotion-settings-title { display:flex; justify-content:space-between; align-items:flex-start; gap:15px; margin-bottom:14px; }
.promotion-settings-title > div { display:grid; }
.promotion-settings-title > div > strong { font-family:var(--display-font); font-size:1.55rem; font-weight:400; }
.promotion-settings-title small { color:var(--muted); }
.switch-row { display:flex; align-items:center; gap:8px; font-weight:800; white-space:nowrap; }
.switch-row input { width:18px; height:18px; accent-color:var(--wine); }
.promotion-day-grid { display:grid; grid-template-columns:repeat(7,minmax(56px,1fr)); gap:8px; }
.promotion-day-grid .check { justify-content:center; }
.promotion-flavor-config { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:330px; overflow:auto; padding-right:5px; }
.promotion-flavor-config .check span { display:grid; }
.promotion-flavor-config small { color:var(--muted); }
.promotion-settings-submit { width:100%; justify-content:center; }
.promotion-legal-note { display:block; margin-top:12px; }
.delivery-presets-panel { margin-top:22px; border-top:4px solid var(--gold); }
.delivery-preset-list { display:grid; gap:8px; }
.delivery-preset-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) 120px auto;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fffaf4;
}
.delivery-preset-row small { display:block; margin-top:3px; color:var(--muted); }
.delivery-preset-row > strong { color:var(--wine); text-align:right; }

@media (max-width:760px) {
  .promotion-admin-summary,
  .promotion-flavor-config { grid-template-columns:1fr; }
  .promotion-day-grid { grid-template-columns:repeat(4,minmax(56px,1fr)); }
  .promotion-settings-title { align-items:stretch; flex-direction:column; }
  .public-shell > .developer-credit { flex-direction:column; }
  .delivery-preset-row { grid-template-columns:1fr; align-items:stretch; }
  .delivery-preset-row > strong { text-align:left; }
}
.developer-credit strong { color:var(--wine); font-weight:800; }
.public-shell > .developer-credit { width:min(1180px,90%); margin-top:30px; padding-bottom:22px; }
.public-shell > .developer-credit { display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; }
.login-card > .developer-credit { margin-top:24px; padding:15px 0 0; }
.sidebar-footer > .developer-credit { margin:14px 0 0; padding:12px 0 0; color:#bd9388; border-top-color:#69303a; font-size:.7rem; text-align:left; }
.sidebar-footer > .developer-credit strong { color:#f1d9cf; }
.instagram-link { display:inline-flex; align-items:center; justify-content:center; gap:7px; color:var(--wine); text-decoration:none; font-weight:800; transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
.instagram-link:hover { transform:translateY(-1px); }
.instagram-icon { display:inline-grid; width:25px; height:25px; place-items:center; flex:0 0 25px; padding:4px; color:#fff; border-radius:8px; background:radial-gradient(circle at 30% 105%,#ffd76d 0 18%,#f77737 35%,#e1306c 58%,#c13584 72%,#833ab4 88%); box-shadow:0 2px 6px rgba(90,20,73,.22); }
.instagram-icon svg { display:block; width:100%; height:100%; overflow:visible; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.instagram-icon .instagram-icon-dot { fill:currentColor; stroke:none; }
.instagram-link-header { min-height:42px; padding:9px 12px; border:1px solid #e7a84d; border-radius:11px; background:#fffaf3; white-space:nowrap; }
.instagram-link-header:hover { background:#fff0d6; box-shadow:0 7px 18px rgba(125,31,43,.12); }
.instagram-link-footer { color:#8a4350; }
.developer-credit-separator { color:#d4aaa1; }
@media (max-width:1180px) {
  .instagram-link-header > span:last-child { display:none; }
  .instagram-link-header { width:42px; padding:9px; }
}
@media (max-width:820px) {
  .sidebar-footer > .developer-credit { display:none; }
}

/* Comanda física para Epson TM-T20X: bobina 80 mm, área útil de 72 mm. */
.print-ticket {
  display:none;
  box-sizing:border-box;
  width:72mm;
  max-width:72mm;
  margin:0 auto;
  padding:2.5mm 0 6mm;
  color:#000;
  background:#fff;
  font:600 10.5pt/1.28 "Courier New",Courier,monospace;
  overflow-wrap:anywhere;
}
.print-ticket.print-ticket-measuring {
  display:block !important;
  position:fixed !important;
  z-index:-1 !important;
  top:0 !important;
  left:-10000px !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.print-ticket * {
  box-sizing:border-box;
  color:#000 !important;
  text-shadow:none !important;
  box-shadow:none !important;
}
.print-ticket header {
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom:5px;
  text-align:center;
}
.print-ticket header strong { font-size:16pt; letter-spacing:.3px; }
.print-ticket header span { font-size:8.5pt; }
.ticket-command {
  margin:5px 0 3px;
  padding:5px 2px;
  border-top:2px solid #000;
  border-bottom:2px solid #000;
  font-size:18pt;
  font-weight:900;
  line-height:1;
  text-align:center;
}
.ticket-centered { text-align:center; }
.ticket-divider { margin:6px 0; border-top:1px dashed #000; }
.ticket-section-title { margin-bottom:4px; font-size:11pt; font-weight:900; text-align:center; }
.ticket-address,
.ticket-notes {
  margin-top:6px;
  padding:5px 0;
  border-top:1px solid #000;
  border-bottom:1px solid #000;
}
.ticket-address > strong,
.ticket-notes > strong { display:block; margin-bottom:3px; }
.ticket-item { padding:5px 0; border-bottom:1px dotted #777; break-inside:avoid; }
.ticket-item:last-child { border-bottom:0; }
.ticket-item-line,
.ticket-total-line { display:flex; gap:8px; align-items:flex-start; justify-content:space-between; }
.ticket-item-line strong:first-child { flex:1; min-width:0; }
.ticket-item-line strong:last-child,
.ticket-total-line strong:last-child { flex:none; white-space:nowrap; }
.ticket-item small { display:block; margin-top:2px; font-size:9pt; line-height:1.25; }
.ticket-total-line { margin:3px 0; }
.ticket-grand-total {
  margin-top:6px;
  padding-top:6px;
  border-top:2px solid #000;
  font-size:15pt;
  font-weight:900;
}
.ticket-change { margin-top:6px; padding:7px; border:2px solid #000; font-size:14pt; text-align:center; }
.ticket-tracking {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  font-size:12pt;
  font-weight:800;
  letter-spacing:.4px;
  text-align:center;
}
.ticket-footer { margin-top:10px; padding-top:8px; border-top:1px dashed #000; font-size:8pt; }

@media print {
  @page {
    /* Reserva para navegadores que não aplicarem a altura dinâmica criada no JS. */
    size:80mm 297mm;
    margin:0;
  }
  html,
  body {
    width:80mm !important;
    min-width:80mm !important;
    max-width:80mm !important;
    margin:0 !important;
    padding:0 !important;
    color:#000 !important;
    background:#fff !important;
  }
  body > *:not(.print-ticket) { display:none !important; }
  .print-ticket {
    display:block !important;
    width:72mm !important;
    max-width:72mm !important;
    height:auto !important;
    margin:0 auto !important;
    padding:2.5mm 0 6mm !important;
    transform:none !important;
    zoom:1 !important;
  }
}

/* Quadro operacional compacto: oito status visíveis no desktop. */
.orders-toolbar {
  gap:10px;
  margin-bottom:12px;
  flex-wrap:nowrap;
}
.orders-toolbar > div:first-child { min-width:0; }
.orders-toolbar p { margin:0; font-size:13px; }
.orders-toolbar .order-alert-helper { margin-top:2px; font-size:10px; }
.orders-toolbar .actions { justify-content:flex-end; gap:6px; flex-wrap:nowrap; }
.orders-toolbar .btn { padding:8px 10px; font-size:11px; white-space:nowrap; }
.order-board {
  width:100%;
  height:calc(100vh - 238px);
  min-height:430px;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:8px;
  overflow-x:hidden;
  overflow-y:hidden;
  padding-bottom:0;
}
.board-col {
  min-width:0;
  min-height:0;
  height:100%;
  padding:8px;
  border-radius:10px;
}
.board-col-head { min-height:42px; margin-bottom:7px; gap:5px; }
.board-col-head > div { min-width:0; gap:1px; }
.board-col-head strong { font-size:11px; line-height:1.15; }
.board-sla { font-size:9px; }
.board-count { flex:0 0 auto; padding:1px 6px; font-size:10px; }
.board-col-list { padding-right:2px; }
.board-empty { padding:16px 2px; text-align:center; font-size:10px; }
.order-card {
  min-width:0;
  margin-bottom:7px;
  padding:8px;
  border-radius:9px;
}
.order-top {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:3px;
}
.order-top > div { min-width:0; }
.order-number { font-size:13px; line-height:1.1; }
.order-price {
  justify-self:start;
  font-size:12px;
  line-height:1.1;
  white-space:nowrap;
}
.order-top .td-sub {
  margin-top:3px;
  overflow:hidden;
  font-size:9px;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.order-top .td-sub .tracking-copy { font-size:inherit; }
.status-timer {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:2px;
  margin:6px 0 5px;
  padding:5px 6px;
  font-size:9px;
  line-height:1.2;
}
.status-timer small {
  max-width:none;
  font-size:8px;
  text-align:left;
}
.order-items { gap:2px; padding:5px 0; font-size:10px; line-height:1.25; }
.order-items > div { overflow-wrap:anywhere; }
.order-meta {
  display:grid;
  justify-items:start;
  gap:4px;
  padding-top:6px;
}
.order-meta .pill { max-width:100%; padding:3px 6px; font-size:9px; white-space:normal; }
.order-meta > .muted { width:100%; min-width:0; font-size:8px; line-height:1.25; overflow-wrap:anywhere; }
.order-meta .tracking-copy {
  display:block;
  width:max-content;
  max-width:100%;
  margin-top:2px;
  font-size:8px;
  overflow-wrap:anywhere;
}
.order-actions { gap:4px; margin-top:6px; flex-wrap:nowrap; }
.order-actions .btn { min-width:0; padding:5px 6px; font-size:9px; line-height:1.15; }
.order-actions .btn-primary { flex:1 1 auto; }
.order-print-button {
  flex:0 0 52px;
  min-width:52px !important;
  min-height:42px;
  padding-inline:10px !important;
  border:1px solid var(--gold) !important;
  background:#fffaf0 !important;
  color:var(--wine) !important;
  font-size:19px !important;
  box-shadow:0 8px 18px rgba(125,31,43,.12);
}
.order-print-button:hover { background:#ffe8b5 !important; transform:translateY(-1px); }
.order-payment-state.order-payment-compact {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:stretch;
  gap:4px;
  margin:6px 0;
  padding:6px;
  border-radius:8px;
  font-size:9px;
}
.order-payment-summary { display:grid; min-width:0; gap:1px; line-height:1.2; }
.order-payment-summary strong { font-size:9px; }
.order-payment-summary span { overflow-wrap:anywhere; white-space:normal; }
.order-payment-summary a { width:max-content; font-size:9px; }
.order-payment-compact > .btn {
  width:100%;
  min-width:0;
  padding:5px 6px;
  font-size:9px;
  line-height:1.1;
  white-space:normal;
}

@media (max-width:1150px) {
  .orders-toolbar { align-items:flex-start; flex-wrap:wrap; }
  .order-board { grid-template-columns:repeat(8,minmax(145px,1fr)); overflow-x:auto; }
}
@media (max-width:700px) {
  .orders-toolbar .actions { width:100%; justify-content:flex-start; overflow-x:auto; }
  .order-board { height:calc(100vh - 260px); grid-template-columns:repeat(8,minmax(160px,1fr)); }
}

/* Cardápio responsivo: o navegador de categorias ocupa a largura real da grade
   e não usa a largura intrínseca de todas as abas somadas. */
.public-products > .menu-browser {
  grid-column:1 / -1;
  width:100%;
  max-width:100%;
  min-width:0;
}
.menu-browser,
.menu-sections,
.menu-section,
.menu-card-grid {
  max-width:100%;
  min-width:0;
}
.menu-tabs {
  width:100%;
  max-width:100%;
}

@media (max-width:560px) {
  /* No celular o acompanhamento participa da rolagem normal. Assim, apenas as
     categorias permanecem fixas e uma área nunca cobre a outra. */
  .public-top {
    position:relative;
    top:auto;
    z-index:20;
  }
  .public-top-center .track-box {
    max-width:100%;
  }
  .public-top-center .track-row {
    gap:6px;
  }
  .public-top-center .track-row input {
    padding:7px 9px;
  }
  .public-top-center .track-row .btn {
    flex:0 0 auto;
  }
  .public-content {
    padding:30px 12px;
  }
  .menu-tabs {
    top:0;
    z-index:12;
    margin-bottom:12px;
    padding:8px 0 10px;
    background:var(--cream);
    box-shadow:0 5px 12px rgba(58,24,18,.06);
  }
  .menu-card-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .menu-card {
    border-radius:11px;
    box-shadow:0 5px 14px rgba(58,24,18,.05);
  }
  .menu-card-art {
    height:68px;
    background-size:contain;
  }
  .menu-card-promo-badge {
    top:6px;
    left:6px;
    max-width:calc(100% - 12px);
    padding:3px 5px;
    font-size:8px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .menu-card-body {
    padding:9px;
  }
  .menu-card-title {
    display:grid;
    gap:3px;
  }
  .menu-card-title h3 {
    font-size:13px;
    line-height:1.08;
  }
  .menu-card-price {
    font-size:12px;
  }
  .menu-card-body p {
    display:-webkit-box;
    min-height:30px;
    margin:5px 0 7px;
    overflow:hidden;
    font-size:9px;
    line-height:1.25;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .menu-card-footer {
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
  }
  .menu-card-size,
  .menu-card-footer .pill {
    font-size:9px;
  }
  .menu-section {
    scroll-margin-top:68px;
    margin-bottom:25px;
  }
}

/* Teste visual: integra texto e foto principal como uma única peça do topo. */
.hero {
  background:rgba(255,250,241,.94);
}
.hero::before,
.hero::after {
  display:none;
}
.hero-plate {
  color:transparent !important;
  font-size:0 !important;
}
@media (max-width:820px) {
  .hero {
    padding:26px;
    gap:24px;
  }
  .hero::before {
    left:20px;
    right:20px;
    top:55%;
    height:54px;
    transform:translateY(-50%) rotate(-1deg);
  }
  .hero-plate {
    min-height:280px;
    transform:none;
  }
}
@media (max-width:560px) {
  .hero {
    padding:20px 16px;
    border-radius:22px;
  }
  .hero::before {
    top:58%;
    height:42px;
    border-top-width:6px;
    border-bottom-width:6px;
  }
  .hero::after {
    display:none;
  }
  .hero > div:first-child::after {
    width:88px;
    margin-top:14px;
  }
  .hero-plate {
    min-height:220px;
    border-width:7px;
    border-radius:20px;
  }
}

.product-card .product-visual.has-catalog-photo,
.menu-card .menu-card-art.has-catalog-photo {
  background-position:center !important;
  background-size:cover !important;
  color:transparent !important;
  font-size:0 !important;
}

/* Relatórios operacionais */
.reports-toolbar {
  align-items:flex-end;
  gap:20px;
}

.report-date-limit {
  display: block;
  margin-top: 5px;
  color: var(--wine, #8d1d2c);
  font-weight: 700;
}
.report-filter {
  display:flex;
  align-items:flex-end;
  gap:9px;
  flex-wrap:wrap;
}
.report-filter label {
  width:100%;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.report-filter input[type="date"] {
  min-width:175px;
  height:43px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fffdfa;
  color:var(--ink);
  padding:0 13px;
  font:inherit;
}
.report-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:24px 0 16px;
  padding:0 2px;
}
.report-heading h2 {
  margin:4px 0 3px;
  color:var(--wine);
  font-size:27px;
}
.report-heading p { margin:0; color:var(--muted); }
.report-kpi-grid {
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.report-kpi {
  min-height:126px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  padding:19px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fffdfa;
  box-shadow:0 10px 25px rgba(79,28,25,.06);
}
.report-kpi-primary {
  background:linear-gradient(145deg,#6f1020,#a9162b);
  border-color:#6f1020;
  color:#fff;
}
.report-kpi span { color:var(--muted); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.report-kpi-primary span,.report-kpi-primary small { color:#f9dfd4; }
.report-kpi strong { color:var(--wine); font-size:22px; line-height:1.05; }
.report-kpi-primary strong { color:#fff; }
.report-kpi small { color:var(--muted); line-height:1.35; }
.report-overview-grid {
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:18px;
  margin-top:18px;
}
.report-split-list {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.report-split-row {
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:12px;
  border-radius:12px;
  background:#fff6e8;
}
.report-split-row span { color:var(--muted); font-size:12px; }
.report-split-row strong { color:var(--wine); }
.report-hour-chart {
  min-height:150px;
  display:flex;
  align-items:flex-end;
  gap:9px;
  overflow-x:auto;
  padding:22px 4px 2px;
}
.report-hour {
  min-width:52px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  color:var(--muted);
}
.report-hour-bar {
  width:34px;
  height:96px;
  display:flex;
  align-items:flex-end;
  border-radius:8px 8px 4px 4px;
  background:#f7ecdf;
  overflow:hidden;
}
.report-hour-bar span {
  width:100%;
  display:block;
  background:linear-gradient(180deg,var(--red),var(--wine));
  border-radius:8px 8px 3px 3px;
}
.report-hour strong { color:var(--ink); font-size:12px; }
.report-hour small { white-space:nowrap; font-size:9px; }
.report-rank {
  display:inline-grid;
  width:25px;
  height:25px;
  place-items:center;
  margin-right:9px;
  border-radius:8px;
  background:#fde3a0;
  color:var(--wine);
  font-size:11px;
  font-weight:800;
}
.report-orders-table code { color:var(--wine); font-family:inherit; font-weight:700; }
.report-order-cancelled { opacity:.55; text-decoration-color:var(--red); }
.report-empty { margin-top:18px; min-height:260px; display:grid; place-items:center; }

@media (max-width:1350px) {
  .report-kpi-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .reports-toolbar { align-items:stretch; }
  .report-filter { width:100%; }
  .report-filter input[type="date"] { flex:1 1 180px; }
  .report-overview-grid { grid-template-columns:1fr; }
  .report-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px) {
  .report-filter > .btn { flex:1 1 calc(50% - 8px); justify-content:center; }
  .report-heading { align-items:flex-start; flex-direction:column; }
  .report-heading h2 { font-size:22px; }
  .report-kpi-grid { grid-template-columns:1fr; }
  .report-kpi { min-height:105px; }
  .report-split-list { grid-template-columns:1fr; }
}
