/* ============================================================
   Zsebinfo – Szolgáltató adatlap v3 (2026-10-04)
   Felépítés: térképsáv → fejléc-kártya (név, állapot, ajánlások,
   műveletek) → ragadós szakasz-fülek → 2 oszlop (tartalom + elérhetőség)
   → Hasonló a közelben. Tokenek: zsebinfo-home.css.
   ============================================================ */

.zsa { background: var(--page); padding-bottom: 56px; }

/* ---------- Térképsáv ---------- */
.zsa-cover { position: relative; height: 230px; background: #E9E3D6; }
.zsa-cover__map { position: absolute; inset: 0; isolation: isolate; }
.zsa-cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to bottom, rgba(245,237,226,0), var(--page)); pointer-events: none; z-index: 401; }
.zsa-cover__crumb { position: relative; z-index: 402; padding-top: 14px; }
.zsa-cover__crumb .zs-breadcrumb { display: inline-flex; background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 999px; box-shadow: 0 2px 10px rgba(43,29,22,.1); }
.zsa-pin { width: 40px; height: 40px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.zsa-pin i { transform: rotate(45deg); color: #fff; font-size: 15px; }

/* ---------- Fejléc-kártya ---------- */
.zsa-head {
  position: relative; z-index: 403; margin-top: -86px;
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px 22px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px 20px;
  box-shadow: 0 16px 40px rgba(43,29,22,.12);
}
.zsa-head__logo { width: 96px; height: 96px; border-radius: 22px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 38px; grid-row: span 2; align-self: start; }
.zsa-head__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.zsa-head__name { margin: 0; font-family: 'Sora', sans-serif; font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); text-wrap: balance; }
.zsa-head__meta { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.zsa-head__meta i { color: var(--orange); margin: 0 3px 0 4px; font-size: 12px; }
.zsa-head__status { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 10px; }
.zsa-actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line-light); }

.zsa-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--ink); border: 1px solid var(--line); white-space: nowrap; }
.zsa-pill--gold { background: var(--gold-soft); color: var(--gold-ink); border-color: #F3C9AC; }
.zsa-pill--green { background: var(--orange-soft); color: var(--orange-dark); border-color: transparent; }
.zsa-pill--red { background: #F7DED8; color: #B9432E; border-color: transparent; }

.zsa-open { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.zsa-open__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.zsa-open--open { color: var(--orange); }
.zsa-open--open .zsa-open__dot { box-shadow: 0 0 0 0 rgba(63,106,54,.5); animation: zsaPulse 1.8s infinite; }
.zsa-open--soon { color: var(--gold-dark); }
.zsa-open--closed { color: #B9432E; }
@keyframes zsaPulse { 70% { box-shadow: 0 0 0 8px rgba(63,106,54,0); } 100% { box-shadow: 0 0 0 0 rgba(63,106,54,0); } }
.zsa-fresh { font-size: 12px; color: var(--muted); }

.zsa-score { grid-row: 1; grid-column: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 136px; padding: 14px 16px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line); text-decoration: none; color: var(--ink); text-align: center; }
.zsa-score b { font-family: 'Sora', sans-serif; font-size: 34px; line-height: 1; }
.zsa-score small { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.zsa-stars { color: #E7A527; letter-spacing: 2px; font-size: 14px; margin-top: 4px; }

.zsa-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; background: #fff; color: var(--ink); border: 1.5px solid var(--line); transition: border-color .15s, background .15s, color .15s; }
.zsa-btn:hover { border-color: var(--orange); color: var(--orange); }
.zsa-btn i { color: var(--orange); }
.zsa-btn--main { background: var(--orange); border-color: var(--orange); color: #fff; }
.zsa-btn--main:hover { background: var(--orange-dark); color: #fff; }
.zsa-btn--main i, .zsa-btn--cta i { color: #fff; }
.zsa-btn--cta { background: var(--gold); border-color: var(--gold); color: #fff; }
.zsa-btn--cta:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.zsa-btn.is-on i { color: var(--gold); }
.zsa-btn:disabled { opacity: .55; cursor: not-allowed; }
.zsa-btn:focus-visible, .zsa-day:focus-visible, .zsa-slot:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 2px; }

/* ---------- Ragadós fülek ---------- */
.zsa-tabs { position: sticky; top: calc(var(--zsa-top, 195px) + 8px); z-index: 50; display: flex; gap: 4px; margin: 18px 0 22px; padding: 6px; background: rgba(245,237,226,.94); backdrop-filter: blur(6px); border-radius: 14px; border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.zsa-tabs::-webkit-scrollbar { display: none; }
.zsa-tabs a { flex-shrink: 0; padding: 9px 16px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.zsa-tabs a:hover { color: var(--ink); }
.zsa-tabs a.is-on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(43,29,22,.1); }

/* ---------- Rács ---------- */
.zsa-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.zsa-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.zsa-sec { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; scroll-margin-top: 270px; }
.zsa-sechead { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 14px; }
.zsa-sechead .zsa-h2 { margin: 0; }
.zsa-h2 { font-family: 'Sora', sans-serif; font-size: 21px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; color: var(--ink); text-wrap: balance; }
.zsa-more { font-size: 13px; font-weight: 700; color: var(--orange); text-decoration: none; }
.zsa-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* Áttekintés */
.zsa-about p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.7; color: var(--ink); max-width: 68ch; }
.zsa-why { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; }
.zsa-why li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; }
.zsa-why i { color: var(--orange); margin-top: 3px; }
.zsa-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-light); }
.zsa-fact { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-dark); }
.zsa-fact.is-off { background: var(--cream); color: var(--muted); text-decoration: line-through; }

/* Galéria (a vállalkozó fotóinak helye) */
.zsa-sec[aria-label="Fotók"] { padding: 10px; }
.zsa-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 130px 130px; gap: 8px; }
.zsa-ph { margin: 0; position: relative; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff;
  background: linear-gradient(140deg, color-mix(in srgb, var(--ph) 82%, #fff), var(--ph)); }
.zsa-ph i { font-size: 26px; opacity: .9; }
.zsa-ph figcaption { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.zsa-ph--big { grid-row: span 2; }
.zsa-ph--big i { font-size: 40px; }
.zsa-ph:last-child { background: linear-gradient(140deg, var(--ink), #4a3a30); }

/* Árak */
.zsa-prices { display: flex; flex-direction: column; }
.zsa-price { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.zsa-price:last-child { border-bottom: 0; }
.zsa-price b { font-size: 15px; font-weight: 700; }
.zsa-price small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.zsa-price small.is-avg { color: var(--orange-dark); font-weight: 700; }
.zsa-price > span { font-weight: 800; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Időpont */
.zsa-book { border: 2px solid var(--gold-soft); }
.zsa-book__step { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px; }
.zsa-book__step:first-of-type { margin-top: 0; }
.zsa-select { width: 100%; font: inherit; font-size: 14.5px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.zsa-select:focus { outline: none; border-color: var(--orange); }
.zsa-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.zsa-day { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 4px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: inherit; cursor: pointer; color: var(--ink); }
.zsa-day b { font-size: 13.5px; }
.zsa-day span { font-size: 11.5px; color: var(--muted); }
.zsa-day small { font-size: 10.5px; font-weight: 700; color: var(--orange); }
.zsa-day:hover:not(:disabled) { border-color: var(--orange); }
.zsa-day.is-on { border-color: var(--orange); background: var(--orange); color: #fff; }
.zsa-day.is-on span, .zsa-day.is-on small { color: #fff; }
.zsa-day:disabled { opacity: .45; cursor: not-allowed; background: var(--cream); }
.zsa-slots { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; }
.zsa-slot { padding: 9px 15px; border-radius: 10px; border: 1.5px solid var(--orange); background: #fff; color: var(--orange-dark); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums; }
.zsa-slot:hover, .zsa-slot.is-on { background: var(--orange); color: #fff; }
.zsa-book__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 18px; }
.zsa-book__form input { font: inherit; font-size: 14.5px; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; min-width: 0; }
.zsa-book__form input:focus { outline: none; border-color: var(--orange); }
.zsa-book__done { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); font-size: 14px; line-height: 1.5; }
.zsa-book__done.is-on { display: block; }
.zsa-book__done em { color: var(--muted); font-style: normal; font-size: 12.5px; }

/* Ajánlások */
.zsa-recs { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; padding: 16px; border-radius: 14px; background: var(--cream); }
.zsa-recs__score { display: flex; flex-direction: column; align-items: center; text-align: center; }
.zsa-recs__score b { font-family: 'Sora', sans-serif; font-size: 42px; line-height: 1; }
.zsa-recs__score small { font-size: 12px; color: var(--muted); margin-top: 4px; }
.zsa-recs__t { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.zsa-bar { display: grid; grid-template-columns: 96px 1fr 26px; gap: 8px; align-items: center; font-size: 13px; margin-bottom: 6px; }
.zsa-bar__track { height: 8px; border-radius: 999px; background: #fff; overflow: hidden; }
.zsa-bar__track i { display: block; height: 100%; background: var(--violet, #7A4F9A); border-radius: 999px; }
.zsa-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.zsa-tag { display: inline-flex; gap: 5px; align-items: center; margin: 0 6px 6px 0; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.zsa-tag small { color: var(--muted); font-weight: 700; }
.zsa-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.zsa-review { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.zsa-review__who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.zsa-review__who b { font-size: 13.5px; display: block; }
.zsa-review__who small { font-size: 12px; color: var(--muted); }
.zsa-av { width: 34px; height: 34px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.zsa-verified { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--orange); }
.zsa-review p { margin: 0; font-size: 14px; line-height: 1.55; }
.zsa-recs__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-light); font-size: 14px; color: var(--muted); }

/* Események, GYIK */
.zsa-events { display: flex; flex-direction: column; gap: 8px; }
.zsa-event { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.zsa-event:hover { border-color: var(--orange); }
.zsa-event__date { display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 10px; background: var(--orange-soft); color: var(--orange-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.zsa-event__date b { font-size: 19px; line-height: 1; }
.zsa-event b { display: block; font-size: 14.5px; }
.zsa-event small { font-size: 12.5px; color: var(--muted); }
.zsa-faq details { border-bottom: 1px solid var(--line-light); }
.zsa-faq summary { cursor: pointer; padding: 13px 0; font-weight: 700; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.zsa-faq summary::-webkit-details-marker { display: none; }
.zsa-faq summary::after { content: "+"; color: var(--orange); font-size: 19px; line-height: 1; }
.zsa-faq details[open] summary::after { content: "–"; }
.zsa-faq p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Jobb sáv ---------- */
.zsa-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--zsa-top, 195px) + 76px); scroll-margin-top: 270px; }
.zsa-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.zsa-card__status { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-light); }
.zsa-card__title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.zsa-card__title i { color: var(--orange); }
.zsa-contact { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.zsa-contact li { display: flex; gap: 10px; align-items: flex-start; }
.zsa-contact i { width: 16px; color: var(--orange); margin-top: 3px; text-align: center; }
.zsa-contact a { color: var(--ink); text-decoration: none; font-weight: 600; }
.zsa-contact a:hover { color: var(--orange); }
.zsa-hours { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.zsa-hours td { padding: 5px 0; }
.zsa-hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.zsa-hours tr.is-today td { font-weight: 800; color: var(--orange-dark); }
.zsa-reach__lbl { font-size: 12.5px; font-weight: 700; display: block; margin-bottom: 6px; }
.zsa-reach__res { margin-top: 12px; font-size: 13.5px; line-height: 1.5; }
.zsa-reach__res b { display: flex; align-items: center; gap: 7px; font-size: 15px; margin-bottom: 2px; }
.zsa-reach__res b.ok { color: var(--orange); }
.zsa-reach__res b.no { color: #B9432E; }
.zsa-reach__res span { color: var(--muted); }
.zsa-reach__res a { color: var(--orange); font-weight: 700; }
.zsa-card--deal { background: var(--gold-soft); border: 1.5px dashed var(--gold); }
.zsa-card--deal .zsa-card__title i { color: var(--gold); }
.zsa-deal__t { display: block; font-size: 17px; color: var(--gold-ink); }
.zsa-card--deal p, .zsa-card--claim p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.zsa-link { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--orange); text-decoration: none; }

/* ---------- Hasonló a közelben ---------- */
.zsa-similar { margin-top: 30px; }
.zsa-simgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.zsa-sim { display: flex; gap: 12px; align-items: center; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); }
.zsa-sim:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.zsa-sim__ico { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; }
.zsa-sim b { display: block; font-size: 14px; line-height: 1.3; }
.zsa-sim small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.zsa-sim__r { color: var(--ink) !important; font-weight: 700; }

.zsa-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 13.5px; z-index: 3500; transition: .25s; pointer-events: none; max-width: calc(100% - 32px); }
.zsa-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reszponzív ---------- */
@media (max-width: 1100px) {
  .zsa-grid { grid-template-columns: 1fr; }
  .zsa-side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .zsa-simgrid { grid-template-columns: 1fr 1fr; }
  .zsa-recs { grid-template-columns: 130px 1fr; }
  .zsa-recs__tags { grid-column: 1 / -1; }
}
@media (max-width: 950px) {
  .zsa-sec { scroll-margin-top: calc(var(--zsa-top, 120px) + 70px); }
}
@media (max-width: 700px) {
  .zsa-cover { height: 180px; }
  .zsa-head { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; margin-top: -70px; }
  .zsa-head__logo { width: 64px; height: 64px; font-size: 26px; border-radius: 16px; grid-row: auto; }
  .zsa-score { grid-row: auto; grid-column: 1 / -1; flex-direction: row; gap: 10px; justify-content: flex-start; min-width: 0; padding: 10px 14px; }
  .zsa-score b { font-size: 26px; }
  .zsa-score small, .zsa-stars { margin-top: 0; }
  .zsa-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .zsa-actions .zsa-btn:nth-child(n+3) { padding: 0 8px; }
  .zsa-sec { padding: 18px; }
  .zsa-why, .zsa-reviews, .zsa-side, .zsa-simgrid { grid-template-columns: 1fr; }
  .zsa-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .zsa-book__form { grid-template-columns: 1fr; }
  .zsa-recs { grid-template-columns: 1fr; }
  .zsa-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 150px 100px 100px; }
  .zsa-ph--big { grid-column: 1 / -1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .zsa-open__dot { animation: none !important; } .zsa-toast { transition: none; } }

/* A zsebinfo-home.css „.zs-wrap button { border: none }” szabálya erősebb –
   itt a gombok keretét erősebb szelektorral adjuk vissza */
.zs-wrap .zsa-btn { border: 1.5px solid var(--line); }
.zs-wrap .zsa-btn--main { border-color: var(--orange); }
.zs-wrap .zsa-btn--cta { border-color: var(--gold); }
.zs-wrap .zsa-day { border: 1.5px solid var(--line); }
.zs-wrap .zsa-day.is-on, .zs-wrap .zsa-day:hover:not(:disabled) { border-color: var(--orange); }
.zs-wrap .zsa-slot { border: 1.5px solid var(--orange); }
.zsa-bar__track i { background: var(--orange); }

@media (max-width: 700px) {
  .zsa-actions .zsa-btn { white-space: nowrap; font-size: 13px; padding: 0 10px; }
}

/* A .zs-wrap overflow-x:hidden-je letiltja a ragadós elemeket (görgető
   konténert csinál). Ezen az oldalon „clip”: ugyanúgy levágja az oldalirányú
   kilógást, de a fülek és a jobb sáv ragadhatnak. A fejléc itt sem ragad,
   mint az oldal többi részén. */
.zs-wrap { overflow-x: clip; }
.zs-wrap .zs-header { position: relative; }
.zsa-toast { font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
@media (max-width: 950px) { .zsa-toast { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); } }
