/* PSzok menu v2.1 – scoped to the main header. Existing page blocks untouched. */
:root {
  --ps-mm-ink: #21272a;
  --ps-mm-muted: #53605b;
  --ps-mm-green: #dfeBDD;
  --ps-mm-warm: #f6ede6;
  --ps-mm-accent: #e8bf91;
  --ps-mm-line: #e6e4e0;
}
/* Navigation: a menu-trigger button must look exactly like an ordinary nav link. */
.header-top .ps-menu-toggle {
  background: transparent; border: 0; border-radius: 0; color: var(--ps-mm-ink);
  width: auto; min-height: 0; height: auto; padding: 0.5rem 0.55rem;
  line-height: 1.5; font-size: 15px; font-weight: 400;
  display: inline-flex; align-items: center; justify-content: flex-start;
  gap: 8px; cursor: pointer; text-align: left;
}
.header-top .ps-menu-toggle:hover,
.header-top .ps-menu-root.show > .ps-menu-toggle { color: var(--ps-mm-ink); background: transparent; }
.header-top .ps-menu-root.show > .ps-menu-toggle { font-weight: 700; }
.header-top .ps-menu-root.show > .ps-menu-toggle::before {
  content: ""; position: absolute; height: 2px; width: calc(100% - 20px);
  bottom: -5px; left: 7.5px; background: var(--ps-mm-accent);
}
.header-top .ps-menu-toggle::after { display: none !important; }
.ps-menu-chevron { width: 9px; height: 9px; display: inline-block; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.ps-menu-root.show .ps-menu-chevron { transform: translateY(2px) rotate(225deg); }
.header-top .ps-menu-toggle:focus-visible,
.header-top .ps-mega-row:focus-visible { outline: 2px solid #9c7d5a; outline-offset: 3px; }
/* Each dropdown owns its columns – there are no global repeated #mega-* IDs. */
.header-top .ps-menu-root > .ps-mega-menu { display: none; }
.header-top .ps-menu-root.show > .ps-mega-menu {
  display: block; position: fixed; inset: 93px 0 auto; width: 100%;
  padding: 24px 18px 30px; margin: 0; border: 0;
  border-top: 1px solid #ebe9e6; border-radius: 0;
  background: #fff; box-shadow: 0 12px 28px rgb(22 29 25 / 10%);
  z-index: 1051; max-height: calc(100vh - 93px); overflow-y: auto;
}
.header-top .ps-mega-layout { display: flex; gap: 0; min-height: 235px; max-width: 1160px; padding: 0; position: relative; }
.header-top .ps-mega-primary {
  width: 30%; flex: 0 0 30%; border-right: 1px solid #dddcd8;
  padding: 2px 20px 2px 0; position: relative;
}
.header-top .ps-mega-row {
  border: 0; width: 100%; min-height: 50px;
  background: transparent; padding: 8px 10px 8px 6px;
  display: flex; align-items: center; gap: 13px;
  color: var(--ps-mm-ink); font-size: 16px; font-weight: 400;
  text-decoration: none; text-align: left; border-radius: 10px;
  cursor: pointer; line-height: 1.35;
}
.header-top .ps-mega-row:hover,
.header-top .ps-mega-row.is-selected,
.header-top .ps-mega-row.is-current { background: var(--ps-mm-warm); color: #151515; }
.header-top .ps-mega-row-label { flex: 1 1 auto; min-width: 0; }
.header-top .ps-mega-row.is-selected .ps-mega-row-label { font-weight: 650; }
.header-top .ps-mega-icon { width: 36px; height: 36px; object-fit: contain; flex: 0 0 36px; border-radius: 8px; }
.header-top .ps-mega-icon--fallback { display: inline-flex; align-items: center; justify-content: center;
  font-size: 25px; background: var(--ps-mm-green); color: #385342; }
.header-top .ps-mega-group-chevron { color: #6f726b; font-size: 23px; font-weight: 400; }
.header-top .ps-mega-detail { flex: 1 1 70%; width: 70%; display: flex; align-items: flex-start;
  justify-content: space-between; gap: 28px; padding: 6px 0 0 34px; min-width: 0; }
.header-top .ps-mega-copy { flex: 1 1 auto; min-width: 0; padding-top: 8px; }
.header-top .ps-mega-eyebrow { font-size: 11px; letter-spacing: .09em;
  text-transform: uppercase; color: #9c7d5a; font-weight: 700; }
.header-top .ps-mega-title { margin: 8px 0 9px; font-size: 19px; line-height: 1.28; font-weight: 650; color: #13100b; }
.header-top .ps-mega-desc { margin: 0 0 14px; font-size: 14px; line-height: 1.58; color: var(--ps-mm-muted); max-width: 360px; }
.header-top .ps-mega-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px;
  line-height: 1.25; font-weight: 650; color: #13100b; text-decoration: none; }
.header-top .ps-mega-link:hover,
.header-top .ps-mega-link:focus-visible { color: #9c7d5a; }
.header-top .ps-mega-link[hidden] { display: none !important; }
.header-top .ps-mega-link-arrow { display: inline-block; font-size: 17px; line-height: 1; transform: translateY(-1px); }
.header-top .ps-mega-visual { position: relative; flex: 0 0 47%; min-width: 0; border-radius: 22px;
  aspect-ratio: 1.72; overflow: hidden; align-self: flex-start; margin-top: 4px; }
.header-top .ps-mega-visual[hidden] { display: none !important; }
.header-top .ps-mega-image { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.header-top .ps-mega-overlay { display: flex; align-items: flex-end; position: absolute;
  inset: 0; padding: 24px 24px 22px; color: #fff; font-size: 18px; line-height: 1.35; font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.header-top .ps-mega-overlay:empty { display: none; }
/* The characteristic notch: the same white as the menu panel, at the lower right. */
.header-top .ps-mega-visual:after { content: ""; position: absolute; bottom: -1px; right: 12%;
  width: 42px; height: 20px; z-index: 2; background-size: contain; background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 80'%3E%3Cpath fill='%23ffffff' d='M0 80 C40 80 44 14 80 14 C116 14 120 80 160 80Z'/%3E%3C/svg%3E"); }
/* Auto layout when WordPress has at least one third-level submenu. */
.header-top .ps-menu--three .ps-mega-primary { width: 28%; flex-basis: 28%; }
.header-top .ps-menu--three .ps-mega-detail { margin-left: 30%; width: 42%; flex: 1 1 42%; padding-left: 22px; padding-top: 4px; }
.header-top .ps-menu--three .ps-mega-visual { flex-basis: 50%; }
.header-top .ps-mega-secondary { display: none; }
.header-top .ps-menu--three .ps-mega-group.is-selected > .ps-mega-secondary {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: 0; left: 100%; width: 107%;
  height: 100%; overflow-y: auto; padding: 4px 16px 4px 19px;
  border-right: 1px solid #e4e4df; z-index: 2;
}
.header-top .ps-mega-leaf--nested { min-height: 45px; padding: 10px 12px; font-size: 15px; }
.header-top .ps-mega-leaf--nested .ps-mega-row-label { font-weight: 450; }
.header-top .ps-mega-leaf--nested.is-selected .ps-mega-row-label { font-weight: 650; }
@media (max-width: 1199px) and (min-width: 992px) {
  .header-top .ps-mega-detail { padding-left: 20px; gap: 14px; }
  .header-top .ps-menu--three .ps-mega-detail { padding-left: 14px; }
  .header-top .ps-mega-desc { font-size: 13px; }
  .header-top .ps-mega-title { font-size: 17px; }
  .header-top .ps-mega-overlay { font-size: 15px; }
}
@media (max-width: 991px) {
  .header-top #navbarSupportedContent { max-height: calc(100dvh - 65px); overflow-y: auto; }
  .header-top .ps-menu-toggle { width: 100%; min-height: 46px; justify-content: space-between;
    padding: 10px 3px; }
  .header-top .ps-menu-root.show > .ps-menu-toggle::before { display:none; }
  .header-top .ps-menu-root > .ps-mega-menu { display: none; }
  .header-top .ps-menu-root.show > .ps-mega-menu { position: static; inset: auto; width: 100%;
    padding: 6px 0 14px; border: 0; box-shadow: none; background: #fff;
    max-height: none; overflow: visible; }
  .header-top .ps-mega-layout { min-height: 0; width: 100%; display: block; }
  .header-top .ps-mega-primary, .header-top .ps-menu--three .ps-mega-primary {
    width: 100%; flex-basis: auto; border: 0; padding: 0; }
  .header-top .ps-mega-row { min-height: 47px; font-size: 14px; padding: 8px 10px; gap: 10px; }
  .header-top .ps-mega-icon { width: 28px; height: 28px; flex-basis: 28px; }
  .header-top .ps-mega-detail, .header-top .ps-menu--three .ps-mega-detail { display: none; }
  .header-top .ps-menu--three .ps-mega-group.is-selected > .ps-mega-secondary {
    display: flex; position: static; top: auto; left: auto; width: auto;
    max-height: none; overflow: visible; border-right: 0; height: auto;
    margin: 3px 0 9px 22px; padding: 5px 0 3px 13px;
    border-left: 2px solid var(--ps-mm-green); gap: 2px; }
  .header-top .ps-mega-leaf--nested { min-height: 41px; font-size: 13px; }
  .header-top .ps-mega-group-chevron { transform: rotate(90deg); transition: transform .2s; }
  .header-top .ps-mega-group.is-selected .ps-mega-group-chevron { transform: rotate(-90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .header-top .ps-menu-chevron, .header-top .ps-mega-group-chevron { transition: none; }
}

/* Optional events dropdown. Activates only when 2+ items are assigned to
   WP menu location 'Nadchodzące wydarzenia (przycisk)'. */
.header-top .ps-event-menu { position: relative; flex: 0 0 auto; }
.header-top .ps-event-toggle { display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; cursor: pointer; border-radius: 12px; font-size: 13px; padding: 0 18px;
  min-width: 260px; font-weight: 650; }
.header-top .ps-event-chevron { display: inline-block; width: 9px; height: 9px;
  border-right: 2px solid #152c20; border-bottom: 2px solid #152c20;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.header-top .ps-event-toggle[aria-expanded="true"] .ps-event-chevron { transform: translateY(2px) rotate(225deg); }
.header-top .ps-event-list { position: absolute; top: calc(100% + 10px); right: 0;
  width: min(360px, 92vw); background: #fff; border: 1px solid var(--ps-mm-line);
  border-radius: 16px; box-shadow: 0 14px 32px rgb(0 0 0 / 12%);
  padding: 10px; z-index: 1052; }
.header-top .ps-event-list[hidden] { display: none !important; }
.header-top .ps-event-list a { display: block; padding: 13px 15px; border-radius: 9px;
  text-decoration: none; font-size: 14px; color: var(--ps-mm-ink); line-height: 1.4; }
.header-top .ps-event-list a:hover, .header-top .ps-event-list a:focus-visible {
  background: var(--ps-mm-warm); color: #171717; }
@media (max-width: 991px) {
  .header-top .ps-event-menu { width: 100%; }
  .header-top .ps-event-toggle { min-width: 0; width: 100%; }
  .header-top .ps-event-list { position: static; width: 100%; margin: 8px 0 12px;
    border-radius: 12px; box-shadow: none; background: #f6ede6; }
}


/* PSZOK_MENU_FIX_V24_20261017
 * Poprawka: osobne stany aktywnej strony i podglądu, proporcje oryginalnego
 * megamenu oraz oryginalny kształt wcięcia. Nie dotyka innych sekcji strony.
 */
.header-top .ps-mega-row:hover,
.header-top .ps-mega-row.is-selected,
.header-top .ps-mega-row.is-current {
  /* Reset z v2.2/v2.3 zostaje nadpisany regułami o bardziej określonym stanie poniżej. */
  transition: background-color .16s ease, box-shadow .16s ease;
}
/* Otwarty podgląd / ostatnio wskazany element: beż. */
.header-top .ps-mega-row.is-selected,
.header-top .ps-mega-row.is-selected:hover {
  background-color: #F6EDE6;
  color: #171717;
  box-shadow: none;
}
.header-top .ps-mega-row.is-selected .ps-mega-row-label { font-weight: 650; }
/* Aktualna podstrona WP: oliwkowo-zielony znacznik, odrębny od beżu. */
.header-top .ps-mega-row.is-current,
.header-top .ps-mega-row.is-current:hover:not(.is-selected) {
  background-color: #EAF2E8;
  box-shadow: inset 3px 0 0 #62836A;
  color: #263E30;
}
.header-top .ps-mega-row.is-current .ps-mega-row-label { font-weight: 650; }
/* Gdy aktualna podstrona jest też podglądem, oba stany nadal są rozpoznawalne. */
.header-top .ps-mega-row.is-current.is-selected,
.header-top .ps-mega-row.is-current.is-selected:hover {
  background-color: #F6EDE6;
  box-shadow: inset 3px 0 0 #62836A;
  color: #171717;
}
/* Sam hover, zanim skrypt przypisze .is-selected. */
.header-top .ps-mega-row:hover:not(.is-current):not(.is-selected) {
  background-color: #FBF6F1;
  color: #171717;
  box-shadow: none;
}
/* Aktywność grupy (3 poziomy). */
.header-top .ps-mega-group.is-current > .ps-mega-group-toggle:not(.is-selected) {
  box-shadow: inset 3px 0 0 #62836A;
}
/* Gwarantujemy link pod opisem również gdy inne style motywu stylują .mega-menu a. */
.header-top .ps-mega-detail .ps-mega-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  color: #161310;
  text-decoration: none;
  border-bottom: 1px solid #A38261;
  padding-bottom: 3px;
}
.header-top .ps-mega-detail .ps-mega-link:hover {
  color: #9A724F;
  border-color: #9A724F;
}
.header-top .ps-mega-detail .ps-mega-link[hidden] { display: none !important; }
/* Odwzorowanie geometrii z pierwotnego motywu PSzok. */
@media (min-width: 992px) {
  .header-top .ps-menu-root.show > .ps-mega-menu {
    padding-top: 30px;
    padding-bottom: 35px;
  }
  .header-top .ps-mega-layout {
    max-width: 1160px;
    min-height: 225px;
  }
  .header-top .ps-menu--two .ps-mega-primary {
    width: 26%;
    flex: 0 0 26%;
  }
  .header-top .ps-menu--two .ps-mega-detail {
    width: 74%;
    flex: 1 1 74%;
    padding: 0 0 0 30px;
    gap: 24px;
    align-items: flex-start;
  }
  .header-top .ps-menu--two .ps-mega-copy {
    padding-top: 16px;
    min-width: 0;
  }
  .header-top .ps-menu--two .ps-mega-visual {
    flex: 0 0 56%;
  }
  .header-top .ps-mega-visual {
    height: 215px;
    aspect-ratio: auto;
    margin-top: 0;
    align-self: flex-start;
    border-radius: 22px;
  }
  .header-top .ps-mega-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  .header-top .ps-menu--three .ps-mega-detail {
    align-items: flex-start;
    padding-top: 0;
  }
  .header-top .ps-menu--three .ps-mega-copy { padding-top: 16px; }
  .header-top .ps-menu--three .ps-mega-visual { flex-basis: 54%; }
  .header-top .ps-mega-title { margin-top: 8px; margin-bottom: 8px; }
  .header-top .ps-mega-desc { margin-bottom: 14px; }
  .header-top .ps-mega-visual::after {
    content: "";
    display: block;
    position: absolute;
    right: 60px;
    bottom: 0;
    width: 75px;
    height: 35px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20160%2080%27%3E%3Cpath%20fill%3D%27%23ffffff%27%20d%3D%27M.4%2C80h-.4%2C0c.1%2C0%2C.3%2C0%2C.4%2C0ZM80%2C0c0%2C.1%2C0%2C.3%2C0%2C.4%2C0%2C44%2C35.6%2C79.6%2C79.6%2C79.6H.4c44%2C0%2C79.6-35.6%2C79.6-79.6%2C0-.1%2C0-.3%2C0-.4h0s0%2C0%2C0%2C0ZM160%2C80h-.4c.1%2C0%2C.3%2C0%2C.4%2C0h0Z%27%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
  }
}
@media (max-width: 991px) {
  /* Nie zmieniamy zachowania akordeonu w wersji mobilnej. */
  .header-top .ps-mega-row.is-current { box-shadow: inset 3px 0 0 #62836A; }
}

/* PSZOK_MENU_FIX_V25_20261017
 * Minimalna korekta zgodna z zatwierdzoną makietą.
 * 1. Aktywna strona: mała zielona kropka, bez zielonego pola i pionowego paska.
 * 2. Otwarty podgląd: cienkie podkreślenie nazwy.
 * 3. Hover: subtelne beżowe tło, tylko gdy wskaźnik jest nad elementem.
 * 4. CTA: mała jasna oliwkowa pastylka bez systemowej strzałki.
 * Bez zmian w PHP, JavaScript, responsywności i układzie kolumn.
 */
.header-top .ps-mega-primary .ps-mega-row.is-current,
.header-top .ps-mega-primary .ps-mega-row.is-current:hover,
.header-top .ps-mega-primary .ps-mega-group.is-current > .ps-mega-group-toggle {
  background-color: transparent;
  box-shadow: none;
  color: #252a26;
}
.header-top .ps-mega-primary .ps-mega-row.is-current .ps-mega-row-label {
  font-weight: 550;
}
.header-top .ps-mega-primary .ps-mega-row.is-current .ps-mega-row-label::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-radius: 50%;
  background: #91ab95;
  vertical-align: middle;
}
/* Stan podglądu to tylko wyraźniejsza nazwa i jej podkreślenie. */
.header-top .ps-mega-primary .ps-mega-row.is-selected,
.header-top .ps-mega-primary .ps-mega-row.is-current.is-selected {
  background-color: transparent;
  box-shadow: none;
  color: #161a17;
}
.header-top .ps-mega-primary .ps-mega-row.is-selected .ps-mega-row-label {
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: #a98b6b;
  text-underline-offset: 5px;
}
/* Hover podświetla tylko element pod kursorem i nie udaje aktualnej strony. */
.header-top .ps-mega-primary .ps-mega-row:hover,
.header-top .ps-mega-primary .ps-mega-row.is-current:hover,
.header-top .ps-mega-primary .ps-mega-row.is-selected:hover,
.header-top .ps-mega-primary .ps-mega-row.is-current.is-selected:hover {
  background-color: #faf5f0;
  box-shadow: none;
}
/* CTA odwzorowuje małą oliwkową pastylkę z zaakceptowanej makiety. */
.header-top .ps-mega-detail .ps-mega-link {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 0;
  padding: 6px 11px;
  margin: 0;
  gap: 0;
  background: #edf4ed;
  border: 0;
  border-bottom: 0;
  border-radius: 999px;
  box-shadow: none;
  color: #3a5b45;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.header-top .ps-mega-detail .ps-mega-link:hover,
.header-top .ps-mega-detail .ps-mega-link:focus-visible {
  background: #dfeBDD;
  border: 0;
  color: #274733;
  text-decoration: none;
}
.header-top .ps-mega-detail .ps-mega-link-arrow { display: none; }
/* Dalsze pozycje trzeciego poziomu otrzymują identyczne style. */

/* PSZOK_MENU_FIX_V26_20261017
 * Mieszane menu: Mentoring (3 poziomy) obok E-booków (2 poziomy).
 * Podkategorie znikają, a podgląd rozszerza się na 2 kolumny,
 * kiedy wskazana jest bezpośrednia pozycja w pierwszej kolumnie.
 * Nie zmienia zachowania menu mobilnego.
 */
@media (min-width: 992px) {
  .header-top .ps-menu--three.ps-menu--flat-active .ps-mega-primary {
    width: 26%;
    flex: 0 0 26%;
  }
  .header-top .ps-menu--three.ps-menu--flat-active .ps-mega-secondary {
    display: none !important;
  }
  .header-top .ps-menu--three.ps-menu--flat-active .ps-mega-detail {
    margin-left: 0;
    width: 74%;
    flex: 1 1 74%;
    padding: 0 0 0 30px;
    align-items: flex-start;
    gap: 24px;
  }
  .header-top .ps-menu--three.ps-menu--flat-active .ps-mega-copy {
    padding-top: 16px;
  }
  .header-top .ps-menu--three.ps-menu--flat-active .ps-mega-visual {
    flex: 0 0 56%;
  }
}


/* PSZOK_MENU_FIX_V27_20261017
 * Finalna korekta estetyczna CTA. Pozostale elementy v2.6 bez zmian.
 * - link w kolorze grafitowym, bez tla i podkreslenia
 * - lżejszy tekst 13 px / 500
 * - 22 px odstepu od opisu
 * - cienka strzalka SVG 14 x 14 px, przesuwa sie o 3 px przy hover
 * - aktywna pozycja nadal ma podkreslenie 1 px (z v2.5)
 */
.header-top .ps-mega-detail .ps-mega-desc {
  margin-bottom: 22px;
}
.header-top .ps-mega-detail .ps-mega-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 7px;
  margin: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  color: #21272a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: none;
}
.header-top .ps-mega-detail .ps-mega-link:hover,
.header-top .ps-mega-detail .ps-mega-link:focus-visible {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #21272a;
  text-decoration: none;
}
.header-top .ps-mega-detail .ps-mega-link:focus-visible {
  outline: 2px solid #a98b6b;
  outline-offset: 4px;
}
.header-top .ps-mega-detail .ps-mega-link .ps-mega-link-arrow {
  display: inline-block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2321272a%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012h15m-6-6%206%206-6%206%22%2F%3E%3C%2Fsvg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  transform: translateX(0);
  transition: transform 180ms ease;
}
.header-top .ps-mega-detail .ps-mega-link:hover .ps-mega-link-arrow,
.header-top .ps-mega-detail .ps-mega-link:focus-visible .ps-mega-link-arrow {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .header-top .ps-mega-detail .ps-mega-link .ps-mega-link-arrow {
    transition: none;
  }
  .header-top .ps-mega-detail .ps-mega-link:hover .ps-mega-link-arrow,
  .header-top .ps-mega-detail .ps-mega-link:focus-visible .ps-mega-link-arrow {
    transform: none;
  }
}


/* PSZOK_MENU_FIX_V28_20261017
 * Jeden system zaznaczeń w menu 2- i 3-poziomowym (desktop):
 * - hover: beżowe tło, bez zmiany koloru/grubości czcionki,
 * - podgląd: beżowe tło + podkreślenie nazwy 1 px,
 * - rodzic otwartego trzeciego poziomu: beżowe tło bez podkreślenia,
 * - brak zielonej kropki przy current-menu-item.
 * Menu mobilne, CTA, grafiki, rozmiary, wcięcia pozostają bez zmian.
 */
@media (min-width: 992px) {
  /* Wyzerowanie historycznych reguł dla is-current i is-selected. */
  .header-top .ps-mega-menu .ps-mega-row,
  .header-top .ps-mega-menu .ps-mega-row.is-selected,
  .header-top .ps-mega-menu .ps-mega-row.is-current,
  .header-top .ps-mega-menu .ps-mega-row.is-current.is-selected,
  .header-top .ps-mega-menu .ps-mega-group.is-selected > .ps-mega-group-toggle {
    background-color: transparent;
    box-shadow: none;
    color: var(--ps-mm-ink);
  }
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row .ps-mega-row-label,
  .header-top .ps-mega-menu .ps-mega-leaf--nested .ps-mega-row-label {
    font-weight: 400;
    text-decoration: none;
  }
  .header-top .ps-mega-menu .ps-mega-row.is-current .ps-mega-row-label::after {
    content: none;
    display: none;
  }

  /* Beż to stan najechania lub otwartej grupy. */
  .header-top .ps-mega-menu .ps-mega-row:hover,
  .header-top .ps-mega-menu .ps-mega-row.is-current:hover,
  .header-top .ps-mega-menu .ps-mega-row.is-selected:hover,
  .header-top .ps-mega-menu .ps-mega-group.is-selected > .ps-mega-group-toggle,
  .header-top .ps-mega-menu .ps-mega-group.is-selected > .ps-mega-group-toggle:hover,
  .header-top .ps-mega-menu .ps-mega-row.is-preview,
  .header-top .ps-mega-menu .ps-mega-row.is-preview:hover {
    background-color: #faf5f0;
    box-shadow: none;
    color: var(--ps-mm-ink);
  }

  /* Podkreślenie dotyczy wyłącznie treści wyświetlanej po prawej. */
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row.is-preview .ps-mega-row-label,
  .header-top .ps-mega-menu .ps-mega-row.ps-mega-leaf--nested.is-preview .ps-mega-row-label {
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: #a98b6b;
    text-underline-offset: 5px;
  }
}


/* PSZOK_MENU_FIX_V29_20261017
 * Wyłącznie podkreślenie aktualnie podglądanej pozycji.
 * Bez beżowego tła na hover/selected/current oraz bez zmiany grubości fontu.
 * Tylko na desktopie: nie zmieniamy mobilnego akordeonu i mechaniki JS.
 */
@media (min-width: 992px) {
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row,
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row:hover,
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row.is-selected,
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row.is-current,
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row.is-current.is-selected,
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row.is-preview,
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row.is-preview:hover,
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-group.is-selected > .ps-mega-group-toggle,
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-group.is-selected > .ps-mega-group-toggle:hover {
    background-color: transparent;
    box-shadow: none;
    color: var(--ps-mm-ink);
  }

  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row .ps-mega-row-label {
    font-weight: 400;
    text-decoration: none;
  }
  .header-top .ps-mega-menu .ps-mega-primary .ps-mega-row.is-preview .ps-mega-row-label {
    font-weight: 400;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: #a98b6b;
    text-underline-offset: 5px;
  }
}
