/* SI menu — top bar, offers, groups, section chips and rows. Loaded in order after the files before it (see index.html). */
/* top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  padding-block: calc(env(safe-area-inset-top, 0px) + 12px) 10px;
}
.top-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-logo {
  width: 46px;
  height: 44px;
  object-fit: contain;
  flex: none;
}
.top-brand {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.top-brand b {
  font-family: var(--f-serif);
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  direction: ltr;
  text-align: start;
}
.app[dir='rtl'] .top-brand b {
  text-align: right;
}
.top-brand small {
  font-size: 11px;
  color: var(--ink-soft);
}
.round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  flex: none;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  height: 48px;
  margin-top: 12px;
  color: var(--ink-soft);
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.search input::placeholder {
  color: var(--ink-soft);
}
.search input::-webkit-search-cancel-button {
  display: none;
}
.search .clear {
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

/* promo carousel */
.promo {
  margin-top: 14px;
}
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 12px;
  border-radius: 22px;
}
.slides::-webkit-scrollbar {
  display: none;
}
.slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  text-align: start;
  background: var(--surface-2);
  max-width: 100%;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.05) 60%);
}
.slide .cap {
  position: absolute;
  inset: auto 16px 14px;
  z-index: 1;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.slide .eyebrow {
  font-size: 11px;
  color: var(--accent-photo);
}
.slide strong {
  font-size: 19px;
  font-weight: 600;
}
.slide .pill {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 1;
  background: var(--accent-photo);
  color: var(--on-accent-photo);
  border-radius: 10px;
  padding: 3px 10px;
  font-size: 18px;
}
.slide .pill span {
  font-family: var(--f-ar);
  font-size: 11px;
  font-weight: 600;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.dots i {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  transition:
    width 0.25s,
    background 0.25s;
}
.dots i.on {
  width: 18px;
  background: var(--accent-bg);
}

/* groups: food, drinks, desserts, shisha — tiles above the sections of the chosen group */
.groups {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 8px;
  margin-top: 16px;
}
.grp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 12px 4px 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.15s;
}
.grp .i {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.grp span {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.grp small {
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.grp:active {
  transform: scale(0.97);
}
.grp.active {
  border: 1.5px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--accent);
}
.grp.active .i,
.grp.active small {
  color: var(--accent);
}
.cats-grp {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
  font-size: 15px;
  color: var(--accent);
}
.cats-grp .i {
  width: 20px;
  height: 20px;
}

/* category chips */
.chips-bar {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 128px);
  z-index: 15;
  background: var(--bg);
  padding-block: 8px;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding-inline: 5px 14px;
  border-radius: 19px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.chip.active {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--on-accent-bg);
}

/* home rows */
.row-sec {
  margin-top: 26px;
  scroll-margin-top: 190px;
}
.row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.row-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  text-wrap: balance;
}
.row-head .en {
  font-family: var(--f-serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-inline-start: 8px;
  font-weight: 600;
}
.link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
}
.link svg {
  width: 15px;
  height: 15px;
}
.app[dir='rtl'] .flip {
  transform: scaleX(-1);
}
.track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 12px;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
  scroll-padding-inline: 16px;
}
.track::-webkit-scrollbar {
  display: none;
}
.cat-card {
  position: relative;
  flex: 0 0 168px;
  height: 196px;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  text-align: start;
  background: var(--surface-2);
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 55%);
}
.cat-card span {
  position: absolute;
  inset: auto 12px 12px;
  z-index: 1;
  color: #ffffff;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card {
  position: relative;
  flex: 0 0 150px;
  min-height: 196px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: start;
  scroll-snap-align: start;
}
.card.sig {
  border-color: var(--accent);
  background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface) 65%);
}
.card .tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  color: var(--on-accent-bg);
  background: var(--accent-bg);
  border-radius: 6px;
  padding: 2px 7px;
  margin-bottom: 2px;
}
.card .nm {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  padding-inline-end: 26px;
}
.card .sub {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.35;
}
.card .price {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--accent);
}
.card .price b {
  font-size: 21px;
}
.card .price span {
  font-size: 11px;
  font-weight: 500;
}
.fav {
  position: absolute;
  top: 8px;
  inset-inline-end: 6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  z-index: 2;
}
.fav svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.fav[aria-pressed='true'] {
  color: var(--heart);
}
.fav[aria-pressed='true'] svg {
  fill: currentColor;
  transform: scale(1.12);
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.grid .card {
  min-height: 150px;
}
.grid .card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  min-height: 0;
}

.foot {
  text-align: center;
  color: var(--ink-soft);
  font-size: 12px;
  margin-top: 40px;
  line-height: 1.8;
}
.foot img {
  width: 72px;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}
.foot b {
  display: block;
  font-family: var(--f-serif);
  letter-spacing: 0.28em;
  color: var(--accent);
  font-size: 18px;
  direction: ltr;
}
.empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 48px 10px;
  font-size: 14px;
  line-height: 1.8;
}
