:root {
  --ink: #140806;
  --wine: #5c1a16;
  --wine-deep: #2a0a08;
  --gold: #c9a24a;
  --gold-light: #f2e4b8;
  --gold-hot: #e8cc72;
  --cream: #f9f4eb;
  --grab-green: #00b14f;
  --max: 920px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Sarabun", system-ui, sans-serif;
  background: var(--ink);
  color: var(--cream);
  line-height: 1.45;
}

a { color: inherit; }

.page {
  min-height: 100vh;
  padding-bottom: max(100px, calc(100px + env(safe-area-inset-bottom)));
}

.opening-ribbon {
  text-align: center;
  padding: 10px 14px;
  background: linear-gradient(90deg, var(--wine-deep), var(--wine), var(--wine-deep));
  border-bottom: 1px solid rgba(201, 162, 74, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
}

.opening-ribbon strong { color: #fff; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(20, 8, 6, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 74, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand img,
.brand-logo {
  width: 42px;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.05;
}

.brand-text.th-only {
  font-family: "Sarabun", system-ui, sans-serif;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-text small {
  display: block;
  font-family: "Sarabun", sans-serif;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 228, 184, 0.65);
  margin-top: 2px;
}

.lang-switch {
  display: flex;
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 12px;
  min-height: 44px;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--gold);
  color: var(--ink);
}

.hero-photos {
  padding: 4px;
  background: var(--ink);
}

.coming-soon {
  text-align: center;
  padding: 28px 18px 32px;
  background: linear-gradient(180deg, var(--wine-deep) 0%, var(--ink) 100%);
  border-top: 1px solid rgba(201, 162, 74, 0.35);
  border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}

.soon-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 228, 184, 0.7);
  margin-bottom: 12px;
}

.soon-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-hot), var(--gold));
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 20px rgba(201, 162, 74, 0.35);
}

.coming-soon h1 {
  font-size: clamp(1.85rem, 6.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  max-width: 18ch;
  margin: 0 auto;
}

.soon-lead {
  margin-top: 12px;
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  font-weight: 700;
  color: var(--gold-light);
  max-width: 28rem;
  margin-inline: auto;
}

.soon-note {
  margin-top: 10px;
  font-size: 0.92rem;
  color: rgba(242, 228, 184, 0.82);
}

.soon-note a {
  color: var(--gold-hot);
  font-weight: 800;
  text-decoration: none;
}

.soon-note a:hover { text-decoration: underline; }

.soon-updates {
  margin-top: 18px;
  padding: 16px 18px;
  max-width: 32rem;
  margin-inline: auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 162, 74, 0.45);
  text-align: center;
}

.soon-updates p {
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--gold-light);
}

.soon-updates a {
  color: var(--gold-hot);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.soon-updates strong {
  color: #fff;
}

.mosaic {
  display: grid;
  grid-template-columns: 56% 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 100%;
  height: clamp(220px, 52vw, 380px);
  max-height: 380px;
}

.tile {
  position: relative;
  overflow: hidden;
  background: #241009;
  border-radius: 4px;
  min-height: 0;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile-hero { grid-column: 1; grid-row: 1 / 3; }
.tile-nam { grid-column: 2; grid-row: 1; }

.tile-duo {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-height: 0;
}

.tile-hero img { object-position: center 42%; }
.tile-nam img { object-position: center; }
.tile-teriyaki img,
.tile-beef img { object-position: center 45%; }

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(201, 162, 74, 0.45);
}

.btn-hero.primary {
  background: linear-gradient(180deg, #7a2820, var(--wine));
  color: #fff;
  border-color: var(--gold);
}

.btn-hero.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-light);
}

.btn-hero.facebook {
  background: #1877f2;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  gap: 8px;
}

.btn-hero.facebook:hover {
  background: #166fe5;
}

.btn-hero .fb-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.panel {
  position: relative;
  z-index: 1;
  margin-top: 0;
  background: var(--cream);
  color: var(--ink);
  border-radius: 28px 28px 0 0;
  padding: clamp(22px, 4vw, 32px) clamp(16px, 4vw, 28px) 24px;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.22);
}

.panel-intro {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--wine);
}

.panel-intro-en {
  margin-top: 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: #6b5347;
}

.mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(92, 26, 22, 0.08);
  border: 1px dashed rgba(92, 26, 22, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wine);
}

.mock-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

@keyframes pulse-soon {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 204, 114, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(232, 204, 114, 0); }
}

.section-title {
  margin-top: 26px;
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.dish-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(92, 26, 22, 0.12);
  box-shadow: 0 8px 24px rgba(20, 8, 6, 0.06);
}

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

.dish-card .name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.dish-card .name-en {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0.9rem;
  font-style: italic;
  color: #7a6558;
}

.dish-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.dish-card .price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--wine);
}

.btn-add {
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(92, 26, 22, 0.12);
  color: #8a6a5e;
  cursor: not-allowed;
}

.grab-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 177, 79, 0.12), rgba(0, 177, 79, 0.04));
  border: 1px solid rgba(0, 177, 79, 0.28);
}

.grab-dot {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grab-green);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.grab-note .th {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.32;
}

.grab-note .en {
  margin-top: 4px;
  font-size: 0.86rem;
  color: #4a5c52;
}

.visit-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(92, 26, 22, 0.12);
}

.visit-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}

.visit-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5c4a40;
}

.visit-card a {
  color: var(--wine);
  font-weight: 800;
  text-decoration: none;
}

.visit-card a:hover { text-decoration: underline; }

.visit-hours {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(201, 162, 74, 0.15);
  border: 1px solid rgba(201, 162, 74, 0.35);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--wine);
}

.visit-social {
  margin-top: 14px;
}

.visit-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1877f2;
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.visit-social a:hover {
  background: #166fe5;
  text-decoration: none;
}

.share-card {
  margin-top: 22px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(165deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: #fff;
  text-align: center;
}

.share-card .eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.share-card h2 {
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-light);
}

.qr-frame {
  display: inline-block;
  margin: 14px 0 10px;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 0 3px var(--gold);
}

.qr-frame img {
  width: 148px;
  height: 148px;
  display: block;
}

.share-card .hint {
  font-size: 0.92rem;
  font-weight: 700;
}

.share-card .url {
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gold-hot);
}

.site-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 162, 74, 0.25);
  font-size: 0.88rem;
  color: #6b5347;
  text-align: center;
}

.site-foot strong { color: var(--ink); }

.steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--wine);
}

.steps span,
.steps .step-link {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(92, 26, 22, 0.08);
}

.steps .step-link {
  color: var(--wine);
  font-weight: 800;
  text-decoration: none;
}

.steps .step-link:hover {
  background: rgba(24, 119, 242, 0.12);
  color: #1877f2;
}

.steps .arr {
  padding: 0;
  background: none;
  color: var(--gold);
}

.cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
  background: rgba(42, 10, 8, 0.96);
  border-top: 1px solid rgba(201, 162, 74, 0.3);
  backdrop-filter: blur(8px);
}

.cart-bar .summary {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-light);
}

.cart-bar .btn-checkout {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(201, 162, 74, 0.25);
  color: rgba(242, 228, 184, 0.55);
  cursor: not-allowed;
}

.en-only { display: none; }
.th-only { display: block; }
html[lang="en"] .en-only { display: block; }
html[lang="en"] .th-only { display: none; }

@media (min-width: 768px) {
  .panel-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
  }

  .share-card { margin-top: 0; }
  .mosaic { height: clamp(280px, 36vw, 380px); }
}

@media (max-width: 767px) {
  .coming-soon { padding: 24px 16px 28px; }

  .panel-body {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .share-card { margin-top: 22px; }
  .menu-grid { grid-template-columns: 1fr; }

  .brand-text {
    font-size: 1.05rem;
    min-width: 0;
  }

  .brand-text small {
    letter-spacing: 0.08em;
  }
}
