/* Katalog miejsc (/miejsca, /miejsca/<id>) — strony z generator/build.mjs, tokeny z landing.css. */
.i { width: 18px; height: 18px; flex: none; }
.i.sm { width: 14px; height: 14px; opacity: .7; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .14); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font: 600 14px/1.3 var(--head); opacity: .85; }
.pd-hero .crumbs, .pd-kind, .pd-sub { text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

/* ── Lista ── */
.pl-hero { background: var(--ink); color: #fff; padding: 128px 0 0; position: relative; overflow: hidden; }
.pl-hero::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(221, 245, 107, .16), transparent); pointer-events: none; }
.pl-hero .wrap { position: relative; }
.pl-hero h1 { font-size: clamp(38px, 6.4vw, 72px); font-weight: 800; margin: 16px 0 14px; max-width: 900px; text-wrap: balance; }
.pl-hero .lead { font-size: clamp(17px, 2vw, 21px); color: rgba(255, 255, 255, .8); max-width: 60ch; }
.pl-tabs { display: flex; gap: 6px; margin: 36px -16px 0; padding: 0 16px 20px; overflow-x: auto; scrollbar-width: none; }
.pl-tabs::-webkit-scrollbar { display: none; }
.pl-tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; font: 600 16px/1 var(--head); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.pl-tabs a:hover { background: rgba(255, 255, 255, .14); }
.pl-tabs a[aria-current="page"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.pl-tabs small { font-size: 13px; opacity: .6; }

.pl-list { padding: 28px 0 80px; }
.pl-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 24px; }
.pl-search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); }
.pl-search:focus-within { border-color: var(--text); }
.pl-search input { flex: 1; min-width: 0; border: 0; background: none; font: 500 16px/1 var(--body); color: var(--text); outline: none; }
.pl-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-filters button, .pl-map-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 15px/1 var(--head); cursor: pointer; }
.pl-filters button[aria-pressed="true"], .pl-map-btn[aria-expanded="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pl-map { height: 420px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); margin-bottom: 28px; }
.pl-map[hidden] { display: none; }
.pl-pop { font: 500 14px/1.3 var(--body); color: #0E0F0B; text-decoration: none; display: grid; gap: 6px; width: 180px; }
.pl-pop img { width: 100%; height: 100px; object-fit: cover; border-radius: 10px; }
.pl-pop b { font: 700 16px/1.2 var(--head); }
.pl-pop small { color: #686E64; }

.pl-group + .pl-group { margin-top: 56px; }
.pl-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 18px; }
.pl-group-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.pl-group-head a { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1 var(--head); text-decoration: none; color: var(--text-muted); }
.pl-group-head a:hover { color: var(--text); }
.pl-group[hidden], .pl-card[hidden] { display: none; }

.pl-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.pl-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.pl-card a:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(14, 15, 11, .45); }
.pl-card-img { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.pl-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl-card-img .ph { width: 44px; height: 44px; opacity: .55; }
.pl-chip { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font: 600 13px/1 var(--head); color: #fff; background: rgba(14, 15, 11, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pl-chip.audio { left: auto; right: 12px; padding: 7px; }
.pl-chip .i { width: 16px; height: 16px; }
.pl-kind { display: none; font: 600 12px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--sage); }
.pl-card-body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.pl-card h2, .pl-card h3 { font: 700 21px/1.2 var(--head); letter-spacing: -0.02em; }
.pl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; color: var(--text-muted); }
.pl-meta:empty { display: none; }
.pl-meta .i { width: 15px; height: 15px; margin-right: 4px; vertical-align: -2px; }
.pl-rating { display: inline-flex; align-items: center; color: var(--text); font-weight: 600; }
.pl-rating .i { color: var(--ember); }
.pl-rating small { color: var(--text-muted); font-weight: 400; margin-left: 2px; }
.pl-desc { color: var(--text-muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-empty { padding: 40px 0; text-align: center; color: var(--text-muted); font-size: 17px; }
.pl-empty[hidden] { display: none; }

.pl-join { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px dashed var(--border); }
.pl-join b { font: 700 22px/1.2 var(--head); letter-spacing: -0.02em; }
.pl-join p { color: var(--text-muted); margin-top: 6px; }

.pl-app { background: var(--ink); color: #fff; padding: 64px 0; }
.pl-app-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.pl-app h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 14px 0 10px; max-width: 18ch; }
.pl-app p { color: rgba(255, 255, 255, .75); max-width: 56ch; }

/* ── Podstrona miejsca ── */
.pd-hero { position: relative; color: #fff; background: var(--ink); min-height: min(76vh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.pd-hero.no-img { min-height: 0; padding-top: 120px; }
.pd-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 15, 11, .5) 0, rgba(14, 15, 11, 0) 28%, rgba(14, 15, 11, .15) 50%, rgba(14, 15, 11, .88) 100%); pointer-events: none; }
.pd-hero.no-img::after { display: none; }
.pd-hero-ph { position: absolute; inset: 0; display: grid; place-items: center; opacity: .18; }
.pd-hero-ph .i { width: 160px; height: 160px; }
.pd-hero-in { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 40px; }
.pd-kind { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; font: 600 14px/1 var(--head); background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .2); }
.pd-kind .i { width: 16px; height: 16px; }
.pd-hero h1 { font-size: clamp(38px, 7vw, 80px); font-weight: 800; margin: 14px 0 12px; max-width: 16ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.pd-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 17px; }
.pd-sub .i { margin-right: 6px; vertical-align: -3px; }
.pd-rating { display: inline-flex; align-items: center; } .pd-rating .i { color: var(--ember); } .pd-rating b { margin-right: 4px; }
.pd-lead { font-size: clamp(18px, 2.2vw, 22px); margin-top: 12px; max-width: 52ch; color: rgba(255, 255, 255, .9); }
.pd-credit { position: absolute; z-index: 1; right: 12px; bottom: 8px; font-size: 11px; color: rgba(255, 255, 255, .6); }

.pd-actions-wrap { position: relative; z-index: 2; }
.pd-actions { display: flex; gap: 8px; padding: 14px 0 0; overflow-x: auto; scrollbar-width: none; }
.pd-actions::-webkit-scrollbar { display: none; }
.pd-act { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font: 600 15px/1 var(--head); cursor: pointer; }
.pd-act:hover { border-color: var(--text); }
.pd-act.primary { background: var(--ember); border-color: var(--ember); color: var(--ink); }
@media (min-width: 900px) { .pd-actions { width: max-content; max-width: 100%; margin-top: -29px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 20px 40px -24px rgba(14, 15, 11, .45); } .pd-act { border-color: transparent; background: none; } .pd-act.primary { background: var(--ember); } }

.pd-grid { display: grid; gap: 32px; padding-top: 36px; padding-bottom: 24px; }
@media (min-width: 980px) { .pd-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding-top: 48px; } .pd-side { position: sticky; top: 96px; align-self: start; } }
.pd-main { display: grid; gap: 40px; align-content: start; min-width: 0; }
.pd-block h2, .pd-near h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin-bottom: 16px; }
.pd-block h2 small { font: 600 16px/1 var(--head); color: var(--text-muted); margin-left: 6px; }
.pd-text { display: grid; gap: 14px; font-size: 18px; line-height: 1.65; max-width: 68ch; }
.pd-audio { padding: 24px; border-radius: var(--r-card); background: var(--acc-audio-bg); color: var(--acc-audio-fg); }
.pd-audio-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.pd-audio-head > .i { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--surface); }
.pd-audio h2 { margin: 0; font-size: 24px; }
.pd-audio audio { width: 100%; }
.pd-hint { font-size: 14px; margin-top: 10px; opacity: .85; }
.pd-gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.pd-gallery a { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pd-gallery a:hover img { transform: scale(1.04); }
.pd-credits { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.pd-amen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-amen li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--chip); font: 600 15px/1 var(--head); }

.pd-side { display: grid; gap: 16px; align-content: start; }
.pd-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px; }
.pd-card h2 { font: 700 20px/1.2 var(--head); margin-bottom: 14px; }
.pd-info { display: grid; gap: 14px; margin: 0; }
.pd-info div { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; }
.pd-info .i { grid-row: span 2; color: var(--sage); margin-top: 2px; }
.pd-info dt { font-size: 13px; color: var(--text-muted); }
.pd-info dd { margin: 2px 0 0; font-weight: 600; }
.pd-info dd small { font-weight: 400; color: var(--text-muted); }
.pd-map-card { padding: 0; overflow: hidden; }
.pd-map { height: 240px; position: relative; display: grid; place-items: center; background: var(--acc-nature-bg) repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, .25) 18px 19px); }
.pd-map-load { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--surface); color: var(--text); font: 600 15px/1 var(--head); cursor: pointer; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .35); }
.pd-dir { display: flex; align-items: center; gap: 10px; padding: 16px 22px; text-decoration: none; font: 600 16px/1 var(--head); border-top: 1px solid var(--border); }
.pd-dir:hover { background: var(--chip); }
.pd-dir .sm { margin-left: auto; }
.pd-app-card { background: var(--ink); color: #fff; border: 0; }
.pd-app-card b { font: 700 19px/1.2 var(--head); }
.pd-app-card p { color: rgba(255, 255, 255, .75); font-size: 15px; margin: 8px 0 14px; }
.pd-app-card a { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--head); color: var(--lime); text-decoration: none; }

.pd-near { padding: 48px 0 24px; }
.pd-report { color: var(--text-muted); font-size: 15px; padding-top: 24px; padding-bottom: 56px; }

/* Menu restauracji */
.mn-notes { color: var(--text-muted); margin-bottom: 14px; }
.mn-sec { border-top: 1px solid var(--border); }
.mn-sec:last-of-type { border-bottom: 1px solid var(--border); }
.mn-sec summary { display: flex; align-items: center; gap: 10px; padding: 18px 0; cursor: pointer; list-style: none; }
.mn-sec summary::-webkit-details-marker { display: none; }
.mn-sec summary::after { content: "+"; margin-left: auto; font: 600 24px/1 var(--head); color: var(--text-muted); }
.mn-sec[open] summary::after { content: "−"; }
.mn-sec h3 { font: 700 21px/1.2 var(--head); }
.mn-sec summary small { font: 600 13px/1 var(--head); color: var(--text-muted); background: var(--chip); padding: 5px 9px; border-radius: 999px; }
.mn-sec-desc { color: var(--text-muted); margin: -6px 0 12px; }
.mn-sec ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; }
.mn-row { display: flex; align-items: baseline; gap: 8px; }
.mn-row b { font: 600 17px/1.3 var(--head); }
.mn-dots { flex: 1; border-bottom: 2px dotted var(--border); min-width: 16px; transform: translateY(-4px); }
.mn-price { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; font: 700 17px/1.3 var(--head); white-space: nowrap; }
.mn-price small { font: 500 13px/1 var(--body); color: var(--text-muted); }
.mn-item p { color: var(--text-muted); font-size: 15px; margin-top: 4px; max-width: 60ch; }
.mn-portion { white-space: nowrap; opacity: .8; }
.mn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mn-tag, .mn-all { font: 600 12px/1 var(--head); padding: 5px 9px; border-radius: 999px; background: var(--chip); }
.mn-tag.t-vegetarian, .mn-tag.t-vegan { background: var(--acc-nature-bg); color: var(--acc-nature-fg); }
.mn-tag.t-spicy { background: var(--acc-rose-bg); color: var(--acc-rose-fg); }
.mn-tag.t-recommended, .mn-tag.t-new { background: var(--acc-ember-bg); color: var(--acc-ember-fg); }
.mn-all { background: none; border: 1px solid var(--border); color: var(--text-muted); cursor: help; }
.mn-legend, .mn-updated { font-size: 14px; color: var(--text-muted); margin-top: 14px; }

/* Galeria na pełnym ekranie */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 9, 6, .95); }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(8, 9, 6, .9); }
.lb figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.lb figcaption { color: rgba(255, 255, 255, .7); font-size: 13px; text-align: center; padding: 0 16px; }
.lb img { max-width: 94vw; max-height: 82vh; object-fit: contain; border-radius: 12px; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font: 400 32px/1 var(--head); cursor: pointer; }
.lb-x { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font: 600 15px/1 var(--head); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .pl-card a, .pd-gallery img { transition: none; } }

/* Telefon: zwarte karty (zdjęcie z lewej), CTA tylko w menu ☰ — inaczej zasłania logo. */
@media (max-width: 560px) {
  .nav .cta-sm { display: none; }
  .nav .cta-sm + .menu-btn { margin-left: auto; }
  .pl-grid { gap: 10px; }
  .pl-card a { flex-direction: row; border-radius: 22px; }
  .pl-card-img { aspect-ratio: auto; width: 116px; flex: none; min-height: 116px; }
  .pl-card-img .ph { width: 30px; height: 30px; }
  .pl-chip { display: none; }
  .pl-kind { display: block; }
  .pl-card-body { padding: 14px 16px; gap: 6px; }
  .pl-card h2, .pl-card h3 { font-size: 18px; }
  .pl-desc { font-size: 14px; }
  .pl-group + .pl-group { margin-top: 40px; }
}
