/* Customer app - Zaika colours (maroon and gold on cream), mobile first. */
:root {
    --ro-maroon: #5a1414;
    --ro-maroon-2: #7a1f1f;
    --ro-gold: #c9a24a;
    --ro-cream: #fbf6ec;
    --ro-ink: #2a1a14;
    --ro-muted: #7b6a5e;
    --ro-line: #eadfcd;
    --ro-ok: #1e7a3a;
    --ro-danger: #a32020;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
.ro-body {
    background: var(--ro-cream);
    color: var(--ro-ink);
    font: 16px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 96px;
}
.ro-header {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
    background: var(--ro-maroon); color: #fff;
}
.ro-brand { color: #fff; text-decoration: none; display: flex; align-items: center; }
.ro-logo { height: 40px; width: auto; }
.ro-lang {
    background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 14px; max-width: 150px;
}
.ro-lang option { color: var(--ro-ink); }
.ro-wrap { max-width: 640px; margin: 0 auto; padding: 16px; }
.ro-title {
    font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700;
    font-size: 30px; line-height: 1.1; margin: 4px 0 14px; color: var(--ro-maroon);
}
.ro-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--ro-gold); font-weight: 600; }
.ro-steph { display: flex; align-items: center; gap: 10px; }
.ro-back {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ro-line);
    background: #fff; font-size: 26px; line-height: 1; color: var(--ro-maroon); cursor: pointer; flex: none;
}
[dir="rtl"] .ro-back { transform: scaleX(-1); }
.ro-muted { color: var(--ro-muted); font-size: 14px; }
.ro-center { text-align: center; }
.ro-big { font-size: 22px; font-weight: 600; }
.ro-stack { display: grid; gap: 12px; margin-bottom: 16px; }
.ro-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ro-card {
    background: #fff; border: 1px solid var(--ro-line); border-radius: 14px; padding: 16px;
    margin-bottom: 14px; box-shadow: 0 1px 2px rgba(60, 30, 10, .04);
}
.ro-card-link { display: block; color: inherit; text-decoration: none; }
.ro-card-title { display: block; font-weight: 600; font-size: 18px; color: var(--ro-maroon); }
.ro-type {
    display: flex; gap: 14px; align-items: center; width: 100%; text-align: start; cursor: pointer;
    font: inherit; margin: 0; border-width: 1px;
}
.ro-type:hover, .ro-card-link:hover { border-color: var(--ro-gold); }
.ro-type-ico { font-size: 34px; width: 54px; height: 54px; display: grid; place-items: center;
    background: var(--ro-cream); border-radius: 12px; flex: none; }
.ro-form { display: grid; gap: 6px; }
.ro-label { font-size: 14px; font-weight: 600; margin-top: 8px; }
.ro-input {
    width: 100%; padding: 12px; border: 1px solid var(--ro-line); border-radius: 10px;
    font: inherit; background: #fff; color: inherit;
}
.ro-input:focus { outline: 2px solid var(--ro-gold); border-color: var(--ro-gold); }
.ro-check { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-weight: 500; }
.ro-check input { width: 22px; height: 22px; accent-color: var(--ro-maroon); }
.ro-btn {
    display: block; width: 100%; text-align: center; padding: 14px 16px; border-radius: 12px;
    border: 0; font: inherit; font-weight: 600; cursor: pointer; margin: 10px 0;
    background: var(--ro-maroon-2); color: #fff; text-decoration: none;
}
.ro-btn:disabled { opacity: .55; cursor: default; }
.ro-btn-main { background: var(--ro-maroon); }
.ro-btn-ok { background: var(--ro-ok); }
.ro-btn-danger { background: var(--ro-danger); }
.ro-btn-ghost { background: #fff; color: var(--ro-maroon); border: 1px solid var(--ro-line); }
.ro-alert { padding: 12px 14px; border-radius: 10px; background: #fff7e0; border: 1px solid #f0d58a; margin-bottom: 14px; }
.ro-alert-err { background: #fdecec; border-color: #f2b8b8; color: #7a1010; }
.ro-alert-ok { background: #e9f6ee; border-color: #b6dfc3; color: #145a2a; }
.ro-stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--ro-cream);
    border-radius: 999px; padding: 2px; }
.ro-stepper button {
    width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--ro-maroon); color: #fff;
    font-size: 20px; line-height: 1; cursor: pointer;
}
.ro-stepper span { min-width: 26px; text-align: center; font-weight: 600; }
.ro-stepper-lg button { width: 44px; height: 44px; font-size: 24px; }
.ro-stepper-lg span { min-width: 44px; font-size: 20px; }
.ro-search { margin-bottom: 10px; }
.ro-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none;
    position: sticky; top: 60px; background: var(--ro-cream); z-index: 10; }
.ro-chips::-webkit-scrollbar { display: none; }
.ro-chip {
    flex: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ro-line);
    background: #fff; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; color: var(--ro-ink);
}
.ro-chip.on { background: var(--ro-maroon); color: #fff; border-color: var(--ro-maroon); }
.ro-cat {
    font-family: "Cormorant Garamond", Georgia, serif; color: var(--ro-maroon);
    font-size: 24px; margin: 18px 0 8px; border-bottom: 1px solid var(--ro-line); padding-bottom: 4px;
}
.ro-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ro-line); }
.ro-item-img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: none; background: #f1e6d3; }
.ro-item-noimg { background: linear-gradient(135deg, #f3e7d2, #ead7b4); }
.ro-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ro-item-name { font-weight: 600; }
.ro-item-desc { color: var(--ro-muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; }
.ro-item-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.ro-price { font-weight: 600; color: var(--ro-maroon); }
.ro-add {
    border: 1px solid var(--ro-maroon); color: var(--ro-maroon); background: #fff; border-radius: 999px;
    padding: 6px 16px; font: inherit; font-weight: 600; cursor: pointer;
}
.ro-linenote { padding: 8px 10px; font-size: 14px; }
.ro-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 8px 16px; padding-bottom: max(8px, env(safe-area-inset-bottom));
    background: linear-gradient(to top, var(--ro-cream) 70%, rgba(251, 246, 236, 0));
}
.ro-bar .ro-btn { max-width: 608px; margin: 0 auto; box-shadow: 0 6px 20px rgba(90, 20, 20, .25); }
.ro-sumrow { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.ro-sumrow > span:last-child { text-align: end; white-space: nowrap; }
.ro-lines { border-top: 1px solid var(--ro-line); margin-top: 8px; padding-top: 8px; }
.ro-total { font-weight: 700; border-top: 1px solid var(--ro-line); margin-top: 6px; padding-top: 8px; }
.ro-status { text-align: center; padding: 18px 0 8px; }
.ro-status-ico { font-size: 54px; }
.ro-st-waiting .ro-status-ico { animation: ro-pulse 1.6s ease-in-out infinite; }
@keyframes ro-pulse { 50% { transform: scale(1.12); } }
.ro-badge { display: inline-block; background: var(--ro-cream); border: 1px solid var(--ro-line);
    border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 600; }
.ro-pre { white-space: pre-wrap; font: inherit; margin: 10px 0 0; }
.ro-manager a { margin-inline-end: 12px; color: var(--ro-maroon); }
.ro-loading { text-align: center; padding: 40px; color: var(--ro-muted); }
@media (min-width: 700px) {
    .ro-title { font-size: 36px; }
}
.ro-ann { border-color: var(--ro-gold); }
.ro-ann-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.ro-ann-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; margin: 2px 0 6px; }
.ro-ann-dishes { columns: 2; column-gap: 18px; padding-inline-start: 18px; margin: 6px 0 10px; font-size: 15px; }
.ro-ann-prices { display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 600; color: var(--ro-maroon); }
.ro-chips-wrap { flex-wrap: wrap; position: static; background: none; }
.ro-chips-wrap a { text-decoration: none; }
.ro-off { opacity: .6; cursor: default; }
@media (max-width: 380px) { .ro-ann-dishes { columns: 1; } }
.ro-item-off { opacity: .5; }
.ro-item-off .ro-item-img { filter: grayscale(1); }
.ro-soldout { font-size: 13px; font-weight: 600; color: var(--ro-danger); border: 1px solid currentColor;
    border-radius: 999px; padding: 4px 12px; }
.ro-user { text-align: end; font-size: 14px; color: var(--ro-muted); margin-bottom: 4px; }
.ro-link { background: none; border: 0; padding: 0; color: var(--ro-maroon); font: inherit; text-decoration: underline; cursor: pointer; }
.ro-link:disabled { color: var(--ro-muted); text-decoration: none; }
.ro-code { font-size: 28px; letter-spacing: .4em; text-align: center; }
.ro-map { height: 240px; border-radius: 12px; border: 1px solid var(--ro-line); margin: 6px 0; background: #eee; }
.ro-addr { text-align: start; width: 100%; cursor: pointer; display: flex; flex-direction: column; gap: 2px; margin: 0; font: inherit; }
.ro-addr.on { border: 2px solid var(--ro-maroon); }
.ro-waiter { border-color: var(--ro-gold); background: #fffaf0; }
.ro-waiter-hello { font-weight: 600; margin-bottom: 8px; color: var(--ro-maroon); }
.ro-wchip { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--ro-line); }
.ro-wchip-sug span { font-style: italic; }
.ro-usual { font-size: 13px; color: var(--ro-ok); font-weight: 600; }
.ro-btn-gold { background: var(--ro-gold); color: #2a1a14; }
.ro-chat { position: fixed; inset: 0; z-index: 50; background: var(--ro-cream); display: flex; flex-direction: column;
    padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); max-width: 640px; margin: 0 auto; }
.ro-chat-head { display: flex; gap: 10px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--ro-line); }
.ro-chat-body { flex: 1; overflow-y: auto; padding: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.ro-msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; white-space: pre-wrap; }
.ro-msg-assistant { background: #fff; border: 1px solid var(--ro-line); align-self: flex-start; border-bottom-left-radius: 4px; }
.ro-msg-user { background: var(--ro-maroon); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
[dir="rtl"] .ro-msg-assistant { align-self: flex-end; }
[dir="rtl"] .ro-msg-user { align-self: flex-start; }
.ro-typing { opacity: .6; }
.ro-chat-quick { position: static; background: none; }
.ro-chat-input { display: flex; gap: 8px; }
.ro-chat-input .ro-btn { width: 56px; margin: 0; }
.ro-chat .ro-btn { margin: 6px 0 0; }

.ro-sumrow.ro-promo { color: #1e7e46; font-weight: 600; }
