/* ==================================================================
   Kabab Jees - customer styles
   1. tokens        5. menu
   2. base          6. cart / order
   3. animations    7. landing page
   4. shell         8. responsive + reduced motion
   ================================================================== */

/* ---------- 1. tokens --------------------------------------------- */
:root {
  --brand: #e2571e;
  --brand-2: #f59e0b;
  --brand-soft: #fff1e9;
  --bg: #faf7f4;
  --card: #ffffff;
  --ink: #1c1917;
  --muted: #79706b;
  --line: #ece6e1;
  --ok: #16a34a;
  --warn: #d97706;
  --info: #2563eb;
  --danger: #dc2626;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 10px 30px rgba(28, 25, 23, .06);
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .06);
  --ease: cubic-bezier(.22, .8, .3, 1);
  --topbar-h: 60px;
}

[data-theme="dark"] {
  --bg: #100c0b;
  --card: #191412;
  --ink: #f8f4f1;
  --muted: #a8a09b;
  --line: #2b2321;
  --brand-soft: #2a1710;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 50px rgba(0, 0, 0, .45);
}

/* ---------- 2. base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0 0 .4em; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .8em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 620px; }
.muted { color: var(--muted); }
.strong { font-weight: 700; }
.fineprint { font-size: .8rem; color: var(--muted); margin: 10px 2px 14px; }
.page-title { margin-top: 18px; }
.page-bottom-space { height: 96px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .7rem; font-weight: 700; color: var(--brand); margin: 0 0 6px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  margin: 14px 0;
}
.card-title { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.notice {
  background: var(--brand-soft);
  border: 1px solid rgba(226, 87, 30, .3);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 16px 0;
  font-size: .92rem;
}

.empty-state {
  text-align: center; color: var(--muted);
  padding: 46px 16px; margin: 18px 0;
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty-state svg { margin: 0 auto 10px; opacity: .5; }

/* buttons */
.btn {
  --btn-bg: var(--card);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); background: var(--btn-bg);
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), opacity .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  background-size: 160% 160%;
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 18px rgba(226, 87, 30, .28);
  animation: sheen 8s ease infinite;
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(226, 87, 30, .34); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--brand-soft); border-color: rgba(226, 87, 30, .3); }
.btn-lg { padding: 14px 22px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; margin: 10px 0; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn.is-busy .btn-label { opacity: .55; }
.btn.is-busy .spinner { display: block; }

.spinner {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: spin .7s linear infinite;
}

.icon-btn {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card);
  transition: background .2s var(--ease), transform .2s var(--ease);
  flex: 0 0 auto;
}
.icon-btn:hover { background: var(--brand-soft); }
.icon-btn:active { transform: scale(.94); }

/* status pills */
.status {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  background: #eef2f7; color: #334155;
}
.status-new { background: #e0edff; color: #1d4ed8; }
.status-preparing { background: #fff2d9; color: #b45309; }
.status-ready { background: #dcfce7; color: #15803d; }
.status-completed { background: #e7e5e4; color: #57534e; }
.status-cancelled { background: #fee2e2; color: #b91c1c; }

/* ---------- 3. animations ----------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes barUp { from { opacity: 0; transform: translateY(120%); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0% { background-position: -300px 0; } 100% { background-position: 300px 0; } }
@keyframes floatA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(6vw, -4vh, 0) scale(1.12); }
  66% { transform: translate3d(-4vw, 5vh, 0) scale(.94); }
}
@keyframes floatB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-7vw, 6vh, 0) scale(1.16); }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scan { 0% { top: 8%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 88%; opacity: 0; } }
@keyframes drawRing { to { stroke-dashoffset: 0; } }
@keyframes drawTick { to { stroke-dashoffset: 0; } }

/* moving background */
.bg-anim {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 90% at 50% -10%, rgba(245, 158, 11, .10), transparent 60%);
}
.bg-anim .blob {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(70px); opacity: .5; will-change: transform;
}
.blob-1 { width: 46vw; height: 46vw; min-width: 280px; min-height: 280px; left: -12vw; top: -8vh;
  background: radial-gradient(circle at 30% 30%, #f59e0b, transparent 70%); animation: floatA 26s ease-in-out infinite; }
.blob-2 { width: 40vw; height: 40vw; min-width: 240px; min-height: 240px; right: -10vw; top: 18vh;
  background: radial-gradient(circle at 60% 40%, #e2571e, transparent 70%); animation: floatB 32s ease-in-out infinite; }
.blob-3 { width: 36vw; height: 36vw; min-width: 220px; min-height: 220px; left: 24vw; bottom: -14vh;
  background: radial-gradient(circle at 50% 50%, #d97706, transparent 70%); animation: floatA 38s ease-in-out infinite reverse; }
.bg-grid {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%);
}
[data-theme="dark"] .bg-anim .blob { opacity: .38; }

/* scroll reveal (only when JS is on, so no-JS still sees everything) */
html.js .reveal { opacity: 0; transform: translateY(16px); }
html.js .reveal.is-in { animation: fadeUp .62s var(--ease) forwards; }

/* ---------- 4. shell ---------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
[data-theme="dark"] .topbar { background: rgba(25, 20, 18, .8); }
.topbar-inner {
  max-width: 900px; margin: 0 auto; padding: 10px 16px;
  min-height: var(--topbar-h);
  display: flex; align-items: center; gap: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 16px rgba(226, 87, 30, .3);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.15; }
.brand-text small {
  font-size: .68rem; color: var(--muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.top-actions {
  margin-left: auto; flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
}
.home-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); font-size: .82rem; font-weight: 600;
  transition: all .2s var(--ease); white-space: nowrap;
}
.home-link:hover { background: var(--brand-soft); color: var(--brand); border-color: rgba(226, 87, 30, .3); }
.home-link:active { transform: scale(.95); }
@media (max-width: 430px) {
  .home-link span { display: none; }
  .home-link { padding: 8px; }
  .brand-text small { display: none; }
}
.table-badge {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid rgba(226, 87, 30, .22);
  font-size: .82rem; font-weight: 600; white-space: nowrap;
}
.table-badge b { font-size: .95rem; }

.hero-strip { padding: 20px 0 4px; }
.hero-strip h1 { font-size: 1.45rem; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 16px);
  z-index: 60; max-width: calc(100% - 32px);
  padding: 11px 18px; border-radius: 999px;
  background: #1c1917; color: #fff; font-size: .88rem; font-weight: 500;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  opacity: 0; pointer-events: none;
}
.toast.is-on { animation: toastIn .3s var(--ease) forwards; }
.toast.is-error { background: var(--danger); }

/* ---------- 5. menu ----------------------------------------------- */
.menu-search {
  position: relative; margin: 12px 0 0;
}
.search-input {
  width: 100%; padding: 12px 16px 12px 42px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink); font-size: .92rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(226, 87, 30, .14);
}
.search-input::placeholder { color: var(--muted); }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}

.chips {
  position: sticky; top: var(--topbar-h); z-index: 20;
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 0;
  margin: 0 -16px; padding-left: 16px; padding-right: 16px;
  background: linear-gradient(var(--bg) 70%, transparent);
  scrollbar-width: none; -ms-overflow-style: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: .86rem; font-weight: 600; color: var(--muted);
  transition: all .22s var(--ease);
}
.chip:hover { color: var(--ink); }
.chip.is-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; border-color: transparent;
  box-shadow: 0 6px 16px rgba(226, 87, 30, .26);
}

.cat-block { scroll-margin-top: calc(var(--topbar-h) + 58px); padding-top: 10px; }
.cat-title { margin: 12px 0 10px; font-size: 1.1rem; }
.items { display: grid; gap: 12px; }

.item {
  display: flex; gap: 12px; padding: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(226, 87, 30, .22); }
.item.is-added { animation: pop .45s var(--ease); }
.item-img {
  flex: 0 0 96px; width: 96px; height: 96px; overflow: hidden;
  border-radius: 12px; background: var(--brand-soft);
}
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.item:hover .item-img img { transform: scale(1.06); }
.item-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.item-name { margin: 0 0 2px; font-size: 1rem; }
.item-desc {
  margin: 0 0 8px; font-size: .82rem; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-weight: 700; color: var(--brand); margin-right: auto; white-space: nowrap; }

.qty {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  padding: 2px;
}
.qty-btn {
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: transparent; font-size: 1.05rem; font-weight: 700; line-height: 1;
  cursor: pointer; transition: background .18s var(--ease), transform .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.qty-btn:hover { background: var(--brand-soft); color: var(--brand); }
.qty-btn:active { transform: scale(.88); }
.qty-val { min-width: 22px; text-align: center; font-weight: 700; font-size: .92rem; }
.btn-add {
  border: 0; border-radius: 999px; padding: 9px 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700; font-size: .86rem; cursor: pointer;
  box-shadow: 0 5px 14px rgba(226, 87, 30, .28);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-add:hover { box-shadow: 0 8px 20px rgba(226, 87, 30, .36); }
.btn-add:active { transform: scale(.94); }

/* floating cart bar */
.cartbar {
  position: fixed; z-index: 40;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: 876px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 999px;
  background: linear-gradient(135deg, #241b17, #3a2016);
  color: #fff; box-shadow: 0 14px 34px rgba(28, 25, 23, .32);
  animation: barUp .4s var(--ease);
}
.cartbar-left, .cartbar-right { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.cartbar-count {
  display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 999px; background: var(--brand); font-size: .82rem; font-weight: 700;
}
.cartbar-count.is-bump { animation: pop .4s var(--ease); }

/* ---------- 6. cart + order --------------------------------------- */
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  margin: 14px 0 4px; padding: 0 2px;
}
.cart-title { font-size: 1.1rem; margin: 0; }
.cart-table-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid rgba(226, 87, 30, .22);
}

.cart-skeleton { display: grid; gap: 12px; margin: 18px 0; }
.sk-row {
  height: 84px; border-radius: var(--radius);
  background: linear-gradient(90deg, var(--card) 25%, var(--line) 50%, var(--card) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.3s linear infinite;
}

.cart-lines { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.cart-line {
  display: flex; gap: 12px; align-items: center; padding: 10px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  animation: fadeUp .4s var(--ease) both;
}
.cart-line.is-out { border-color: rgba(220, 38, 38, .4); }
.cl-img { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 10px; overflow: hidden; background: var(--brand-soft); }
.cl-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-body { flex: 1 1 auto; min-width: 0; }
.cl-name { font-weight: 600; font-size: .95rem; margin: 0 0 2px; }
.cl-unit { font-size: .8rem; color: var(--muted); }
.cl-out { font-size: .78rem; color: var(--danger); font-weight: 600; }
.cl-side { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.cl-total { font-weight: 700; white-space: nowrap; }
.cl-remove {
  border: 0; background: none; color: var(--muted); font-size: .78rem;
  cursor: pointer; padding: 2px 4px; text-decoration: underline;
}
.cl-remove:hover { color: var(--danger); }

.summary { padding: 14px 16px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: .93rem; color: var(--muted); }
.summary-row b { color: var(--ink); font-size: 1rem; }
.summary-total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; font-size: 1rem; color: var(--ink); font-weight: 600; }
.summary-total b { font-size: 1.25rem; color: var(--brand); }

/* confirmation */
.success { text-align: center; padding: 26px 18px 20px; }
.success h1 { font-size: 1.35rem; margin-top: 10px; }
.tick-circle { color: var(--ok); display: grid; place-items: center; }
.tick-ring { stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawRing .7s var(--ease) forwards; }
.tick-mark { stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawTick .45s var(--ease) .55s forwards; }
.receipt { margin: 18px 0 0; padding: 0; text-align: left; display: grid; gap: 2px; }
.receipt > div {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 2px; border-bottom: 1px dashed var(--line);
}
.receipt > div:last-child { border-bottom: 0; }
.receipt dt { color: var(--muted); font-size: .88rem; }
.receipt dd { margin: 0; font-weight: 600; text-align: right; }
.receipt dd.strong { font-size: 1.1rem; color: var(--brand); font-weight: 700; }

.order-lines { list-style: none; margin: 10px 0; padding: 0; }
.order-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.order-lines li:last-child { border-bottom: 0; }
.ol-qty { color: var(--muted); font-weight: 600; }
.ol-price { font-weight: 700; white-space: nowrap; }

.order-actions { margin-top: 14px; }

/* ---------- 7. restaurant landing ---------------------------------- */
.page-landing { background: #faf7f4; overflow-x: hidden; }
.page-landing .bg-anim { display: none; }
.page-landing .blob { display: none; }
.page-menu .bg-anim { display: none; }

/* ==================================================================
   7. landing page — full-bleed hero with background image
   ================================================================== */

/* --- navbar --- */
.r-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
          backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(236, 230, 225, .6);
}
.r-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.r-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.r-brand img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 10px; }
.r-brand-text { display: flex; flex-direction: column; }
.r-brand-text strong {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.3rem; font-style: italic; color: #1c1917; line-height: 1.15;
  letter-spacing: -.01em;
}
.r-brand-text small {
  font-size: .58rem; color: #a8a29e; white-space: nowrap;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.r-nav-links { display: flex; align-items: center; gap: 4px; }
.r-nav-links a {
  padding: 8px 16px; border-radius: 8px; font-size: .88rem; font-weight: 500;
  color: #57534e; transition: all .2s cubic-bezier(.22,.8,.3,1); white-space: nowrap;
}
.r-nav-links a:hover { color: #e2571e; background: rgba(226, 87, 30, .06); }
.r-nav-btn {
  display: inline-flex !important; align-items: center; gap: 7px;
  padding: 10px 22px !important; border-radius: 999px !important;
  background: #e2571e !important; color: #fff !important; font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(226, 87, 30, .28) !important;
}
.r-nav-btn:hover { background: #cc4e1a !important; box-shadow: 0 6px 20px rgba(226, 87, 30, .36) !important; }
.r-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.r-nav-toggle span { display: block; width: 22px; height: 2px; background: #1c1917; margin: 5px 0; border-radius: 2px; transition: all .3s; }

/* --- hero with full-bleed background image --- */
.r-hero {
  position: relative; padding-top: 80px; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.r-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../img/kabab-jees-bg-image.png') center/cover no-repeat;
}
.r-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.75) 45%, rgba(255,255,255,.15) 100%);
}
.r-hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 60px 0 140px;
  max-width: 1200px; margin: 0 auto; width: 100%;
}
.r-hero-left { padding: 0; max-width: 640px; }
.r-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #e2571e; margin-bottom: 18px;
}
.r-hero-title {
  font-family: 'EPIGRAM', 'Georgia', serif;
  font-size: clamp(3rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -.02em;
  font-weight: 400; color: #1c1917; margin: 0 0 24px;
}
.r-hero-accent { color: #e2571e; }
.r-hero-desc {
  font-size: 1.1rem; line-height: 1.7; color: #78716c;
  max-width: 46ch; margin: 0 0 36px;
}
.r-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* buttons */
.r-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .25s cubic-bezier(.22,.8,.3,1);
}
.r-btn-primary {
  background: #e2571e; color: #fff;
  box-shadow: 0 8px 24px rgba(226, 87, 30, .3);
}
.r-btn-primary:hover { background: #cc4e1a; box-shadow: 0 12px 32px rgba(226, 87, 30, .4); transform: translateY(-2px); }
.r-btn-outline {
  background: transparent; color: #e2571e;
  border: 2px solid #e2571e;
}
.r-btn-outline:hover { background: #e2571e; color: #fff; }
.r-btn-white {
  background: #fff; color: #e2571e;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}
.r-btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }

/* hero features bar overlaying bottom */
.r-hero-features-bar {
  position: absolute; bottom: -10px; left: 0; right: 0; z-index: 3;
  padding-bottom: 0;
}
.r-hero-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 16px; padding: 28px 32px;
  border: 1px solid rgba(236, 230, 225, .6);
  box-shadow: 0 8px 32px rgba(28,25,23,.08);
}
.r-hf-card { display: flex; flex-direction: column; gap: 6px; }
.r-hf-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px;
  border-radius: 14px;
}
.r-hf-icon-blue { background: rgba(59, 130, 246, .12); }
.r-hf-icon-blue svg { stroke: #3b82f6; }
.r-hf-icon-amber { background: rgba(245, 158, 11, .12); }
.r-hf-icon-amber svg { stroke: #f59e0b; }
.r-hf-icon-green { background: rgba(16, 185, 129, .12); }
.r-hf-icon-green svg { stroke: #10b981; }
.r-hf-card strong { font-size: .88rem; font-weight: 700; color: #1c1917; }
.r-hf-card > span:last-child { font-size: .78rem; color: #a8a29e; line-height: 1.4; }

/* --- notice --- */
.r-notice {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 12px;
  background: #fef3c7; color: #92400e; font-size: .9rem; font-weight: 500;
  border: 1px solid #fde68a; margin: 90px auto 0; max-width: 900px;
}

/* --- shared section styles --- */
.r-section { padding: 80px 0; }
.r-section-head { text-align: center; margin-bottom: 48px; }
.r-eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .72rem; font-weight: 700; color: #e2571e; margin-bottom: 10px;
}
.r-section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; color: #1c1917;
  letter-spacing: -.02em; margin: 0 0 10px;
}
.r-section-head p { font-size: 1rem; color: #a8a29e; margin: 0 auto; max-width: 48ch; }

/* --- how it works --- */
.r-how { background: transparent; }
.r-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.r-step {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 32px 24px; background: #fff; border: 1px solid #ece6e1; border-radius: 16px;
  position: relative; transition: transform .25s cubic-bezier(.22,.8,.3,1), box-shadow .25s;
}
.r-step:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(28,25,23,.08); }
.r-step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #e2571e, #f59e0b);
  color: #fff; font-size: .78rem; font-weight: 800;
  display: grid; place-items: center;
}
.r-step-icon-wrap {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 14px; background: rgba(226, 87, 30, .08);
  margin-top: 8px;
}
.r-step h3 { font-size: 1rem; font-weight: 700; margin: 0; color: #1c1917; }
.r-step p { font-size: .86rem; color: #a8a29e; margin: 0; line-height: 1.5; }

/* --- categories grid --- */
.r-cats { background: #faf7f4; }
.r-cats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.r-cat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 28px 20px; background: #fff; border: 1px solid #ece6e1;
  border-radius: 16px; text-decoration: none;
  transition: all .25s cubic-bezier(.22,.8,.3,1);
}
.r-cat-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(226, 87, 30, .12);
  border-color: rgba(226, 87, 30, .3);
}
.r-cat-icon {
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 14px; background: rgba(226, 87, 30, .08);
}
.r-cat-card strong { font-size: .9rem; font-weight: 700; color: #1c1917; }
.r-cat-card span { font-size: .78rem; color: #a8a29e; line-height: 1.4; }

/* --- why choose us --- */
.r-why { background: #fff; }
.r-why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.r-why-text .r-eyebrow { margin-bottom: 10px; }
.r-why-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #1c1917;
  letter-spacing: -.02em; margin: 0 0 16px; line-height: 1.15;
}
.r-why-text > p { font-size: .95rem; color: #78716c; line-height: 1.7; margin-bottom: 28px; }
.r-why-points { display: flex; flex-direction: column; gap: 18px; }
.r-why-point { display: flex; align-items: flex-start; gap: 12px; }
.r-why-check {
  display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%; background: #f0fdf4; margin-top: 2px;
}
.r-why-point strong { display: block; font-size: .9rem; font-weight: 700; color: #1c1917; margin-bottom: 2px; }
.r-why-point span { font-size: .82rem; color: #a8a29e; line-height: 1.4; }
.r-why-image { position: relative; }
.r-why-image img {
  width: 100%; height: auto; display: block; border-radius: 20px;
  box-shadow: 0 16px 48px rgba(28,25,23,.12);
}

/* --- bottom feature bar --- */
.r-bottom-bar {
  background: #fff; border: 1px solid #ece6e1; border-radius: 16px;
  padding: 28px 32px; margin-top: 10px;
}
.r-bottom-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.r-bf-item { display: flex; align-items: center; gap: 12px; }
.r-bf-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 50%; background: rgba(226, 87, 30, .08);
}
.r-bf-item strong { display: block; font-size: .82rem; font-weight: 700; color: #1c1917; }
.r-bf-item span { font-size: .74rem; color: #a8a29e; line-height: 1.4; }

/* --- CTA banner --- */
.r-cta { padding: 0; }
.r-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 48px; border-radius: 20px;
  background: linear-gradient(135deg, #e2571e, #f59e0b);
  color: #fff; margin-top: 60px;
}
.r-cta-text h2 { font-size: 1.8rem; font-weight: 800; margin: 0 0 8px; color: #fff; }
.r-cta-text p { font-size: .95rem; color: rgba(255,255,255,.85); margin: 0; max-width: 44ch; }

/* --- footer --- */
.r-footer {
  background: #faf7f4; border-top: 1px solid #ece6e1;
  padding: 0; margin-top: 0;
}
.r-footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; border-bottom: 1px solid #ece6e1;
}
.r-footer-brand { display: flex; align-items: center; gap: 10px; }
.r-footer-brand img { border-radius: 8px; }
.r-footer-brand strong { display: block; font-size: .95rem; color: #1c1917; }
.r-footer-brand span { font-size: .74rem; color: #a8a29e; }
.r-footer-links { display: flex; gap: 20px; }
.r-footer-links a { font-size: .85rem; color: #78716c; font-weight: 500; transition: color .2s; }
.r-footer-links a:hover { color: #e2571e; }
.r-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-size: .82rem; color: #a8a29e;
}

/* ---------- footer ------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line); padding: 18px 0; color: var(--muted); font-size: .82rem;
  background: var(--card); margin-top: 20px;
}
.site-footer .foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.foot-brand { display: flex; align-items: center; gap: 8px; }
.foot-logo {
  display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto;
  border-radius: 8px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.foot-tagline { font-size: .74rem; }

/* ---------- 8. responsive + reduced motion ------------------------ */
@media (min-width: 600px) {
  .items { grid-template-columns: 1fr 1fr; }
  .item-img { flex-basis: 104px; width: 104px; height: 104px; }
  h1 { font-size: 1.7rem; }
}

@media (max-width: 900px) {
  .r-nav-links { display: none; }
  .r-nav-links.is-open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: #fff;
    padding: 16px; border-bottom: 1px solid #ece6e1;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
  }
  .r-nav-toggle { display: block; }
  .r-nav-inner { padding: 0 20px; }
  .r-hero-inner { gap: 20px; padding: 50px 20px 120px; }
  .r-hero-left { padding-right: 0; }
  .r-hero-features-bar { padding-bottom: 0; }
  .r-hero-features { gap: 12px; padding: 20px 24px; }
  .r-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .r-bottom-grid { grid-template-columns: repeat(2, 1fr); }
  .r-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .r-why-grid { grid-template-columns: 1fr; gap: 32px; }
  .r-cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .item { padding: 10px; gap: 10px; }
  .item-img { flex: 0 0 80px; width: 80px; height: 80px; }
  .item-name { font-size: .92rem; }
  .item-desc { font-size: .78rem; }
  .btn-add { padding: 7px 14px; font-size: .82rem; }
  .qty-btn { width: 28px; height: 28px; }
  .cartbar { padding: 11px 14px; }
  .topbar-inner { padding: 8px 12px; }
  .brand-text strong { font-size: .92rem; }
  .table-badge { padding: 5px 10px; font-size: .78rem; }
  .cart-line { padding: 8px; gap: 8px; }
  .cl-img { flex: 0 0 50px; width: 50px; height: 50px; }
  .cl-name { font-size: .88rem; }
  .cl-total { font-size: .88rem; }
  .summary { padding: 12px; }
  .success { padding: 20px 14px 16px; }
  .receipt > div { padding: 8px 0; }
  .order-lines li { padding: 7px 0; font-size: .88rem; }
  .r-hero-title { font-size: 2.2rem; }
  .r-hero-features { grid-template-columns: 1fr; gap: 14px; }
  .r-hf-card { flex-direction: row; align-items: center; gap: 12px; }
  .r-steps { grid-template-columns: 1fr; gap: 18px; }
  .r-step { flex-direction: row; text-align: left; gap: 16px; padding: 20px; }
  .r-bottom-grid { grid-template-columns: 1fr; }
  .r-hero-actions { flex-direction: column; }
  .r-hero-actions .r-btn { width: 100%; }
  .r-cats-grid { grid-template-columns: 1fr; }
  .r-footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .r-footer-links { flex-wrap: wrap; justify-content: center; }
  .r-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .r-cta-inner { padding: 32px 24px; }
  .r-cta-text h2 { font-size: 1.4rem; }
}

@media print {
  .bg-anim, .topbar, .cartbar, .toast, .btn { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
