:root {
  --paper: #f6efe4;
  --paper-soft: #fffaf1;
  --paper-warm: #eadcca;
  --ink: #1d1914;
  --muted: #81786c;
  --line: rgba(89, 69, 46, 0.14);
  --gold: #a9784e;
  --gold-dark: #6f4f32;
  --sage: #727b68;
  --night: #17130f;
  --smoke: rgba(255, 252, 246, 0.72);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-soft: 0 24px 70px rgba(70, 47, 25, 0.12);
  --shadow-card: 0 18px 48px rgba(63, 43, 23, 0.1);
  color: var(--ink);
  font-family: "Songti SC", "Noto Serif SC", "PingFang SC", serif;
  background: radial-gradient(circle at 15% -8%, rgba(255, 250, 240, 0.95) 0, transparent 36%),
    radial-gradient(circle at 82% 10%, rgba(186, 142, 93, 0.12) 0, transparent 32%),
    linear-gradient(180deg, #f8f1e8 0%, #efe3d4 100%);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(98, 71, 40, 0.035) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(180deg, rgba(98, 71, 40, 0.026) 1px, transparent 1px) 0 0 / 92px 92px;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 20px 22px 128px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 10px 12px;
  border: 1px solid rgba(94, 67, 40, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 14px 42px rgba(74, 52, 30, 0.08);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-lockup p,
.eyebrow,
.section-heading span {
  margin: 0 0 6px;
  color: rgba(31, 27, 22, 0.43);
  font-size: 12px;
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-lockup h1 {
  margin: 0;
  font-size: 21px;
  letter-spacing: 0.12em;
}

.ghost-button,
.text-button,
.secondary-button,
.primary-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.ghost-button,
.secondary-button {
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
}

.text-button {
  padding: 0;
  color: var(--gold-dark);
  background: transparent;
  text-decoration: none;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #14100d, #2f251b);
  box-shadow: 0 14px 34px rgba(23, 20, 16, 0.18);
}

.ghost-button:hover,
.secondary-button:hover,
.primary-button:hover,
.text-button:hover {
  opacity: 0.86;
}

button:active {
  transform: scale(0.98);
}

.screen {
  display: none;
  animation: appear 0.46s ease both;
}

.active-screen {
  display: block;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card {
  position: relative;
  min-height: clamp(520px, 63vw, 720px);
  overflow: hidden;
  border-radius: 46px;
  background: #d8c8b5;
  box-shadow: var(--shadow-soft);
}

.hero-slide,
.hero-overlay,
.hero-frame {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background: center / cover no-repeat;
  filter: brightness(1.16) saturate(1.02) contrast(0.98);
  transition: background-image 0.7s ease, opacity 0.7s ease;
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(19, 15, 10, 0.6), rgba(19, 15, 10, 0.1) 58%, rgba(19, 15, 10, 0.3)),
    linear-gradient(0deg, rgba(19, 15, 10, 0.22), transparent 54%);
}

.hero-frame {
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 34px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: clamp(96px, 13vw, 154px) clamp(34px, 8vw, 96px);
  color: #fff;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.26);
}

.hero-copy h2 {
  margin: 0 0 30px;
  font-size: clamp(62px, 9vw, 116px);
  line-height: 0.94;
  letter-spacing: 0.13em;
}

.hero-copy p {
  margin: 12px 0;
  font-size: clamp(20px, 3.4vw, 34px);
  line-height: 1.45;
  font-weight: 650;
}

.hero-note {
  position: absolute;
  right: clamp(28px, 5vw, 70px);
  bottom: clamp(28px, 4vw, 58px);
  z-index: 3;
  width: min(310px, calc(100% - 56px));
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(25, 20, 15, 0.28);
  backdrop-filter: blur(14px);
}

.hero-note span,
.hero-note p {
  display: block;
  margin: 0;
  font-family: "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.hero-note strong {
  display: block;
  margin: 8px 0;
  color: #fff;
  font-size: 34px;
  letter-spacing: 0.08em;
}

.welcome-card,
.fruit-panel,
.location-card,
.order-card,
.member-hero,
.banquet-builder {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 252, 246, 0.88), rgba(250, 244, 235, 0.68));
  box-shadow: var(--shadow-card);
}

.welcome-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
}

.welcome-mark {
  width: 66px;
  height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(91, 60, 29, 0.1));
}

.welcome-card h2,
.section-heading h2,
.fruit-panel h2,
.location-card h2,
.member-hero h2,
.banquet-builder h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
}

.welcome-card p,
.section-heading p,
.fruit-panel p,
.location-card p,
.member-hero p,
.banquet-builder p,
.quiet-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 18px;
  margin: 56px 0 20px;
}

.section-heading span,
.section-heading h2 {
  grid-column: 1;
}

.section-heading p {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 420px;
  margin: 0;
  text-align: right;
}

.entry-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.entry-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-xl);
  color: #fff;
  padding: clamp(28px, 5vw, 52px);
  text-align: left;
  background: #1d1812;
  box-shadow: var(--shadow-card);
}

.entry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 12, 9, 0.72), rgba(15, 12, 9, 0.18) 62%, rgba(15, 12, 9, 0.5)),
    linear-gradient(0deg, rgba(15, 12, 9, 0.36), transparent 56%);
}

.entry-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.13) saturate(1.02);
  transition: opacity 0.4s ease;
}

.entry-card span,
.entry-card strong,
.entry-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.entry-card span {
  font-size: 18px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
}

.entry-card strong {
  margin-top: 62px;
  font-size: clamp(28px, 5vw, 54px);
  letter-spacing: 0.02em;
}

.entry-card small {
  margin-top: 16px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.65;
}

.entry-card em {
  position: absolute;
  right: clamp(24px, 5vw, 52px);
  bottom: clamp(24px, 5vw, 52px);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-style: normal;
  backdrop-filter: blur(12px);
}

.featured-grid,
.dish-list {
  display: grid;
  gap: 18px;
}

.featured-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dish-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dish-card {
  display: grid;
  grid-template-columns: 144px 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: rgba(255, 252, 246, 0.82);
  box-shadow: 0 14px 34px rgba(66, 45, 24, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.dish-card:hover {
  border-color: rgba(155, 113, 74, 0.24);
  box-shadow: 0 20px 48px rgba(66, 45, 24, 0.12);
  transform: translateY(-2px);
}

.featured-grid .dish-card {
  display: block;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 252, 246, 0.86);
}

.dish-card img {
  width: 144px;
  height: 144px;
  object-fit: cover;
  border-radius: 24px;
}

.featured-grid .dish-card img {
  width: 100%;
  height: 220px;
  border-radius: 0;
}

.featured-grid .dish-card > div {
  padding: 20px;
}

.dish-card .meta {
  overflow: hidden;
  color: rgba(31, 27, 22, 0.42);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dish-card h3 {
  margin: 8px 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

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

.add-button,
.qty-button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--night);
}

.add-button {
  min-width: 72px;
  padding: 14px 18px;
  box-shadow: 0 10px 24px rgba(23, 20, 16, 0.16);
}

.selected-count {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.fruit-panel,
.location-card {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
}

.fruit-panel img,
.location-card img {
  width: 100%;
  height: 280px;
  border-radius: 30px;
  object-fit: cover;
}

.category-tabs {
  position: sticky;
  top: 94px;
  z-index: 10;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0 18px;
  background: linear-gradient(180deg, rgba(245, 239, 230, 0.96), rgba(245, 239, 230, 0.78));
  backdrop-filter: blur(16px);
}

.category-tabs button,
.chips button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
}

.category-tabs button.active,
.chips button.active {
  color: #fff;
  background: var(--night);
}

.banquet-builder {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  position: relative;
  overflow: hidden;
  padding: 30px;
  margin-bottom: 22px;
}

.banquet-builder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255, 252, 246, 0.95), rgba(255, 252, 246, 0.74)),
    url("./assets/brand/showcase-private-room.jpg") center / cover;
  opacity: 0.58;
}

.banquet-builder > * {
  position: relative;
  z-index: 1;
}

.guest-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.guest-stepper button,
.qty-button {
  width: 42px;
  height: 42px;
}

.guest-stepper strong {
  font-size: 26px;
  min-width: 30px;
  text-align: center;
}

.chips,
.banquet-menu,
.inline-actions {
  grid-column: 1 / -1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.banquet-menu span {
  display: block;
  overflow: hidden;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.44);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.order-layout,
.member-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.order-card {
  padding: 28px;
}

.order-card h3 {
  margin: 0 0 18px;
  font-size: 26px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item strong {
  display: block;
  margin-bottom: 6px;
}

.cart-item span {
  color: var(--muted);
}

.member-order-list {
  display: grid;
  gap: 12px;
}

.member-order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.member-order-row strong {
  display: block;
  margin-bottom: 4px;
}

.member-order-row span,
.member-order-row small {
  color: var(--muted);
}

.member-order-row small {
  text-align: right;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.form-grid.single {
  grid-template-columns: 1fr;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: rgba(31, 27, 22, 0.54);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(155, 113, 74, 0.56);
  box-shadow: 0 0 0 4px rgba(155, 113, 74, 0.08);
}

.full-button {
  width: 100%;
  margin-top: 18px;
}

.member-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.92), rgba(235, 220, 202, 0.68)),
    url("./assets/brand/hero-interior.jpg") right center / cover;
}

.member-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 56px;
  border: 1px solid rgba(155, 113, 74, 0.24);
  border-radius: 999px;
  color: var(--gold-dark);
  background: linear-gradient(135deg, rgba(195, 153, 106, 0.18), rgba(255, 255, 255, 0.6));
  font-family: "Avenir Next", sans-serif;
  letter-spacing: 0.16em;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(760px, calc(100% - 28px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.9);
  box-shadow: 0 18px 56px rgba(70, 47, 25, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
}

.bottom-nav button {
  border: 0;
  border-radius: 999px;
  padding: 12px 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.bottom-nav button span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
}

.bottom-nav button.active {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(31, 27, 22, 0.09), rgba(155, 113, 74, 0.08));
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 104px;
  z-index: 50;
  max-width: min(560px, calc(100% - 32px));
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 20, 16, 0.9);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

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

.empty-state {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 56px auto 8px;
  padding: 20px 16px;
  color: rgba(31, 27, 22, 0.42);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.site-footer p,
.site-footer span {
  margin: 0;
}

.site-footer a {
  color: rgba(111, 79, 50, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-dark);
}

@media (max-width: 860px) {
  .app-shell {
    padding: 14px 14px 112px;
  }

  .topbar {
    padding-top: 6px;
    top: 8px;
  }

  .brand-lockup img {
    width: 50px;
    height: 50px;
  }

  .hero-card {
    min-height: 470px;
    border-radius: 32px;
  }

  .hero-frame {
    inset: 20px;
  }

  .hero-copy {
    padding: 92px 30px 46px;
  }

  .hero-note {
    right: 22px;
    bottom: 22px;
    width: calc(100% - 44px);
    padding: 16px 18px;
  }

  .hero-note strong {
    font-size: 26px;
  }

  .welcome-card,
  .member-hero,
  .fruit-panel,
  .location-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .welcome-mark {
    width: 58px;
    height: 58px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .section-heading p {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
    text-align: left;
  }

  .welcome-card,
  .member-hero {
    align-items: start;
  }

  .featured-grid,
  .dish-list,
  .order-layout,
  .member-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .dish-card {
    grid-template-columns: 104px 1fr;
  }

  .dish-card img {
    width: 104px;
    height: 104px;
    border-radius: 20px;
  }

  .dish-card .add-button {
    grid-column: 2;
    width: fit-content;
  }

  .featured-grid .dish-card img {
    height: 210px;
  }

  .banquet-builder {
    grid-template-columns: 1fr;
  }

  .banquet-menu {
    grid-template-columns: 1fr 1fr;
  }

  .entry-card {
    min-height: 240px;
    padding: 26px;
  }

  .entry-card strong {
    margin-top: 52px;
  }

  .entry-card em {
    width: 64px;
    height: 64px;
    right: 22px;
    bottom: 22px;
  }
}

@media (max-width: 520px) {
  .ghost-button {
    display: none;
  }

  .hero-card {
    min-height: 430px;
  }

  .hero-copy {
    padding-top: 74px;
  }

  .hero-copy h2 {
    font-size: 50px;
  }

  .hero-copy p {
    font-size: 20px;
  }

  .fruit-panel img,
  .location-card img {
    height: 190px;
  }

  .dish-card {
    gap: 14px;
    padding: 14px;
  }

  .dish-card h3 {
    font-size: 21px;
  }

  .dish-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .bottom-nav {
    width: calc(100% - 16px);
  }
}
