:root {
  --bg: #F4F5F0;
  --surface: #FFFFFF;
  --ink: #1F2A22;
  --muted: #56615A;
  --pond: #1E4A38;
  --meadow: #2F7D4F;
  --hay: #D69A1F;
  --hay-soft: #F4E6C2;
  --timber: #6B4428;
  --booked: #A3262A;
  --closed: #3E4642;
  --on-hay: #1F2A22;
  --free: #E1EDE3;
  --script: "Great Vibes", "Apple Chancery", "Segoe Script", cursive;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111915;
    --surface: #18221D;
    --ink: #E8ECE4;
    --muted: #A5B0A7;
    --pond: #A9D3B9;
    --meadow: #77C391;
    --hay: #E6B24A;
    --hay-soft: #382F1C;
    --timber: #CFA27B;
    --booked: #C2474C;
    --closed: #090E0B;
    --line: #2B3831;
    --on-hay: #1F2A22;
    --free: #22332A;
  }
}

:root[data-theme="dark"] {
  --bg: #111915;
  --surface: #18221D;
  --ink: #E8ECE4;
  --muted: #A5B0A7;
  --pond: #A9D3B9;
  --meadow: #77C391;
  --hay: #E6B24A;
  --hay-soft: #382F1C;
  --timber: #CFA27B;
  --booked: #C2474C;
  --closed: #090E0B;
  --line: #2B3831;
  --on-hay: #1F2A22;
  --free: #22332A;
}

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

html,
body {
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 128px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
}

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

a {
  color: var(--meadow);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--hay);
  outline-offset: 2px;
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.prose {
  max-width: 66ch;
}

.prose p {
  margin: 0 0 1em;
}

h2.script {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: var(--pond);
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 .6rem;
  line-height: 1.3;
}

section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

section + section {
  border-top: 1px solid var(--line);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--hay);
  color: var(--on-hay);
  padding: .5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: calc(env(safe-area-inset-top, 0px) + .5rem);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 70px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--script);
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  color: var(--pond);
  text-decoration: none;
  white-space: normal;
  line-height: 1.05;
  padding-block: .35rem;
}

.brand-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.brand-logo.on-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo.on-light {
    display: none;
  }
  :root:not([data-theme="light"]) .brand-logo.on-dark {
    display: block;
  }
}

:root[data-theme="dark"] .brand-logo.on-light { display: none; }
:root[data-theme="dark"] .brand-logo.on-dark { display: block; }

.top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

/* Nyelvválasztó a fejlécben */
.top-right .lang {
  display: flex;
  align-items: center;
  gap: .2rem;
  font-size: .95rem;
  line-height: 1;
}

.top-right .lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .5rem;
  border-radius: 5px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}

.top-right .lang a[aria-current="true"] {
  color: var(--ink);
  background: var(--hay-soft);
}

.top-right .lang a[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
}

/* Közösségi ikonok a felső sávban elegáns elválasztó vonalakkal */
.header-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  position: relative;
  padding-inline: 14px;
}

/* Bal oldali elválasztó (nyelvek és social ikonok között) */
.header-social::before {
  content: "";
  display: block;
  width: 1.5px;               /* Kicsit határozottabb vastagság */
  height: 20px;               /* Optimális, arányos magasság */
  background-color: color-mix(in srgb, var(--ink) 35%, transparent);
  margin-right: 2px;
}

/* Jobb oldali elválasztó (social ikonok és telefon gomb között) */
.header-social::after {
  content: "";
  display: block;
  width: 1.5px;
  height: 20px;
  background-color: color-mix(in srgb, var(--ink) 35%, transparent);
  margin-left: 2px;
}

.header-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  text-decoration: none !important;
  border: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
  line-height: 0;
  vertical-align: middle;
  transition: transform .15s ease, opacity .15s ease;
}

.header-social .social-icon:hover {
  transform: translateY(-2px);
  opacity: .85;
}

.header-social .social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.header-social .social-icon.fb {
  color: #1877f2;
}

.header-social .social-icon.ig {
  color: #d6249f;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font: inherit;
  font-weight: 700;
  padding: .7rem 1.2rem;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-hay {
  background: var(--hay);
  color: var(--on-hay);
}

.btn-hay:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .75);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-dark {
  background: var(--pond);
  color: var(--bg);
}

.btn-dark:hover {
  filter: brightness(1.1);
}

.phone-btn {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: .5rem .9rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  min-width: 5.2rem;
  text-align: center;
}

/* Alsó navigációs sáv */
.navrow {
  border-top: 1px solid var(--line);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 50px;
}

.navbar .nav {
  margin: 0 0 0 -.55rem;
}

.nav ul {
  display: flex;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: block;
  padding: .45rem .65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
}

.nav a:hover {
  background: var(--hay-soft);
}

/* Asztali gépen a menü melletti mobil nyelvválasztó rejtve marad */
.lang-mobile {
  display: none !important;
}

.admin-link {
  margin-left: auto;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: .25rem .4rem;
  border-radius: 5px;
  opacity: .7;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.admin-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.admin-link .count,
.menu-dot {
  display: inline-block;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--booked);
  font-size: 0;
  overflow: hidden;
}

.admin-link .count[hidden],
.menu-dot[hidden] {
  display: none;
}

.menu-dot {
  margin-left: .45rem;
  vertical-align: .1rem;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px);
  }
  .top-right {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
    margin-left: auto;
    flex-shrink: 0;
  }
  .brand {
    font-size: clamp(1.45rem, 6vw, 1.9rem);
    gap: .5rem;
  }
  .brand-logo {
    height: 38px;
  }
  .navrow {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
  }
  .navrow.open {
    display: block;
  }
  .navbar {
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
    padding-block: .5rem 1rem;
  }
  .navbar .nav {
    margin: 0;
  }
  .nav ul {
    flex-direction: column;
    gap: 0;
  }
  .nav a {
    padding: .75rem .5rem;
    font-size: 1.15rem;
  }
  .lang-mobile {
    display: flex !important;
    gap: .2rem;
    padding: .25rem .3rem;
  }
  .lang-mobile a {
    padding: .3rem .5rem;
    border-radius: 5px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
  }
  .lang-mobile a[aria-current="true"] {
    color: var(--ink);
    background: var(--hay-soft);
  }
  .admin-link {
    margin-left: .3rem;
    align-self: flex-start;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 1.3rem;
  }
}

/* ===== Hero Konténer ===== */
.hero {
  position: relative;
  min-height: min(62svh, 600px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #1E4A38;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 25%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 38, 28, .05) 0%, rgba(16, 38, 28, .35) 45%, rgba(12, 30, 22, .86) 100%);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  top: 14%;
  left: 6%;
  width: 20vw;
  max-width: 350px;
  min-width: 120px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.45));
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 4rem 3.5rem;
  padding-left: max(0px, calc(6vw + min(20vw, 350px) + 2rem - (100vw - min(1120px, 100vw - 2.5rem)) / 2));
}

.hero h1 {
  margin: 0;
  font-weight: 400;
  line-height: .95;
}

.hero h1.lockup {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2.5vw, 2rem);
  max-width: none;
}

.hero h1.lockup small {
  font-size: .62em;
}

.hero h1.lockup span {
  line-height: 1.05;
}

.hero h1.mark {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 6.6rem);
  line-height: 1.08;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .28);
  max-width: 13em;
  text-wrap: balance;
}

.hero .tagline {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 700;
  margin: 1.6rem 0 .5rem;
}

.hero .lede {
  max-width: 60ch;
  margin: 0 0 1.8rem;
  color: rgba(255, 255, 255, .92);
}

.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

@media (max-width: 900px) {
  .hero-badge {
    top: 1rem;
    left: 1.25rem;
    min-width: 0;
    width: clamp(80px, 22vw, 120px);
  }
  .hero-inner {
    padding-left: 0;
    padding-top: calc(clamp(80px, 22vw, 120px) * 0.77 + 2.5rem);
  }
}

.hero h1.mark,
.brand,
h2.script,
.sub-h,
.gallery .cap,
.inside h3,
.video-block h3 {
  word-spacing: .12em;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.inside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
}

.inside h3 {
  font-family: var(--script);
  font-weight: 400;
  font-size: 2.3rem;
  color: var(--pond);
  margin-bottom: .6rem;
}

.inside ul {
  margin: 0;
  padding-left: 1.1rem;
}

.inside li {
  margin-bottom: .7rem;
}

.inside li::marker {
  color: var(--hay);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.strip img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .strip {
    grid-template-columns: 1fr 1fr;
  }
  .strip img:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
  }
}

/* ===== Prices ===== */
.price-wrap {
  overflow-x: auto;
  margin-bottom: 2.5rem;
  position: relative;
}

table.prices {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 520px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.prices th,
.prices td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.prices tr:last-child td,
.prices tr:last-child th {
  border-bottom: 0;
}

.prices thead th {
  vertical-align: bottom;
  font-weight: 700;
  font-size: 1.15rem;
}

.prices thead small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: .95rem;
}

.prices td {
  font-variant-numeric: tabular-nums;
  font-size: 1.3rem;
  font-weight: 700;
}

.prices td span {
  font-size: .95rem;
  font-weight: 400;
  color: var(--muted);
}

.prices .main {
  background: var(--hay-soft);
}

.prices tbody th {
  font-weight: 500;
  color: var(--muted);
}

.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.rules ul {
  margin: 0;
  padding-left: 1.1rem;
}

.rules li {
  margin-bottom: .5rem;
}

.rules li::marker {
  color: var(--hay);
}

.valid {
  background: var(--hay-soft);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .rules {
    grid-template-columns: 1fr;
  }
}

.cancel {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.steps li {
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.steps li:last-child {
  border-right: 0;
}

.steps b {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .25rem;
}

.steps span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
  display: block;
}

.steps .ok {
  border-top: 4px solid var(--meadow);
}

.steps .part {
  border-top: 4px solid var(--hay);
}

.steps .none {
  border-top: 4px solid var(--booked);
}

.times {
  display: flex;
  gap: 1rem;
}

.times div {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
}

.times b {
  display: block;
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
}

.times span {
  color: var(--muted);
}

@media (max-width: 900px) {
  .cancel {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .steps li:nth-child(2) {
    border-right: 0;
  }
  .steps li:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery button {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
  position: relative;
}

.gallery button:focus-visible {
  outline: 3px solid var(--hay);
  outline-offset: 3px;
  border-radius: 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .25s ease;
}

.gallery button:hover img {
  transform: scale(1.02);
}

.gallery .cap {
  display: block;
  font-family: var(--script);
  font-size: 1.9rem;
  text-align: center;
  color: var(--pond);
  margin-top: .2rem;
  line-height: 1.3;
}

.gallery .cover-ph {
  aspect-ratio: 5/4;
}

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* Lightbox – Módosítva: 2026.10.06. (teljes képernyő, képaláírás nélkül, a kép mindig belefér, lágy átmenetek) */
dialog.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0b130f;
  color: #fff;
  overflow: hidden;
}

dialog.lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

dialog.lightbox::backdrop {
  background: #0b130f;
}

.lb-head {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem clamp(.75rem, 2vw, 1.5rem);
}

.lb-title {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.lb-count {
  font-size: .95rem;
  color: rgba(255, 255, 255, .55);
  font-variant-numeric: tabular-nums;
}

.lb-x,
.lb-nav {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background .15s;
}

.lb-x:hover,
.lb-nav:hover {
  background: rgba(255, 255, 255, .22);
}

.lb-x {
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
}

.lb-x svg,
.lb-nav svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lb-stage {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(.5rem, 6vw, 5rem);
}

.lb-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  opacity: 0; /* betöltés után úszik be (.in) */
}

.lb-ph {
  width: min(100%, 720px);
  aspect-ratio: 3/2;
  color: #cfd8d2;
  border: 0;
  background: #1d2a23 repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, .06) 12px 13px);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  z-index: 2;
}

.lb-prev {
  left: clamp(.4rem, 1.5vw, 1.25rem);
}

.lb-next {
  right: clamp(.4rem, 1.5vw, 1.25rem);
}

.lb-nav[hidden] {
  display: none;
}

.lb-thumbs {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  justify-content: safe center;
  padding: .8rem clamp(.75rem, 2vw, 1.5rem) 1rem;
  scrollbar-width: none;
}

.lb-thumbs:empty {
  padding: .5rem;
}

.lb-thumbs::-webkit-scrollbar {
  display: none;
}

.lb-thumbs button {
  all: unset;
  cursor: pointer;
  flex: 0 0 4rem;
  height: 2.9rem;
  border-radius: 4px;
  overflow: hidden;
  opacity: .45;
  transition: opacity .15s;
}

.lb-thumbs button:hover {
  opacity: .8;
}

.lb-thumbs button[aria-current="true"] {
  opacity: 1;
  outline: 2px solid var(--hay);
  outline-offset: 2px;
}

.lb-thumbs button:focus-visible {
  outline: 3px solid var(--hay);
}

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

.lb-thumbs .ph {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #2a3a31;
}

/* Lágy átmenetek: a nézegető beúszik, a következő kép a lapozás irányából csúszik be */
dialog.lightbox[open],
dialog.lightbox[open]::backdrop {
  animation: lbFade .25s ease-out;
}

.lb-stage img.in {
  animation: lbImg .35s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes lbFade {
  from { opacity: 0; }
}

@keyframes lbImg {
  from { opacity: 0; transform: translateX(var(--dx, 0)) scale(.985); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  dialog.lightbox[open],
  dialog.lightbox[open]::backdrop,
  .lb-stage img.in {
    animation: none;
  }
  .lb-stage img {
    opacity: 1;
  }
}

@media (max-width: 700px) {
  .lb-stage {
    padding: 0;
  }
  .lb-nav {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 0, 0, .45);
  }
  .lb-thumbs button {
    flex-basis: 3.2rem;
    height: 2.4rem;
  }
}

/* ===== Services ===== */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.services img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.svc {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}

.svc li {
  break-inside: avoid;
  padding: .55rem 0 .55rem 1.8rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.svc li::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: .95rem;
  width: .95rem;
  height: .5rem;
  border-left: 2.5px solid var(--meadow);
  border-bottom: 2.5px solid var(--meadow);
  transform: rotate(-45deg);
}

.svc-note {
  color: var(--muted);
  margin-top: 1.2rem;
}

@media (max-width: 820px) {
  .services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .svc {
    columns: 1;
  }
}

.svc-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas: "stage card" "thumbs thumbs";
  gap: 1rem 1.5rem;
}

.stage {
  grid-area: stage;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
  min-height: 320px;
}

.stage-open {
  all: unset;
  cursor: zoom-in;
  position: absolute;
  inset: 0;
}

.stage-open:focus-visible {
  outline: 3px solid var(--hay);
  outline-offset: -3px;
}

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

.stage-ph {
  height: 100%;
  border-radius: 14px;
}

.stage .st-prev {
  left: .75rem;
}

.stage .st-next {
  right: .75rem;
}

.stage .sl-btn {
  opacity: .92;
}

.st-count {
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  background: rgba(15, 25, 20, .68);
  color: #fff;
  border-radius: 999px;
  padding: .05rem .65rem;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.svc-card {
  grid-area: card;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .75rem 1.5rem 1rem;
}

.svc-card .svc {
  columns: 2;
  column-gap: 1.75rem;
}

.svc-card .svc li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem 0;
  font-weight: 500;
  line-height: 1.25;
}

.svc-card .svc li::before {
  content: none;
}

.svc-card .svc svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  color: var(--meadow);
  stroke-width: 1.9;
}

.svc-card .svc-note {
  margin: .8rem 0 0;
  font-size: 1rem;
}

.thumbs {
  grid-area: thumbs;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 13 * .6rem) / 14);
  gap: .6rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 3px;
}

.thumbs button {
  all: unset;
  cursor: pointer;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  opacity: .62;
  transition: opacity .15s;
}

.thumbs button:hover {
  opacity: .9;
}

.thumbs button[aria-current="true"] {
  opacity: 1;
  outline: 3px solid var(--hay);
  outline-offset: -3px;
}

.thumbs button:focus-visible {
  outline: 3px solid var(--pond);
  outline-offset: -3px;
}

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

.thumbs .ph {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
}

@media (max-width: 1100px) {
  .thumbs {
    grid-auto-columns: 84px;
  }
}

@media (max-width: 900px) {
  .svc-wrap {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "stage" "thumbs" "card";
  }
  .stage {
    min-height: 0;
    aspect-ratio: 4/3;
  }
  .thumbs {
    grid-auto-columns: 72px;
  }
}

@media (max-width: 420px) {
  .svc-card {
    padding: .5rem 1rem 1rem;
  }
  .svc-card .svc {
    column-gap: 1rem;
  }
  .svc-card .svc li {
    gap: .5rem;
    font-size: 1rem;
  }
}

/* ===== Nature & Fishing ===== */
.nature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.chips li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .2rem .75rem;
  font-size: 1rem;
}

.fish-list {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pond);
  margin: 0 0 1rem;
}

.frules {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Módosítva: 2026.10.17. – kisebb térköz a horgászszabályok között (korábban: padding: .7rem 0) */
.frules li {
  padding: .3rem 0;
  border-bottom: 1px solid var(--line);
}

/* Módosítva: 2026.10.17. – kisebb térköz a bevezető és a szabályok között */
#horgaszat .prose {
  margin-bottom: .5rem;
}

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

.tilos {
  color: var(--booked);
  font-weight: 700;
}

@media (max-width: 900px) {
  .nature {
    grid-template-columns: 1fr;
  }
}

/* ===== Programs ===== */
.onsite {
  columns: 2;
  column-gap: 3rem;
  max-width: none;
}

.onsite p {
  break-inside: avoid;
}

@media (max-width: 760px) {
  .onsite {
    columns: 1;
  }
}

.sub-h {
  font-family: var(--script);
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--pond);
  margin: 3rem 0 1rem;
  line-height: 1.2;
}

.village {
  list-style: none;
  margin: 0;
  padding: 0;
}

.village li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.village .km {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--timber);
}

.village b {
  display: block;
  margin-bottom: .2rem;
}

.village p {
  margin: 0;
  max-width: 72ch;
}

@media (max-width: 600px) {
  .village li {
    grid-template-columns: 1fr;
    gap: .2rem;
  }
}

.towns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.75rem 2rem;
}

.town {
  border-top: 3px solid var(--hay);
  padding-top: .7rem;
}

.town h4 {
  margin: 0 0 .4rem;
  font-size: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.town h4 span {
  font-weight: 500;
  color: var(--timber);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.town ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.town li {
  margin-bottom: .25rem;
}

/* ===== Booking ===== */
.booking {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 980px) {
  .booking {
    grid-template-columns: 1fr;
  }
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cal-head strong {
  text-align: center;
  flex: 1;
  min-width: 0;
}

.cal-head button {
  font: inherit;
  font-weight: 700;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .45rem .9rem;
  cursor: pointer;
  flex-shrink: 0;
}

.cal-head button:disabled {
  opacity: .4;
  cursor: default;
}

@media (max-width: 420px) {
  .cal-head {
    gap: .5rem;
  }
  .cal-head strong {
    font-size: 1rem;
  }
}

.months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 520px) {
  .months {
    grid-template-columns: 1fr;
  }
}

.month {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem;
}

.month h4 {
  margin: 0 0 .5rem;
  text-align: center;
  font-size: 1.05rem;
}

.grid7 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.grid7 .dow {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 700;
  padding-bottom: .2rem;
}

.day {
  font-size: .95rem;
  padding: .35rem 0;
  border-radius: 5px;
  background: var(--free);
}

.day.past {
  background: transparent;
  color: var(--muted);
  opacity: .55;
}

.day.full {
  background: var(--booked);
  color: #fff;
}

.day.in {
  background: linear-gradient(135deg, var(--free) 50%, var(--booked) 50%);
}

.day.out {
  background: linear-gradient(135deg, var(--booked) 50%, var(--free) 50%);
}

/* ===== ZÁRVA TARTÁS STÍLUSAI ===== */
/* Teljesen zárt nap */
.months .day.is-closed,
.months .day.day-closed,
.months .day.closed {
  background: var(--closed) !important;
  color: #fff !important;
  cursor: not-allowed;
}

/* Zárás kezdete (délutántól zárva): bal felső szabad, jobb alsó fekete */
.months .day.is-closed-in,
.months .day.closed-in {
  background: linear-gradient(135deg, var(--free) 50%, var(--closed) 50%) !important;
  color: var(--ink) !important;
}

/* Zárás vége (délelőtt még zárva): bal felső fekete, jobb alsó szabad */
.months .day.is-closed-out,
.months .day.closed-out {
  background: linear-gradient(135deg, var(--closed) 50%, var(--free) 50%) !important;
  color: #fff !important;
}

/* Ha a lezárt teljes napra ráviszik az egeret, ne kapjon kijelölést */
.months.pick .day.is-closed.can,
.months.pick .day.day-closed.can,
.months.pick .day.closed.can {
  cursor: not-allowed;
  outline: none;
}

/* A távozási félnap (amikor délutántól már lehet érkezni) hover kiemelése */
.months .day.is-closed-out.can:hover,
.months .day.closed-out.can:hover {
  outline: 2px solid var(--pond);
}

.day.today {
  outline: 2px solid var(--hay);
  outline-offset: -2px;
  font-weight: 700;
}

@media (max-width: 420px) {
  .month {
    padding: .6rem .5rem;
  }
  .grid7 {
    gap: 2px;
  }
  .day {
    font-size: .9rem;
  }
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted);
}

.legend i {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 3px;
  vertical-align: -2px;
  margin-right: .35rem;
}

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: 1rem;
  min-width: 0;
}

.field label {
  font-weight: 700;
  font-size: 1rem;
}

.field input,
.field textarea {
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .65rem .8rem;
  width: 100%;
  min-width: 0;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

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

.row3 {
  display: grid;
  grid-template-columns: 1fr 1fr .7fr;
  gap: 1rem;
}

.row4 {
  display: grid;
  grid-template-columns: 1.25fr 1.25fr .7fr .7fr;
  gap: 1rem;
}

@media (max-width: 700px) {
  .row4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .row,
  .row3 {
    grid-template-columns: 1fr;
  }
}

.estimate {
  background: var(--hay-soft);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin: .25rem 0 1.2rem;
  font-size: 1.05rem;
}

.estimate b.total {
  font-size: 1.6rem;
  display: block;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.estimate .warn {
  color: var(--booked);
  font-weight: 700;
  display: block;
  margin-top: .4rem;
}

.estimate small {
  display: block;
  color: var(--muted);
  margin-top: .35rem;
  font-size: .95rem;
}

.confirm-note {
  color: var(--booked);
  font-weight: 700;
  margin: 0 0 1rem;
}

.status {
  margin: 1rem 0 0;
  font-weight: 500;
}

.status:empty {
  display: none;
}

.live-note {
  font-size: .95rem;
  color: var(--muted);
  margin: .75rem 0 0;
}

.success {
  background: color-mix(in srgb, var(--meadow) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--meadow) 40%, transparent);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}

.reqmark {
  color: var(--booked);
  margin-left: .15rem;
  font-weight: 700;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.form-hint {
  font-size: .95rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.err {
  color: var(--booked);
  font-size: .95rem;
  font-weight: 500;
  margin: .1rem 0 0;
}

.field [aria-invalid="true"] {
  border-color: var(--booked);
  box-shadow: 0 0 0 1px var(--booked);
}

/* Módosítva: 2026.10.07. – megjegyzés az ártáblázat alatt, és link a részletes feltételekre a lemondási sávok alatt */
.price-note {
  font-size: .95rem;
  color: var(--muted);
  margin: .75rem 0 2rem;
}

.terms-link {
  font-size: .95rem;
  margin: .75rem 0 0;
}

/* Módosítva: 2026.10.07. – még kitöltendő helyek a jogi szövegekben (feltöltés előtt mind el kell tűnnie) */
mark.todo {
  background: #ffe066;
  color: #5a3b00;
  padding: 0 .2em;
  border-radius: 3px;
}

/* Módosítva: 2026.10.07. – tájékoztató sor a küldés gomb előtt (házirend, adatkezelés) */
.consent-note {
  font-size: .95rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.field-hint {
  color: var(--muted);
  font-size: .85rem;
}

/* ===== Contact ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.direct a {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--pond);
  text-decoration: none;
  margin-bottom: .4rem;
  word-break: break-word;
}

.direct a:hover {
  text-decoration: underline;
}

.direct p {
  color: var(--muted);
}

@media (max-width: 820px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
footer {
  background: #1B2F25;
  color: #D7DED7;
  padding-block: 3rem 2rem;
}

footer .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

footer h3 {
  color: #fff;
  font-size: 1.05rem;
}

footer a {
  color: #F0D48E;
}

footer a.ph-link {
  color: #F0D48E;
}

footer address {
  font-style: normal;
  line-height: 1.8;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2;
}

.fine {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.2rem;
  margin: 0;
  font-size: .95rem;
  color: #A8B4AB;
}

@media (max-width: 760px) {
  footer .wrap {
    grid-template-columns: 1fr;
  }
}

/* ===== Placeholders, Toast & Links ===== */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem;
  border: 1.5px dashed color-mix(in srgb, var(--muted) 45%, transparent);
  background: repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in srgb, var(--line) 55%, transparent) 12px 13px);
  border-radius: 10px;
}

a.ph-link {
  color: var(--meadow);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.ph-toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1.25rem);
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: .6rem 1rem;
  border-radius: 8px;
  z-index: 90;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.ph-toast.show {
  opacity: 1;
}

/* ===== Slider ===== */
.slider {
  position: relative;
  margin-top: 3rem;
}

.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 10px;
}

.track::-webkit-scrollbar {
  display: none;
}

.slide {
  margin: 0;
  scroll-snap-align: start;
  aspect-ratio: 4/3;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.slide.ph {
  height: auto;
}

.sl-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.sl-btn:disabled {
  opacity: 0;
  pointer-events: none;
}

.sl-prev {
  left: -.75rem;
}

.sl-next {
  right: -.75rem;
}

.dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: .9rem;
}

.dots button {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
}

.dots button[aria-current="true"] {
  background: var(--hay);
}

@media (max-width: 820px) {
  .track {
    grid-auto-columns: 82%;
  }
  .sl-prev {
    left: .25rem;
  }
  .sl-next {
    right: .25rem;
  }
}

/* ===== Video ===== */
.video-block {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.video-block h3 {
  font-family: var(--script);
  font-weight: 400;
  font-size: 2.4rem;
  color: var(--pond);
  line-height: 1.2;
}

.video-block p {
  color: var(--muted);
  margin: 0;
}

.video {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #1E4A38;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* Módosítva: 2026.10.07. – a lejátszó a borítókép mögött töltődik, és csak induláskor úszik be */
  z-index: 2;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.video iframe.ready {
  opacity: 1;
  pointer-events: auto;
}

.video.loading .ph { z-index: 3; }

.video.loading .play {
  cursor: progress;
}

.video.loading .play::before {
  /* Módosítva: 2026.10.07. – töltésjelző a lejátszás gombon */
  border: .3rem solid color-mix(in srgb, var(--on-hay) 25%, transparent);
  border-top-color: var(--on-hay);
  border-radius: 50%;
  width: 1.8rem;
  height: 1.8rem;
  margin: 0;
  box-sizing: border-box;
  animation: videoSpin .8s linear infinite;
}

@keyframes videoSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .video.loading .play::before { animation-duration: 2.4s; }
}

.video .ph {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  flex-direction: column;
  gap: .8rem;
  color: #fff;
  font-weight: 700;
  border-color: rgba(255, 255, 255, .28);
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, .06) 12px 13px);
}

.video .ph.has-thumb {
  background: rgba(10, 25, 18, .35);
  border: 0;
}

.video .yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-link {
  display: inline-block;
  margin-top: .8rem;
  font-weight: 700;
}

.play {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 0;
  background: var(--hay);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.play::before {
  content: "";
  border-left: 1.4rem solid var(--on-hay);
  border-top: .85rem solid transparent;
  border-bottom: .85rem solid transparent;
  margin-left: .35rem;
}

@media (max-width: 820px) {
  .video-block {
    grid-template-columns: 1fr;
  }
}

/* ===== Cloudflare & Utility ===== */
.ts {
  margin: 0 0 1rem;
  min-height: 65px;
}

.ok-line {
  color: var(--meadow);
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

.tbl-wrap {
  position: relative;
}

/* ===== Házirend / Adatkezelési nyilatkozat Modal ===== */
dialog.docmodal {
  border: 0;
  padding: 0;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  width: min(820px, 100% - 2rem);
  max-height: min(88vh, 100% - 2rem);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

dialog.docmodal[open] {
  display: flex;
  flex-direction: column;
}

dialog.docmodal::backdrop {
  background: rgba(8, 16, 12, .7);
}

.dm-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1rem 1.75rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.dm-head h2 {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.6rem);
  color: var(--pond);
  margin: 0;
  line-height: 1.2;
  word-spacing: .12em;
}

.dm-x {
  margin-left: auto;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}

.dm-x:hover {
  background: var(--hay-soft);
}

.dm-body {
  overflow-y: auto;
  padding: .5rem 1.75rem 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  overscroll-behavior: contain;
}

.dm-body h3 {
  font-size: 1.15rem;
  margin: 1.6rem 0 .5rem;
  color: var(--pond);
}

.dm-body h4 {
  font-size: 1.05rem;
  margin: 1.2rem 0 .4rem;
}

.dm-body p {
  margin: 0 0 .8rem;
}

.dm-body ul {
  margin: 0 0 .8rem;
  padding-left: 1.2rem;
}

.dm-body li {
  margin-bottom: .4rem;
}

.dm-body li::marker {
  color: var(--hay);
}

.dm-body ul ul {
  margin: .4rem 0 .2rem;
}

@media (max-width: 520px) {
  .dm-head {
    padding: .8rem 1rem;
  }
  .dm-body {
    padding: .25rem 1rem 1.5rem;
  }
}

/* ===== Dátumválasztás a Naptárban ===== */
.cal-hint {
  margin: 0 0 .75rem;
  font-weight: 500;
  color: var(--pond);
}

.months.pick .day.can {
  cursor: pointer;
}

.months.pick .day.can:hover {
  outline: 2px solid var(--pond);
  outline-offset: -2px;
}

.months.pick .day:focus-visible {
  outline: 3px solid var(--hay);
  outline-offset: -1px;
}

/* ===== Alap kiválasztási stílusok ===== */
.day.sel-range {
  background: color-mix(in srgb, var(--hay) 45%, var(--free)) !important;
  color: var(--ink) !important;
}

.day.sel-start,
.day.sel-end {
  background: var(--hay) !important;
  color: var(--on-hay) !important;
  font-weight: 700;
}

/* ===== FÉLNAPOS KIJELÖLÉSEK (ARANY KOMBINÁCIÓK) ===== */

/* 1. Érkezési nap (sel-start), amikor a délelőtt még FOGLALT (piros), délutántól indul a foglalás (arany) */
.months .day.out.sel-start {
  background: linear-gradient(135deg, var(--booked) 50%, var(--hay) 50%) !important;
  color: #fff !important;
}

/* 2. Érkezési nap (sel-start), amikor a délelőtt még ZÁRVA (fekete), délutántól indul a foglalás (arany) - mint Május 1. */
.months .day.is-closed-out.sel-start,
.months .day.closed-out.sel-start {
  background: linear-gradient(135deg, var(--closed) 50%, var(--hay) 50%) !important;
  color: #fff !important;
}

/* 3. Távozási nap (sel-end), amikor délelőttig tart a foglalás (arany), délutántól FOGLALT (piros) */
.months .day.in.sel-end {
  background: linear-gradient(135deg, var(--hay) 50%, var(--booked) 50%) !important;
  color: #fff !important;
}

/* 4. Távozási nap (sel-end), amikor délelőttig tart a foglalás (arany), délutántól ZÁRVA (fekete) */
.months .day.is-closed-in.sel-end,
.months .day.closed-in.sel-end {
  background: linear-gradient(135deg, var(--hay) 50%, var(--closed) 50%) !important;
  color: #fff !important;
}

/* 5. Ha egy tartományon belüli nap (sel-range) véletlenül félnapot érintene */
.months .day.is-closed-out.sel-range,
.months .day.out.sel-range {
  background: linear-gradient(135deg, var(--booked) 50%, color-mix(in srgb, var(--hay) 45%, var(--free)) 50%) !important;
}

.row.dates input[readonly] {
  cursor: pointer;
  background: var(--surface);
}

@keyframes inputGlowPulse {
  25% {
    background-color: rgba(245, 166, 35, 0.4);
    border-color: #f5a623;
    box-shadow: 0 0 14px rgba(245, 166, 35, 0.55);
  }
}

.flash-highlight {
  animation: inputGlowPulse 0.9s ease-in-out;
}

/* ===== Admin Panel ===== */
#admin {
  padding-block: 2.5rem 5rem;
  min-height: 70vh;
}

.admin-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-top h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.admin-top p {
  margin: .2rem 0 0;
  color: var(--muted);
}

.btn-line {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-line:hover {
  background: var(--hay-soft);
}

.btn-sm {
  padding: .45rem .8rem;
  font-size: 1rem;
  border-width: 1px;
}

.btn-danger {
  background: var(--booked);
  color: #fff;
}

.tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: .25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs button {
  white-space: nowrap;
  font: inherit;
  font-weight: 700;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  padding: .7rem 1rem;
  cursor: pointer;
  margin-bottom: -1px;
}

.tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--hay);
}

.tabs .count {
  display: inline-block;
  min-width: 1.4em;
  padding: 0 .35em;
  margin-left: .35rem;
  border-radius: 999px;
  background: var(--booked);
  color: #fff;
  font-size: .85rem;
  text-align: center;
}

.tabs .count:empty {
  display: none;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.seg {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.seg button {
  font: inherit;
  font-size: 1rem;
  background: none;
  border: 0;
  padding: .45rem .9rem;
  cursor: pointer;
  color: var(--muted);
}

.seg button[aria-pressed="true"] {
  background: var(--pond);
  color: var(--bg);
  font-weight: 700;
}

.empty {
  color: var(--muted);
  padding: 2rem;
  text-align: center;
  border: 1.5px dashed var(--line);
  border-radius: 12px;
}

.reqs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1rem;
}

.req {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.req header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
}

.req h3 {
  margin: 0;
  font-size: 1.15rem;
  word-break: break-word;
}

.req .dates {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.req .meta {
  color: var(--muted);
  font-size: 1rem;
}

.req .contact {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.req .contact a {
  margin: 0;
  word-break: normal;
  overflow-wrap: anywhere;
}

.req .note {
  background: var(--bg);
  border-radius: 8px;
  padding: .5rem .7rem;
  font-size: 1rem;
  white-space: pre-wrap;
  margin: 0;
}

.req .actions {
  display: flex;
  gap: .5rem;
  margin-top: .4rem;
  flex-wrap: wrap;
}

.warn-line {
  color: var(--booked);
  font-weight: 700;
  font-size: 1rem;
}

.badge {
  font-size: .85rem;
  font-weight: 700;
  border-radius: 999px;
  padding: .1rem .6rem;
  white-space: nowrap;
}

.badge.pending {
  background: var(--hay-soft);
  color: var(--timber);
}

.badge.accepted {
  background: color-mix(in srgb, var(--meadow) 18%, transparent);
  color: var(--meadow);
}

.badge.declined {
  background: color-mix(in srgb, var(--booked) 15%, transparent);
  color: var(--booked);
}

.badge.block {
  background: var(--line);
  color: var(--ink);
}
/* ÚJ: Zárva jelvény az adminban */
.badge.closed {
  background: var(--closed);
  color: #fff;
}

.tbl-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

table.bk {
  border-collapse: collapse;
  width: 100%;
  min-width: 820px;
  font-size: 1rem;
}

.bk th,
.bk td {
  padding: .75rem .9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.bk thead th {
  font-size: .9rem;
  color: var(--muted);
  font-weight: 700;
  background: var(--bg);
}

.bk tr:last-child td {
  border-bottom: 0;
}

.bk td.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.bk .who small {
  display: block;
  color: var(--muted);
}

.bk small {
  font-size: .92rem;
}

.bk .row-actions {
  display: flex;
  gap: .4rem;
  white-space: nowrap;
}

.bk tr.is-past {
  opacity: .6;
}

.dep {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  white-space: nowrap;
}

.dep input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--meadow);
}

.admin-cal .day {
  cursor: pointer;
}

.admin-cal .day.past {
  cursor: default;
}

.admin-cal .day:not(.past):hover {
  outline: 2px solid var(--pond);
  outline-offset: -2px;
}

.entry {
  max-width: 760px;
}

.kind {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.kind label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  cursor: pointer;
}

.check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.check input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--meadow);
}

.field select {
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .65rem .8rem;
  width: 100%;
}

.inline {
  display: flex;
  gap: .5rem;
  align-items: end;
}

.inline .field {
  flex: 1;
}

.inline .btn {
  margin-bottom: 1rem;
}

.form-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  align-items: center;
}

.admin-gate {
  max-width: 560px;
}

.hide-for-admin[hidden] {
  display: none !important;
}

.booking > *,
.contact > *,
.services > *,
.nature > *,
.about-grid > * {
  min-width: 0;
}
/* Közösségi ikonok a menüsor jobb szélén – Módosítva: 2026.10.06. */
.nav-social {
  margin-left: auto;
  padding-inline: 0;
}
.nav-social::before,
.nav-social::after {
  display: none;
}
.nav-social .social-icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  /* Mobilon a lenyíló menü alján */
  .nav-social {
    margin-left: 0;
    gap: 12px;
    padding: .5rem .3rem;
  }
  .nav-social .social-icon {
    width: 28px;
    height: 28px;
  }
}
