.lfb-active-order { box-sizing: border-box; width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 11px 14px; border: 0; border-left: 4px solid #31594b; border-radius: 7px; background: #edf3ef; color: #27352f; text-align: left; }
.lfb-active-order span { display: grid; gap: 2px; }
.lfb-active-order small, .lfb-active-order em { font-size: 9px; font-style: normal; }
.lfb-active-order b { font-size: 13px; }
.lfb-shop { border-left: 3px solid var(--lfb-shop-accent, #d9d5ca); }
.lfb-detail-head { background: var(--lfb-shop-accent, #34312b); }
.lfb-reviews { min-height: 0; flex: 1; overflow: auto; padding: 12px 14px calc(90px + env(safe-area-inset-bottom)); }
.lfb-reviews article { padding: 13px 2px; border-bottom: 1px solid var(--lfb-line); }
.lfb-reviews article header { display: flex; justify-content: space-between; }
.lfb-reviews article header span { color: #c58b00; }
.lfb-reviews article p { margin: 8px 0; font-size: 12px; line-height: 1.6; }
.lfb-reviews article small { color: var(--lfb-muted); }
.lfb-shell {
  --lfb-yellow: #ffd12f;
  --lfb-cream: #fff3bd;
  --lfb-ink: #24231f;
  --lfb-muted: #89867e;
  --lfb-line: #eeeae2;
  --lfb-red: #f05235;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f5f5f3;
  color: var(--lfb-ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
.lfb-shell *,
.lfb-dialog * {
  box-sizing: border-box;
}
.lfb-shell button,
.lfb-shell input,
.lfb-dialog button,
.lfb-dialog input {
  font: inherit;
  letter-spacing: 0;
}
.lfb-shell button,
.lfb-dialog button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lfb-shell button:disabled,
.lfb-dialog button:disabled,
.lfb-dialog input:disabled {
  cursor: default;
  opacity: 0.52;
}
.lfb-home-head {
  flex: none;
  padding: calc(7px + env(safe-area-inset-top)) 12px 8px;
  background: linear-gradient(180deg, #ffe674, #ffdc48);
  border-bottom: 1px solid #efd15c;
}
.lfb-brand-row {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.lfb-home-back,
.lfb-icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border: 0;
  background: transparent;
  color: inherit;
}
.lfb-home-back {
  margin-left: -9px;
}
.lfb-brand-row > .lfb-location {
  min-width: 0;
  flex: 1;
}
.lfb-location {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #332e20;
  font-size: 14px;
  font-weight: 750;
}
.lfb-location span {
  min-width: 0;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lfb-location-edit {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lfb-location-edit input {
  min-width: 0;
  flex: 1;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d7b940;
  border-radius: 17px;
  background: #fff;
}
.lfb-location-edit button {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 17px;
  background: #292823;
  color: #fff;
  font-size: 12px;
}
.lfb-search {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 4px 3px 12px;
  border: 1px solid #e9bd27;
  border-radius: 23px;
  background: #fff;
  color: #aaa69c;
  box-shadow: 0 2px 8px #8e70131a;
}
.lfb-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #292822;
  font-size: 14px;
}
.lfb-search-clear {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #99958d;
}
.lfb-search-submit {
  height: 34px;
  min-width: 58px;
  padding: 0 14px;
  border: 0;
  border-radius: 18px;
  background: var(--lfb-yellow);
  color: #342c16;
  font-size: 13px;
  font-weight: 800;
}
.lfb-hot {
  height: 25px;
  display: flex;
  align-items: end;
  gap: 15px;
  padding-left: 10px;
}
.lfb-hot button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #765f2b;
  font-size: 10px;
}
.lfb-hot button:last-child {
  margin-left: auto;
}
.lfb-search-state {
  min-height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 -2px;
  padding: 5px 9px;
  border-radius: 5px;
  background: #fff9dd;
  color: #76601f;
  font-size: 10px;
}
.lfb-search-state span {
  min-width: 0;
  flex: 1;
}
.lfb-search-state button {
  border: 0;
  background: transparent;
  color: #9b6a00;
  font-weight: 700;
}
.lfb-search-state.is-error {
  background: #fff0eb;
  color: #a6412e;
}
.lfb-home-main {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 10px 18px;
  scrollbar-width: none;
}
.lfb-home-main::-webkit-scrollbar,
.lfb-menu-items::-webkit-scrollbar,
.lfb-menu aside::-webkit-scrollbar {
  display: none;
}
.lfb-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 2px;
  margin: 0 -10px;
  padding: 13px 8px 12px;
  background: #fff;
}
.lfb-categories button {
  min-width: 0;
  min-height: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4b4942;
}
.lfb-categories button span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff5d7;
  font-size: 22px;
}
.lfb-categories button:nth-child(3n) span {
  background: #fff0e9;
}
.lfb-categories button:nth-child(3n + 1) span {
  background: #eef8ef;
}
.lfb-categories button b {
  font-size: 11px;
  font-weight: 500;
}
.lfb-categories button.active b {
  color: #bd7600;
  font-weight: 800;
}
.lfb-categories button.active span {
  box-shadow: 0 0 0 2px #ffc91f;
}
.lfb-recommend {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 7px;
  margin: 9px 0;
}
.lfb-recommend button {
  position: relative;
  min-width: 0;
  height: 84px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 10px;
  border: 0;
  border-radius: 7px;
  background: var(--lfb-shop-soft, #fff1c9);
  color: #393124;
  text-align: left;
}
.lfb-recommend button:last-child {
  background: #ffe7df;
}
.lfb-recommend span {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
}
.lfb-recommend small,
.lfb-recommend b,
.lfb-recommend em {
  display: block;
}
.lfb-recommend small {
  font-size: 10px;
  color: #a16616;
}
.lfb-recommend b {
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.lfb-recommend em {
  margin-top: 7px;
  color: #8b6f40;
  font-size: 9px;
  font-style: normal;
}
.lfb-recommend img {
  width: 54px;
  height: 64px;
  flex: none;
  border-radius: 6px;
  object-fit: cover;
}
.lfb-recommend button:last-child img {
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  border-radius: 0;
  opacity: 0.6;
  mask-image: linear-gradient(90deg, transparent, #000 40%);
}
.lfb-character-pick { margin: 0 0 9px; }
.lfb-character-pick-trigger { width: 100%; min-height: 45px; display: flex; align-items: center; gap: 9px; padding: 7px 10px; border: 1px solid #e4e1d9; border-radius: 7px; background: #fff; color: #45423b; text-align: left; }
.lfb-character-pick-trigger > span { min-width: 0; flex: 1; }
.lfb-character-pick-trigger b, .lfb-character-pick-trigger small { display: block; }
.lfb-character-pick-trigger b { font-size: 12px; }
.lfb-character-pick-trigger small { margin-top: 2px; color: var(--lfb-muted); font-size: 9px; }
.lfb-character-pick-trigger > svg:first-child { color: #b17813; }
.lfb-suggestion-card { margin-top: 6px; padding: 10px; border: 1px solid #e5dfd0; border-left: 3px solid #b8892d; border-radius: 7px; background: #fff; }
.lfb-suggestion-card header, .lfb-suggestion-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lfb-suggestion-card header span, .lfb-suggestion-card footer span { min-width: 0; }
.lfb-suggestion-card header small, .lfb-suggestion-card header b, .lfb-suggestion-card footer small, .lfb-suggestion-card footer strong { display: block; }
.lfb-suggestion-card header small, .lfb-suggestion-card footer small { color: var(--lfb-muted); font-size: 9px; }
.lfb-suggestion-card header b { margin-top: 2px; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.lfb-suggestion-card header em { flex: none; padding: 2px 5px; border-radius: 3px; background: #f3f0e8; color: #83765a; font-size: 8px; font-style: normal; }
.lfb-suggestion-card > p { margin: 7px 0; color: #767168; font-size: 10px; line-height: 1.45; }
.lfb-suggestion-card ul { display: grid; gap: 4px; margin: 7px 0; padding: 7px 0; border-top: 1px solid #f0ede6; border-bottom: 1px solid #f0ede6; list-style: none; }
.lfb-suggestion-card li { min-width: 0; display: flex; justify-content: space-between; gap: 8px; color: #49463f; font-size: 10px; }
.lfb-suggestion-card li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lfb-suggestion-card li small { margin-left: 5px; color: var(--lfb-muted); }
.lfb-suggestion-card footer strong { margin-top: 1px; color: var(--lfb-red); font-size: 15px; }
.lfb-suggestion-card footer button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 16px; background: var(--lfb-yellow); color: #352c17; font-size: 10px; font-weight: 800; }
.lfb-list-head {
  display: flex;
  align-items: baseline;
  padding: 8px 2px 5px;
}
.lfb-list-head > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.lfb-list-head h2 {
  margin: 0;
  font-size: 18px;
}
.lfb-list-head small {
  color: var(--lfb-muted);
  font-size: 10px;
}
.lfb-sort {
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 -10px 9px;
  padding: 0 10px;
  background: #f5f5f3ee;
  backdrop-filter: blur(8px);
}
.lfb-sort button {
  height: 38px;
  border: 0;
  background: transparent;
  color: #77746c;
  font-size: 11px;
}
.lfb-sort button.active {
  color: #24231f;
  font-weight: 800;
}
.lfb-sort button.active:after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto 0;
  border-radius: 1px;
  background: var(--lfb-yellow);
}
.lfb-shop-list {
  display: grid;
  gap: 8px;
}
.lfb-shop {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: inherit;
  text-align: left;
  box-shadow: 0 2px 9px #4037160a;
}
.lfb-photo {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #fff1c0;
  color: #9c7016;
}
.lfb-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.lfb-photo b {
  font-size: 25px;
}
.lfb-shop-photo {
  width: 82px;
  height: 82px;
}
.lfb-shop-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lfb-shop-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lfb-shop-title b {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  line-height: 1.35;
}
.lfb-shop-title em {
  padding: 2px 4px;
  border: 1px solid #eadfbd;
  border-radius: 3px;
  color: #8f7951;
  font-size: 8px;
  font-style: normal;
}
.lfb-shop-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  color: #88847b;
  font-size: 10px;
}
.lfb-shop-stats strong {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #ed6b22;
}
.lfb-shop-stats .lfb-eta {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lfb-shop-fees {
  margin-top: 6px;
  color: #79766e;
  font-size: 10px;
}
.lfb-shop-fees i {
  display: inline-block;
  width: 1px;
  height: 9px;
  margin: 0 5px;
  background: #ddd9cf;
  vertical-align: -1px;
}
.lfb-promo {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: #a0743c;
  font-size: 9px;
}
.lfb-promo em {
  padding: 2px 4px;
  border: 1px solid #f3c2b4;
  border-radius: 3px;
  color: #de573b;
  font-style: normal;
}
.lfb-shop-copy > small {
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #a09c93;
  font-size: 9px;
}
.lfb-empty {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #97938a;
  text-align: center;
}
.lfb-empty > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff2b9;
  color: #9b731b;
}
.lfb-empty h3 {
  margin: 10px 0 3px;
  color: #57544c;
  font-size: 14px;
}
.lfb-empty p {
  margin: 0;
  font-size: 11px;
}
.lfb-home-nav {
  flex: none;
  min-height: 58px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 3px 4px calc(3px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--lfb-line);
  background: #fff;
}
.lfb-home-nav button {
  position: relative;
  min-width: 0;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  background: transparent;
  color: #96928a;
  font-size: 10px;
}
.lfb-home-nav button.active {
  color: #29271f;
  font-weight: 800;
}
.lfb-home-nav button.active svg {
  color: #e0a800;
}
.lfb-home-nav i {
  position: absolute;
  top: 1px;
  left: 54%;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--lfb-red);
  color: #fff;
  font-size: 9px;
  font-style: normal;
}
.lfb-detail-head {
  flex: none;
  min-height: calc(128px + env(safe-area-inset-top));
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: start;
  gap: 4px;
  padding: calc(6px + env(safe-area-inset-top)) 7px 0;
  background-color: #d45420;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.lfb-detail-head > div {
  min-width: 0;
  padding-top: 31px;
  text-align: left;
}
.lfb-brand-tagline { display: block; margin-bottom: 3px; overflow: hidden; color: #ffffffd9; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.lfb-brand-mark { width: 58px; height: 58px; display: grid; place-items: center; flex: none; border-radius: 6px; background: var(--lfb-shop-soft, #fff1c0); color: var(--lfb-shop-accent, #9c7016); font-size: 20px; font-weight: 800; }
.lfb-detail-head h1 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
}
.lfb-detail-head p {
  display: flex;
  gap: 7px;
  margin: 5px 0 0;
  font-size: 10px;
}
.lfb-detail-head strong {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #ffd956;
}
.lfb-store-strip {
  position: relative;
  z-index: 1;
  flex: none;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -15px 10px 0;
  padding: 11px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 4px 16px #35220d16;
}
.lfb-store-strip .lfb-photo {
  width: 58px;
  height: 58px;
}
.lfb-store-strip p {
  min-width: 0;
  margin: 0;
  flex: 1;
}
.lfb-store-strip p strong,
.lfb-store-strip p b,
.lfb-store-strip p small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lfb-store-strip p strong {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #e36c1b;
  font-size: 11px;
}
.lfb-store-strip p b {
  margin-top: 5px;
  font-size: 11px;
}
.lfb-store-strip p small {
  margin-top: 5px;
  color: var(--lfb-muted);
  font-size: 9px;
}
.lfb-detail-tabs {
  flex: none;
  height: 43px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 6px;
  background: #fff;
  border-bottom: 1px solid var(--lfb-line);
}
.lfb-detail-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  color: #827e74;
  font-size: 13px;
}
.lfb-detail-tabs button.active {
  color: #29271f;
  font-weight: 800;
}
.lfb-detail-tabs button.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 28px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--lfb-yellow);
}
.lfb-menu {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
}
.lfb-menu aside {
  overflow-y: auto;
  background: #f5f5f3;
  scrollbar-width: none;
}
.lfb-menu aside button {
  position: relative;
  width: 100%;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 4px;
  border: 0;
  background: transparent;
  color: #7c7971;
  font-size: 11px;
  line-height: 1.25;
}
.lfb-menu aside button small {
  min-width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e7e5df;
  font-size: 8px;
}
.lfb-menu aside button.active {
  background: #fff;
  color: #29271f;
  font-weight: 800;
}
.lfb-menu aside button.active:before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 21px;
  background: var(--lfb-yellow);
}
.lfb-menu-items {
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 10px calc(90px + env(safe-area-inset-bottom));
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.lfb-menu-group > h2 {
  position: sticky;
  z-index: 1;
  top: 0;
  margin: 0;
  padding: 10px 0 7px;
  background: #fff;
  font-size: 14px;
}
.lfb-dish {
  min-width: 0;
  display: flex;
  gap: 9px;
  padding: 7px 0 13px;
  border-bottom: 1px solid #f1eee7;
}
.lfb-dish.is-bundle { margin: 5px -6px 8px; padding: 10px 6px 13px; border: 1px solid var(--lfb-shop-soft, #eeeae2); border-left: 3px solid var(--lfb-shop-accent, #31594b); border-radius: 6px; background: #fff; }
.lfb-bundle-label { display: inline-block; margin: 0 0 3px; padding: 2px 4px; border-radius: 3px; background: var(--lfb-shop-soft, #edf3ef); color: var(--lfb-shop-accent, #31594b); font-size: 8px; font-weight: 700; }
.lfb-dish-photo {
  width: 82px;
  height: 82px;
}
.lfb-dish > div {
  min-width: 0;
  flex: 1;
}
.lfb-dish h3 {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.lfb-dish p {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: #969289;
  font-size: 9px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.lfb-dish > div > small {
  display: block;
  margin-top: 5px;
  color: #aaa69d;
  font-size: 9px;
}
.lfb-dish footer {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.lfb-dish footer strong {
  min-width: 0;
  flex: 1;
  color: var(--lfb-red);
  font-size: 17px;
}
.lfb-dish footer del { color: #aaa69d; font-size: 10px; }
.lfb-dish footer button {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 15px;
  background: var(--lfb-yellow);
  color: #352c17;
  font-size: 21px;
  font-weight: 800;
}
.lfb-dish footer .lfb-spec-button {
  min-width: 54px;
  font-size: 10px;
}
.lfb-merchant {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px calc(90px + env(safe-area-inset-bottom));
}
.lfb-merchant section {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--lfb-line);
  background: #fff;
}
.lfb-merchant section > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 6px;
  background: var(--lfb-cream);
  color: #946b0b;
}
.lfb-merchant section div {
  min-width: 0;
}
.lfb-merchant section small,
.lfb-merchant section b {
  display: block;
}
.lfb-merchant section small {
  color: var(--lfb-muted);
  font-size: 9px;
}
.lfb-merchant section b {
  margin-top: 3px;
  font-size: 12px;
}
.lfb-merchant > p {
  margin: 12px 2px;
  color: #99958b;
  font-size: 10px;
}
.lfb-cart-bar {
  position: absolute;
  z-index: 4;
  right: 9px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  left: 9px;
  min-height: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: center;
  padding: 6px;
  border-radius: 30px;
  background: #292a27;
  color: #fff;
  box-shadow: 0 8px 24px #2d291f35;
}
.lfb-cart-summary {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 7px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.lfb-cart-summary > span:first-child {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--lfb-yellow);
  color: #362e1d;
}
.lfb-cart-summary i {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--lfb-red);
  font-size: 9px;
  font-style: normal;
}
.lfb-cart-summary > span:last-child {
  min-width: 0;
}
.lfb-cart-summary strong,
.lfb-cart-summary b,
.lfb-cart-summary small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lfb-cart-summary strong {
  font-size: 17px;
}
.lfb-cart-summary b {
  font-size: 13px;
}
.lfb-cart-summary small {
  margin-top: 3px;
  color: #babbb6;
  font-size: 8px;
}
.lfb-checkout {
  height: 46px;
  border: 0;
  border-radius: 23px;
  background: var(--lfb-yellow);
  color: #332b18;
  font-size: 13px;
  font-weight: 800;
}
.lfb-cart-bar > em {
  position: absolute;
  right: 10px;
  top: -18px;
  padding: 3px 7px;
  border-radius: 4px 4px 0 0;
  background: #fff1cb;
  color: #b55b2f;
  font-size: 9px;
  font-style: normal;
}
.lfb-dialog {
  width: min(calc(100% - 12px), 420px);
  max-width: none;
  max-height: min(88dvh, 720px);
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  color: var(--lfb-ink);
  box-shadow: 0 -18px 48px #2923182e;
  overflow: hidden;
}
.lfb-dialog::backdrop {
  background: #211e1880;
}
.lfb-sheet {
  max-height: min(88dvh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.lfb-sheet > header {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--lfb-line);
}
.lfb-sheet > header > div {
  min-width: 0;
  flex: 1;
}
.lfb-sheet > header small {
  display: block;
  color: #9a7522;
  font-size: 9px;
}
.lfb-sheet > header h2 {
  margin: 2px 0 0;
  font-size: 17px;
}
.lfb-sheet > header button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
}
.lfb-sheet-body {
  min-height: 0;
  overflow-y: auto;
  padding: 13px 14px;
}
.lfb-sheet fieldset {
  min-width: 0;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.lfb-sheet legend {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}
.lfb-sheet fieldset label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  padding: 0 11px;
  border: 1px solid #e3dfd5;
  border-radius: 6px;
}
.lfb-sheet fieldset label.active {
  border-color: #e1af1a;
  background: #fff8dc;
}
.lfb-sheet fieldset input {
  accent-color: #d5a00a;
}
.lfb-sheet fieldset label span {
  min-width: 0;
  flex: 1;
  font-size: 13px;
}
.lfb-sheet fieldset label small {
  color: #8b877e;
  font-size: 11px;
}
.lfb-sheet > footer {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--lfb-line);
}
.lfb-sheet > footer > strong,
.lfb-sheet > footer > span {
  min-width: 0;
  flex: 1;
}
.lfb-sheet > footer > strong {
  color: var(--lfb-red);
  font-size: 20px;
}
.lfb-sheet > footer > button {
  min-width: 118px;
  height: 46px;
  border: 0;
  border-radius: 23px;
  background: var(--lfb-yellow);
  font-size: 13px;
  font-weight: 800;
}
.lfb-cart-tools {
  display: flex;
  align-items: center;
  min-height: 36px;
  border-bottom: 1px solid #f0ede5;
  color: #8d897f;
  font-size: 10px;
}
.lfb-cart-tools span {
  flex: 1;
}
.lfb-cart-tools button {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #8a665b;
  font-size: 11px;
}
.lfb-cart-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 68px;
  padding: 9px 0;
  border-bottom: 1px solid #f0ede5;
}
.lfb-cart-row > div {
  min-width: 0;
}
.lfb-cart-row > div b,
.lfb-cart-row > div small,
.lfb-cart-row > div em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lfb-cart-row > div b {
  font-size: 13px;
}
.lfb-cart-row > div small,
.lfb-cart-row > div em {
  margin-top: 3px;
  color: #99958b;
  font-size: 9px;
  font-style: normal;
}
.lfb-cart-row > strong {
  color: var(--lfb-red);
  font-size: 13px;
}
.lfb-cart-row > span {
  display: grid;
  grid-template-columns: 30px 22px 30px;
  align-items: center;
  text-align: center;
}
.lfb-cart-row > span button {
  width: 30px;
  height: 30px;
  border: 1px solid #e1ddd2;
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
}
.lfb-cart-row > span button:last-child {
  border-color: #e7b91f;
  background: var(--lfb-yellow);
}
.lfb-costs {
  margin: 11px 0 0;
}
.lfb-costs > div {
  display: flex;
  padding: 4px 0;
  color: #706c63;
  font-size: 11px;
}
.lfb-costs dt {
  min-width: 0;
  flex: 1;
}
.lfb-costs dd {
  margin: 0;
}
.lfb-costs .discount {
  color: #d45c40;
}
.lfb-cart-error {
  margin: 11px 0 0;
  padding: 9px 10px;
  border-radius: 6px;
  background: #fff0ec;
  color: #b64534;
  font-size: 11px;
}
.lfb-cart-dialog .lfb-sheet > footer span small,
.lfb-cart-dialog .lfb-sheet > footer span strong {
  display: block;
}
.lfb-cart-dialog .lfb-sheet > footer span small {
  color: #969188;
  font-size: 9px;
}
.lfb-cart-dialog .lfb-sheet > footer span strong {
  color: var(--lfb-red);
  font-size: 19px;
}
.lfb-more-actions {
  padding: 5px 14px calc(16px + env(safe-area-inset-bottom));
}
.lfb-more-actions > button,
.lfb-more-api {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid var(--lfb-line);
  background: #fff;
  color: #625638;
  text-align: left;
}
.lfb-more-actions > button > span,
.lfb-more-api > span {
  min-width: 0;
  flex: 1;
}
.lfb-more-actions b,
.lfb-more-actions small {
  display: block;
}
.lfb-more-actions b {
  color: #33312b;
  font-size: 13px;
}
.lfb-more-actions small {
  margin-top: 3px;
  color: #918d83;
  font-size: 10px;
}
@media (max-width: 340px) {
  .lfb-home-head {
    padding-inline: 9px;
  }
  .lfb-home-main {
    padding-inline: 7px;
  }
  .lfb-categories {
    margin-inline: -7px;
  }
  .lfb-shop {
    gap: 8px;
    padding: 9px;
  }
  .lfb-shop-photo {
    width: 70px;
    height: 76px;
  }
  .lfb-shop-stats {
    gap: 4px;
  }
  .lfb-recommend {
    grid-template-columns: 1.2fr 1fr;
  }
  .lfb-recommend button {
    padding: 8px;
  }
  .lfb-recommend img {
    width: 43px;
  }
  .lfb-menu {
    grid-template-columns: 68px minmax(0, 1fr);
  }
  .lfb-menu-items {
    padding-inline: 7px;
  }
  .lfb-dish {
    gap: 7px;
  }
  .lfb-dish-photo {
    width: 68px;
    height: 72px;
  }
  .lfb-cart-bar {
    right: 5px;
    left: 5px;
    grid-template-columns: minmax(0, 1fr) 78px;
  }
  .lfb-dialog {
    width: calc(100% - 6px);
  }
  .lfb-cart-row {
    gap: 5px;
  }
  .lfb-cart-row > span {
    grid-template-columns: 28px 19px 28px;
  }
  .lfb-cart-row > span button {
    width: 28px;
    height: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lfb-menu-items {
    scroll-behavior: auto;
  }
}
