/* ==========================================================================
   Szedd Magad — kattintható prototípus
   Design: Claude Design handoff, „1c meleg barack" irány.
   Tokenek: handover/.../README.md — a színek/méretek onnan származnak.
   ========================================================================== */

:root {
  --bg: #fdf3e7;
  --card-border: #f0e2cf;
  --surface-2: #f5ecdc;
  --ink: #4a3526;
  --ink-2: #7a6549;
  --ink-3: #9a8468;
  --ink-4: #b4a488;
  --green: #3f5c31;
  --green-bg: #e8f0dd;
  --green-dot: #5f8f4a;
  --red: #b3273a;
  --inactive: #dcd0bd;
  --toggle-off: #ddd2c0;
  --admin-dark: #33422b;
  --font: "Baloo 2", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
a { -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Desktop színpad (≥720px): háttér + telefon keret. Mobilon nincs keret.
   -------------------------------------------------------------------------- */

.backdrop {
  position: fixed;
  inset: 0;
  display: none;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 78% 18%, rgba(95, 143, 74, .12), transparent 60%),
    radial-gradient(50rem 36rem at 15% 85%, rgba(179, 39, 58, .09), transparent 60%),
    #f6ecd9;
}

.backdrop-word {
  position: absolute;
  font-weight: 800;
  font-size: clamp(7rem, 17vw, 15rem);
  letter-spacing: .02em;
  line-height: .82;
  color: transparent;
  -webkit-text-stroke: 2px rgba(74, 53, 38, .12);
  user-select: none;
}
.backdrop-word--top { top: 4vh; left: -1vw; }
.backdrop-word--bottom { bottom: 3vh; right: -1vw; }

.stage-caption {
  display: none;
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(122, 101, 73, .75);
  z-index: 30;
  white-space: nowrap;
}

.device {
  position: relative;
  width: 100%;
  height: 100dvh;
  background: var(--admin-dark);
  z-index: 20;
}

.device-buttons { display: none; }

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
}

@media (min-width: 720px) {
  .backdrop, .stage-caption { display: block; }

  .device {
    width: 393px;
    height: min(852px, 92vh);
    border-radius: 56px;
    padding: 11px;
    box-shadow:
      0 60px 110px -30px rgba(51, 66, 43, .5),
      0 25px 45px -20px rgba(51, 66, 43, .4),
      inset 0 0 0 2px #1c2618,
      inset 0 0 0 4px #46523f;
  }
  .screen { border-radius: 45px; }

  .device-buttons { display: block; position: absolute; }
  .device-buttons span { display: block; background: #1c2618; border-radius: 2px; }
  .device-buttons--left { left: -2px; top: 170px; }
  .device-buttons--left span { width: 3px; height: 34px; margin-bottom: 18px; }
  .device-buttons--left span:first-child { height: 26px; }
  .device-buttons--right { right: -2px; top: 210px; }
  .device-buttons--right span { width: 3px; height: 62px; }
}

/* --------------------------------------------------------------------------
   Státuszsor — a lapok fölé úszik; sötét lapokon fehér (JS: .is-dark)
   -------------------------------------------------------------------------- */

.statusbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(14px, env(safe-area-inset-top)) 26px 6px;
  color: var(--ink);
  z-index: 10;
  pointer-events: none;
  transition: color .25s;
}
.statusbar.is-dark { color: #fff; }

.statusbar-time { font-weight: 800; font-size: .95rem; min-width: 54px; }

.statusbar-island {
  position: absolute;
  left: 50%; top: 12px;
  transform: translateX(-50%);
  width: 118px; height: 32px;
  border-radius: 20px;
  background: #1c2618;
}
@media (max-width: 719.98px) { .statusbar-island { display: none; } }

.statusbar-icons { display: flex; align-items: center; gap: 7px; }

/* --------------------------------------------------------------------------
   Lapok
   -------------------------------------------------------------------------- */

.page {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  background: var(--bg);
}
.page.active { display: flex; animation: pageIn .28s ease-out; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.page--dark { background: var(--admin-dark); }

.page-body {
  flex: 1;
  overflow-y: auto;
  padding: 58px 20px 24px;
  -webkit-overflow-scrolling: touch;
}
.page-body--admin { padding-top: 12px; }
.page-body--center { text-align: center; padding-top: 84px; }

.stack { display: flex; flex-direction: column; gap: 10px; }
.split { display: flex; gap: 8px; }
.split > * { flex: 1; }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.is-dim { opacity: .6; }

/* --------------------------------------------------------------------------
   Alap komponensek
   -------------------------------------------------------------------------- */

.h-title { font-size: 25px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.h-sub { font-size: 14.5px; color: var(--ink-3); margin-top: 2px; font-weight: 500; }
.sect-label { font-size: 15px; font-weight: 800; color: var(--ink-2); }
.fineprint { font-size: 13.5px; color: var(--ink-3); text-align: center; margin-top: 6px; font-weight: 500; }

.card {
  background: #fff;
  border: 2px solid var(--card-border);
  border-radius: 16px;
  padding: 12px 14px;
}
.card--tap { text-decoration: none; color: inherit; }
.card--tap:active { transform: scale(.985); }
.card--alert { border-color: #e8b7b0; }
.card-title { font-size: 16px; font-weight: 800; color: var(--ink); }
.card-text { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin-top: 6px; font-weight: 500; }

.dot { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.dot--meggy { background: #b3273a; }
.dot--cseresznye { background: #7a1f2e; }
.dot--barack { background: #e8944a; }
.dot--szilva { background: #6b4a7e; }
.dot--alma { background: #7ba05b; }

.pill {
  font-size: 12px; font-weight: 800;
  border-radius: 99px; padding: 3px 10px;
  white-space: nowrap; flex: none;
}
.pill--ok { background: var(--green-bg); color: var(--green); }
.pill--warn { background: #f3e6d8; color: #9a6b2f; }
.pill--later { background: #f5f0e4; color: var(--ink-3); }

.btn {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; border-radius: 18px;
  font-weight: 800; transition: filter .15s, transform .1s;
}
.btn:active { transform: scale(.98); filter: brightness(1.08); }
.btn--red { background: var(--red); color: #fff; border-radius: 18px; }
.btn--green { background: var(--green); color: #fff; border-radius: 16px; }
.btn--white { background: #fff; border: 2px solid var(--card-border); color: var(--green); border-radius: 14px; }
.btn--big { height: 62px; font-size: 21px; }
.btn--outline-red { background: #fff; border: 2px solid var(--card-border); color: var(--red); height: 52px; font-size: 17px; border-radius: 16px; }

.toggle {
  width: 42px; height: 26px; border-radius: 99px;
  background: var(--toggle-off); position: relative; flex: none;
  transition: background .2s;
}
.toggle::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  transition: transform .2s;
}
.toggle.on { background: var(--green-dot); }
.toggle.on::after { transform: translateX(16px); }
.toggle--big { width: 50px; height: 30px; }
.toggle--big::after { width: 24px; height: 24px; }
.toggle--big.on::after { transform: translateX(20px); }

.stepper { display: flex; align-items: center; gap: 12px; }
.stepper--small { gap: 10px; }
.step-btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; flex: none;
}
.stepper--small .step-btn { width: 42px; height: 42px; font-size: 22px; }
.step-btn--minus { background: var(--surface-2); color: #a08a6e; }
.step-btn--plus { background: var(--green); color: #fff; }
.step-btn:active { transform: scale(.92); }
.step-val { font-size: 24px; font-weight: 800; color: var(--ink); min-width: 26px; text-align: center; white-space: nowrap; }
.stepper-label { font-size: 18px; font-weight: 800; color: var(--ink); }
.stepper-sub { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: var(--surface-2); border-radius: 99px;
  padding: 7px 14px; font-size: 13.5px; font-weight: 800;
  color: var(--ink-2); white-space: nowrap;
}
.chip.is-active { background: var(--green); color: #fff; }
.chip--new { background: #fff; border: 2px dashed var(--inactive); color: #a08a6e; padding: 5px 13px; }

.notice {
  background: var(--surface-2); border-radius: 16px;
  padding: 14px 16px; margin-top: 12px;
  font-size: 15px; font-weight: 700; color: var(--ink-2); line-height: 1.4;
  text-align: left;
}

.toast {
  position: absolute;
  left: 50%; bottom: 110px;
  transform: translateX(-50%) translateY(16px);
  background: var(--ink);
  color: #fff;
  font-size: 14px; font-weight: 700;
  border-radius: 99px;
  padding: 10px 20px;
  max-width: 85%;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 50;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --------------------------------------------------------------------------
   Tab-sávok (JS tölti fel a data-tabbar alapján)
   -------------------------------------------------------------------------- */

.tabbar {
  display: flex;
  background: #fff;
  border-top: 2px solid var(--card-border);
  padding: 10px 8px calc(14px + env(safe-area-inset-bottom));
  flex: none;
}
.tabbar a {
  flex: 1; text-align: center; text-decoration: none;
  font-size: 14px; font-weight: 700; color: #a08a6e;
}
.tabbar a::before {
  content: ""; display: block;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--inactive); margin: 0 auto 5px;
}
.tabbar a.is-active { color: var(--green); font-weight: 800; }
.tabbar a.is-active::before { background: var(--green); }

.tabbar--admin { background: var(--admin-dark); border-top: none; }
.tabbar--admin a { color: rgba(255, 255, 255, .6); }
.tabbar--admin a::before { background: rgba(255, 255, 255, .25); }
.tabbar--admin a.is-active { color: #e5eedb; }
.tabbar--admin a.is-active::before { background: #a8c491; }

.home-indicator {
  position: absolute;
  bottom: 7px; left: 50%;
  transform: translateX(-50%);
  width: 130px; height: 5px;
  border-radius: 3px;
  background: rgba(74, 53, 38, .3);
  z-index: 20;
  pointer-events: none;
}
@media (max-width: 719.98px) { .home-indicator { display: none; } }

/* --------------------------------------------------------------------------
   Splash
   -------------------------------------------------------------------------- */

.page--splash { background: var(--bg); }
.splash-inner {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: .4rem;
}
.splash-mark { width: 104px; height: 104px; animation: splashPop .7s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes splashPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.splash-name { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.12; margin-top: 10px; }
.splash-place { font-size: 12px; font-weight: 800; letter-spacing: .28em; color: var(--red); margin-top: 6px; }

/* --------------------------------------------------------------------------
   1c Főoldal
   -------------------------------------------------------------------------- */

.home-head { text-align: center; padding-top: 4px; }
.home-title { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.open-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px; background: var(--green-bg);
  border-radius: 99px; padding: 8px 18px;
  font-size: 17px; font-weight: 700; color: var(--green);
}
.open-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green-dot); }
.open-pill.is-closed { background: #f6dfd9; color: var(--red); }
.open-pill.is-closed .open-dot { background: var(--red); }

.fruit-band {
  display: flex; align-items: center; gap: 14px;
  border-radius: 18px; padding: 16px 18px;
  color: #fff; text-decoration: none;
}
.fruit-band:active { transform: scale(.985); }
.fruit-band--meggy { background: #b3273a; }
.fruit-band--barack { background: #e8944a; }
.fb-main { flex: 1; min-width: 0; }
.fb-name { font-size: 22px; font-weight: 800; }
.fb-note { font-size: 15px; opacity: .9; font-weight: 500; }
.fb-price { text-align: right; flex: none; }
.fb-ft { font-size: 20px; font-weight: 800; white-space: nowrap; }
.fb-unit { font-size: 13px; opacity: .85; white-space: nowrap; font-weight: 500; }
.fb-name2 { font-size: 19px; font-weight: 800; color: var(--ink); }
.fb-note2 { font-size: 14.5px; color: var(--ink-3); font-weight: 500; }
.later-line { font-size: 16.5px; font-weight: 700; color: var(--ink-3); }

.quick-row { display: flex; gap: 8px; margin-top: 10px; }
.quick-link {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--card-border);
  border-radius: 14px; height: 46px;
  font-size: 15px; font-weight: 800; color: var(--ink-2);
  text-decoration: none; white-space: nowrap;
}
.quick-link:active { transform: scale(.98); }

/* --------------------------------------------------------------------------
   2a Érésnaptár
   -------------------------------------------------------------------------- */

.ripen-name { font-size: 18px; font-weight: 800; color: var(--ink); }
.ripen-sub { font-size: 14px; color: var(--ink-3); margin-top: 4px; padding-left: 26px; font-weight: 500; }

/* --------------------------------------------------------------------------
   2b Foglalás
   -------------------------------------------------------------------------- */

.cal { border-radius: 18px; padding: 14px 14px 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.cal-month { font-size: 18px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-2);
  font-size: 16px; font-weight: 800; color: var(--ink);
}
.cal-nav-btn.is-dim { color: #a08a6e; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 6px; text-align: center; }
.cal-grid--days { margin-top: 10px; font-size: 12.5px; font-weight: 800; color: #a08a6e; }

.cal-day {
  height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  border-radius: 10px;
  color: #d8cbb5;
}
.cal-day--free { background: var(--green-bg); color: var(--green); font-weight: 800; cursor: pointer; }
.cal-day--free:active { transform: scale(.92); }
.cal-day--full { background: #ece2d0; color: var(--ink-4); text-decoration: line-through; }
.cal-day--sel { background: var(--green); color: #fff; font-weight: 800; }

.cal-legend {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 10px; padding: 0 4px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-3);
}
.cal-legend > div { display: flex; align-items: center; gap: 5px; }
.leg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.leg--free { background: var(--green-bg); }
.leg--full { background: #ece2d0; }
.leg--sel { background: var(--green); }

.weather {
  background: #e9f1f5; border-radius: 14px;
  padding: 10px 14px; margin-top: 8px;
  display: flex; align-items: center; gap: 10px;
}
.weather.hidden { display: none; }
.weather-icon { font-size: 22px; }
.weather-main { font-size: 14.5px; font-weight: 800; color: #3d5666; white-space: nowrap; }
.weather-sub { font-size: 12.5px; font-weight: 700; color: #7d95a3; }

/* --------------------------------------------------------------------------
   2c Visszaigazolás
   -------------------------------------------------------------------------- */

.confirm-check {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--green-bg);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 800; color: var(--green);
}
.confirm-title { font-size: 26px; font-weight: 800; color: var(--ink); margin-top: 14px; line-height: 1.15; }
.confirm-card {
  border-radius: 18px; padding: 18px;
  margin-top: 18px; text-align: left;
  display: flex; flex-direction: column; gap: 12px;
}
.confirm-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.confirm-key { font-size: 15px; font-weight: 700; color: var(--ink-3); }
.confirm-val { font-size: 16px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.mini-pill { color: #fff; font-size: 13px; font-weight: 800; border-radius: 99px; padding: 4px 12px; }

/* --------------------------------------------------------------------------
   2d Előrendelés
   -------------------------------------------------------------------------- */

.fruit-tile {
  background: #fff; border: 2px solid var(--card-border);
  border-radius: 16px; padding: 12px; text-align: center;
  display: flex; flex-direction: column; gap: 1px;
}
.fruit-tile .ft-name { font-size: 17px; font-weight: 800; color: var(--ink); }
.fruit-tile .ft-price { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.fruit-tile.is-active { border-color: transparent; color: #fff; }
.fruit-tile.is-active .ft-name, .fruit-tile.is-active .ft-price { color: #fff; }
.fruit-tile--meggy.is-active, .fruit-tile[data-po-fruit="meggy"].is-active { background: #b3273a; }
.fruit-tile[data-po-fruit="barack"].is-active { background: #e8944a; }
.fruit-tile.is-active .ft-price { opacity: .9; }

.split--3 > * { flex: 1; }
.day-tile {
  background: #fff; border: 2px solid var(--card-border);
  border-radius: 14px; padding: 10px; text-align: center;
  display: flex; flex-direction: column;
}
.day-tile .dt-name { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.day-tile .dt-date { font-size: 17px; font-weight: 800; color: var(--ink); }
.day-tile.is-active { background: var(--green); border-color: var(--green); }
.day-tile.is-active .dt-name { color: rgba(255,255,255,.85); }
.day-tile.is-active .dt-date { color: #fff; }

.sum-bar {
  background: var(--surface-2); border-radius: 16px;
  padding: 14px 16px; margin-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.sum-label { font-size: 16px; font-weight: 800; color: var(--ink-2); }
.sum-val { font-size: 22px; font-weight: 800; color: var(--ink); white-space: nowrap; }

/* --------------------------------------------------------------------------
   2e Hűségkártya
   -------------------------------------------------------------------------- */

.loyalty { background: var(--green); border-radius: 20px; padding: 20px; color: #fff; }
.loyalty-head { display: flex; justify-content: space-between; align-items: baseline; }
.loyalty-name { font-size: 18px; font-weight: 800; white-space: nowrap; }
.loyalty-since { font-size: 12.5px; font-weight: 700; opacity: .8; white-space: nowrap; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.stamp {
  aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.stamp--empty { border: 2px dashed rgba(255, 255, 255, .4); }
.loyalty-msg { font-size: 16px; font-weight: 800; margin-top: 14px; text-align: center; }
.card-number { font-size: 16px; font-weight: 800; color: var(--ink-3); letter-spacing: 2px; }

/* --------------------------------------------------------------------------
   2f Infó + térképek
   -------------------------------------------------------------------------- */

.map-ph {
  display: flex; align-items: center; justify-content: center;
  height: 128px; border-radius: 18px;
  background: repeating-linear-gradient(45deg, #ece4d2, #ece4d2 10px, #f3ecdc 10px, #f3ecdc 20px);
  border: 2px solid var(--card-border);
  text-decoration: none;
}
.map-tag {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px; color: var(--ink-3);
  background: var(--bg); border-radius: 8px; padding: 6px 12px;
}
.map-tag--small { font-size: 11.5px; padding: 3px 8px; position: absolute; top: 10px; left: 12px; }

.hours { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; font-size: 15px; font-weight: 700; }
.hours > div { display: flex; justify-content: space-between; gap: 8px; }
.hours-day { color: var(--ink-3); white-space: nowrap; }
.hours-time { color: var(--ink); white-space: nowrap; }
.hours-closed { color: var(--red); white-space: nowrap; }

.gazda-link {
  display: block; text-align: center;
  margin-top: 12px; padding: 6px;
  font-size: 14px; font-weight: 800;
  color: #a08a6e; text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3a Birtoktérkép · 3b Fajtaválasztó
   -------------------------------------------------------------------------- */

.estate-map {
  position: relative;
  height: 240px; border-radius: 18px;
  background: repeating-linear-gradient(45deg, #e7ecdb, #e7ecdb 10px, #eef2e4 10px, #eef2e4 20px);
  border: 2px solid var(--card-border);
  overflow: hidden;
}
.estate-map--preview { height: 110px; border-radius: 14px; }

.pin {
  position: absolute;
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
}
.pin--inline { position: static; width: 26px; height: 26px; font-size: 11px; flex: none; }
.pin--plain { width: 26px; height: 26px; }

.gate-pill {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 800;
  border-radius: 99px; padding: 5px 14px;
  white-space: nowrap;
}

.loc-name { font-size: 16px; font-weight: 800; color: var(--ink); }
.loc-sub { font-size: 13px; color: var(--ink-3); white-space: nowrap; font-weight: 500; }
.loc-sub--full { color: var(--red); font-weight: 700; }
.goto-btn {
  background: var(--green); color: #fff;
  text-decoration: none;
  font-size: 14px; font-weight: 800;
  border-radius: 10px; padding: 9px 14px;
  white-space: nowrap; flex: none;
}
.chevron { font-size: 18px; font-weight: 800; color: #a08a6e; flex: none; }

.back-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 2px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--ink);
  text-decoration: none; flex: none;
}
.back-btn--dark { background: rgba(255,255,255,.14); border: none; color: #fff; width: 34px; height: 34px; font-size: 16px; }

.variety-card { background: #fff; border: 2px solid var(--card-border); border-radius: 18px; padding: 16px; }
.variety-card.is-hot { border-color: #e8944a; }
.variety-name { font-size: 19px; font-weight: 800; color: var(--ink); }
.variety-desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; margin-top: 8px; font-weight: 500; }
.loc-strip {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; background: var(--surface-2);
  border-radius: 12px; padding: 9px 12px;
  font-size: 14px; font-weight: 800; color: var(--ink-2);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Admin: fejléc, belépés, termények, foglalások, üzenet, helyek
   -------------------------------------------------------------------------- */

.admin-head {
  background: var(--admin-dark); color: #fff;
  padding: 56px 20px 14px;
  display: flex; align-items: center; gap: 10px;
  flex: none;
}
.admin-title { font-size: 22px; font-weight: 800; }
.admin-sub { font-size: 13.5px; opacity: .75; font-weight: 500; }
.admin-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .14);
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
  border-radius: 99px; padding: 5px 14px;
  color: #fff; flex: none;
}
.admin-badge--small { font-size: 11px; padding: 4px 10px; }

.page-body--login { text-align: center; color: #fff; padding: 88px 32px 24px; }
.login-title { font-size: 24px; font-weight: 800; margin-top: 12px; }
.login-sub { font-size: 14.5px; opacity: .75; margin-top: 4px; font-weight: 500; }
.login-form { text-align: left; margin-top: 26px; }
.login-label { display: block; font-size: 13.5px; font-weight: 800; opacity: .8; padding-left: 6px; }
.login-input {
  width: 100%;
  background: #fff; border: none; border-radius: 14px;
  padding: 14px 16px; margin-top: 6px;
  font-family: var(--font);
  font-size: 16px; font-weight: 700; color: var(--ink);
  outline: none;
}
.login-pass-wrap { position: relative; }
.login-input--pass { padding-right: 70px; letter-spacing: 2px; }
.show-btn {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-44%);
  font-size: 13px; font-weight: 800; color: #a08a6e;
}
.login-forgot { margin-top: 14px; font-size: 14px; font-weight: 700; opacity: .7; text-decoration: underline; }
.login-note { margin-top: 22px; font-size: 13px; opacity: .55; line-height: 1.5; font-weight: 500; }

.price-box {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface-2); border-radius: 10px;
  padding: 7px 10px; flex: none;
}
.price-input {
  width: 44px;
  background: none; border: none; outline: none;
  font-family: var(--font);
  font-size: 16px; font-weight: 800; color: var(--ink);
  text-align: right;
}
.price-unit { font-size: 13px; font-weight: 700; color: var(--ink-3); }

.seg { display: flex; background: var(--surface-2); border-radius: 12px; padding: 4px; margin-top: 10px; }
.seg-opt {
  flex: 1; text-align: center;
  font-size: 14px; font-weight: 700; color: var(--ink-3);
  padding: 8px 0; border-radius: 9px;
}
.seg-opt.is-active { background: var(--green); color: #fff; font-weight: 800; }
.seg-opt--none.is-active { background: #a08a6e; }

.cap-count { font-size: 16px; font-weight: 800; color: var(--green); white-space: nowrap; }
.progress { height: 12px; border-radius: 99px; background: #f0e6d2; margin-top: 8px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 99px; background: var(--green-dot); transition: width .3s; }
.day-count { font-size: 15px; font-weight: 800; color: var(--green); white-space: nowrap; flex: none; }
.day-count--full { color: var(--red); }

.tpl {
  background: #fff; border: 2px solid var(--card-border);
  border-radius: 14px; padding: 12px 14px;
  font-size: 15.5px; font-weight: 700; color: var(--ink-2);
  text-align: left;
}
.tpl.is-active { border-color: var(--green); color: var(--green); font-weight: 800; }

.msg-input {
  width: 100%; min-height: 64px;
  background: #fff; border: 2px solid var(--card-border);
  border-radius: 14px; padding: 12px 14px; margin-top: 8px;
  font-family: var(--font);
  font-size: 15px; font-weight: 700; color: var(--ink);
  resize: none; outline: none;
}
.msg-input::placeholder { color: var(--ink-4); }

.coord-box {
  display: block;
  background: #fff; border: 2px solid var(--card-border);
  border-radius: 12px; padding: 10px 12px;
}
.coord-label { display: block; font-size: 11.5px; font-weight: 800; color: #a08a6e; }
.coord-input {
  width: 100%;
  background: none; border: none; outline: none;
  font-family: var(--font);
  font-size: 16px; font-weight: 800; color: var(--ink);
}

/* --------------------------------------------------------------------------
   Bemutató FAB + magyarázó lap — demó-réteg, nem az app designjának része
   -------------------------------------------------------------------------- */

.guide-fab {
  position: absolute;
  right: 16px;
  bottom: 112px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #fdf3e7;
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(74, 53, 38, .55);
  z-index: 40;
  transition: transform .15s;
  animation: fabNudge 4s ease-in-out 2s 2;
}
.guide-fab:active { transform: scale(.9); }
.guide-fab.hidden { display: none; }
@keyframes fabNudge {
  0%, 100% { transform: none; }
  5% { transform: scale(1.12) rotate(-8deg); }
  10% { transform: scale(1) rotate(0); }
  15% { transform: scale(1.12) rotate(8deg); }
  20% { transform: none; }
}

.guide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(51, 40, 28, .5);
  z-index: 45;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.guide-overlay.open { opacity: 1; pointer-events: auto; }

.guide-sheet {
  width: 100%;
  max-height: 82%;
  background: var(--bg);
  border-radius: 26px 26px 0 0;
  padding: 10px 20px calc(16px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.2, .8, .3, 1);
}
.guide-overlay.open .guide-sheet { transform: none; }
@media (min-width: 720px) { .guide-sheet { border-radius: 26px 26px 45px 45px; } }

.guide-handle {
  width: 44px; height: 5px;
  border-radius: 3px;
  background: var(--inactive);
  margin: 2px auto 10px;
  flex: none;
}
.guide-kicker {
  font-size: 11.5px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
}
.guide-title { font-size: 22px; font-weight: 800; color: var(--ink); margin-top: 2px; }

.guide-scroll { overflow-y: auto; margin-top: 10px; -webkit-overflow-scrolling: touch; }
.guide-sect { margin-bottom: 14px; }
.guide-sect-head { font-size: 14.5px; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.guide-sect p { font-size: 14.5px; font-weight: 500; color: var(--ink-2); line-height: 1.55; }
.guide-sect ul { margin: 0; padding-left: 18px; }
.guide-sect li { font-size: 14.5px; font-weight: 500; color: var(--ink-2); line-height: 1.55; margin-bottom: 4px; }
.guide-foot {
  font-size: 12.5px; font-weight: 500; color: var(--ink-3);
  border-top: 1px dashed var(--inactive);
  padding-top: 10px; margin-top: 4px;
  line-height: 1.5;
}

.guide-close {
  flex: none;
  margin-top: 12px;
  height: 50px;
  border-radius: 14px;
  background: var(--ink);
  color: #fdf3e7;
  font-size: 16px; font-weight: 800;
}
.guide-close:active { transform: scale(.98); }
