/* Sinia Restaurant — guest menu */
:root {
  --green: #223e32;
  --green-2: #2d5243;
  --green-ink: #1a3027;
  --orange: #eb6a2c;
  --orange-2: #f3874f;
  --cream: #f5eee3;
  --cream-2: #ece2d2;
  --paper: #fffcf7;
  --ink: #1d2a24;
  --muted: #6b7570;
  --line: rgba(34, 62, 50, .12);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(34, 62, 50, .06), 0 10px 30px -12px rgba(34, 62, 50, .28);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.noscroll { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.boot { min-height: 100vh; display: grid; place-items: center; }
.boot img { width: 72px; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.94); } }

/* ---------- language switch ---------- */
.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(34, 62, 50, .08);
  gap: 2px;
}
.lang button {
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green);
  min-width: 36px;
  transition: background .2s, color .2s;
}
.lang button.on { background: var(--green); color: #fff; }
.lang.on-dark { background: rgba(255, 255, 255, .16); }
.lang.on-dark button { color: #fff; }
.lang.on-dark button.on { background: #fff; color: var(--green); }

/* ---------- welcome ---------- */
.welcome {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.band { position: relative; height: 92px; background: var(--green); flex: none; }
.band .stripe { position: absolute; left: -10%; right: -10%; height: 26px; background: var(--orange); }
.band-top { clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%); height: calc(110px + var(--safe-top)); }
.band-top .stripe { bottom: 6px; transform: rotate(-4deg); transform-origin: right; }
.band-bottom { clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 100%); margin-top: auto; height: 96px; }
.band-bottom .stripe { top: 18px; transform: rotate(-4deg); }
.welcome-lang { position: absolute; top: calc(14px + var(--safe-top)); right: 16px; z-index: 2; }
.welcome-inner {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 8px 20px 36px;
  text-align: center;
  animation: rise .6s cubic-bezier(.2, .8, .2, 1);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.welcome-logo { width: min(250px, 66vw); height: auto; margin: 4px auto 18px; }
.claim { margin: 0 0 30px; color: var(--green); line-height: 1.05; }
.claim b { display: block; font-weight: 900; font-size: 30px; letter-spacing: -.01em; text-transform: uppercase; }
.claim span { display: block; font-weight: 400; font-size: 21px; text-transform: uppercase; letter-spacing: .01em; }
.claim em { font-style: normal; color: var(--orange); }
.claim i { display: block; font-family: var(--script); font-style: normal; font-size: 30px; margin-top: -2px; }
.welcome-q { font-size: 24px; font-weight: 900; color: var(--green); margin: 0 0 4px; }
.welcome-sub { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

.rlist { display: grid; gap: 14px; }
.rcard {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  text-decoration: none;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 16px 16px 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.rcard::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -30px;
  width: 140px;
  height: 46px;
  background: var(--orange);
  transform: rotate(-24deg);
  opacity: .9;
}
.rcard.alt { background: var(--orange); }
.rcard.alt::after { background: var(--green); }
.rcard:active { transform: scale(.985); }
.rcard-mark { width: 56px; height: 56px; flex: none; opacity: .95; }
.rcard-txt { flex: 1; min-width: 0; position: relative; z-index: 1; }
.rcard-txt small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.rcard-txt strong { display: block; font-size: 27px; font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.rcard-txt em { display: block; font-style: normal; font-size: 13px; opacity: .85; margin-top: 2px; }
.rcard-go {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
}
.rcard.alt .rcard-go { color: var(--orange); }
.rcard-go svg { width: 22px; height: 22px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(8px + var(--safe-top)) 12px 8px;
  background: rgba(245, 238, 227, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  height: calc(60px + var(--safe-top));
}
.topbar-logo { height: 34px; width: auto; margin-right: auto; }
.iconbtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(34, 62, 50, .08);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
}
.iconbtn svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  margin: 4px 12px 0;
  border-radius: 26px;
  background: var(--green);
  color: #fff;
  overflow: hidden;
  padding: 26px 22px 24px;
  min-height: 190px;
}
.hero-stripe {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: 34px;
  height: 22px;
  background: var(--orange);
  transform: rotate(-6deg);
}
.hero-in { position: relative; z-index: 1; max-width: 82%; }
.hero-kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.hero h1 { margin: 2px 0 8px; font-size: 40px; line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.hero-claim { margin: 0 0 14px; font-size: 13px; color: rgba(255, 255, 255, .9); text-transform: uppercase; letter-spacing: .03em; line-height: 1.25; }
.hero-claim span { display: block; }
.hero-claim b { font-weight: 900; }
.hero-claim em { font-style: normal; color: var(--orange-2); font-weight: 800; }
.hero-claim i { display: block; font-family: var(--script); text-transform: none; font-style: normal; font-size: 22px; letter-spacing: 0; line-height: 1; margin-top: 2px; }
.hero-info { display: flex; flex-direction: column; gap: 4px; font-size: 13px; position: relative; z-index: 1; }
.hero-info span, .hero-info a, .foot-info span, .foot-info a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.hero-info svg, .foot-info svg { width: 16px; height: 16px; flex: none; opacity: .85; }
.hero-mark { position: absolute; right: -34px; top: -26px; width: 170px; opacity: .14; }

/* ---------- category nav ---------- */
.catnav {
  position: sticky;
  top: calc(60px + var(--safe-top));
  z-index: 25;
  background: rgba(245, 238, 227, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  margin-top: 14px;
}
.catnav-in {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.catnav-in::-webkit-scrollbar { display: none; }
.catnav a {
  flex: none;
  scroll-snap-align: start;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.catnav a.on { background: var(--orange); color: #fff; box-shadow: none; }

/* ---------- sections ---------- */
.menu { padding: 6px 12px 30px; max-width: 1180px; margin: 0 auto; }
.cat { padding-top: 26px; }
.cat-head { position: relative; padding: 0 4px 14px; }
.cat-head h2 {
  margin: 0;
  font-size: clamp(40px, 12vw, 64px);
  line-height: .92;
  font-weight: 900;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: -.035em;
  word-break: break-word;
}
.cat-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.cat-head .count {
  position: absolute;
  right: 4px;
  top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.pcard {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.pcard:active { transform: scale(.99); }
@media (hover: hover) { .pcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(34,62,50,.06), 0 18px 40px -16px rgba(34,62,50,.38); } }
.pimg { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
.pimg > img { width: 100%; height: 100%; object-fit: cover; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(-30deg, var(--cream-2) 0 18px, #e6dac7 18px 36px); }
.noimg img { width: 64px; opacity: .45; }
.pbody { padding: 14px 18px 18px; }
.pbody h3 { margin: 0; font-size: 21px; font-weight: 900; color: var(--green); line-height: 1.15; letter-spacing: -.01em; }
.pbody p { margin: 5px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* brush-like price badge (as on the printed menu) */
.pbadge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  padding: 8px 16px 9px;
  border-radius: 46% 54% 42% 58% / 58% 44% 56% 42%;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
  line-height: 1;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.pbadge small { font-size: 11px; font-weight: 800; text-transform: uppercase; opacity: .9; letter-spacing: .04em; }
.pbadge.dark { background: var(--green); }
.pbadge.big { position: static; font-size: 26px; padding: 10px 20px 12px; }

.tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #fff;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .3);
}
.tag-popular { background: var(--orange); color: #fff; }
.tag-spicy { background: #c62f1e; color: #fff; }
.tag-veg { background: #4f8a3a; color: #fff; }
.tag-new, .tag-chef { background: var(--green); color: #fff; }
.sheet-body .tag { position: static; display: inline-block; margin-bottom: 8px; }

.pcard.sold .pimg img { filter: grayscale(1); opacity: .65; }
.soldflag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 8px 12px;
  border-radius: 10px;
}
.soldflag.inline { position: static; display: inline-block; }

.vlist { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px dashed var(--line); }
.vlist li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.vlist b { color: var(--green); font-weight: 800; }
.vlist i { display: block; font-style: normal; color: var(--muted); font-size: 13px; }
.vlist em { font-style: normal; font-weight: 900; color: var(--orange); white-space: nowrap; font-size: 16px; }

/* notes ("Make it a meal") */
.note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}
.note::before { content: ''; position: absolute; left: -20px; bottom: -14px; width: 120px; height: 30px; background: rgba(235, 106, 44, .35); transform: rotate(-8deg); }
.note-txt { position: relative; }
.note-txt small { display: block; color: var(--orange-2); font-weight: 800; font-size: 13px; }
.note-txt strong { display: block; font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.05; }
.note-price {
  position: relative;
  background: var(--orange);
  font-weight: 900;
  font-size: 22px;
  padding: 8px 14px;
  border-radius: 12px 4px 12px 4px;
  transform: rotate(-3deg);
  white-space: nowrap;
}

/* extras (sauces / sides) */
.extras { margin-top: 18px; background: var(--paper); border-radius: var(--radius); padding: 16px 0 14px; box-shadow: var(--shadow); }
.extras h4 { margin: 0 18px 10px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--green); }
.xrow { display: flex; gap: 12px; overflow-x: auto; padding: 2px 18px 4px; scrollbar-width: none; }
.xrow::-webkit-scrollbar { display: none; }
.xitem { flex: none; width: 92px; text-align: center; }
.xitem img, .xdot { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 6px; background: var(--cream-2); box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); }
.xdot { display: grid; place-items: center; color: var(--green); }
.xdot svg { width: 40px; height: 40px; }
.xitem b { display: block; font-size: 12.5px; line-height: 1.2; color: var(--green); font-weight: 800; }
.xitem em { display: block; font-style: normal; font-size: 12.5px; font-weight: 900; color: var(--orange); margin-top: 2px; }

.soon {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: inset 0 0 0 2px dashed var(--line);
  border: 2px dashed rgba(34, 62, 50, .18);
}
.soon img { width: 46px; margin: 0 auto 8px; opacity: .6; }
.soon strong { display: block; font-size: 20px; font-weight: 900; color: var(--orange); text-transform: uppercase; }
.soon p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.soon.big { margin-top: 30px; }

/* ---------- footer ---------- */
.foot {
  background: var(--green);
  color: rgba(255, 255, 255, .85);
  text-align: center;
  padding: 34px 22px calc(30px + var(--safe-bottom));
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}
.foot::before { content: ''; position: absolute; left: -10%; right: -10%; top: -10px; height: 22px; background: var(--orange); transform: rotate(-2.5deg); }
.foot img { width: 170px; margin: 10px auto 16px; }
.foot p { font-size: 13px; margin: 0 auto 14px; max-width: 420px; }
.foot-info { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; margin-bottom: 16px; color: #fff; }
.foot small { display: block; margin-top: 16px; opacity: .6; font-size: 12px; }
.ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 800; font-size: 14px; }

/* ---------- product sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; }
.sheet-bg { position: absolute; inset: 0; background: rgba(18, 30, 25, .55); opacity: 0; transition: opacity .25s ease; }
.sheet-card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 92vh;
  max-height: 92svh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 26px 26px 0 0;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  padding-bottom: calc(18px + var(--safe-bottom));
  overscroll-behavior: contain;
}
.sheet.open .sheet-bg { opacity: 1; }
.sheet.open .sheet-card { transform: none; }
@media (min-width: 700px) {
  .sheet-card { left: 50%; right: auto; bottom: auto; top: 50%; width: 560px; border-radius: 26px; transform: translate(-50%, -40%); opacity: 0; transition: transform .3s, opacity .25s; }
  .sheet.open .sheet-card { transform: translate(-50%, -50%); opacity: 1; }
}
.sheet-x { position: absolute; right: 12px; top: 12px; z-index: 2; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); }
.sheet-img { aspect-ratio: 4 / 3; background: var(--cream-2); }
.sheet-img img { width: 100%; height: 100%; object-fit: cover; }
.sheet-body { padding: 18px 20px 6px; }
.sheet-body h3 { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 900; color: var(--green); letter-spacing: -.01em; }
.sheet-body p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.sheet-body h5 { margin: 18px 0 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); font-weight: 900; }
.sheet-price { margin-top: 16px; }
.vtable { list-style: none; padding: 0; margin: 0; }
.vtable li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--cream); margin-bottom: 8px; }
.vtable b { display: block; color: var(--green); font-weight: 900; }
.vtable i { display: block; font-style: normal; color: var(--muted); font-size: 13.5px; }
.vtable em { font-style: normal; font-weight: 900; font-size: 20px; color: var(--orange); white-space: nowrap; }
.sheet-body .note { margin-top: 16px; }

/* ---------- error ---------- */
.err { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 24px; gap: 14px; }
.err img { width: 200px; margin: 0 auto; }
.err p { color: var(--muted); max-width: 320px; margin: 0 auto; }
.btn { background: var(--orange); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 900; justify-self: center; }

@media (min-width: 760px) {
  .hero { margin: 8px auto 0; max-width: 1156px; padding: 38px 40px; min-height: 230px; }
  .hero h1 { font-size: 58px; }
  .hero-mark { width: 260px; right: -30px; top: -40px; }
  .catnav-in { justify-content: center; }
  .topbar { padding-left: max(16px, calc(50% - 578px)); padding-right: max(16px, calc(50% - 578px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
