*,*::before,*::after{box-sizing:border-box;border:0 solid}
h1,h2,h3,p,figure{margin:0}
img{display:block;max-width:100%;height:auto}
button,input,textarea{font:inherit;color:inherit;background:transparent}
[hidden]{display:none!important}
[data-slot]{display:contents}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}


:root {
  --color-red: #d71920;
  --color-cream: #fff4dd;
  --color-ink: #3e1516;
  --color-paper: #fffaf2;
  --color-muted: #795c58;
  --color-line: #eedfd6;
  --color-field: #dec8bf;
  --font-sans: "Cairo", Tahoma, Arial, sans-serif;
  --radius-card: 17px;
  --radius-banner: 24px;
}

@layer base {
  button:not(:disabled),
  [role="button"]:not(:disabled) {
    cursor: pointer;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 78px;
  }

  body {
    margin: 0;
    background: var(--color-paper);
    color: var(--color-ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    padding-bottom: 108px;
  }

  button,
  a,
  textarea,
  input {
    -webkit-tap-highlight-color: transparent;
  }

  button,
  a {
    touch-action: manipulation;
  }

  button,
  input,
  textarea {
    font: inherit;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  :focus-visible {
    outline: 3px solid #ad7400;
    outline-offset: 3px;
  }
}

.site-header {
  min-height: 88px;
  padding: 10px max(5vw, 20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--color-red);
  color: var(--color-cream);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--color-red);
}

.brand small {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.phone-link {
  border: 1px solid #ffffff66;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-main {
  max-width: 1120px;
  margin: auto;
  padding: 24px;
}

.banner {
  border-radius: var(--radius-banner);
  overflow: hidden;
  background: var(--color-red);
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
}

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 25px;
}

.intro h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 800;
  line-height: 1.3;
}

.intro-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.intro-side span,
.muted {
  font-size: 14px;
  color: var(--color-muted);
}

.search {
  display: block;
  margin-top: 16px;
}

.search input {
  width: 100%;
  border: 1px solid var(--color-field);
  border-radius: 14px;
  padding: 12px 16px;
  background: white;
  color: var(--color-ink);
}

.search input::placeholder {
  color: #b08980;
}

.reorder {
  border: 1px solid #e8ccc5;
  background: white;
  color: var(--color-red);
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.cats {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  position: sticky;
  top: 0;
  background: #fffaf2f5;
  backdrop-filter: blur(8px);
  padding: 18px 0;
  z-index: 2;
  scrollbar-width: none;
}

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

.cats a {
  white-space: nowrap;
  border: 1px solid #e8ccc5;
  border-radius: 24px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cats a.active,
.cats a:hover {
  background: var(--color-red);
  color: white;
}

.pill-count {
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--color-red);
  color: white;
  font-size: 11px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
}

.cats a.active .pill-count,
.cats a:hover .pill-count {
  background: white;
  color: var(--color-red);
}

.section {
  scroll-margin-top: 12px;
  margin: 8px 0 36px;
}

.section h2 {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 15px;
}

.section h2::after {
  content: "";
  height: 1px;
  background: #e8d8cb;
  flex: 1;
}

.section-body {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.section-body.plain {
  display: block;
}

.section-photo {
  background-image: url("menu/menu-original.jpeg");
  background-repeat: no-repeat;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--color-line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.item {
  padding: 20px;
  background: white;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.item.with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  align-items: center;
  padding: 0 18px 18px;
  gap: 14px;
}

.product-photo {
  grid-column: 1 / -1;
  width: calc(100% + 36px);
  max-width: none;
  margin: 0 -18px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  background: #f6f5f5;
}

.product-photo.beverage {
  background-image: url("menu/drinks.webp");
  background-size: 500% 100%;
  background-repeat: no-repeat;
  aspect-ratio: 3 / 5;
  height: 220px;
  width: 132px;
  margin: 14px auto 0;
  object-fit: unset;
}

.item-copy h3 {
  font-size: 17px;
  margin: 0 0 5px;
  font-weight: 800;
}

.product-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 6px 0 10px;
}

.price {
  font-weight: 800;
  color: var(--color-red);
  white-space: nowrap;
}

.add {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--color-red);
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

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

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.quantity button {
  width: 36px;
  height: 36px;
  background: var(--color-cream);
  border: 1px solid #eac9bb;
  border-radius: 50%;
  color: var(--color-red);
  font-size: 22px;
  line-height: 1;
}

.quantity span {
  min-width: 18px;
  text-align: center;
  font-weight: 800;
}

.empty-search {
  background: white;
  border: 1px dashed #e8ccc5;
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  color: var(--color-muted);
}

.site-footer {
  text-align: center;
  color: var(--color-muted);
  font-size: 14px;
  padding: 8px 15px 15px;
}

.site-footer span {
  padding: 0 8px;
}

.share {
  display: inline-block;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--color-red);
  font-weight: 700;
  font-size: 14px;
}

.cart-bar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 28px));
  padding: 16px 20px;
  background: var(--color-red);
  color: white;
  border: 0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 8px 25px #ad111140;
  z-index: 5;
  font-weight: 700;
}

.cart-bar b {
  display: inline-block;
  background: #ffffff26;
  border-radius: 7px;
  padding: 1px 8px;
  margin-inline-start: 5px;
}

dialog.cart {
  border: 0;
  border-radius: 24px;
  padding: 22px 22px 18px;
  width: min(540px, calc(100% - 24px));
  max-height: min(92dvh, 860px);
  color: var(--color-ink);
  background: var(--color-paper);
  overflow: auto;
}

dialog.cart::backdrop {
  background: #23080bc4;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  position: sticky;
  top: -22px;
  background: var(--color-paper);
  z-index: 1;
  padding-bottom: 8px;
}

.dialog-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
}

.close {
  background: none;
  border: 0;
  font-size: 32px;
  line-height: 1;
  color: var(--color-ink);
  width: 44px;
  height: 44px;
}

.cart-tools {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 0;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e7d5ca;
  padding: 14px 0;
}

.cart-row strong {
  display: block;
  font-size: 16px;
}

.cart-row small {
  color: var(--color-red);
  font-weight: 700;
}

.upsell {
  margin-top: 16px;
  background: white;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 12px 14px;
}

.upsell p {
  margin: 0 0 8px;
  font-weight: 800;
}

.upsell-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}

.ghost-add {
  border: 0;
  background: var(--color-cream);
  color: var(--color-red);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 14px;
}

.cart label {
  display: block;
  margin: 16px 0 8px;
  font-weight: 700;
}

.cart label small,
.optional {
  color: var(--color-muted);
  font-weight: 600;
}

.req {
  color: var(--color-red);
}

.cart input,
.cart textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--color-field);
  border-radius: 12px;
  padding: 12px;
  background: white;
  color: var(--color-ink);
}

.cart input.invalid,
.cart textarea.invalid {
  border-color: var(--color-red);
}

.field-error {
  margin: 6px 0 0;
  color: var(--color-red);
  font-size: 13px;
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chip {
  border: 1px solid #e8ccc5;
  background: white;
  color: var(--color-ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.chip.on {
  background: var(--color-red);
  border-color: var(--color-red);
  color: white;
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 20px;
  font-weight: 800;
}

.total strong {
  color: var(--color-red);
}

.hint {
  font-size: 13px;
  color: var(--color-muted);
  margin: 8px 0 0;
}

.preview {
  margin-top: 12px;
  background: white;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 10px 12px;
}

.preview summary {
  font-weight: 800;
  cursor: pointer;
}

.preview pre {
  white-space: pre-wrap;
  font: inherit;
  font-size: 13px;
  line-height: 1.7;
  margin: 10px 0 0;
  color: var(--color-ink);
}

.actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.checkout {
  display: block;
  width: 100%;
  background: var(--color-red);
  color: white;
  padding: 14px;
  text-align: center;
  border-radius: 13px;
  font-weight: 800;
  border: 0;
}

.checkout:disabled {
  opacity: 0.45;
}

.copy-btn {
  width: 100%;
  background: white;
  color: var(--color-red);
  border: 1px solid #e8ccc5;
  border-radius: 13px;
  padding: 12px;
  font-weight: 800;
}

.fallback {
  display: block;
  text-align: center;
  color: var(--color-red);
  font-weight: 800;
  padding: 8px;
}

.status {
  min-height: 1.4em;
  font-size: 14px;
  font-weight: 700;
  margin: 8px 0 0;
}

@media (max-width: 900px) {
  .section-body {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .section-body .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 78px;
    padding: 8px 16px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 55px;
    height: 55px;
  }

  .menu-main {
    padding: 16px;
  }

  .banner {
    border-radius: 15px;
  }

  .intro {
    display: block;
    margin-top: 22px;
  }

  .intro h1 {
    font-size: 25px;
  }

  .intro-side {
    align-items: flex-start;
    margin-top: 8px;
  }

  .cats {
    margin: 0 -16px;
    padding: 14px 16px;
  }

  .grid,
  .section-body .grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .item {
    padding: 16px;
  }

  .section h2 {
    font-size: 22px;
  }

  .section-body {
    display: block;
  }

  .section-photo {
    width: 150px;
    margin: 0 auto 16px;
  }

  .product-photo {
    max-height: 260px;
    object-fit: contain;
    background: #f6f5f5;
  }

  .product-photo.beverage {
    object-fit: unset;
    max-height: 220px;
  }

  .cart-bar {
    font-size: 14px;
    padding: 15px 14px;
  }

  dialog.cart {
    width: calc(100% - 16px);
    padding: 16px;
    border-radius: 20px;
  }

  .dialog-head {
    top: -16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .add:active {
    transform: none;
  }
}
