:root {
  --paper: #f4ede0;
  --paper-deep: #efe4d2;
  --ink: #3a2418;
  --ink-soft: #6a5344;
  --gold: #b08a58;
  --gold-line: rgba(176, 138, 88, 0.55);
  --espresso: #241610;
  --cream: #f8f2e8;
  --script: "Pinyon Script", "Apple Chancery", "Palatino Linotype", cursive;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --measure: 68rem;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.14 0 0 0 0 0.09 0 0 0 0.11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 48% 42% at 18% 20%, rgba(176, 138, 88, 0.16), transparent 72%),
    radial-gradient(ellipse 42% 36% at 82% 78%, rgba(176, 124, 108, 0.12), transparent 70%);
  background-size: 180px 180px, 760px 560px, 820px 600px;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

a:hover {
  color: var(--gold);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: var(--paper);
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.banner {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
}

.banner img {
  width: 100%;
  height: clamp(14rem, 42vw, 32rem);
  object-fit: cover;
  object-position: center 52%;
  border-radius: 0;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem var(--gutter);
  border-bottom: 1px solid var(--gold-line);
  position: sticky;
  top: 0;
  background-color: var(--paper);
  z-index: 8;
}

.wordmark {
  text-decoration: none;
  justify-self: start;
  width: max-content;
}

.wordmark:hover {
  color: inherit;
}

.seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 7.4rem;
  padding: 0.35rem 0.9rem 0.45rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  line-height: 1;
}

.seal strong {
  font-family: var(--script);
  font-weight: 400;
  font-size: 1.55rem;
}

.seal span {
  font-family: var(--serif);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.12rem;
}

.masthead nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.92rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.masthead nav a,
.masthead .tel,
.hero-meta a,
.links a,
.foot a,
.dock a,
.more,
.cat-switch button,
.admin-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}

.masthead .tel {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.masthead nav a[aria-current="page"],
.masthead nav a:hover,
.masthead .tel:hover,
.hero-meta a:hover,
.links a:hover,
.foot a:hover,
.dock a:hover,
.more:hover,
.cat-switch button[aria-selected="true"],
.cat-switch button:hover,
.admin-nav button[aria-selected="true"],
.admin-nav button:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  border-bottom: 1px solid var(--gold-line);
}

.hero figure {
  margin: 0.85rem var(--gutter);
  min-height: 0;
  padding: 0.45rem;
  border: 1px solid var(--gold);
  border-radius: 1.8rem;
  background: var(--cream);
  align-self: center;
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: 1.35rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background: transparent;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.8vw, 3.7rem);
  line-height: 1;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 38ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.place-lede {
  margin: 0 0 1.4rem;
  max-width: 42rem;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-line);
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.wrap {
  width: min(var(--measure), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--gold-line);
  scroll-margin-top: 5.5rem;
}

.section-head {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  align-items: end;
}

.section-head.plain {
  display: block;
}

.num {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding-bottom: 0.2rem;
}

.section h1,
.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.1;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
}

.prose p {
  margin: 0 0 1rem;
  max-width: 42ch;
}

.prose p:last-child {
  margin-bottom: 0;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0.2rem 1.05rem;
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: 1.15rem;
}

.menu li {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: baseline;
  column-gap: 1.25rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--gold-line);
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.25;
}

.menu li:last-child {
  border-bottom: 0;
}

.menu li > span,
.menu small {
  min-width: 0;
}

.menu small {
  font-family: var(--sans);
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
  text-align: right;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.allergen-copy,
.allergens,
.allergen-note {
  max-width: 38rem;
  text-wrap: pretty;
}

.allergen-copy p {
  margin: 0 0 1rem;
  max-width: none;
  line-height: 1.6;
}

.allergen-copy p:last-child {
  margin-bottom: 0;
}

.allergens {
  list-style: none;
  counter-reset: allergen;
  margin: 1.6rem 0 0;
  padding: 0.15rem 1.15rem;
  border: 1px solid var(--gold-line);
  border-radius: 1.15rem;
}

.allergens li {
  counter-increment: allergen;
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.35rem 0.85rem;
  align-items: baseline;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--gold-line);
  font-size: 1.05rem;
  line-height: 1.55;
}

.allergens li:last-child {
  border-bottom: 0;
}

.allergens li::before {
  content: counter(allergen) ".";
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.allergens li > span {
  min-width: 0;
}

.allergens strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
}

.allergen-note {
  margin: 1.15rem 0 0;
  line-height: 1.55;
  color: var(--ink-soft);
}

.vitrine {
  margin: 2.4rem 0 0;
  padding: 0.45rem 0.45rem 0.7rem;
  border: 1px solid var(--gold);
  border-radius: 1.8rem;
  background: var(--cream);
}

.vitrine img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 36rem;
  object-fit: cover;
  object-position: center 92%;
  border-radius: 1.35rem;
}

.caption {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.mosaic figure {
  margin: 0;
}

.mosaic img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
}

.mosaic .wide img {
  object-position: center 72%;
}

.mosaic .tall img {
  object-position: center 65%;
}

.order {
  background: var(--espresso);
  color: var(--cream);
  border-bottom: none;
}

.order .num,
.lede p {
  margin: 0 0 0.75rem;
}

.lede p:last-child {
  margin-bottom: 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.5rem 2.4rem;
  align-items: start;
}

.about figure {
  margin: 0;
  padding: 0.45rem;
  border: 1px solid var(--gold);
  border-radius: 1.8rem;
  background: var(--cream);
}

.about img {
  width: 100%;
  height: auto;
  border-radius: 1.35rem;
}

.about.is-single {
  grid-template-columns: minmax(0, 42rem);
}

.more-wrap {
  margin: 1.15rem 0 0;
}

.more {
  font: inherit;
  cursor: pointer;
}

.order .lede {
  color: color-mix(in srgb, var(--cream) 72%, var(--gold));
}

.order h1,
.order h2 {
  max-width: 18ch;
}

.phone {
  display: inline-flex;
  align-items: center;
  margin-top: 1.6rem;
  padding: 0.45rem 1.15rem 0.55rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
  color: var(--cream);
}

.phone:hover {
  background: var(--cream);
  color: var(--espresso);
}

.place {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.8rem 2.2rem;
  align-items: start;
}

.map {
  border: 1px solid var(--gold);
  border-radius: 1.8rem;
  padding: 0.45rem;
  background: var(--cream);
  min-height: 0;
}

.map iframe {
  display: block;
  width: 100%;
  height: 22rem;
  border: 0;
  border-radius: 1.35rem;
  filter: saturate(0.85) contrast(0.96);
}

.facts {
  display: grid;
  gap: 1.4rem;
}

.facts h3 {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.facts p,
.facts a {
  margin: 0;
  text-decoration: none;
}

.facts .big {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin-bottom: 0.25rem;
}

.hours {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0.15rem 0.9rem;
  overflow: hidden;
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: 1.15rem;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--gold-line);
  font-variant-numeric: tabular-nums;
}

.hours li:last-child {
  border-bottom: 0;
}

.hours .is-today {
  color: var(--ink);
  font-weight: 600;
  background: rgba(176, 138, 88, 0.22);
  margin: 0 -0.9rem;
  padding: 0.38rem 0.9rem;
}

.hours time {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.cat-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.3rem;
}

.cat-switch button {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.1;
  cursor: pointer;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem 0.8rem;
  align-items: stretch;
}

.gallery figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.gallery figure:first-child button {
  flex: 1;
  min-height: 0;
}

.gallery figure:first-child img {
  height: 100%;
  min-height: 16rem;
  aspect-ratio: auto;
}

.gallery figure {
  margin: 0;
  padding: 0.4rem 0.4rem 0.55rem;
  border: 1px solid var(--gold);
  border-radius: 1.5rem;
  background: var(--cream);
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.1rem;
}

.gallery figcaption {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

#nagykep {
  width: fit-content;
  max-width: min(92vw, 52rem);
  padding: 0.45rem;
  border: 1px solid var(--gold);
  border-radius: 1.5rem;
  background: var(--cream);
  color: var(--ink);
}

#nagykep::backdrop {
  background: rgba(26, 16, 12, 0.72);
}

#nagykep img {
  display: block;
  width: auto;
  max-width: min(88vw, 50rem);
  max-height: 78vh;
  border-radius: 1.1rem;
  background: var(--cream);
}

#nagykep p {
  margin: 0;
  padding: 0.9rem 1.1rem 1.15rem;
}

#nagykep form {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
}

#nagykep button {
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  font: inherit;
}

.admin {
  width: min(68rem, calc(100% - var(--gutter) * 2));
  margin: 2.5rem auto 4rem;
}

.admin h1,
.panel h2 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.login {
  max-width: 22rem;
}

.fields {
  display: grid;
  gap: 0.7rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--gold-line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.55rem 0.7rem;
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

.primary,
.quiet,
.danger {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.primary {
  justify-self: start;
  border-radius: 999px;
  background: var(--espresso);
  color: var(--cream);
  padding: 0.6rem 0.95rem;
}

.quiet,
.danger {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  padding: 0.28rem 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.danger {
  border-color: #8c3d32;
  color: #8c3d32;
}

.notice {
  min-height: 1.4rem;
  margin: 0.7rem 0 0;
  color: #8c3d32;
}

.notice.ok {
  color: var(--ink-soft);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-nav button {
  font: inherit;
  cursor: pointer;
}

#rolunk-eloze,
#fooldal-eloze {
  width: min(16rem, 100%);
  margin: 1rem 0;
  padding: 0.3rem;
  border: 1px solid var(--gold);
  border-radius: 1.1rem;
  background: var(--cream);
}

.admin-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.category-row,
.photo-row {
  display: grid;
  gap: 0.6rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gold-line);
}

.category-row {
  grid-template-columns: 1fr;
}

#fotok h3 {
  margin: 1.5rem 0 0.2rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
}

button:disabled {
  opacity: 0.35;
  cursor: default;
}

.photo-row {
  grid-template-columns: 5.5rem 1fr;
  align-items: start;
}

.photo-row img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  padding: 0.2rem;
  border: 1px solid var(--gold);
  border-radius: 0.9rem;
  background: var(--cream);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.panel + .panel,
#lap-form + .admin-grid {
  margin-top: 2.2rem;
}

.hint,
.field-label {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.field-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hours-edit {
  margin: 1.4rem 0 1rem;
  padding: 0;
  border: 0;
}

.hours-edit legend {
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.hour-row,
.item-row {
  display: grid;
  grid-template-columns: 7.2rem 1fr 1fr auto;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.item-row {
  grid-template-columns: 1fr 1fr auto;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.check input {
  width: auto;
}

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 2rem var(--gutter) 1.8rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
}

.foot .wordmark {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.foot .wordmark:hover {
  background: transparent;
  border-color: transparent;
  color: inherit;
}

.dock {
  display: none;
}

@media (max-width: 860px) {
  .masthead {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    position: static;
  }

  .masthead nav {
    grid-column: 1 / -1;
  }

  .masthead .tel {
    justify-self: end;
  }

  .hero,
  .split,
  .place,
  .mosaic,
  .gallery,
  .about,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery figure:first-child {
    display: block;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery figure:first-child img {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .hour-row,
  .item-row {
    grid-template-columns: 1fr 1fr;
  }

  .hour-row > span,
  .item-row .danger,
  .hour-row .check {
    grid-column: 1 / -1;
  }

  .banner img {
    height: clamp(12rem, 58vw, 20rem);
  }

  .hero img {
    height: auto;
  }

  .section-head {
    grid-template-columns: 3rem 1fr;
  }

  .vitrine img {
    aspect-ratio: 4 / 5;
    max-height: 28rem;
  }

  .map,
  .map iframe {
    min-height: 18rem;
    height: 18rem;
  }
}

@media (max-width: 640px) {
  body:has(.dock) {
    padding-bottom: calc(4.6rem + env(safe-area-inset-bottom));
  }

  .masthead {
    grid-template-columns: 1fr;
    gap: 0.7rem 0.6rem;
    padding: 0.7rem var(--gutter) 0.8rem;
  }

  .masthead .tel {
    display: none;
  }

  .masthead nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .masthead nav a {
    width: 100%;
  }

  .masthead nav a,
  .masthead .tel,
  .hero-meta a,
  .links a,
  .cat-switch button,
  .dock a {
    min-height: 2.75rem;
    padding: 0.4rem 0.9rem;
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu li {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.2rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure:first-child {
    grid-column: auto;
  }

  .gallery figure:first-child img {
    aspect-ratio: 4 / 5;
  }

  .section {
    padding: 2.2rem 0;
  }

  .cat-switch {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .cat-switch button {
    width: 100%;
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    padding: 0.55rem 0.9rem;
  }

  .foot {
    padding-bottom: 1.2rem;
  }

  .dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    padding: 0.55rem var(--gutter) calc(0.55rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--gold-line);
    background-color: var(--paper);
  }

  .dock a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
