/* ==========================================================================
   mod_psch_cennik — style modułu cennika Profe Studio
   Wszystko pod .psch5-pricing / .psch5-page — brak kolizji ze stylami globalnymi.
   Wersja: 1.0.0
   ========================================================================== */

.psch5-pricing,
.psch5-pricing-wrap {
  --psch5-navy: #1A2A6C;
  --psch5-navy-2: #24388A;
  --psch5-navy-deep: #14255D;
  --psch5-soft: #F4F7FF;
  --psch5-soft-2: #FBFCFF;
  --psch5-line: #DCE4F4;
  --psch5-line-2: #E9EEFA;
  --psch5-text: #243447;
  --psch5-muted: #5F7187;
  --psch5-accent: #F7B731;
  --psch5-accent-2: #FFD978;
  --psch5-accent-deep: #E09B0B;
  --psch5-shadow-sm: 0 10px 24px rgba(26, 42, 108, .06);
  --psch5-r-xl: 28px;
  --psch5-r-lg: 22px;
  --psch5-r-md: 16px;
  --psch5-container: 1240px;
  --psch5-font: Montserrat, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  position: relative;
  color: var(--psch5-text);
  font-family: var(--psch5-font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.psch5-pricing,
.psch5-pricing *,
.psch5-pricing-wrap,
.psch5-pricing-wrap * { box-sizing: border-box; }

/* --- widoki desktop / mobile --------------------------------------------- */
/* Reguly przelaczajace generowane sa inline (prog jest parametrem modulu). */
.psch5-view { display: block; }
.psch5-view--always { display: block; }
.psch5-pricing a { color: inherit; text-decoration: none; }
.psch5-pricing p { margin: 0; }
.psch5-pricing button { font: inherit; cursor: pointer; }
.psch5-pricing :focus-visible { outline: 3px solid var(--psch5-accent); outline-offset: 3px; border-radius: 8px; }

/* --- kontener i sekcja --------------------------------------------------- */
.psch5-pricing .psch5-container {
  width: min(var(--psch5-container), calc(100% - 32px));
  margin-inline: auto;
}
.psch5-pricing.psch5-section { padding: 78px 0; position: relative; overflow: hidden; }

/* Sekcje na pelna szerokosc okna (klasa dodawana, gdy modul uzywa wlasnego kontenera).
   Wyprowadza sekcje poza kontener SP Page Buildera, zeby tlo siegalo krawedzi ekranu. */
.psch5-pricing.psch5-fullbleed {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
body:has(.psch5-fullbleed) { overflow-x: hidden; overflow-x: clip; }
.psch5-pricing.psch5-section--soft { background: linear-gradient(180deg, #FBFCFF 0%, #F5F8FF 100%); }
.psch5-pricing.psch5-section--white { background: #fff; }
.psch5-pricing.psch5-section--none { padding: 0; }

/* --- nagłówki ------------------------------------------------------------ */
.psch5-pricing .psch5-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .88); border: 1px solid rgba(220, 228, 244, .95);
  color: var(--psch5-navy); font-size: 12.5px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; margin: 0 0 18px;
  box-shadow: var(--psch5-shadow-sm);
}
.psch5-pricing .psch5-eyebrow::before {
  content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--psch5-accent);
}
.psch5-pricing .psch5-h2 {
  margin: 0; font-family: var(--psch5-font); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.08; color: var(--psch5-navy);
  font-size: clamp(28px, 4vw, 44px);
}
.psch5-pricing .psch5-h3 {
  margin: 0; font-family: var(--psch5-font); font-weight: 800;
  font-size: 19px; line-height: 1.3; letter-spacing: -.02em; color: var(--psch5-navy);
}
.psch5-pricing .psch5-lead {
  margin: 16px 0 0; font-size: 18px; line-height: 1.72; color: var(--psch5-muted); max-width: 760px;
}
.psch5-pricing .psch5-note {
  margin-top: 22px; font-size: 15px; line-height: 1.7; color: var(--psch5-muted);
  padding: 16px 18px; background: var(--psch5-soft);
  border: 1px dashed var(--psch5-line); border-radius: var(--psch5-r-md);
}

/* --- przyciski ----------------------------------------------------------- */
.psch5-pricing .psch5-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; font-size: 15px; line-height: 1.2;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.psch5-pricing .psch5-btn:hover { transform: translateY(-1px); }
.psch5-pricing .psch5-btn--primary {
  background: linear-gradient(135deg, var(--psch5-accent) 0%, var(--psch5-accent-2) 100%);
  color: var(--psch5-navy); box-shadow: 0 16px 32px rgba(247, 183, 49, .26);
}
.psch5-pricing .psch5-btn--secondary {
  background: #fff; color: var(--psch5-navy); border-color: #D5DDF0;
  box-shadow: 0 12px 26px rgba(26, 42, 108, .08);
}
.psch5-pricing .psch5-sec__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* --- pasek sterowania: filtry + przełącznik płatności --------------------- */
.psch5-pricing .psch5-bar {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  margin: 26px 0 24px; padding: 14px; background: #fff;
  border: 1px solid var(--psch5-line); border-radius: 999px; box-shadow: var(--psch5-shadow-sm);
}
.psch5-pricing .psch5-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.psch5-pricing .psch5-chip {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--psch5-line);
  background: #fff; color: var(--psch5-navy); font-size: 13.5px; font-weight: 800; transition: .2s ease;
}
.psch5-pricing .psch5-chip:hover { border-color: #B9C6E6; }
.psch5-pricing .psch5-chip[aria-pressed="true"] { background: var(--psch5-navy); border-color: var(--psch5-navy); color: #fff; }
.psch5-pricing .psch5-chip .psch5-cnt { opacity: .55; font-weight: 700; margin-left: 6px; font-size: 12px; }

.psch5-pricing .psch5-switch {
  display: inline-flex; padding: 5px; gap: 4px;
  background: var(--psch5-soft); border: 1px solid var(--psch5-line); border-radius: 999px;
}
.psch5-pricing .psch5-switch button {
  padding: 10px 18px; border: 0; background: transparent; border-radius: 999px;
  color: var(--psch5-muted); font-size: 13.5px; font-weight: 800; white-space: nowrap; transition: .2s ease;
}
.psch5-pricing .psch5-switch button[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--psch5-accent) 0%, var(--psch5-accent-2) 100%);
  color: var(--psch5-navy); box-shadow: 0 8px 18px rgba(247, 183, 49, .28);
}

/* --- etykiety (tagi) ----------------------------------------------------- */
.psch5-pricing .psch5-tag {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
  background: var(--psch5-soft); color: var(--psch5-navy); border: 1px solid var(--psch5-line-2);
  white-space: nowrap;
}
.psch5-pricing .psch5-tag--te { background: #FFF4DC; border-color: #F6E0AC; color: #8A5D00; }
.psch5-pricing .psch5-tag--se { background: #E7F4FF; border-color: #BEDDF5; color: #0C5B8A; }
.psch5-pricing .psch5-tag--el { background: #EDEBFF; border-color: #CFC9F5; color: #3B2E9E; }
.psch5-pricing .psch5-tag--alt { background: #E8F7F1; border-color: #BCE6D6; color: #0B6B4B; }

/* ==========================================================================
   UKŁAD A — TABELA (domyślny)
   ========================================================================== */
.psch5-pricing .psch5-tablewrap {
  background: #fff; border: 1px solid var(--psch5-line); border-radius: var(--psch5-r-lg);
  overflow: hidden; box-shadow: 0 10px 28px rgba(26, 42, 108, .05);
}
.psch5-pricing table.psch5-table {
  width: 100%; border-collapse: collapse; margin: 0; background: transparent; font-size: 15px;
}
.psch5-pricing .psch5-table thead th {
  background: linear-gradient(135deg, var(--psch5-navy-deep), var(--psch5-navy-2));
  color: #fff; text-align: left; padding: 17px 20px; border: 0;
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.psch5-pricing .psch5-table thead th.psch5-is-active {
  background: linear-gradient(135deg, var(--psch5-accent), var(--psch5-accent-2));
  color: var(--psch5-navy-deep);
}
.psch5-pricing .psch5-table tbody td {
  padding: 17px 20px; border: 0; border-top: 1px solid var(--psch5-line-2);
  font-size: 15px; color: var(--psch5-text); vertical-align: middle; background: transparent;
}
.psch5-pricing .psch5-table tbody tr { transition: background-color .18s ease; }
.psch5-pricing .psch5-table tbody tr:nth-child(even) { background: rgba(244, 247, 255, .5); }
.psch5-pricing .psch5-table tbody tr:hover { background: var(--psch5-soft); }
.psch5-pricing .psch5-table tbody tr.psch5-row--featured { background: rgba(247, 183, 49, .10); }
.psch5-pricing .psch5-table tbody tr.psch5-row--featured:hover { background: rgba(247, 183, 49, .16); }

.psch5-pricing .psch5-c-name { font-weight: 800; color: var(--psch5-navy); }
.psch5-pricing .psch5-c-name a { border-bottom: 2px solid var(--psch5-accent); }
.psch5-pricing .psch5-c-name a:hover { color: var(--psch5-accent-deep); }
.psch5-pricing .psch5-c-name small {
  display: block; font-weight: 600; color: var(--psch5-muted); font-size: 13px; margin-top: 3px;
}
.psch5-pricing .psch5-c-name .psch5-tag { margin-bottom: 7px; }
.psch5-pricing .psch5-flag {
  display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px;
  background: linear-gradient(135deg, var(--psch5-accent), var(--psch5-accent-2));
  color: var(--psch5-navy-deep); font-size: 10.5px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; vertical-align: middle;
}
.psch5-pricing .psch5-c-price { font-weight: 800; color: var(--psch5-navy); font-size: 17px; white-space: nowrap; }
.psch5-pricing .psch5-c-price small {
  display: block; font-weight: 700; color: var(--psch5-accent-deep); font-size: 12.5px; margin-top: 3px;
}
.psch5-pricing .psch5-c-price.psch5-is-dim { opacity: .45; font-weight: 700; }
.psch5-pricing .psch5-c-text { color: var(--psch5-muted); font-size: 14px; }
.psch5-pricing .psch5-c-empty { color: #B4C0D4; font-weight: 700; }

/* ==========================================================================
   UKŁAD B — KARTY
   ========================================================================== */
.psch5-pricing .psch5-cards {
  display: grid; align-items: stretch;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px;
}
.psch5-pricing .psch5-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--psch5-line);
  border-radius: var(--psch5-r-lg); padding: 24px;
  box-shadow: 0 10px 28px rgba(26, 42, 108, .05);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.psch5-pricing .psch5-card:hover {
  transform: translateY(-3px); border-color: #C7D4EE; box-shadow: 0 20px 44px rgba(26, 42, 108, .11);
}
.psch5-pricing .psch5-card--featured { border-color: var(--psch5-accent); box-shadow: 0 18px 44px rgba(247, 183, 49, .18); }
.psch5-pricing .psch5-card--featured::after {
  content: attr(data-flag); position: absolute; top: -11px; right: 20px; padding: 5px 12px;
  border-radius: 999px; background: linear-gradient(135deg, var(--psch5-accent), var(--psch5-accent-2));
  color: var(--psch5-navy); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(247, 183, 49, .3);
}
.psch5-pricing .psch5-card__top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px;
}
.psch5-pricing .psch5-card__age { font-size: 13px; font-weight: 800; color: var(--psch5-muted); }
.psch5-pricing .psch5-card__sub { margin-top: 7px; font-size: 13.5px; color: var(--psch5-muted); line-height: 1.5; }
/* Karta zawsze pokazuje obie ceny obok siebie - bez przelacznika. */
.psch5-pricing .psch5-prices {
  margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.psch5-pricing .psch5-prices--single { grid-template-columns: 1fr; }
.psch5-pricing .psch5-pricebox {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 13px;
  border-radius: var(--psch5-r-md); background: var(--psch5-soft);
  border: 1px solid var(--psch5-line-2);
}
.psch5-pricing .psch5-pricebox--alt { background: #FFFBF0; border-color: #F6E6C2; }
.psch5-pricing .psch5-pricebox__label {
  font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--psch5-muted); line-height: 1.3;
}
.psch5-pricing .psch5-pricebox__val {
  font-size: 26px; font-weight: 800; color: var(--psch5-navy); letter-spacing: -.035em; line-height: 1.1;
}
.psch5-pricing .psch5-pricebox__val i { font-style: normal; font-size: 14px; color: var(--psch5-muted); }
.psch5-pricing .psch5-pricebox__note {
  font-size: 12.5px; font-weight: 700; color: var(--psch5-accent-deep); line-height: 1.3; min-height: 16px;
}
.psch5-pricing .psch5-pricebox--alt .psch5-pricebox__val { color: var(--psch5-navy-2); }
.psch5-pricing .psch5-card__meta {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--psch5-line-2); display: grid; gap: 9px;
}
.psch5-pricing .psch5-meta {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--psch5-muted); line-height: 1.5;
}
.psch5-pricing .psch5-meta svg { flex: 0 0 17px; margin-top: 2px; color: var(--psch5-navy); opacity: .55; }
.psch5-pricing .psch5-card__cta { margin-top: auto; padding-top: 18px; }
.psch5-pricing .psch5-card__cta a {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px;
  color: var(--psch5-navy); border-bottom: 2px solid var(--psch5-accent); padding-bottom: 2px; transition: gap .2s ease;
}
.psch5-pricing .psch5-card__cta a:hover { gap: 12px; }

/* ==========================================================================
   UKŁAD C — LISTA ROZWIJANA
   ========================================================================== */
.psch5-pricing .psch5-list {
  background: #fff; border: 1px solid var(--psch5-line); border-radius: var(--psch5-r-lg);
  overflow: hidden; box-shadow: 0 10px 28px rgba(26, 42, 108, .05);
}
.psch5-pricing .psch5-lrow { border-top: 1px solid var(--psch5-line-2); }
.psch5-pricing .psch5-lrow:first-child { border-top: 0; }
.psch5-pricing .psch5-lrow > summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  transition: background-color .18s ease;
}
.psch5-pricing .psch5-lrow > summary::-webkit-details-marker { display: none; }
.psch5-pricing .psch5-lrow > summary:hover { background: var(--psch5-soft-2); }
.psch5-pricing .psch5-lrow__l {
  display: grid; grid-template-columns: 158px 1fr; align-items: center; gap: 14px; min-width: 0;
}
.psch5-pricing .psch5-lrow__t { font-weight: 800; color: var(--psch5-navy); font-size: 16px; }
.psch5-pricing .psch5-lrow__t small {
  display: block; font-weight: 600; color: var(--psch5-muted); font-size: 13px; margin-top: 2px;
}
.psch5-pricing .psch5-lrow__r { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.psch5-pricing .psch5-lrow__p { text-align: right; }
.psch5-pricing .psch5-lrow__p b { display: block; font-size: 20px; color: var(--psch5-navy); letter-spacing: -.02em; }
.psch5-pricing .psch5-lrow__p span { font-size: 12.5px; color: var(--psch5-accent-deep); font-weight: 700; }
.psch5-pricing .psch5-caret {
  width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%;
  background: var(--psch5-soft); border: 1px solid var(--psch5-line);
  display: grid; place-items: center; color: var(--psch5-navy); font-size: 13px; transition: transform .25s ease;
}
.psch5-pricing .psch5-lrow[open] .psch5-caret { transform: rotate(180deg); }
.psch5-pricing .psch5-lrow__body { padding: 0 22px 20px; display: grid; gap: 9px; background: var(--psch5-soft-2); }
.psch5-pricing .psch5-lrow__body b { color: var(--psch5-navy); }

/* --- stan pusty ---------------------------------------------------------- */
.psch5-pricing .psch5-empty {
  padding: 44px; text-align: center; color: var(--psch5-muted); background: #fff;
  border: 1px dashed var(--psch5-line); border-radius: var(--psch5-r-lg); font-size: 15px;
}
.psch5-pricing .psch5-hidden { display: none !important; }

/* --- komunikat w panelu administratora ----------------------------------- */
.psch5-pricing .psch5-admin-hint {
  padding: 22px; border: 1px dashed #C7D4EE; border-radius: var(--psch5-r-md);
  background: var(--psch5-soft); color: var(--psch5-muted); font-size: 15px;
}

/* ==========================================================================
   RESPONSYWNOŚĆ
   ========================================================================== */
@media screen and (max-width: 900px) {
  .psch5-pricing .psch5-bar { border-radius: var(--psch5-r-lg); }
}

@media screen and (max-width: 760px) {
  .psch5-pricing.psch5-section { padding: 56px 0; }
  .psch5-pricing .psch5-bar { flex-direction: column; align-items: stretch; }
  .psch5-pricing .psch5-switch { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .psch5-pricing .psch5-switch button { padding: 11px 8px; font-size: 12.5px; white-space: normal; line-height: 1.3; }
  .psch5-pricing .psch5-chip { font-size: 12.5px; padding: 9px 13px; }

  /* tabela -> karty */
  .psch5-pricing .psch5-table thead { display: none; }
  .psch5-pricing .psch5-table,
  .psch5-pricing .psch5-table tbody,
  .psch5-pricing .psch5-table tr,
  .psch5-pricing .psch5-table td { display: block; width: 100%; }
  .psch5-pricing .psch5-table tbody tr { border-top: 1px solid var(--psch5-line); padding: 8px 0; }
  .psch5-pricing .psch5-table tbody td {
    border: 0; padding: 9px 18px; display: flex; flex-wrap: wrap;
    justify-content: space-between; gap: 14px; align-items: baseline;
  }
  .psch5-pricing .psch5-table tbody td::before {
    content: attr(data-label); font-size: 11.5px; font-weight: 800; letter-spacing: .05em;
    text-transform: uppercase; color: var(--psch5-muted); flex: 0 0 40%;
  }
  .psch5-pricing .psch5-c-price { text-align: right; }
  .psch5-pricing .psch5-c-price small { width: 100%; text-align: right; }

  .psch5-pricing .psch5-prices { grid-template-columns: 1fr 1fr; gap: 8px; }
  .psch5-pricing .psch5-pricebox { padding: 11px 11px 10px; }
  .psch5-pricing .psch5-pricebox__val { font-size: 22px; }
  .psch5-pricing .psch5-lrow > summary { flex-direction: column; align-items: flex-start; gap: 12px; }
  .psch5-pricing .psch5-lrow__l { grid-template-columns: 1fr; gap: 8px; }
  .psch5-pricing .psch5-lrow__r { width: 100%; justify-content: space-between; }
  .psch5-pricing .psch5-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .psch5-pricing *,
  .psch5-pricing *::before,
  .psch5-pricing *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   PASEK POBIERANIA PDF
   ========================================================================== */
.psch5-pricing .psch5-pdfbar { display: flex; justify-content: flex-start; }
.psch5-pricing .psch5-pdf { gap: 10px; }
.psch5-pricing .psch5-pdf svg { flex: 0 0 18px; }

/* ==========================================================================
   NAGŁÓWEK I STOPKA WYDRUKU
   Widoczne wyłącznie na wydruku / w PDF.
   ========================================================================== */
.psch5-print-head,
.psch5-print-foot { display: none; }

/* ==========================================================================
   WYDRUK / EKSPORT PDF
   ========================================================================== */
@media print {
  /* Elementy oznaczone przez skrypt jako spoza cennika znikaja calkowicie.
     Wczesniej uzywalismy visibility:hidden, ale to zostawialo puste strony,
     bo ukryte sekcje nadal zajmowaly miejsce w ukladzie. */
  .psch5-print-off { display: none !important; }

  /* Wszystkie kontenery nad modulem - od wrapperow szablonu az po body.
     Ich position, overflow i ograniczenia szerokosci powoduja, ze przegladarka
     ucina tresc przechodzaca przez lamanie strony. Skrypt oznacza je klasa,
     dzieki czemu nie musimy znac nazw klas uzytych przez szablon. */
  .psch5-print-parent {
    position: static !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    max-width: none !important;
    width: auto !important;
    float: none !important;
    transform: none !important;
    contain: none !important;
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Na ekranie sekcje wychodza poza kontener ujemnymi marginesami (pelna szerokosc okna).
     Na wydruku ta sama regula wypycha tresc poza obszar drukowalny i sciela ja po bokach,
     dlatego marginesy zerujemy. Szerokosc strony wyznacza juz regula @page. */
  .psch5-pricing.psch5-fullbleed,
  .psch5-pricing.psch5-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }

  /* Kazde overflow:hidden na elemencie przechodzacym przez lamanie strony
     ucina jego dalsza czesc. Na wydruku musi byc widoczne wszystko. */
  .psch5-pricing,
  .psch5-pricing.psch5-section,
  .psch5-pricing .psch5-container,
  .psch5-pricing .psch5-tablewrap,
  .psch5-pricing-wrap { position: static !important; }

  html, body,
  .psch5-pricing .psch5-view,
  .psch5-pricing-wrap,
  .psch5-pricing.psch5-section,
  .psch5-pricing .psch5-container,
  .psch5-pricing .psch5-tablewrap,
  .psch5-pricing .psch5-list,
  .psch5-pricing .psch5-cards {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  .psch5-pricing-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .psch5-pricing-wrap {
    font-family: var(--psch5-font);
    color: #111;
    font-size: 10.5pt;
  }

  /* Nagłówek dokumentu */
  .psch5-print-head {
    display: block;
    padding: 0 0 12pt;
    margin-bottom: 14pt;
    border-bottom: 2pt solid #1A2A6C;
  }
  .psch5-print-head__title {
    font-size: 20pt; font-weight: 800; color: #1A2A6C; letter-spacing: -.02em;
  }
  .psch5-print-head__sub { margin-top: 4pt; font-size: 9.5pt; color: #444; }
  .psch5-print-head__date { margin-top: 3pt; font-size: 9pt; color: #666; }

  /* Stopka dokumentu */
  .psch5-print-foot {
    display: block;
    margin-top: 16pt; padding-top: 8pt;
    border-top: 1pt solid #BBB;
    font-size: 9pt; color: #444; text-align: center;
  }

  /* Elementy interaktywne nie trafiają na wydruk */
  .psch5-print-hide,
  .psch5-pricing .psch5-bar,
  .psch5-pricing .psch5-pdfbar,
  .psch5-pricing .psch5-sec__actions,
  .psch5-pricing .psch5-empty { display: none !important; }

  /* Sekcje bez teł i bez łamania w poprzek */
  .psch5-pricing.psch5-section,
  .psch5-pricing.psch5-section--soft,
  .psch5-pricing.psch5-section--white {
    padding: 0 0 16pt !important;
    background: none !important;
    break-inside: auto;
  }
  .psch5-pricing .psch5-container { width: 100% !important; }

  .psch5-pricing .psch5-eyebrow {
    background: none !important; border: 0 !important; box-shadow: none !important;
    padding: 0 !important; margin-bottom: 4pt !important;
    font-size: 8.5pt; color: #666;
  }
  .psch5-pricing .psch5-eyebrow::before { display: none; }
  .psch5-pricing .psch5-h2 { font-size: 14pt; margin-bottom: 3pt; }
  .psch5-pricing .psch5-lead { font-size: 9.5pt; margin: 0 0 8pt; max-width: none; color: #444; }
  .psch5-pricing .psch5-note {
    background: none !important; border: 0 !important; border-left: 2pt solid #F7B731 !important;
    border-radius: 0 !important; padding: 4pt 0 4pt 8pt !important;
    margin-top: 8pt; font-size: 9pt; color: #444;
  }

  /* Tabela: obie ceny w pełnym kontraście, nagłówek powtarzany na stronach */
  .psch5-pricing .psch5-tablewrap {
    border: 1pt solid #999 !important; border-radius: 0 !important;
    box-shadow: none !important; overflow: visible !important;
  }
  /* Strona A4 ma w przeliczeniu ok. 700 px szerokosci, wiec bez tych regul
     tabela zlozylaby sie do ukladu mobilnego. Wymuszamy uklad tabelaryczny. */
  .psch5-pricing .psch5-table { display: table !important; width: 100% !important; font-size: 9.5pt; }
  .psch5-pricing .psch5-table thead { display: table-header-group !important; }
  .psch5-pricing .psch5-table tbody { display: table-row-group !important; }
  .psch5-pricing .psch5-table tr { display: table-row !important; }
  .psch5-pricing .psch5-table th,
  .psch5-pricing .psch5-table td {
    display: table-cell !important; width: auto !important;
    justify-content: flex-start !important; flex-wrap: nowrap !important;
  }
  .psch5-pricing .psch5-table tbody td::before { content: none !important; display: none !important; }
  .psch5-pricing .psch5-c-price small { width: auto !important; text-align: left !important; }
  .psch5-pricing .psch5-table thead th {
    background: #E8ECF7 !important; color: #1A2A6C !important;
    padding: 6pt 8pt; font-size: 8pt; border-bottom: 1pt solid #999;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .psch5-pricing .psch5-table thead th.psch5-is-active { background: #E8ECF7 !important; color: #1A2A6C !important; }
  .psch5-pricing .psch5-table tbody tr,
  .psch5-pricing .psch5-table tbody tr:nth-child(even),
  .psch5-pricing .psch5-table tbody tr.psch5-row--featured { background: none !important; }
  .psch5-pricing .psch5-table tbody tr { break-inside: avoid; }
  .psch5-pricing .psch5-table tbody td {
    padding: 5pt 8pt; border-top: 0.5pt solid #CCC; font-size: 9.5pt;
  }
  .psch5-pricing .psch5-c-price,
  .psch5-pricing .psch5-c-price.psch5-is-dim { opacity: 1 !important; font-weight: 800; color: #1A2A6C; }
  .psch5-pricing .psch5-c-price small { color: #7A5400; font-size: 8pt; }
  .psch5-pricing .psch5-c-name a { color: #111 !important; border: 0 !important; }
  .psch5-pricing .psch5-c-name small { color: #555; font-weight: 600; }
  .psch5-pricing .psch5-tag {
    background: none !important; border: 0 !important; padding: 0 !important;
    font-size: 7.5pt; color: #666; display: block; margin-bottom: 1pt;
  }
  .psch5-pricing .psch5-flag { background: none !important; color: #7A5400 !important; box-shadow: none !important; }

  /* Karty: układ dwukolumnowy, bez cieni */
  .psch5-pricing .psch5-cards { grid-template-columns: 1fr 1fr; gap: 8pt; }
  .psch5-pricing .psch5-card {
    break-inside: avoid; box-shadow: none !important;
    border: 0.5pt solid #BBB !important; border-radius: 0 !important; padding: 8pt;
  }
  .psch5-pricing .psch5-pricebox {
    background: none !important; border: 0.5pt solid #DDD !important; padding: 5pt;
  }
  .psch5-pricing .psch5-pricebox__val { font-size: 13pt; }
  .psch5-pricing .psch5-card__cta { display: none; }

  /* Lista: rozwinięta w całości */
  .psch5-pricing .psch5-lrow { break-inside: avoid; }
  .psch5-pricing .psch5-lrow > summary { padding: 5pt 0; }
  .psch5-pricing .psch5-caret { display: none; }
  .psch5-pricing .psch5-lrow__body { display: grid !important; background: none !important; padding: 0 0 6pt; }

  .psch5-pricing a[href]::after { content: ""; }
}

@page {
  size: A4 portrait;
  margin: 14mm 12mm 14mm 12mm;
}
