/* fafaresturant.com home page — same warm palette and fonts as the customer menu, one accent (FaFa orange) */
:root {
  --f-display: "Baloo 2", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --f-body: "Outfit", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --f-zh: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --bg: #14100d;
  --surface: #1d1814;
  --surface-2: #28211c;
  --ink: #f4efe9;
  --muted: #b1a59a;
  --line: rgba(255, 240, 225, 0.09);
  --accent: #ff8a3d;
  --accent-ink: #1f1006;
  --ok: #4ade80;
  --bad: #f87171;
  --r: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--f-body); min-height: 100dvh; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.zh { font-family: var(--f-zh); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.brand { display: flex; align-items: baseline; gap: 2px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1; }
.brand__a { color: #f26f1e; } .brand__b { color: #e0242c; }
.brand__zh { font-family: var(--f-zh); font-weight: 700; font-size: 15px; color: var(--muted); margin-left: 10px; }

.hero { position: relative; min-height: min(78dvh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 13, .15) 0%, rgba(20, 16, 13, .55) 55%, var(--bg) 100%); }
.hero__body { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; padding: 32px 16px 36px; }
.halal { display: inline-block; font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 999px; background: #0f7a4d; color: #eafff4; }
.hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 7vw, 64px); line-height: 1.02; letter-spacing: -0.5px; margin-top: 14px; text-wrap: balance; }
.hero h1 .zh { display: block; font-size: .5em; font-weight: 700; color: var(--accent); margin-top: 8px; letter-spacing: 2px; }
.hero__tag { color: var(--muted); max-width: 46ch; margin-top: 10px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; padding: 14px 22px; border-radius: 999px;
  transition: transform .2s ease, filter .2s ease; }
.btn--main { background: var(--accent); color: var(--accent-ink); font-size: 18px; box-shadow: 0 10px 30px rgba(255, 138, 61, .25); }
.btn--main:hover { filter: brightness(1.06); }
.btn--main:active { transform: scale(.97); }
.open { font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.open::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--muted); }
.open.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }
.open.is-closed::before { background: var(--bad); }

main > section:not(.hero) { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
h2 { font-family: var(--f-display); font-weight: 800; font-size: 22px; line-height: 1.15; }
h2 .zh { font-size: 16px; color: var(--muted); font-weight: 700; margin-left: 6px; }

.favs { margin-top: 8px; }
.favs__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding: 14px 0 6px;
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.favs__row::-webkit-scrollbar { display: none; }
.fav { position: relative; scroll-snap-align: start; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .25s ease; }
.fav:hover { transform: translateY(-3px); }
.fav img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fav__t { display: block; padding: 10px 12px 12px; padding-right: 64px; }
.fav__t b { display: block; font-weight: 600; line-height: 1.25; }
.fav__t .zh { font-size: 13px; color: var(--muted); }
.fav__p { position: absolute; right: 12px; bottom: 14px; font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--accent); }

.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 26px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.card p { margin-top: 8px; overflow-wrap: anywhere; }
.big { font-family: var(--f-display); font-weight: 800; font-size: 28px; }
.muted { color: var(--muted); font-size: 14px; }
.link { color: var(--accent); text-underline-offset: 3px; }
.card--deliver { background: linear-gradient(135deg, #ffd24a, #ffb300); color: #2a1604; border: 0; }
.card--deliver h2 .zh { color: #5b3a06; }
.card--campus { display: block; text-decoration: none; border-color: rgba(255, 138, 61, .35); transition: transform .25s ease, border-color .25s ease; }
.card--campus:hover { transform: translateY(-3px); border-color: var(--accent); }
.card--campus .link { font-weight: 600; }
.btn--mt { margin-top: 6px; background: #2a1604; color: #ffd24a; padding: 10px 18px; font-size: 15px; }
.btn--mt:active { transform: scale(.97); }
.card--qr { display: flex; gap: 16px; align-items: center; }
.card--qr img { width: 120px; height: 120px; border-radius: 12px; background: #fff; padding: 6px; flex: 0 0 auto; }

.foot { max-width: 1100px; margin: 36px auto 0; padding: 20px 16px 32px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.hero__img[src=""] { visibility: hidden; }
@media (min-width: 900px) {
  .info { grid-template-columns: repeat(3, 1fr); }
  .card--qr, .card--campus { grid-column: 1 / -1; }
}
.hero__pick { display: inline-block; margin-top: 14px; padding: 9px 14px; border-radius: 14px; text-decoration: none; font-size: 15px; line-height: 1.35; max-width: 60ch;
  background: rgba(20, 16, 13, .72); border: 1px solid var(--accent); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.hero__pick[hidden] { display: none; }
.hero__pick s { color: var(--muted); }
.hero__pick .zh { color: var(--muted); }
