/* ==========================================================================
   Thai Lotus — Menu page styles
   ========================================================================== */

.menu-hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 90px 32px 70px;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.menu-hero::before, .menu-hero::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%233a6149' stroke-width='1.2' opacity='0.3'><path d='M30 170 Q 50 120, 90 100 T 170 30'/><ellipse cx='95' cy='105' rx='14' ry='4' transform='rotate(-30 95 105)'/><ellipse cx='130' cy='80' rx='12' ry='3.5' transform='rotate(-30 130 80)'/><ellipse cx='65' cy='135' rx='12' ry='3.5' transform='rotate(-30 65 135)'/></g></svg>");
  background-size: contain; background-repeat: no-repeat;
  pointer-events: none;
}
.menu-hero::before { top: 30px; left: 0; }
.menu-hero::after { bottom: 30px; right: 0; transform: scaleX(-1); }
.menu-hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.menu-title {
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--green-900);
  margin: 24px 0 22px;
}
.menu-title em {
  font-style: italic;
  position: relative;
  display: inline-block;
}
.menu-title em::after {
  content: ''; position: absolute;
  left: 8%; right: 8%; bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.menu-sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0;
}

.pdf-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 11px 22px;
  background: transparent;
  color: var(--green-800);
  border: 1.5px solid var(--green-800);
  border-radius: 999px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: all .25s ease;
}
.pdf-download:hover {
  background: var(--green-800);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.pdf-download svg { transition: transform .2s ease; }
.pdf-download:hover svg { transform: translateY(2px); }

/* ----- Sticky Jump Nav ----- */
.menu-jump {
  background: var(--green-900);
  color: var(--cream);
  position: sticky;
  top: 73px; /* below main nav */
  z-index: 40;
  border-bottom: 1px solid rgba(228, 207, 148, .15);
  box-shadow: 0 4px 20px -8px rgba(20, 40, 34, .3);
}
.menu-jump-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) transparent;
  -webkit-overflow-scrolling: touch;
}
.menu-jump-inner::-webkit-scrollbar { height: 4px; }
.menu-jump-inner::-webkit-scrollbar-track { background: transparent; }
.menu-jump-inner::-webkit-scrollbar-thumb { background: var(--gold-500); border-radius: 2px; }
.menu-jump a {
  flex-shrink: 0;
  padding: 16px 0;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-200);
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.menu-jump a:hover { color: var(--gold-300); }
.menu-jump a.active { color: var(--gold-300); }
.menu-jump a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold-500);
}

/* ----- Menu Sections ----- */
.menu-main { padding-bottom: 40px; }
.menu-section {
  background: var(--cream);
  padding: 100px 32px 90px;
}
.menu-section.alt { background: var(--paper); }
.menu-section.thai-section { background: var(--green-50); }

.section-head {
  max-width: 880px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head .section-eyebrow {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: .1em;
  text-transform: none;
  color: var(--gold-600);
  font-weight: 500;
  margin-bottom: 12px;
}
.section-head .section-eyebrow::before,
.section-head .section-eyebrow::after { display: none; }
.section-head .section-title { margin-bottom: 18px; }
.section-note {
  font-size: 14px;
  font-style: italic;
  color: var(--ink-mute);
  margin: 0;
  max-width: 580px;
  margin: 0 auto;
}
.section-note.small { font-size: 13px; margin-top: 16px; }

/* Meat pricing card */
.meat-pricing-card {
  margin: 32px auto 0;
  max-width: 720px;
  background: var(--cream);
  border: 1px solid rgba(20,40,34,.1);
  padding: 24px 28px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.meat-pricing-title {
  font-size: 11.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 500;
  margin: 0 0 16px;
  text-align: center;
}
.meat-pricing-title em { font-style: italic; color: var(--ink-mute); font-weight: 400; }
.meat-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px 24px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.meat-pricing-grid span { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dotted rgba(20,40,34,.1); }
.meat-pricing-grid strong { color: var(--green-900); font-weight: 500; }

/* ----- Drinks Grid ----- */
.drinks-grid {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 56px;
}
.drink-item {
  display: flex;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px dotted rgba(20,40,34,.18);
  font-size: 16px;
}
.drink-name { color: var(--ink); flex-shrink: 0; }
.drink-name em { font-style: italic; color: var(--ink-mute); font-size: 13.5px; font-weight: 400; }
.dot { flex: 1; min-width: 14px; }
.drink-price {
  color: var(--gold-700);
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  flex-shrink: 0;
}

/* ----- Dish List ----- */
.dish-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.dish {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(20,40,34,.08);
}
.dish:last-child { border-bottom: none; }

.dish-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 38px;
  color: var(--gold-600);
  line-height: 1;
  text-align: right;
  padding-top: 4px;
  letter-spacing: -.02em;
}
.dish-body { min-width: 0; }
.dish-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.dish h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: var(--green-900);
  margin: 0;
  line-height: 1.2;
}
.dish-price {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  color: var(--gold-700);
  white-space: nowrap;
}
.dish-price em { font-size: 13.5px; color: var(--ink-mute); font-weight: 400; }
.dish p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.meat-pricing {
  margin-top: 8px !important;
  font-size: 13.5px !important;
  color: var(--gold-700) !important;
  font-weight: 500;
  letter-spacing: .02em;
}

.dish .badge {
  display: inline-block;
  background: var(--gold-500);
  color: var(--green-900);
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 12px;
  vertical-align: middle;
}

.dish .spice {
  font-size: 18px;
  margin-left: 6px;
  vertical-align: middle;
  filter: saturate(1.1);
}

.dish.featured h3 { color: var(--green-900); }

/* Thai sections need slightly different dish coloring */
.thai-section .dish { border-bottom-color: rgba(20,40,34,.1); }
.thai-section .dish-num { color: var(--green-700); }

/* ----- CTA ----- */
.menu-cta {
  background: var(--green-900);
  color: var(--cream);
  text-align: center;
  padding: 90px 32px;
  position: relative;
  overflow: hidden;
}
.menu-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'><g fill='none' stroke='%23c4a05a' stroke-width='0.5' opacity='0.15'><path d='M200 50 Q 240 130, 200 220 Q 160 130, 200 50'/><circle cx='200' cy='225' r='4'/></g></svg>");
  background-size: 240px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .7;
}
.menu-cta-inner { position: relative; max-width: 720px; margin: 0 auto; }
.menu-cta .section-title { color: var(--cream); margin-bottom: 18px; }
.menu-cta p { font-size: 17px; color: var(--green-200); margin: 0 0 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .menu-hero { padding: 60px 20px 50px; }
  .menu-hero::before, .menu-hero::after { width: 100px; height: 100px; opacity: .5; }

  .menu-jump { top: 67px; }
  .menu-jump-inner { padding: 0 20px; gap: 20px; }
  .menu-jump a { font-size: 11.5px; letter-spacing: .1em; padding: 14px 0; }

  .menu-section { padding: 64px 20px 56px; }

  .section-head { margin-bottom: 44px; }

  .drinks-grid { grid-template-columns: 1fr; gap: 0 32px; }
  .drink-item { font-size: 15.5px; padding: 14px 0; }
  .drink-price { font-size: 17px; }

  .dish { grid-template-columns: 40px 1fr; gap: 18px; padding-bottom: 26px; }
  .dish-num { font-size: 28px; padding-top: 2px; }
  .dish h3 { font-size: 20px; }
  .dish-price { font-size: 18.5px; }
  .dish p { font-size: 14.5px; }
  .dish-list { gap: 28px; }

  .meat-pricing-grid { grid-template-columns: 1fr; gap: 4px 0; }

  .menu-cta { padding: 64px 20px; }
}

@media (max-width: 520px) {
  .dish-row { flex-direction: column; gap: 4px; }
  .dish-price { font-size: 17px; }
  .badge { margin-left: 0; margin-top: 6px; }
  .dish h3 { font-size: 19px; }
}

/* Print-friendly menu */
@media print {
  .topbar, .nav, .menu-jump, .menu-cta, .footer { display: none; }
  .menu-section, .menu-section.alt, .menu-section.thai-section { background: white !important; padding: 30px 0; page-break-inside: avoid; }
  .dish { page-break-inside: avoid; }
  body { background: white; color: black; }
  .menu-hero { padding: 20px 0; background: white; }
  .menu-hero::before, .menu-hero::after { display: none; }
}
