/* MEL Food — Ilha do Mel: branco, areia e amarelo-sol. Preto só nas letras. */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&display=swap");

:root {
  --bg: #ffffff;
  --sand: #f7ebc8;          /* areia (faixas) */
  --sand-2: #fbf3dc;        /* areia clara */
  --card: #ffffff;
  --card2: #faf5e6;         /* campos e blocos internos */
  --sun-soft: #fff1b8;
  --line: #ecdfb6;
  --line-strong: #d9c88f;
  --text: #1a160d;
  --muted: #625a47;
  --honey: #ffc62b;         /* sol */
  --honey-d: #f2b50f;
  --amber: #7a5600;         /* amarelo escuro: só para TEXTO sobre branco */
  --green: #15803d;
  --red: #b91c1c;
  --blue: #1d4ed8;
  --shadow: 0 1px 2px rgba(122, 86, 0, .08), 0 14px 32px -16px rgba(122, 86, 0, .35);
  --shadow-up: 0 2px 4px rgba(122, 86, 0, .08), 0 22px 40px -18px rgba(122, 86, 0, .45);
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .logo, .stat { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; }
h3 { font-weight: 700; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.row { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.wrapx { flex-wrap: wrap; }
.grow { flex: 1; }
.stack > * + * { margin-top: 12px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.center { text-align: center; }
.pad-bottom { padding-bottom: 96px; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 10px; }
.logo { font-weight: 800; font-size: 23px; color: var(--text); }
.logo b { font-style: normal; background: linear-gradient(transparent 58%, var(--honey) 58% 92%, transparent 92%); padding: 0 3px; }
.nav { display: flex; gap: 8px; align-items: center; }

/* ---------- botões ---------- */
.btn { display: inline-block; background: var(--honey); color: var(--text); border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 800; cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s; text-align: center; box-shadow: 0 6px 14px -8px rgba(122, 86, 0, .7); }
.btn:hover { background: var(--honey-d); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--text); border: 1.5px solid var(--line-strong); box-shadow: none; }
.btn.ghost:hover { background: var(--sand-2); }
.btn.dark { background: var(--text); color: #fff; }
.btn.dark:hover { background: #3a3324; }
.btn.green { background: var(--green); color: #fff; }
.btn.green:hover { background: #166534; }
.btn.red { background: var(--red); color: #fff; }
.btn.red:hover { background: #991b1b; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.sm { padding: 7px 15px; font-size: 13.5px; }
.btn.block { display: block; width: 100%; }

/* ---------- cartões e campos ---------- */
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; padding: 20px; }
.card.click { display: block; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card.click:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); border-color: var(--honey); }
input, select, textarea { width: 100%; background: #fff; border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 11px 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--honey-d); box-shadow: 0 0 0 4px rgba(255, 198, 43, .4); }
input:disabled { background: var(--card2); color: var(--muted); }
.password-field { position: relative; }
.password-field input { padding-right: 54px; }
.password-toggle { position: absolute; top: 50%; right: 8px; display: grid; width: 38px; height: 38px; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.password-toggle:hover { background: var(--sand-2); color: var(--text); }
.password-toggle:focus-visible { outline: 3px solid var(--text); outline-offset: 1px; }
.password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-toggle .eye-slash { display: none; }
.password-toggle[aria-pressed="true"] .eye-slash { display: block; }
.mapwrap { width: 100%; height: 240px; margin-top: 10px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card2); }
.melfood-map-icon { background: transparent; border: 0; }
.melfood-map-icon span { display: grid; width: 34px; height: 34px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--honey); box-shadow: 0 2px 8px #0005; font-size: 19px; }
.map-picker-bg { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(26, 22, 13, .6); }
.map-picker { width: min(680px, 100%); max-height: 92vh; overflow: auto; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); box-shadow: var(--shadow-up); }
.map-picker h2 { font-size: 21px; }
.map-picker-canvas { width: 100%; height: min(52vh, 420px); min-height: 260px; overflow: hidden; border-radius: 14px; background: var(--card2); }
label { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.field + .field { margin-top: 13px; }
.grid > .field + .field { margin-top: 0; }

/* ---------- etiquetas de status ---------- */
.badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--card2); border: 1.5px solid var(--line-strong); white-space: nowrap; }
.badge.new { background: var(--sun-soft); color: #5c4400; border-color: var(--honey-d); }
.badge.preparing { background: #e4efff; color: #123a8c; border-color: #8fb3f5; }
.badge.ready, .badge.delivered, .badge.open { background: #e0f4e8; color: #11592f; border-color: #86cfa3; }
.badge.delivering { background: #efe5fb; color: #53267f; border-color: #c4a4e8; }
.badge.cancelled, .badge.closed { background: #fde6e6; color: #8f1a1a; border-color: #f0a9a9; }

/* ---------- chips e abas ---------- */
.chips { display: flex; gap: 9px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-block; white-space: nowrap; border: 1.5px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 8px 17px; cursor: pointer; font-size: 14.5px; font-weight: 600; transition: background .15s; }
.chip:hover { background: var(--sand-2); }
.chip.on { background: var(--honey); border-color: var(--honey-d); font-weight: 800; }
a.chip { display: inline-block; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin: 16px 0; overflow-x: auto; }
.tab { padding: 11px 16px 9px; cursor: pointer; border: 0; border-bottom: 4px solid transparent; color: var(--muted); white-space: nowrap; background: none; font-weight: 600; margin-bottom: -2px; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--text); font-weight: 800; border-bottom-color: var(--honey); }

/* ---------- avisos ---------- */
.alertbar { position: sticky; top: 64px; z-index: 15; padding: 12px 16px; text-align: center; font-weight: 700; }
.alertbar.off { background: var(--sun-soft); color: var(--text); border-bottom: 1.5px solid var(--honey-d); }
.alertbar.ring { background: var(--red); color: #fff; animation: pulse 1s infinite; }
.alertbar .btn { background: var(--text); color: #fff; box-shadow: none; }
@keyframes pulse { 50% { filter: brightness(1.2); } }
.err { background: #fde6e6; border: 1.5px solid #f0a9a9; color: #7f1717; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; }
.ok { background: #e0f4e8; border: 1.5px solid #86cfa3; color: #11592f; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; }

/* ---------- pedidos ---------- */
.order { border-left: 6px solid var(--honey); box-shadow: var(--shadow); }
.order.preparing { border-left-color: var(--blue); }
.order.ready { border-left-color: var(--green); }
.order.delivering { border-left-color: #7e3fb8; }
.order.delivered { border-left-color: var(--green); }
.order.cancelled { border-left-color: var(--red); }
.order ul { list-style: none; margin: 8px 0; font-size: 14.5px; }
.stat { font-size: 34px; font-weight: 800; }
.cart { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--honey); color: var(--text); border-radius: 26px 26px 0 0; box-shadow: 0 -10px 30px -10px rgba(122, 86, 0, .5); padding: 16px 24px; font-family: var(--display); font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; cursor: pointer; }
.modal-bg { position: fixed; inset: 0; background: rgba(40, 30, 8, .5); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.modal { background: #fff; width: 100%; max-width: 540px; max-height: 92vh; overflow: auto; border-radius: 28px 28px 0 0; padding: 24px; }
@media (min-width: 640px) { .modal-bg { align-items: center; } .modal { border-radius: 28px; } }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer; font-size: 18px; font-weight: 700; line-height: 1; }
.qty button:hover { background: var(--honey); border-color: var(--honey-d); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 700; font-size: 13px; }
.qr { background: #fff; padding: 10px; border: 1.5px solid var(--line-strong); border-radius: 20px; width: 224px; height: 224px; margin: 0 auto; display: block; }
.track { display: flex; margin: 16px 0 8px; }
.track .step { flex: 1; text-align: center; font-size: 11.5px; color: var(--muted); position: relative; }
.track .step i { display: block; width: 15px; height: 15px; border-radius: 50%; background: var(--line); margin: 0 auto 6px; position: relative; z-index: 1; }
.track .step::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.track .step:first-child::before { display: none; }
.track .step.done i, .track .step.now i { background: var(--honey); box-shadow: 0 0 0 3px var(--sun-soft); }
.track .step.done::before, .track .step.now::before { background: var(--honey); }
.track .step.now { color: var(--text); font-weight: 800; }
.cnt { display: inline-block; min-width: 19px; padding: 0 6px; margin-left: 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; text-align: center; line-height: 19px; }
.notif { cursor: pointer; }
.notif.unread { border-left: 6px solid var(--honey); background: var(--sun-soft); }
.avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, var(--honey)); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 23px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.meta span { font-size: 13px; background: var(--card2); padding: 4px 11px; border-radius: 999px; }

/* ---------- primeira tela: céu, sol, coqueiro e ondas ---------- */
.hero { position: relative; overflow: hidden; padding: 38px 0 150px;
  background: linear-gradient(180deg, #ffd24d 0%, #ffe38a 55%, #ffeaa6 100%); }
.hero .sun { position: absolute; right: 11%; bottom: 74px; width: 250px; height: 250px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ffc83a, #ffab00 75%);
  box-shadow: 0 0 0 26px rgba(255, 255, 255, .26), 0 0 0 58px rgba(255, 255, 255, .15), 0 0 0 96px rgba(255, 255, 255, .08); }
.hero .palma { position: absolute; top: -8px; right: -10px; width: min(620px, 56vw); pointer-events: none; transform-origin: 98% 0; animation: balanco 9s ease-in-out infinite; }
@keyframes balanco { 50% { transform: rotate(-1.6deg); } }
.hero .wrap { position: relative; z-index: 2; }
.loc-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .85); border: 1.5px solid rgba(122, 86, 0, .25); border-radius: 999px; padding: 6px 7px 6px 18px; font-weight: 700; font-size: 15px; box-shadow: var(--shadow); }
.loc-pill select { width: auto; border: 0; border-radius: 999px; background: var(--sun-soft); font-weight: 800; padding: 7px 14px; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 7vw, 74px); line-height: 1; letter-spacing: -.035em; margin: 22px 0 16px; max-width: 10.5em; }
.hero p.lead { font-size: 19px; font-weight: 500; max-width: 42ch; }
.search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid rgba(122, 86, 0, .22); border-radius: 999px; padding: 0 22px; max-width: 520px; box-shadow: var(--shadow-up); margin-top: 26px; }
.search input { border: 0; background: transparent; padding: 16px 0; font-size: 17px; border-radius: 0; }
.search input:focus { box-shadow: none; }
.search:focus-within { box-shadow: var(--shadow-up), 0 0 0 4px rgba(255, 255, 255, .85); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badges span { font-size: 14px; font-weight: 600; padding: 6px 15px; border-radius: 999px; background: rgba(255, 255, 255, .8); }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 130px; display: block; z-index: 1; }

.section { padding: 34px 0 8px; }
.section h2, .sand h2 { font-weight: 800; font-size: clamp(27px, 4.2vw, 38px); }
.section .sub { margin: 6px 0 20px; color: var(--muted); max-width: 60ch; }

/* categorias com ícone */
.cat { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; border: 1.5px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 7px 18px 7px 8px; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .15s, box-shadow .15s; box-shadow: 0 6px 14px -12px rgba(122, 86, 0, .8); }
.cat:hover { background: var(--sand-2); }
.cat .ico { width: 32px; height: 32px; border-radius: 50%; background: var(--sun-soft); display: grid; place-items: center; font-size: 17px; }
.cat.on { background: var(--honey); border-color: var(--honey-d); font-weight: 800; }
.cat.on .ico { background: #fff; }
#chips { flex-wrap: wrap; overflow: visible; }

/* faixa de areia com bordas de onda */
.edge { display: block; width: 100%; height: 50px; }
.sand { background: var(--sand); padding: 18px 0 30px; }
.sand h2 { margin-bottom: 28px; }
.how { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.how .item { background: #fff; border-radius: 26px; padding: 22px; box-shadow: var(--shadow); }
.how .n { width: 46px; height: 46px; border-radius: 50%; background: var(--honey); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; margin-bottom: 14px; }
.how h3 { font-size: 21px; margin-bottom: 6px; }
.how p { color: var(--muted); }
.cta-sun, .cta-line { border-radius: 30px; padding: 30px; position: relative; overflow: hidden; }
.cta-sun { background: linear-gradient(160deg, #ffd24d, #ffc62b); box-shadow: var(--shadow); }
.cta-sun::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .3); box-shadow: 0 0 0 28px rgba(255, 255, 255, .16); }
.cta-line { background: #fff; border: 1.5px solid var(--line-strong); }
.cta-sun h3, .cta-line h3 { font-size: 24px; }
.cta-sun p, .cta-line p { margin: 10px 0 20px; max-width: 38ch; }
.cta-sun .btn, .cta-line .btn { position: relative; z-index: 1; }
.foot { background: var(--sand); padding: 14px 0 44px; }
.foot .wrap > * + * { margin-top: 18px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot a.logo { color: var(--text); }
.vazio { text-align: center; padding: 38px 18px; border: 2px dashed var(--line-strong); border-radius: 28px; background: var(--sand-2); }

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .hero { padding: 26px 0 104px; }
  .hero h1 { margin-top: 58px; }
  .hero .sun { width: 120px; height: 120px; right: 5%; bottom: 14px; box-shadow: 0 0 0 14px rgba(255, 255, 255, .26), 0 0 0 30px rgba(255, 255, 255, .14); }
  .hero .palma { width: 38vw; top: -6px; right: -6px; }
  .waves { height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
[hidden]{display:none!important}

/* ---------- painel operacional do restaurante ---------- */
.restaurant-head { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 0 20px; }
.restaurant-head h1 { font-size:clamp(26px,4vw,36px); }
.restaurant-eyebrow,.restaurant-order-kicker { color:var(--amber); font-size:11px; font-weight:800; letter-spacing:.11em; }
.restaurant-eyebrow { margin-bottom:7px; }
.restaurant-subtitle { margin-top:7px; color:var(--muted); font-size:14px; }
.restaurant-store-status { display:flex; align-items:center; gap:10px; }
.restaurant-status { padding:7px 12px; font-size:12px; }
.restaurant-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:4px 0 22px; }
.restaurant-stat { min-width:0; display:flex; align-items:center; gap:11px; padding:15px; border:1.5px solid var(--line); border-radius:18px; background:var(--card); text-align:left; cursor:pointer; transition:border-color .15s,transform .15s,box-shadow .15s; }
.restaurant-stat:hover { transform:translateY(-2px); border-color:var(--honey-d); box-shadow:var(--shadow); }
.restaurant-stat.on { outline:2px solid var(--honey-d); outline-offset:1px; }
.restaurant-stat.has-new { border-color:var(--honey-d); background:linear-gradient(135deg,#fff8df,#fff); }
.restaurant-stat-icon { flex:none; display:grid; place-items:center; width:38px; height:38px; border-radius:13px; background:var(--sand-2); color:var(--amber); font-size:19px; font-weight:800; }
.restaurant-stat.has-new .restaurant-stat-icon { background:var(--honey); color:var(--text); }
.restaurant-stat-copy { min-width:0; display:flex; flex:1; flex-direction:column; gap:3px; }
.restaurant-stat-label { font-size:12.5px; font-weight:800; line-height:1.2; }
.restaurant-stat-hint { color:var(--muted); font-size:11px; }
.restaurant-stat-count { font-family:var(--display); font-size:26px; line-height:1; }
.restaurant-tabs { margin:0 0 18px; }
.restaurant-order-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:18px 0 12px; }
.restaurant-order-toolbar h2 { font-size:22px; }
.restaurant-order-toolbar p { margin-top:5px; }
.restaurant-live { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border:1px solid #b7dfc4; border-radius:999px; background:#f0faf3; color:#176538; font-size:11.5px; font-weight:700; white-space:nowrap; }
.restaurant-live i { width:7px; height:7px; border-radius:50%; background:#20a052; box-shadow:0 0 0 3px #d5f0df; }
.restaurant-order-filters { display:flex; gap:8px; overflow-x:auto; padding:3px 1px 14px; scrollbar-width:none; }
.restaurant-order-filters::-webkit-scrollbar { display:none; }
.restaurant-filter { flex:none; padding:8px 13px; border:1px solid var(--line-strong); border-radius:999px; background:#fff; color:var(--muted); font-size:12.5px; font-weight:700; cursor:pointer; }
.restaurant-filter:hover { background:var(--sand-2); color:var(--text); }
.restaurant-filter.on { border-color:var(--text); background:var(--text); color:#fff; }
.restaurant-filter span { display:inline-block; min-width:18px; margin-left:4px; padding:1px 5px; border-radius:999px; background:rgba(127,104,57,.12); text-align:center; font-size:11px; }
.restaurant-filter.on span { background:rgba(255,255,255,.2); }
.restaurant-order-list { display:grid; grid-template-columns:1fr; gap:12px; }
.restaurant-order { padding:0; overflow:hidden; border-left-width:4px; border-radius:18px; box-shadow:0 2px 9px rgba(58,45,19,.06); }
.restaurant-order-top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 18px; border-bottom:1px solid var(--line); background:linear-gradient(90deg,#fffcf2,#fff); }
.restaurant-order-top h3 { margin-top:3px; font-size:19px; }
.restaurant-order-top-meta { display:flex; align-items:center; gap:10px; }
.restaurant-order-time { color:var(--muted); font-size:12.5px; white-space:nowrap; }
.restaurant-order-customer { display:flex; align-items:center; gap:11px; padding:15px 18px 12px; }
.restaurant-order-customer>span { display:grid; flex:none; width:36px; height:36px; place-items:center; border-radius:50%; background:var(--sand-2); }
.restaurant-order-customer>div { min-width:0; display:flex; flex:1; flex-direction:column; gap:3px; }
.restaurant-order-customer>div b { font-size:14px; }
.restaurant-order-customer>div span { color:var(--muted); font-size:12px; }
.restaurant-order-customer>strong { font-family:var(--display); font-size:17px; white-space:nowrap; }
.restaurant-order-detail { margin:0 18px; padding:12px 0 8px; border-top:1px solid var(--line); }
.restaurant-order-detail ul { margin:8px 0 0; list-style:none; font-size:13.5px; }
.restaurant-order-detail li+li { margin-top:5px; }
.restaurant-order-detail li b { display:inline-block; min-width:28px; color:var(--amber); }
.restaurant-order-note { margin:0 18px 10px; padding:9px 11px; border-radius:10px; background:var(--sand-2); color:var(--muted); font-size:12.5px; }
.restaurant-order-note b { color:var(--text); }
.restaurant-order-tracking { padding:0 18px 12px; }
.restaurant-order-tracking .eta { display:block; margin:0 0 8px; font-size:12px; }
.restaurant-order-tracking .mapwrap { height:190px; margin:0; }
.restaurant-order-actions { display:flex; align-items:center; flex-wrap:wrap; gap:9px; padding:12px 18px 15px; border-top:1px solid var(--line); background:#fffefa; }
.restaurant-courier-state { margin-left:auto; color:var(--muted); font-size:12px; }
.restaurant-empty { padding:34px 18px; border:1.5px dashed var(--line-strong); border-radius:18px; background:var(--sand-2); text-align:center; }
.restaurant-empty>span { color:var(--amber); font-size:28px; }
.restaurant-empty h3 { margin:8px 0 5px; font-size:18px; }
.restaurant-empty p { color:var(--muted); font-size:13px; }
.restaurant-settings { display:grid; gap:14px; padding-bottom:30px; }
.restaurant-settings-card { padding:22px; border-radius:20px; }
.restaurant-settings-heading { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.restaurant-settings-heading>span { display:grid; flex:none; width:38px; height:38px; place-items:center; border-radius:13px; background:var(--sun-soft); color:var(--amber); font-family:var(--display); font-size:14px; font-weight:800; }
.restaurant-settings-heading h2 { font-size:19px; }
.restaurant-settings-heading p { margin-top:4px; color:var(--muted); font-size:13px; }
.restaurant-settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.restaurant-settings-wide { grid-column:1/-1; }
.restaurant-settings-grid textarea { min-height:92px; resize:vertical; }
.restaurant-settings-hint { margin-top:12px; color:var(--muted); font-size:12px; }
.restaurant-settings-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
.restaurant-settings-footer p { max-width:55ch; }

@media (max-width:900px) {
  .restaurant-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .restaurant-head { align-items:flex-start; flex-direction:column; gap:14px; padding-top:18px; }
  .restaurant-store-status { width:100%; justify-content:space-between; }
  .restaurant-summary { gap:8px; margin-bottom:16px; }
  .restaurant-stat { gap:8px; padding:11px 9px; border-radius:14px; }
  .restaurant-stat-icon { width:32px; height:32px; border-radius:11px; font-size:16px; }
  .restaurant-stat-label { font-size:11px; }
  .restaurant-stat-hint { font-size:10px; }
  .restaurant-stat-count { font-size:22px; }
  .restaurant-order-toolbar { align-items:flex-start; flex-direction:column; }
  .restaurant-order-top { align-items:flex-start; flex-direction:column; }
  .restaurant-order-top-meta { width:100%; justify-content:space-between; }
  .restaurant-order-actions { align-items:stretch; }
  .restaurant-order-actions .btn { flex:1; }
  .restaurant-courier-state { width:100%; margin-left:0; }
  .restaurant-settings-card { padding:17px; }
  .restaurant-settings-grid { grid-template-columns:1fr; gap:12px; }
  .restaurant-settings-wide { grid-column:auto; }
  .restaurant-settings-footer { align-items:flex-start; flex-direction:column; }
  .restaurant-settings-footer .btn { width:100%; }
}
