:root {
  --red: #970b0b;
  --dark-red: #650000;
  --gold: #f3b22b;
  --cream: #f6ead4;
  --ink: #211814;
  --muted: #6f5e51;
  --paper: #fff8ea;
  --line: rgba(33, 24, 20, .14);
  --shadow: 0 18px 50px rgba(55, 15, 0, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(243, 178, 43, .35), transparent 28rem),
    linear-gradient(180deg, #fff2d8 0%, #f7e5c7 45%, #fff8ea 100%);
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  gap: 1.5rem;
  padding: clamp(1rem, 4vw, 3rem);
  color: white;
  background:
    linear-gradient(90deg, rgba(96, 0, 0, .95), rgba(121, 10, 10, .78) 45%, rgba(0, 0, 0, .08)),
    url("menu-original.png") right center / auto 100% no-repeat,
    var(--red);
  border-bottom: .5rem solid var(--gold);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mark {
  width: 4.7rem;
  height: 4.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--dark-red);
  background: var(--gold);
  border: .32rem solid #140f0d;
  font-weight: 900;
  box-shadow: 0 .5rem 0 rgba(0,0,0,.24);
}
.brand p, .hero-copy span { margin: 0; color: #ffd976; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: .1rem 0 0; font-size: clamp(3.2rem, 12vw, 8rem); line-height: .82; text-shadow: .22rem .22rem 0 #0f0d0b; }
.hero-copy { max-width: 42rem; }
.hero-copy h2 { margin: .2rem 0 .7rem; font-size: clamp(2.2rem, 8vw, 5.7rem); line-height: .9; }
.hero-copy p { max-width: 34rem; font-size: 1.08rem; line-height: 1.55; color: #fff4df; }

main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 1.25rem 0 7rem; }
.controls {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  gap: .8rem;
  padding: .9rem 0;
  background: linear-gradient(180deg, #f7e5c7 72%, rgba(247, 229, 199, 0));
}
.search {
  display: grid;
  gap: .35rem;
  font-weight: 800;
  color: var(--dark-red);
}
.search input, textarea, .checkout input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .9rem 1rem;
  background: #fffdf7;
  color: var(--ink);
  outline: none;
}
.search input:focus, textarea:focus, .checkout input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(151, 11, 11, .15); }
.tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .2rem; }
.tabs button {
  flex: 0 0 auto;
  border: 1px solid rgba(151, 11, 11, .22);
  border-radius: 999px;
  padding: .7rem 1rem;
  color: var(--dark-red);
  background: rgba(255, 248, 234, .74);
  font-weight: 800;
}
.tabs button.active { color: white; background: var(--red); border-color: var(--red); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.item-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.photo {
  height: 11rem;
  background-image: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.28)), url("menu-original.png");
  background-size: 190%, auto 165%;
  background-position: var(--pos, 82% 12%);
}
.item-body { padding: 1rem; }
.item-title { display: flex; justify-content: space-between; gap: .75rem; align-items: start; }
.item-title h3 { margin-bottom: .4rem; font-size: 1.2rem; line-height: 1.15; color: var(--dark-red); }
.item-title strong { color: var(--red); font-size: 1.15rem; white-space: nowrap; }
.description { color: var(--muted); line-height: 1.45; min-height: 2.6rem; }
.chooser { display: grid; gap: .45rem; margin: .75rem 0; }
.chooser label, fieldset label {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .58rem .65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.55);
}
.notes { display: grid; gap: .35rem; color: var(--muted); font-size: .92rem; }
.notes input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .7rem;
  background: white;
}
.add-row { display: flex; gap: .75rem; margin-top: .9rem; }
.stepper { display: grid; grid-template-columns: 2.4rem 2.4rem 2.4rem; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.stepper button, .stepper output { border: 0; display: grid; place-items: center; min-height: 2.4rem; background: white; font-weight: 900; }
.add {
  flex: 1;
  border: 0;
  border-radius: 8px;
  color: white;
  background: var(--red);
  font-weight: 900;
}

.cart-button {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 8;
  transform: translateX(-50%);
  width: min(430px, calc(100% - 2rem));
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: .95rem 1.1rem;
  color: white;
  background: #111;
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  font-weight: 900;
}
.cart-button strong { color: var(--gold); }

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 12;
  width: min(460px, 100%);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(105%);
  transition: transform .24s ease;
  background: #fff8ea;
  box-shadow: -24px 0 70px rgba(0,0,0,.25);
}
.cart-panel.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; padding: 1.1rem; color: white; background: var(--red); }
.cart-head p { margin-bottom: .15rem; color: #ffd976; font-weight: 800; }
.cart-head h2 { margin: 0; }
.icon-btn { width: 2.7rem; height: 2.7rem; border: 0; border-radius: 50%; font-size: 1.8rem; background: rgba(255,255,255,.14); color: white; }
.cart-items { overflow: auto; padding: 1rem; display: grid; align-content: start; gap: .8rem; }
.cart-line { border: 1px solid var(--line); border-radius: 8px; padding: .75rem; background: white; }
.cart-line h3 { margin-bottom: .25rem; font-size: 1rem; }
.cart-line p { margin: .2rem 0; color: var(--muted); font-size: .92rem; }
.cart-line div { display: flex; justify-content: space-between; gap: .7rem; align-items: center; }
.cart-line button { border: 0; color: var(--red); background: transparent; font-weight: 800; }
.checkout { border-top: 1px solid var(--line); padding: 1rem; display: grid; gap: .85rem; }
.checkout fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.checkout legend { grid-column: 1 / -1; margin-bottom: .35rem; font-weight: 900; color: var(--dark-red); }
.checkout label { display: grid; gap: .35rem; color: var(--muted); font-weight: 700; }
.totals { display: grid; gap: .35rem; }
.totals div { display: flex; justify-content: space-between; }
.grand { padding-top: .45rem; border-top: 1px solid var(--line); color: var(--red); font-size: 1.25rem; }
.whatsapp {
  display: block;
  text-align: center;
  border-radius: 8px;
  padding: .9rem 1rem;
  color: white;
  background: #128c4a;
  text-decoration: none;
  font-weight: 900;
}
.whatsapp.disabled { pointer-events: none; opacity: .45; }

@media (max-width: 900px) {
  .hero { min-height: 62vh; background-position: right top; background-size: auto 100%; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero { min-height: 76vh; align-content: end; background: linear-gradient(180deg, rgba(93,0,0,.7), rgba(93,0,0,.96)), url("menu-original.png") center top / cover no-repeat; }
  .brand { align-items: start; }
  .mark { width: 3.7rem; height: 3.7rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .checkout fieldset { grid-template-columns: 1fr; }
}

/* Compact menu layout, with customization revealed on demand. */
:root { --red: #d90909; --dark-red: #990000; --gold: #ffd324; --paper: #fff; --ink: #202020; --muted: #666; --line: #e7e7e7; }
body { background: #f6f6f6; letter-spacing: 0; }
.hero { position: sticky; top: 0; z-index: 6; min-height: 0; height: 76px; padding: 10px 24px; display: flex; justify-content: space-between; align-items: center; background: #111; border: 0; }
.brand { gap: 14px; }
.mark { width: 90px; height: 90px; flex: 0 0 90px; object-fit: contain; border-radius: 0; border: 0; box-shadow: none; background: transparent; }
h1 { font-size: 24px; line-height: 1.2; text-shadow: none; }
.brand p { font-size: 11px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.hero-copy span { font-size: 13px; letter-spacing: 0; text-transform: none; color: #eee; }
main { width: min(1440px, 100%); margin: 0 auto; padding: 0 0 110px; display: grid; grid-template-columns: 245px minmax(0, 1fr); align-items: start; }
.controls { top: 76px; padding: 24px 0; height: calc(100dvh - 76px); overflow: auto; background: #fff; border-right: 1px solid var(--line); gap: 16px; }
.search { padding: 0 16px; }
.search span { display: none; }
.search input { background: #f8f8f8; padding: 11px; }
.controls h2 { font-size: 17px; text-transform: uppercase; text-align: center; color: var(--red); margin: 8px 0 0; }
.tabs { display: flex; flex-direction: column; gap: 0; overflow: visible; }
.tabs button { width: 100%; padding: 15px 12px; border: 0; border-radius: 0; background: white; color: #333; font-size: 14px; text-transform: uppercase; font-weight: 500; white-space: normal; }
.tabs button.active { background: #fff5c2; color: #990000; border-left: 3px solid var(--red); font-weight: 700; }
.location { padding: 0 18px; font-size: 13px; line-height: 1.6; color: #666; }
.location h2 { margin-bottom: 16px; }
.location p { margin-bottom: 12px; }
.location a { color: var(--red); text-decoration: none; }
.menu-grid { padding: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; align-items: start; }
.category-heading { grid-column: 1 / -1; font-size: 20px; text-transform: uppercase; color: var(--red); margin: 8px 0 0; }
.category-heading:not(:first-child) { margin-top: 26px; }
.item-card { border: 0; box-shadow: 0 4px 20px rgba(0,0,0,.045); min-height: 142px; }
.item-body { padding: 20px 64px 20px 18px; position: relative; }
.item-title { gap: 12px; }
.item-title h3 { color: #282828; font-size: 16px; line-height: 1.4; text-transform: uppercase; }
.item-title strong { color: #a80000; font-size: 16px; line-height: 1.4; }
.description { font-size: 14px; line-height: 1.65; min-height: 0; margin: 7px 0 0; }
.customize summary { position: absolute; right: 15px; bottom: 18px; list-style: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-size: 24px; font-weight: 700; cursor: pointer; }
.customize summary::-webkit-details-marker { display: none; }
.customize[open] summary { top: 16px; bottom: auto; background: #eee; color: var(--red); }
.customize[open] { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 6px; }
.customize .chooser { font-size: 13px; }
.customize .chooser label { padding: 8px; }
.cart-button { border-radius: 8px; background: #111; border: 2px solid var(--gold); }
.cart-panel { background: #fff; }
.cart-panel .checkout { overflow-y: auto; max-height: 65dvh; background: #fff; }
.cart-panel .checkout fieldset label { display: flex; }
.cart-panel .checkout input[type=radio] { width: auto; }
button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 1050px) { main { grid-template-columns: 210px minmax(0, 1fr); } .menu-grid { padding: 24px; gap: 14px; } .item-title { flex-wrap: wrap; } }
@media (max-width: 760px) {
  .hero { height: 96px; padding: 8px 16px; }
  h1 { font-size: 22px; }
  .hero-copy { display: none; }
  main { display: block; }
  .controls { top: 96px; height: auto; padding: 12px 0 0; border-right: 0; border-bottom: 1px solid var(--line); gap: 10px; overflow: visible; }
  .controls > h2, .location { display: none; }
  .tabs { flex-direction: row; overflow-x: auto; }
  .tabs button { width: auto; white-space: nowrap; padding: 12px 16px; font-size: 12px; }
  .tabs button.active { border-left: 0; border-bottom: 2px solid var(--red); }
  .menu-grid { padding: 18px 14px; grid-template-columns: 1fr; gap: 12px; }
  .category-heading { font-size: 18px; }
  .item-title { flex-wrap: nowrap; }
  .item-title h3 { font-size: 14px; }
  .item-title strong { font-size: 14px; }
  .item-card { min-height: 120px; }
  .item-body { padding: 16px 56px 18px 16px; }
  .description { font-size: 13px; }
}

.hero { height: 110px; background: #090909; border-bottom: 3px solid var(--gold); }
.controls { top: 110px; height: calc(100dvh - 110px); }
.brand p { color: var(--gold); }
h1 { font-weight: 900; }
.category-heading { border-bottom: 2px solid var(--gold); padding-bottom: 10px; font-weight: 900; }
.item-card { border-left: 3px solid #ffd324; }
.add { background: #c00000; }
.cart-head { background: #090909; border-bottom: 3px solid var(--gold); }
.cart-head p { color: var(--gold); }
.whatsapp { background: #b80000; border-bottom: 3px solid var(--gold); }
.open-item { position: absolute; right: 15px; bottom: 18px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #c00000; color: white; font-size: 24px; font-weight: 700; }
.item-title { cursor: pointer; }
.item-dialog { width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 28px 24px 24px; border: 0; border-top: 4px solid var(--gold); border-radius: 8px; overflow-y: auto; color: var(--ink); background: white; box-shadow: 0 20px 80px #0006; }
.item-dialog::backdrop { background: #000a; }
body:has(.item-dialog[open]) { overflow: hidden; }
.close-item { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eee; font-size: 24px; color: #333; }
.dialog-title { padding-right: 36px; margin-bottom: 12px; font-size: 22px; line-height: 1.3; color: #990000; }
.dialog-description { font-size: 14px; line-height: 1.6; color: #666; }
.item-dialog .chooser { margin: 18px 0; }
.item-dialog .chooser strong { margin-top: 8px; }
.item-dialog .chooser label { background: #fafafa; padding: 12px; }
.item-dialog .add-row { position: sticky; bottom: -24px; padding: 14px 0; background: white; }
.item-dialog .add { min-height: 44px; padding: 8px; font-size: 14px; }
.cart-line .cart-actions { margin-top: 12px; }
.cart-line .stepper { display: grid; gap: 0; }
.stepper button:disabled { opacity: .35; cursor: default; }
input[type=radio], input[type=checkbox] { accent-color: #c00000; }
@media (max-width: 760px) {
  .hero { height: 96px; }
  .mark { width: 76px; height: 76px; flex-basis: 76px; }
  .brand { align-items: center; }
  .controls { top: 96px; height: auto; }
}
