/* =========================================================================
   اسطا كص — المنيو الإلكتروني
   هوية بصرية: أحمر الشعار + كريمي + ذهبي على خلفية فحمية
   ========================================================================= */

@font-face {
  font-family: "Cairo";
  src: url("assets/fonts/Cairo.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0d0a09;
  --bg-2: #14100e;
  --card: #191413;
  --card-2: #211a17;
  --cream: #f6efe3;
  --cream-dim: #cdbfae;
  --muted: #9c8d7e;
  --red: #c02427;
  --red-2: #e0333a;
  --red-deep: #8e1417;
  --gold: #d9a95f;
  --gold-soft: rgba(217, 169, 95, 0.28);
  --line: rgba(246, 239, 227, 0.09);
  --line-2: rgba(246, 239, 227, 0.15);
  --green: #1faa59;
  --wa: #1faa59;

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;

  --topbar-h: 58px;
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
  --font: "Cairo", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.has-cart {
  padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

body.is-locked {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 38% at 50% -6%, rgba(192, 36, 39, 0.26), transparent 70%),
    radial-gradient(40% 30% at 100% 12%, rgba(217, 169, 95, 0.07), transparent 70%),
    radial-gradient(50% 40% at 0% 40%, rgba(192, 36, 39, 0.05), transparent 70%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

main,
.topbar,
.cats,
.footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ic--wa {
  fill: currentColor;
  stroke: none;
}

.skip {
  position: fixed;
  inset-inline-start: 50%;
  top: -60px;
  transform: translateX(50%);
  z-index: 100;
  background: var(--cream);
  color: #1a1210;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip:focus-visible {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ------------------------------------------------------------- top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  background: rgba(13, 10, 9, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.topbar.is-scrolled {
  background: rgba(11, 8, 7, 0.97);
  border-bottom-color: var(--line);
}

.topbar__in {
  max-width: 780px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  min-width: 0;
}

.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 4px 14px -4px rgba(192, 36, 39, 0.7);
}

.brand__text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.iconbtn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.iconbtn:hover {
  background: rgba(192, 36, 39, 0.16);
  border-color: rgba(192, 36, 39, 0.5);
}

.iconbtn--soft {
  background: rgba(255, 255, 255, 0.05);
  width: 36px;
  height: 36px;
}

.iconbtn .ic {
  width: 18px;
  height: 18px;
}

/* live status */
.live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 700;
  color: var(--cream-dim);
  white-space: nowrap;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.live__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b8378;
  box-shadow: 0 0 0 4px rgba(139, 131, 120, 0.12);
}

.live.is-open {
  color: #8ff0b6;
  border-color: rgba(56, 208, 124, 0.3);
  background: rgba(56, 208, 124, 0.07);
}

.live.is-open .live__dot {
  background: #38d07c;
  box-shadow: 0 0 0 4px rgba(56, 208, 124, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

.live.is-closed {
  color: #cfc4b6;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(56, 208, 124, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(56, 208, 124, 0.04);
  }
}

.live--hero {
  font-size: 12.5px;
  padding: 9px 14px;
  margin: 16px auto 0;
}

.live__hours {
  color: var(--muted);
  font-weight: 500;
  font-size: 11px;
  border-inline-start: 1px solid var(--line-2);
  padding-inline-start: 9px;
}

/* --------------------------------------------------------------- chips */
.cats {
  position: sticky;
  top: var(--topbar-h);
  z-index: 49;
  background: var(--bg);
  border-bottom: 1px solid rgba(246, 239, 227, 0.06);
  padding: 7px 0 10px;
}

.cats__in {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}

.cats__in::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  color: var(--cream-dim);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.chip .ic {
  width: 15px;
  height: 15px;
  opacity: 0.85;
}

.chip:hover {
  border-color: var(--gold-soft);
  color: var(--cream);
}

.chip.is-active {
  background: linear-gradient(180deg, var(--red-2), var(--red));
  border-color: rgba(224, 51, 58, 0.9);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(224, 51, 58, 0.85);
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: 18px 0 6px;
  overflow: hidden;
}

.hero__in {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 18px;
  text-align: center;
}

.hero__glow {
  position: absolute;
  top: -180px;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(192, 36, 39, 0.3), rgba(192, 36, 39, 0.07) 45%, transparent 68%);
  pointer-events: none;
  filter: blur(6px);
}

.hero__logoWrap {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 6px auto 18px;
  border-radius: 50%;
}

.hero__logoWrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(217, 169, 95, 0.22);
}

.hero__logoWrap::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  box-shadow: 0 26px 70px -22px rgba(192, 36, 39, 0.85);
  pointer-events: none;
}

.hero__logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

.hero__eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.hero__title {
  margin: 0;
  font-size: clamp(44px, 13vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.hero__sub {
  margin: 6px 0 0;
  color: #e6d6bd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 14px;
  width: min(260px, 70%);
}

.rule span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(217, 169, 95, 0.55));
}

.rule span:last-child {
  background: linear-gradient(90deg, rgba(217, 169, 95, 0.55), transparent);
}

.rule i {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.9;
  flex: none;
}

.hero__slogan {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.hero__cta {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin: 20px 0 24px;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn .ic {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: linear-gradient(180deg, #cf2b2f, #a91519);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 32px -14px rgba(207, 43, 47, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #dd3438, #b3191d);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(217, 169, 95, 0.32);
  color: var(--cream);
}

.btn--ghost:hover {
  background: rgba(217, 169, 95, 0.09);
  border-color: rgba(217, 169, 95, 0.55);
}

.btn--wa {
  background: linear-gradient(180deg, #25c268, #179a4e);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px -16px rgba(37, 194, 104, 0.85);
}

.btn--wa:hover {
  background: linear-gradient(180deg, #2bd173, #1aa857);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 12.5px;
}

.btn--block {
  width: 100%;
}

/* ---------------------------------------------------------------- info */
.info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  text-align: start;
}

.info__card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.info__card--wide {
  grid-column: 1 / -1;
}

.info__card > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.info__icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(192, 36, 39, 0.14);
  border: 1px solid rgba(192, 36, 39, 0.25);
  color: #ff9a9d;
}

.info__icon .ic {
  width: 17px;
  height: 17px;
}

.info__title {
  margin: 0 0 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.info__text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--cream);
}

.info__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  unicode-bidi: isolate;
}

.info__link:hover {
  color: var(--gold);
}

.info__map {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.info__map .ic {
  width: 14px;
  height: 14px;
}

.info__map:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------------- menu */
.menu {
  max-width: 780px;
  margin: 0 auto;
  padding: 34px 18px 8px;
  scroll-margin-top: 126px;
}

.kicker {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.menu__title {
  margin: 0;
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.menu__note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11.5px;
}

.menu__root {
  margin-top: 8px;
}

.cat {
  padding-top: 26px;
  scroll-margin-top: 130px;
}

.cat__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 6px;
}

.cat__ic {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #ffb0b2;
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(224, 51, 58, 0.28), rgba(192, 36, 39, 0.07));
  border: 1px solid rgba(192, 36, 39, 0.28);
}

.cat__ic .ic {
  width: 21px;
  height: 21px;
}

.cat__title {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.cat__note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.items {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  align-items: start;
}

.item:last-child {
  border-bottom: 0;
}

.item__thumb {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  background: #f7f0e4;
  border: 1px solid rgba(217, 169, 95, 0.22);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.9);
}

.item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.02);
}

.item__thumb--empty {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
  color: var(--gold);
}

.item__thumb--empty .ic {
  width: 30px;
  height: 30px;
  opacity: 0.7;
}

.item__body {
  min-width: 0;
  padding-top: 1px;
}

.item__top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.item__name {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.tag {
  flex: none;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.tag--beef {
  color: #ffa7a9;
  background: rgba(192, 36, 39, 0.16);
  border-color: rgba(192, 36, 39, 0.3);
}

.tag--chicken {
  color: #ecc894;
  background: rgba(217, 169, 95, 0.11);
  border-color: rgba(217, 169, 95, 0.28);
}

.item__desc {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.item__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 7px 0 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(217, 169, 95, 0.08);
  border: 1px solid rgba(217, 169, 95, 0.2);
}

.item__badge .ic {
  width: 11px;
  height: 11px;
}

.item__foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 9px;
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.01em;
  direction: rtl;
}

.price .cur {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}

.add {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #cf2b2f, #a11317);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(207, 43, 47, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.16s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.add .ic {
  width: 20px;
  height: 20px;
  stroke-width: 2.1;
}

.add:hover {
  background: linear-gradient(180deg, #e1363b, #b4181c);
}

.add:active {
  transform: scale(0.92);
}

.add.is-added {
  background: linear-gradient(180deg, #25c268, #179a4e);
  box-shadow: 0 10px 22px -12px rgba(37, 194, 104, 0.9);
}

.noscript {
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  color: var(--cream-dim);
}

/* --------------------------------------------------------------- about */
.about {
  max-width: 780px;
  margin: 34px auto 0;
  padding: 0 18px;
}

.about__in {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(217, 169, 95, 0.16);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(192, 36, 39, 0.16), transparent 60%),
    linear-gradient(180deg, #191413, #120e0d);
  padding: 24px 18px;
  box-shadow: var(--shadow-lg);
}

.about__in::after {
  content: "";
  position: absolute;
  inset-inline-start: -30px;
  bottom: -46px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(217, 169, 95, 0.12);
  box-shadow: 0 0 0 22px rgba(217, 169, 95, 0.035), 0 0 0 44px rgba(217, 169, 95, 0.02);
  pointer-events: none;
}

.about__title {
  margin: 0;
  font-size: clamp(24px, 6.5vw, 30px);
  font-weight: 800;
}

.about__lead {
  margin: 8px 0 0;
  color: var(--cream-dim);
  font-size: 13px;
  line-height: 1.8;
  max-width: 56ch;
}

.about__grid {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.about__grid li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  align-items: start;
}

.about__grid li > span {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(217, 169, 95, 0.08);
  border: 1px solid rgba(217, 169, 95, 0.2);
  color: var(--gold);
}

.about__grid .ic {
  width: 17px;
  height: 17px;
}

.about__grid h3 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  align-self: end;
}

.about__grid p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

/* -------------------------------------------------------------- footer */
.footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(192, 36, 39, 0.06));
  padding: 28px 18px calc(30px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}

.footer__in {
  max-width: 780px;
  margin: 0 auto;
}

.footer__logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 10px;
  opacity: 0.95;
  box-shadow: 0 10px 26px -14px rgba(192, 36, 39, 0.9);
}

.footer__name {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.footer__slogan {
  margin: 1px 0 12px;
  font-size: 12px;
  color: var(--gold);
}

.footer__lines {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cream-dim);
}

.footer__lines a {
  text-decoration: none;
  color: var(--cream);
  font-weight: 800;
  unicode-bidi: isolate;
}

.footer__lines a:hover {
  color: var(--gold);
}

.footer__addr {
  margin: 8px auto 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.footer__hours {
  white-space: nowrap;
}

.footer__copy {
  margin: 16px 0 0;
  color: rgba(156, 141, 126, 0.75);
  font-size: 10px;
}

/* ------------------------------------------------------------- cart bar */
.cartbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 55;
  padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(10, 8, 7, 0), rgba(10, 8, 7, 0.94) 42%);
  animation: barIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes barIn {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
}

.cartbar__in {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 16px;
  border: 1px solid rgba(217, 169, 95, 0.22);
  background: rgba(26, 20, 18, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -12px 44px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cartbar__main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px;
  border: 0;
  background: none;
  color: var(--cream);
  font-family: inherit;
  text-align: start;
  cursor: pointer;
}

.cartbar__bag {
  position: relative;
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(192, 36, 39, 0.16);
  border: 1px solid rgba(192, 36, 39, 0.3);
  color: #ff9a9d;
}

.cartbar__bag .ic {
  width: 19px;
  height: 19px;
}

.cartbar__count {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #e0333a, #b4181c);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  border: 2px solid #1a1412;
  line-height: 1;
}

.cartbar__txt {
  min-width: 0;
}

.cartbar__txt b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}

.cartbar__txt small {
  display: block;
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  opacity: 0.75;
}

.cartbar__go {
  flex: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 15px;
  background: linear-gradient(180deg, #d02a2d, #a81418);
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(208, 42, 45, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}

.cartbar__go:active {
  transform: scale(0.98);
}

/* --------------------------------------------------------------- sheet */
.sheet {
  position: fixed;
  inset: auto 0 0 0;
  margin: 0 auto;
  width: min(620px, 100%);
  max-width: 620px;
  max-height: 92dvh;
  max-height: 92vh;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: var(--bg-2);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -30px 90px rgba(0, 0, 0, 0.75);
}

.sheet[open] {
  display: flex;
  animation: sheetIn 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sheet:not([open]) {
  display: none;
}

@keyframes sheetIn {
  from {
    transform: translateY(30px);
    opacity: 0.4;
  }
}

.sheet::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sheet__grab {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  margin: 8px auto 0;
  flex: none;
}

.sheet__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 10px;
  flex: none;
}

.sheet__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.sheet__sub {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 11.5px;
}

.sheet__scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 18px 6px;
  -webkit-overflow-scrolling: touch;
}

.sheet__foot {
  flex: none;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 16, 14, 0.7), #14100e 40%);
}

.sheet.is-empty .sheet__foot {
  display: none;
}

.sheet__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.sheet__total span {
  color: var(--muted);
  font-size: 12.5px;
}

.sheet__total b {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.fine {
  margin: 8px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

/* cart lines */
.lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.line {
  display: block;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.line:last-child {
  border-bottom: 0;
}

.line__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.line__name {
  display: block;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
}

.line__total {
  flex: none;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--cream);
}

.line__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
}

.line__unit {
  margin-inline-end: auto;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
}

.stepper button {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.stepper button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.stepper span {
  min-width: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.line__total {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--cream);
}

.line__del {
  width: 28px;
  height: 28px;
  flex: none;
  margin-top: -3px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.line__del .ic {
  width: 15px;
  height: 15px;
}

.line__del:hover {
  color: #ff8488;
  background: rgba(192, 36, 39, 0.12);
}

/* empty state */
.cart-empty {
  text-align: center;
  padding: 34px 12px 30px;
}

.cart-empty__ic {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.cart-empty__ic .ic {
  width: 26px;
  height: 26px;
}

.cart-empty__t {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.cart-empty__s {
  margin: 5px 0 16px;
  color: var(--muted);
  font-size: 12px;
}

/* form */
.checkout {
  border: 0;
  padding: 0;
  margin: 6px 0 0;
}

.seg {
  border: 0;
  padding: 0;
  margin: 14px 0 14px;
  min-inline-size: 0;
}

.seg__label {
  padding: 0;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.seg__opt {
  position: relative;
  display: block;
  cursor: pointer;
}

.seg__opt input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.seg__opt span {
  display: block;
  text-align: center;
  padding: 10px 8px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cream-dim);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.seg__opt input:checked + span {
  background: linear-gradient(180deg, rgba(192, 36, 39, 0.3), rgba(192, 36, 39, 0.16));
  border-color: rgba(224, 51, 58, 0.55);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.seg__opt input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.field {
  margin-bottom: 12px;
}

.field > label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.field .opt {
  font-weight: 400;
  font-size: 10px;
  opacity: 0.8;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  color: var(--cream);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 62px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(156, 141, 126, 0.65);
  font-size: 13px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(217, 169, 95, 0.65);
  box-shadow: 0 0 0 3px rgba(217, 169, 95, 0.13);
  background: rgba(255, 255, 255, 0.05);
}

.field.is-hidden {
  display: none;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: rgba(224, 82, 86, 0.8);
  background: rgba(192, 36, 39, 0.09);
}

.field__err {
  display: none;
  margin: 5px 2px 0;
  color: #ff8b8e;
  font-size: 10.5px;
  font-weight: 600;
}

.field.is-invalid .field__err {
  display: block;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--cream);
  -webkit-box-shadow: 0 0 0 1000px #1c1614 inset;
  caret-color: var(--cream);
}

/* toast */
.toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: calc(94px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 10px);
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--cream);
  color: #1b1310;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  max-width: min(90vw, 420px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------------------------------------- desktop */
@media (min-width: 720px) {
  .hero {
    padding-top: 26px;
  }

  .hero__logoWrap {
    width: 172px;
    height: 172px;
    margin-bottom: 22px;
  }

  .hero__in,
  .topbar__in {
    padding-inline: 24px;
  }

  .info {
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
  }

  .info__card--wide {
    grid-column: auto;
  }

  .hero__cta {
    margin-bottom: 30px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .menu,
  .about {
    padding-inline: 24px;
  }

  .item {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 0;
  }

  .item__thumb {
    width: 108px;
    height: 108px;
    border-radius: 16px;
  }

  .item__name {
    font-size: 16.5px;
  }

  .item__desc {
    font-size: 12.5px;
  }

  .price {
    font-size: 18px;
  }

  .about__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .about__in {
    padding: 28px 24px;
  }

  .footer {
    padding-bottom: 34px;
  }
}

@media (max-width: 380px) {
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .item {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 10px;
  }

  .item__thumb {
    width: 80px;
    height: 80px;
  }

  .item__name {
    font-size: 14.5px;
  }

  .live__hours {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
