/* Komponent PZW: osobny obszar ponad przestrzenią rozwijanych kart. */
#wedkarstwo.fishing--pzw { scroll-margin-top: 12px; }
.fishing--pzw .scene-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 21px;
  align-content: space-between;
}
.fishing--pzw .scene-caption { grid-column: 1 / 3; align-self: center; margin: 0; }
.fishing--pzw .floating-cards { grid-column: 1 / -1; }
.pzw-card {
  grid-column: 3;
  align-self: start;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line, #dde5ec);
  border-left: 4px solid var(--red, #df1722);
  border-radius: 10px;
  background: #fff;
  color: var(--navy, #1f2d4a);
  box-shadow: 0 8px 30px #16213a14;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px;
  gap: 0 14px;
}
.pzw-card-logo { grid-column: 2; grid-row: 1 / 4; width: 66px; height: auto; }
.pzw-card-label { grid-column: 1; font-size: .6875rem; font-weight: 700; letter-spacing: .045em; line-height: 1.5; color: #617087; margin: 0 0 9px; }
.pzw-card h3 { grid-column: 1; font-size: 1.1875rem; line-height: 1.3; margin: 0 0 10px; }
.pzw-card-description { grid-column: 1 / -1; font-size: .8125rem; line-height: 1.6; color: var(--gray, #58677a); margin: 0 0 14px; }
.pzw-trigger {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line, #dde5ec);
  border-radius: 11px;
  background: #f6f8fa;
  color: var(--navy, #1f2d4a);
  font-size: .8125rem;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}
.pzw-trigger span { color: var(--red, #df1722); transition: color .2s, transform .2s; }
.pzw-trigger:hover { color: #fff; background: var(--red, #df1722); border-color: var(--red, #df1722); }
.pzw-trigger:hover span { color: #fff; transform: translateX(3px); }
.pzw-trigger:focus-visible, .pzw-dialog a:focus-visible, .pzw-dialog button:focus-visible { outline: 3px solid #ee9200; outline-offset: 4px; }
.pzw-fallback { padding-block: 24px; }
.pzw-fallback[hidden] { display: none; }
.pzw-fallback > details { border: 1px solid var(--line, #dde5ec); border-radius: 20px; background: #fff; scroll-margin-top: 120px; }
.pzw-fallback > details > summary { padding: 20px 24px; cursor: pointer; font-weight: 700; }
.pzw-content { padding: 0 32px 32px; color: var(--navy, #1f2d4a); }
.pzw-content-heading { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 24px; margin-bottom: 22px; }
.pzw-content-heading img { width: 112px; height: auto; }
.pzw-content-heading p { font-size: .8125rem; line-height: 1.6; color: var(--gray, #58677a); margin: 0 0 7px; }
.pzw-content-heading h2 { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.025em; margin: 0; }
.pzw-content-intro { color: var(--gray, #58677a); font-size: .85rem; line-height: 1.45; margin: 0 0 22px; }
.pzw-content-intro p { margin: 0 0 12px; }
.pzw-content-intro p:last-child { margin-bottom: 0; }
.pzw-content-intro strong { color: var(--navy, #1f2d4a); }
.pzw-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; padding: 22px; background: #f3f6f9; border: 1px solid var(--line, #dde5ec); border-radius: 16px; }
.pzw-info h3 { margin: 0 0 8px; font-size: .8125rem; color: #58677a; }
.pzw-info address { font-style: normal; font-size: .9375rem; }
.pzw-hours { margin: 0; font-size: .875rem; }
.pzw-hours div { margin-bottom: 6px; }
.pzw-hours dt, .pzw-hours dd { margin: 0; }
.pzw-hours dd { font-weight: 700; }
.pzw-info p { margin: 0; }
.pzw-contact-panel { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 24px; padding: 18px; border: 1px solid var(--line, #dde5ec); border-radius: 12px; background: #e8eef4; }
.pzw-contact-panel section { min-width: 0; }
.pzw-contact-panel a { text-decoration: underline; text-decoration-color: #1f2d4a40; text-underline-offset: 4px; overflow-wrap: anywhere; }
.pzw-contact-panel a:hover { color: var(--red, #df1722); text-decoration-color: currentColor; }
.pzw-shop-phone p { font-size: 1.35rem; font-weight: 700; }
.pzw-treasurer-email p { font-size: 1.0625rem; font-weight: 700; }
.pzw-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pzw-actions .button { flex: 1 1 auto; justify-content: center; min-height: 44px; padding-inline: 14px; font-size: .8125rem; }
.pzw-dialog { width: min(720px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line, #dde5ec); border-radius: 24px; color: var(--navy, #1f2d4a); background: #fff; box-shadow: 0 24px 90px #10203b40; overflow: hidden; }
.pzw-dialog[open] { display: flex; flex-direction: column; }
.pzw-dialog::backdrop { background: #142039a6; backdrop-filter: blur(4px); }
.pzw-dialog-top { display: flex; justify-content: flex-end; flex: 0 0 auto; padding: 12px 16px 8px; }
.pzw-dialog-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line, #dde5ec); border-radius: 50%; background: #f6f8fa; color: var(--navy, #1f2d4a); font-size: 1.7rem; line-height: 1; transition: background .2s, color .2s; }
.pzw-dialog-close:hover { background: var(--red, #df1722); color: #fff; }
.pzw-dialog-body { overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
@media (max-width: 1100px) {
  .fishing--pzw .scene-inner { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .fishing--pzw .scene-caption, .fishing--pzw .pzw-card { grid-column: 1; }
  .pzw-card { grid-template-columns: minmax(0, 1fr) 66px; }
}
@media (max-width: 850px) {
  /* Bez JS istniejący nagłówek pokazuje całe menu (około 303 px). */
  .no-js #wedkarstwo.fishing--pzw, .no-js #pzw-skladki { scroll-margin-top: 240px; }
  .fishing--pzw .scene-caption { justify-self: start; }
  .fishing--pzw .pzw-card { grid-template-columns: minmax(0, 1fr) 60px; }
  .pzw-card-logo { width: 60px; }
}
@media (max-width: 650px) {
  .pzw-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 540px) {
  .fishing--pzw .pzw-card { padding: 20px; grid-template-columns: minmax(0, 1fr) 56px; gap: 0 12px; border-radius: 16px; }
  .pzw-card-logo { width: 56px; }
  .pzw-card h3 { font-size: 1.125rem; }
  .pzw-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .pzw-content { padding: 0 20px 24px; }
  .pzw-content-heading { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .pzw-content-heading img { width: 80px; }
  .pzw-content-heading h2 { font-size: 1.5rem; }
  .pzw-info { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .pzw-contact-panel { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .pzw-actions { flex-direction: column; align-items: stretch; }
  .pzw-actions .button { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pzw-trigger, .pzw-trigger span, .pzw-dialog-close { transition: none; }
  .pzw-trigger:hover span { transform: none; }
}
