/* SHABAB ORDER 1.1.0 - THEMES. ONE place for every colour, font and corner.
   The page picks the theme of the shop:  <html data-theme="rimal">  (from the POS shop card "theme" when the POS sends one,
   else shops.json "theme" of that shop - set with:  node order.js theme RIMAL rimal ).
   No theme = "classic" (the 1.0.x mint / teal / copper look).  To add a shop theme: copy a [data-theme] block, change the colours, save.
   (This file is read again on every page open - no rebuild needed.) */
:root {
  --brand: #0e6a6c;            /* main colour: buttons, selected category, steps */
  --brand-2: #1f9294;          /* lighter brand (shine) */
  --brand-ink: #08494b;        /* dark brand: titles */
  --on-brand: #ffffff;
  --accent: #d27a3c;           /* second colour: badges, highlights */
  --accent-2: #f0a161;
  --on-accent: #ffffff;
  --gold: #e3b04b;
  --bg: #eef6f4;               /* page background */
  --bg-2: #f8fbfa;
  --hero-1: #0b5b5d;           /* top band (gradient) */
  --hero-2: #1f9294;
  --hero-ink: #ffffff;
  --card: #ffffff;
  --card-2: #f0f6f5;           /* soft fields / chips */
  --ink: #142b2c;              /* main text */
  --ink-2: #5d7374;            /* small text */
  --line: rgba(14, 106, 108, .14);
  --ok: #1b9a55; --warn: #e08a1e; --bad: #d23b32;
  --price: #a9541f;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ar: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif;
  --r: 20px; --r-photo: 16px; --r-btn: 16px; --r-pill: 999px;
  --shadow: 0 10px 24px rgba(10, 60, 60, .10), 0 2px 6px rgba(10, 60, 60, .06);
  --shadow-up: 0 -8px 30px rgba(10, 60, 60, .18);
  --glass: rgba(255, 255, 255, .80);
}

/* RIMAL AL KAMIL RESTAURANT - maroon + warm sand + gold (same family as POS Easy mode "Oman Sunset" / Rimal) */
[data-theme="rimal"] {
  --brand: #7a0c1a; --brand-2: #a3172b; --brand-ink: #5a0712; --on-brand: #fff8ee;
  --accent: #c9952f; --accent-2: #e8c172; --on-accent: #3b2304; --gold: #d4a63f;
  --bg: #f6ecdc; --bg-2: #fbf5ec;
  --hero-1: #5e0914; --hero-2: #a3172b; --hero-ink: #fff6e8;
  --card: #fffdf9; --card-2: #f4e9d8;
  --ink: #2e1a14; --ink-2: #7d675a;
  --line: rgba(122, 12, 26, .13);
  --price: #7a0c1a;
  --shadow: 0 10px 26px rgba(90, 40, 20, .12), 0 2px 6px rgba(90, 40, 20, .07);
  --shadow-up: 0 -8px 30px rgba(90, 30, 20, .20);
  --glass: rgba(255, 251, 244, .84);
}

/* spare theme: night + gold (cafes) */
[data-theme="night"] {
  --brand: #d4a63f; --brand-2: #e8c172; --brand-ink: #f3d68f; --on-brand: #1b1408;
  --accent: #e8c172; --accent-2: #f6dc9c; --on-accent: #1b1408; --gold: #d4a63f;
  --bg: #12151c; --bg-2: #181c25; --hero-1: #1b2130; --hero-2: #2a3245; --hero-ink: #f6e7c4;
  --card: #1e2330; --card-2: #272d3c; --ink: #f1ede4; --ink-2: #a8a396; --line: rgba(255, 255, 255, .10);
  --price: #e8c172; --glass: rgba(30, 35, 48, .86);
  --shadow: 0 10px 24px rgba(0, 0, 0, .35); --shadow-up: 0 -8px 30px rgba(0, 0, 0, .5);
}

/* EMPIRE RESTAURANT & CAFE - dark green + gold + cream (kit 571C, 27-Nov-2026 - the same colours as the EMPIRE POS look of kit 571B) */
[data-theme="empire"] {
  --brand: #0e4d2e; --brand-2: #1b7a49; --brand-ink: #0b3d24; --on-brand: #fff8e6;
  --accent: #c9a23a; --accent-2: #e6c66b; --on-accent: #2a1e04; --gold: #c9a23a;
  --bg: #f3f0e4; --bg-2: #faf8f0;
  --hero-1: #0b3d24; --hero-2: #1b7a49; --hero-ink: #fff8e6;
  --card: #fffdf7; --card-2: #f1ead4;
  --ink: #142a1e; --ink-2: #5f7468;
  --line: rgba(14, 77, 46, .14);
  --price: #8a6a1c;
  --shadow: 0 10px 26px rgba(14, 60, 35, .12), 0 2px 6px rgba(14, 60, 35, .07);
  --shadow-up: 0 -8px 30px rgba(14, 60, 35, .20);
  --glass: rgba(255, 253, 246, .84);
}
/* EMPIRE: dish + category pictures in gold (like the gold item tiles of the EMPIRE POS); order-status pictures keep their colours */
[data-theme="empire"] .i3d.ic, [data-theme="empire"] .sec h2 .i3d, [data-theme="empire"] .ph .i3d, [data-theme="empire"] .noimg .i3d,
[data-theme="empire"] .lp .i3d, [data-theme="empire"] .hero2 .i3d { --c1: #f3dc8e !important; --c2: #b8902b !important; }

/* ALKADHEM (DEMO) - Al Khoud Souk - red + yellow + dark (the COFFEE DAY cup colours; kit 707 C, 05-Dec-2026, same colours as the ALKADHEM POS look of kit 707 B) */
[data-theme="alkadhem"] {
  --brand: #c8161d; --brand-2: #e3262e; --brand-ink: #8f0e13; --on-brand: #ffffff;
  --accent: #ffc20e; --accent-2: #ffd75a; --on-accent: #1b1414; --gold: #ffc20e;
  --bg: #fbf3ee; --bg-2: #fffaf6;
  --hero-1: #1b1414; --hero-2: #c8161d; --hero-ink: #ffffff;
  --card: #ffffff; --card-2: #fdeee6;
  --ink: #1b1414; --ink-2: #6e5f5c;
  --line: rgba(200, 22, 29, .14);
  --price: #c8161d;
  --shadow: 0 10px 26px rgba(80, 10, 10, .12), 0 2px 6px rgba(80, 10, 10, .07);
  --shadow-up: 0 -8px 30px rgba(80, 10, 10, .20);
  --glass: rgba(255, 252, 248, .86);
}
/* ALKADHEM: dish + category pictures in yellow on red (like the ALKADHEM cups); order-status pictures keep their colours */
[data-theme="alkadhem"] .i3d.ic, [data-theme="alkadhem"] .sec h2 .i3d, [data-theme="alkadhem"] .ph .i3d, [data-theme="alkadhem"] .noimg .i3d,
[data-theme="alkadhem"] .lp .i3d, [data-theme="alkadhem"] .hero2 .i3d { --c1: #ffd75a !important; --c2: #c8161d !important; }
