.menu-stage {
  padding: 32px 0 80px;
  position: relative;
  background:
    linear-gradient(#000b, #000b),
    url("../img/b6a28c706946.webp") center/cover fixed;
}
.menu-toolbar {
  display: flex;
  align-items: center;
  background: var(--yellow);
  color: #000;
  border-radius: 16px;
  padding: 8px 12px;
  gap: 4px;
  height: 60px;
  position: sticky;
  top: 12px;
  z-index: 40;
  box-shadow: 0 8px 18px #0001;
}
.category-track {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  overscroll-behavior-x: contain;
}
.category-track::-webkit-scrollbar {
  display: none;
}
.category-tab {
  white-space: nowrap;
  font-size: 14px;
  padding: 16px 12px;
  line-height: 18px;
  border-bottom: 2px solid transparent;
  opacity: 0.72;
}
.category-tab.active {
  border-color: #000;
  opacity: 1;
}
.toolbar-cart {
  background: #000;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  padding: 10px 14px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 8px #0003;
}
.toolbar-cart .icon {
  width: 16px;
  height: 16px;
}
.search-box {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-box input {
  background: transparent;
  border: 0;
  outline: none !important;
  padding: 8px;
  flex: 1;
  min-width: 0;
  color: #000;
}
.search-box input::placeholder {
  color: #0009;
}
.menu-heading {
  margin: 40px 0 32px;
}
.category-section {
  scroll-margin-top: 92px;
  margin-top: 40px;
}
.category-section:first-child {
  margin-top: 0;
}
.category-title {
  background: var(--yellow);
  color: #000;
  border-radius: 16px;
  text-align: center;
  padding: 14px 12px;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 24px;
  margin-bottom: 24px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px #0002;
  transition: box-shadow 0.2s;
}
.product-card:hover {
  box-shadow: 0 7px 20px #0004;
}
.product-link {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}
.product-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-copy {
  padding: 12px 12px 50px;
  min-height: 116px;
}
.product-copy h3 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}
.product-price {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}
.product-add {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  font-size: 0;
  line-height: 0;
  box-shadow: 0 6px 12px #0002;
  transition: transform 0.15s;
}
.product-add::before,
.product-add::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.product-add::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.product-add:hover {
  transform: scale(1.1);
}
.product-badge {
  position: absolute;
  top: calc(100% - 145px);
  left: 12px;
  background: #444d;
  color: #fff;
  border-radius: 8px;
  padding: 2px 5px;
  font-size: 10px;
}
.product-modal {
  padding: 0;
  background: #fff;
  color: var(--ink);
  width: min(1120px, calc(100vw - 48px));
  height: 720px;
  max-height: 90dvh;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  position: relative;
}
.product-large-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}
.product-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.product-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 24px 0;
  overscroll-behavior: contain;
}
.product-intro {
  margin-bottom: 24px;
}
.product-intro h1,
.product-intro h2 {
  font-size: 24px;
  line-height: 32px;
  padding-right: 20px;
}
.product-intro p {
  color: #80776a;
  font-size: 14px;
  line-height: 20px;
  margin: 4px 0 10px;
}
.product-intro strong {
  color: var(--yellow);
  font-size: 24px;
}
.modifier-group {
  margin-bottom: 22px;
}
.modifier-heading {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: start;
  gap: 8px;
  padding: 0;
  margin-bottom: 10px;
}
.modifier-heading > span:first-child {
  flex: 1;
}
.modifier-heading strong {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.modifier-heading small {
  display: block;
  color: #999;
  font-size: 12px;
  margin-top: 3px;
}
.modifier-heading .icon {
  width: 16px;
  height: 16px;
  color: #888;
}
.requirement {
  font-size: 11px;
  border-radius: 4px;
  background: #fef0f0;
  color: #ff3434;
  padding: 3px 8px;
  white-space: nowrap;
}
.requirement.optional {
  background: #f4f4f4;
  color: #999;
}
.requirement.complete {
  background: #dcfce7;
  color: #15803d;
}
.modifier-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 61px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
  font-size: 14px;
}
.option-label {
  flex: 1;
  text-align: left;
  padding: 16px 0;
  align-self: stretch;
}
.option-label small {
  display: block;
  color: #8e8983;
  font-size: 12px;
}
.option-toggle {
  width: 28px;
  height: 28px;
  padding: 0;
  line-height: 1;
  border: 2px solid #aaa;
  border-radius: 6px;
  flex-shrink: 0;
  color: #000;
  display: grid;
  place-items: center;
}
.option-toggle .icon {
  display: block;
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}
.modifier-group.single .option-toggle {
  border-radius: 50%;
}
.option-toggle.selected {
  background: var(--yellow);
  border-color: var(--yellow);
}
.option-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.option-quantity button {
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 28px;
  height: 28px;
}
.note-toggle {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  font-size: 14px;
  margin: 12px 0 24px;
  color: #80776a;
}
.note-toggle:hover {
  border-color: #b8b4ad;
  background: #fafaf8;
}
.product-note {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  resize: vertical;
  margin-bottom: 20px;
}
.product-actions {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  padding: 12px 24px;
  background: #fff;
  align-items: center;
  border-top: 1px solid var(--line);
}
.product-actions .primary {
  flex: 1;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 14px;
  justify-content: space-between;
}
.product-actions .primary:disabled {
  justify-content: center;
}
.product-actions .quantity {
  font-size: 16px;
}
.product-recommendations h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.related-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.related-heading h3 {
  margin: 0;
}
.related-controls {
  display: flex;
  flex-shrink: 0;
}
.related-controls .icon-button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
}
.product-recommendations .recommendation-track {
  overscroll-behavior-x: contain;
}
.product-recommendations {
  margin: 10px 0 24px;
}
.product-recommendations .recommendation {
  border-color: #ddd;
  width: 140px;
}
.no-results {
  padding: 60px;
  text-align: center;
}
.search-dialog input {
  width: 100%;
  padding: 12px;
}
.search-results {
  margin-top: 20px;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .menu-stage {
    padding: 26px 0 56px;
    background-attachment: fixed;
  }
  .menu-toolbar {
    top: 12px;
    padding: 6px 8px;
  }
  .toolbar-cart {
    display: none;
  }
  .category-tab {
    padding: 16px 12px;
  }
  .menu-heading {
    margin: 40px 0 32px;
    font-size: 30px;
  }
  .category-section {
    margin-top: 40px;
  }
  .category-title {
    font-size: 18px;
    letter-spacing: 3.5px;
    padding: 14px 8px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-copy {
    padding: 12px 12px 50px;
    min-height: 105px;
  }
  .product-copy h3 {
    font-size: 14px;
    line-height: 17.5px;
  }
  .product-price {
    font-size: 14px;
    margin-top: 6px;
  }
  .product-badge {
    top: auto;
    bottom: 115px;
  }
  .product-overlay {
    padding: 12px;
    align-items: center;
  }
  .product-modal {
    width: 100%;
    height: 820px;
    max-height: calc(100dvh - 24px);
    border-radius: 18px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(100px, 27dvh) minmax(0, 1fr);
  }
  .product-large-photo {
    width: 100%;
    height: 100%;
  }
  .product-panel {
    min-height: 0;
  }
  .product-scroll {
    padding: 14px 16px 0;
  }
  .product-intro {
    margin-bottom: 22px;
  }
  .product-intro h1,
  .product-intro h2 {
    font-size: 18px;
    line-height: 24px;
  }
  .product-intro p {
    font-size: 12px;
    margin-top: 4px;
  }
  .product-intro strong {
    font-size: 20px;
  }
  .modifier-heading strong {
    font-size: 16px;
    line-height: 20px;
  }
  .modifier-option {
    font-size: 14px;
  }
  .product-actions {
    padding: 12px 16px;
  }
  .product-actions .primary {
    font-size: 12px;
  }
  .product-modal .close-button {
    position: absolute;
    right: 14px;
    top: 14px;
  }
}
.product-modal .product-intro strong {
  font-family: "Figtree", sans-serif;
}
.product-copy {
  min-height: 116px;
}
@media (max-width: 767px) {
  .product-copy {
    min-height: 105px;
  }
}
.category-title {
  overflow-wrap: anywhere;
}
.product-copy h3 {
  overflow-wrap: anywhere;
}
