/*
 * Restaurant Connect: modern ordering UI.
 * Inherits the theme's font. The brand colour comes from Settings (--rc-accent);
 * every tint below is mixed from it, so one setting re-colours the whole UI.
 */
.rc-app {
  --rc-a: var(--rc-accent, #e2620e);
  --rc-a-ink: color-mix(in srgb, var(--rc-a) 78%, #000);
  --rc-a-50: color-mix(in srgb, var(--rc-a) 6%, #fff);
  --rc-a-100: color-mix(in srgb, var(--rc-a) 12%, #fff);
  --rc-a-200: color-mix(in srgb, var(--rc-a) 24%, #fff);
  --rc-ink: #1a1613;
  --rc-ink-2: #4a433d;
  --rc-muted: #847a72;
  --rc-line: #ece7e2;
  --rc-bg: #ffffff;
  --rc-soft: #faf7f4;
  --rc-good: #128a45;
  --rc-good-bg: #ecf8f1;
  --rc-bad: #c4320a;
  --rc-bad-bg: #fff1ec;
  --rc-warn: #a15c07;
  --rc-warn-bg: #fff7e6;
  --rc-r: 20px;
  --rc-r-sm: 12px;
  --rc-shadow: 0 1px 2px rgba(26, 22, 19, .04), 0 4px 16px -4px rgba(26, 22, 19, .08);
  --rc-shadow-lg: 0 2px 4px rgba(26, 22, 19, .04), 0 18px 40px -12px rgba(26, 22, 19, .22);
  --rc-ease: cubic-bezier(.2, .8, .2, 1);
  color: var(--rc-ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.rc-app *, .rc-app *::before, .rc-app *::after { box-sizing: border-box; }
/* Block containers measure their own width, so the layout adapts to the column it sits in
   (Elementor column, sidebar, full-width section), not only to the screen size. */
div.rc-app { box-sizing: border-box; display: block; width: 100%; max-width: 100%; min-width: 0; container: rc / inline-size; overflow-wrap: anywhere; }
/* Added by rc.js when the theme gives the plugin no side spacing (content touching the screen edge) */
div.rc-app.rc-pad { padding-left: 16px; padding-right: 16px; }
.rc-app h3, .rc-app h4, .rc-app p, .rc-app b, .rc-app strong { overflow-wrap: anywhere; }
.rc-cols > *, .rc-row > *, .rc-grid > * { min-width: 0; }

/* Neutralise theme styles that commonly leak into buttons, inputs and lists */
.rc-app button, .rc-app input, .rc-app select, .rc-app textarea {
  font: inherit; letter-spacing: normal; text-transform: none; text-shadow: none; margin: 0;
}
.rc-app button { line-height: 1.2; box-shadow: none; border-radius: 0; min-height: 0; width: auto; }
.rc-app ul, .rc-app ol { margin: 0; padding: 0; list-style: none; }
.rc-app li { margin: 0; }
.rc-app a, .rc-app a:hover, .rc-app a:focus, .rc-app a:visited { text-decoration: none !important; box-shadow: none; }
.rc-app img { max-width: 100%; height: auto; }
.rc-app h3 { margin: 0 0 14px; font-size: 1.2em; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; color: var(--rc-ink); text-transform: none; }
.rc-app h4 { margin: 0; font-size: 1.02em; line-height: 1.3; font-weight: 650; color: var(--rc-ink); text-transform: none; }
.rc-app p { margin: 0 0 10px; }
.rc-muted { color: var(--rc-muted); }
.rc-small { font-size: 13px; }
.rc-good { color: var(--rc-good); }

/* ---------------------------------------------------------------- buttons & inputs */
.rc-app .rc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc-a) 88%, #fff), var(--rc-a));
  color: #fff !important; font-weight: 650; font-size: 15px; text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 16px -6px color-mix(in srgb, var(--rc-a) 70%, transparent);
  transition: transform .15s var(--rc-ease), box-shadow .2s var(--rc-ease), filter .15s;
}
.rc-app .rc-btn:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 22px -8px color-mix(in srgb, var(--rc-a) 75%, transparent); }
.rc-app .rc-btn:active { transform: translateY(0) scale(.98); }
.rc-app .rc-btn:focus-visible { outline: 3px solid var(--rc-a-200); outline-offset: 2px; }
.rc-app .rc-btn:disabled, .rc-app .rc-btn.rc-disabled { opacity: .45; pointer-events: none; box-shadow: none; }
.rc-app .rc-btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.rc-app .rc-btn-block { width: 100%; margin-top: 16px; }
.rc-app .rc-btn-ghost { background: var(--rc-bg); color: var(--rc-ink) !important; border: 1.5px solid var(--rc-line); box-shadow: none; }
.rc-app .rc-btn-ghost:hover { border-color: var(--rc-a); color: var(--rc-a) !important; box-shadow: none; filter: none; }
.rc-app .rc-btn svg { flex: none; }
.rc-app .rc-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--rc-a) !important; font-weight: 650; cursor: pointer; text-decoration: none; }
.rc-app .rc-link:hover { color: var(--rc-a-ink) !important; text-decoration: underline; text-underline-offset: 3px; }

.rc-app .rc-input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--rc-line); border-radius: 12px;
  background: var(--rc-bg); color: var(--rc-ink); font-size: 15px; box-shadow: none;
  transition: border-color .15s, box-shadow .15s;
}
.rc-app textarea.rc-input { min-height: 84px; resize: vertical; }
.rc-app .rc-input::placeholder { color: #b3a9a0; }
.rc-app .rc-input:hover { border-color: #ddd4cc; }
.rc-app .rc-input:focus { outline: none; border-color: var(--rc-a); box-shadow: 0 0 0 4px var(--rc-a-100); }
.rc-app .rc-select {
  appearance: none; -webkit-appearance: none; max-width: 100%; min-height: 34px; padding: 4px 30px 4px 12px;
  border: 1.5px solid var(--rc-line); border-radius: 10px; background: var(--rc-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23847a72' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  color: var(--rc-ink-2); font-size: 13px; font-weight: 550; cursor: pointer;
}
.rc-app .rc-select:focus { outline: none; border-color: var(--rc-a); box-shadow: 0 0 0 3px var(--rc-a-100); }
.rc-field { display: block; }
.rc-field > span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 650; color: var(--rc-ink-2); }
.rc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rc-stack > * + * { margin-top: 14px; }
.rc-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.rc-app input[type=checkbox], .rc-app input[type=radio] { accent-color: var(--rc-a); width: 18px; height: 18px; }

/* Switch (veg only) */
.rc-switch { display: inline-flex; align-items: center; gap: 10px; padding: 0 16px 0 10px; min-height: 48px; border: 1.5px solid var(--rc-line); border-radius: 14px; background: var(--rc-bg); font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; white-space: nowrap; }
.rc-switch input { position: absolute; opacity: 0; pointer-events: none; }
.rc-switch-ui { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #ddd5ce; transition: background .2s; flex: none; }
.rc-switch-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--rc-ease); }
.rc-switch input:checked + .rc-switch-ui { background: #1a9a4f; }
.rc-switch input:checked + .rc-switch-ui::after { transform: translateX(16px); }
.rc-switch input:focus-visible + .rc-switch-ui { outline: 3px solid var(--rc-a-200); outline-offset: 2px; }
.rc-switch:has(input:checked) { border-color: #9bd6b2; background: #f2fbf5; }

/* ---------------------------------------------------------------- cards & layout */
.rc-card { position: relative; background: var(--rc-bg); border: 1px solid var(--rc-line); border-radius: var(--rc-r); padding: 24px; box-shadow: var(--rc-shadow); }
.rc-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.rc-card-head h3 { margin: 0; }
.rc-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.rc-sticky { position: sticky; top: 24px; }
.rc-center { text-align: center; max-width: 540px; margin: 0 auto; }
.rc-empty { text-align: center; max-width: 420px; margin: 0 auto; padding: 56px 16px; color: var(--rc-muted); }
.rc-empty h3 { margin-bottom: 6px; }
.rc-empty p { margin-bottom: 20px; }
.rc-empty-icon { width: 88px; height: 88px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; font-size: 40px; background: radial-gradient(circle at 30% 25%, #fff, var(--rc-a-100)); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--rc-a) 50%, transparent); }

.rc-step-title { display: flex; align-items: center; gap: 12px; }
.rc-step { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 9px; background: var(--rc-a-100); color: var(--rc-a-ink); font-size: 14px; font-weight: 750; }

/* ---------------------------------------------------------------- alerts, pills, badges */
.rc-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; margin: 0 0 14px; font-size: 14px; border: 1px solid transparent; }
.rc-alert-error { background: var(--rc-bad-bg); color: var(--rc-bad); border-color: color-mix(in srgb, var(--rc-bad) 18%, #fff); }
.rc-alert-warn { background: var(--rc-warn-bg); color: var(--rc-warn); border-color: color-mix(in srgb, var(--rc-warn) 18%, #fff); }
.rc-alert-success { background: var(--rc-good-bg); color: var(--rc-good); border-color: color-mix(in srgb, var(--rc-good) 18%, #fff); }
.rc-alert-info { background: var(--rc-a-50); color: var(--rc-ink); border-color: var(--rc-a-200); }
.rc-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; background: #f3efeb; color: var(--rc-ink-2); }
.rc-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.rc-pill-accent { background: var(--rc-a-100); color: var(--rc-a-ink); }
.rc-pill-info { background: #eaf2ff; color: #1f55c7; }
.rc-pill-warn { background: var(--rc-warn-bg); color: var(--rc-warn); }
.rc-pill-good { background: var(--rc-good-bg); color: var(--rc-good); }
.rc-pill-bad { background: var(--rc-bad-bg); color: var(--rc-bad); }
.rc-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .01em; color: #8a4b00; background: linear-gradient(90deg, #fff1d6, #ffe4b8); }

/* Veg / non-veg mark */
.rc-veg { display: inline-flex; width: 16px; height: 16px; flex: none; align-items: center; justify-content: center; border: 1.5px solid; border-radius: 4px; background: #fff; }
.rc-veg i { display: block; }
.rc-veg-yes { border-color: #1a9a4f; }
.rc-veg-yes i { width: 8px; height: 8px; border-radius: 50%; background: #1a9a4f; }
.rc-veg-no { border-color: #c4320a; }
.rc-veg-no i { width: 0; height: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; border-bottom: 7.5px solid #c4320a; }

/* ---------------------------------------------------------------- menu */
.rc-menu-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.rc-searchbox { position: relative; flex: 1 1 280px; max-width: 460px; display: flex; align-items: center; }
.rc-searchbox svg { position: absolute; left: 16px; color: var(--rc-muted); pointer-events: none; }
.rc-app .rc-search { width: 100%; min-height: 48px; padding: 10px 16px 10px 46px; border: 1.5px solid var(--rc-line); border-radius: 14px; background: var(--rc-soft); color: var(--rc-ink); font-size: 15px; transition: border-color .15s, box-shadow .15s, background .15s; }
.rc-app .rc-search:focus { outline: none; background: var(--rc-bg); border-color: var(--rc-a); box-shadow: 0 0 0 4px var(--rc-a-100); }

.rc-chips { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; margin: 0 0 8px; padding: 12px 0; position: sticky; top: 0; z-index: 20; scrollbar-width: none;
  background: color-mix(in srgb, var(--rc-bg) 88%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); }
.rc-chips::-webkit-scrollbar { display: none; }
.rc-app .rc-chips a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--rc-line); border-radius: 999px; background: var(--rc-bg); color: var(--rc-ink-2); font-size: 14px; font-weight: 600; transition: all .15s; }
.rc-chips a small { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #f3efeb; color: var(--rc-muted); }
.rc-app .rc-chips a:hover { border-color: var(--rc-a-200); color: var(--rc-a-ink); }
.rc-app .rc-chips a.rc-chip-on { background: var(--rc-ink); border-color: var(--rc-ink); color: #fff; }
.rc-chips a.rc-chip-on small { background: rgba(255, 255, 255, .18); color: #fff; }

.rc-cat { margin: 18px 0 36px; scroll-margin-top: 80px; }
.rc-cat-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.rc-app .rc-cat-head h3 { margin: 0; font-size: 1.55em; letter-spacing: -.02em; }
.rc-cat-head span { font-size: 13px; color: var(--rc-muted); font-weight: 600; }
.rc-cat-desc { color: var(--rc-muted); font-size: 14px; }
.rc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 16px; margin-top: 14px; }

.rc-item { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--rc-line); border-radius: var(--rc-r); background: var(--rc-bg); box-shadow: var(--rc-shadow); transition: transform .2s var(--rc-ease), box-shadow .2s var(--rc-ease), border-color .2s; }
.rc-item:hover { transform: translateY(-2px); box-shadow: var(--rc-shadow-lg); border-color: #e2dbd4; }
.rc-item-in { border-color: var(--rc-a-200); background: linear-gradient(180deg, var(--rc-bg), var(--rc-a-50)); }
.rc-item-off { opacity: .6; filter: grayscale(.5); }
.rc-item-off:hover { transform: none; box-shadow: var(--rc-shadow); }
.rc-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.rc-item-tags { display: flex; align-items: center; gap: 8px; min-height: 20px; }
.rc-item-price { font-size: 15px; font-weight: 700; color: var(--rc-ink); }
.rc-item-desc { margin: 0 !important; font-size: 13px; line-height: 1.45; color: var(--rc-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-item-body .rc-select { margin-top: auto; }

.rc-item-media { width: 128px; flex: none; align-self: flex-start; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
/* Photo on top, button below it (no overlap). The food picture sits under the photo as a fallback. */
.rc-item-pic { position: relative; }
.rc-app .rc-item-pic .rc-item-img { position: absolute; top: 0; left: 0; background: transparent; }
.rc-app .rc-item-img, .rc-item-ph { display: block; width: 128px; height: 120px; border-radius: 16px; object-fit: cover; }
.rc-item-ph { display: grid; place-items: center; font-size: 46px; line-height: 1;
  background: radial-gradient(120% 90% at 30% 20%, #fff 0%, var(--rc-a-100) 55%, var(--rc-a-200) 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc-a) 10%, transparent); }
.rc-item:hover .rc-item-ph { transform: scale(1.02); }
.rc-item-ph { transition: transform .3s var(--rc-ease); }
.rc-item-cta { display: flex; justify-content: center; }
.rc-item-cta > * { width: 100%; }
.rc-app .rc-item-cta .rc-add, .rc-item-cta .rc-stepper { width: 100%; min-width: 0; box-shadow: none; }
.rc-item-cta .rc-soldout { text-align: center; box-shadow: none; }

.rc-app .rc-add { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 104px; height: 38px; padding: 0 16px; border: 1.5px solid var(--rc-a-200); border-radius: 12px; background: #fff; color: var(--rc-a) !important; font-size: 15px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; box-shadow: 0 6px 16px -6px rgba(26, 22, 19, .28); transition: all .15s var(--rc-ease); }
.rc-add i { font-style: normal; font-size: 18px; font-weight: 700; margin-top: -2px; }
.rc-app .rc-add:hover { background: var(--rc-a); color: #fff !important; border-color: var(--rc-a); }
.rc-app .rc-add:active { transform: scale(.96); }
.rc-soldout { display: inline-block; padding: 7px 14px; border-radius: 12px; background: #fff; border: 1.5px solid var(--rc-line); font-size: 12px; font-weight: 700; color: var(--rc-muted); white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(26, 22, 19, .2); }

.rc-stepper { display: inline-flex; align-items: center; height: 38px; min-width: 104px; border-radius: 12px; overflow: hidden; background: var(--rc-a); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--rc-a) 80%, transparent); }
.rc-app .rc-stepper button { width: 36px; height: 38px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #fff; font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; transition: background .15s; }
.rc-app .rc-stepper button:hover { background: rgba(255, 255, 255, .16); }
.rc-stepper span { flex: 1; min-width: 28px; text-align: center; font-weight: 800; font-size: 15px; }

.rc-app .rc-floatcart { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 9999; display: flex; align-items: center; gap: 14px; width: min(560px, calc(100% - 32px)); padding: 10px 10px 10px 14px; border-radius: 20px; background: rgba(26, 22, 19, .92); color: #fff !important; text-decoration: none !important; box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: rc-rise .35s var(--rc-ease) both; }
.rc-floatcart-icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .1); }
.rc-floatcart-icon b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--rc-a); font-size: 11px; line-height: 20px; text-align: center; }
.rc-floatcart-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; font-size: 16px; font-weight: 750; }
.rc-floatcart-text small { font-size: 12px; font-weight: 500; opacity: .7; }
.rc-floatcart-text em { font-style: normal; font-size: 11px; font-weight: 500; opacity: .6; }
.rc-floatcart-go { display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; border-radius: 14px; background: var(--rc-a); font-weight: 700; font-size: 15px; white-space: nowrap; transition: filter .15s; }
.rc-app .rc-floatcart:hover .rc-floatcart-go { filter: brightness(1.08); }
.rc-app .rc-floatcart.rc-still { animation: none; }
@keyframes rc-rise { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------------------------------------------------------------- cart, checkout, totals */
.rc-lines { margin: 0 0 14px; }
.rc-lines li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--rc-line); }
.rc-lines li:last-child { border-bottom: 0; }
.rc-lines li > div:not(.rc-line-thumb):not(.rc-stepper) { flex: 1; min-width: 0; }
.rc-lines li span { display: block; font-size: 13px; }
.rc-line-thumb { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; font-size: 24px; background: radial-gradient(120% 90% at 30% 20%, #fff, var(--rc-a-100)); }
.rc-lines .rc-stepper { height: 34px; min-width: 92px; border-radius: 10px; box-shadow: none; }
.rc-app .rc-lines .rc-stepper button { height: 34px; width: 32px; font-size: 18px; }
.rc-line-total { min-width: 72px; text-align: right; }

.rc-coupon { position: relative; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; padding: 6px 6px 6px 12px; border: 1.5px dashed var(--rc-a-200); border-radius: 14px; background: var(--rc-a-50); }
.rc-coupon-icon { font-size: 18px; }
.rc-app .rc-coupon .rc-input { flex: 1; min-width: 120px; min-height: 38px; padding: 6px 4px; border: 0; background: transparent; box-shadow: none; text-transform: uppercase; font-weight: 600; letter-spacing: .04em; }
.rc-app .rc-coupon .rc-input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 500; }
.rc-coupon .rc-form-msg { flex-basis: 100%; }
.rc-coupon .rc-form-msg .rc-alert { margin: 4px 0 2px; }
.rc-coupon-on { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--rc-good-bg); color: var(--rc-good); font-size: 14px; }

.rc-totals { margin: 0; padding: 4px 0 0; }
.rc-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; color: var(--rc-ink-2); }
.rc-totals div.rc-good { color: var(--rc-good); }
.rc-totals dt, .rc-totals dd { margin: 0; }
.rc-totals dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-app .rc-total { margin-top: 10px; padding: 14px 0 0 !important; border-top: 1.5px dashed var(--rc-line); font-size: 19px !important; font-weight: 800; color: var(--rc-ink) !important; }
.rc-total dd { font-weight: 800; }

.rc-choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 10px; border: 1.5px solid var(--rc-line); border-radius: 14px; cursor: pointer; font-size: 14px; color: var(--rc-ink-2); transition: border-color .15s, background .15s, box-shadow .15s; }
.rc-choice:hover { border-color: #ddd4cc; }
.rc-choice b { color: var(--rc-ink); font-size: 15px; }
.rc-choice:has(input:checked) { border-color: var(--rc-a); background: var(--rc-a-50); box-shadow: 0 0 0 3px var(--rc-a-100); }
.rc-app .rc-choice input { margin-top: 2px; flex: none; }
.rc-addr-form { margin-top: 16px; padding-top: 16px; border-top: 1.5px dashed var(--rc-line); }
.rc-pickup { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--rc-soft); }
.rc-pickup > span:first-child { font-size: 22px; }
.rc-where { display: inline-flex; align-items: center; gap: 6px; margin: -4px 0 14px !important; padding: 6px 12px; border-radius: 999px; background: var(--rc-soft); font-weight: 650; font-size: 14px; }

/* Order type: delivery / takeaway / dine-in */
.rc-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 4px; padding: 5px; margin-bottom: 16px; border-radius: 16px; background: #f3efeb; }
.rc-app .rc-type { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: var(--rc-muted); font-size: 14px; font-weight: 650; cursor: pointer; transition: background .2s var(--rc-ease), color .2s, box-shadow .2s; }
.rc-type span { font-size: 18px; }
.rc-app .rc-type:hover { color: var(--rc-ink); }
.rc-app .rc-type-on { background: var(--rc-bg); color: var(--rc-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px -4px rgba(0, 0, 0, .14); }

/* Dine-in: table picker */
.rc-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(96px, 100%), 1fr)); gap: 10px; margin-bottom: 12px; }
.rc-app .rc-table { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 14px 6px; border: 1.5px solid var(--rc-line); border-radius: 16px; background: var(--rc-bg); color: var(--rc-ink); cursor: pointer; transition: all .15s var(--rc-ease); }
.rc-app .rc-table:hover { border-color: var(--rc-a-200); transform: translateY(-2px); box-shadow: var(--rc-shadow); }
.rc-app .rc-table:active { transform: scale(.97); }
.rc-table b { font-size: 20px; line-height: 1.2; }
.rc-table small { font-size: 11px; color: var(--rc-muted); }
.rc-table em { font-size: 10px; font-style: normal; font-weight: 700; color: var(--rc-warn); text-transform: uppercase; letter-spacing: .04em; }
.rc-app .rc-table-busy { background: repeating-linear-gradient(135deg, var(--rc-soft), var(--rc-soft) 6px, #fff 6px, #fff 12px); }
.rc-app .rc-table-on { border-color: var(--rc-a); background: var(--rc-a); color: #fff; box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--rc-a) 80%, transparent); }
.rc-table-on small, .rc-table-on em { color: rgba(255, 255, 255, .85); }

/* Loyalty points */
.rc-points-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 12px; border-radius: 14px; border: 1.5px solid var(--rc-a-200); background: linear-gradient(135deg, var(--rc-a-50), #fff7e8); cursor: pointer; }
.rc-points-toggle input { flex: none; }
.rc-points-toggle span { display: flex; flex-direction: column; line-height: 1.35; font-size: 14px; }
.rc-points-toggle small { font-size: 13px; color: var(--rc-ink-2); }
.rc-points-toggle strong { color: var(--rc-good); }
.rc-points-toggle:has(input:checked) { border-color: var(--rc-a); box-shadow: 0 0 0 3px var(--rc-a-100); }
.rc-paypoints { margin-top: 16px; padding: 18px; border: 1.5px dashed var(--rc-a); border-radius: 16px; background: linear-gradient(135deg, var(--rc-a-50), #fff7e8); }
.rc-paypoints p { margin-bottom: 12px; }

/* ---------------------------------------------------------------- auth */
.rc-app .rc-auth { max-width: 440px; margin: 0 auto; padding: 32px; }
.rc-auth-head { text-align: center; margin-bottom: 8px; }
.rc-auth-head h3 { margin: 0 0 6px; font-size: 1.5em; letter-spacing: -.02em; }
.rc-auth-head p { margin: 0; font-size: 14px; }
.rc-auth-icon { width: 64px; height: 64px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 20px; font-size: 30px; background: linear-gradient(135deg, var(--rc-a-100), #fff4e0); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--rc-a) 60%, transparent); }
.rc-auth-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 4px 0 0 !important; color: var(--rc-muted); }
.rc-auth-foot:only-child, .rc-auth-foot:not(:has(span)) { justify-content: center; }

.rc-otp-hint { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px; border-radius: 14px; border: 1.5px dashed var(--rc-a-200); background: var(--rc-a-50); text-align: center; }
.rc-otp-hint span { font-size: 12px; font-weight: 650; color: var(--rc-muted); text-transform: uppercase; letter-spacing: .06em; }
.rc-otp-hint b { font-size: 30px; font-weight: 800; letter-spacing: .3em; padding-left: .3em; color: var(--rc-ink); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- account */
.rc-profile-head { display: flex; align-items: center; gap: 14px; }
.rc-profile-head h3 { margin: 0; }
.rc-avatar { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--rc-a), color-mix(in srgb, var(--rc-a) 60%, #ffb648)); color: #fff; font-size: 22px; font-weight: 800; }
.rc-app .rc-points { overflow: hidden; border: 0; color: #fff; background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--rc-a) 55%, #ffc46b) 0%, var(--rc-a) 45%, var(--rc-a-ink) 100%); box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--rc-a) 80%, transparent); }
.rc-points::after { content: '🎁'; position: absolute; right: -6px; bottom: -14px; font-size: 92px; opacity: .14; transform: rotate(-12deg); }
.rc-points-tier { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12px; font-weight: 700; }
.rc-big { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 12px 0 6px !important; }
.rc-big span { font-size: 15px; font-weight: 600; opacity: .8; letter-spacing: 0; }
.rc-points-note { margin: 0 !important; font-size: 13px; opacity: .85; max-width: 280px; }
.rc-app .rc-navcard { display: flex; align-items: center; gap: 14px; color: var(--rc-ink); transition: transform .2s var(--rc-ease), box-shadow .2s; }
.rc-app .rc-navcard:hover { transform: translateY(-2px); box-shadow: var(--rc-shadow-lg); }
.rc-navcard > span:first-child { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--rc-soft); font-size: 22px; }
.rc-navcard > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.rc-navcard svg { color: var(--rc-muted); }

/* ---------------------------------------------------------------- orders */
ul.rc-orders li + li { margin-top: 12px; }
.rc-app ul.rc-orders a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--rc-line); border-radius: var(--rc-r); background: var(--rc-bg); color: var(--rc-ink); box-shadow: var(--rc-shadow); transition: transform .2s var(--rc-ease), box-shadow .2s, border-color .2s; }
.rc-app ul.rc-orders a:hover { transform: translateY(-2px); box-shadow: var(--rc-shadow-lg); border-color: var(--rc-a-200); }
ul.rc-orders a > div { flex: 1; min-width: 0; }
ul.rc-orders span.rc-muted { display: block; font-size: 13px; }
.rc-order-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--rc-soft); font-size: 22px; }
.rc-order-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.rc-order-head h3 { margin-bottom: 4px; }
.rc-back { margin-bottom: 4px; }

.rc-track { display: flex; margin: 26px 0 20px !important; padding: 18px 8px !important; border-radius: 16px; background: var(--rc-soft); }
.rc-track li { flex: 1; position: relative; text-align: center; font-size: 12px; color: var(--rc-muted); }
.rc-track li span { display: grid; place-items: center; width: 22px; height: 22px; margin: 0 auto 8px; border-radius: 50%; background: #fff; border: 2px solid #dcd3cb; position: relative; z-index: 1; transition: all .3s; }
.rc-track li::before { content: ''; position: absolute; top: 10px; left: -50%; width: 100%; height: 3px; border-radius: 3px; background: #e5ddd5; }
.rc-track li:first-child::before { display: none; }
.rc-track li.rc-done { color: var(--rc-ink); }
.rc-track li.rc-done span { background: var(--rc-a); border-color: var(--rc-a); }
.rc-track li.rc-done span::after { content: ''; width: 8px; height: 5px; margin-top: -2px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.rc-track li.rc-done::before { background: var(--rc-a); }
.rc-track li.rc-now span { animation: rc-pulse 1.8s ease-out infinite; }
.rc-track b { display: block; font-weight: 650; line-height: 1.3; }
.rc-track small { display: block; margin-top: 2px; }
@keyframes rc-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--rc-a) 45%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.rc-rider { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 12px 16px; border-radius: 14px; background: var(--rc-a-50); border: 1px solid var(--rc-a-100); font-size: 14px; }

/* Confirmation */
.rc-tick { position: relative; width: 84px; height: 84px; margin: 6px auto 20px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #22b866, var(--rc-good)); color: #fff; font-size: 40px; font-weight: 800; box-shadow: 0 16px 36px -12px rgba(18, 138, 69, .6); animation: rc-pop .5s var(--rc-ease) both; }
.rc-tick::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(18, 138, 69, .25); animation: rc-ring 1.6s ease-out .3s both; }
.rc-center .rc-btn { margin: 8px 4px 0; }
.rc-center h3 { font-size: 1.6em; letter-spacing: -.02em; }
@keyframes rc-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rc-ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* ---------------------------------------------------------------- header elements */
.rc-app .rc-headlink { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--rc-a-100); color: var(--rc-a-ink) !important; font-weight: 650; font-size: 14px; transition: background .15s; }
.rc-app .rc-headlink:hover { background: var(--rc-a-200); }
.rc-app .rc-cartbtn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: inherit; transition: background .15s; }
.rc-app .rc-cartbtn:hover { background: rgba(0, 0, 0, .06); }
.rc-cartbtn b { position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--rc-a, #e2620e); color: #fff; font-size: 11px; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px #fff; animation: rc-pop .3s var(--rc-ease); }

/* ---------------------------------------------------------------- loading */
.rc-loading { display: grid; place-items: center; padding: 56px 0; }
.rc-spinner { width: 32px; height: 32px; border: 3px solid var(--rc-line); border-top-color: var(--rc-a, #e2620e); border-radius: 50%; animation: rc-spin .8s linear infinite; display: inline-block; }
.rc-spinner-sm { width: 16px; height: 16px; border-width: 2px; border-color: rgba(255, 255, 255, .4); border-top-color: currentColor; }
@keyframes rc-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- responsive (by the width the plugin gets) */
@container rc (max-width: 860px) {
  .rc-cols { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rc-sticky { position: static; }
}
@container rc (max-width: 560px) {
  .rc-row { grid-template-columns: minmax(0, 1fr); }
  .rc-card { padding: 18px 16px; border-radius: 18px; }
  .rc-app .rc-auth { padding: 24px 18px; }
  .rc-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rc-item { padding: 14px; gap: 12px; }
  .rc-item-media { width: 104px; }
  .rc-app .rc-item-img, .rc-item-ph { width: 104px; height: 100px; font-size: 38px; border-radius: 14px; }
  .rc-app .rc-add, .rc-stepper { min-width: 88px; height: 36px; }
  .rc-app .rc-stepper button { width: 30px; height: 36px; }
  .rc-menu-bar { gap: 10px; }
  .rc-searchbox { max-width: none; flex-basis: 100%; }
  .rc-app .rc-type { flex-direction: column; gap: 2px; min-height: 56px; padding: 6px 2px; font-size: 12.5px; }
  .rc-type span { font-size: 20px; }
  .rc-step-title { font-size: 1.05em; gap: 10px; }
  .rc-track { padding: 14px 0 !important; }
  .rc-track b { font-size: 10.5px; }
  .rc-track small { display: none; }
  .rc-cat-head h3 { font-size: 1.3em; }
  .rc-app h3 { font-size: 1.1em; }
  .rc-big { font-size: 38px; }
  /* Cart and order lines: picture + name on the first row, quantity and price on the second */
  .rc-lines li { flex-wrap: wrap; gap: 8px 12px; }
  .rc-lines li > div:not(.rc-line-thumb):not(.rc-stepper) { flex: 1 1 calc(100% - 60px); }
  .rc-lines li > .rc-stepper { margin-left: 60px; }
  .rc-lines .rc-line-total, .rc-lines li > strong:last-child { margin-left: auto; }
  /* Order list: icon + number on the first row, status and total on the second */
  .rc-app ul.rc-orders a { flex-wrap: wrap; gap: 8px 12px; padding: 14px; }
  ul.rc-orders a > div { flex: 1 1 calc(100% - 60px); }
  ul.rc-orders a > .rc-pill { margin-left: 58px; }
  ul.rc-orders a > strong { margin-left: auto; }
  .rc-order-head { flex-wrap: wrap; }
  .rc-coupon { padding-left: 10px; }
  .rc-app .rc-coupon .rc-input { min-width: 0; }
  .rc-tables { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
  .rc-auth-foot { justify-content: center; text-align: center; }
  .rc-center .rc-btn { width: 100%; margin: 8px 0 0; }
}
@container rc (max-width: 270px) {
  .rc-item { flex-direction: column-reverse; }
  .rc-item-media { width: 100%; }
  .rc-app .rc-item-img, .rc-item-ph { width: 100%; height: 140px; }
  .rc-app .rc-type { font-size: 11.5px; }
}
/* The floating cart bar is fixed to the screen, so it follows the screen size */
@media (max-width: 560px) {
  .rc-app .rc-floatcart { bottom: 10px; gap: 10px; width: calc(100% - 20px); padding: 8px 8px 8px 10px; border-radius: 18px; }
  .rc-floatcart-icon { width: 40px; height: 40px; }
  .rc-floatcart-text { font-size: 15px; min-width: 0; }
  .rc-floatcart-text em { display: none; }
  .rc-floatcart-go { padding: 11px 14px; font-size: 14px; }
}
@media (max-width: 340px) {
  .rc-floatcart-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-app *, .rc-app *::before, .rc-app *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
