/* Outfit – helyi variable woff2 (latin + latin-ext), Fontsource unicode-range */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bee-yellow: #f5b410;
  --bee-yellow-bright: #ffc107;
  --ink: #f5f3e9;
  --ink-soft: #f5f3e9;
  --ink-elev: #fffaf0;
  --line: rgba(22, 18, 12, 0.12);
  --paper: #16120c;
  --muted: rgba(22, 18, 12, 0.62);
  --ph-bg: rgba(236, 187, 69, 0.18);
  --ph-border: rgba(180, 130, 20, 0.45);
  --radius: 10px;
  --max: 1120px;
  --font: "Outfit", system-ui, sans-serif;
  --glass-bg: rgba(255, 250, 240, 0.72);
  --glass-bg-solid: rgba(244, 239, 228, 0.94);
  --glass-border: rgba(22, 18, 12, 0.1);
  --glass-shine: rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 10px 36px rgba(60, 40, 10, 0.12), 0 2px 8px rgba(60, 40, 10, 0.06);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bottom-nav-h: 62px;
  --topbar-h: 3.1rem;
  --hive-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath fill='none' stroke='%23d4b45a' stroke-width='1.35' d='M28 0 L56 16 L56 48 L28 64 L0 48 L0 16 Z M28 64 L56 80 L56 112 L28 128 L0 112 L0 80 Z'/%3E%3C/svg%3E");
  --hive-opacity: 0.17;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--paper);
  background: var(--ink);
  line-height: 1.55;
  min-height: 100dvh;
  position: relative;
}

/* Teljes szélességű háttér a fejléc mögött: kaptár + lágy színátmenet (nincs éles szakaszél) */
.page-atmosphere {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(88vh, 820px);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 55% at 70% -5%, rgba(236, 187, 69, 0.22), transparent 58%),
    radial-gradient(ellipse 60% 45% at 8% 25%, rgba(247, 181, 0, 0.1), transparent 52%),
    linear-gradient(180deg, #f7f2e8 0%, #f5f3e9 38%, rgba(245, 243, 233, 0.85) 68%, transparent 100%);
}
.page-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hive-pattern);
  background-size: 56px 100px;
  opacity: 0.17;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.45) 70%, transparent 100%);
}

/* Sticky fátyol: görgetéskor is elkeni a szakaszéleket a fejléc mögött */
.header-veil {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 0;
  pointer-events: none;
}
body:has(.topbar) .header-veil {
  top: var(--topbar-h, 3.1rem);
}
.header-veil::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background:
    linear-gradient(
      180deg,
      rgba(244, 239, 228, 0.78) 0%,
      rgba(244, 239, 228, 0.4) 40%,
      rgba(244, 239, 228, 0.12) 70%,
      transparent 100%
    );
}
.header-veil::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background-image: var(--hive-pattern);
  background-size: 56px 100px;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bee-yellow); text-decoration: none; }
a:hover { color: var(--bee-yellow-bright); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; color: var(--muted); }

.ph {
  display: inline;
  padding: 0.05em 0.28em;
  border-radius: 4px;
  background: var(--ph-bg);
  border: 1px dashed var(--ph-border);
  color: var(--bee-yellow);
  font-weight: 600;
  font-size: 0.95em;
  word-break: break-word;
}
.placeholder-block {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 2rem;
  border: 1px dashed var(--ph-border);
  border-radius: var(--radius);
  background: rgba(236, 187, 69, 0.1);
  color: #8a6a12;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Liquid glass —— */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-shine);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-bg-solid); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: var(--glass-bg-solid);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}


/* —— Opening / promo top bar (scrolls away) —— */
.topbar {
  background: var(--bee-yellow);
  color: #111;
  font-size: 0.88rem;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 120;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  padding: 0.5rem 0;
  width: min(100% - 1rem, var(--max));
  margin-inline: auto;
}
.topbar__label { font-weight: 700; white-space: nowrap; }
.topbar__label--mobile { display: none; }
.topbar__countdown {
  display: inline-flex;
  gap: 0.3rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.topbar__countdown > span {
  background: rgba(0,0,0,0.12);
  border-radius: 6px;
  padding: 0.12rem 0.35rem;
  min-width: 2.2rem;
  text-align: center;
}
.topbar__countdown small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* Promo sáv gomb (nyitási sávon nincs gomb) */
.topbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #111;
  color: var(--bee-yellow) !important;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}
.topbar__btn:hover { background: #000; color: var(--bee-yellow-bright) !important; }
@media (max-width: 760px) {
  .topbar--opening .topbar__label--desktop { display: none; }
  .topbar--opening .topbar__label--mobile { display: inline; }
  .topbar--opening .topbar__inner { gap: 0.5rem; }
  .topbar--opening .topbar__countdown > span { min-width: 2rem; padding: 0.1rem 0.28rem; }
}

/* —— Logo —— */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper) !important;
  flex-shrink: 0;
}
.logo img { width: 34px; height: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__brand {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
}
.logo__brand em { color: var(--bee-yellow); font-style: normal; }
.logo__tag {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.22rem;
}

/* —— Buttons / lang —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(60, 40, 10, 0.14);
}
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:focus-visible {
  outline: 2px solid var(--bee-yellow);
  outline-offset: 3px;
}
.btn--primary { background: var(--bee-yellow); color: #111 !important; }
.btn--primary:hover { background: var(--bee-yellow-bright); color: #111 !important; }
.btn--ghost {
  background: transparent;
  border-color: rgba(22, 18, 12, 0.22);
  color: var(--paper) !important;
}
.btn--ghost:hover {
  border-color: transparent;
  color: #111 !important;
  background: var(--bee-yellow);
}
.btn--link { background: transparent; color: var(--paper) !important; padding-inline: 0.35rem; }
.btn--link:hover { box-shadow: none; }
.btn--sm { padding: 0.45rem 0.8rem; font-size: 0.82rem; }
.lang {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.72rem;
  font-weight: 700;
}
.lang span, .lang button, .lang a {
  padding: 0.32rem 0.5rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: default;
  text-decoration: none;
}
.lang a { cursor: pointer; }
.lang .is-on { background: var(--bee-yellow); color: #111; }
.lang .is-soon { opacity: 0.55; position: relative; }
.lang .is-soon::after {
  content: "Hamarosan";
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  transform: translateX(-50%);
  background: var(--ink-elev);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.65rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.lang .is-soon:hover::after { opacity: 1; }

/* —— Desktop / tablet floating pill header —— */
.pill-header {
  display: none;
  position: sticky;
  top: 14px;
  z-index: 90;
  width: min(100% - 2rem, 1180px);
  margin: 14px auto 0;
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  border-radius: 999px;
  align-items: center;
  gap: 0.5rem;
  transition: padding 0.25s ease, top 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border-color: rgba(22, 18, 12, 0.08);
  border-top-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 250, 240, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 4px 24px rgba(60, 40, 10, 0.1),
    0 0 0 1px rgba(22, 18, 12, 0.05),
    0 12px 40px rgba(60, 40, 10, 0.08);
}
body:has(.topbar) .pill-header {
  top: calc(var(--topbar-h, 3.1rem) + 10px);
}
.pill-header::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    rgba(244, 239, 228, 0.45),
    transparent 70%
  );
  filter: blur(8px);
}
@media (prefers-reduced-transparency: reduce) {
  .pill-header {
    background: rgba(244, 239, 228, 0.96);
    box-shadow: 0 8px 28px rgba(60, 40, 10, 0.12);
  }
  .pill-header::after { display: none; }
}
.pill-header.is-compact {
  padding-block: 0.35rem;
  top: 10px;
}
body:has(.topbar) .pill-header.is-compact {
  top: calc(var(--topbar-h, 3.1rem) + 6px);
}
.pill-header__nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  margin-left: 0.5rem;
}
.pill-header__nav > a,
.pill-header .nav__toggle {
  color: var(--paper);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.pill-header__nav > a:hover,
.pill-header .nav__toggle:hover,
.pill-header__nav > a.is-active {
  color: var(--paper);
  background: rgba(236, 187, 69, 0.18);
}
.nav__dropdown { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 0.2rem; }
.nav__toggle .icon { width: 16px; height: 16px; }
.nav__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.45rem;
  border-radius: 0 0 18px 18px;
  display: none;
  z-index: 95;
  /* 0% átlátszó — a .glass osztály szándékosan nincs a menün */
  background: #f4efe4;
  border: 1px solid var(--glass-border);
  border-top: none;
  box-shadow:
    0 12px 32px rgba(60, 40, 10, 0.1),
    0 4px 10px rgba(60, 40, 10, 0.05);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav__dropdown.is-open .nav__menu { display: grid; }
.nav__menu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  color: var(--paper);
  font-weight: 600;
  font-size: 0.9rem;
}
.nav__menu a:hover { color: var(--paper); background: rgba(236, 187, 69, 0.18); }

.pill-header__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--paper) !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  transition: color 0.15s ease;
}
.header-phone .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.header-phone:hover {
  color: var(--bee-yellow) !important;
}
.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--paper) !important;
  flex-shrink: 0;
}
.header-login .icon { width: 20px; height: 20px; }
.header-login:hover {
  color: var(--bee-yellow) !important;
  border-color: var(--bee-yellow);
}
.pill-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.04);
  color: var(--paper);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Tablet hamburger panel */
.tablet-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
}
.tablet-panel.is-open { display: block; }
.tablet-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.tablet-panel__sheet {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 420px);
  max-height: calc(100dvh - 110px);
  overflow: auto;
  border-radius: 24px;
  padding: 1rem;
}
.tablet-panel__sheet a,
.tablet-panel__sheet button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
}
.tablet-panel__sheet a:hover { color: var(--bee-yellow); }
.tablet-panel__group {
  margin: 0.35rem 0 0.75rem;
  padding-left: 0.5rem;
  border-left: 2px solid var(--line);
}
.tablet-panel__group a { font-size: 0.92rem; color: var(--muted); }
.tablet-panel__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

/* —— Mobile top strip (logo only, scrolls away) —— */
.mobile-top {
  display: none;
  padding: 0.75rem 1rem;
  position: relative;
  z-index: 30;
  background: transparent;
  border-bottom: 0;
}

/* —— Mobile bottom nav —— */
.bottom-nav {
  display: none;
  position: fixed;
  left: 50%;
  bottom: calc(12px + var(--safe-bottom));
  transform: translateX(-50%);
  /* Infó sheet fölött maradjon látható / kattintható */
  z-index: 140;
  width: min(100% - 1.25rem, 440px);
  height: var(--bottom-nav-h);
  box-sizing: border-box;
  border-radius: 999px;
  padding: 0.2rem 0.35rem;
  /* 5 egyenlő oszlop; elemek a saját cellájukban középre */
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: stretch;
  gap: 0;
  border-color: rgba(22, 18, 12, 0.1);
  border-top-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 250, 240, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 32px rgba(60, 40, 10, 0.12),
    0 0 40px 6px rgba(60, 40, 10, 0.06);
}
.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0.15rem 0.1rem;
  color: var(--muted) !important;
  font-size: 0.6875rem; /* 11px */
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: center;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  border-radius: 14px;
}
.bottom-nav__item > span,
.bottom-nav__book > span:not(.bottom-nav__book-fab) {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.bottom-nav__item .icon { width: 22px; height: 22px; }
.bottom-nav__item.is-active { color: var(--bee-yellow) !important; }
.bottom-nav__book {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.12rem;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0.1rem 0.15rem 0;
  color: var(--paper) !important;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: center;
  background: transparent;
  border: 0;
  transform: translateY(-10px); /* 8–12 px kiemelés */
}
.bottom-nav__book-fab {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--bee-yellow);
  color: #111;
  box-shadow: 0 6px 16px rgba(236, 187, 69, 0.35);
}
.bottom-nav__book:hover .bottom-nav__book-fab {
  background: var(--bee-yellow-bright);
}
.bottom-nav__book .icon {
  width: 20px;
  height: 20px;
  margin: 0;
}

/* Mobile info sheet — teljes sötétítés; panel a sticky nav felett */
.sheet {
  --sheet-nav-gap: calc(12px + var(--safe-bottom) + var(--bottom-nav-h) + 12px);
  --sheet-anim: 0.42s;
  display: none;
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
}
.sheet.is-open {
  display: block;
}
.sheet.is-open .sheet__backdrop,
.sheet.is-open .sheet__panel {
  pointer-events: auto;
}
.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 18, 12, 0.3); /* 25–35%: világosabb fátyol */
  opacity: 0;
  transition: opacity var(--sheet-anim) ease;
}
.sheet.is-open .sheet__backdrop {
  opacity: 1;
}
.sheet__panel {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: var(--sheet-nav-gap);
  max-height: calc(100dvh - var(--sheet-nav-gap) - 10px);
  border-radius: 20px;
  padding: 0.35rem 0.85rem 0.75rem;
  overflow: auto;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--sheet-anim) ease,
    transform var(--sheet-anim) cubic-bezier(0.22, 1, 0.36, 1);
  /* Krém panel: olvashatóbb glass, 90–95% átlátszatlanság + enyhe blur */
  background: rgba(245, 243, 233, 0.93);
  border: 1px solid rgba(180, 150, 90, 0.18);
  border-top-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    0 12px 36px rgba(60, 40, 10, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.sheet.is-open .sheet__panel {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .sheet {
    --sheet-anim: 0.01ms;
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sheet__panel { background: rgba(245, 243, 233, 0.97); }
}
@media (prefers-reduced-transparency: reduce) {
  .sheet__panel {
    background: #f5f3e9;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.sheet__handle {
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: rgba(160, 130, 70, 0.28);
  margin: 0.3rem auto 0.45rem;
}
.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}
.sheet__head h2 { margin: 0; font-size: 1rem; }
.sheet__close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(180, 150, 90, 0.2);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.sheet__list a,
.sheet__list .sheet-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.55rem;
  margin: 0 -0.3rem;
  border-bottom: 1px solid rgba(180, 150, 90, 0.09); /* meleg bézs ~8–10% */
  border-radius: 10px;
  color: var(--paper);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 44px;
  box-sizing: border-box;
}
.sheet__list a:last-of-type,
.sheet__list .sheet-row:last-child {
  border-bottom-color: transparent;
}
.sheet__list a:hover { color: #8a6400; }
.sheet__list a.is-active {
  background: rgba(236, 187, 69, 0.22);
  color: var(--paper);
  font-weight: 600;
  border-bottom-color: transparent;
}
.sheet__list a.is-active + a {
  border-top: 0;
}
.sheet__list .icon {
  color: var(--bee-yellow);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.sheet__list a.is-active .icon {
  color: #c99400;
}
.sheet__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding-top: 0.55rem;
}

/* Body offset for bottom nav on mobile */
@media (max-width: 767px) {
  /* Alsó hely a láblécben legyen (ne body padding → szürke sáv a menü mögött) */
  html { background: #e8e0d0; }
  body { padding-bottom: 0; }
  .mobile-top { display: flex; align-items: center; }
  .mobile-top .logo__tag { display: none; }
  .bottom-nav { display: grid; }
  .pill-header { display: none !important; }
  /* A sticky fátyol ráfutott a hero főcímre → sötét „árnyék” az első soron */
  .header-veil { display: none !important; }
}

@media (min-width: 768px) {
  .pill-header { display: flex; }
  .mobile-top, .bottom-nav, .sheet { display: none !important; }
  .pill-burger { display: inline-flex; }
  .pill-header__nav,
  .pill-header__actions .header-phone,
  .pill-header__actions .header-login,
  .pill-header__actions .lang { display: none; }
}

@media (min-width: 1024px) {
  .pill-burger { display: none; }
  .tablet-panel { display: none !important; }
  .pill-header__nav { display: flex; }
  .pill-header__actions .header-phone,
  .pill-header__actions .header-login,
  .pill-header__actions .lang { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill-header { transition: none; }
}

/* —— Page sections (unchanged palette) —— */
/* overflow:visible — a sticky GYIK oszlop a szakaszon belül maradjon (clip megtöri) */
main { overflow: visible; position: relative; z-index: 1; }
.section { padding: clamp(3rem, 6vw, 5rem) 0; position: relative; z-index: 1; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--alt {
  background: var(--ink);
}
.section__head { max-width: 40rem; margin-bottom: 2rem; }
.section__head h1,
.section__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}
.section__head--cta {
  margin-bottom: 0;
  text-align: left;
}
.section__head--cta > p {
  margin-bottom: 0;
}
.section__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin: 0.75rem 0 0;
}
.section__cta-aside {
  color: var(--muted, #6b5f52);
  font-size: 0.95rem;
}
.section__cta-aside a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.eyebrow {
  display: inline-block;
  color: var(--bee-yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.25rem);
  background: transparent;
}
@media (min-width: 768px) {
  .hero + .section {
    padding-top: clamp(1.5rem, 3vw, 2.5rem);
  }
}
.hero > .wrap { position: relative; z-index: 1; }
/* Lélegző fény: zónákat a JS szűri (bal sáv + jobb háromszög / mobil jobb-felső) */
.hero-hive-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-hive-glow svg {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  overflow: visible;
}
.hero-hive-glow .hive-run {
  fill: none;
  stroke: var(--bee-yellow);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  filter: drop-shadow(0 0 3px rgba(236, 187, 69, 0.55));
}
@media (max-width: 767px) {
  .hero {
    padding-top: clamp(1.5rem, 5vw, 2.5rem);
    padding-bottom: 0.85rem;
  }
  .hero + .section {
    padding-top: 0.85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-hive-glow { display: none !important; }
}
.page-hero {
  position: relative;
  z-index: 1;
  padding: clamp(2.2rem, 5vw, 3.5rem) 0 0;
  text-align: left;
}
/* wrap.section__head egyben: ne zsugorodjon 40rem-re (az középre tolná, mint egy keskeny oszlop) */
.page-hero > .wrap.section__head {
  max-width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  margin-bottom: 0;
  text-align: left;
}
.page-hero .section__head h1,
.page-hero .section__head h2,
.page-hero h1 {
  text-align: left;
}
.page-hero .section__head > p:last-child {
  margin-bottom: 0;
}
/* Hero után: kis levegő */
.page-hero + .section {
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
}
.page-hero--compact {
  padding-top: clamp(1.2rem, 3vw, 2rem);
}
.page-hero--compact + .section {
  padding-top: clamp(0.85rem, 2vw, 1.35rem);
}
.page-hero--compact + .section.section--tight {
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

/* Biztonság: témablokkok — nem kártyarács, függőleges lista elválasztókkal */
.security-topics-section {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}
.page-hero--compact + .security-topics-section {
  padding-top: 50px !important;
}
.security-topics {
  display: flex;
  flex-direction: column;
  max-width: 40rem;
}
.security-topic {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.15rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.security-topic:first-child {
  padding-top: 0;
}
.security-topic:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.security-topic > .icon {
  color: var(--bee-yellow);
  margin-top: 0.15rem;
}
.security-topic__body h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}
.security-topic__body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Biztonság desktop helykitöltő összehasonlítás — mobilon nincs aside / nincs B duplikátum */
.security-compare {
  position: relative;
}
.security-compare__head {
  margin-bottom: 50px;
  max-width: 40rem;
}
.security-compare__h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.security-compare__aside {
  display: none;
}
.security-compare__stage {
  position: relative;
  min-height: 280px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

/* Kaptár-él körbe → shield (csak desktop aside) */
.security-compare__stage--hive-shield {
  display: grid;
  place-items: center;
  background: transparent;
}
.security-hive-shield {
  width: min(100%, 340px);
  height: auto;
  color: var(--bee-yellow);
  overflow: visible;
}
.security-hive-shield__grid {
  opacity: 0.18;
}
.security-hive-shield__run {
  fill: none;
  stroke-dasharray: 0.22 0.78;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 3px rgba(236, 187, 69, 0.55));
  animation: security-hive-run 7.5s ease-in-out infinite;
}
.security-hive-shield__shape {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(236, 187, 69, 0.45));
  animation: security-hive-shield-in 7.5s ease-in-out infinite;
}
.security-hive-shield__check {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  animation: security-hive-check-in 7.5s ease-in-out infinite;
}
@keyframes security-hive-run {
  0% {
    stroke-dashoffset: 0.08;
    opacity: 0.15;
  }
  12% { opacity: 0.95; }
  55% {
    stroke-dashoffset: -1;
    opacity: 0.85;
  }
  68% { opacity: 0.25; }
  78%, 100% {
    stroke-dashoffset: -1.15;
    opacity: 0;
  }
}
@keyframes security-hive-shield-in {
  0%, 48% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  52% { opacity: 1; }
  68% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  86% { opacity: 0.95; }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@keyframes security-hive-check-in {
  0%, 62% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  66% { opacity: 1; }
  76% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  86% { opacity: 0.95; }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@media (min-width: 960px) {
  .security-compare__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
  }
  .security-compare__aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
  .security-compare__stage {
    min-height: 340px;
    flex: 1;
  }
  .security-compare .security-topics {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .security-hive-shield__run,
  .security-hive-shield__shape,
  .security-hive-shield__check {
    animation: none !important;
  }
  .security-hive-shield__run { opacity: 0; }
  .security-hive-shield__shape,
  .security-hive-shield__check {
    stroke-dashoffset: 0;
    opacity: 0.7;
  }
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  letter-spacing: -0.02em;
}
.hero .lead { font-size: 1.1rem; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }
.perk-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
}
.perk {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.perk:first-child { padding-left: 0; }
.perk:last-child { padding-right: 0; }
.perk + .perk {
  border-left: 1px solid var(--line);
}
.perk .icon {
  color: var(--bee-yellow);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.perk__body { min-width: 0; }
.perk strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.35;
}
.perk span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.icon-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
/* 9 élethelyzet: 3×3 desktop/tablet, 1 oszlop mobilon — nincs lógó elem */
.icon-grid--situations {
  grid-template-columns: repeat(3, 1fr);
}
.icon-card {
  padding: 1.25rem;
  border: 1px solid rgba(22, 18, 12, 0.1);
  border-radius: var(--radius);
  background: var(--ink-elev);
  box-shadow: 0 2px 10px rgba(60, 40, 10, 0.04);
}
.icon-card .icon { color: var(--bee-yellow); margin-bottom: 0.75rem; }
.icon-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.icon-card p { margin: 0; font-size: 0.92rem; }

/* Kapcsolat: bal info+segítség, jobb űrlap — egyenlő magasság desktopon */
.contact-layout.split {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}
.contact-panel,
.contact-form-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}
.contact-panel__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}
.contact-panel .footer-contact {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
/* Telefon / mail: lábléc-szerű, nem rikító sárga */
.contact-panel .footer-contact a {
  color: var(--muted);
}
.contact-panel .footer-contact a:hover,
.contact-panel .footer-contact a:focus-visible {
  color: #8a6a12;
}
.contact-panel__note {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.contact-panel__note a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.contact-panel__note a:hover { color: var(--bee-yellow); }
.contact-help {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.contact-help__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.contact-form-panel__lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  line-height: 1.45;
}
.form--contact {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.form--contact .form-flash {
  max-width: none;
}
.form--contact .form-field--grow textarea {
  min-height: 6.5rem;
  resize: vertical;
}
/* Desktop: űrlap közvetlenül az elérhetőségek mellett (ne a jobb szélre tolódjon) */
@media (min-width: 981px) {
  .contact-layout.split {
    grid-template-columns: minmax(16rem, 26rem) minmax(18rem, 22.5rem);
    justify-content: start;
    align-items: start;
    column-gap: calc(clamp(1.15rem, 2vw, 1.75rem) + 100px);
    row-gap: 1.25rem;
  }
  .contact-panel {
    min-height: 0;
  }
  .contact-form-panel {
    min-height: 0;
    justify-content: flex-start;
    align-items: stretch;
  }
  .form--contact {
    gap: 0.5rem;
    width: 100%;
  }
  .form--contact .btn {
    width: auto;
    align-self: flex-start;
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
  }
}
@media (max-width: 980px) {
  /* .contact-layout.split specifikusabb, mint .split — mobilon kötelező 1 oszlop */
  .contact-layout.split {
    grid-template-columns: 1fr;
  }
  .contact-panel,
  .contact-form-panel {
    min-height: 0;
  }
  .contact-panel__note {
    max-width: none;
  }
}

.bento-situations__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr auto;
  gap: 1rem;
  align-items: stretch;
}
.bento-situations__tile {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(22, 18, 12, 0.1);
  border-radius: var(--radius);
  background: var(--ink-elev);
  box-shadow: 0 2px 10px rgba(60, 40, 10, 0.04);
  min-width: 0;
  height: 100%;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.bento-situations__tile:hover {
  border-color: var(--bee-yellow);
  background: rgba(236, 187, 69, 0.12);
  box-shadow: 0 4px 16px rgba(60, 40, 10, 0.08);
}
.bento-situations__tile .icon {
  color: var(--bee-yellow);
  flex-shrink: 0;
}
.bento-situations__copy {
  min-width: 0;
}
.bento-situations__copy h3 {
  margin: 0 0 0.35rem;
  color: var(--paper);
  font-weight: 700;
}
.bento-situations__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.bento-situations__tile--large {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem;
  /* ugyanaz a keret/alapszín, mint a kis csempéken */
  background: var(--ink-elev);
  border-color: rgba(22, 18, 12, 0.1);
}
.bento-situations__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 0.25s ease;
  pointer-events: none;
}
.bento-situations__tile--large::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* felül enyhe cream; alsó sáv a szöveghez */
  background: linear-gradient(
    180deg,
    rgba(255, 250, 240, 0.4) 0%,
    rgba(255, 250, 240, 0.12) 38%,
    transparent 55%,
    rgba(255, 250, 240, 0.55) 72%,
    rgba(255, 250, 240, 0.78) 100%
  );
}
.bento-situations__tile--large .bento-situations__copy {
  background: rgba(255, 250, 240, 0.72);
  border-radius: 0.75rem;
  padding: 0.65rem 0.8rem;
  margin: 0 -0.2rem -0.15rem;
}
.bento-situations__tile--large:hover {
  background: var(--ink-elev);
}
.bento-situations__tile--large:hover .bento-situations__bg {
  transform: scale(1.03);
}
.bento-situations__tile--large > .bento-situations__copy {
  position: relative;
  z-index: 2;
  margin-top: auto;
}
.bento-situations__tile--large .bento-situations__copy h3 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.bento-situations__tile--large .bento-situations__copy p {
  font-size: 0.98rem;
}
.bento-situations__tile--small {
  padding: 0.95rem 1rem;
  gap: 0.55rem;
}
.bento-situations__tile--small .icon {
  width: 1.35rem;
  height: 1.35rem;
}
.bento-situations__tile--small .bento-situations__copy h3 {
  font-size: 1rem;
}
.bento-situations__tile--small .bento-situations__copy p {
  font-size: 0.88rem;
}
.bento-situations__tile--move { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento-situations__tile--reno { grid-column: 3; grid-row: 1; }
.bento-situations__tile--season { grid-column: 3; grid-row: 2; }
.bento-situations__tile--bike { grid-column: 4 / 6; grid-row: 1 / 3; }
.bento-situations__tile--kids { grid-column: 1; grid-row: 3; }
.bento-situations__tile--shop { grid-column: 2; grid-row: 3; }
.bento-situations__tile--abroad { grid-column: 3; grid-row: 3; }
.bento-situations__tile--rent { grid-column: 4; grid-row: 3; }
.bento-situations__tile--sport { grid-column: 5; grid-row: 3; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.card-grid--cats {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  /* hely a szegélyre kilógó címkének (ne érjen az alcímbe) */
  margin-top: 0.35rem;
  padding-top: 1.1rem;
}
.size-card, .blog-card, .step-card {
  border: 1px solid rgba(22, 18, 12, 0.1);
  border-radius: var(--radius);
  background: var(--ink-elev);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  /* soft elevation — látható, de nem nehéz */
  box-shadow:
    0 1px 2px rgba(22, 18, 12, 0.05),
    0 4px 10px rgba(22, 18, 12, 0.06),
    0 10px 28px rgba(22, 18, 12, 0.08);
}
.size-card__m2 { font-size: 1.8rem; font-weight: 800; color: #8a6400; }
.size-card__price { font-size: 1.05rem; color: var(--paper); font-weight: 700; }
.size-card .btn { margin-top: auto; }

/* Kategóriakártyák (kezdőlap) */
a.size-card--link {
  color: inherit;
  text-decoration: none;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.size-card--link:hover {
  color: inherit;
  transform: translateY(-5px);
  box-shadow:
    0 2px 4px rgba(22, 18, 12, 0.05),
    0 10px 20px rgba(22, 18, 12, 0.08),
    0 18px 40px rgba(22, 18, 12, 0.1);
}
.size-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-block;
  margin: 0;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: #fffaf0;
  border: 1px solid var(--bee-yellow);
  color: #8a6a12;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.size-card__name {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--paper);
}
.size-card__range {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #8a6400;
}
.size-card__fits {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1 1 auto;
}
.size-card--link .size-card__price {
  margin-top: auto;
  padding-top: 0.75rem;
}
.size-card--featured {
  position: relative;
  background: var(--ink-elev);
  border: 2px solid var(--bee-yellow);
  /* egy vonalban a többivel — csak erősebb árnyék emeli ki */
  box-shadow:
    0 2px 4px rgba(22, 18, 12, 0.06),
    0 12px 24px rgba(22, 18, 12, 0.1),
    0 22px 48px rgba(22, 18, 12, 0.12);
}
/* Autófényezés-szerű fénycsík — jól látható, a kártyán belül */
.size-card--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background-image: linear-gradient(
    115deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.05) 46%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 236, 180, 0.28) 52%,
    rgba(255, 255, 255, 0.08) 56%,
    transparent 60%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-repeat: no-repeat;
  background-position: 130% 0;
  animation: size-card-shine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.size-card--featured > *:not(.size-card__badge) {
  position: relative;
  z-index: 2;
}
.size-card--featured .size-card__badge {
  position: absolute; /* ne írja felül a szegélyre ültetést */
  z-index: 3;
  background: var(--bee-yellow);
  color: #111;
  border-color: var(--bee-yellow);
}
a.size-card--featured:hover {
  box-shadow:
    0 4px 8px rgba(22, 18, 12, 0.06),
    0 16px 32px rgba(22, 18, 12, 0.11),
    0 28px 56px rgba(22, 18, 12, 0.14);
}
@keyframes size-card-shine {
  0%, 12% {
    background-position: 130% 0;
  }
  45% {
    background-position: -40% 0;
  }
  45.01%, 100% {
    background-position: -40% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .size-card--featured::after {
    animation: none;
    background-image: none;
  }
}
/* Alcím↔kártyák térközzel megegyező: section__head margin-bottom (2rem) */
.size-cats-footer {
  margin-top: 2rem;
}
.size-cats-note {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.size-cats-actions {
  margin-top: 0;
}
.size-cat-block {
  scroll-margin-top: calc(var(--topbar-h, 3.1rem) + 5.5rem);
  margin-bottom: 2.5rem;
}
.size-cat-block:last-child { margin-bottom: 0; }
.size-cat-block__head {
  margin-bottom: 1.15rem;
}
.size-cat-block__head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.size-cat-block__head p {
  margin: 0;
  color: var(--muted);
}

/* Méretútmutató táblázat (kalkulátor oldal) — size-card vizuális nyelv */
#kalkulator {
  scroll-margin-top: calc(var(--topbar-h, 3.1rem) + 5.5rem);
}
.size-guide {
  width: 100%;
}
.size-guide__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(22, 18, 12, 0.1);
  border-radius: var(--radius);
  background: var(--ink-elev);
  box-shadow:
    0 1px 2px rgba(22, 18, 12, 0.05),
    0 4px 10px rgba(22, 18, 12, 0.06),
    0 10px 28px rgba(22, 18, 12, 0.08);
  overflow: hidden;
}
.size-guide__table thead th {
  text-align: left;
  padding: 0.85rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(22, 18, 12, 0.1);
  background: rgba(22, 18, 12, 0.04);
}
.size-guide__table tbody th,
.size-guide__table tbody td {
  padding: 1.1rem 1.15rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(22, 18, 12, 0.08);
  text-align: left;
}
.size-guide__table tbody tr:last-child th,
.size-guide__table tbody tr:last-child td {
  border-bottom: 0;
}
.size-guide__use {
  font-weight: 400;
}
.size-guide__title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--paper);
  line-height: 1.25;
}
.size-guide__detail {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
}
.size-guide__size {
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--paper);
  white-space: nowrap;
}
.size-guide__price {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.size-guide__price a {
  color: #8a6400;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.size-guide__price a:hover,
.size-guide__price a:focus-visible {
  color: var(--paper);
}
.size-guide__link .btn {
  margin: 0;
}
@media (max-width: 700px) {
  .size-guide__table,
  .size-guide__table thead,
  .size-guide__table tbody,
  .size-guide__table th,
  .size-guide__table td {
    display: block;
    width: 100%;
  }
  .size-guide__table {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  .size-guide__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .size-guide__table tbody {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .size-guide__table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: baseline;
    column-gap: 0.75rem;
    row-gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid rgba(22, 18, 12, 0.1);
    border-radius: var(--radius);
    background: var(--ink-elev);
    box-shadow:
      0 1px 2px rgba(22, 18, 12, 0.05),
      0 4px 10px rgba(22, 18, 12, 0.06),
      0 10px 28px rgba(22, 18, 12, 0.08);
  }
  .size-guide__table tbody th,
  .size-guide__table tbody td {
    padding: 0;
    border: 0;
    white-space: normal;
  }
  .size-guide__use {
    grid-column: 1 / -1;
  }
  .size-guide__title {
    font-size: 1.35rem;
  }
  .size-guide__size {
    font-size: 1.05rem;
  }
  .size-guide__price {
    text-align: right;
  }
  .size-guide__link {
    grid-column: 1 / -1;
  }
  .size-guide__link .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .card-grid--cats {
    grid-template-columns: 1fr;
    padding-top: 1rem;
  }
  .size-cats-actions {
    flex-direction: column;
  }
  .size-cats-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  counter-reset: step;
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--bee-yellow);
  color: #111;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}
.step-card .icon { color: var(--bee-yellow); }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.map-ph { min-height: 280px; }

/* —— Méretkalkulátor élő előnézet —— */
.u-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.calc-live {
  position: relative;
  display: flex;
  flex-direction: column;
  /* kártya külső mérete fix */
  height: 360px;
  padding: 1.15rem 1.15rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid rgba(22, 18, 12, 0.1);
  background: var(--ink-elev);
  box-shadow:
    0 1px 2px rgba(22, 18, 12, 0.05),
    0 4px 10px rgba(22, 18, 12, 0.06),
    0 10px 28px rgba(22, 18, 12, 0.08);
  user-select: none;
  touch-action: pan-y;
  overflow: hidden;
  box-sizing: border-box;
}
.calc-live__size {
  flex: 0 0 auto;
  margin: 0;
  text-align: center;
  font-size: clamp(1.7rem, 3.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #8a6400;
  line-height: 1.1;
  transition: opacity 0.35s ease;
}
.calc-live.is-swapping .calc-live__size { opacity: 0.55; }
.calc-live__stage {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 0;
  /* több hely a boxnak (leírás↔csúszka felezve) */
  margin-top: 0.55rem;
  padding: 0 0.35rem 0.15rem;
  box-sizing: border-box;
  overflow: visible;
}
.calc-live__box {
  position: relative;
  /* fix magasság; csak a szélesség nő a mérettel */
  --lid-h: 0.65rem;
  height: 8.35rem;
  width: var(--box-w, 55%);
  max-width: calc(100% - 1.25rem);
  min-width: 4.5rem;
  flex: 0 0 auto;
  margin-inline: auto;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.calc-live__box-frame {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--lid-h);
  bottom: 0;
  border: 2px solid rgba(22, 18, 12, 0.55);
  border-radius: 0.35rem 0.35rem 0.2rem 0.2rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.4), transparent 42%),
    transparent;
  box-shadow: inset 0 0 0 1px rgba(236, 187, 69, 0.12);
}
.calc-live__box-frame::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: calc(var(--lid-h) * -1);
  height: var(--lid-h);
  border: 2px solid rgba(22, 18, 12, 0.55);
  border-bottom: 0;
  border-radius: 0.2rem 0.2rem 0 0;
  background: rgba(255, 250, 240, 0.55);
  clip-path: polygon(7% 100%, 15% 0, 85% 0, 93% 100%);
}
.calc-live__items {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 7%;
  top: calc(var(--lid-h) + 6%);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  align-content: flex-end;
  justify-content: center;
  column-gap: 0.3rem;
  row-gap: 0.15rem;
  overflow: hidden;
  padding: 0 0.1rem;
  box-sizing: border-box;
}
.calc-live__item {
  color: var(--paper);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  flex: 0 0 auto;
  max-height: 100%;
}
.calc-live__item.is-in {
  opacity: 0.92;
  transform: translateY(0);
}
/* fix ikonméret — szélesedő boxban több fér el, az ikonok maguk nem nőnek */
.calc-live__item--sm { width: 34px; height: 34px; }
.calc-live__item--md { width: 44px; height: 44px; }
.calc-live__item--lg { width: 56px; height: 56px; }
.calc-live__item svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
/* természetes pakolás a padlóról */
.calc-live__item:nth-child(even).is-in { transform: translateY(2px); }
.calc-live__item:nth-child(3n).is-in { transform: translateY(0); }
.calc-live__desc {
  flex: 0 0 auto;
  /* fele a korábbi leírás↔csúszka résnek */
  margin: 0.45rem 0 0.28rem;
  min-height: 2.4em;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.35;
  transition: opacity 0.35s ease;
}
.calc-live.is-swapping .calc-live__desc { opacity: 0.45; }
.calc-live__slider { flex: 0 0 auto; margin-top: 0; }
.calc-live__slider-label { display: block; }
.calc-live__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2.5rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.calc-live__range:focus-visible {
  outline: 2px solid var(--bee-yellow);
  outline-offset: 3px;
  border-radius: 999px;
}
.calc-live__range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(236, 187, 69, 0.35), rgba(236, 187, 69, 0.75));
  border: 1px solid rgba(22, 18, 12, 0.1);
}
.calc-live__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--bee-yellow);
  border: 2px solid #111;
  box-shadow: 0 2px 8px rgba(60, 40, 10, 0.18);
}
.calc-live__range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(236, 187, 69, 0.35), rgba(236, 187, 69, 0.75));
  border: 1px solid rgba(22, 18, 12, 0.1);
}
.calc-live__range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bee-yellow);
  border: 2px solid #111;
  box-shadow: 0 2px 8px rgba(60, 40, 10, 0.18);
}
.calc-live__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: -0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
@media (max-width: 767px) {
  .calc-live-section {
    padding-bottom: calc(1.5rem + var(--bottom-nav-h) * 0.1);
  }
  .calc-live {
    width: 100%;
    height: 360px;
  }
  .calc-live__box {
    height: 7.85rem;
    min-width: 5.25rem;
  }
  .calc-live__item--sm { width: 32px; height: 32px; }
  .calc-live__item--md { width: 40px; height: 40px; }
  .calc-live__item--lg { width: 50px; height: 50px; }
  .calc-live__range { height: 2.75rem; }
  .calc-live__range::-webkit-slider-thumb {
    width: 30px;
    height: 30px;
    margin-top: -13px;
  }
  .calc-live__range::-moz-range-thumb {
    width: 30px;
    height: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .calc-live__box,
  .calc-live__size,
  .calc-live__desc,
  .calc-live__item {
    transition: none !important;
  }
}


.cta-band {
  margin: 0;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--ink);
  border: 0;
  text-align: center;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 36rem;
}
.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.cta-band__text {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
}
.cta-band__book {
  margin-top: 1.35rem;
  font-size: 1.05rem;
  padding: 0.85rem 1.45rem;
}
.cta-band__stores-label {
  margin: 1.75rem 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.cta-band__stores {
  --store-h: 40px;
  /* Google Play hivatalos badge tartalom / vászon (192/250) */
  --store-play-content: 0.768;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 0.85rem;
}
.cta-band__store {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  height: var(--store-h);
  border-radius: 0;
  background: transparent;
  outline: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-band__store img {
  display: block;
  height: var(--store-h);
  width: auto;
  max-width: none;
}
/* Play: átlátszó margó kompenzáció – látható badge ≈ App Store / Huawei magasság */
.cta-band__store--play img {
  height: calc(var(--store-h) / var(--store-play-content));
  margin-block: calc((var(--store-h) - (var(--store-h) / var(--store-play-content))) / 2);
}
.cta-band__store:hover,
.cta-band__store:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(60, 40, 10, 0.14);
}
.cta-band__store:active {
  transform: translateY(0);
  box-shadow: none;
}
.cta-band__store--pending {
  cursor: default;
}
@media (max-width: 520px) {
  .cta-band__stores {
    --store-h: 36px;
    gap: 0.55rem 0.7rem;
  }
  .cta-band__book {
    width: min(100%, 20rem);
  }
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-elev);
  margin-bottom: 0.6rem;
  padding: 0.9rem 1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--bee-yellow); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.85rem 0 0; }

/* Kezdőlap GYIK — egyoszlopos, középre igazított */
.faq-home__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
  margin-inline: auto;
}
.faq-home__intro {
  text-align: center;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.faq-home__intro h2 {
  margin: 0 0 0.65rem;
}
.faq-home__intro p {
  margin: 0;
  max-width: none;
}
.faq-home__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid var(--line);
  text-align: left;
}
.faq-home__all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-style: normal;
  color: #8a6400;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.faq-home__all-text {
  font-style: normal;
}
.faq-home__all:hover,
.faq-home__all:focus-visible {
  color: var(--paper);
}
.faq-home__all .icon {
  width: 1rem;
  height: 1rem;
  color: var(--bee-yellow);
  flex-shrink: 0;
}
.faq-home__item {
  border-bottom: 1px solid var(--line);
  padding: 0;
  background: transparent;
}
.faq-home__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0.15rem;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--paper);
}
.faq-home__summary::-webkit-details-marker { display: none; }
.faq-home__summary:focus-visible {
  outline: 2px solid var(--bee-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}
.faq-home__q { flex: 1 1 auto; min-width: 0; }
.faq-home__chevron {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border-right: 2px solid var(--bee-yellow);
  border-bottom: 2px solid var(--bee-yellow);
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform 0.22s ease;
}
.faq-home__item[open] .faq-home__chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}
.faq-home__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}
.faq-home__item[open] .faq-home__panel {
  grid-template-rows: 1fr;
}
.faq-home__panel > .faq-home__a {
  overflow: hidden;
  margin: 0;
  padding: 0 0.15rem 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}
.faq-home__a a,
.faq-home__footer a {
  color: #8a6400;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.faq-home__a a:hover,
.faq-home__a a:focus-visible,
.faq-home__footer a:hover,
.faq-home__footer a:focus-visible {
  color: var(--paper);
}
.faq-home__footer {
  margin: 1.25rem 0 0;
  text-align: center;
  max-width: 36rem;
}
.faq-home__a .ph { display: inline; }
@media (prefers-reduced-motion: reduce) {
  .faq-home__chevron,
  .faq-home__panel {
    transition: none;
  }
}

.form { display: grid; gap: 0.85rem; max-width: 34rem; }
.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-field { display: grid; gap: 0.35rem; }
.form-field > label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--paper);
}
.form-error {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: #9b2c2c;
  line-height: 1.35;
}
.form-error[hidden] { display: none !important; }
#uzenet,
.contact-form-panel .form-flash,
.form--contact .form-field {
  scroll-margin-top: calc(var(--topbar-h, 3.1rem) + 72px);
  scroll-margin-bottom: calc(var(--bottom-nav-h, 62px) + var(--safe-bottom, 0px) + 28px);
}
.form-flash {
  max-width: 34rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.form-flash--ok {
  background: rgba(61, 154, 95, 0.12);
  border: 1px solid rgba(61, 154, 95, 0.35);
  color: #1f6b3a;
}
.form-flash--ok a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-flash--err {
  background: rgba(200, 70, 70, 0.1);
  border: 1px solid rgba(200, 70, 70, 0.35);
  color: #9b2c2c;
}
.form label { font-weight: 600; font-size: 0.9rem; }
.form input, .form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
}
.form input:focus, .form textarea:focus {
  outline: 2px solid rgba(236,187,69,0.35);
  border-color: var(--bee-yellow);
}
.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: rgba(200, 70, 70, 0.55);
}

/* Kapcsolat űrlap: flex + alacsony mezők (.form grid után — specifikusság) */
.form.form--contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: none;
}
.form.form--contact .form-field {
  gap: 0.18rem;
}
.form.form--contact label {
  font-size: 0.8rem;
}
.form.form--contact input[type="text"],
.form.form--contact input[type="email"],
.form.form--contact input[type="tel"] {
  padding: 0.22rem 0.55rem;
  font-size: 0.9rem;
  line-height: 1.25;
  min-height: 0;
  height: 2rem;
  box-sizing: border-box;
}
.form.form--contact textarea {
  padding: 0.35rem 0.55rem;
  font-size: 0.9rem;
  line-height: 1.35;
  min-height: 3.5rem;
}
.form.form--contact .form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
@media (max-width: 520px) {
  .form.form--contact .form-row--2 {
    grid-template-columns: 1fr;
  }
  .form.form--contact input[type="text"],
  .form.form--contact input[type="email"],
  .form.form--contact input[type="tel"] {
    height: 2.15rem;
    padding: 0.28rem 0.6rem;
  }
  .form.form--contact textarea {
    min-height: 5.5rem;
  }
}
.form .check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--muted);
}
.form .check > span {
  min-width: 0;
  line-height: 1.4;
}
.form .check a {
  margin: 0;
  padding: 0;
}
.form .check input {
  width: auto;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
/* Mobil: checkbox a szöveg függőleges közepéhez */
@media (max-width: 980px) {
  .form .check {
    align-items: center;
  }
  .form .check input {
    margin-top: 0;
  }
}
.form .btn.is-loading {
  opacity: 0.72;
  pointer-events: none;
  cursor: wait;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.88rem;
}
.legend i {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
  margin-right: 0.35rem;
}
.legend .free { background: #3d9a5f; }
.legend .busy { background: #8a8a8a; }
.legend .sale { background: var(--bee-yellow); }

.blog-card .cover-ph, .cover-ph {
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: rgba(236,187,69,0.08);
  border: 1px dashed var(--ph-border);
  display: grid;
  place-items: center;
  color: var(--bee-yellow);
  font-weight: 700;
  font-size: 0.85rem;
}
.meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Lábléc: rövid felső átmenet, kaptár a teljes láblécre */
.site-footer {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  border-top: 0;
  padding: 3.5rem 0 1.5rem;
  background:
    radial-gradient(ellipse 80% 50% at 30% 110%, rgba(236, 187, 69, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 40% at 90% 80%, rgba(247, 181, 0, 0.08), transparent 50%),
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(244, 239, 228, 0.65) 6%,
      rgba(235, 228, 212, 0.96) 18%,
      #e8e0d0 100%
    );
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hive-pattern);
  background-size: 56px 100px;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 5%, #000 14%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 5%, #000 14%, #000 100%);
}
.footer-hive-glow {
  z-index: 0;
}
.site-footer > *:not(.footer-hive-glow) {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .footer-hive-glow { display: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-footer {
    background: #e8e0d0;
  }
  .site-footer::before { opacity: 0.12; }
}
/* Mobil: 150px alsó belső margó — a .site-footer padding után kell, különben felülíródik */
@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 150px;
  }
  .site-footer .footer-grid {
    margin-bottom: 0;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}
.site-footer .logo {
  display: inline-flex;
  margin-bottom: 1.15rem;
}
.footer-link-btn {
  background: none;
  border: 0;
  padding: 0.2rem 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  display: inline-block;
  text-align: left;
  text-decoration: none;
}
.footer-link-btn:hover { color: #8a6a12; }
.legal-body .footer-link-btn {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.legal-body .footer-link-btn:hover { color: var(--bee-yellow); }
.legal-body h2[id] { scroll-margin-top: calc(var(--topbar-h, 3.1rem) + 5.5rem); }

/* Cookie consent — design unchanged; placement / breakpoints only */
.cookie-banner {
  --cookie-inset: 1rem; /* matches pill-header side inset (100% - 2rem) */
  position: fixed;
  z-index: 150;
  pointer-events: none;
  margin: 0;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__panel {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem 1.5rem;
  align-items: start;
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-solid);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: var(--glass-shadow);
}
.cookie-banner__copy h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
}
.cookie-banner__copy p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}
.cookie-banner__copy a {
  color: var(--paper);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.cookie-banner__copy a:hover { color: var(--bee-yellow); }
.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 9.5rem;
}
.cookie-banner__actions .btn {
  width: 100%;
  justify-content: center;
}
.cookie-banner__settings-toggle {
  background: none;
  border: 0;
  padding: 0.35rem 0.2rem;
  color: var(--paper);
  font: inherit;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  text-align: center;
}
.cookie-banner__settings-toggle:hover { color: var(--bee-yellow); }
.cookie-banner__settings {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.65rem;
}
.cookie-banner__settings[hidden] { display: none !important; }
.cookie-opt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.cookie-opt input {
  margin-top: 0.2rem;
  accent-color: var(--bee-yellow);
}
.cookie-opt strong {
  display: block;
  font-size: 0.88rem;
  color: var(--paper);
}
.cookie-opt em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}
.cookie-banner.is-settings .cookie-banner__panel {
  grid-template-columns: 1fr;
}
.cookie-banner.is-settings .cookie-banner__actions--settings {
  flex-direction: row;
  flex-wrap: wrap;
  min-width: 0;
}
.cookie-banner.is-settings .cookie-banner__actions--settings .btn {
  width: auto;
  flex: 1 1 auto;
}
.cookie-banner__actions[hidden],
.cookie-banner__settings[hidden] {
  display: none !important;
}
.cookie-banner__meta {
  grid-column: 1 / -1;
  margin: 0.15rem 0 0;
}
.cookie-banner__meta[hidden] { display: none !important; }
.cookie-banner__meta-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
  opacity: 0.9;
}
.cookie-banner__meta-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  padding: 0;
  user-select: all;
  word-break: break-all;
}
.cookie-banner__meta-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.15rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 0;
}
.cookie-banner__meta-copy:hover,
.cookie-banner__meta-copy.is-copied {
  color: var(--bee-yellow);
}
.cookie-banner__meta-copy .icon {
  width: 14px;
  height: 14px;
}

/* Desktop ≥1024: compact, bottom-left (right corner free for chat) */
@media (min-width: 1024px) {
  .cookie-banner {
    left: var(--cookie-inset);
    bottom: var(--cookie-inset);
    right: auto;
    width: min(540px, calc(50vw - var(--cookie-inset)));
  }
  .cookie-banner__panel { width: 100%; }
}

/* Tablet 768–1023: bottom-left, ≤ ~half viewport */
@media (min-width: 768px) and (max-width: 1023px) {
  .cookie-banner {
    left: var(--cookie-inset);
    bottom: var(--cookie-inset);
    right: auto;
    width: min(480px, calc(50vw - var(--cookie-inset)));
  }
  .cookie-banner__panel { width: 100%; }
}

/* Mobile <768: full-width above bottom nav, ≤ ~1/3 viewport */
@media (max-width: 767px) {
  .cookie-banner {
    left: var(--cookie-inset);
    right: var(--cookie-inset);
    /* bottom-nav floats at 12px + safe; leave clear gap above it */
    bottom: calc(12px + var(--safe-bottom) + var(--bottom-nav-h) + 20px);
    width: auto;
  }
  .cookie-banner__panel {
    width: 100%;
    grid-template-columns: 1fr;
    max-height: 33dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .cookie-banner__actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
  .cookie-banner__actions .btn { width: auto; flex: 1 1 40%; }
  .cookie-banner__settings-toggle { flex: 1 1 100%; }
  .cookie-banner.is-settings .cookie-banner__panel {
    max-height: 33dvh;
  }
}
.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bee-yellow);
}
.site-footer a { color: var(--muted); display: inline-block; padding: 0.2rem 0; }
.site-footer a:hover { color: #8a6a12; }
.footer-contact li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.55rem;
  color: var(--muted);
  line-height: 1.4;
}
.footer-contact .icon {
  color: var(--bee-yellow);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: block;
}
.footer-contact a,
.footer-contact span {
  line-height: 1.4;
}
.social { display: flex; gap: 0.65rem; margin: 1rem 0 0.65rem; }
.social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0;
  background: rgba(22, 18, 12, 0.06);
  color: inherit !important;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.social a .icon { width: 22px; height: 22px; }
.social a:hover {
  background: rgba(22, 18, 12, 0.1);
  transform: translateY(-1px);
}
.footer-directions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  width: max-content;
  max-width: 100%;
}
.footer-directions__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  background: rgba(236, 187, 69, 0.14);
  color: var(--muted) !important;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transform: translateY(0);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
/* Lábléc .site-footer a padding/display ne törje a gombokat */
.site-footer .footer-directions__btn {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  color: var(--muted) !important;
}
.footer-directions__btn .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--bee-yellow);
}
.footer-directions__btn:hover,
.site-footer .footer-directions__btn:hover {
  background: rgba(236, 187, 69, 0.26);
  color: #8a6a12 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(60, 40, 10, 0.12);
}
.footer-directions__btn:hover .icon,
.site-footer .footer-directions__btn:hover .icon { color: #8a6a12; }
@media (prefers-reduced-motion: reduce) {
  .footer-directions__btn,
  .site-footer .footer-directions__btn {
    transition: background 0.2s ease, color 0.2s ease;
  }
  .footer-directions__btn:hover,
  .site-footer .footer-directions__btn:hover {
    transform: none;
    box-shadow: none;
  }
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.legal-body { max-width: 48rem; }
.legal-body h2 { margin: 2rem 0 0.75rem; font-size: 1.2rem; }
.legal-body h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
}
.legal-body ul {
  margin: 0 0 1rem;
  padding: 0 0 0 1.15rem;
  list-style: disc;
}
.legal-body li {
  margin: 0 0 0.45rem;
  color: var(--muted);
}
.legal-body .legal-table-wrap {
  margin: 0.85rem 0 1.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.legal-body .legal-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.legal-body .legal-table th,
.legal-body .legal-table td {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}
.legal-body .legal-table th {
  background: rgba(236, 187, 69, 0.12);
  color: var(--paper);
  font-weight: 600;
  white-space: nowrap;
}
.legal-body .legal-table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82em;
  color: var(--paper);
}

.imprint-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  width: 100%;
}

/* Impresszum – címke / érték; szélesség = .wrap (menüvel egyező) */
.imprint {
  margin: 0;
  width: 100%;
  max-width: none;
  display: grid;
  gap: 0;
  border: 1px solid rgba(22, 18, 12, 0.1);
  border-radius: var(--radius);
  background: var(--ink-elev);
  box-shadow: 0 2px 10px rgba(60, 40, 10, 0.04);
  overflow: hidden;
}
.imprint__row {
  display: grid;
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: 0.65rem 1.5rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(22, 18, 12, 0.08);
  align-items: start;
}
.imprint__row:last-child { border-bottom: 0; }
.imprint__row dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  line-height: 1.4;
}
.imprint__row dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.imprint__row dd a {
  color: var(--bee-yellow);
  font-weight: 700;
}
.imprint__row dd a:hover { color: var(--bee-yellow-bright); }
.imprint__row--block dd { font-weight: 600; }
@media (max-width: 560px) {
  .imprint__row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.9rem 1rem;
  }
  .imprint__row dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
  .imprint__row dd { font-size: 0.98rem; }
}
@media (min-width: 768px) {
  .imprint__row { padding: 1.05rem 1.35rem; }
}

@media (max-width: 980px) {
  .perk-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.35rem;
  }
  .perk,
  .perk:first-child,
  .perk:last-child {
    padding: 0;
  }
  .perk + .perk { border-left: 0; }
  .icon-grid { grid-template-columns: 1fr 1fr; }
  .icon-grid--situations { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .bento-situations__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .bento-situations__tile--move,
  .bento-situations__tile--bike {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .bento-situations__tile--reno { grid-column: 1; grid-row: auto; }
  .bento-situations__tile--season { grid-column: 2; grid-row: auto; }
  .bento-situations__tile--kids,
  .bento-situations__tile--shop,
  .bento-situations__tile--abroad,
  .bento-situations__tile--rent {
    grid-column: auto;
    grid-row: auto;
  }
  .bento-situations__tile--sport {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .bento-situations__tile--move { order: 1; }
  .bento-situations__tile--bike { order: 2; }
  .bento-situations__tile--reno { order: 3; }
  .bento-situations__tile--season { order: 4; }
  .bento-situations__tile--kids { order: 5; }
  .bento-situations__tile--shop { order: 6; }
  .bento-situations__tile--abroad { order: 7; }
  .bento-situations__tile--rent { order: 8; }
  .bento-situations__tile--sport { order: 9; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    row-gap: 1.65rem;
  }
  .footer-grid > :nth-child(1) { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  /* Márka teljes szélesség; Oldalak | Tudnivalók egymás mellett */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
    row-gap: 1.5rem;
  }
  .footer-grid > :nth-child(1) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .icon-grid, .steps { grid-template-columns: 1fr; }
  .icon-grid--situations { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .bento-situations__grid {
    grid-template-columns: 1fr;
  }
  .bento-situations__tile--move,
  .bento-situations__tile--bike,
  .bento-situations__tile--reno,
  .bento-situations__tile--season,
  .bento-situations__tile--kids,
  .bento-situations__tile--shop,
  .bento-situations__tile--abroad,
  .bento-situations__tile--rent,
  .bento-situations__tile--sport {
    grid-column: 1;
    grid-row: auto;
  }
  .bento-situations__tile--large {
    min-height: 11rem;
  }
  .bento-situations__tile--small {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
  }
  .bento-situations__tile--small .icon {
    margin-top: 0.15rem;
  }
}

/* —— Élő kaptár (méretválasztó) —— */
.hive-section { overflow: clip; }
.hive {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.hive-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1.05 / 1;
  min-height: 280px;
}
.hive-deco {
  position: absolute;
  left: var(--hx);
  top: var(--hy);
  width: 11%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  z-index: 0;
}
.hive-deco--md { width: 15%; }
.hive-deco svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(236, 187, 69, 0.12));
}
.hive-deco polygon {
  fill: rgba(236, 187, 69, 0.1);
  stroke: rgba(236, 187, 69, 0.22);
  stroke-width: 1.5;
}
.hive-grid {
  position: absolute;
  inset: 6% 4% 4%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  z-index: 1;
}
.hive-cell {
  position: relative;
  grid-column: calc(var(--hc) + 1);
  grid-row: calc(var(--hr) + 1);
  place-self: center;
  width: min(100%, 96px);
  aspect-ratio: 100 / 115;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.72) translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s ease;
  transition-delay: calc(var(--hive-i, 0) * 55ms);
}
.hive.is-built .hive-cell,
.hive.is-built .hive-deco {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.hive.is-built .hive-deco {
  transition: opacity 0.5s ease;
  transition-delay: calc(var(--hive-i, 0) * 40ms + 120ms);
}
.hive-cell__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hive-cell__poly {
  fill: #fffaf0;
  stroke: rgba(184, 137, 28, 0.45);
  stroke-width: 1.8;
  transition: fill 0.35s ease, stroke 0.35s ease, filter 0.45s ease;
  filter: drop-shadow(0 0 0 transparent);
}
.hive-cell__glow {
  position: absolute;
  inset: 18%;
  background: radial-gradient(circle, rgba(236, 187, 69, 0.55), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hive-cell__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  font-size: clamp(0.72rem, 2.2vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.15;
  padding: 0.35rem;
  pointer-events: none;
}
.hive-cell:hover .hive-cell__poly,
.hive-cell:focus-visible .hive-cell__poly,
.hive-cell[aria-expanded="true"] .hive-cell__poly {
  fill: #f7efd8;
  stroke: var(--bee-yellow);
  filter: drop-shadow(0 0 10px rgba(236, 187, 69, 0.45));
}
.hive-cell:hover .hive-cell__glow,
.hive-cell:focus-visible .hive-cell__glow,
.hive-cell[aria-expanded="true"] .hive-cell__glow,
.hive-cell.is-lit .hive-cell__glow {
  opacity: 0.55;
}
.hive-cell.is-lit .hive-cell__poly {
  stroke: rgba(236, 187, 69, 0.85);
  filter: drop-shadow(0 0 8px rgba(236, 187, 69, 0.35));
}
.hive-cell:focus-visible {
  outline: none;
}
.hive-cell:focus-visible .hive-cell__label {
  color: var(--bee-yellow);
}
/* Elérhetőség (előre bekötve, null-nál nincs külön UI) */
.hive-cell--available .hive-cell__glow { opacity: 0.4; }
.hive-cell--available .hive-cell__poly {
  stroke: var(--bee-yellow);
  filter: drop-shadow(0 0 8px rgba(236, 187, 69, 0.4));
}
.hive-cell--last .hive-cell__glow {
  animation: hive-pulse 2.8s ease-in-out infinite;
}
.hive-cell--full {
  opacity: 0.55;
}
.hive-cell--full .hive-cell__poly {
  stroke: rgba(22, 18, 12, 0.18);
  fill: #ebe4d4;
}
@keyframes hive-pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.65; }
}

.hive-detail {
  position: relative;
  min-height: 220px;
}
.hive-detail__panel {
  position: relative;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-solid);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--glass-shadow);
}
.hive-detail__panel[hidden] { display: none !important; }
.hive-detail__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hive-detail__close:hover { border-color: var(--bee-yellow); color: var(--bee-yellow); }
.hive-detail__panel h3 {
  margin: 0 1.5rem 0.5rem 0;
  font-size: 1.35rem;
  color: var(--paper);
}
.hive-detail__status {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bee-yellow);
}
.hive-detail__status--full { color: var(--muted); }
.hive-detail__fits {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.hive-detail__icons {
  display: flex;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.hive-detail__icons .icon {
  width: 22px;
  height: 22px;
  color: var(--bee-yellow);
}
.hive-detail__price {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
}
.hive-detail__panel .btn { margin-top: 0.15rem; }

@media (max-width: 860px) {
  .hive {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hive-stage {
    max-height: 40vh;
    max-width: min(100%, 420px);
    aspect-ratio: 1.1 / 1;
    min-height: 0;
  }
  .hive-cell { width: min(100%, 72px); }
  .hive-cell__label { font-size: 0.68rem; }
  .hive-detail {
    min-height: 0;
    position: sticky;
    bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 12px);
    z-index: 40;
  }
  .hive-detail__panel {
    max-height: min(42vh, 320px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn:hover,
  .btn:active,
  .cta-band__store,
  .cta-band__store:hover,
  .cta-band__store:focus-visible,
  .cta-band__store:active {
    transform: none !important;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
  }
  .btn:hover,
  .cta-band__store:hover,
  .cta-band__store:focus-visible { box-shadow: none; }
  .hive-cell,
  .hive-deco {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hive-cell--last .hive-cell__glow { animation: none; opacity: 0.4; }
  .hive-cell.is-lit .hive-cell__glow { transition: none; }
}

/* —— 404 error page —— */
body.page-404 {
  overflow-x: hidden;
}
body.page-404 main {
  display: flex;
  flex-direction: column;
  /* Desktop: CTA sáv teteje épp látszódjon a viewport alján */
  min-height: calc(100svh - var(--topbar-h, 3.1rem) - 4.75rem);
}
@media (max-width: 980px) {
  body.page-404 main {
    /* mobil-top + bottom-nav + safe (body padding-bottom is parallel) */
    min-height: calc(
      100svh
      - var(--topbar-h, 0px)
      - env(safe-area-inset-top, 0px)
      - 3.4rem
      - var(--bottom-nav-h, 62px)
      - var(--safe-bottom, 0px)
      - 1.5rem
    );
  }
}
body.page-404 .error-404 {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem) 0;
  text-align: center;
}
body.page-404 .error-404__inner {
  width: min(100%, 36rem);
  margin-inline: auto;
  animation: error-404-in 0.55s ease both;
}
body.page-404 .error-404 h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.2;
  text-wrap: balance;
}
body.page-404 .error-404__code {
  margin: 0 auto 0.85rem;
  font-size: clamp(0.825rem, 2vw, 1.225rem); /* ~fél a H1-hez */
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
}
body.page-404 .error-404__lead {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.55;
  text-wrap: pretty;
}
body.page-404 .error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0 0 1.35rem;
}
body.page-404 .error-404__more {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
body.page-404 .error-404__more-label {
  display: inline;
  margin-right: 0.35rem;
}
body.page-404 .error-404__more a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.28);
}
body.page-404 .error-404__more a:hover {
  color: var(--bee-yellow);
  text-decoration-color: var(--bee-yellow);
}
body.page-404 .error-404__more a:focus-visible {
  outline: 2px solid var(--bee-yellow);
  outline-offset: 3px;
  border-radius: 2px;
}
body.page-404 .error-404__sep {
  margin: 0 0.35rem;
  opacity: 0.55;
}
body.page-404 .cta-band {
  flex: 0 0 auto;
  margin-top: 0;
}
@keyframes error-404-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 480px) {
  body.page-404 .error-404__actions {
    flex-direction: column;
    align-items: center;
  }
  body.page-404 .error-404__actions .btn {
    width: auto;
    min-width: 12.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-404 .error-404__inner {
    animation: none;
  }
}

/* Megközelítés és rakodás — tömör, reszponzív */
#uzenet {
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
#megkozelites {
  scroll-margin-top: calc(var(--topbar-h) + 0.75rem);
  padding-top: clamp(1rem, 2vw, 1.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
#megkozelites .section__head {
  max-width: none;
  margin-bottom: 0.85rem;
}
#megkozelites .section__head h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  margin-bottom: 0.35rem;
}
#megkozelites .section__head > p {
  margin: 0;
  font-size: 0.92rem;
}
.approach {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.95fr);
  gap: 0.85rem;
  align-items: stretch;
}
.approach__map-panel,
.approach__card {
  border: 1px solid rgba(22, 18, 12, 0.1);
  border-radius: var(--radius);
  background: var(--ink-elev);
  box-shadow: 0 2px 10px rgba(60, 40, 10, 0.04);
  overflow: hidden;
}
.approach__map-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.approach__map {
  position: relative;
  flex: 1 1 auto;
  min-height: 12rem;
  background: var(--ink-elev);
  overflow: hidden;
}
.approach__map svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.approach__caption {
  flex: none;
}
.approach__details {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.approach__cards {
  flex: 1;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: 100%;
}
.approach__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.approach__pin {
  position: absolute;
  width: 2.15rem;
  height: 2.15rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  text-indent: -9999px;
  overflow: hidden;
  z-index: 1;
}
.approach__pin:focus-visible {
  outline: 3px solid var(--bee-yellow);
  outline-offset: 2px;
}
/* % a 716×400 viewBox-hoz (beégetett szöveg levágva) */
.approach__pin--1 { left: 73.5%; top: 87.7%; }
.approach__pin--2 { left: 23.2%; top: 79.7%; }
.approach__pin--3 { left: 29.5%; top: 47.5%; }
.approach__caption {
  padding: 0.55rem 0.75rem 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}
.approach__caption p { margin: 0 0 0.25rem; }
.approach__caption strong { color: var(--paper); }
.approach__credit { font-size: 0.72rem; }
.approach__cards {
  display: grid;
  gap: 0.45rem;
}
.approach__card {
  padding: 0.55rem 0.75rem;
  scroll-margin-top: calc(var(--topbar-h) + 1rem);
}
.approach__card:target {
  border-color: var(--bee-yellow);
  box-shadow: 0 0 0 1px var(--bee-yellow), 0 2px 10px rgba(60, 40, 10, 0.04);
}
.approach__card h3 {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.25;
}
.approach__num {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--bee-yellow);
  color: #111;
  font-size: 0.8rem;
  font-weight: 750;
}
.approach__meta {
  margin: 0 0 0 1.95rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.approach__hours {
  margin: 0.15rem 0 0 1.95rem;
  color: var(--paper);
  font-weight: 750;
  font-size: 0.84rem;
  line-height: 1.35;
}
.approach__distance {
  margin: 0.2rem 0 0.3rem 1.95rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
}
.approach__actions {
  margin-left: 1.95rem;
}
.approach__actions .btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
}
.approach__note {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.approach__caption .approach__note {
  margin: 0.35rem 0 0.1rem;
}
@media (max-width: 900px) {
  .approach {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .approach__map-panel,
  .approach__details {
    min-height: 0;
  }
  .approach__map {
    flex: none;
    min-height: 0;
    max-height: min(40vh, 280px);
    aspect-ratio: 716 / 400;
  }
  .approach__map svg {
    position: absolute;
  }
  .approach__cards {
    height: auto;
    grid-template-rows: none;
  }
  .approach__card {
    display: block;
    scroll-margin-top: calc(var(--bottom-nav-h) + 1rem);
  }
}
@media (max-width: 520px) {
  .approach__map {
    max-height: min(36vh, 220px);
  }
  .approach__caption {
    font-size: 0.74rem;
  }
}
