/* Direction: Purohit Bites — clean light food-delivery UI, warm orange-red appetite accent, rounded cards */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #fffcf9;
  --surface: #ffffff;
  --surface-2: #fff3ea;
  --border: #f0e1d6;
  --border-strong: #bcb3af;
  --ink: #241a16;
  --muted: #6b5a52;
  --accent: #d63a12;
  --accent-hover: #b6310f;
  --accent-ink: #ffffff;
  --accent-text: #b8300d;
  --accent-strong: #c53511;
  --accent-soft: #ffe8dc;
  --accent-border: #eda591;
  --success: #1b8a4b;
  --success-ink: #ffffff;
  --success-soft: #e4eee4;
  --success-strong: #17753f;
  --warning: #b7791f;
  --warning-ink: #241a16;
  --warning-soft: #f6ecdf;
  --warning-strong: #8f5e19;
  --danger: #c62828;
  --danger-ink: #ffffff;
  --danger-soft: #f8e3e0;
  --danger-strong: #c62828;
  --chart-1: #d63a12;
  --chart-2: #aa8d0d;
  --chart-3: #107742;
  --chart-4: #17a0b8;
  --chart-5: #444bce;
  --chart-6: #d759c3;

  --font-display: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans Devanagari", system-ui, sans-serif;
  --radius-card: 18px;
  --radius-btn: 12px;
  --radius-input: 12px;
  --x-veg: #1b8a4b;
  --x-nonveg: #b3261e;
  --x-on-photo: #ffffff;
  --gradient-banner: linear-gradient(135deg, #d63a12 0%, #f08a24 100%);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", "Noto Sans Devanagari", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.02em;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #100403;
  --surface: #281d1c;
  --surface-2: #1c1110;
  --border: #312726;
  --border-strong: #584f4f;
  --ink: #fffcf9;
  --muted: #9f9997;
  --accent: #d63a12;
  --accent-hover: #dc5836;
  --accent-ink: #ffffff;
  --accent-text: #df6546;
  --accent-strong: #df6546;
  --accent-soft: #3c1006;
  --accent-border: #691c0a;
  --success: #1b8a4b;
  --success-ink: #ffffff;
  --success-soft: #122113;
  --success-strong: #3e9c66;
  --warning: #b7791f;
  --warning-ink: #ffffff;
  --warning-soft: #351e09;
  --warning-strong: #bd8431;
  --danger: #c62828;
  --danger-ink: #ffffff;
  --danger-soft: #380c0b;
  --danger-strong: #d76565;
  --chart-1: #d63a12;
  --chart-2: #b0931b;
  --chart-3: #1c9857;
  --chart-4: #17a0b8;
  --chart-5: #606ef4;
  --chart-6: #d759c3;
}

/* Purohit Bites — app-specific styles (tokens only). */
.logo-mark { display: inline-grid; place-items: center; height: 2.25rem; width: 2.25rem; border-radius: 0.75rem; background: var(--accent); color: var(--accent-ink); flex-shrink: 0; }
.logo-mark .icon { height: 1.25rem; width: 1.25rem; }

/* veg / non-veg indicator */
.vd { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 4px; background: var(--surface); flex-shrink: 0; }
.vd::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.vd.veg { color: var(--x-veg); }
.vd.nv { color: var(--x-nonveg); }

.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
[data-slider] { scrollbar-width: none; scroll-behavior: smooth; }
[data-slider]::-webkit-scrollbar { display: none; }

.banner-card { background: var(--gradient-banner); display: block; }
.banner-scrim { background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.12) 65%); }

.coupon-tile { position: relative; border: 1.5px dashed var(--accent-border, var(--border)); background: var(--surface); border-radius: var(--radius-card); padding: 1rem; }
.coupon-tile::before, .coupon-tile::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--canvas); border: 1.5px dashed var(--border); transform: translateY(-50%); }
.coupon-tile::before { left: -8px; }
.coupon-tile::after { right: -8px; }

/* order tracking timeline */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { position: relative; display: flex; gap: 0.75rem; padding-bottom: 1.25rem; color: var(--muted); }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--border); }
.tl li:last-child::before { display: none; }
.tl li.on { color: var(--ink); }
.tl li.on::before { background: var(--accent); }
.tl-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); background: var(--surface); flex-shrink: 0; }
.tl li.on .tl-dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tl-dot .icon { width: 14px; height: 14px; }
.tl li.now .tl-dot { box-shadow: 0 0 0 4px var(--accent-soft); animation: pb-pulse 1.8s ease-in-out infinite; }
@keyframes pb-pulse { 50% { box-shadow: 0 0 0 7px var(--accent-soft); } }
html.reduced-motion .tl li.now .tl-dot { animation: none; }

/* admin charts */
.bar { background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; }
.bar.h-2 { border-radius: 999px; }

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
