:root {
  --sadu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='6' viewBox='0 0 48 6'%3E%3Cpath fill='%23D9C3A0' d='M0 0h48v1H0zM0 5h48v1H0z'/%3E%3Cpath fill='%23D9523F' d='m2 1 5 4h-5zM27 5l5-4v4z'/%3E%3Cpath fill='%23E07A3A' d='m10 5 5-4v4zM35 1l5 4h-5z'/%3E%3Cpath fill='%236f9a6b' d='m18 1 5 4h-5zM43 5l5-4v4z'/%3E%3C/svg%3E");
  --geometry: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 0 64 32 32 64 0 32Z M16 16h32v32H16Z M0 0l16 16m32 0L64 0M0 64l16-16m32 0 16 16' fill='none' stroke='%238e755b' stroke-width='1'/%3E%3C/svg%3E");
}
:root {
  color-scheme: light;
  --cream: #f6f0e4;
  --paper: #fffaf1;
  --sand: #e8dbc4;
  --line: #dbceb7;
  --walnut: #382a20;
  --muted: #6a5949;
  --olive: #424a30;
  --olive-dark: #303721;
  --gold: #d5b67b;
  --sticky-h: 118px;
  --heading: "Reem Kufi", Tahoma, Arial, sans-serif;
  --body: "Tajawal", Tahoma, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: calc(var(--sticky-h) + 14px);
}
html.dialog-open {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--walnut);
  font: 1rem/1.5 var(--body);
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid #a46e2f;
  outline-offset: 3px;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1140px, 100% - 2 * clamp(16px, 4vw, 48px));
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  inset: 8px 8px auto auto;
  z-index: 20;
  background: var(--paper);
  padding: 12px;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}

.hero {
  min-height: 308px;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--olive-dark);
  color: var(--cream);
}
.hero-photo,
.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-photo {
  object-fit: cover;
  object-position: center 43%;
}
.hero-shade {
  background: linear-gradient(0deg, #272e1d 1%, #272e1dda 35%, #282c2033 100%);
}
.hero-content {
  padding-block: 24px 26px;
}
.brand {
  margin: 0 0 8px;
  width: min(245px, 64vw);
}
.brand img,
.footer-logo {
  height: auto;
}
.hero .english {
  direction: ltr;
  text-align: right;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.23em;
  color: #f0dba9;
  margin: 0;
}
.hero .intro {
  font: 600 1.18rem/1.5 var(--heading);
  margin: 8px 0 0;
}
.sadu {
  height: 5px;
  background: #211712 var(--sadu) repeat-x;
}
.hero-stripe {
  height: 6px;
}

.sticky {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  background: var(--olive);
  color: var(--cream);
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  box-shadow: 0 4px 16px #302a1e26;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding-inline: 12px;
  border-radius: 11px;
  background: var(--olive-dark);
  border: 1px solid #9a9a72;
}
.search-wrap:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.search-wrap .icon {
  color: #e6cea0;
}
.search-wrap input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--cream);
  outline: none;
  font-size: 1rem;
}
.search-wrap input::placeholder {
  color: #efdfc3;
  opacity: 1;
}
.search-wrap input::-webkit-search-cancel-button {
  display: none;
}
.clear {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-inline-end: -9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.nav {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 9px 4px 10px;
  scrollbar-width: thin;
  scrollbar-color: #a39470 transparent;
  overscroll-behavior-inline: contain;
}
.nav a {
  flex: none;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #9c9b76;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.nav a[aria-current] {
  background: var(--gold);
  border-color: var(--gold);
  color: #262817;
}
.sticky :focus-visible,
.footer :focus-visible {
  outline-color: #ffe1a3;
  outline-offset: 1px;
}

main {
  padding-block: 23px 36px;
  min-height: 35vh;
}
.menu-section {
  position: relative;
  isolation: isolate;
  margin-block-end: clamp(30px, 6vw, 58px);
}
.menu-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 88px;
  z-index: -1;
  pointer-events: none;
  background: var(--geometry);
  opacity: 0.24;
  mask-image: linear-gradient(#000, transparent);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 9px;
}
.section-heading h2 {
  color: var(--olive-dark);
  font: 700 clamp(1.35rem, 3vw, 1.8rem)/1.5 var(--heading);
  margin: 0;
}
.count {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.menu-section .sadu {
  width: 70px;
  margin-bottom: 15px;
}
.items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 18px);
}
.item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  text-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 3px 8px #3e2c1510;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
.item:active {
  border-color: var(--olive);
}
@media (hover: hover) {
  .item:hover {
    border-color: #968056;
    box-shadow: 0 6px 19px #3e2c1520;
  }
}
.photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5/4;
  overflow: hidden;
  background: radial-gradient(ellipse, #9e8061, #6b533d);
  color: var(--cream);
}
.photo .placeholder-icon {
  width: 44px;
  height: 44px;
  opacity: 0.7;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.photo.has-image img {
  opacity: 1;
}
.photo.has-image .placeholder-icon {
  visibility: hidden;
}
.photo-label {
  position: absolute;
  inset: auto 6px 6px auto;
  background: #28251fee;
  color: var(--paper);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
}
.photo:not(.has-image) .photo-label {
  display: none;
}
.item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: clamp(8px, 2.5vw, 16px);
}
.item-name {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.item-desc {
  color: var(--muted);
  font-size: 0.89rem;
}
.prices {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin-top: auto;
  padding-top: 4px;
  color: #78411e;
  font-weight: 800;
}
.price-single {
  font-size: 1.16rem;
}
.price-pair {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f4e9d6;
  font-size: 0.875rem;
  white-space: nowrap;
}
.size {
  color: #62513f;
  font-weight: 600;
}
.results {
  color: var(--muted);
  margin: 0 0 17px;
}
.empty {
  text-align: center;
  padding: 30px 14px;
  border: 1px dashed #b69f7d;
  border-radius: 12px;
}
.empty h2 {
  font-family: var(--heading);
}
.empty button {
  padding: 8px 17px;
  min-height: 44px;
  color: var(--paper);
  background: var(--olive);
  border: 0;
  border-radius: 8px;
}

.footer {
  background: var(--olive-dark);
  color: var(--cream);
  border-top: 6px solid var(--gold);
  text-align: center;
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom, 0px));
}
.footer-logo {
  width: 155px;
  margin: 0 auto;
}
.footer p,
.qr figcaption {
  color: #ebdec4;
}
.footer .photo-disclaimer {
  font-size: 0.875rem;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #a79a72;
  border-radius: 8px;
}
.qr {
  margin: 0;
}
.qr svg {
  width: 144px;
  height: 144px;
  display: block;
  margin: auto;
  border-radius: 5px;
}
.qr figcaption {
  margin-top: 8px;
}
.back-top {
  position: fixed;
  inset: auto auto calc(14px + env(safe-area-inset-bottom, 0px))
    calc(14px + env(safe-area-inset-left, 0px));
  z-index: 6;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--olive);
  color: var(--paper);
  box-shadow: 0 4px 16px #0003;
}

.sheet {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  background: var(--paper);
  color: var(--walnut);
}
.sheet[open] {
  animation: rise 0.2s ease-out;
}
.sheet::backdrop {
  background: #201c15b3;
}
.sheet-inner {
  padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
}
.sheet-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 56px;
  background: var(--paper);
}
.handle {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: #ad9b80;
}
.sheet-close {
  position: absolute;
  inset: 5px auto auto 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
}
.sheet .photo {
  max-height: 46vh;
  max-height: 46dvh;
  aspect-ratio: 4/5;
  border-radius: 12px;
  background: #463529;
}
.sheet .photo img {
  object-fit: contain;
}
.sheet-category {
  margin: 13px 0 0;
  color: var(--olive);
  font-weight: 700;
}
.sheet h2 {
  font: 700 1.55rem/1.45 var(--heading);
  margin: 3px 0 5px;
}
.sheet-desc {
  color: var(--muted);
  margin: 0 0 6px;
}
.sheet .prices {
  padding-top: 9px;
  gap: 8px;
}
.sheet .price-pair {
  padding: 6px 10px;
  font-size: 1rem;
}
.sheet .price-single {
  font-size: 1.45rem;
}
@keyframes rise {
  from {
    transform: translateY(26px);
    opacity: 0.6;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@media (min-width: 600px) {
  .items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 760px) {
  .hero {
    min-height: 386px;
    align-items: center;
  }
  .hero-photo {
    width: 62%;
    inset-inline-start: auto;
    object-position: center 46%;
  }
  .hero-art {
    display: none;
  }
  .hero-shade {
    background:
      linear-gradient(
        to left,
        var(--olive-dark) 34%,
        #303721ec 42%,
        #30372100 78%
      ),
      var(--geometry);
  }
  .brand {
    width: 300px;
  }
  .hero-content {
    padding-block: 44px;
  }
  .sheet {
    inset: 0;
    margin: auto;
    height: fit-content;
    border-radius: 20px;
  }
  .handle {
    display: none;
  }
}
@media (min-width: 960px) {
  .items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.sheet-head {
  touch-action: none;
}
main:focus {
  outline: none;
}

.svg-definitions {
  position: absolute;
  overflow: hidden;
}
:root[data-font="tajawal"] {
  --heading: "Tajawal", Tahoma, Arial, sans-serif;
}
:root[data-font="kufi"] {
  --body: "Reem Kufi", Tahoma, Arial, sans-serif;
}
:root[data-font="system"] {
  --heading: Tahoma, Arial, sans-serif;
  --body: Tahoma, Arial, sans-serif;
}
.announcements {
  display: grid;
  gap: 12px;
  margin-block-end: 22px;
}
.announcement {
  border: 1px solid var(--line);
  border-inline-start: 4px solid #a98242;
  border-radius: 10px;
  padding: 14px 18px;
  background: var(--paper);
}
.announcement h2 {
  margin: 0;
  font: 600 1.18rem/1.5 var(--heading);
  color: var(--olive-dark);
  overflow-wrap: anywhere;
}
.announcement p {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.unavailable {
  color: #854021;
  font-weight: 700;
  font-size: 0.875rem;
}
