/* ═══════════════════════════════════════════════════════════════════
   Lobby Bisztró — brand restyle (vintage romantic)
   Override of MW-Tabler design-vars.css; loaded after design-vars in header.
   Verified palette extracted from étlap-design reference (Image #9).
   ═══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Italianno&family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root,
:root.theme-light {
  /* Brand palette — burgundy/rose/cream */
  --mw-primary-color: #5C2A2A;
  --mw-secondary: #B89B95;
  --mw-background-color: #F5E6E0;
  --mw-section-background-color: #F5E6E0;
  --mw-body-color: #2D1414;
  --mw-textDark: #2D1414;
  --mw-textLight: #2D1414;
  --mw-paragraph-color: #2D1414;
  --mw-heading-color: #5C2A2A;
  --mw-link-color: #5C2A2A;

  /* Header (navbar): cream bg, wine text */
  --mw-header-background-color: #F5E6E0;
  --mw-header-link-color: #5C2A2A;
  --mw-header-link-hover-color: #7D4848;
  --mw-header-link-background-hover-color: transparent;

  /* Top header (if present): inverted */
  --mw-top-header-background-color: #5C2A2A;
  --mw-top-header-primary-color: #F5E6E0;
  --mw-top-header-link-color: #F5E6E0;
  --mw-top-header-link-hover-color: #E8D4CE;
  --mw-top-header-button-background-color: #B89B95;
  --mw-top-header-button-text-color: #ffffff;
  --mw-top-header-button-text-hover-color: #ffffff;

  /* Footer: wine bg, cream text */
  --mw-footer-background-color: #5C2A2A;
  --mw-footer-text-color: #F5E6E0;
  --mw-footer-link-color: #E8D4CE;
  --mw-footer-hover-link-color: #ffffff;
  --mw-footer-button-background-color: #B89B95;
  --mw-footer-button-background-hover-color: #E8D4CE;
  --mw-footer-button-text-color: #ffffff;
  --mw-footer-button-text-hover-color: #5C2A2A;
  --mw-footer-primary-color: #E8D4CE;

  /* Misc */
  --mw-text-decoration-color: #B89B95;

  /* Lobby-specific brand tokens */
  --lobby-wine: #5C2A2A;
  --lobby-wine-dim: #7D4848;
  --lobby-rose: #B89B95;
  --lobby-rose-soft: #E8D4CE;
  --lobby-cream: #F5E6E0;
  --lobby-text: #2D1414;
  --lobby-muted: #6B4E4E;
  --lobby-line: #D4BFB9;

  --lobby-font-script: "Lucida Calligraphy", "Great Vibes", "Pinyon Script", cursive;
  --lobby-font-sub: "Monotype Corsiva", "Italianno", "Allura", cursive;
  --lobby-font-body: "Garamond", "EB Garamond", "Cormorant Garamond", Georgia, serif;
}

/* Body background — white everywhere (per user request) */
body { background: #ffffff !important; color: var(--lobby-text); }

/* ═══════════════════════════════════════════════════════════════════
   Global typography — Lucida Calligraphy / Monotype Corsiva / Garamond
   (with Google Fonts fallback: Great Vibes / Italianno / EB Garamond)
   ═══════════════════════════════════════════════════════════════════ */

/* Body & paragraph: Garamond */
body,
p,
li,
td,
label,
input,
textarea,
select,
button {
  font-family: var(--lobby-font-body) !important;
}

/* H1 (major brand titles like "Lobby Bisztró", "A TÖRTÉNETÜNK"): Great Vibes / Lucida Calligraphy */
h1,
.h1,
.mw-element h1,
[id^="mw-element"] h1 {
  font-family: var(--lobby-font-script) !important;
  font-weight: 400 !important;
  color: var(--lobby-wine) !important;
  letter-spacing: 0.005em;
  line-height: 1.1;
}

/* H2 + H3 (section sub-titles like "Kiemelt Ajánlatunk", "Kapcsolatok"): Italianno / Monotype Corsiva */
h2,
.h2,
h3,
.h3 {
  font-family: var(--lobby-font-sub) !important;
  font-weight: 400 !important;
  color: var(--lobby-wine) !important;
  line-height: 1.2;
  letter-spacing: 0;
}

/* H4-H6 (card-titles, small headings): keep Garamond serif feel, but in wine */
h4, h5, h6,
.h4, .h5, .h6 {
  font-family: var(--lobby-font-body) !important;
  color: var(--lobby-wine) !important;
  font-weight: 600 !important;
}

/* Button text: Garamond serif looks oddly heavy — use small-caps body font */
button,
.btn,
a.btn,
input[type="submit"] {
  font-family: var(--lobby-font-body) !important;
  letter-spacing: 0.04em;
}

/* Menu / nav text: Garamond at navbar */
nav,
.navbar,
.main-nav,
.nav-link {
  font-family: var(--lobby-font-body) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   Color normalization — Override deprecated <font color> tags AND
   Live Edit-set inline colors that don't follow brand palette.
   (DB content is NOT touched — only visual override via CSS.)
   ═══════════════════════════════════════════════════════════════════ */

/* Override ALL <font color="*"> tags to brand wine */
font[color],
font[color="#f4b860"],
font[color="#F4B860"],
font[color="#f0e6dc"],
font[color="#F0E6DC"] {
  color: var(--lobby-wine) !important;
}

/* Override inline color styles to brand wine on body content */
.main-content [style*="color: #f4b860"],
.main-content [style*="color:#f4b860"],
.main-content [style*="color: #F4B860"],
.main-content [style*="color: #f0e6dc"],
.main-content [style*="color:#f0e6dc"] {
  color: var(--lobby-wine) !important;
}

/* Buttons + CTAs across the site: brand wine bg, cream text */
.btn-primary,
a.btn-primary,
button.btn-primary,
.btn.btn-primary {
  background-color: var(--lobby-wine) !important;
  border-color: var(--lobby-wine) !important;
  color: #fff !important;
}
.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  background-color: var(--lobby-wine-dim) !important;
  border-color: var(--lobby-wine-dim) !important;
}

.btn-secondary,
a.btn-secondary,
button.btn-secondary {
  background-color: var(--lobby-rose) !important;
  border-color: var(--lobby-rose) !important;
  color: #fff !important;
}

/* MW Bootstrap "warning" / "info" / "danger" classes — neutralize to brand */
.bg-warning, .bg-info, .bg-primary {
  background-color: var(--lobby-rose-soft) !important;
  color: var(--lobby-wine) !important;
}
.text-warning, .text-info, .text-primary {
  color: var(--lobby-wine) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   Kiemelt Ajánlatunk — DOUBLE-LINE rose frame around the ENTIRE menu
   section (NOT per-item). List-style items inside, no per-item border.
   ═══════════════════════════════════════════════════════════════════ */

/* Outer Kiemelt Ajánlatunk section: cream-rose surround */
.container[field^="layout-skin-11"] {
  background: var(--lobby-cream) !important;
  padding: 48px 32px !important;
  border-radius: 28px !important;
  margin: 32px auto !important;
  max-width: 1280px !important;
}

/* Inner card (.row.menu): WHITE background + double-line frame */
.row.menu {
  background: #ffffff;
  padding: 40px 44px !important;
  margin: 28px 8px !important;
  border: 1px solid var(--lobby-rose);
  outline: 1px solid var(--lobby-rose);
  outline-offset: 6px;
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(92, 42, 42, 0.08);
  position: relative;
}

/* Hide ingredient descriptions — keep only title + price + icons */
.menu > .item > p {
  display: none !important;
}

/* Items inside: list-style, no per-item border or corner-brackets */
.menu > .item {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 16px 14px !important;
  margin-bottom: 0 !important;
  border-bottom: 1px dotted rgba(184, 155, 149, 0.45) !important;
  position: relative;
  transition: none !important;
  transform: none !important;
}
.menu > .item::before,
.menu > .item::after { display: none !important; }
.menu > .item:hover {
  background: rgba(232, 212, 206, 0.25) !important;
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(184, 155, 149, 0.55) !important;
}

/* Last row items (no border-bottom) */
.menu > .item:nth-last-child(-n+2) { border-bottom: none !important; }

.menu > .item .title {
  font-family: var(--lobby-font-body) !important;   /* Garamond — match /etlap dish-name */
  font-size: 19px !important;
  color: var(--lobby-text) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.menu > .item .title .dish-icons {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
}
.menu > .item .title .dish-icons .mdi {
  font-size: 18px;
  color: var(--lobby-rose);
}
.menu > .item .price {
  font-family: var(--lobby-font-body) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  color: var(--lobby-wine-dim) !important;
  font-style: italic;
  margin-bottom: 6px;
}
.menu > .item p {
  font-family: var(--lobby-font-body) !important;
  font-size: 14px !important;
  font-style: italic;
  color: var(--lobby-muted) !important;
  line-height: 1.55;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   Rólunk — image extra: clean double-line frame (Image #10-style)
   ═══════════════════════════════════════════════════════════════════ */

.main-content img.element,
.edit img,
.mw-element img:not(.logo-img):not(.dish-icons .mdi) {
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--lobby-rose);
  outline: 1px solid var(--lobby-rose);
  outline-offset: 6px;
  box-shadow: 0 8px 24px rgba(92, 42, 42, 0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.main-content img.element:hover,
.edit img:hover,
.mw-element img:not(.logo-img):not(.dish-icons .mdi):hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(92, 42, 42, 0.18);
}

/* Skip the frame for menu/dish icons + nav/footer images */
.dish-icons .mdi,
.menu-legend .mdi,
.scw-cookie .mdi,
.nav-logo img,
header img,
footer img,
.module-logo img {
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   /etlap page typography is already explicitly set above via
   .menu-hero-title / .menu-section h2 / .dish-name — those win
   because they are MORE specific selectors.
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   /etlap page — tab-toggle layout
   ═══════════════════════════════════════════════════════════════════ */

.menu-wrap {
  max-width: 1180px;
  margin: 50px auto;
  padding: 60px 56px;
  font-family: var(--lobby-font-body);
  color: var(--lobby-text);
  background: var(--lobby-cream);
  border: 1px solid var(--lobby-rose);
  outline: 1px solid var(--lobby-rose);
  outline-offset: 8px;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(92, 42, 42, 0.1);
}

.menu-hero { text-align: center; margin-bottom: 36px; }
.menu-hero-title {
  font-family: var(--lobby-font-script);
  font-size: clamp(54px, 8vw, 96px);
  color: var(--lobby-wine);
  line-height: 1;
  margin: 0 0 6px;
  font-weight: 400;
}
.menu-hero-sub {
  font-family: var(--lobby-font-body);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.2em;
  color: var(--lobby-wine-dim);
  margin: 0;
  font-weight: 500;
}
.menu-hero-divider {
  width: 60px;
  height: 1px;
  background: var(--lobby-rose);
  margin: 20px auto 0;
}

/* Tabs */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  padding: 4px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--lobby-line);
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.menu-tab {
  border: none;
  background: transparent;
  padding: 12px 32px;
  font-family: var(--lobby-font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lobby-wine-dim);
  cursor: pointer;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.menu-tab:hover { color: var(--lobby-wine); }
.menu-tab.is-active {
  background: var(--lobby-wine);
  color: #fff;
}

/* Panels */
.menu-panel { display: none; }
.menu-panel.is-active { display: block; }

/* Section-grid (2-column on desktop, 1-column on mobile) */
.menu-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
  margin-bottom: 36px;
}
.menu-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 32px;
  margin-bottom: 36px;
}
.menu-full { margin-bottom: 36px; }

/* Section */
.menu-section h2 {
  font-family: var(--lobby-font-sub);
  font-size: clamp(28px, 3.2vw, 36px);
  color: var(--lobby-wine);
  margin: 0 0 18px;
  text-align: center;
  font-weight: 400;
  position: relative;
  padding-bottom: 8px;
}
.menu-section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--lobby-rose);
  margin: 8px auto 0;
}
.menu-section h2 .sub-note {
  display: block;
  font-family: var(--lobby-font-body);
  font-size: 13px;
  font-style: italic;
  color: var(--lobby-muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin-top: 4px;
}

/* Dish list */
.menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-section li {
  padding: 10px 0;
  border-bottom: 1px dotted var(--lobby-line);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
}
.menu-section li:last-child { border-bottom: none; }
.dish-name {
  font-family: var(--lobby-font-body);
  font-size: 17px;
  color: var(--lobby-text);
  font-weight: 500;
}
.dish-name .dish-ingredients {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: var(--lobby-muted);
  font-weight: 400;
  margin-top: 2px;
}
.dish-icons {
  display: inline-flex;
  gap: 4px;
  margin-left: 6px;
  vertical-align: baseline;
}
.dish-icons .mdi {
  font-size: 16px;
  color: var(--lobby-rose);
  line-height: 1;
}
.dish-price {
  font-family: var(--lobby-font-body);
  font-style: italic;
  font-size: 15px;
  color: var(--lobby-muted);
  white-space: nowrap;
}

/* Legend */
.menu-legend {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--lobby-line);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--lobby-font-body);
  font-size: 14px;
  color: var(--lobby-muted);
}
.menu-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.menu-legend .mdi {
  font-size: 18px;
  color: var(--lobby-rose);
}

.menu-disclaimer {
  text-align: center;
  margin-top: 18px;
  font-family: var(--lobby-font-body);
  font-style: italic;
  font-size: 13px;
  color: var(--lobby-muted);
}

/* /etlap page — cream-rose body bg + white framed card (per user request) */
body.page-etlap { background: var(--lobby-cream) !important; }
body.page-etlap > .main-content,
body.page-etlap > .edit.main-content,
body.page-etlap > .edit[field="content"] {
  padding-top: 0 !important;
  background: var(--lobby-cream);
}
/* The menu-wrap is white on /etlap (overrides the cream bg from main rule) */
body.page-etlap .menu-wrap {
  background: #ffffff !important;
}

/* Mobile */
@media (max-width: 767px) {
  .menu-wrap { padding: 90px 16px 40px; }
  .menu-grid-2,
  .menu-grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .menu-tab { padding: 10px 22px; font-size: 13px; letter-spacing: 0.1em; }
  .menu-section h2 { font-size: 26px; }
  .dish-name { font-size: 16px; }
  .menu-legend { gap: 14px 18px; font-size: 13px; }
}

/* ───── DSP (Demján Sándor Program) — pályázati arculati compliance ───── */
.lobby-dsp {
  background: var(--mw-footer-background-color, #5C2A2A);
  padding: 48px 0 32px;
  color: var(--mw-footer-text-color, #F5E6E0);
  border-bottom: 1px solid rgba(245,230,224,0.18);
  text-align: center;
}
.lobby-dsp .dsp-statement {
  font-family: 'Garamond', 'Cormorant Garamond', Georgia, serif;
  font-size: 15px;
  color: var(--mw-footer-text-color, #F5E6E0);
  margin-bottom: 28px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.lobby-dsp .dsp-logos {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px;
}
.lobby-dsp .dsp-logo,
.lobby-dsp .neum-logo {
  height: 141px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}
.lobby-dsp .dsp-logos a:hover .dsp-logo { opacity: 0.85; }

@media (max-width: 1024px) {
  .lobby-dsp .dsp-logo, .lobby-dsp .neum-logo { height: 100px; }
}
@media (max-width: 767.98px) {
  .lobby-dsp { padding: 36px 0 24px; }
  .lobby-dsp .dsp-logos { gap: 24px; padding: 8px; }
  .lobby-dsp .dsp-logo, .lobby-dsp .neum-logo { height: 64px; }
  .lobby-dsp .dsp-statement { font-size: 14px; margin-bottom: 20px; }
}