/*
 * True Kitchen + Bar — on-page menus, matched to the printed menu.
 *
 * Everything here is sampled from the August 2026 iMenuPro PDFs rather than
 * invented, so the web menu and the menu on the table are the same piece:
 *
 *   type    Cardo (dish names, section headings) + Open Sans (descriptions, prices)
 *           — the exact two families embedded in the PDFs
 *   rules   sign gold, via --tk-gold (was #CA6A08, sampled from the printed rule)
 *   badges  --tk-veg #6BA069, sampled from the green "Gf" badge
 *   text    --tk-ink on --tk-card (was solid black on white -- see tk-palette.php;
 *           12.8:1, and easier on the eye than black-on-white at arm's length)
 *   layout  "Dish Name | 12" on one line, description beneath — the PDF's own
 *           pipe convention, not a dotted leader
 *
 * Scoped under .tkb-menu throughout. Note the deliberately high specificity on
 * list rules (.tkb-menu ul.tkb-items > li): the theme styles .entry-content li
 * and will otherwise put bullets on every dish.
 */

.tkb-menu {
  --tkb-ink: var(--tk-ink);
  --tkb-rule: var(--tk-gold);   /* decorative: the double rules, sampled from the printed menu */
  --tkb-brand: var(--tk-clay);  /* interactive: matches every other button on the site */
  --tkb-brand-dark: var(--tk-brick);
  --tkb-veg: var(--tk-veg);
  --tkb-hair: var(--tk-hair);
  --tkb-muted: var(--tk-slate);
  --tkb-paper: var(--tk-card);

  --tkb-onaccent: var(--tk-onaccent);

  --tkb-serif: Cardo, "Times New Roman", Georgia, serif;
  --tkb-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  max-width: 940px;
  margin: 0 auto;
  padding: 0;
  color: var(--tkb-ink);
  font-family: var(--tkb-sans);
  font-size: 16px;
  line-height: 1.55;
}

/* the printed menu sits inside a hairline frame — kept on wider screens only */
.tkb-menu .tkb-sheet {
  border: 1px solid var(--tkb-ink);
  padding: 42px 52px 38px;
  background: var(--tkb-paper);
}

/* ---------- masthead ---------- */
.tkb-menu .tkb-kicker {
  margin: 0 0 6px;
  font-family: var(--tkb-sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tkb-brand);
  text-align: center;
}
.tkb-menu .tkb-title {
  margin: 0 0 22px;
  font-family: var(--tkb-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--tkb-ink);
  text-align: center;
}

/* ---------- switcher ---------- */
.tkb-menu ul.tkb-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 30px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--tkb-hair);
  list-style: none;
}
.tkb-menu ul.tkb-switch > li { margin: 0; padding: 0; list-style: none; }
.tkb-menu ul.tkb-switch > li::marker { content: none; }
.tkb-menu ul.tkb-switch > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 19px;
  border: 1px solid var(--tkb-hair);
  font-family: var(--tkb-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tkb-ink);
  text-decoration: none;
  background: var(--tkb-paper);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.tkb-menu ul.tkb-switch > li > a:hover,
.tkb-menu ul.tkb-switch > li > a:focus-visible {
  background: var(--tkb-brand);
  border-color: var(--tkb-brand);
  color: var(--tkb-onaccent);
}
.tkb-menu ul.tkb-switch > li > a[aria-current="page"] {
  background: var(--tkb-ink);
  border-color: var(--tkb-ink);
  color: var(--tkb-onaccent);
  cursor: default;
}

/* ---------- section headings: the PDF's double rule, in its own colour ---------- */
.tkb-menu .tkb-sec { margin: 0 0 38px; }
.tkb-menu .tkb-sec + .tkb-sec { margin-top: 46px; }
.tkb-menu .tkb-sec > h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 20px;
  font-family: var(--tkb-serif);
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--tkb-ink);
  text-align: center;
}
.tkb-menu .tkb-sec > h2::before,
.tkb-menu .tkb-sec > h2::after {
  content: "";
  flex: 1 1 auto;
  max-width: 150px;
  height: 4px;
  border-top: 1px solid var(--tkb-rule);
  border-bottom: 1px solid var(--tkb-rule);
}
.tkb-menu .tkb-sec-note {
  margin: -8px 0 22px;
  font-family: var(--tkb-sans);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--tkb-muted);
  text-align: center;
  line-height: 1.75;
}

/* ---------- items: "Dish Name | 12" exactly as printed ---------- */
.tkb-menu ul.tkb-items { list-style: none; margin: 0; padding: 0; }
.tkb-menu ul.tkb-two { columns: 2; column-gap: 56px; }
.tkb-menu ul.tkb-two > li { break-inside: avoid; }
.tkb-menu ul.tkb-items > li.tkb-item {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.tkb-menu ul.tkb-items > li.tkb-item::marker { content: none; }
.tkb-menu ul.tkb-items > li.tkb-item:last-child { margin-bottom: 0; }

.tkb-menu .tkb-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 8px;
  margin-bottom: 2px;
}
.tkb-menu .tkb-name {
  font-family: var(--tkb-serif);
  font-size: 1.26rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--tkb-ink);
}
.tkb-menu .tkb-sep {
  font-family: var(--tkb-sans);
  font-size: .95rem;
  color: var(--tkb-muted);
  font-weight: 300;
}
.tkb-menu .tkb-price {
  font-family: var(--tkb-sans);
  font-size: .95rem;
  font-weight: 400;
  color: var(--tkb-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tkb-menu p.tkb-desc {
  margin: 0;
  font-family: var(--tkb-sans);
  font-size: .95rem;
  line-height: 1.5;
  color: var(--tkb-ink);
  max-width: 62ch;
}
.tkb-menu .tkb-add {
  display: block;
  margin-top: 3px;
  font-family: var(--tkb-sans);
  font-size: .875rem;
  font-style: italic;
  color: var(--tkb-muted);
}

/* ---------- dietary badges, sampled green ---------- */
.tkb-menu .tkb-tags { display: inline-flex; gap: 5px; align-items: baseline; }
.tkb-menu .tkb-tag {
  display: inline-block;
  font-family: var(--tkb-sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 9px;
  background: var(--tkb-veg);
  color: var(--tkb-onaccent);
  white-space: nowrap;
  text-transform: uppercase;
  transform: translateY(-1px);
}
.tkb-menu .tkb-tag-raw {
  background: transparent;
  color: var(--tkb-muted);
  border: 1px solid var(--tkb-hair);
  font-weight: 600;
  border-radius: 2px;
}

/* ---------- legend, cross-reference, footnotes ---------- */
.tkb-menu .tkb-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: center;
  margin: 0 0 32px;
  font-family: var(--tkb-sans);
  font-size: 12.5px;
  color: var(--tkb-muted);
}
.tkb-menu .tkb-legend span { display: inline-flex; align-items: center; gap: 7px; }
.tkb-menu .tkb-xref {
  margin: 0 0 30px;
  padding: 14px 18px;
  border-left: 2px solid var(--tkb-brand);
  background: var(--tk-card);
  font-family: var(--tkb-sans);
  font-size: .95rem;
}
.tkb-menu .tkb-xref a { color: var(--tkb-brand); font-weight: 600; }
.tkb-menu .tkb-foot {
  margin: 36px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--tkb-hair);
  font-family: var(--tkb-sans);
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--tkb-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.tkb-menu .tkb-foot p { margin: 0 0 4px; }
.tkb-menu .tkb-foot p:last-child { margin-bottom: 0; }

/* ---------- actions ---------- */
.tkb-menu .tkb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 32px 0 0;
}
.tkb-menu .tkb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid var(--tkb-ink);
  font-family: var(--tkb-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--tkb-ink);
  background: transparent;
  transition: background .18s ease, color .18s ease;
}
.tkb-menu .tkb-btn:hover,
.tkb-menu .tkb-btn:focus-visible { background: var(--tkb-ink); color: var(--tkb-onaccent); }
.tkb-menu .tkb-btn small { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }

.tkb-menu a:focus-visible { outline: 2px solid var(--tkb-brand); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .tkb-menu .tkb-sheet { border: 0; padding: 0; }
}
@media (max-width: 782px) {
  .tkb-menu ul.tkb-two { columns: 1; }
  .tkb-menu { font-size: 15.5px; }
  .tkb-menu ul.tkb-switch { gap: 6px; }
  .tkb-menu ul.tkb-switch > li > a { padding: 9px 13px; font-size: 11.5px; }
  .tkb-menu .tkb-sec > h2::before,
  .tkb-menu .tkb-sec > h2::after { max-width: 34px; }
  .tkb-menu .tkb-name { font-size: 1.16rem; }
}

/* ---------- print: this is what replaces "download the PDF" for most people ---------- */
@media print {
  .tkb-menu ul.tkb-switch,
  .tkb-menu .tkb-actions,
  .tkb-menu .tkb-xref { display: none !important; }
  .tkb-menu { max-width: none; font-size: 11pt; }
  .tkb-menu .tkb-sheet { border: 1px solid #000; padding: 24pt; }
  .tkb-menu .tkb-sec,
  .tkb-menu ul.tkb-items > li.tkb-item { break-inside: avoid; }
  .tkb-menu .tkb-tag { border: 1px solid #000; background: #fff !important; color: #000 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .tkb-menu * { transition: none !important; }
}

/* ---------- embedded on the homepage (Mains under "Popular Plates") ---------- */
.tkb-menu--embed { max-width: 900px; padding: 0; }
.tkb-menu--embed ul.tkb-two { column-gap: 48px; }
.tkb-menu--embed .tkb-embed-legend {
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--tkb-hair);
  font-family: var(--tkb-sans);
  font-size: 12px;
  color: var(--tkb-muted);
  text-align: center;
}
.tkb-menu--embed .tkb-embed-legend .tkb-tag { margin: 0 4px 0 12px; }
.tkb-menu--embed .tkb-embed-legend .tkb-tag:first-child { margin-left: 0; }
@media (max-width: 782px) {
  .tkb-menu--embed ul.tkb-two { columns: 1; }
}

/* ---------- homepage "Full Menu" button ----------
   Phlox's aux_button colours come from a named skin, not from the Elementor colour
   fields, so the closest skin (dark-orange) is pinned to the exact brand colour here.
   Scoped to the Popular Plates band so no other button on the site is affected. */
.elementor-element-5c2398a .aux-button,
.elementor-element-5c2398a a.aux-button {
  background-color: var(--tk-clay);
  border-color: var(--tk-clay);
  color: var(--tkb-onaccent);
}
.elementor-element-5c2398a .aux-button:hover,
.elementor-element-5c2398a a.aux-button:hover,
.elementor-element-5c2398a .aux-button:focus-visible {
  background-color: var(--tk-brick);
  border-color: var(--tk-brick);
  color: var(--tkb-onaccent);
}

/* ---------- contact page tiles ---------- */
.tk-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 auto;
  max-width: 1000px;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
.tk-contact__tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 26px 24px;
  background: var(--tk-card);
  border: 1px solid var(--tk-hair);
  border-top: 3px solid var(--tk-clay);
}
.tk-contact__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tk-clay);
}
.tk-contact__body {
  margin: 0;
  font-family: Cardo, Georgia, serif;
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--tk-ink);
}
.tk-contact__body a { color: var(--tk-ink); text-decoration: none; border-bottom: 1px solid var(--tk-hair); }
.tk-contact__body a:hover { border-bottom-color: var(--tk-clay); color: var(--tk-clay); }
.tk-contact__phone {
  font-size: 1.3rem;
  font-weight: 700;
  border-bottom: 0 !important;
}
.tk-contact__hours { border-collapse: collapse; margin: 0; width: 100%; }
.tk-contact__hours th,
.tk-contact__hours td {
  border: 0;
  padding: 3px 0;
  text-align: left;
  font-family: "Open Sans", sans-serif;
  font-size: .96rem;
  font-weight: 400;
  color: var(--tk-ink);
  white-space: nowrap;
}
.tk-contact__hours th { padding-right: 18px; color: var(--tk-slate); }
.tk-contact__hours td { text-align: right; font-variant-numeric: tabular-nums; }
.tk-contact__action {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tk-ink);
  text-decoration: none;
  border-bottom: 0;
}
.tk-contact__action:hover { color: var(--tk-clay); }
.tk-contact__action--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 18px;
  background: var(--tk-clay);
  color: var(--tkb-onaccent);
}
.tk-contact__action--primary:hover { background: var(--tk-brick); color: var(--tk-onaccent); }
.tk-contact a:focus-visible { outline: 2px solid var(--tk-clay); outline-offset: 3px; }

@media (max-width: 880px) {
  .tk-contact { grid-template-columns: 1fr; gap: 16px; max-width: 560px; }
}

/* contact page heading */
.tk-contact-head { max-width: 640px; margin: 0 auto 34px; text-align: center; }
.tk-contact-kicker {
  margin: 0 0 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--tk-clay);
}
.tk-contact-title {
  margin: 0 0 12px;
  font-family: Cardo, Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 400; line-height: 1.1; color: var(--tk-ink);
}
.tk-contact-sub {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem; line-height: 1.6; color: var(--tk-slate);
}
/* the theme stripes table headers grey; these are layout tables, not data grids */
.tk-contact .tk-contact__hours,
.tk-contact .tk-contact__hours tr,
.tk-contact .tk-contact__hours th,
.tk-contact .tk-contact__hours td { background: transparent !important; border: 0 !important; }

