:root {
  --brand: #f66c0d;
  --brand-2: #ff9a4a;
  --bg: #120d0b;
  --bg-2: #1c1512;
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.09);
  --text: #fff7f2;
  --muted: #b8a69c;
  --radius: 22px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
body { min-height: 100dvh; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- shared bits ---------- */
.lang-toggle {
  display: inline-flex; padding: 4px; border-radius: 999px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.lang-toggle button { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang-toggle button.active { background: var(--brand); color: #fff; }

.logo-mark {
  width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, var(--brand-2), var(--brand) 60%, #b84a00);
  box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 18px 50px rgba(246,108,13,.45);
  font-weight: 800; font-size: 44px; color: #fff; letter-spacing: -1px;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-mark.has-img { background: #fff; }

/* ---------- splash ---------- */
.splash { position: fixed; inset: 0; overflow: hidden; display: flex; flex-direction: column; }
.splash video, .splash .splash-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.splash-fallback {
  background:
    radial-gradient(60% 45% at 50% 30%, rgba(246,108,13,.55), transparent 70%),
    radial-gradient(50% 40% at 20% 90%, rgba(255,154,74,.25), transparent 70%),
    linear-gradient(180deg, #2a160b, #0d0907);
  animation: glow 8s ease-in-out infinite alternate;
}
@keyframes glow { to { filter: hue-rotate(-12deg) brightness(1.15); } }
.splash::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 35%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.85) 100%);
}
.splash-top { position: relative; z-index: 2; display: flex; justify-content: flex-end; padding: max(16px, env(safe-area-inset-top)) 16px 0; }
.splash-center {
  position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 0 24px; gap: 14px;
}
.splash-center h1 { margin: 10px 0 0; font-size: 34px; font-weight: 800; letter-spacing: -.5px; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.splash-center p { margin: 0; color: #ffe2cf; font-size: 15px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.menu-btn {
  margin-top: 26px; width: min(320px, 100%); padding: 22px 0; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 24px; font-weight: 800; letter-spacing: 6px;
  box-shadow: 0 14px 40px rgba(246,108,13,.55), inset 0 -4px 0 rgba(0,0,0,.18);
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  animation: pulse 2.4s ease-in-out infinite;
}
.menu-btn:active { transform: scale(.97); }
@keyframes pulse { 50% { box-shadow: 0 14px 60px rgba(246,108,13,.85), inset 0 -4px 0 rgba(0,0,0,.18); } }
.splash-bottom {
  position: relative; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  padding: 0 16px max(22px, env(safe-area-inset-bottom));
}
.chip-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); font-size: 13px; text-decoration: none;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* ---------- menu ---------- */
.menu-page { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.menu-page::before {
  content: ''; position: fixed; inset: 0 0 auto 0; height: 340px; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 100% at 50% 0%, rgba(246,108,13,.28), transparent 70%);
}
.m-header { display: flex; align-items: center; gap: 12px; padding: max(16px, env(safe-area-inset-top)) 16px 6px; }
.m-header .logo-mark { width: 46px; height: 46px; font-size: 18px; box-shadow: 0 6px 18px rgba(246,108,13,.4); }
.m-header .title { flex: 1; min-width: 0; }
.m-header .title b { display: block; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-header .title span { font-size: 12px; color: var(--muted); }
.back-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; text-decoration: none; }

.hero-text { padding: 14px 16px 4px; }
.hero-text h2 { margin: 0; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.5px; }
.hero-text h2 em { font-style: normal; color: var(--brand); }

.search { display: block; margin: 14px 16px 0; position: relative; }
.search input {
  width: 100%; padding: 14px 16px 14px 46px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font: inherit; font-size: 15px; outline: none;
}
.search input:focus { border-color: var(--brand); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); opacity: .6; }

.cats {
  position: sticky; top: 0; z-index: 10; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
  padding: 14px 16px; margin-top: 6px;
  background: linear-gradient(180deg, var(--bg) 75%, rgba(18,13,11,0));
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--line); transition: .2s;
  font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap;
}
.cat img { width: 34px; height: 34px; margin-left: -12px; border-radius: 50%; object-fit: cover; background: #fff; }
.cat.active { background: var(--brand); border-color: transparent; color: #fff; font-weight: 600; box-shadow: 0 8px 24px rgba(246,108,13,.4); }

.section { padding: 8px 16px 6px; scroll-margin-top: 110px; }
.section h3 { display: flex; align-items: center; gap: 8px; margin: 14px 0 12px; font-size: 20px; }
.section h3 small { font-size: 12px; color: var(--muted); font-weight: 500; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 620px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  text-align: left; border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .15s;
}
.card:active { transform: scale(.98); }
.card .img { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .img, .sheet .img { background: #fff; }
.card .img.empty-img, .sheet .img.empty-img { background: var(--bg-2); }
.ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(246,108,13,.35), rgba(246,108,13,.06) 70%), var(--bg-2);
}
.ph span {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(246,108,13,.6); color: var(--brand-2); font-size: 28px; font-weight: 700;
}
.card .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card .name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.card .meta { font-size: 11.5px; color: var(--muted); }
.card .price-row { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; }
.price { font-weight: 700; color: var(--brand); font-size: 16px; }
.price small { font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.plus { width: 28px; height: 28px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; color: #fff; font-weight: 700; }
.card.soldout { opacity: .45; }
.badge {
  position: absolute; top: 8px; left: 8px; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.badge.hot { background: var(--brand); }
.empty { padding: 50px 16px; text-align: center; color: var(--muted); }

.m-footer { margin: 30px 16px 0; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 8px; }
.m-footer b { color: var(--text); }
.m-footer > div { display: flex; align-items: center; gap: 10px; }
.m-footer svg { flex: 0 0 auto; color: var(--brand); }
.back-btn svg, .plus svg { display: block; }

/* ---------- product sheet ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: .25s; }
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 51; left: 0; right: 0; bottom: 0; max-width: 760px; margin: 0 auto; max-height: 92dvh; overflow-y: auto;
  background: var(--bg-2); border-radius: 28px 28px 0 0; transform: translateY(105%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}
.sheet.open { transform: none; }
.sheet .img { aspect-ratio: 3 / 2; position: relative; }
.sheet .img img { width: 100%; height: 100%; object-fit: cover; }
.sheet .img .ph span { width: 96px; height: 96px; font-size: 42px; }
.sheet .close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; color: #fff;
}
.sheet .grab { position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; border-radius: 9px; background: rgba(0,0,0,.25); transform: translateX(-50%); }
.sheet .content { padding: 18px 20px 6px; margin-top: -26px; position: relative; background: var(--bg-2); border-radius: 26px 26px 0 0; }
.sheet h2 { margin: 4px 0 6px; font-size: 24px; }
.sheet p.desc { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sheet h4 { margin: 18px 0 10px; font-size: 15px; }
.variants { display: grid; gap: 10px; }
.variant { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }
.variant .price { font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border-radius: 999px; font-size: 12px; background: rgba(246,108,13,.15); color: var(--brand-2); }

/* ---------- garnish & treats ---------- */
.sheet p.sub { margin: -4px 0 10px; font-size: 13px; color: var(--muted); }
.g-panel { display: grid; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.g-group h5 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--brand-2); letter-spacing: .3px; text-transform: uppercase; }
.g-items { display: flex; flex-wrap: wrap; gap: 6px; }
.g-item { padding: 7px 12px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.ikram { margin-top: 14px; padding: 16px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(246,108,13,.22), rgba(246,108,13,.06)); border: 1px solid rgba(246,108,13,.35); }
.ikram-head { display: flex; align-items: center; gap: 12px; color: var(--brand-2); }
.ikram-head b { display: block; color: var(--text); font-size: 15px; }
.ikram-head span { font-size: 12.5px; color: var(--muted); }
.ikram ul { margin: 10px 0 0; padding: 0 0 0 32px; display: grid; gap: 4px; font-size: 14px; }
.ikram li::marker { color: var(--brand); }

/* ---------- wordmark logo & subgroups ---------- */
.logo-word { display: block; width: min(300px, 78vw); height: auto; filter: drop-shadow(0 6px 24px rgba(0,0,0,.45)); }
.m-header .logo-word { width: auto; height: 34px; max-width: 100%; filter: none; }
.subhead { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; font-size: 15px; font-weight: 600; color: var(--brand-2); }
.subhead::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.section h3 + .subhead { margin-top: 4px; }
.grid.row {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 -16px; padding: 0 16px 4px; scroll-padding: 0 16px;
}
.grid.row::-webkit-scrollbar { display: none; }
.grid.row .card { flex: 0 0 calc(45% - 6px); scroll-snap-align: start; }
@media (min-width: 620px) { .grid.row { display: grid; margin: 0; padding: 0; overflow: visible; } }
.ph.ph-logo { background: linear-gradient(135deg, var(--brand-2), var(--brand) 55%, #c94f00); }
.ph.ph-logo img { width: 62%; height: auto; object-fit: contain; }
.search { margin-top: 16px; }

/* ---------- mobile intro video ---------- */
.splash.intro { background: #000; }
.splash.intro::after { display: none; }
.splash.intro .splash-center .logo-word, .splash.intro .splash-center .logo-mark { display: none; }
.splash.intro .splash-center { justify-content: flex-end; padding-bottom: 16vh; pointer-events: none; }
.splash.intro .menu-btn, .splash.intro .splash-bottom { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; pointer-events: none; }
.splash.intro.revealed .menu-btn, .splash.intro.revealed .splash-bottom { opacity: 1; transform: none; pointer-events: auto; }
.splash.intro video { transform-origin: 50% 50%; transition: transform .45s ease; }
.splash.intro video.shrink { transform: scale(.62); }

/* ---------- promo banner, closed note, review ---------- */
.promo-banner { margin: 10px 16px 0; padding: 11px 16px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 600; font-size: 14px; text-align: center; }
.promo-banner.scroll { overflow: hidden; padding: 11px 0; text-align: left; }
.promo-banner .track { display: flex; width: max-content; animation: marquee 16s linear infinite; }
.promo-banner .track span { padding: 0 32px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .promo-banner .track { animation: none; } }
.closed-note { margin: 10px 16px 0; padding: 12px 16px; border-radius: 14px; display: flex; align-items: center; gap: 12px; background: rgba(255, 82, 82, .12); border: 1px solid rgba(255, 82, 82, .35); color: #ff9b9b; }
.closed-note b { display: block; color: var(--text); font-size: 14px; }
.closed-note span { font-size: 13px; }
.review-btn { margin: 26px 16px 0; padding: 16px; border-radius: var(--radius); display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--card); border: 1px solid var(--line); }
.review-btn .stars { color: #ffc531; font-size: 15px; letter-spacing: 1px; }
.review-btn > span:nth-child(2) { flex: 1; }
.review-btn b { display: block; font-size: 15px; }
.review-btn small { color: var(--muted); font-size: 12.5px; }
.review-btn svg { color: var(--brand); }
.tag.allergen { background: rgba(255,255,255,.08); color: var(--text); }

/* ---------- pop-up ---------- */
.popup-bg { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.7); opacity: 0; transition: opacity .25s; }
.popup-bg.open { opacity: 1; }
.popup { position: relative; width: min(360px, 100%); max-height: 86dvh; overflow-y: auto; border-radius: 26px; background: var(--bg-2); border: 1px solid var(--line); transform: scale(.94); transition: transform .25s; }
.popup-bg.open .popup { transform: none; }
.popup > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.popup .close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; }
.popup .pc { padding: 18px 20px 20px; text-align: center; }
.popup h3 { margin: 0 0 8px; font-size: 22px; }
.popup p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.5; white-space: pre-line; }
.popup .pbtn { display: block; padding: 14px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; }
.ingredients { margin: 2px 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.ingredients span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--brand-2); margin-bottom: 4px; }
.ingredients p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
