:root {
  color-scheme: light;
  --ink: #1f1712;
  --muted: #6e6259;
  --paper: #fbf7ef;
  --paper-deep: #f0e3d2;
  --line: #dfcfbd;
  --red: #9f2f21;
  --red-deep: #6f2017;
  --gold: #c99236;
  --green: #315948;
  --charcoal: #14100c;
  --shadow: 0 18px 60px rgba(45, 27, 13, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(251, 247, 239, 0.92);
  border-bottom: 1px solid rgba(65, 43, 31, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: #fce9bd;
  border-radius: 50%;
  font-weight: 800;
  box-shadow: inset 0 0 0 2px rgba(252, 233, 189, 0.35);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  margin-top: 2px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: #4b372b;
  font-weight: 650;
}

nav a {
  padding: 9px 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  color: var(--red);
  background: #fffaf2;
  border: 1px solid rgba(159, 47, 33, 0.22);
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone:hover {
  background: #fff3e4;
}

.cart-pill,
.notice-band button,
.primary-action,
.secondary-action,
.stripe-button,
.toolbar button,
.item-card button {
  border: 0;
  cursor: pointer;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #fff7e9;
  background: var(--charcoal);
  border-radius: 999px;
}

.cart-pill strong {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  color: var(--charcoal);
  background: var(--gold);
  border-radius: 50%;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff6e7;
  background: #14100c url("assets/longdhang-hero.jpg?v=3") center / cover no-repeat;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 12, 6, 0.88), rgba(20, 12, 6, 0.56) 42%, rgba(20, 12, 6, 0.18)),
    linear-gradient(0deg, rgba(20, 12, 6, 0.75), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 0 clamp(22px, 6vw, 78px) 12vh;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.1rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 246, 231, 0.9);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  font-weight: 800;
}

.primary-action {
  background: var(--gold);
  color: #241408;
}

.secondary-action {
  background: rgba(255, 246, 231, 0.12);
  border: 1px solid rgba(255, 246, 231, 0.35);
  color: #fff6e7;
}

.hero-ticket {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 42px;
  z-index: 2;
  width: min(290px, calc(100vw - 36px));
  padding: 18px;
  background: rgba(251, 247, 239, 0.95);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-ticket span,
.hero-ticket strong,
.hero-ticket small {
  display: block;
}

.hero-ticket strong {
  margin: 6px 0;
  font-size: 1.4rem;
}

.notice-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: var(--green);
  color: #fff6e7;
}

.notice-band div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.notice-band span {
  color: rgba(255, 246, 231, 0.82);
}

.notice-band button {
  flex: 0 0 auto;
  padding: 10px 14px;
  background: #fff6e7;
  color: var(--green);
  border-radius: 4px;
  font-weight: 800;
}

.delivery-note {
  padding: 14px clamp(18px, 5vw, 64px);
  background: #fffaf2;
  border-bottom: 1px solid var(--line);
}

.delivery-note div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
}

.delivery-note strong {
  color: var(--red-deep);
}

.delivery-note span {
  color: var(--muted);
  line-height: 1.55;
}

.promo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promo-strip article {
  padding: 24px clamp(18px, 4vw, 38px);
  background: #fffaf2;
}

.promo-strip span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.promo-strip h2 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.promo-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section,
.logic-band {
  padding: 74px clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.audit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}

.audit-strip div,
.photo-standard {
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.audit-strip div {
  padding: 14px;
}

.audit-strip strong,
.audit-strip span {
  display: block;
}

.audit-strip strong {
  color: var(--red);
  font-size: 1.7rem;
}

.audit-strip span {
  color: var(--muted);
  margin-top: 3px;
}

.photo-standard {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  color: #4b372b;
}

.photo-standard span {
  color: var(--muted);
  line-height: 1.55;
}

.photo-standard code {
  padding: 2px 6px;
  background: #f1e2cc;
  border-radius: 4px;
  color: var(--red-deep);
}

.toolbar button {
  padding: 10px 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 760;
}

.toolbar button[aria-selected="true"] {
  color: #fff6e7;
  background: var(--red);
  border-color: var(--red);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.item-card {
  display: grid;
  gap: 14px;
  padding: 12px;
  min-height: 420px;
  background: #fffaf2;
  border: 1px solid rgba(114, 79, 49, 0.16);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(59, 36, 18, 0.08);
}

.item-card.is-popular {
  border-color: rgba(201, 146, 54, 0.55);
  box-shadow: inset 0 0 0 1px rgba(201, 146, 54, 0.18), 0 10px 30px rgba(59, 36, 18, 0.08);
}

.item-card.is-popular .item-top h3::after {
  content: "人气";
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 7px;
  color: #6f2017;
  background: #f4e5d2;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  vertical-align: middle;
}

.item-card.is-sold-out {
  opacity: 0.72;
}

.item-card.is-sold-out .dish-photo::after {
  content: "售罄";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff6e7;
  background: rgba(20, 16, 12, 0.58);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.item-card.is-sold-out button[disabled] {
  color: var(--muted);
  background: #e8dfd2;
  cursor: not-allowed;
}

.dish-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 188px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(circle at 48% 52%, rgba(255, 255, 255, 0.86) 0 22%, transparent 23%),
    radial-gradient(circle at 48% 52%, rgba(48, 28, 18, 0.14) 0 32%, transparent 33%),
    linear-gradient(135deg, #ead5b4, #9f2f21);
}

.dish-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-photo::before {
  content: "";
  position: absolute;
  inset: 20% 18%;
  border: 2px solid rgba(255, 248, 230, 0.6);
  border-radius: 50%;
}

.dish-photo::after {
  content: "";
  position: absolute;
  inset: auto 10% 12% 10%;
  height: 20%;
  background: radial-gradient(ellipse, rgba(22, 13, 8, 0.25), transparent 68%);
}

.dish-photo.has-real-photo::before {
  border-color: rgba(255, 255, 255, 0.22);
}

.dish-photo.has-real-photo::after {
  background: linear-gradient(0deg, rgba(20, 16, 12, 0.58), transparent);
  inset: 52% 0 0 0;
  height: auto;
  border-radius: 0;
}

.dish-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: #fff8e8;
  background: rgba(31, 23, 18, 0.48);
  border: 1px solid rgba(255, 248, 230, 0.42);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
}

.dish-photo.has-real-photo .dish-symbol {
  display: none;
}

.photo-state {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 8px;
  color: #fff8e8;
  background: rgba(31, 23, 18, 0.62);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.tone-steamer { background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.9) 0 20%, transparent 21%), linear-gradient(135deg, #d9c2a0, #8d2b20); }
.tone-pan { background: radial-gradient(circle at 52% 52%, rgba(255,244,218,.88) 0 20%, transparent 21%), linear-gradient(135deg, #d49a3a, #622015); }
.tone-fried { background: radial-gradient(circle at 48% 52%, rgba(255,235,175,.9) 0 22%, transparent 23%), linear-gradient(135deg, #d5a14d, #7d3820); }
.tone-soup { background: radial-gradient(circle at 50% 50%, rgba(245,250,232,.9) 0 22%, transparent 23%), linear-gradient(135deg, #d8d0b7, #315948); }
.tone-braise { background: radial-gradient(circle at 50% 52%, rgba(141,41,25,.7) 0 22%, transparent 23%), linear-gradient(135deg, #b6502f, #32150f); }
.tone-wok { background: radial-gradient(circle at 50% 52%, rgba(70,115,76,.82) 0 20%, transparent 21%), linear-gradient(135deg, #c99236, #315948); }
.tone-rice { background: radial-gradient(circle at 50% 52%, rgba(255,255,235,.88) 0 22%, transparent 23%), linear-gradient(135deg, #e2c686, #8f5b24); }
.tone-cold { background: radial-gradient(circle at 50% 52%, rgba(245,245,230,.86) 0 21%, transparent 22%), linear-gradient(135deg, #b8c0a7, #5d2b24); }
.tone-noodle { background: radial-gradient(circle at 50% 52%, rgba(238,204,122,.86) 0 22%, transparent 23%), linear-gradient(135deg, #d19d3f, #73402a); }
.tone-dessert { background: radial-gradient(circle at 50% 52%, rgba(255,245,235,.92) 0 22%, transparent 23%), linear-gradient(135deg, #e5b7a7, #9f2f21); }
.tone-frozen { background: radial-gradient(circle at 50% 52%, rgba(235,250,255,.92) 0 22%, transparent 23%), linear-gradient(135deg, #b6d9e2, #315948); }
.tone-drink { background: radial-gradient(circle at 50% 52%, rgba(235,250,255,.9) 0 20%, transparent 21%), linear-gradient(135deg, #7bb2b8, #315948); }
.tone-combo { background: radial-gradient(circle at 50% 52%, rgba(255,248,230,.9) 0 24%, transparent 25%), linear-gradient(135deg, #c99236, #9f2f21); }

.item-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.dish-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f5ddad, #b96c36);
  color: #35190d;
  font-weight: 900;
}

.item-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.item-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.photo-spec {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  background: #f5ead9;
  border-radius: 6px;
  font-size: 0.78rem;
}

.photo-spec strong {
  color: var(--red-deep);
}

.photo-spec span {
  color: var(--muted);
  line-height: 1.35;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tags span {
  padding: 5px 8px;
  color: var(--red-deep);
  background: #f4e5d2;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

.item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.item-bottom strong {
  font-size: 1.16rem;
}

.item-card button {
  min-width: 92px;
  padding: 10px 12px;
  color: #fff6e7;
  background: var(--charcoal);
  border-radius: 4px;
  font-weight: 820;
}

.inline-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  background: var(--charcoal);
  border-radius: 999px;
}

.inline-qty button {
  display: grid;
  place-items: center;
  min-width: 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--charcoal);
  background: var(--gold);
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
}

.inline-qty strong {
  min-width: 22px;
  color: #fff6e7;
  text-align: center;
}

.frozen-band {
  background: #efe5d7;
}

.logic-band {
  background: var(--charcoal);
  color: #fff6e7;
}

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

.logic-grid article {
  padding: 22px;
  min-height: 260px;
  border: 1px solid rgba(255, 246, 231, 0.16);
  border-radius: 8px;
  background: rgba(255, 246, 231, 0.05);
}

.step {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  font-weight: 900;
}

.logic-grid h3 {
  margin: 28px 0 10px;
}

.logic-grid p {
  color: rgba(255, 246, 231, 0.74);
  line-height: 1.65;
}

.optimization-band {
  background:
    linear-gradient(180deg, rgba(201, 146, 54, 0.12), transparent 42%),
    var(--paper);
}

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

.optimization-grid article {
  min-height: 190px;
  padding: 22px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(59, 36, 18, 0.08);
}

.optimization-grid h3 {
  margin: 0 0 12px;
}

.optimization-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.pickup-list {
  margin: 22px 0 0;
  padding-left: 22px;
  line-height: 2;
  color: #4b372b;
  font-weight: 650;
}

.kitchen-panel {
  padding: 24px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.kitchen-panel code {
  display: block;
  margin-top: 18px;
  padding: 12px;
  overflow-x: auto;
  background: #201914;
  color: #f5ddad;
  border-radius: 6px;
}

.panel-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red-deep);
  font-weight: 850;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(18px, 5vw, 64px);
  background: #201914;
  color: #fff6e7;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  margin-top: 6px;
  color: rgba(255, 246, 231, 0.72);
}

.site-footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  color: #fff6e7;
  font-size: 0.92rem;
}

.legal-consent {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.legal-consent a,
.stripe-note a {
  color: var(--red-deep);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 54px clamp(16px, 5vw, 42px) 80px;
}

.legal-hero {
  padding: 34px 0 28px;
}

.legal-hero h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.98;
}

.legal-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-hero span {
  display: inline-flex;
  margin-top: 10px;
  color: var(--red-deep);
  font-weight: 800;
}

.legal-index {
  position: sticky;
  top: 71px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 12px 0;
  background: rgba(251, 247, 239, 0.94);
  border-top: 1px solid rgba(65, 43, 31, 0.1);
  border-bottom: 1px solid rgba(65, 43, 31, 0.1);
  backdrop-filter: blur(12px);
}

.legal-index a {
  padding: 8px 10px;
  color: #4b372b;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.legal-card {
  margin-top: 14px;
  padding: 26px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(59, 36, 18, 0.06);
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-card a {
  color: var(--red-deep);
  font-weight: 800;
}

.fine-print {
  font-size: 0.9rem;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  justify-content: flex-end;
  background: rgba(20, 16, 12, 0.5);
}

.cart-drawer.open {
  display: flex;
}

.cart-panel {
  width: min(460px, 100vw);
  height: 100%;
  overflow-y: auto;
  padding: 22px;
  background: var(--paper);
  box-shadow: -18px 0 60px rgba(0, 0, 0, 0.22);
}

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.cart-head h2 {
  margin: 0;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #efe2d0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.cart-items {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.cart-empty {
  padding: 24px;
  color: var(--muted);
  background: #fffaf2;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "main price";
  gap: 14px;
  align-items: start;
  min-height: 126px;
  padding: 16px 18px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-line-main {
  grid-area: main;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
  min-height: 94px;
}

.cart-line h3 {
  margin: 0 0 5px;
  font-size: 0.98rem;
  line-height: 1.3;
}

.cart-line small {
  min-height: 1.25em;
  color: var(--muted);
  line-height: 1.35;
}

.cart-line-price {
  grid-area: price;
  min-width: 88px;
  text-align: right;
  font-size: 1.02rem;
  line-height: 1.3;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: end;
  margin-top: 14px;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: #4b372b;
  font-weight: 760;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffaf2;
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
}

.summary {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.summary div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.summary .total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
}

.stripe-button {
  width: 100%;
  min-height: 52px;
  color: #fff6e7;
  background: var(--red);
  border-radius: 6px;
  font-weight: 850;
}

.stripe-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 80;
  transform: translateX(-50%) translateY(16px);
  max-width: min(560px, calc(100vw - 28px));
  padding: 12px 16px;
  color: #fff6e7;
  background: var(--charcoal);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobile-cart-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  display: none;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  color: #fff6e7;
  background: var(--charcoal);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 44px rgba(20, 16, 12, 0.28);
}

.mobile-cart-bar span {
  text-align: left;
  font-weight: 800;
}

.mobile-cart-bar strong {
  color: var(--gold);
  font-size: 1.05rem;
}

.mobile-cart-bar em {
  padding: 8px 10px;
  color: var(--charcoal);
  background: var(--gold);
  border-radius: 999px;
  font-style: normal;
  font-weight: 900;
}

.cart-is-open .mobile-cart-bar,
.cart-drawer.open + .mobile-cart-bar {
  display: none;
}

body.cart-is-open {
  overflow: hidden;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-phone {
    order: 2;
    margin-left: auto;
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-ticket {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 18px 22px;
    align-self: end;
  }

  .logic-grid,
  .audit-strip,
  .optimization-grid,
  .promo-strip,
  .split {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .photo-standard {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 84px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 3.15rem;
  }

  .notice-band {
    align-items: stretch;
    flex-direction: column;
  }

  .delivery-note {
    padding: 12px 14px;
  }

  .delivery-note div {
    display: grid;
    gap: 3px;
  }

  .photo-standard {
    display: none;
  }

  .promo-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .promo-strip article {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }

  .audit-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
  }

  .audit-strip strong {
    font-size: 1.35rem;
  }

  .section {
    padding: 42px 14px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .toolbar {
    position: sticky;
    top: 98px;
    z-index: 18;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 -14px 12px;
    padding: 10px 14px;
    overflow-x: auto;
    background: rgba(251, 247, 239, 0.96);
    border-top: 1px solid rgba(65, 43, 31, 0.1);
    border-bottom: 1px solid rgba(65, 43, 31, 0.1);
    backdrop-filter: blur(12px);
  }

  .legal-shell {
    padding: 34px 14px 72px;
  }

  .legal-index {
    top: 96px;
    flex-wrap: nowrap;
    margin: 0 -14px 14px;
    padding: 10px 14px;
    overflow-x: auto;
  }

  .legal-index a {
    flex: 0 0 auto;
  }

  .legal-card {
    padding: 20px;
  }

  .toolbar button {
    flex: 0 0 auto;
    padding: 9px 12px;
    white-space: nowrap;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .item-card {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "photo top"
      "photo desc"
      "photo tags"
      "photo bottom";
    gap: 8px 16px;
    align-items: start;
    min-height: 0;
    padding: 10px;
  }

  .dish-photo {
    grid-area: photo;
    width: 96px;
    height: 96px;
    min-height: 0;
    aspect-ratio: auto;
    align-self: start;
  }

  .photo-state,
  .photo-spec,
  .dish-symbol {
    display: none;
  }

  .item-top {
    grid-area: top;
    min-width: 0;
    width: 100%;
  }

  .item-card h3 {
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .item-top p {
    display: none;
  }

  .item-card > p {
    grid-area: desc;
    width: 100%;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.88rem;
    line-height: 1.35;
    min-width: 0;
  }

  .tags {
    grid-area: tags;
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .tags span {
    flex: 0 0 auto;
    padding: 4px 7px;
    font-size: 0.72rem;
  }

  .item-bottom {
    grid-area: bottom;
    width: 100%;
    min-width: 0;
  }

  .item-bottom strong {
    font-size: 1.05rem;
  }

  .item-card button {
    min-width: 72px;
    padding: 9px 10px;
  }

  .inline-qty {
    gap: 5px;
  }

  .inline-qty button {
    min-width: 30px;
    width: 30px;
    height: 30px;
  }

  .mobile-cart-bar {
    display: grid;
  }

  .cart-panel {
    padding-bottom: 92px;
  }
}

@media (max-width: 380px) {
  .item-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px 10px;
  }

  .dish-photo {
    width: 88px;
    height: 88px;
  }

  .item-card h3 {
    font-size: 0.95rem;
  }

  .item-card > p {
    font-size: 0.82rem;
  }
}
