/**
 * Prawo Księgowość 360 — główny arkusz (bez Tailwind, bez buildu).
 *
 * @package Prawo_Ksiegowosc_360
 */

/* ── Zmienne ─────────────────────────────── */
:root {
  --gold: #b5872a;
  --gold-light: #d4a843;
  --gold-bg: rgba(181, 135, 42, 0.07);
  --gold-border: rgba(181, 135, 42, 0.22);
  --black: #0d0d0d;
  --bg: #f5f4f0;
  --surface: #ffffff;
  --border: #e4e2dc;
  --border-dark: #c8c5bc;
  --text-1: #0d0d0d;
  --text-2: #5a5855;
  --text-3: #9c9a94;
  --green: #2a7a50;
  --green-bg: #edf7f2;
  --green-border: #b8e0c8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.pk360-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-1);
  font-size: 15px;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Główna treść — rozciąga layout pionowy */
.site-main.pk360-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  outline: none;
}

[x-cloak] {
  display: none !important;
}

/* Skip link */
.pk360-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--black);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(13, 13, 13, 0.12);
}

.pk360-skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.pk360-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Nagłówek / nawigacja (przyciski: lekko zaokrąglone, nie full-pill) ─ */
:root {
  --pk360-header-radius: 8px;
  /* Sticky pod nagłówkiem: min-height .pk360-header-inner + szczelina; + pasek WP przy admin-bar */
  --pk360-header-inner-min-h: 64px;
  --pk360-header-sticky-gap: 12px;
  --pk360-wp-admin-bar-h: 0px;
  --pk360-sticky-under-site-header: calc(
    var(--pk360-wp-admin-bar-h) + var(--pk360-header-inner-min-h) + var(--pk360-header-sticky-gap)
  );
}

.pk360-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #f5f5f5;
  transition: box-shadow 0.2s ease;
}

.pk360-header--scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.pk360-header-inner {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 14px clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  column-gap: clamp(16px, 2.5vw, 40px);
  row-gap: 10px;
  min-height: 64px;
  transition: min-height 0.22s ease, column-gap 0.22s ease, padding 0.22s ease;
}

@media (min-width: 1024px) {
  .pk360-header-inner {
    min-height: 96px;
  }
}

/* Zmniejszanie nagłówka po scrollu */
.pk360-header--scrolled .pk360-header-inner {
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
  column-gap: clamp(12px, 2vw, 28px);
}
@media (min-width: 1024px) {
  .pk360-header--scrolled .pk360-header-inner {
    min-height: 72px;
  }
}

@media (min-width: 1024px) {
  :root {
    --pk360-header-inner-min-h: 96px;
  }
}

body.admin-bar {
  --pk360-wp-admin-bar-h: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --pk360-wp-admin-bar-h: 46px;
  }
}

.pk360-header-end {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  gap: 20px;
  margin-left: auto;
  min-width: 0;
}

@media (max-width: 768px) {
  /* Mobile: brak animacji przy scrollu (klasa --scrolled nie jest ustawiana z JS poniżej 1024px) */
  .pk360-header,
  .pk360-header-inner,
  .pk360-logo,
  .pk360-header-search,
  .pk360-header-search-input-wrap,
  .pk360-header-search-input {
    transition: none !important;
  }

  .pk360-header--scrolled {
    box-shadow: none;
  }

  .pk360-header-inner,
  .pk360-header--scrolled .pk360-header-inner {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 16px;
    padding-right: 16px;
    min-height: 56px;
    column-gap: clamp(16px, 2.5vw, 40px);
  }

  .pk360-header--scrolled .pk360-logo {
    font-size: 1.125rem;
  }

  .pk360-header--scrolled .pk360-header-search {
    max-width: none;
  }

  .pk360-header--scrolled .pk360-header-search-input-wrap {
    min-height: 40px;
    padding: 0.45rem 1rem;
  }

  .pk360-header--scrolled .pk360-header-search-input {
    font-size: 13px;
  }

  .pk360-header-end {
    gap: 8px;
  }

  .pk360-header-end .pk360-header-auth,
  .pk360-header-auth {
    display: none !important;
  }
}

/* Tablet / wąski ekran: ten sam brak kurczenia nagłówka co na mobile (769px–1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
  .pk360-header,
  .pk360-header-inner,
  .pk360-logo {
    transition: none !important;
  }

  .pk360-header--scrolled {
    box-shadow: none;
  }

  .pk360-header-inner,
  .pk360-header--scrolled .pk360-header-inner {
    min-height: 64px;
    padding-top: 14px;
    padding-bottom: 14px;
    column-gap: clamp(16px, 2.5vw, 40px);
  }

  .pk360-header--scrolled .pk360-logo {
    font-size: 1.125rem;
  }
}

/* Laptopy w wąskim zakresie (1280-1549px): menu + szukajka + przyciski nie mieściły się
   w jednym rzędzie - szukajka spłaszczała się prawie do zera i nachodziła na "Strona główna".
   Ściągamy czcionkę/odstępy w menu i przyciskach, żeby wszystko zmieściło się bez nachodzenia. */
@media (min-width: 1280px) and (max-width: 1549px) {
  .pk360-header-inner {
    column-gap: clamp(10px, 1.4vw, 20px);
  }

  .pk360-header-end {
    gap: 10px;
  }

  .pk360-header-auth {
    gap: 6px;
  }

  .pk360-btn-account--topbar {
    padding: 0.65rem 1.1rem !important;
    font-size: 10px;
  }

  .pk360-btn-login--topbar {
    padding: 0.4rem 0.4rem;
    font-size: 0.65rem;
  }
}

/* Koszyk (WooCommerce) */
.pk360-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 9999px;
  color: #0d0d0d;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

a.pk360-header-cart:hover,
a.pk360-header-cart:focus-visible {
  background: #fafafa;
  color: #0d0d0d;
}

a.pk360-header-cart:focus-visible {
  outline: 2px solid #d4a843;
  outline-offset: 2px;
}

.pk360-header-cart__ico {
  font-size: 24px;
  line-height: 1;
  font-family: "Material Symbols Outlined", sans-serif;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.pk360-header-cart__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 9999px;
  background: #d4a843;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
  border: 2px solid #fff;
  box-sizing: content-box;
  pointer-events: none;
}

.pk360-mobile-menu-cart {
  margin: 8px 0 0;
  padding: 0 0 8px;
  border-bottom: 0.5px solid #e4e2dc;
}

a.pk360-header-cart--menu {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 48px;
  padding: 10px 12px;
  box-sizing: border-box;
  border-radius: 9px;
  justify-content: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #404040;
  border: 0.5px solid #e8e6e0;
  background: #f9f9f8;
}

.pk360-header-cart__badge--menu {
  position: static;
  min-width: 20px;
  line-height: 1;
  font-size: 12px;
  height: 22px;
  line-height: 22px;
  padding: 0 6px;
  pointer-events: none;
}

.pk360-logo {
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: #0d0d0d;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.4em;
  text-transform: uppercase;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 900;
  transition: font-size 0.22s ease, transform 0.22s ease;
}

.pk360-header--scrolled .pk360-logo {
  font-size: 0.98rem;
}

.pk360-logo:hover {
  color: #0d0d0d;
}

.pk360-logo__prawo {
  font-weight: 900;
  color: #0d0d0d;
}

.pk360-logo__gold {
  font-weight: 900;
  color: #d4a843;
  margin: 0;
  letter-spacing: -0.02em;
}

.pk360-header-nav-center {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 1280px) {
  .pk360-header-nav-center {
    display: flex;
  }
}

ul.pk360-nav,
.pk360-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: center;
}

.pk360-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.pk360-nav > li > a,
.pk360-nav ul li a {
  font-size: 14px;
  font-weight: 500;
  color: #757575;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: var(--pk360-header-radius);
  display: inline-block;
  line-height: 1.2;
}

.pk360-nav > li:not(.current-menu-item) > a:hover,
.pk360-nav ul li:not(.current-menu-item) a:hover {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.06);
}

.pk360-nav > li:not(.current-menu-item) > a:focus-visible,
.pk360-nav ul li:not(.current-menu-item) a:focus-visible {
  outline: 2px solid #b8954b;
  outline-offset: 2px;
}

.pk360-nav > li.current-menu-item > a,
.pk360-nav ul li.current-menu-item > a {
  background: #000000;
  color: #ffffff;
  font-weight: 600;
}

.pk360-nav > li.current-menu-item > a:hover,
.pk360-nav ul li.current-menu-item > a:hover {
  background: #333333;
  color: #ffffff;
}

.pk360-nav > li.current-menu-item > a:focus-visible,
.pk360-nav ul li.current-menu-item > a:focus-visible {
  outline: 2px solid #b8954b;
  outline-offset: 2px;
}

/* TopAppBar: menu poziome — złote aktywne, podkreślenie */
ul.pk360-nav--topbar,
.pk360-nav--topbar {
  flex-wrap: nowrap;
  gap: 0 2.5rem;
  justify-content: center;
  align-items: center;
}

.pk360-nav--topbar > li > a,
.pk360-nav--topbar ul li a {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 0 2px 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #525252;
  position: relative;
}

.pk360-nav--topbar > li:not(.current-menu-item) > a:hover,
.pk360-nav--topbar ul li:not(.current-menu-item) a:hover {
  color: #0d0d0d;
  background: transparent !important;
}

.pk360-nav--topbar > li.current-menu-item > a,
.pk360-nav--topbar ul li.current-menu-item > a {
  color: #d4a843 !important;
  background: transparent !important;
  font-weight: 800;
  box-shadow: none;
}

.pk360-nav--topbar > li.current-menu-item > a:hover,
.pk360-nav--topbar ul li.current-menu-item > a:hover {
  color: #d4a843 !important;
  background: transparent !important;
}

.pk360-nav--topbar > li.current-menu-item > a::after,
.pk360-nav--topbar ul li.current-menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #d4a843;
  border-radius: 0;
}

/* Laptopy w wąskim zakresie (1280-1549px): przy pełnym odstępie 2.5rem menu nie mieściło
   się w jednym rzędzie - szukajka spłaszczała się prawie do zera i nachodziła na "Strona
   główna". Musi być PO bazowej regule .pk360-nav--topbar wyżej, żeby ją realnie nadpisać. */
@media (min-width: 1280px) and (max-width: 1549px) {
  ul.pk360-nav--topbar,
  .pk360-nav--topbar {
    gap: 0 1rem;
  }

  .pk360-nav--topbar > li > a,
  .pk360-nav--topbar ul li a {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
  }
}

.pk360-header-auth {
  display: none;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}

.pk360-header-end .pk360-user-avatar {
  display: none;
}

@media (min-width: 769px) {
  .pk360-header-auth {
    display: flex;
  }
}

.pk360-btn-account {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  border-radius: var(--pk360-header-radius);
  font-size: 13px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.pk360-btn-account:hover {
  background: #333333;
  color: #ffffff;
}

.pk360-btn-account:focus-visible {
  outline: 2px solid #b8954b;
  outline-offset: 2px;
}

.pk360-btn-account--topbar {
  border-radius: 0.75rem;
  padding: 0.7rem 1.65rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

@media (min-width: 1280px) {
  .pk360-btn-account--topbar {
    padding: 0.75rem 1.75rem;
  }
}

.pk360-btn-login--topbar {
  border: none;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.6rem;
  color: #404040;
}

.pk360-btn-login--topbar:hover {
  color: #0d0d0d;
  background: rgba(0, 0, 0, 0.04);
}

.pk360-btn-login {
  background: none;
  border: 0.5px solid #c8c5bc;
  color: #5a5855;
  padding: 7px 16px;
  border-radius: var(--pk360-header-radius);
  font-size: 13px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.pk360-btn-login--ghost {
  border: none;
  color: #777777;
  padding: 8px 12px;
}

.pk360-btn-login--ghost:hover {
  color: #000000;
  background: rgba(0, 0, 0, 0.06);
}

.pk360-btn-login:hover {
  border-color: #0d0d0d;
  color: #0d0d0d;
  background: rgba(0, 0, 0, 0.04);
}

.pk360-btn-login:focus-visible {
  outline: 2px solid #b8954b;
  outline-offset: 2px;
}

.pk360-btn-register {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  border-radius: var(--pk360-header-radius);
  font-size: 13px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  margin-left: 4px;
}

.pk360-btn-register:hover {
  background: #333333;
}

.pk360-btn-register:focus-visible {
  outline: 2px solid #b8954b;
  outline-offset: 2px;
}

.pk360-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #b8954b;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.pk360-user-avatar:hover {
  background: #a68642;
  color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pk360-user-avatar:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

.pk360-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #0d0d0d;
  flex-shrink: 0;
  margin-left: 0;
}

.pk360-hamburger svg {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 1279px) {
  .pk360-hamburger {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1280px) {
  .pk360-hamburger {
    display: none !important;
  }

  .pk360-mobile-menu {
    display: none !important;
  }
}

/* Off-canvas: wysuwane menu z boku (lewa strona), ten sam wzorzec co #pk360-cart-drawer
   (position:fixed, backdrop + panel na translate3d), zamiast dawnego rozwijanego pod
   headerem bloku - działa spójnie i responsywnie na telefonach ORAZ tabletach. */
.pk360-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 210;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.36s;
}

.pk360-mobile-menu.pk360-mobile-menu--open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

.pk360-mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.pk360-mobile-menu.pk360-mobile-menu--open .pk360-mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.pk360-mobile-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: min(85vw, 22rem);
  max-width: 100vw;
  background: #ffffff;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px 24px;
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.pk360-mobile-menu.pk360-mobile-menu--open .pk360-mobile-menu-panel {
  transform: translate3d(0, 0, 0);
}

.pk360-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 0.5px solid #e4e2dc;
  flex-shrink: 0;
}

.pk360-mobile-menu-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d0d0d;
}

.pk360-mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f5f4f0;
  border: none;
  border-radius: 999px;
  color: #0d0d0d;
  cursor: pointer;
  flex-shrink: 0;
}

.pk360-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pk360-mobile-menu ul li a {
  display: block;
  padding: 12px 16px;
  margin: 4px 0;
  font-size: 15px;
  font-weight: 500;
  color: #757575;
  text-decoration: none;
  border-bottom: none;
  border-radius: var(--pk360-header-radius);
  transition: background 0.18s ease, color 0.18s ease;
}

.pk360-mobile-menu ul li:not(.current-menu-item) > a:hover {
  color: #1a1a1a;
  background: rgba(0, 0, 0, 0.06);
}

.pk360-mobile-menu ul li.current-menu-item > a {
  background: #000000;
  color: #ffffff;
  font-weight: 600;
}

.pk360-mobile-menu ul li.current-menu-item > a:hover {
  background: #333333;
}

.pk360-mobile-menu-auth {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pk360-mobile-menu-auth-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pk360-mobile-menu-auth-row .pk360-btn-account {
  flex: 1;
  justify-content: center;
}

.pk360-mobile-menu-auth .pk360-btn-login,
.pk360-mobile-menu-auth .pk360-btn-register {
  width: 100%;
  justify-content: center;
  margin-left: 0;
  padding: 12px;
  font-size: 14px;
}

/* ── Footer (design system) ─────────────── */
.pk360-footer {
  margin-top: auto;
  background: #0d0d0d;
  color: #fff;
}

.pk360-footer .pk360-footer-top .pk360-footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 1024px) {
  .pk360-footer .pk360-footer-top .pk360-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 32px;
  }
}

@media (max-width: 640px) {
  .pk360-footer .pk360-footer-top .pk360-footer-grid {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }
}

.pk360-footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pk360-footer-logo {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  display: block;
  font-family: "Inter", sans-serif;
}

.pk360-footer-desc {
  margin: 0;
  max-width: 200px;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.4);
}

.pk360-footer-social {
  display: flex;
  gap: 8px;
  padding-top: 4px;
}

.pk360-footer-social-dot {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.pk360-footer-col-title {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}

.pk360-footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pk360-footer-links ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.pk360-footer-links ul li a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.pk360-newsletter {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pk360-newsletter-label {
  margin-bottom: 0;
}

.pk360-newsletter-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .pk360-newsletter-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.pk360-newsletter-input {
  flex: 1;
  min-height: 44px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--black);
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  outline: none;
}

.pk360-newsletter-btn {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 6px;
  background: var(--gold);
  cursor: pointer;
}

/* Stara stopka `.pk360-footer` — nie łączyć z `.pk360-footer-v2` (inaczej dolny pas ma #080808 zamiast #0d0d0d). */
.pk360-footer .pk360-footer-bottom {
  background: #080808;
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
  padding: 20px 48px;
  max-width: 100%;
}

@media (max-width: 640px) {
  .pk360-footer .pk360-footer-bottom {
    padding: 16px 20px;
  }
}

/* ── Footer v2 (bez Tailwind CDN) ─────────────────────────── */
.pk360-footer-v2 {
  background: #0d0d0d;
  color: #ffffff;
  border-top: 1px solid #272727;
}

.pk360-footer-v2 a {
  color: inherit;
  text-decoration: none;
}

.pk360-footer-v2 a:hover {
  color: #d4a843;
}

.pk360-footer-v2 .pk360-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

@media (min-width: 1024px) {
  .pk360-footer-v2 .pk360-footer-inner {
    padding-left: 48px;
    padding-right: 48px;
  }
}

.pk360-footer-v2 .pk360-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .pk360-footer-v2 .pk360-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .pk360-footer-v2 .pk360-footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .pk360-footer-v2 .pk360-footer-grid {
    text-align: center;
    justify-items: center;
  }

  .pk360-footer-v2 .pk360-footer-brand {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .pk360-footer-v2 .pk360-footer-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 26rem;
  }

  .pk360-footer-v2 .pk360-footer-links {
    align-items: center;
  }

  .pk360-footer-v2 .pk360-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pk360-footer-v2 .pk360-footer-icons {
    justify-content: center;
  }
}

.pk360-footer-v2 .pk360-footer-brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.pk360-footer-v2 .pk360-footer-brand span {
  color: #d4a843;
}

.pk360-footer-v2 .pk360-footer-desc {
  margin: 16px 0 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.pk360-footer-v2 .pk360-footer-heading {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a843;
}

.pk360-footer-v2 .pk360-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.pk360-footer-v2 .pk360-footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.15s ease;
}

.pk360-footer-v2 .pk360-footer-links a:hover {
  color: #d4a843;
}

.pk360-footer-v2 .pk360-footer-wp-menu .pk360-footer-menu-root {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pk360-footer-v2 .pk360-footer-wp-menu .pk360-footer-menu-root ul.sub-menu {
  list-style: none;
  margin: 6px 0 0;
  padding: 0 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pk360-footer-v2 .pk360-footer-wp-menu .pk360-footer-menu-empty {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}

.pk360-footer-v2 .pk360-footer-contact a,
.pk360-footer-v2 .pk360-footer-contact {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
}

.pk360-footer-v2 .pk360-footer-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.pk360-footer-v2 .pk360-footer-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.62);
  transition: transform 0.15s ease, color 0.15s ease;
}

.pk360-footer-v2 .pk360-footer-icon:hover {
  transform: scale(1.04);
  color: #d4a843;
}

.pk360-footer-v2 .pk360-footer-bottom {
  background: #0d0d0d;
  border-top: 1px solid #272727;
  padding: 32px 0;
}

.pk360-footer-v2 .pk360-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

@media (min-width: 768px) {
  .pk360-footer-v2 .pk360-footer-bottom-inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
}

.pk360-footer-v2 .pk360-footer-legal {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 760px;
}

.pk360-footer-v2 .pk360-footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 2px;
}

.pk360-footer-v2 .pk360-footer-legal a:hover {
  color: #d4a843;
}

.pk360-footer-v2 .pk360-footer-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .pk360-footer-v2 .pk360-footer-credit {
    justify-content: flex-end;
  }
}

.pk360-footer-v2 .pk360-footer-credit-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

.pk360-footer-v2 .pk360-footer-credit-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}

/* SVG w <img> często nie ma wymiarów w meta WP — height:auto daje 0×0; stała wysokość + object-fit naprawia wyświetlanie. */
.pk360-footer-v2 .pk360-footer-credit-logo {
  display: block;
  flex-shrink: 0;
  height: 28px;
  width: auto;
  max-width: min(220px, 45vw);
  object-fit: contain;
  object-position: left center;
}

.pk360-footer-v2 .pk360-footer-credit-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 2px;
  line-height: 1.4;
}

.pk360-footer-v2 .pk360-footer-credit-link:hover .pk360-footer-credit-text {
  color: #d4a843;
}

.pk360-footer-v2 .pk360-footer-credit-link:hover .pk360-footer-credit-logo {
  opacity: 0.92;
}

.pk360-footer-v2 .pk360-footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

@media (min-width: 768px) {
  .pk360-footer-v2 .pk360-footer-legal-nav {
    justify-content: flex-end;
  }
}

.pk360-footer-v2 .pk360-footer-legal-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.pk360-footer-v2 .pk360-footer-legal-nav a:hover {
  color: #d4a843;
}

.pk360-footer-bottom-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 640px) {
  .pk360-footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.pk360-footer-copy,
.pk360-footer-copyright {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
}

.pk360-footer-copy-link {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pk360-footer-copy-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.pk360-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
}

.pk360-footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  text-decoration: none;
  transition: color 0.15s;
}

.pk360-footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Breadcrumb ─────────────────────────── */
.pk360-breadcrumb {
  font-size: 12px;
  color: var(--text-3);
}

.pk360-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pk360-breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  color: var(--text-3);
  opacity: 0.7;
}

.pk360-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.pk360-breadcrumb-link {
  color: var(--text-3);
  transition: color 0.15s;
}

.pk360-breadcrumb-link:hover {
  color: var(--text-1);
}

.pk360-breadcrumb-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: var(--text-3);
}

.pk360-breadcrumb-text--current {
  color: var(--gold);
}

/* ── Autoryzacja / panel konta ───────────── */
.pk360-auth-body {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.pk360-auth-body .pk360-auth-page {
  min-height: 100vh;
}

.pk360-auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pk360-auth-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px clamp(24px, 6vw, 96px);
  background: #ffffff;
  min-height: 100vh;
}

.pk360-auth-form-wrap {
  width: 100%;
  max-width: 420px;
}

.pk360-auth-logo {
  font-size: 18px;
  font-weight: 900;
  color: #0d0d0d;
  text-decoration: none;
  margin-bottom: 40px;
  display: block;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.pk360-auth-title {
  font-size: 32px;
  font-weight: 900;
  color: #0d0d0d;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.pk360-auth-subtitle {
  font-size: 14px;
  color: #5a5855;
  margin-bottom: 32px;
}

.pk360-social-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.pk360-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  font-family: "Inter", sans-serif;
  border: 0.5px solid #e8e6e0;
  background: #ffffff;
  color: #0d0d0d;
}

.pk360-social-btn:hover {
  background: #f5f4f0;
  border-color: #c8c5bc;
}

.pk360-social-btn--google:hover {
  border-color: #4285f4;
  background: rgba(66, 133, 244, 0.04);
}

.pk360-social-btn--facebook:hover {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.04);
}

.pk360-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}

.pk360-auth-divider::before,
.pk360-auth-divider::after {
  content: "";
  flex: 1;
  height: 0.5px;
  background: #e8e6e0;
}

.pk360-auth-divider span {
  font-size: 12px;
  color: #9c9a94;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pk360-form-group {
  margin-bottom: 18px;
}

.pk360-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #0d0d0d;
  margin-bottom: 7px;
}

.pk360-form-input {
  width: 100%;
  height: 44px;
  background: #ffffff;
  border: 0.5px solid #e4e2dc;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: #0d0d0d;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pk360-form-input:focus {
  border-color: #b5872a;
  box-shadow: 0 0 0 3px rgba(181, 135, 42, 0.12);
}

.pk360-form-input::placeholder {
  color: #9c9a94;
}

.pk360-form-input-wrap {
  position: relative;
}

.pk360-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9c9a94;
  padding: 4px;
  display: flex;
  align-items: center;
}

.pk360-password-toggle:hover {
  color: #0d0d0d;
}

.pk360-btn-submit {
  width: 100%;
  height: 46px;
  background: #d4a843;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  border: none;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, opacity 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  opacity: 1;
}

.pk360-auth-body .pk360-btn-submit,
.pk360-auth-body .pk360-btn-submit .pk360-btn-submit-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  opacity: 1 !important;
  visibility: visible !important;
}

.pk360-btn-submit span,
.pk360-btn-submit .pk360-btn-submit-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.pk360-btn-submit:hover {
  background: #c99c37;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.pk360-btn-submit:active {
  transform: scale(0.99);
}

.pk360-btn-submit:hover span,
.pk360-btn-submit:hover .pk360-btn-submit-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.pk360-btn-submit:disabled {
  background: #9c9a94;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  cursor: not-allowed;
  opacity: 1;
}

.pk360-btn-submit:disabled span,
.pk360-btn-submit:disabled .pk360-btn-submit-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

.pk360-form-error {
  background: #fef2f2;
  border: 0.5px solid #fecaca;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #dc2626;
  margin-bottom: 16px;
}

.pk360-form-success {
  background: #edf7f2;
  border: 0.5px solid #b8e0c8;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #2a7a50;
  margin-bottom: 16px;
}

.pk360-auth-form-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: #5a5855;
}

.pk360-auth-form-note a {
  color: #b5872a;
  font-weight: 500;
  text-decoration: none;
}

.pk360-auth-form-note a:hover {
  text-decoration: underline;
}

.pk360-auth-right {
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 72px;
  position: relative;
  overflow: hidden;
}

.pk360-auth-right::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(181, 135, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pk360-text-gold {
  color: #d4a843;
}

.pk360-auth-right-bg {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.pk360-auth-right-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.pk360-auth-right-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.05);
}

.pk360-auth-right-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.pk360-auth-right-heading {
  margin: 0 0 32px 0;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 900;
  color: #ffffff;
}

.pk360-auth-features {
  display: grid;
  gap: 26px;
}

.pk360-auth-feature {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
}

.pk360-auth-feature-ico {
  margin-top: 2px;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a843;
}

.pk360-auth-feature-ico .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
}

.pk360-auth-feature-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.pk360-auth-feature-desc {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.pk360-auth-right-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 14px;
}

.pk360-auth-right-footer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.pk360-auth-right-watermark {
  position: absolute;
  bottom: 16px;
  right: 18px;
  font-size: 120px;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.03);
  user-select: none;
  z-index: 1;
  pointer-events: none;
}

.pk360-password-strength {
  height: 4px;
  border-radius: 2px;
  margin-top: 8px;
  transition: all 0.3s;
}

.pk360-password-strength.weak {
  background: #ef4444;
  width: 33%;
}

.pk360-password-strength.medium {
  background: #f59e0b;
  width: 66%;
}

.pk360-password-strength.strong {
  background: #2a7a50;
  width: 100%;
}

.pk360-account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 48px;
  min-height: calc(100vh - 60px);
}

.pk360-account-sidebar {
  background: #ffffff;
  border: 0.5px solid #e4e2dc;
  border-radius: 12px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 80px;
}

.pk360-account-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(181, 135, 42, 0.1);
  border: 0.5px solid rgba(181, 135, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #b5872a;
  margin: 0 auto 12px;
  overflow: hidden;
}

.pk360-account-avatar .pk360-account-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pk360-account-name {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #0d0d0d;
  margin-bottom: 4px;
}

.pk360-account-email {
  text-align: center;
  font-size: 12px;
  color: #9c9a94;
  margin-bottom: 24px;
}

.pk360-account-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 0.5px solid #e4e2dc;
  padding-top: 16px;
}

.pk360-account-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: #5a5855;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s;
  margin-bottom: 2px;
}

.pk360-account-nav li a:hover,
.pk360-account-nav li.active a {
  background: rgba(181, 135, 42, 0.07);
  color: #0d0d0d;
}

.pk360-account-nav li.logout a {
  color: #dc2626;
  margin-top: 8px;
  border-top: 0.5px solid #e4e2dc;
  padding-top: 12px;
}

.pk360-account-nav li.logout a:hover {
  background: #fef2f2;
}

.pk360-account-content {
  min-width: 0;
}

.pk360-account-greeting {
  font-size: 22px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.4px;
  margin-bottom: 24px;
}

.pk360-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.pk360-stat-card {
  background: #ffffff;
  border: 0.5px solid #e4e2dc;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.pk360-stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.pk360-stat-label {
  font-size: 12px;
  color: #9c9a94;
}

.pk360-account-section--spaced {
  margin-bottom: 32px;
}

.pk360-account-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #0d0d0d;
  margin: 0 0 16px;
}

.pk360-account-panel {
  background: #ffffff;
  border: 0.5px solid #e4e2dc;
  border-radius: 12px;
  padding: 24px;
}

.pk360-account-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.pk360-account-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 0.5px solid #e4e2dc;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(13, 13, 13, 0.04);
}

.pk360-account-product-row-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pk360-account-product-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.01em;
}

.pk360-account-product-title a {
  color: inherit;
  text-decoration: none;
}

.pk360-account-product-title a:hover {
  text-decoration: underline;
}

.pk360-account-product-meta {
  margin: 0;
  font-size: 12px;
  color: #9c9a94;
}

.pk360-account-product-row-cta {
  flex-shrink: 0;
}

.pk360-account-product-row-cta .pk360-btn-sm {
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.pk360-account-product-row-cta .pk360-btn-sm--gold {
  border: 0.5px solid rgba(181, 135, 42, 0.25);
}

.pk360-account-product-row-cta .pk360-btn-sm--gold:hover {
  background: rgba(181, 135, 42, 0.18);
}

@media (max-width: 640px) {
  .pk360-account-product-row {
    align-items: stretch;
    flex-direction: column;
  }
  .pk360-account-product-row-cta {
    width: 100%;
  }
  .pk360-account-product-row-cta .pk360-btn-sm {
    width: 100%;
    justify-content: center;
  }
}

.pk360-account-placeholder-text {
  margin: 0;
  color: #9c9a94;
  font-size: 14px;
  line-height: 1.6;
}

.pk360-account-placeholder-link {
  color: #b5872a;
  font-weight: 500;
  text-decoration: none;
}

.pk360-account-placeholder-link:hover {
  text-decoration: underline;
}

.pk360-account-lead {
  margin: 0;
  color: #5a5855;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pk360-auth-page {
    grid-template-columns: 1fr;
  }

  .pk360-auth-right {
    display: none;
  }

  .pk360-auth-left {
    padding: 32px 24px;
  }

  .pk360-account-layout {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .pk360-account-sidebar {
    position: static;
  }

  .pk360-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Proste utility (layout) ─────────────── */
.pk360-flex {
  display: flex;
}

.pk360-flex-col {
  flex-direction: column;
}

.pk360-items-center {
  align-items: center;
}

.pk360-justify-between {
  justify-content: space-between;
}

.pk360-gap-2 {
  gap: 8px;
}

.pk360-mt-auto {
  margin-top: auto;
}

/* ── Checkout (design system PK360) ────────────────────────── */
body.pk360-checkout-page .site-main.pk360-main,
body.pk360-checkout-page .site-main-inner {
  background: var(--bg, #f5f4f0);
  overflow-x: visible;
  overflow-y: visible;
}

.pk360-checkout-page-bg {
  --pk360-black: #0d0d0d;
  --pk360-gold: #b5872a;
  --pk360-gold-light: #d4a843;
  --pk360-gold-bg: rgba(181, 135, 42, 0.08);
  --pk360-gold-border: rgba(181, 135, 42, 0.22);
  --pk360-bg: #f5f4f0;
  --pk360-white: #ffffff;
  --pk360-border: #bcb6ab;
  --pk360-text-1: #0d0d0d;
  --pk360-text-2: #5a5855;
  --pk360-text-3: #9c9a94;
  --pk360-green: #1e8c6a;
  --pk360-green-bg: rgba(30, 140, 106, 0.08);

  background: var(--pk360-bg);
  padding: 40px 0 60px;
  min-height: 40vh;
  overflow: visible;
}

.pk360-checkout-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  overflow: visible;
}

.pk360-checkout-shell {
  padding-bottom: 0;
}

.pk360-purchase-steps {
  margin: 0 auto 14px;
}

.pk360-purchase-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.pk360-purchase-steps__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(188, 182, 171, 0.85);
  background: rgba(255, 255, 255, 0.7);
  color: #5a5855;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pk360-purchase-steps__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #bcb6ab;
  flex: 0 0 auto;
}

.pk360-purchase-steps__item--active {
  border-color: rgba(212, 168, 67, 0.55);
  background: rgba(212, 168, 67, 0.14);
  color: #0d0d0d;
}

.pk360-purchase-steps__item--active .pk360-purchase-steps__dot {
  background: #d4a843;
}

.pk360-purchase-steps__item--done {
  border-color: rgba(20, 122, 83, 0.35);
  background: rgba(20, 122, 83, 0.08);
  color: #0d0d0d;
}

.pk360-purchase-steps__item--done .pk360-purchase-steps__dot {
  background: #147a53;
}

.pk360-purchase-nav {
  display: flex;
  justify-content: flex-end;
  margin: 18px 0 0;
}

.pk360-purchase-nav--checkout {
  justify-content: flex-start;
  margin-top: 12px;
}

.pk360-purchase-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #b5872a;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}

.pk360-purchase-nav__link:hover,
.pk360-purchase-nav__link:focus-visible {
  color: #0d0d0d;
  background: rgba(181, 135, 42, 0.12);
  text-decoration: none;
}

.pk360-purchase-reco {
  margin-top: 28px;
}

.pk360-purchase-reco__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0d0d0d;
}

.pk360-purchase-reco__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 980px) {
  .pk360-purchase-reco__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pk360-purchase-steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pk360-purchase-steps__item {
    justify-content: flex-start;
  }
  .pk360-purchase-reco__grid {
    grid-template-columns: 1fr;
  }
}

.pk360-checkout-login-notice {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 28px;
  font-size: 15px;
  color: var(--pk360-text-2, #5a5855);
}

.pk360-checkout-page .pk360-checkout-form,
.pk360-checkout-page .woocommerce-checkout {
  max-width: none;
  margin: 0;
  padding: 0;
}

.pk360-checkout-wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.pk360-checkout-wrap--v2 {
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 40px;
}

.pk360-checkout-left {
  min-width: 0;
}

/* Sticky: cała prawa kolumna — niezawodniej niż sticky tylko na .pk360-order-summary (flex/grid + overflow). */
.pk360-checkout-right {
  position: sticky;
  top: var(--pk360-sticky-under-site-header, 88px);
  align-self: start;
  z-index: 5;
}

/* „Dane kontaktowe” — bez ramki karty (pola na tle strony); „Dane do faktury” zostają w białej karcie */
.pk360-checkout-billing > .pk360-checkout-section:first-of-type {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-bottom: 20px;
}

.pk360-checkout-section {
  background: var(--pk360-white, #fff);
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 16px;
}

.pk360-checkout-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--pk360-text-1, #0d0d0d);
  letter-spacing: -0.3px;
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 3px solid var(--pk360-gold, #b5872a);
}

/* Pola formularza */
.pk360-checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.pk360-checkout-field {
  margin-bottom: 14px;
}

.pk360-checkout-page .woocommerce form .form-row {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  background: transparent;
  height: auto;
  min-height: 0;
  box-shadow: none;
}

.pk360-checkout-page .woocommerce-input-wrapper {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.pk360-checkout-page .woocommerce form .form-row label,
.pk360-checkout-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #0d0d0d;
  margin-bottom: 8px;
  line-height: 1.35;
}

.pk360-checkout-label .required,
.pk360-checkout-consent .required {
  color: #e24b4a;
  margin-left: 2px;
}

.pk360-checkout-page .woocommerce form .form-row .optional {
  font-weight: 400;
  color: #9c9a94;
}

.pk360-checkout-input {
  width: 100%;
  height: 46px;
  background: var(--pk360-white, #fff);
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 9px;
  padding: 0 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--pk360-text-1, #0d0d0d);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pk360-checkout-page .woocommerce form .input-text,
.pk360-checkout-page .woocommerce form input.input-text,
.pk360-checkout-page .woocommerce form select,
.pk360-checkout-page .woocommerce form textarea {
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  background: var(--pk360-white, #fff);
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 9px;
  padding: 0 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--pk360-text-1, #0d0d0d);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pk360-checkout-page .woocommerce form textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 14px;
  line-height: 1.45;
  resize: vertical;
}

.pk360-checkout-input:focus,
.pk360-checkout-page .woocommerce form .input-text:focus,
.pk360-checkout-page .woocommerce form select:focus,
.pk360-checkout-page .woocommerce form textarea:focus {
  border-color: var(--pk360-gold, #b5872a);
  box-shadow: 0 0 0 3px rgba(181, 135, 42, 0.1);
  outline: none;
}

.pk360-checkout-input::placeholder,
.pk360-checkout-page .woocommerce form .input-text::placeholder,
.pk360-checkout-page .woocommerce form textarea::placeholder {
  color: #9c9a94;
}

.pk360-checkout-input:read-only,
.pk360-checkout-page .woocommerce form .input-text[readonly] {
  background: #f5f4f0;
  color: #5a5855;
}

/* Autouzupełnianie Chrome — bez żółtego „tła” przecinającego ramkę */
.pk360-checkout-page .woocommerce form input.input-text:-webkit-autofill,
.pk360-checkout-page .woocommerce form input.input-text:-webkit-autofill:hover,
.pk360-checkout-page .woocommerce form input.input-text:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  box-shadow: 0 0 0 1000px #fff inset;
}

/* Toggle faktura */
.pk360-invoice-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f5f4f0;
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 16px;
  user-select: none;
  transition: background 0.15s, border-color 0.15s;
}

.pk360-invoice-toggle:hover {
  background: #eeecea;
}

.pk360-invoice-toggle input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: #b5872a;
  cursor: pointer;
}

.pk360-invoice-fields {
  background: #fafaf8;
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

/* Metody płatności */
.pk360-checkout-payment-block {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.pk360-checkout-page #payment .wc_payment_methods,
.pk360-wc-gateway-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Siatka: radio + etykieta w pierwszym rzędzie; .payment_box na pełną szerokość (nie obok etykiety). */
.pk360-checkout-page #payment .wc_payment_methods > li,
.pk360-payment-method {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 14px;
  row-gap: 0;
  padding: 14px 16px;
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.pk360-checkout-page #payment .wc_payment_methods > li > input[type='radio'] {
  grid-column: 1;
  grid-row: 1;
}

.pk360-checkout-page #payment .wc_payment_methods > li > label {
  grid-column: 2;
  grid-row: 1;
  cursor: pointer;
  margin: 0;
  line-height: 1.35;
}

.pk360-checkout-page #payment .wc_payment_methods > li > .payment_box {
  grid-column: 1 / -1;
  grid-row: 2;
}

.pk360-checkout-page #payment .wc_payment_methods > li:hover {
  border-color: #c8c5bc;
}

.pk360-checkout-page #payment .wc_payment_methods > li.wc_payment_method:has(input:checked),
.pk360-checkout-page #payment .wc_payment_methods > li.wc_payment_method:has(input[type='radio']:checked) {
  border-color: #b5872a;
  background: rgba(181, 135, 42, 0.05);
}

.pk360-checkout-page #payment .wc_payment_methods > li input[type='radio'] {
  width: 18px;
  height: 18px;
  accent-color: #b5872a;
  flex-shrink: 0;
  margin-top: 3px;
}

.pk360-checkout-page #payment div.payment_box {
  margin-top: 10px;
  padding: 8px 0 0 14px;
  border: none;
  border-left: 3px solid rgba(181, 135, 42, 0.4);
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.45;
  color: #5a5855;
}

.pk360-checkout-page #payment div.payment_box p {
  margin: 0 0 0.4em;
}

.pk360-checkout-page #payment div.payment_box p:last-child {
  margin-bottom: 0;
}

.pk360-payment-method-name {
  font-size: 14px;
  font-weight: 600;
  color: #0d0d0d;
}

.pk360-payment-method-desc {
  font-size: 12px;
  color: #9c9a94;
  margin-top: 2px;
}

/* Checkboxy zgody */
.pk360-checkout-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #5a5855;
  line-height: 1.5;
}

.pk360-checkout-consent input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: #b5872a;
  flex-shrink: 0;
  margin-top: 2px;
}

.pk360-checkout-consent a {
  color: #b5872a;
  text-decoration: underline;
}

/* ── Opinie kursu (landing produktu) ────────────── */
.pk360-reviews-section {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 16px;
}

.pk360-reviews-section .pk360-section-heading {
  margin-bottom: 0;
}

.pk360-reviews-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
  flex-wrap: wrap;
}

.pk360-reviews-header-left {
  flex: 1;
}

.pk360-reviews-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.pk360-reviews-score {
  font-size: 44px;
  font-weight: 900;
  color: #0d0d0d;
  letter-spacing: -2px;
  line-height: 1;
}

.pk360-reviews-stars-row {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}

.pk360-reviews-count {
  font-size: 13px;
  color: #9c9a94;
  font-weight: 500;
}

.pk360-add-review-btn {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  color: #0d0d0d;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.pk360-add-review-btn:hover {
  border-color: #b5872a;
  color: #b5872a;
  background: rgba(181, 135, 42, 0.04);
}

.pk360-reviews-section .pk360-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.pk360-reviews-section .pk360-review-card {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all 0.15s;
}

.pk360-reviews-section .pk360-review-card:hover {
  border-color: rgba(181, 135, 42, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.pk360-review-card-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.pk360-review-card-text {
  font-size: 14px;
  color: #5a5855;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin: 0 0 18px;
}

.pk360-review-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 0.5px solid #e8e6e0;
}

.pk360-review-card-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(181, 135, 42, 0.08);
  border: 0.5px solid rgba(181, 135, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #b5872a;
  flex-shrink: 0;
  font-style: normal;
}

.pk360-review-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #0d0d0d;
}

.pk360-review-card-role {
  font-size: 11px;
  color: #9c9a94;
  margin-top: 1px;
}

.pk360-review-card-date {
  font-size: 11px;
  color: #c8c5bc;
  margin-top: 2px;
}

.pk360-review-card-course {
  margin: 14px 0 0;
  font-size: 12px;
}

.pk360-review-card-course a {
  color: #b5872a;
  font-weight: 600;
  text-decoration: none;
}

.pk360-review-card-course a:hover {
  text-decoration: underline;
}

.pk360-reviews-empty {
  text-align: center;
  padding: 36px 20px;
  color: #9c9a94;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.pk360-review-form-wrap {
  margin-top: 8px;
}

.pk360-review-form-toggle-wrap {
  text-align: center;
  margin-top: 20px;
}

.pk360-review-form {
  background: #f5f4f0;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}

.pk360-review-form-title {
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.pk360-review-form-rating {
  margin-bottom: 18px;
}

.pk360-review-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0d0d0d;
  margin-bottom: 7px;
}

.pk360-review-required {
  color: #c45c5c;
  font-weight: 700;
}

.pk360-review-form-optional {
  font-size: 12px;
  font-weight: 400;
  color: #9c9a94;
}

.pk360-review-stars-input {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.pk360-review-star-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  border-radius: 4px;
}

.pk360-review-star-btn:focus-visible {
  outline: 2px solid #b5872a;
  outline-offset: 2px;
}

.pk360-review-stars-label {
  font-size: 13px;
  font-weight: 600;
  color: #b5872a;
  margin-left: 8px;
}

.pk360-review-form-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pk360-review-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pk360-review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pk360-review-form-input {
  height: 44px;
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  color: #0d0d0d;
  outline: none;
  transition: border-color 0.15s;
}

.pk360-review-form-input:focus {
  border-color: #b5872a;
  box-shadow: 0 0 0 3px rgba(181, 135, 42, 0.1);
}

.pk360-review-form-textarea {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #0d0d0d;
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.15s;
  width: 100%;
  box-sizing: border-box;
}

.pk360-review-form-textarea:focus {
  border-color: #b5872a;
  box-shadow: 0 0 0 3px rgba(181, 135, 42, 0.1);
}

.pk360-review-form-textarea::placeholder,
.pk360-review-form-input::placeholder {
  color: #c8c5bc;
}

.pk360-review-form-note {
  font-size: 12px;
  color: #9c9a94;
  background: rgba(181, 135, 42, 0.05);
  border: 0.5px solid rgba(181, 135, 42, 0.15);
  border-radius: 7px;
  padding: 9px 12px;
  margin: 0;
}

.pk360-review-form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 4px;
}

.pk360-review-form-cancel {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  color: #5a5855;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.pk360-review-form-cancel:hover {
  border-color: #c8c5bc;
  color: #0d0d0d;
}

.pk360-review-form-submit {
  background: #0d0d0d;
  border: none;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.pk360-review-form-submit:hover {
  background: #1a1a1a;
}

.pk360-review-show-form-btn {
  background: transparent;
  border: 0.5px solid #e8e6e0;
  color: #b5872a;
  padding: 10px 24px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.pk360-review-show-form-btn:hover {
  border-color: #b5872a;
  background: rgba(181, 135, 42, 0.04);
}

.woocommerce-Reviews,
#reviews {
  display: none !important;
}

@media (max-width: 768px) {
  .pk360-reviews-section .pk360-reviews-grid {
    grid-template-columns: 1fr;
  }

  .pk360-review-form-row {
    grid-template-columns: 1fr;
  }

  .pk360-reviews-header {
    flex-direction: column;
  }
}

/* Podsumowanie zamówienia */
.pk360-checkout-order-review {
  background: transparent;
  border: none;
  padding: 0;
}

.pk360-order-summary {
  background: var(--pk360-white, #fff);
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.pk360-order-summary-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--pk360-border, #bcb6ab);
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
}

.pk360-order-summary-body {
  padding: 20px 24px;
}

.pk360-checkout-review-table thead {
  display: none;
}

.pk360-checkout-review-table tbody td {
  border: none;
  padding: 0 0 16px;
  vertical-align: top;
}

.pk360-checkout-review-table tbody tr:last-child td {
  padding-bottom: 0;
}

.pk360-order-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pk360-order-item-thumb,
.pk360-order-item .pk360-order-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(181, 135, 42, 0.08);
}

.pk360-order-item-thumb--placeholder {
  display: inline-block;
}

.pk360-order-item-info {
  flex: 1;
  min-width: 0;
}

.pk360-order-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #0d0d0d;
  line-height: 1.35;
  margin-bottom: 4px;
  text-decoration: none;
}

a.pk360-order-item-name:hover {
  color: #b5872a;
}

.pk360-order-item-type {
  font-size: 11px;
  font-weight: 700;
  color: var(--pk360-gold, #b5872a);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin: 0 0 4px;
}

.pk360-order-item-price {
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

.pk360-order-item-qty {
  font-weight: 500;
  color: #5a5855;
  font-size: 12px;
}

/* Totale */
.pk360-checkout-review-table {
  width: 100%;
  table-layout: fixed;
}

.pk360-checkout-review-table tfoot th,
.pk360-checkout-review-table tfoot td {
  padding: 8px 0;
  font-size: 13px;
  color: #5a5855;
  border: none;
}

.pk360-checkout-review-table tfoot tr.cart-subtotal th,
.pk360-checkout-review-table tfoot tr.cart-subtotal td {
  padding-top: 16px;
  border-top: 1px solid var(--pk360-border, #bcb6ab);
}

.pk360-checkout-review-table .order-total th,
.pk360-checkout-review-table .order-total td {
  font-size: 18px;
  font-weight: 800;
  color: #0d0d0d;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--pk360-border, #bcb6ab);
  vertical-align: middle;
}

.pk360-checkout-review-table .order-total td {
  text-align: right;
  white-space: nowrap;
}

.pk360-checkout-review-table .order-total td .woocommerce-Price-amount,
.pk360-checkout-review-table .order-total td .amount {
  white-space: nowrap;
}

.pk360-checkout-review-table tr.cart-discount td,
.pk360-checkout-review-table tr.cart-discount th {
  color: #1e8c6a;
  font-weight: 500;
}

/* Kupon */
.pk360-coupon-toggle {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: #b5872a;
  cursor: pointer;
  text-decoration: underline;
  margin-bottom: 12px;
}

.pk360-coupon-panel {
  margin-bottom: 16px;
}

.pk360-coupon-panel .checkout_coupon,
.pk360-coupon-panel .woocommerce-form-coupon {
  margin: 0;
}

.pk360-coupon-panel .woocommerce-form-coupon p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pk360-coupon-panel .woocommerce-form-coupon .form-row-first,
.pk360-coupon-panel .woocommerce-form-coupon .form-row-last {
  float: none;
  width: auto;
  flex: 1;
  min-width: 140px;
  margin: 0;
  padding: 0;
}

.pk360-coupon-panel .woocommerce-form-coupon input.input-text {
  height: 40px;
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
}

.pk360-coupon-panel .woocommerce-form-coupon .button {
  height: 40px;
  padding: 0 16px;
  background: #0d0d0d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.pk360-coupon-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pk360-coupon-input {
  flex: 1;
  height: 40px;
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  outline: none;
}

.pk360-coupon-input:focus {
  border-color: #b5872a;
}

.pk360-coupon-btn {
  height: 40px;
  padding: 0 16px;
  background: #0d0d0d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

/* Przycisk zamówienia */
.pk360-place-order-btn {
  width: 100%;
  height: 52px;
  background: var(--pk360-black, #0d0d0d);
  color: #ffffff;
  border: none;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  margin-top: 20px;
  margin-bottom: 14px;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pk360-place-order-btn:hover {
  background: #1a1a1a;
}

.pk360-place-order-btn:disabled {
  background: #9c9a94;
  cursor: not-allowed;
}

.woocommerce-checkout.processing .pk360-place-order-btn {
  opacity: 0.65;
  pointer-events: none;
  position: relative;
}

.woocommerce-checkout.processing .pk360-place-order-btn::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pk360-spin 0.7s linear infinite;
}

@keyframes pk360-spin {
  to {
    transform: rotate(360deg);
  }
}

.pk360-checkout-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.pk360-checkout-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #9c9a94;
}

.pk360-checkout-trust-item svg {
  width: 14px;
  height: 14px;
  color: #1e8c6a;
  flex-shrink: 0;
}

.pk360-payment-logos {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--pk360-border, #bcb6ab);
  opacity: 0.5;
}

.pk360-payment-logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5a5855;
}

body.pk360-checkout-page {
  background: var(--pk360-bg, #f5f4f0);
}

.pk360-checkout-right {
  min-width: 0;
}

.pk360-checkout-consents {
  margin-bottom: 8px;
  padding: 4px 0 8px;
}

.pk360-checkout-section--consent {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

.pk360-checkout-field-note {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #1e8c6a;
  margin-top: 5px;
  font-weight: 500;
}

.pk360-checkout-input.pk360-prefilled,
.pk360-checkout-page .woocommerce form input.pk360-prefilled {
  background: #fafaf8;
  color: #5a5855;
}

.pk360-invoice-toggle--button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  margin-top: 6px;
  margin-bottom: 0;
  background: #f5f4f0;
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.pk360-invoice-toggle--button:hover {
  background: #eeecea;
  border-color: #c8c5bc;
}

.pk360-invoice-toggle-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pk360-invoice-toggle-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid var(--pk360-border, #bcb6ab);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9c9a94;
  transition: all 0.15s;
  flex-shrink: 0;
}

.pk360-invoice-toggle-icon.active {
  background: rgba(181, 135, 42, 0.08);
  border-color: rgba(181, 135, 42, 0.25);
  color: #b5872a;
}

.pk360-invoice-toggle-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0d0d0d;
}

.pk360-invoice-toggle-sub {
  display: block;
  font-size: 12px;
  color: #9c9a94;
  margin-top: 1px;
}

.pk360-invoice-toggle-chevron {
  color: #9c9a94;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.pk360-invoice-toggle-chevron.rotated {
  transform: rotate(180deg);
}

.pk360-payment-wrapper .woocommerce-checkout-payment,
.pk360-checkout-payment-wrap .woocommerce-checkout-payment {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.pk360-payment-wrapper .form-row.place-order,
.pk360-checkout-payment-wrap .form-row.place-order {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pk360-payment-wrapper #pk360_place_order_hidden,
.pk360-checkout-payment-wrap #pk360_place_order_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pk360-checkout-payment-wrap .woocommerce-terms-and-conditions-wrapper,
.pk360-checkout-payment-wrap .woocommerce-privacy-policy-text {
  display: none !important;
}

.pk360-checkout-wrap--v2 .pk360-coupon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 12px;
}

.pk360-checkout-wrap--v2 .pk360-coupon-toggle svg {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .pk360-checkout-wrap--v2 {
    grid-template-columns: 1fr;
  }

  .pk360-checkout-right {
    order: -1;
    position: static;
    top: auto;
    z-index: auto;
  }

  .pk360-order-summary {
    position: relative;
    top: auto;
  }

  .pk360-checkout-row {
    grid-template-columns: 1fr;
  }
}

/* ── Wyszukiwarka w nagłówku (pasek + dropdown) ───────────────── */
.pk360-search-wrap {
  position: relative;
  flex: 1 1 0%;
  min-width: 160px;
  max-width: 36rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 1280px) {
  .pk360-search-wrap {
    max-width: 40rem;
  }
}

.pk360-search-mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0.5px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  color: #757575;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pk360-search-mobile-toggle:hover,
.pk360-search-mobile-toggle.is-open {
  background: #f5f4f0;
  border-color: #e8e6e0;
  color: #0d0d0d;
}

.pk360-header-search {
  flex: 1;
  min-width: 140px;
  position: relative;
  max-width: 520px;
  transition: max-width 0.22s ease;
}

.pk360-header-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  background: rgba(250, 250, 250, 0.75);
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  padding: 0.45rem 1rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    padding 0.22s ease,
    min-height 0.22s ease;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.pk360-header--scrolled .pk360-header-search {
  max-width: 420px;
}

.pk360-header--scrolled .pk360-header-search-input-wrap {
  min-height: 34px;
  padding: 0.3rem 0.75rem;
}

.pk360-header--scrolled .pk360-header-search-input {
  font-size: 12px;
}

.pk360-header-search-input-wrap:focus-within {
  background: #fff;
  border-color: #d4a843;
  box-shadow: 0 0 0 1px #d4a843;
}

.pk360-header-search-icon {
  color: #9c9a94;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.pk360-header-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important;
  background-color: transparent;
  box-shadow: none;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  color: #0d0d0d;
  border-radius: 0;
  min-height: 0;
  line-height: 1.3;
  position: relative;
  z-index: 0;
}

/* Bez domyślnej niebieskiej obwódki przeglądarki — wyróżnienie daje .pk360-header-search-input-wrap:focus-within */
.pk360-header-search-input:focus,
.pk360-header-search-input:focus-visible,
.pk360-header-search-input:active {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Chrome / Edge: autofill nie wprowadza własnej ramki tła wokół pola */
.pk360-header-search-input:-webkit-autofill,
.pk360-header-search-input:-webkit-autofill:hover,
.pk360-header-search-input:-webkit-autofill:focus,
.pk360-header-search-input:-webkit-autofill:focus-visible {
  -webkit-text-fill-color: #0d0d0d;
  caret-color: #0d0d0d;
  box-shadow: 0 0 0 1000px rgba(250, 250, 250, 0.01) inset !important;
  transition: background-color 5000s ease 0s;
}

.pk360-header-search-input::placeholder {
  color: #b5872a;
  opacity: 0.6;
}

.pk360-header-search-clear {
  position: relative;
  z-index: 2;
  background: #e8e6e0;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9c9a94;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
  padding: 0;
}

.pk360-header-search-clear:hover {
  background: #c8c5bc;
  color: #0d0d0d;
}

.pk360-header-search-spinner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pk360-search-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: max(100%, min(480px, calc(100vw - 40px)));
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 500;
}

.pk360-search-panel-mobile-input {
  display: none;
  padding: 12px 16px;
  border-bottom: 0.5px solid #e8e6e0;
}

.pk360-search-enter {
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.pk360-search-enter-start {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.pk360-search-enter-end {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pk360-spin {
  animation: pk360Spin 0.8s linear infinite;
  color: #b5872a;
}

@keyframes pk360Spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.pk360-search-results {
  max-height: 440px;
  overflow-y: auto;
}

.pk360-search-results::-webkit-scrollbar {
  width: 4px;
}

.pk360-search-results::-webkit-scrollbar-track {
  background: transparent;
}

.pk360-search-results::-webkit-scrollbar-thumb {
  background: #e8e6e0;
  border-radius: 2px;
}

.pk360-search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  font-size: 13px;
  color: #9c9a94;
}

.pk360-search-loading-dots {
  display: flex;
  gap: 4px;
}

.pk360-search-loading-dots span {
  width: 6px;
  height: 6px;
  background: #b5872a;
  border-radius: 50%;
  animation: pk360Bounce 0.8s ease-in-out infinite;
}

.pk360-search-loading-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.pk360-search-loading-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes pk360Bounce {
  0%,
  80%,
  100% {
    transform: scale(0.7);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.pk360-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  text-align: center;
  gap: 8px;
}

.pk360-search-empty p {
  font-size: 14px;
  font-weight: 600;
  color: #0d0d0d;
  margin: 0;
}

.pk360-search-empty span {
  font-size: 12px;
  color: #9c9a94;
}

.pk360-search-results-header {
  padding: 10px 16px 6px;
  font-size: 11px;
  color: #9c9a94;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 0.5px solid #f5f4f0;
}

.pk360-search-group {
  padding-bottom: 4px;
}

.pk360-search-group-label {
  padding: 10px 16px 6px;
  font-size: 10px;
  font-weight: 700;
  color: #b5872a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pk360-search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.1s;
  cursor: pointer;
  color: inherit;
}

.pk360-search-result-item:hover,
.pk360-search-result-item.focused {
  background: #f5f4f0;
}

.pk360-search-result-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(181, 135, 42, 0.06);
  border: 0.5px solid #e8e6e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pk360-search-result-thumb-placeholder {
  color: #b5872a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-search-result-info {
  flex: 1;
  min-width: 0;
}

.pk360-search-result-type {
  font-size: 10px;
  font-weight: 700;
  color: #b5872a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.pk360-search-result-title {
  font-size: 13px;
  font-weight: 600;
  color: #0d0d0d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pk360-search-result-title mark {
  background: rgba(181, 135, 42, 0.15);
  color: #b5872a;
  border-radius: 2px;
  padding: 0 2px;
  font-weight: 700;
}

.pk360-search-result-meta {
  font-size: 11px;
  color: #9c9a94;
  margin-top: 2px;
}

.pk360-search-result-price {
  font-size: 13px;
  font-weight: 700;
  color: #0d0d0d;
  flex-shrink: 0;
  white-space: nowrap;
}

.pk360-search-price-free {
  color: #1e8c6a;
  font-size: 12px;
}

.pk360-search-result-arrow {
  color: #c8c5bc;
  flex-shrink: 0;
  transition: color 0.1s, transform 0.1s;
}

.pk360-search-result-item:hover .pk360-search-result-arrow,
.pk360-search-result-item.focused .pk360-search-result-arrow {
  color: #b5872a;
  transform: translateX(2px);
}

.pk360-search-footer {
  padding: 12px 16px;
  border-top: 0.5px solid #e8e6e0;
}

.pk360-search-all-link {
  font-size: 13px;
  color: #b5872a;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pk360-search-all-link:hover {
  text-decoration: underline;
}

.pk360-search-popular {
  padding: 4px 0 12px;
}

.pk360-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 12px;
}

.pk360-search-tag {
  font-size: 12px;
  font-weight: 500;
  color: #5a5855;
  background: #f5f4f0;
  border: 0.5px solid #e8e6e0;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.pk360-search-tag:hover {
  background: rgba(181, 135, 42, 0.08);
  border-color: rgba(181, 135, 42, 0.25);
  color: #b5872a;
}

@media (max-width: 1023px) {
  .pk360-header-search {
    display: none;
  }

  .pk360-search-mobile-toggle {
    display: inline-flex;
  }

  .pk360-search-wrap {
    flex: 0 0 auto;
    margin: 0 4px 0 0;
    min-width: 0;
    max-width: none;
  }

  .pk360-search-panel {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    max-height: calc(100vh - 64px);
    overflow: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  }

  .pk360-search-panel-mobile-input {
    display: block;
  }
}

@media (max-width: 768px) {
  .pk360-search-panel {
    top: 56px;
    max-height: calc(100vh - 56px);
  }
}

/* Strona dziękujemy (WooCommerce order-received) */
body.woocommerce-order-received .site-main-inner > h1:first-child:empty {
  display: none;
}

/* ── Strona dziękujemy (pk360-ty) ───────────────── */
.pk360-thankyou-wrap {
  max-width: none;
  margin: 0;
  padding: 0;
  background: #f5f4f0;
  min-height: calc(100vh - 64px);
}

body.woocommerce-order-received .site-main,
body.woocommerce-order-received .site-main-inner {
  background: #f5f4f0;
}

/* ── Order-received: domyślny formularz logowania WC (gość / inny użytkownik) ── */
body.woocommerce-order-received .site-main-inner:has(form.woocommerce-form-login.login) {
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  padding-top: 1.25rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  body.woocommerce-order-received .site-main-inner:has(form.woocommerce-form-login.login) {
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
    padding-top: 1.5rem;
  }
}

body.woocommerce-order-received .woocommerce-notices-wrapper,
body.woocommerce-order-received p.woocommerce-notice,
body.woocommerce-order-received ul.woocommerce-error {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.woocommerce-order-received p.woocommerce-notice.woocommerce-thankyou-order-received,
body.woocommerce-order-received p.woocommerce-notice--success.woocommerce-thankyou-order-received {
  background: rgba(30, 140, 106, 0.1);
  border: 1px solid rgba(30, 140, 106, 0.28);
  border-radius: 12px;
  padding: 1rem 1.125rem;
  color: #0d0d0d;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 600;
}

body.woocommerce-order-received p.woocommerce-notice--info,
body.woocommerce-order-received .woocommerce-info {
  background: rgba(212, 168, 67, 0.12);
  border: 1px solid rgba(181, 135, 42, 0.28);
  border-radius: 12px;
  padding: 1rem 1.125rem;
  color: #3d3426;
  font-size: 0.875rem;
  line-height: 1.55;
  list-style: none;
}

body.woocommerce-order-received .woocommerce-info::before,
body.woocommerce-order-received p.woocommerce-notice--info::before {
  display: none;
}

body.woocommerce-order-received form.woocommerce-form-login.login {
  max-width: 26rem;
  margin: 1.25rem auto 2rem;
  padding: 1.35rem 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e8e6e0;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

body.woocommerce-order-received form.woocommerce-form-login.login .form-row {
  margin: 0 0 1rem;
  padding: 0;
}

body.woocommerce-order-received form.woocommerce-form-login.login .form-row label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #5a5855;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

body.woocommerce-order-received form.woocommerce-form-login.login .form-row .required {
  color: #b5872a;
}

body.woocommerce-order-received form.woocommerce-form-login.login .input-text,
body.woocommerce-order-received form.woocommerce-form-login.login input[type="text"],
body.woocommerce-order-received form.woocommerce-form-login.login input[type="password"],
body.woocommerce-order-received form.woocommerce-form-login.login input[type="email"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 0.55rem 0.85rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #0d0d0d;
  background: #fafafa;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.woocommerce-order-received form.woocommerce-form-login.login .input-text:focus,
body.woocommerce-order-received form.woocommerce-form-login.login input:focus {
  outline: none;
  border-color: #d4a843;
  box-shadow: 0 0 0 1px rgba(212, 168, 67, 0.35);
  background: #fff;
}

body.woocommerce-order-received form.woocommerce-form-login.login .password-input {
  display: block;
  position: relative;
}

body.woocommerce-order-received form.woocommerce-form-login.login .show-password-input {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid #e8e6e0;
  border-radius: 8px;
  background: #fff;
  color: #5a5855;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-indent: 0;
  overflow: hidden;
  box-sizing: border-box;
}

body.woocommerce-order-received form.woocommerce-form-login.login .password-input input {
  padding-right: 52px;
}

body.woocommerce-order-received form.woocommerce-form-login.login .woocommerce-password-strength,
body.woocommerce-order-received form.woocommerce-form-login.login .woocommerce-password-hint {
  display: none !important;
}

body.woocommerce-order-received form.woocommerce-form-login.login .clear {
  display: none;
}

body.woocommerce-order-received form.woocommerce-form-login.login .woocommerce-form__label-for-checkbox,
body.woocommerce-order-received form.woocommerce-form-login.login .woocommerce-form__label-for-checkbox-inline,
body.woocommerce-order-received form.woocommerce-form-login.login label.woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #5a5855;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}

body.woocommerce-order-received form.woocommerce-form-login.login .woocommerce-form__label-for-checkbox input[type="checkbox"],
body.woocommerce-order-received form.woocommerce-form-login.login .woocommerce-form__label-for-checkbox-inline input[type="checkbox"],
body.woocommerce-order-received form.woocommerce-form-login.login label.woocommerce-form-login__rememberme input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  margin: 0;
  accent-color: #1e8c6a;
  border: 1px solid #bcb6ab;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}

body.woocommerce-order-received form.woocommerce-form-login.login .woocommerce-form-login__submit,
body.woocommerce-order-received form.woocommerce-form-login.login button[type="submit"],
body.woocommerce-order-received form.woocommerce-form-login.login input[type="submit"] {
  width: 100%;
  margin-top: 0.25rem;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 10px;
  background: #1e8c6a !important;
  color: #ffffff !important;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

body.woocommerce-order-received form.woocommerce-form-login.login .woocommerce-form-login__submit:hover,
body.woocommerce-order-received form.woocommerce-form-login.login button[type="submit"]:hover {
  opacity: 0.92;
  filter: brightness(1.02);
}

body.woocommerce-order-received form.woocommerce-form-login.login .lost_password {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.875rem;
}

body.woocommerce-order-received form.woocommerce-form-login.login .lost_password a {
  color: #b5872a;
  font-weight: 600;
  text-decoration: none;
}

body.woocommerce-order-received form.woocommerce-form-login.login .lost_password a:hover {
  text-decoration: underline;
}

/* Przycisk „pokaż hasło” WC bez dashicons — na mobile często „dziwna” kropka / półokrąg */
@media (max-width: 639px) {
  body.woocommerce-order-received form.woocommerce-form-login.login .show-password-input {
    display: none !important;
  }

  body.woocommerce-order-received form.woocommerce-form-login.login .password-input input {
    padding-right: 0.85rem;
  }
}

/* Hero */
.pk360-ty-hero {
  background: #0d0d0d;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pk360-ty-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 140, 106, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.pk360-ty-hero--pending::before {
  background: radial-gradient(circle, rgba(181, 135, 42, 0.06) 0%, transparent 65%);
}

.pk360-ty-hero-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pk360-ty-success-icon {
  width: 72px;
  height: 72px;
  background: rgba(30, 140, 106, 0.12);
  border: 1.5px solid rgba(30, 140, 106, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: pk360TySuccess 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes pk360TySuccess {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.pk360-ty-pending-icon {
  width: 72px;
  height: 72px;
  background: rgba(181, 135, 42, 0.1);
  border: 1.5px solid rgba(181, 135, 42, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.pk360-ty-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pk360-ty-title {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 14px;
}

.pk360-ty-emoji {
  position: static;
  display: inline;
  font-style: normal;
  font-size: 0.85em;
  vertical-align: 0.08em;
  margin-left: 4px;
}

.pk360-ty-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin: 0;
}

/* Główna treść */
.pk360-ty-content {
  padding: 40px;
}

.pk360-ty-content-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.pk360-ty-main {
  min-width: 0;
}

/* Sekcje */
.pk360-ty-section {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
}

.pk360-ty-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.3px;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid #e8e6e0;
}

.pk360-ty-empty-hint {
  color: #5a5855;
  font-size: 14px;
  line-height: 1.6;
}

/* Karty kursów / produktów */
.pk360-ty-courses {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pk360-ty-course-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #fafaf8;
  border: 0.5px solid #e8e6e0;
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pk360-ty-course-card:hover {
  border-color: rgba(181, 135, 42, 0.25);
}

.pk360-ty-course-thumb {
  width: 56px;
  height: 56px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(181, 135, 42, 0.06);
}

.pk360-ty-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pk360-ty-course-thumb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-ty-course-info {
  flex: 1;
  min-width: 0;
}

.pk360-ty-course-type {
  font-size: 10px;
  font-weight: 700;
  color: #b5872a;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
}

.pk360-ty-course-name {
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

.pk360-ty-course-access {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #1e8c6a;
  font-weight: 500;
}

.pk360-ty-course-cta {
  flex-shrink: 0;
}

/* Kroki „Co dalej” */
.pk360-ty-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pk360-ty-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 0.5px solid #e8e6e0;
}

.pk360-ty-step:last-child {
  border-bottom: none;
}

.pk360-ty-step-num {
  width: 28px;
  height: 28px;
  background: #0d0d0d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.pk360-ty-step-content {
  flex: 1;
  min-width: 0;
}

.pk360-ty-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 3px;
}

.pk360-ty-step-desc {
  font-size: 13px;
  color: #9c9a94;
  line-height: 1.55;
}

/* CTA do konta */
.pk360-ty-account-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Przyciski */
.pk360-ty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border: 0.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, filter 0.15s;
  white-space: nowrap;
}

.pk360-ty-btn--primary {
  background: #1e8c6a;
  color: #fff;
}

.pk360-ty-btn--primary:hover,
.pk360-ty-btn--primary:focus {
  background: #166b52;
  color: #fff;
}

.pk360-ty-btn--black {
  background: #0d0d0d;
  color: #fff;
}

.pk360-ty-btn--black:hover,
.pk360-ty-btn--black:focus {
  background: #1a1a1a;
  color: #fff;
}

.pk360-ty-btn--outline {
  background: #fff;
  color: #0d0d0d;
  border-color: #e8e6e0;
}

.pk360-ty-btn--outline:hover,
.pk360-ty-btn--outline:focus {
  border-color: #c8c5bc;
  background: #f5f4f0;
  color: #0d0d0d;
}

/* Sidebar — podsumowanie */
.pk360-ty-sidebar {
  min-width: 0;
}

.pk360-ty-order-summary {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 14px;
}

.pk360-ty-order-title {
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid #e8e6e0;
}

.pk360-ty-order-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13px;
  color: #5a5855;
  gap: 8px;
}

.pk360-ty-status-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.pk360-ty-status-badge.paid {
  background: rgba(30, 140, 106, 0.08);
  border: 0.5px solid rgba(30, 140, 106, 0.2);
  color: #1e8c6a;
}

.pk360-ty-status-badge.pending {
  background: rgba(181, 135, 42, 0.08);
  border: 0.5px solid rgba(181, 135, 42, 0.2);
  color: #b5872a;
}

/* Lista produktów w podsumowaniu */
.pk360-ty-order-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid #e8e6e0;
  margin-bottom: 14px;
}

.pk360-ty-order-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pk360-ty-order-item-thumb {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
}

.pk360-ty-order-item-info {
  flex: 1;
  min-width: 0;
}

.pk360-ty-order-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #0d0d0d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pk360-ty-order-item-qty {
  font-size: 11px;
  color: #9c9a94;
}

.pk360-ty-order-item-price {
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
  flex-shrink: 0;
}

/* Totale */
.pk360-ty-order-totals {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid #e8e6e0;
  margin-bottom: 14px;
}

.pk360-ty-order-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #5a5855;
  gap: 8px;
}

.pk360-ty-order-discount {
  color: #1e8c6a;
  font-weight: 600;
}

.pk360-ty-order-row--total {
  font-size: 16px;
  font-weight: 800;
  color: #0d0d0d;
  padding-top: 4px;
}

/* Metoda płatności i data */
.pk360-ty-order-payment,
.pk360-ty-order-date {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #9c9a94;
  margin-bottom: 7px;
}

/* Gwarancja */
.pk360-ty-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(30, 140, 106, 0.05);
  border: 0.5px solid rgba(30, 140, 106, 0.15);
  border-radius: 9px;
  padding: 12px;
  margin-top: 14px;
}

.pk360-ty-guarantee-title {
  font-size: 13px;
  font-weight: 700;
  color: #0d0d0d;
  margin: 0 0 2px;
}

.pk360-ty-guarantee-desc {
  font-size: 12px;
  color: #9c9a94;
  line-height: 1.45;
}

/* Kontakt + link do sklepu w sidebarze */
.pk360-ty-contact {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 8px;
}

.pk360-ty-contact-title {
  font-size: 13px;
  font-weight: 600;
  color: #0d0d0d;
  margin-bottom: 6px;
}

.pk360-ty-contact-body {
  font-size: 13px;
  color: #9c9a94;
  line-height: 1.6;
  margin: 0;
}

.pk360-ty-contact-mail {
  color: #b5872a;
  font-weight: 500;
  text-decoration: none;
  margin-left: 4px;
  word-break: break-all;
}

.pk360-ty-contact-mail:hover,
.pk360-ty-contact-mail:focus {
  text-decoration: underline;
  color: #0d0d0d;
}

.pk360-ty-sidebar-shop a {
  display: inline;
  font-size: 14px;
  font-weight: 600;
  color: #b5872a;
  text-decoration: underline;
}

.pk360-ty-notice.woocommerce-notice--error,
p.pk360-ty-notice.woocommerce-notice--error {
  max-width: 800px;
  margin: 0 auto 24px;
  padding: 0 20px;
}

p.pk360-ty-notice {
  text-align: center;
  margin: 24px auto;
  color: #5a5855;
  padding: 0 20px;
}

@media (max-width: 900px) {
  .pk360-ty-content-inner {
    grid-template-columns: 1fr;
  }

  .pk360-ty-sidebar {
    order: -1;
  }

  .pk360-ty-title {
    font-size: 28px;
  }

  .pk360-ty-content {
    padding: 20px 16px;
  }
}

@media (max-width: 640px) {
  .pk360-checkout-inner {
    padding: 0 16px;
  }
  .pk360-checkout-row {
    grid-template-columns: 1fr;
  }
}

/* ── Single Course & Archive ───────────────────── */

.pk360-course-landing {
  --pk360-black: #0d0d0d;
  --pk360-gold: #b5872a;
  --pk360-gold-light: #d4a843;
  --pk360-gold-bg: rgba(181, 135, 42, 0.08);
  --pk360-gold-border: rgba(181, 135, 42, 0.22);
  --pk360-bg: #f5f4f0;
  --pk360-border: #e8e6e0;
  --pk360-text-1: #0d0d0d;
  --pk360-text-2: #5a5855;
  --pk360-text-3: #9c9a94;
  --pk360-green: #1e8c6a;
  padding-bottom: 48px;
  /* overflow na tym kontenerze psuje position:sticky buy boxa względem viewport */
  overflow-x: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.site-main.pk360-main > .pk360-course-landing {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Główny nie obcina full-bleed hero (pseudo 100vw) */
body.single-product .site-main.pk360-main,
main.site-main.pk360-main:has(.pk360-course-landing) {
  overflow-x: visible;
  max-width: none;
}

body.single-product .site-main.pk360-main:has(.pk360-digital-product) {
  overflow-x: visible;
  max-width: none;
}

/* Produkt cyfrowy (ebook / materiał / pakiet): dolny pasek CTA na mobile — tytuł + cena + przycisk */
@media (max-width: 1023px) {
  .pk360-digital-product .pk360-buy-box-mobile-hide-pricing,
  .pk360-digital-product .pk360-buy-box-mobile-hide-cta {
    display: none !important;
  }
}

.pk360-digital-mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.65rem max(1rem, env(safe-area-inset-left, 0px)) calc(0.65rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.pk360-digital-mobile-cta-bar__inner {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pk360-digital-mobile-cta-bar__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

.pk360-digital-mobile-cta-bar__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0d0d0d;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.pk360-digital-mobile-cta-bar__price {
  flex-shrink: 0;
  max-width: 42%;
  min-width: 0;
  text-align: right;
}

.pk360-digital-mobile-cta-bar__price .pk360-buy-box-price-row {
  justify-content: flex-end;
}

.pk360-digital-mobile-cta-bar__btn {
  margin-top: 0.15rem;
  margin-bottom: 0;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .pk360-digital-product__buy-aside {
    top: var(--pk360-sticky-under-site-header, 92px);
  }
}

/* Opinie WooCommerce pod szablonem produktu cyfrowego */
.pk360-digital-product__reviews #comments,
.pk360-digital-product__reviews #review_form_wrapper {
  text-align: left;
}

.pk360-digital-product__reviews .woocommerce-Reviews-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0d0d0d;
}

/* Jedna siatka strony kursu: treść 1fr + buy box (~20% węższy niż 460px → 368px), max treści 1400px */
.pk360-course-hero-inner.pk360-course-content {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px 60px;
  display: grid;
  grid-template-columns: 1fr 368px;
  gap: 48px;
  /* stretch: prawa kolumna musi mieć pełną wysokość rzędów 1+2, inaczej sticky nie działa */
  align-items: stretch;
  box-sizing: border-box;
}

/* Rząd 1: hero na pełnej szerokości siatki (środek = środek viewport) | aside w kolumnie 2 przez oba rzędy */
.pk360-course-hero-inner.pk360-course-content > .pk360-course-hero-section.pk360-course-hero {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 368px;
  gap: 48px;
  align-items: flex-start;
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 52px 0;
  box-sizing: border-box;
  background: transparent;
}

.pk360-course-hero-inner.pk360-course-content > .pk360-course-sidebar {
  grid-column: 2;
  grid-row: 1 / span 2;
  z-index: 2;
  align-self: stretch;
  padding-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.pk360-course-hero-inner.pk360-course-content > .pk360-course-primary {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.pk360-course-primary {
  min-width: 0;
  padding-top: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Prawa kolumna: tylko sticky buy box — bez dodatkowego offsetu (żeby nie „wystawał” poza wiersz hero) */
.pk360-course-sidebar {
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
}

.pk360-course-sidebar .pk360-buy-box {
  position: -webkit-sticky;
  position: sticky;
  top: var(--pk360-sticky-under-site-header, 92px);
  align-self: flex-start;
  z-index: 2;
}

/* Czarne tło hero — ::before wyśrodkowany względem pełnej szerokości rzędu (nie wąskiej lewej kolumny) */
.pk360-course-hero-inner > .pk360-course-hero-section.pk360-course-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  top: 0;
  bottom: 0;
  margin-left: 0;
  margin-right: 0;
  background: var(--pk360-black);
  z-index: 0;
  pointer-events: none;
}

/* ── Hero dekoracje (single course) ──────────────────── */
.pk360-hero-decorations {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Landing kursu: dekoracje wychodzą poza inset (kręgi ujemne top) — sekcja obcina na max-lg (zaokrąglenia) */
.pk360-single-course .pk360-course-hero-section .pk360-hero-decorations {
  overflow: visible;
}

.pk360-course-hero-section.pk360-course-hero {
  position: relative;
}

.pk360-course-hero-section.pk360-course-hero > *:not(.pk360-hero-decorations) {
  position: relative;
  z-index: 1;
}

/* ── Złote glowy ─────────────────────── */
.pk360-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.pk360-hero-glow--top-right {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(181, 135, 42, 0.12) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation: pk360GlowPulse 6s ease-in-out infinite;
}

.pk360-hero-glow--bottom-left {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.07) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  animation: pk360GlowPulse 8s ease-in-out infinite reverse;
}

@keyframes pk360GlowPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* ── Siatka kropek ───────────────────── */
.pk360-hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(181, 135, 42, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 20%, transparent 100%);
  opacity: 0.4;
}

/* ── Złote linie ─────────────────────── */
.pk360-hero-lines {
  position: absolute;
  inset: 0;
}

.pk360-hero-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(181, 135, 42, 0.2), transparent);
  height: 0.5px;
}

.pk360-hero-line--1 {
  width: 60%;
  top: 30%;
  left: -10%;
  transform: rotate(-8deg);
  animation: pk360LineSlide1 8s ease-in-out infinite;
}

.pk360-hero-line--2 {
  width: 40%;
  top: 60%;
  right: -5%;
  transform: rotate(5deg);
  animation: pk360LineSlide2 10s ease-in-out infinite reverse;
}

.pk360-hero-line--3 {
  width: 30%;
  top: 80%;
  left: 20%;
  transform: rotate(-3deg);
  animation: pk360LineSlide3 12s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes pk360LineSlide1 {
  0%,
  100% {
    opacity: 0.3;
    transform: rotate(-8deg) translateX(0);
  }
  50% {
    opacity: 0.7;
    transform: rotate(-8deg) translateX(20px);
  }
}

@keyframes pk360LineSlide2 {
  0%,
  100% {
    opacity: 0.3;
    transform: rotate(5deg) translateX(0);
  }
  50% {
    opacity: 0.7;
    transform: rotate(5deg) translateX(20px);
  }
}

@keyframes pk360LineSlide3 {
  0%,
  100% {
    opacity: 0.3;
    transform: rotate(-3deg) translateX(0);
  }
  50% {
    opacity: 0.7;
    transform: rotate(-3deg) translateX(20px);
  }
}

/* ── Okręgi dekoracyjne ──────────────── */
.pk360-hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 0.5px solid rgba(181, 135, 42, 0.12);
  pointer-events: none;
}

.pk360-hero-circle--1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: 15%;
  animation: pk360CircleRotate 20s linear infinite;
}

.pk360-hero-circle--2 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: 5%;
  border-color: rgba(181, 135, 42, 0.06);
  animation: pk360CircleRotate 30s linear infinite reverse;
}

@keyframes pk360CircleRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ── Złote cząsteczki ────────────────── */
.pk360-hero-particle {
  position: absolute;
  background: rgba(212, 168, 67, 0.4);
  border-radius: 2px;
  pointer-events: none;
}

.pk360-hero-particle--1 {
  width: 6px;
  height: 6px;
  top: 20%;
  left: 8%;
  transform: rotate(45deg);
  animation: pk360ParticleFloat 6s ease-in-out infinite;
}

.pk360-hero-particle--2 {
  width: 4px;
  height: 4px;
  top: 65%;
  left: 15%;
  transform: rotate(45deg);
  opacity: 0.6;
  animation: pk360ParticleFloat 8s ease-in-out infinite 2s;
}

.pk360-hero-particle--3 {
  width: 5px;
  height: 5px;
  top: 40%;
  right: 40%;
  transform: rotate(45deg);
  opacity: 0.5;
  animation: pk360ParticleFloat 7s ease-in-out infinite 1s;
}

.pk360-hero-particle--4 {
  width: 3px;
  height: 3px;
  bottom: 25%;
  right: 45%;
  transform: rotate(45deg);
  opacity: 0.4;
  animation: pk360ParticleFloat 9s ease-in-out infinite 3s;
}

@keyframes pk360ParticleFloat {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: rotate(45deg) translateY(-12px);
    opacity: 0.8;
  }
}

/* ── Złoty gradient na dole hero ─────── */
.pk360-course-hero-inner > .pk360-course-hero-section.pk360-course-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  width: auto;
  height: 1px;
  transform: none;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(181, 135, 42, 0.3) 30%,
    rgba(212, 168, 67, 0.5) 50%,
    rgba(181, 135, 42, 0.3) 70%,
    transparent
  );
  z-index: 2;
  pointer-events: none;
}

/* Landing kursu (siatka bez .pk360-course-hero-inner): to samo tło 100vw + złota linia — klasy w single-course.php */
.pk360-single-course .pk360-course-landing__grid > .pk360-course-hero-section.pk360-course-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  top: 0;
  bottom: 0;
  margin-left: 0;
  margin-right: 0;
  background: var(--pk360-black);
  z-index: 0;
  pointer-events: none;
}

.pk360-single-course .pk360-course-landing__grid > .pk360-course-hero-section.pk360-course-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  width: auto;
  height: 1px;
  transform: none;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(181, 135, 42, 0.3) 30%,
    rgba(212, 168, 67, 0.5) 50%,
    rgba(181, 135, 42, 0.3) 70%,
    transparent
  );
  z-index: 2;
  pointer-events: none;
}

.pk360-course-hero-section.pk360-course-hero .pk360-course-hero-main {
  grid-column: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: none;
}

.pk360-course-hero-main {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.pk360-course-hero-inner > .pk360-course-hero-section.pk360-course-hero .pk360-course-hero-desc {
  max-width: 100%;
}

.pk360-course-breadcrumb-current {
  color: rgba(255, 255, 255, 0.3);
}

.pk360-course-hero-section .pk360-course-hero-title {
  font-size: clamp(38px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.pk360-course-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 9px 15px;
}

.pk360-course-rating-stars {
  color: #d4a843;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.pk360-course-rating-value {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.pk360-course-rating-count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.pk360-buy-box-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.pk360-buy-box-price {
  font-size: 38px;
  font-weight: 900;
}

.pk360-buy-box-price--free {
  font-size: 32px;
}

.pk360-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pk360-buy-btn--buy {
  background: #0d0d0d;
  color: #ffffff;
  border: none;
}

.pk360-buy-btn--buy:hover {
  background: #1a1a1a;
  color: #ffffff;
}

.pk360-buy-btn--free {
  background: linear-gradient(135deg, #d4a843, #b5872a);
  color: #0d0d0d;
  border: none;
}

.pk360-buy-btn--free:hover {
  filter: brightness(1.05);
  color: #0d0d0d;
}

.pk360-buy-btn--enrolled {
  background: #1e8c6a;
  color: #ffffff;
  border: none;
}

.pk360-buy-btn--enrolled:hover {
  background: #1a7a5d;
  color: #ffffff;
}

.pk360-buy-btn--outline {
  margin-top: 10px;
  height: 48px;
  border: 1px solid #0d0d0d;
  color: #0d0d0d;
  background: transparent;
  font-weight: 600;
}

.pk360-buy-btn--outline:hover {
  background: #f5f4f0;
}

.pk360-buy-box-includes-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9c9a94;
  margin: 0 0 12px;
}

.pk360-course-body-band {
  background: #f5f4f0;
  padding: 40px 0 56px;
  margin: 0;
}

/* Pełna szerokość pod gridem kursu — powiązane kursy */
.pk360-course-related-band {
  background: #f5f4f0;
  border-top: 0.5px solid #e8e6e0;
  width: 100%;
  box-sizing: border-box;
}

.pk360-course-related-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 48px 32px;
  box-sizing: border-box;
}

.pk360-course-related-title {
  font-size: 20px;
  font-weight: 700;
  color: #0d0d0d;
  margin: 0 0 24px;
  letter-spacing: -0.3px;
}

.pk360-course-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* —— Powiązane kursy: ciemna sekcja (karta wariant related-dark) —— */
.pk360-course-related-band--dark {
  background: #0d0d0d;
  border-top: 0.5px solid #2a2a2a;
}

.pk360-course-related-band--dark .pk360-course-related-inner {
  background: transparent;
  padding: 0;
  max-width: 1280px;
}

.pk360-course-related-rail--dark {
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* legacy Edge */
}

.pk360-course-related-rail--dark::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.pk360-course-related-rail--dark .pk360-product-card--related-dark {
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: min(100%, 280px);
  max-width: 420px;
  width: min(100%, 360px);
  scroll-snap-align: start;
}

.pk360-related-arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid #d4a843;
  color: #d4a843;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

@media (min-width: 640px) {
  .pk360-related-arrow {
    width: 3rem;
    height: 3rem;
  }
}

.pk360-related-arrow:hover {
  background: #d4a843;
  color: #0d0d0d;
  border-color: #d4a843;
}

a.pk360-card-btn.pk360-card-btn--related-gold,
button.pk360-card-btn.pk360-card-btn--related-gold {
  background: #d4a843;
  color: #0d0d0d;
  border: none;
  font-weight: 800;
  padding: 0.6rem 1.25rem;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

a.pk360-card-btn.pk360-card-btn--related-gold:hover,
button.pk360-card-btn.pk360-card-btn--related-gold:hover {
  background: #b88f35;
  color: #0d0d0d;
}

.pk360-product-card--related-dark .pk360-product-card-m3-footer {
  background: transparent;
  border-color: #333;
}

.pk360-product-card--related-dark .pk360-product-card-m3-footer--has-status {
  align-items: flex-end;
  padding-top: 1.25rem;
}

.pk360-course-more {
  padding: 32px 0 16px;
  background: #f5f4f0;
  margin: 0;
}

.pk360-course-more-title {
  font-size: 18px;
  font-weight: 700;
  color: #0d0d0d;
  margin: 0 0 18px;
  letter-spacing: -0.3px;
}

.pk360-course-maybe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pk360-course-bottom-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  padding: 8px 0 48px;
  background: #f5f4f0;
}

.pk360-course-bottom-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0d0d0d;
  margin: 0 0 12px;
}

.pk360-aside-card--flush {
  margin: 0;
  height: 100%;
}

.pk360-course-bottom-col .pk360-aside-also-list {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 12px 16px;
}

.pk360-course-bottom-col .pk360-aside-also-name {
  color: #0d0d0d;
}

.pk360-course-bottom-col .pk360-aside-also-item {
  border-bottom-color: #e8e6e0;
}

.pk360-course-bottom-col .pk360-aside-also-thumb--empty {
  border: 0.5px solid #e8e6e0;
  background: #f5f4f0;
}

.pk360-course-main {
  min-width: 0;
  padding-top: 32px;
}

.pk360-program-head {
  margin-bottom: 20px;
}

.pk360-section-card-title--inline {
  margin-bottom: 8px;
}

.pk360-program-summary {
  font-size: 13px;
  color: #5a5855;
  margin: 0 0 12px;
}

.pk360-program-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.pk360-program-toggle {
  background: none;
  border: none;
  padding: 0;
  color: #b5872a;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pk360-program-toggle:hover {
  color: #0d0d0d;
}

.pk360-program-toggle-sep {
  color: #9c9a94;
}

.pk360-curriculum-toggles {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.pk360-curriculum-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(210, 197, 177, 0.9);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #0d0d0d;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s;
  user-select: none;
}

.pk360-curriculum-toggle__ico {
  font-size: 18px;
  line-height: 1;
  color: #b5872a;
}

.pk360-curriculum-toggle:hover {
  border-color: rgba(181, 135, 42, 0.45);
  background: rgba(181, 135, 42, 0.12);
  transform: translateY(-1px);
}

.pk360-curriculum-toggle:active {
  transform: translateY(0);
  background: rgba(181, 135, 42, 0.18);
}

.pk360-curriculum-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(181, 135, 42, 0.22);
}

.pk360-curriculum-toggle:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.pk360-curriculum-head-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  gap: 0;
}

.pk360-lesson-row-main {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  gap: 0;
}

.pk360-includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}

.pk360-include-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pk360-include-cell strong {
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
}

.pk360-include-cell span:last-child {
  font-size: 12px;
  color: #5a5855;
}

.pk360-include-icon {
  color: #b5872a;
  margin-bottom: 6px;
}

.pk360-include-icon svg {
  display: block;
}

.pk360-outcome-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(181, 135, 42, 0.08);
  border: 0.5px solid rgba(181, 135, 42, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #b5872a;
}

.pk360-outcome-text {
  font-size: 13px;
  color: #5a5855;
  line-height: 1.55;
}

.pk360-course-cta-banner--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 28px 32px;
}

.pk360-course-cta-text {
  flex: 1;
  min-width: 200px;
}

.pk360-course-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.pk360-course-cta-btn--secondary {
  background: transparent;
  border: 1px solid rgba(212, 168, 67, 0.5);
  color: #d4a843;
}

.pk360-course-cta-btn--secondary:hover {
  background: rgba(212, 168, 67, 0.12);
}

.pk360-course-cta-banner--questions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 36px 28px;
}

.pk360-course-cta-questions-text {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.pk360-course-cta-btn--questions {
  padding: 14px 28px;
  font-size: 15px;
}

.pk360-instructor-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pk360-instructor-headlines {
  flex: 1;
  min-width: 0;
}

.pk360-aside-card {
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.pk360-aside-card--dark {
  background: #0d0d0d;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.pk360-aside-card--light {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
}

.pk360-aside-card-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: inherit;
}

.pk360-aside-card--dark .pk360-aside-card-title {
  color: rgba(255, 255, 255, 0.55);
}

.pk360-aside-card-text {
  font-size: 13px;
  line-height: 1.6;
  color: #5a5855;
  margin: 0 0 12px;
}

.pk360-aside-card--dark .pk360-aside-card-text {
  color: rgba(255, 255, 255, 0.45);
}

.pk360-aside-card-link {
  font-size: 13px;
  font-weight: 600;
  color: #d4a843;
  text-decoration: none;
}

.pk360-aside-card-link:hover {
  text-decoration: underline;
}

.pk360-aside-also-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pk360-aside-also-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
}

.pk360-aside-also-list li:last-child .pk360-aside-also-item {
  border-bottom: none;
  padding-bottom: 0;
}

.pk360-aside-also-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.06);
}

.pk360-aside-also-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pk360-aside-also-thumb--empty {
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.pk360-aside-also-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pk360-aside-also-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

.pk360-aside-also-price {
  font-size: 12px;
  color: #d4a843;
}

.pk360-aside-also-price .woocommerce-Price-amount {
  color: inherit;
}

.pk360-course-page {
  padding-bottom: 48px;
}

.pk360-course-page-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 368px;
  gap: 48px;
  align-items: flex-start;
  padding: 0 32px 60px;
}

.pk360-course-breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}

.pk360-course-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.pk360-course-breadcrumb a:hover {
  color: #d4a843;
}

.pk360-bc-sep {
  margin: 0 6px;
  opacity: 0.5;
}

.pk360-course-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pk360-course-hero-tag--best {
  background: rgba(79, 175, 128, 0.12);
  border-color: rgba(79, 175, 128, 0.35);
  color: #4faf80;
}

/* Tylko layout stron webinar/plik — NIE landing kursu (tam jest .pk360-course-hero-section.pk360-course-hero) */
.pk360-course-main-col .pk360-course-hero {
  background: #0d0d0d;
  padding: 52px 48px 48px;
  position: relative;
  overflow: hidden;
  margin-left: -48px;
  margin-right: -48px;
  padding-left: 48px;
  padding-right: 48px;
}

.pk360-course-main-col > .pk360-course-hero {
  border-radius: 0;
}

.pk360-course-main-col .pk360-course-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(181, 135, 42, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pk360-course-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(181, 135, 42, 0.08);
  border: 0.5px solid rgba(181, 135, 42, 0.22);
  color: #d4a843;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.pk360-course-hero-tags .pk360-course-hero-tag--gold {
  background: rgba(181, 135, 42, 0.08);
  border: 0.5px solid rgba(181, 135, 42, 0.22);
  color: #d4a843;
  padding: 5px 12px;
  border-radius: 999px;
}

.pk360-course-hero-tags .pk360-course-hero-tag--dark {
  background: #0d0d0d;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
}

.pk360-course-hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.pk360-course-hero-title .pk360-gold {
  color: #d4a843;
}

.pk360-course-hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 580px;
}

.pk360-course-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.pk360-course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.pk360-course-meta-item svg {
  color: #b5872a;
  flex-shrink: 0;
}

.pk360-course-rating-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  padding: 9px 15px;
  border-radius: 9px;
}

/* Buy Box (kurs + webinar / plik) */
.pk360-buy-box {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: var(--pk360-sticky-under-site-header, 92px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.pk360-buy-box-thumb {
  position: relative;
  height: 180px;
  background: #0d0d0d;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

.pk360-buy-box-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.pk360-buy-box-thumb:hover img {
  opacity: 0.85;
}

.pk360-buy-box-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
}

.pk360-buy-box-thumb-play {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pk360-buy-box-thumb-label {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.pk360-buy-box-pricing {
  padding: 16px 20px 0;
}

.pk360-buy-box-pricing--light {
  background: #fff;
}

.pk360-buy-box-header--dark {
  background: #0d0d0d;
  padding: 0;
}

.pk360-buy-box-pricing--on-dark {
  padding: 16px 20px 12px;
}

.pk360-buy-box-pricing--on-dark .pk360-buy-box-price-main,
.pk360-buy-box-pricing--on-dark .pk360-buy-box-price-main .woocommerce-Price-amount {
  color: #d4a843;
}

.pk360-buy-box-pricing--on-dark .pk360-buy-box-price-old {
  color: rgba(255, 255, 255, 0.25);
}

.pk360-buy-box-price-main {
  font-size: 28px;
  font-weight: 900;
  color: #0d0d0d;
  letter-spacing: -1px;
  line-height: 1.15;
}

.pk360-buy-box-price-main .woocommerce-Price-amount,
.pk360-buy-box-price-main .woocommerce-Price-currencySymbol {
  color: inherit;
}

.pk360-buy-box-pricing--light .pk360-buy-box-price-main .woocommerce-Price-amount,
.pk360-buy-box-pricing--light .pk360-buy-box-price-main .woocommerce-Price-currencySymbol {
  color: #0d0d0d;
}

.pk360-buy-box-price-old {
  font-size: 14px;
  color: #9c9a94;
  text-decoration: line-through;
  margin-left: 8px;
}

.pk360-buy-box-price-save {
  font-size: 11px;
  font-weight: 700;
  background: #fef0e8;
  color: #c85a20;
  border: 0.5px solid #f5c6a0;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
}

.pk360-buy-box-pricing--on-dark .pk360-buy-box-price-save {
  background: rgba(254, 240, 232, 0.15);
  color: #f5c6a0;
  border-color: rgba(245, 198, 160, 0.4);
}

.pk360-buy-box-timer {
  font-size: 12px;
  color: #c85a20;
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 14px;
}

.pk360-buy-box-header {
  background: #0d0d0d;
  padding: 24px;
}

.pk360-buy-box-price .woocommerce-Price-amount,
.pk360-buy-box-price .woocommerce-Price-currencySymbol {
  color: #d4a843;
}

.pk360-buy-box-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 5px;
}

.pk360-buy-box-body {
  padding: 14px 20px 20px;
}

.pk360-buy-box-cta {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 10px;
  transition: background 0.15s ease, color 0.15s ease, filter 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.pk360-buy-box-cta.buy {
  background: #0d0d0d;
  color: #fff;
}

.pk360-buy-box-cta.buy:hover {
  background: #1a1a1a;
  color: #fff;
}

.pk360-buy-box-cta.free {
  background: #d4a843;
  color: #0d0d0d;
}

.pk360-buy-box-cta.free:hover {
  filter: brightness(1.05);
}

.pk360-buy-box-cta.enrolled {
  background: #1e8c6a;
  color: #fff;
}

.pk360-buy-box-cta.enrolled:hover {
  background: #1a7a5d;
  color: #fff;
}

.pk360-buy-box-includes {
  border-top: 0.5px solid #e8e6e0;
  padding-top: 14px;
}

.pk360-buy-box-includes-title {
  font-size: 11px;
  font-weight: 700;
  color: #0d0d0d;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 10px;
}

.pk360-buy-box-include-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #5a5855;
  margin-bottom: 8px;
}

.pk360-buy-box-include-item svg {
  width: 15px;
  height: 15px;
  color: #0d0d0d;
  flex-shrink: 0;
}

.pk360-buy-box-share {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 0.5px solid #e8e6e0;
  margin-top: 14px;
}

.pk360-buy-box-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0.5px solid #e8e6e0;
  border-radius: 10px;
  background: #faf9f7;
  color: #b5872a;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pk360-buy-box-share-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.pk360-buy-box-share-btn:hover {
  background: #f5f4f0;
  color: #0d0d0d;
  border-color: rgba(181, 135, 42, 0.35);
}

.pk360-buy-box-share-btn:focus-visible {
  outline: 2px solid #b5872a;
  outline-offset: 2px;
}

.pk360-buy-box-copy {
  background: #faf9f7;
  border: 0.5px solid #e8e6e0;
  border-radius: 10px;
  font-family: inherit;
}

.pk360-buy-box-copy:hover {
  color: #0d0d0d;
}

.pk360-buy-box-copy.is-copied {
  color: #1e8c6a;
  border-color: rgba(30, 140, 106, 0.35);
}

.pk360-buy-primary {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.pk360-buy-outline {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #0d0d0d;
  color: #0d0d0d;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}

.pk360-buy-outline:hover {
  background: #f5f4f0;
}

.pk360-buy-divider {
  border: none;
  border-top: 0.5px solid #e4e2dc;
  margin: 16px 0;
}

.pk360-buy-box-features {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.pk360-buy-box-feature {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #5a5855;
  margin-bottom: 9px;
}

.pk360-buy-box-check {
  width: 18px;
  height: 18px;
  background: rgba(181, 135, 42, 0.08);
  border: 0.5px solid rgba(181, 135, 42, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #b5872a;
}

.pk360-course-sidebar .pk360-buy-box-guarantee {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #9c9a94;
  margin: 0 0 16px;
  background: none;
  border: none;
  padding: 0;
  font-weight: 400;
}

.pk360-buy-box-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #1e8c6a;
  background: rgba(30, 140, 106, 0.1);
  border: 0.5px solid rgba(30, 140, 106, 0.25);
}

.pk360-course-main-col {
  min-width: 0;
  padding-top: 0;
}

.pk360-course-sidebar-col {
  padding-top: 52px;
}

.pk360-section-card {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 16px;
}

.pk360-section-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 3px solid #b5872a;
}

.pk360-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.pk360-outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #3d3a37;
  line-height: 1.5;
}

.pk360-covers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.pk360-cover-cell strong {
  display: block;
  font-size: 12px;
  color: #9c9a94;
  margin-bottom: 4px;
  font-weight: 600;
}

.pk360-cover-cell span {
  font-size: 14px;
  color: #0d0d0d;
}

.pk360-for-who-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pk360-for-who-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
  color: #3d3a37;
  line-height: 1.55;
}

.pk360-for-who-icon {
  color: #b5872a;
  flex-shrink: 0;
  margin-top: 2px;
}

/* „Dla kogo” na landing kursu — mała ikona, bez kwadratu ze strony głównej */
.pk360-course-for-who .pk360-for-who-icon {
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none !important;
  border: none !important;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b5872a;
}

.pk360-course-for-who .pk360-for-who-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.pk360-course-for-who .pk360-for-who-item {
  gap: 10px;
  align-items: center;
}

/* Długi opis kursu (WYSIWYG z ACF) */
.pk360-course-long-desc .pk360-course-long-desc-inner > *:first-child {
  margin-top: 0;
}

.pk360-course-long-desc .pk360-course-long-desc-inner > *:last-child {
  margin-bottom: 0;
}

.pk360-course-long-desc .pk360-course-long-desc-inner p {
  margin: 0 0 1em;
  color: inherit;
}

.pk360-course-long-desc .pk360-course-long-desc-inner ul,
.pk360-course-long-desc .pk360-course-long-desc-inner ol {
  margin: 0 0 1em 1.15em;
  padding-left: 0.1em;
}

.pk360-course-long-desc .pk360-course-long-desc-inner li {
  margin: 0.2em 0;
}

.pk360-course-long-desc .pk360-course-long-desc-inner a {
  color: #0f766e;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.pk360-course-long-desc .pk360-course-long-desc-inner a:hover {
  color: #115e59;
}

.pk360-course-long-desc .pk360-course-long-desc-inner h3,
.pk360-course-long-desc .pk360-course-long-desc-inner h4 {
  font-size: 1.05em;
  font-weight: 700;
  color: #0d0d0d;
  margin: 1.1em 0 0.45em;
}

/* Curriculum */
.pk360-curriculum-row {
  border: 0.5px solid #e4e2dc;
  border-radius: 9px;
  margin-bottom: 8px;
  overflow: hidden;
}

.pk360-curriculum-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: #f5f4f0;
  cursor: pointer;
  transition: background 0.12s;
  user-select: none;
}

.pk360-curriculum-head:hover {
  background: #eeecea;
}

.pk360-curriculum-section-num {
  font-size: 10px;
  font-weight: 800;
  color: #b5872a;
  background: rgba(181, 135, 42, 0.07);
  border: 0.5px solid rgba(181, 135, 42, 0.22);
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.06em;
  margin-right: 9px;
}

.pk360-curriculum-section-name {
  font-size: 14px;
  font-weight: 600;
  color: #0d0d0d;
  flex: 1;
}

.pk360-curriculum-section-meta {
  font-size: 12px;
  color: #9c9a94;
  margin-right: 10px;
}

.pk360-curriculum-chevron {
  color: #9c9a94;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.pk360-curriculum-chevron.open {
  transform: rotate(180deg);
}

.pk360-lesson-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 0.5px solid #e4e2dc;
  transition: background 0.12s;
}

.pk360-lesson-row:hover {
  background: #f5f4f0;
}

.pk360-lesson-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 9px;
}

.pk360-lesson-icon.video {
  background: rgba(181, 135, 42, 0.08);
  color: #b5872a;
}

.pk360-lesson-icon.pdf {
  background: rgba(30, 140, 106, 0.1);
  color: #1e8c6a;
}

.pk360-lesson-icon.free {
  background: #0d0d0d;
  color: #ffffff;
}

.pk360-lesson-name {
  font-size: 13px;
  color: #0d0d0d;
  flex: 1;
}

.pk360-lesson-free-badge {
  font-size: 10px;
  font-weight: 700;
  background: #0d0d0d;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 7px;
}

.pk360-lesson-duration {
  font-size: 12px;
  color: #9c9a94;
  flex-shrink: 0;
}

/* Instructor card (jasna karta) */
.pk360-instructor-card {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  color: #0d0d0d;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.pk360-instructor-card::after {
  display: none;
}

.pk360-instructor-avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #d4a843, #b5872a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: #0d0d0d;
  flex-shrink: 0;
}

.pk360-instructor-name {
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
}

.pk360-instructor-role {
  font-size: 12px;
  color: #d4a843;
  font-weight: 500;
}

.pk360-instructor-bio {
  font-size: 13px;
  color: #5a5855;
  line-height: 1.65;
  margin: 14px 0 20px;
}

.pk360-instructor-stats {
  display: flex;
  border-top: 0.5px solid #e8e6e0;
  padding-top: 18px;
}

.pk360-instructor-stat {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  border-right: 0.5px solid #e8e6e0;
}

.pk360-instructor-stat:last-child {
  border-right: none;
}

.pk360-instructor-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.5px;
}

.pk360-instructor-stat-label {
  font-size: 11px;
  color: #9c9a94;
  margin-top: 2px;
}

/* CTA banner */
.pk360-course-cta-banner {
  background: #0d0d0d;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  margin-bottom: 16px;
}

.pk360-course-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.pk360-course-cta-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 20px;
}

.pk360-course-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #d4a843;
  color: #0d0d0d;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.pk360-course-cta-btn:hover {
  background: #c49a3c;
}

.pk360-course-cta-btn--disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Siatka kart produktów / kursów */
.pk360-courses-grid,
.pk360-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

/* Karta produktu — base */
.pk360-product-card {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Wariant M3 (Tailwind w product-card) — brak lewitacji z legacy; obramowanie tylko z utili */
.pk360-product-card--m3 {
  cursor: default;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transform: none;
}
.pk360-product-card--m3:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.pk360-product-card:hover {
  transform: translateY(-4px);
  border-color: #c8c5bc;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

a.pk360-product-card-main {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* Opakowanie badge typu — szerokość wg treści (abspos + flex w kartach) */
.pk360-product-card-type-badge-wrap {
  width: max-content;
  max-width: none;
}

/* Badge typu produktu (Kurs VOD / Ebook PDF) — prawy górny róg miniatury M3; szerokość wg treści, bez ucinania */
.pk360-product-card-type-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.2rem;
  width: max-content;
  max-width: none;
  padding: 0.2rem 0.45rem 0.2rem 0.35rem;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.pk360-product-card-type-badge__icon {
  flex-shrink: 0;
  font-size: 14px !important;
  line-height: 1;
  width: 1em;
  height: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pk360-product-card-type-badge__text {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Darmowy kurs VOD / PDF — zielony badge typu (Kurs VOD, Ebook PDF…) */
.pk360-product-card--free-digital .pk360-product-card-type-badge {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.45);
  color: #fff;
}

@media (min-width: 640px) {
  .pk360-product-card-type-badge {
    font-size: 11px;
    padding: 0.25rem 0.5rem 0.25rem 0.4rem;
    border-radius: 7px;
  }

  .pk360-product-card-type-badge__icon {
    font-size: 15px !important;
  }
}

/* Zdjęcie — kontener */
.pk360-product-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #f5f4f0;
  display: block;
}

.pk360-product-card-image--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-product-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
}

/* Zdjęcie — zoom przy hover */
.pk360-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.pk360-product-card:hover .pk360-product-card-image img {
  transform: scale(1.06);
}

/* Nakładka na zdjęcie przy hover */
.pk360-product-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.pk360-product-card:hover .pk360-product-card-image::after {
  background: rgba(13, 13, 13, 0.15);
}

/* Przycisk „Zobacz kurs” na zdjęciu */
.pk360-card-hover-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  color: #0d0d0d;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
  pointer-events: none;
  font-family: "Inter", sans-serif;
}

.pk360-product-card:hover .pk360-card-hover-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Badge na zdjęciu — wyraźny kontrast na zdjęciach (tło + obramowanie + cień) */
.pk360-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.pk360-product-card:hover .pk360-card-badge {
  transform: scale(1.05);
}

.pk360-card-badge.new {
  background: #0d0d0d;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.pk360-card-badge.free {
  background: #059669;
  border: 2px solid #047857;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(5, 150, 105, 0.35);
}

.pk360-card-badge.sale {
  background: #dc2626;
  border: 2px solid #b91c1c;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0.35);
}

.pk360-card-badge.access {
  background: #ecfdf5;
  border: 2px solid #059669;
  color: #064e3b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

/* Body karty */
.pk360-product-card-body {
  padding: 18px 18px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Kategoria */
.pk360-card-category {
  font-size: 10px;
  font-weight: 700;
  color: #b5872a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 7px;
  transition: color 0.2s ease;
}

.pk360-product-card:hover .pk360-card-category {
  color: #d4a843;
}

/* Tytuł */
.pk360-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta */
.pk360-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.pk360-card-meta span {
  font-size: 11px;
  color: #9c9a94;
  display: flex;
  align-items: center;
  gap: 3px;
}

.pk360-card-meta svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

/* Rating */
.pk360-card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #5a5855;
  margin-bottom: 12px;
}

.pk360-card-stars {
  color: #b5872a;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.pk360-card-rating-count {
  color: #5a5855;
}

/* Pasek postępu (opcjonalnie w HTML) */
.pk360-card-progress {
  height: 3px;
  background: #e8e6e0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 5px;
}

.pk360-card-progress-fill {
  height: 100%;
  background: #1e8c6a;
  border-radius: 2px;
  transition: width 0.5s ease;
}

.pk360-card-progress-label {
  font-size: 11px;
  color: #1e8c6a;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Footer karty */
.pk360-product-card-footer,
.pk360-product-card-m3-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 18px;
  border-top: 0.5px solid #e8e6e0;
  margin-top: auto;
  gap: 10px;
}

/* M3: tylko przycisk CTA — wyrównanie do prawej */
.pk360-product-card-m3-footer {
  justify-content: flex-end;
}
/* Zapisany: „Posiadanie” z lewej, wąski CTA z prawej (jeden rząd) */
.pk360-product-card-m3-footer--has-status {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
}
/* Jednolita wysokość strefy CTA (np. strona główna): cena + przycisk vs posiadanie + przycisk */
.pk360-product-card-m3-footer--uniform {
  min-height: 6.25rem;
  align-items: center;
}
/* Posiadanie po lewej, „Przejdź do kursu” po prawej — jak cena + „Kup kurs” (space-between) */
.pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--owned-row {
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}
.pk360-product-card--related-dark .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--owned-row {
  align-items: center;
}
/* Cena po lewej (złoto) + CTA „Kup kurs” po prawej — cena ma pierwszeństwo szerokości, bez obcinania */
.pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--buy-row {
  justify-content: space-between;
  align-items: center;
  gap: 0.625rem 0.75rem;
  flex-wrap: wrap;
  row-gap: 0.5rem;
}
.pk360-product-card--related-dark .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--buy-row {
  align-items: center;
}
.pk360-product-card-m3-footer--buy-row .pk360-product-card-m3-footer-price--lead {
  flex: 0 0 auto;
  min-width: min-content;
  min-height: 0;
  padding-right: 0.25rem;
  align-items: flex-start;
  overflow: visible;
}
.pk360-product-card-m3-footer--buy-row .pk360-product-card-m3-footer-price--lead .pk360-product-card-m3-footer-price-inner {
  align-items: flex-start;
  text-align: left;
  min-height: 0;
  overflow: visible;
  flex-wrap: wrap;
}
.pk360-product-card-m3-footer--buy-row .pk360-product-card-m3-footer-price--lead .pk360-product-card-m3-footer-price-inner > span {
  white-space: nowrap;
}
.pk360-product-card-m3-footer--owned-row .pk360-product-card-m3-footer-left {
  min-height: 0;
}
/* Kurs płatny na karcie M3: wyeksponowana cena w złocie (skalowanie żeby zmieścić się obok CTA) */
.pk360-product-card--m3 .pk360-product-card-m3-footer--course-buy.pk360-product-card-m3-footer--buy-row .pk360-product-card-m3-footer-price--lead .pk360-product-card-m3-footer-price-inner > span:first-of-type {
  font-size: clamp(1rem, 2.2vw + 0.55rem, 1.375rem);
  font-weight: 900;
  color: #d4a843;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
/* Promocja: nadpisanie złota — cena promocyjna na czerwono (kurs + inne typy z wierszem „Kup”) */
.pk360-product-card--m3.pk360-product-card--on-sale .pk360-product-card-m3-footer--buy-row .pk360-product-card-m3-footer-price--lead .pk360-product-card-m3-footer-price-inner > span:first-of-type {
  color: #dc2626 !important;
}
.pk360-product-card--m3 .pk360-product-card-m3-footer--course-buy.pk360-product-card-m3-footer--buy-row .pk360-product-card-m3-footer-price--lead .pk360-product-card-m3-footer-price-inner > span + span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9c9a94;
}
.pk360-product-card-m3-footer-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4.25rem;
}
/* Cena po prawej (kolumna po przycisku CTA) */
.pk360-product-card-m3-footer-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  min-height: 4.25rem;
  text-align: right;
}
.pk360-product-card-m3-footer-price-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  min-height: 2.75rem;
}
/* Kup kurs / Przejdź do kursu / Odbierz — ten sam box na kartach M3 (cała witryna) */
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status > a.pk360-card-btn--m3-inline,
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status > button.pk360-card-btn--m3-inline {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 13.25rem;
  max-width: 100%;
  min-height: 36px;
  padding: 7px 8px;
  font-size: 11px;
  line-height: 1.2;
  justify-content: center;
  gap: 0.25rem;
  white-space: nowrap;
}
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status .pk360-card-btn__icon-inline {
  font-size: 1rem !important;
  width: 1rem;
  height: 1rem;
  line-height: 1;
  font-variation-settings: "FILL" 1;
}
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status > a.pk360-card-btn.pk360-card-btn--related-gold,
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status > button.pk360-card-btn.pk360-card-btn--related-gold {
  padding: 7px 8px;
  width: 13.25rem;
  max-width: 100%;
  min-height: 36px;
  font-size: 11px;
}
/* Wiersz „cena + Kup”: węższy CTA, żeby zmieścić pełną kwotę (nadpisuje szerokość 13.25rem powyżej) */
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--buy-row > a.pk360-card-btn--m3-inline,
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--buy-row > button.pk360-card-btn--m3-inline {
  width: auto;
  max-width: min(11.5rem, 46%);
  flex: 1 1 auto;
  flex-shrink: 1;
  min-width: 6.75rem;
  padding: 6px 10px;
  font-size: 10px;
}
@media (min-width: 400px) {
  .pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--buy-row > a.pk360-card-btn--m3-inline,
  .pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--buy-row > button.pk360-card-btn--m3-inline {
    max-width: min(13.25rem, 48%);
    padding: 7px 12px;
    font-size: 11px;
  }
}
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--buy-row > a.pk360-card-btn.pk360-card-btn--related-gold,
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--buy-row > button.pk360-card-btn.pk360-card-btn--related-gold {
  width: auto;
  max-width: min(11.5rem, 46%);
  flex-shrink: 1;
}
@media (min-width: 400px) {
  .pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--buy-row > a.pk360-card-btn.pk360-card-btn--related-gold,
  .pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--buy-row > button.pk360-card-btn.pk360-card-btn--related-gold {
    max-width: min(13.25rem, 48%);
  }
}
.pk360-product-card-m3-footer .pk360-card-btn {
  width: 100%;
  max-width: 100%;
}
@media (min-width: 480px) {
  .pk360-product-card-m3-footer .pk360-card-btn {
    width: auto;
  }
}

/* Posiadany kurs: „Przejdź do kursu” — szerokość jak „Kup kurs” (treść + padding, nie 100% karty) */
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--owned-row > a.pk360-card-btn--m3-inline,
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--owned-row > button.pk360-card-btn--m3-inline {
  width: auto;
  max-width: min(11.5rem, 46%);
  flex: 0 0 auto;
  flex-shrink: 0;
  padding: 6px 10px;
  font-size: 10px;
}
@media (min-width: 400px) {
  .pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--owned-row > a.pk360-card-btn--m3-inline,
  .pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--owned-row > button.pk360-card-btn--m3-inline {
    max-width: min(13.25rem, 48%);
    padding: 7px 12px;
    font-size: 11px;
  }
}
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--owned-row > a.pk360-card-btn.pk360-card-btn--related-gold,
.pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--owned-row > button.pk360-card-btn.pk360-card-btn--related-gold {
  width: auto;
  max-width: min(11.5rem, 46%);
}
@media (min-width: 400px) {
  .pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--owned-row > a.pk360-card-btn.pk360-card-btn--related-gold,
  .pk360-product-card--m3 .pk360-product-card-m3-footer--has-status.pk360-product-card-m3-footer--owned-row > button.pk360-card-btn.pk360-card-btn--related-gold {
    max-width: min(13.25rem, 48%);
  }
}

.pk360-card-price-col {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
}

.pk360-card-price-note {
  font-size: 13px;
  font-weight: 700;
  color: #1e8c6a;
}

/* Ceny */
.pk360-card-price {
  font-size: 19px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.6px;
}

.pk360-card-price-old {
  font-size: 12px;
  color: #9c9a94;
  text-decoration: line-through;
  margin-left: 5px;
}

.pk360-card-price-free {
  font-size: 15px;
  font-weight: 700;
  color: #1e8c6a;
}

/* Przyciski CTA na karcie (link lub <button> dla AJAX zapisu) */
a.pk360-card-btn,
button.pk360-card-btn {
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: none;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.2;
}

.pk360-card-btn.buy {
  background: #0d0d0d;
  color: #fff;
}

.pk360-card-btn.buy:hover {
  background: #1a1a1a;
  transform: scale(1.03);
}

.pk360-card-btn.continue {
  background: rgba(30, 140, 106, 0.1);
  color: #1e8c6a;
  border: 0.5px solid rgba(30, 140, 106, 0.3);
}

.pk360-card-btn.continue:hover {
  background: rgba(30, 140, 106, 0.18);
  transform: scale(1.03);
}

.pk360-card-btn.free {
  background: rgba(181, 135, 42, 0.08);
  color: #b5872a;
  border: 0.5px solid rgba(181, 135, 42, 0.25);
}

.pk360-card-btn.free:hover {
  background: rgba(181, 135, 42, 0.15);
  transform: scale(1.03);
}

/* Webinary (str. gł.): CTA „Zapisz się” — sekcja ma text-white; hover = jaśniejsze tło (--gold-light), tekst zawsze ciemny */
a.pk360-card-btn.pk360-wb-cta-signup {
  background-color: #b5872a !important;
  color: #0d0d0d !important;
}

a.pk360-card-btn.pk360-wb-cta-signup:hover,
a.pk360-card-btn.pk360-wb-cta-signup:focus-visible {
  background-color: #d4a843 !important;
  color: #0d0d0d !important;
}

/* Legacy: stare karty CPT (components/course-card.php) */
.pk360-course-card {
  background: #ffffff;
  border: 0.5px solid #e4e2dc;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
  text-decoration: none;
  display: block;
}

.pk360-course-card:hover {
  border-color: #c8c5bc;
}

.pk360-course-card--locked {
  opacity: 0.6;
  pointer-events: none;
}

.pk360-course-card-thumb {
  height: 140px;
  background: rgba(181, 135, 42, 0.07);
  border-bottom: 0.5px solid #e4e2dc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-course-card-thumb-icon {
  width: 44px;
  height: 44px;
  background: #b5872a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.pk360-course-card-body {
  padding: 16px;
}

.pk360-course-card-tag {
  font-size: 11px;
  font-weight: 600;
  color: #b5872a;
  background: rgba(181, 135, 42, 0.07);
  border: 0.5px solid rgba(181, 135, 42, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.pk360-course-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #0d0d0d;
  line-height: 1.4;
  margin-bottom: 8px;
}

.pk360-course-card-title a {
  color: inherit;
  text-decoration: none;
}

.pk360-course-card-title a:hover {
  color: #b5872a;
}

.pk360-course-card-meta {
  font-size: 12px;
  color: #9c9a94;
  margin-bottom: 12px;
}

.pk360-course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 0.5px solid #e4e2dc;
}

.pk360-course-card-price {
  font-size: 17px;
  font-weight: 700;
  color: #0d0d0d;
}

.pk360-course-card-price-free {
  font-size: 13px;
  font-weight: 700;
  color: #2a7a50;
  background: #edf7f2;
  border: 0.5px solid #b8e0c8;
  padding: 2px 8px;
  border-radius: 4px;
}

.pk360-course-card-badge-enrolled {
  font-size: 11px;
  font-weight: 700;
  color: #2a7a50;
  background: rgba(79, 175, 128, 0.14);
  border: 0.5px solid rgba(79, 175, 128, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
}

.pk360-course-card-btn {
  white-space: nowrap;
}

/* Archive — sklep /kursy */
.pk360-archive-course {
  padding-bottom: 56px;
  overflow-x: hidden;
}

/* Hero sklepu — czarne tło, lekkie złote poświaty + subtelna siatka */
.pk360-archive-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  margin-bottom: 0;
  box-sizing: border-box;
  padding: 52px 48px;
  border-bottom: none;
  background-color: #0a0a0a;
  background-image:
    radial-gradient(ellipse 110% 85% at 92% 8%, rgba(212, 168, 67, 0.16) 0%, transparent 52%),
    radial-gradient(ellipse 90% 70% at 5% 88%, rgba(184, 149, 75, 0.11) 0%, transparent 48%),
    radial-gradient(ellipse 55% 45% at 72% 58%, rgba(181, 135, 42, 0.06) 0%, transparent 50%),
    linear-gradient(165deg, rgba(212, 168, 67, 0.04) 0%, transparent 38%, transparent 100%);
}

.pk360-archive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 20%, transparent 72%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.pk360-archive-hero::after {
  content: "";
  position: absolute;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  right: -12%;
  top: -28%;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.12);
  box-shadow:
    0 0 0 1px rgba(212, 168, 67, 0.04),
    inset 0 0 80px rgba(212, 168, 67, 0.06);
  pointer-events: none;
  z-index: 0;
}

.pk360-archive-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.pk360-archive-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 40px;
  align-items: start;
}

.pk360-archive-hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8954b;
  border: 0.5px solid rgba(184, 149, 75, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 20px;
}

.pk360-archive-hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0 0 16px;
  max-width: 620px;
}

.pk360-archive-hero-gold {
  color: #d4a843;
}

.pk360-archive-hero-sub {
  font-size: 15px;
  line-height: 1.65;
  color: #9c9a94;
  margin: 0 0 28px;
  max-width: 520px;
}

.pk360-archive-hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  max-width: 520px;
}

.pk360-archive-hero-stat {
  flex: 1;
  min-width: 90px;
  text-align: center;
  padding: 0 12px;
}

.pk360-archive-hero-stat-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #d4a843;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pk360-archive-hero-stat-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6863;
  margin-top: 6px;
}

.pk360-archive-hero-stat-sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  align-self: stretch;
  min-height: 44px;
}

/* Karty wyróżnione w hero */
.pk360-hero-featured-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

a.pk360-hero-featured-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pk360-hero-featured-card:hover {
  border-color: rgba(181, 135, 42, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.pk360-hero-featured-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.pk360-hero-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pk360-hero-featured-thumb-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(184, 149, 75, 0.25);
}

.pk360-hero-featured-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pk360-hero-featured-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4a843;
}

.pk360-hero-featured-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pk360-hero-featured-meta {
  font-size: 12px;
  color: #9c9a94;
}

.pk360-hero-featured-price {
  font-size: 16px;
  font-weight: 700;
  color: #d4a843;
}

.pk360-hero-featured-price .woocommerce-Price-amount {
  color: inherit;
}

.pk360-hero-featured-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 149, 75, 0.2);
  color: #d4a843;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.pk360-hero-featured-card:hover .pk360-hero-featured-arrow {
  background: rgba(184, 149, 75, 0.35);
}

/* Alpine: hero + pełnoszerokościowy pasek + siatka */
.pk360-archive-shop {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Pasek filtrów — ciemny (sklep) */
.pk360-filters-bar {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 28px;
  padding: 0;
  box-sizing: border-box;
  background: #0d0d0d;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  box-shadow: none;
}

.pk360-filters-bar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 48px;
  box-sizing: border-box;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pk360-filters-bar-inner::-webkit-scrollbar {
  display: none;
}

.pk360-filters-bar-inner .pk360-filters-pills-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.pk360-filters-bar-sep {
  width: 0.5px;
  min-width: 0.5px;
  height: 20px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.pk360-filters-bar-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

.pk360-filters-bar-inner .pk360-filter-select {
  height: 36px;
  border-radius: 8px;
}

.pk360-filter-pill {
  border: 0.5px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pk360-filter-pill:hover {
  border-color: rgba(212, 168, 67, 0.35);
  background: rgba(212, 168, 67, 0.12);
  color: #ffffff;
}

.pk360-filter-pill.active {
  background: #0d0d0d;
  border-color: #0d0d0d;
  color: #ffffff;
}

.pk360-filter-pill.gold-active {
  background: rgba(212, 168, 67, 0.16);
  border-color: rgba(212, 168, 67, 0.48);
  color: #d4a843;
}

.pk360-filters-bar-inner .pk360-filter-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
}

.pk360-filters-bar-inner .pk360-filter-select option {
  color: #0d0d0d;
}

.pk360-view-toggle {
  border-color: rgba(255, 255, 255, 0.16);
}

.pk360-filter-select--compact {
  min-width: 160px;
}

.pk360-view-toggle {
  display: inline-flex;
  border: 0.5px solid #e8e6e0;
  border-radius: 8px;
  overflow: hidden;
}

.pk360-view-toggle-btn {
  width: 38px;
  height: 36px;
  border: none;
  background: #ffffff;
  color: #9c9a94;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}

.pk360-view-toggle-btn + .pk360-view-toggle-btn {
  border-left: 0.5px solid #e8e6e0;
}

.pk360-view-toggle-btn.is-active {
  background: #f5f4f0;
  color: #0d0d0d;
}

.pk360-view-toggle-btn:hover {
  background: #f5f4f0;
}

.pk360-archive-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 0;
}

.pk360-products-grid--list {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pk360-archive-loading {
  text-align: center;
  font-size: 14px;
  color: #9c9a94;
  margin-bottom: 16px;
}

.pk360-filter-select {
  height: 36px;
  background: #f5f4f0;
  border: 0.5px solid #e4e2dc;
  border-radius: 7px;
  padding: 0 12px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: #0d0d0d;
  cursor: pointer;
  outline: none;
}

.pk360-filter-select:focus {
  border-color: #b5872a;
}

/* Responsive */
@media (max-width: 1024px) {
  .pk360-archive-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pk360-archive-hero-title {
    font-size: 34px;
  }

  .pk360-filters-bar-inner {
    padding: 12px 24px;
  }

  .pk360-archive-body {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pk360-course-page-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .pk360-course-hero-inner.pk360-course-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .pk360-course-hero-inner.pk360-course-content > .pk360-course-hero-section.pk360-course-hero {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 1fr;
  }

  .pk360-course-hero-inner.pk360-course-content > .pk360-course-sidebar {
    grid-column: 1;
    grid-row: auto;
  }

  .pk360-course-hero-inner.pk360-course-content > .pk360-course-primary {
    grid-column: 1;
    grid-row: auto;
  }

  .pk360-course-body-band {
    padding-left: 0;
    padding-right: 0;
  }

  .pk360-course-hero-inner > .pk360-course-hero-section.pk360-course-hero {
    padding: 40px 0 36px;
  }

  .pk360-course-sidebar {
    padding-top: 0;
    order: -1;
  }

  .pk360-course-hero-inner.pk360-course-content > .pk360-course-sidebar {
    padding-top: 0;
  }

  .pk360-buy-box {
    position: static;
    box-shadow: none;
  }

  .pk360-course-sidebar-col {
    order: -1;
    padding-top: 0;
  }

  .pk360-course-maybe-grid,
  .pk360-course-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pk360-courses-grid,
  .pk360-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pk360-outcomes-grid,
  .pk360-covers-grid,
  .pk360-includes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pk360-course-main-col .pk360-course-hero {
    padding: 32px 20px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .pk360-course-hero-inner.pk360-course-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .pk360-course-hero-inner.pk360-course-content > .pk360-course-sidebar {
    padding-top: 0;
  }

  .pk360-course-hero-inner > .pk360-course-hero-section.pk360-course-hero {
    padding: 36px 0;
  }

  .pk360-course-hero-section .pk360-course-hero-title {
    font-size: 28px;
  }

  .pk360-course-maybe-grid,
  .pk360-course-related-grid {
    grid-template-columns: 1fr;
  }

  .pk360-course-related-inner {
    padding: 40px 20px;
  }

  .pk360-course-hero-title {
    font-size: 26px;
  }

  .pk360-course-cta-banner--split {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .pk360-course-cta-actions {
    justify-content: center;
  }

  .pk360-course-page-grid {
    padding: 0 20px;
  }

  .pk360-archive-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .pk360-archive-hero {
    padding: 36px 20px;
  }

  .pk360-archive-hero-title {
    font-size: 26px;
  }

  .pk360-archive-hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .pk360-archive-hero-stat-sep {
    display: none;
  }

  .pk360-filters-bar-inner {
    padding: 12px 16px;
  }

  .pk360-courses-grid,
  .pk360-products-grid {
    grid-template-columns: 1fr;
  }

}

/* ——— Odtwarzacz lekcji (single-lesson.php) ——— */
.pk360-player-body {
  margin: 0;
  background: #0a0a0a;
  color: #e8e6e0;
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
  max-width: 100%;
}

.pk360-player-wrap {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

.pk360-player-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 20px;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.pk360-player-logo {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.pk360-player-logo span {
  color: #d4a843;
}

.pk360-player-course-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #c8c5bc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pk360-player-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 1;
}

.pk360-player-progress-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #9c9a94;
}

.pk360-player-progress-track {
  width: 88px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.pk360-player-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #b5872a, #d4a843);
  border-radius: 99px;
}

.pk360-player-user-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.2);
  color: #d4a843;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pk360-player-back-link {
  font-size: 13px;
  color: #d4a843;
  text-decoration: none;
  white-space: nowrap;
}

.pk360-player-back-link:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .pk360-player-header {
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 8px;
    column-gap: 10px;
    padding: 10px max(12px, env(safe-area-inset-left, 0px)) 10px max(12px, env(safe-area-inset-right, 0px));
  }

  .pk360-player-logo {
    flex: 0 1 auto;
    max-width: min(100%, 11rem);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }

  .pk360-player-course-name {
    flex: 1 1 140px;
    min-width: 0;
    font-size: 12px;
  }

  .pk360-player-header-right {
    flex: 1 1 100%;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 10px;
    row-gap: 10px;
  }

  .pk360-player-progress-mini {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .pk360-player-progress-track {
    width: min(88px, 28vw);
    flex-shrink: 0;
  }

  .pk360-player-user-av {
    flex-shrink: 0;
  }

  .pk360-player-back-link {
    flex: 1 1 100%;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
    padding: 10px 12px;
    box-sizing: border-box;
    border-radius: 8px;
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.25);
  }
}

.pk360-player-layout {
  display: block;
  min-height: calc(100vh - 56px);
}

.pk360-player-main {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: calc(100vh - 56px);
  min-width: 0;
  background: #0a0a0a;
}

.pk360-player-main.sidebar-collapsed {
  grid-template-columns: 0 minmax(0, 1fr);
}

.pk360-video-area {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  background: #000;
}

.pk360-player-sidebar {
  grid-column: 1;
  grid-row: 1 / -1;
  width: auto;
  min-width: 0;
  background: #111;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: opacity 0.2s ease;
  overflow: hidden;
}

.pk360-player-main-column {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #0a0a0a;
}

.pk360-player-sidebar.collapsed {
  opacity: 0;
  pointer-events: none;
  border-right: none;
}

.pk360-sidebar-toggle-btn {
  position: absolute;
  right: 8px;
  top: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 6px;
  color: #c8c5bc;
  padding: 6px;
  cursor: pointer;
}

.pk360-sidebar-inner {
  padding: 48px 16px 24px;
  overflow-y: auto;
  max-height: calc(100vh - 56px);
}

.pk360-sidebar-progress {
  margin-bottom: 20px;
}

.pk360-sidebar-progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}

.pk360-sidebar-progress-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #b5872a, #d4a843);
}

.pk360-sidebar-progress span {
  font-size: 11px;
  color: #9c9a94;
}

.pk360-sidebar-section-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #e8e6e0;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.pk360-sidebar-section-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.pk360-sidebar-section-num {
  font-size: 11px;
  color: #78756e;
  min-width: 22px;
}

.pk360-sidebar-section-title {
  flex: 1;
  min-width: 0;
  font-weight: 600;
}

.pk360-sidebar-section-count {
  font-size: 11px;
  color: #78756e;
}

.pk360-sidebar-chevron {
  transition: transform 0.2s ease;
}

.pk360-sidebar-chevron.rotated {
  transform: rotate(180deg);
}

.pk360-sidebar-lessons {
  padding: 4px 0 12px 8px;
}

.pk360-sidebar-lesson {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 8px;
  border-radius: 8px;
  color: #c8c5bc;
  text-decoration: none;
  font-size: 13px;
}

.pk360-sidebar-lesson:hover {
  background: rgba(255, 255, 255, 0.05);
}

.pk360-sidebar-lesson.active {
  background: rgba(212, 168, 67, 0.12);
  color: #fff;
}

.pk360-sidebar-lesson.completed .pk360-sidebar-lesson-name {
  color: #9c9a94;
}

.pk360-sidebar-lesson-name {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.pk360-sidebar-lesson-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 10px;
}

.pk360-sidebar-free-pill {
  background: rgba(30, 140, 106, 0.2);
  color: #5fd4b0;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.pk360-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.pk360-video-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 1;
}

.pk360-video-loading[hidden] {
  display: none;
}

.pk360-video-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--gold-light);
  animation: pk360VideoSpin 0.8s linear infinite;
}

@keyframes pk360VideoSpin {
  to {
    transform: rotate(360deg);
  }
}

.pk360-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #000;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 24px;
}

.pk360-video-fallback[hidden] {
  display: none;
}

.pk360-video-fallback p {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.pk360-video-fallback button {
  background: var(--gold-light);
  color: #0d0d0d;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pk360-video-placeholder {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #6b6863;
}

.pk360-player-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.pk360-player-nav-prev,
.pk360-player-nav-next {
  flex: 1;
  min-width: 120px;
}

.pk360-player-nav-prev {
  text-align: left;
}

.pk360-player-nav-next {
  text-align: right;
}

.pk360-player-nav-center {
  flex: 0 0 auto;
}

.pk360-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e8e6e0;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  max-width: 100%;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.pk360-nav-btn--next {
  background: rgba(212, 168, 67, 0.14);
  border-color: rgba(212, 168, 67, 0.42);
  color: #ffffff;
}

.pk360-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.pk360-nav-btn:active {
  transform: scale(0.99);
}

.pk360-nav-btn:focus-visible {
  outline: 2px solid rgba(212, 168, 67, 0.6);
  outline-offset: 2px;
}

/* "Następna lekcja" — najbardziej widoczny CTA */
.pk360-nav-btn--next:hover {
  background: #d4a843;
  border-color: #d4a843;
  color: #0d0d0d;
}

#pk360-next-lesson-btn {
  box-shadow: 0 10px 26px rgba(13, 13, 13, 0.35);
}

.pk360-complete-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #e8e6e0;
  font-size: 13px;
  cursor: pointer;
}

.pk360-complete-btn.completed {
  border-color: rgba(30, 140, 106, 0.5);
  background: rgba(30, 140, 106, 0.15);
  color: #5fd4b0;
}

.pk360-lesson-content {
  padding: 28px 32px 48px;
  background: #0d0d0d;
}

.pk360-lesson-h1 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}

.pk360-lesson-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #9c9a94;
}

.pk360-lesson-free-tag {
  color: #5fd4b0;
  font-weight: 600;
}

.pk360-lesson-description {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.65;
  color: #c8c5bc;
}

.pk360-lesson-description p {
  margin: 0 0 1em;
}

.pk360-resources-title {
  margin: 32px 0 16px;
  font-size: 16px;
  color: #fff;
}

.pk360-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.pk360-resource-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pk360-resource-item:hover {
  border-color: rgba(212, 168, 67, 0.35);
  background: rgba(212, 168, 67, 0.06);
}

.pk360-resource-download {
  margin-left: auto;
  font-size: 12px;
  color: #d4a843;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .pk360-player-main {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr);
    min-height: 0;
  }

  .pk360-player-main.sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .pk360-video-area {
    grid-column: 1;
    grid-row: 1;
  }

  .pk360-player-sidebar {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-height: 40vh;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .pk360-player-sidebar .pk360-sidebar-inner {
    max-height: calc(40vh - 44px);
  }

  .pk360-player-main-column {
    grid-column: 1;
    grid-row: 3;
    min-height: 0;
    overflow-y: auto;
  }

  .pk360-player-sidebar.collapsed {
    max-height: 0;
    padding: 0;
    margin: 0;
    border-bottom: none;
    overflow: hidden;
  }
}

/* ——— Panel konta: Moje kursy, webinary, zamówienia, ustawienia ——— */
.pk360-account-view-head {
  margin-bottom: 20px;
}

.pk360-account-view-title {
  font-size: 22px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.35px;
  margin: 0 0 4px;
}

.pk360-account-view-count {
  font-size: 13px;
  color: #9c9a94;
  margin: 0;
}

.pk360-account-tab-empty {
  font-size: 13px;
  color: #9c9a94;
  margin: 0 0 16px;
}

.pk360-account-panel--flush {
  padding: 0;
  background: transparent;
  border: none;
}

/* Moje kursy — karta kursu pozioma */
.pk360-my-course-card {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 14px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pk360-my-course-card:hover {
  border-color: #c8c5bc;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pk360-my-course-thumb {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(181, 135, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
  color: #b5872a;
}

.pk360-my-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.pk360-my-course-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.pk360-my-course-body {
  flex: 1;
  min-width: 0;
}

.pk360-my-course-cat {
  font-size: 10px;
  font-weight: 700;
  color: #b5872a;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 5px;
}

.pk360-my-course-title {
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
  text-decoration: none;
  display: block;
}

.pk360-my-course-title:hover {
  color: #b5872a;
}

.pk360-my-course-meta {
  font-size: 12px;
  color: #9c9a94;
  margin: 0 0 12px;
  line-height: 1.45;
}

.pk360-my-course-progress-wrap {
  margin-bottom: 6px;
}

.pk360-my-course-progress-bar {
  height: 5px;
  background: #e8e6e0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 5px;
}

.pk360-my-course-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: #1e8c6a;
  transition: width 0.5s ease;
}

.pk360-my-course-progress-label {
  font-size: 11px;
  color: #5a5855;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.pk360-my-course-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  min-width: 140px;
}

.pk360-my-course-actions-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.pk360-my-course-date {
  font-size: 11px;
  color: #9c9a94;
  margin: 0;
  text-align: right;
}

.pk360-my-course-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: 0.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.pk360-my-course-btn--green {
  background: #1e8c6a;
  color: #fff;
}

.pk360-my-course-btn--green:hover {
  background: #17805f;
  color: #fff;
}

.pk360-my-course-btn--black {
  background: #0d0d0d;
  color: #fff;
}

.pk360-my-course-btn--black:hover {
  background: #2a2a2a;
  color: #fff;
}

.pk360-my-course-btn--outline {
  background: #fff;
  color: #0d0d0d;
  border-color: #c8c5bc;
}

.pk360-my-course-btn--outline:hover {
  border-color: #0d0d0d;
}

.pk360-my-course-btn--gold {
  background: #b5872a;
  color: #fff;
}

.pk360-my-course-btn--gold:hover {
  background: #9a7224;
  color: #fff;
}

/* Status badges */
.pk360-course-status {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.pk360-course-status.not-started {
  background: #f1efe8;
  color: #9c9a94;
}

.pk360-course-status.in-progress {
  background: rgba(24, 95, 165, 0.08);
  color: #185fa5;
  border: 0.5px solid rgba(24, 95, 165, 0.2);
}

.pk360-course-status.completed {
  background: rgba(30, 140, 106, 0.08);
  color: #1e8c6a;
  border: 0.5px solid rgba(30, 140, 106, 0.2);
}

/* Tabs w panelu */
.pk360-account-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 0.5px solid #e8e6e0;
  padding-bottom: 0;
}

.pk360-account-tab {
  font-size: 13px;
  font-weight: 500;
  color: #9c9a94;
  padding: 10px 16px;
  cursor: pointer;
  border: none;
  background: transparent;
  border-bottom: 2px solid transparent;
  margin-bottom: -0.5px;
  transition: all 0.15s;
  font-family: inherit;
}

.pk360-account-tab:hover {
  color: #0d0d0d;
}

.pk360-account-tab.active {
  color: #0d0d0d;
  border-bottom-color: #b5872a;
  font-weight: 600;
}

/* Empty state */
.pk360-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
}

.pk360-empty-state-icon {
  width: 64px;
  height: 64px;
  background: rgba(181, 135, 42, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #b5872a;
}

.pk360-empty-state-title {
  font-size: 18px;
  font-weight: 700;
  color: #0d0d0d;
  margin: 0 0 8px;
}

.pk360-empty-state-desc {
  font-size: 14px;
  color: #5a5855;
  margin: 0 0 24px;
}

.pk360-empty-state-btn {
  display: inline-flex;
}

/* Webinary na koncie */
.pk360-webinar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pk360-webinar-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pk360-webinar-card:hover {
  border-color: #c8c5bc;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pk360-webinar-card-main {
  flex: 1;
  min-width: 0;
}

.pk360-webinar-date {
  font-size: 12px;
  color: #9c9a94;
  margin: 0 0 6px;
}

.pk360-webinar-countdown-label {
  font-size: 12px;
  font-weight: 600;
  color: #185fa5;
  margin: 0 0 8px;
}

.pk360-webinar-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}

.pk360-webinar-title a {
  color: #0d0d0d;
  text-decoration: none;
}

.pk360-webinar-title a:hover {
  color: #b5872a;
}

.pk360-webinar-host {
  font-size: 13px;
  color: #5a5855;
  margin: 0 0 10px;
}

.pk360-webinar-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.pk360-webinar-status--soon {
  background: rgba(24, 95, 165, 0.08);
  color: #185fa5;
  border: 0.5px solid rgba(24, 95, 165, 0.2);
}

.pk360-webinar-status--rec {
  background: rgba(30, 140, 106, 0.08);
  color: #1e8c6a;
  border: 0.5px solid rgba(30, 140, 106, 0.2);
}

.pk360-webinar-status--past {
  background: #f1efe8;
  color: #9c9a94;
}

.pk360-webinar-card-actions {
  flex-shrink: 0;
}

/* Zamówienia */
.pk360-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pk360-order-card {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.pk360-order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.pk360-order-num {
  font-weight: 700;
  color: #0d0d0d;
  margin-right: 10px;
}

.pk360-order-date {
  font-size: 13px;
  color: #9c9a94;
}

.pk360-order-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: #f1efe8;
  color: #5a5855;
}

.pk360-order-badge--paid {
  background: rgba(30, 140, 106, 0.1);
  color: #1e8c6a;
}

.pk360-order-badge--hold {
  background: rgba(212, 168, 67, 0.15);
  color: #8a6a1c;
}

.pk360-order-badge--bad {
  background: rgba(220, 38, 38, 0.1);
  color: #b91c1c;
}

.pk360-order-products {
  font-size: 13px;
  color: #5a5855;
  margin: 0 0 12px;
  line-height: 1.45;
}

.pk360-order-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pk360-order-total {
  font-size: 15px;
  color: #0d0d0d;
}

.pk360-order-detail-link {
  font-size: 13px;
  font-weight: 600;
  color: #b5872a;
  text-decoration: none;
}

.pk360-order-detail-link:hover {
  text-decoration: underline;
}

/* Ustawienia — profil */
.pk360-profile-form-wrap {
  max-width: 480px;
}

.pk360-profile-form {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 24px;
}

.pk360-profile-msg {
  font-size: 14px;
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
}

.pk360-profile-msg.is-ok {
  background: rgba(30, 140, 106, 0.08);
  color: #1e8c6a;
}

.pk360-profile-msg.is-err {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
}

.pk360-profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.pk360-profile-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(181, 135, 42, 0.1);
  border: 0.5px solid rgba(181, 135, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #b5872a;
  overflow: hidden;
  flex-shrink: 0;
}

.pk360-profile-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pk360-profile-field {
  margin-bottom: 16px;
}

.pk360-profile-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #5a5855;
  margin-bottom: 6px;
}

.pk360-profile-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 14px;
  border: 0.5px solid #e8e6e0;
  border-radius: 8px;
  font-family: inherit;
}

.pk360-profile-input:focus {
  outline: none;
  border-color: #b5872a;
}

.pk360-profile-hint {
  font-size: 12px;
  color: #9c9a94;
  margin: 8px 0 0;
}

.pk360-profile-file {
  font-size: 13px;
}

.pk360-profile-sep {
  border: none;
  border-top: 0.5px solid #e8e6e0;
  margin: 20px 0;
}

.pk360-profile-section-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #0d0d0d;
}

.pk360-profile-submit {
  margin-top: 8px;
}

@media (max-width: 720px) {
  .pk360-my-course-card {
    flex-direction: column;
    align-items: stretch;
  }

  .pk360-my-course-thumb {
    width: 100%;
    height: 180px;
  }

  .pk360-my-course-actions {
    align-items: stretch;
    min-width: 0;
    width: 100%;
  }

  .pk360-my-course-actions .pk360-my-course-btn,
  .pk360-my-course-actions-stack .pk360-my-course-btn {
    width: 100%;
    justify-content: center;
  }

  .pk360-my-course-date {
    text-align: left;
  }
}

/* ── Strona główna ───────────────────── */

/* Hero */
.pk360-home-hero {
  background: #0d0d0d;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.pk360-home-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(181, 135, 42, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.pk360-home-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.pk360-home-hero-left {
  max-width: 620px;
}

.pk360-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(181, 135, 42, 0.08);
  border: 0.5px solid rgba(181, 135, 42, 0.25);
  color: #d4a843;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.pk360-home-eyebrow-dot {
  width: 5px;
  height: 5px;
  background: #d4a843;
  border-radius: 50%;
}

.pk360-home-h1 {
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 18px;
}

.pk360-home-h1 em {
  font-style: normal;
  color: #d4a843;
}

.pk360-home-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 500px;
}

.pk360-home-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pk360-home-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.pk360-home-cta-primary--outline {
  background: #0d0d0d;
  color: #d4a843;
  border: 1px solid #d4a843;
}

.pk360-home-cta-primary--outline:hover {
  background: rgba(212, 168, 67, 0.12);
}

.pk360-home-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 13px 26px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.15s;
  white-space: nowrap;
}

.pk360-home-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.pk360-home-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.pk360-home-stat {
  padding: 0 24px;
  border-right: 0.5px solid rgba(255, 255, 255, 0.08);
}

.pk360-home-stat:first-child {
  padding-left: 0;
}

.pk360-home-stat:last-child {
  border-right: none;
}

.pk360-home-stat-num {
  font-size: 26px;
  font-weight: 900;
  color: #d4a843;
  letter-spacing: -0.8px;
  line-height: 1;
}

.pk360-home-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 4px;
  font-weight: 600;
}

/* Hero karta kursu */
.pk360-home-hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.pk360-home-hero-card:hover {
  border-color: rgba(181, 135, 42, 0.3);
}

.pk360-home-hero-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pk360-home-hero-card-thumb {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.pk360-home-hero-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pk360-home-hero-card:hover .pk360-home-hero-card-thumb img {
  transform: scale(1.04);
}

.pk360-home-hero-card-body {
  padding: 20px;
}

.pk360-home-hero-card-cat {
  font-size: 10px;
  font-weight: 700;
  color: #d4a843;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 7px;
}

.pk360-home-hero-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.pk360-home-hero-card-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.pk360-home-hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.07);
  gap: 12px;
}

.pk360-home-hero-card-price {
  font-size: 22px;
  font-weight: 800;
  color: #d4a843;
  letter-spacing: -0.8px;
}

.pk360-home-hero-card-btn {
  font-size: 13px;
  font-weight: 700;
  color: #d4a843;
  white-space: nowrap;
}

/* Pasek zaufania */
.pk360-trust-bar {
  background: #ffffff;
  border-bottom: 0.5px solid #e8e6e0;
  padding: 18px 48px;
}

.pk360-trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.pk360-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5a5855;
  font-weight: 500;
  white-space: nowrap;
}

/* Sekcje ogólne */
.pk360-home-section {
  padding: 80px 48px;
}

.pk360-home-section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.pk360-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
}

.pk360-section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pk360-section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #b5872a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pk360-section-h2 {
  font-size: 32px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.pk360-section-h2.white {
  color: #ffffff;
}

.pk360-section-desc {
  font-size: 15px;
  color: #5a5855;
  line-height: 1.7;
  max-width: 520px;
}

.pk360-section-desc.white {
  color: rgba(255, 255, 255, 0.4);
}

.pk360-section-link {
  font-size: 14px;
  color: #b5872a;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.pk360-section-link:hover {
  text-decoration: underline;
}

/* Wyróżnione kursy — siatka */
.pk360-home-featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.pk360-home-featured-cell--hero {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  min-height: 0;
}

.pk360-home-featured-cell:not(.pk360-home-featured-cell--hero) {
  grid-column: 3;
}

.pk360-home-featured-cell:nth-of-type(2) {
  grid-row: 1;
}

.pk360-home-featured-cell:nth-of-type(3) {
  grid-row: 2;
}

/* Wyróżniony kurs (strona główna) — M3: ta sama lekka karta, tylko rozciągnięcie w siatce */
.pk360-product-card--featured-hero {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: 0.5rem; /* spójne z rounded-lg w Tailwind */
}

.pk360-home-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 9px;
  border: 1px solid #0d0d0d;
  color: #0d0d0d;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.pk360-home-btn-outline:hover {
  background: #0d0d0d;
  color: #fff;
}

/* Karty "Dla kogo" */
.pk360-for-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pk360-for-who-card {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  padding: 28px;
  transition: all 0.2s ease;
}

.pk360-for-who-card:hover {
  border-color: rgba(181, 135, 42, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Ikona w karcie na stronie głównej — nie stosować do listy na landing kursu */
.pk360-for-who-card > .pk360-for-who-icon {
  width: 52px;
  height: 52px;
  background: rgba(181, 135, 42, 0.08);
  border: 0.5px solid rgba(181, 135, 42, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #b5872a;
}

.pk360-for-who-title {
  font-size: 17px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.pk360-for-who-desc {
  font-size: 14px;
  color: #5a5855;
  line-height: 1.65;
  margin-bottom: 16px;
}

.pk360-for-who-card .pk360-for-who-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pk360-for-who-card .pk360-for-who-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5a5855;
}

.pk360-for-who-card .pk360-for-who-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(30, 140, 106, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5l2.5 2.5 4.5-4.5' stroke='%231E8C6A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Jak to działa */
.pk360-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.pk360-steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.666% + 20px);
  right: calc(16.666% + 20px);
  height: 0.5px;
  background: #e8e6e0;
  z-index: 0;
}

.pk360-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.pk360-step-num {
  font-size: 48px;
  font-weight: 900;
  color: #d4a843;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.pk360-step-icon {
  width: 56px;
  height: 56px;
  background: #0d0d0d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #d4a843;
}

.pk360-step-title {
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 8px;
}

.pk360-step-desc {
  font-size: 13px;
  color: #5a5855;
  line-height: 1.65;
}

/* Webinary — lista */
.pk360-home-webinar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pk360-home-webinar-card {
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.pk360-home-webinar-card-link {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 0;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 640px) {
  .pk360-home-webinar-card-link {
    grid-template-columns: 1fr;
  }
}

.pk360-home-webinar-card-media {
  min-height: 120px;
  background: rgba(255, 255, 255, 0.05);
}

.pk360-home-webinar-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pk360-home-webinar-card-body {
  padding: 20px 24px;
}

.pk360-home-webinar-date {
  font-size: 11px;
  font-weight: 700;
  color: #d4a843;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 8px;
}

.pk360-home-webinar-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.pk360-home-webinar-excerpt {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
  margin: 0 0 12px;
}

.pk360-home-webinar-cta {
  font-size: 13px;
  font-weight: 600;
  color: #d4a843;
}

.pk360-home-webinar-empty {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.pk360-home-webinar-empty-text {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.pk360-home-webinar-empty .pk360-newsletter-form {
  justify-content: center;
}

/* Opinie — strona główna (sekcja „Co mówią…”) */
.pk360-home-reviews .pk360-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pk360-home-reviews .pk360-review-card {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.pk360-home-reviews .pk360-review-stars {
  color: #b5872a;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.pk360-home-reviews .pk360-review-text {
  font-size: 14px;
  color: #5a5855;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 18px;
}

.pk360-home-reviews .pk360-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 0.5px solid #e8e6e0;
}

.pk360-home-reviews .pk360-review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(181, 135, 42, 0.08);
  border: 0.5px solid rgba(181, 135, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #b5872a;
  flex-shrink: 0;
}

.pk360-home-reviews .pk360-review-name {
  font-size: 13px;
  font-weight: 600;
  color: #0d0d0d;
}

.pk360-home-reviews .pk360-review-role {
  font-size: 11px;
  color: #9c9a94;
}

.pk360-home-reviews .pk360-review-course {
  margin: 12px 0 0;
  font-size: 12px;
}

.pk360-home-reviews .pk360-review-course a {
  color: #b5872a;
  font-weight: 600;
  text-decoration: none;
}

.pk360-home-reviews .pk360-review-course a:hover {
  text-decoration: underline;
}

/* Darmowe materiały */
.pk360-home-free-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pk360-home-free-card {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pk360-home-free-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(30, 140, 106, 0.12);
  color: #1e8c6a;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.pk360-home-free-title {
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
  margin: 0 0 8px;
}

.pk360-home-free-desc {
  font-size: 14px;
  color: #5a5855;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.pk360-home-free-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #1e8c6a;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
}

.pk360-home-free-btn:hover {
  background: #187a5c;
  color: #fff;
}

/* Newsletter CTA */
.pk360-newsletter-section {
  background: #0d0d0d;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pk360-newsletter-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(181, 135, 42, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.pk360-newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.pk360-newsletter-section .pk360-newsletter-eyebrow {
  margin-bottom: 16px;
}

.pk360-newsletter-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.6px;
  margin: 0 0 12px;
}

.pk360-newsletter-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin: 0 0 8px;
}

.pk360-newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.pk360-newsletter-input {
  flex: 1;
  min-width: 200px;
  height: 50px;
  background: rgba(255, 255, 255, 0.07);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  padding: 0 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  outline: none;
  transition: border-color 0.15s;
}

.pk360-newsletter-input--on-dark {
  max-width: 320px;
}

.pk360-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.pk360-newsletter-input:focus {
  border-color: rgba(181, 135, 42, 0.5);
}

.pk360-newsletter-btn {
  height: 50px;
  padding: 0 24px;
  background: #d4a843;
  color: #0d0d0d;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  transition: background 0.15s;
}

.pk360-newsletter-btn:hover {
  background: #e8c96a;
}

.pk360-newsletter-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.5;
}

.pk360-newsletter-rodo {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.5;
  margin-top: 16px;
}

/* FAQ */
.pk360-home-faq-inner {
  max-width: 800px;
}

.pk360-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pk360-faq-item {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s;
}

.pk360-faq-item:hover {
  border-color: #c8c5bc;
}

.pk360-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #0d0d0d;
  gap: 16px;
  user-select: none;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
}

.pk360-faq-chevron {
  width: 20px;
  height: 20px;
  color: #9c9a94;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pk360-faq-chevron.open {
  transform: rotate(180deg);
  color: #b5872a;
}

.pk360-faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: #5a5855;
  line-height: 1.7;
  border-top: 0.5px solid #e8e6e0;
  padding-top: 14px;
}

/* Responsive strona główna */
@media (max-width: 1024px) {
  .pk360-home-hero-inner {
    grid-template-columns: 1fr;
  }

  .pk360-home-hero-card {
    display: none;
  }

  .pk360-home-h1 {
    font-size: 38px;
  }

  .pk360-for-who-grid,
  .pk360-steps-grid,
  .pk360-home-reviews .pk360-reviews-grid,
  .pk360-home-free-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pk360-home-featured-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .pk360-home-featured-cell--hero {
    grid-column: 1;
    grid-row: auto;
  }

  .pk360-home-featured-cell:not(.pk360-home-featured-cell--hero) {
    grid-column: 1;
  }

  .pk360-home-featured-cell:nth-of-type(2),
  .pk360-home-featured-cell:nth-of-type(3) {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .pk360-home-section {
    padding: 48px 20px;
  }

  .pk360-home-hero {
    padding: 56px 0;
  }

  .pk360-home-hero-inner {
    padding: 0 20px;
  }

  .pk360-home-h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .pk360-home-ctas {
    flex-direction: column;
  }

  .pk360-home-cta-primary,
  .pk360-home-cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .pk360-for-who-grid,
  .pk360-steps-grid,
  .pk360-home-reviews .pk360-reviews-grid,
  .pk360-home-free-grid {
    grid-template-columns: 1fr;
  }

  .pk360-home-stats {
    gap: 0;
    flex-wrap: wrap;
  }

  .pk360-home-stat {
    padding: 0 16px;
  }

  .pk360-newsletter-form {
    flex-direction: column;
  }

  .pk360-newsletter-btn {
    width: 100%;
  }

  .pk360-trust-bar-inner {
    gap: 20px;
  }

  .pk360-steps-grid::before {
    display: none;
  }
}

/* ── Webinary (landing + konto) ────────────────────────── */
.pk360-webinar-hero {
  background: #0d0d0d;
  color: #fff;
  padding: 48px 32px 56px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

.pk360-webinar-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 40px;
  align-items: start;
}

.pk360-webinar-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.pk360-webinar-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.pk360-webinar-breadcrumb a:hover {
  color: #d4a843;
}

.pk360-webinar-breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.5;
}

.pk360-webinar-hero-title {
  color: #fff;
}

.pk360-webinar-hero-excerpt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  line-height: 1.65;
  max-width: 640px;
}

.pk360-webinar-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 20px;
}

.pk360-webinar-body-grid {
  padding-top: 40px;
}

.pk360-webinar-sidebar .pk360-buy-box {
  position: sticky;
  top: 100px;
}

.pk360-webinar-action-date {
  text-align: center;
  margin-bottom: 8px;
}

.pk360-webinar-action-day {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: #d4a843;
  line-height: 1;
}

.pk360-webinar-action-month {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
}

.pk360-webinar-action-time {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.pk360-webinar-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 12px;
  line-height: 1.5;
}

.pk360-webinar-rec-badge {
  font-size: 12px;
  font-weight: 700;
  color: #4faf80;
  margin-bottom: 12px;
}

.pk360-webinar-player-blur {
  filter: blur(6px);
  pointer-events: none;
  padding: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}

.pk360-webinar-live-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #f87171;
}

.pk360-webinar-btn-live {
  background: #ef4444 !important;
  color: #fff !important;
}

.pk360-webinar-btn-live:hover {
  background: #dc2626 !important;
}

.pk360-webinar-btn-outline {
  background: transparent !important;
  color: #d4a843 !important;
  border: 1px solid #d4a843 !important;
}

.pk360-webinar-register-form .pk360-form-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.pk360-card-badge--webinar-live {
  top: 44px;
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pk360-card-badge--webinar-rec {
  top: 78px;
  background: rgba(30, 140, 106, 0.95);
  color: #fff;
}

.pk360-webinar-acct-btn--live {
  background: #ef4444 !important;
  color: #fff !important;
}

.pk360-webinar-acct-btn--rec {
  background: #1e8c6a !important;
  color: #fff !important;
}

.pk360-webinar-acct-btn--arc {
  background: #f5f4f0 !important;
  color: #0d0d0d !important;
  border: 1px solid #e8e6e0 !important;
}

.pk360-webinars-account-tabs {
  margin-bottom: 20px;
}

.pk360-webinar-account-thumb {
  width: 120px;
  min-width: 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-webinar-account-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pk360-webinar-account-thumb-ph {
  color: rgba(255, 255, 255, 0.25);
}

.pk360-webinar-account-actions {
  margin-left: auto;
  align-self: center;
}

.pk360-webinar-account-datetime {
  font-size: 12px;
  color: #b5872a;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .pk360-webinar-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pk360-webinar-hero {
    padding: 28px max(16px, env(safe-area-inset-left, 0px)) 36px max(16px, env(safe-area-inset-right, 0px));
  }

  .pk360-webinar-hero .pk360-course-hero-title.pk360-webinar-hero-title {
    font-size: 1.375rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .pk360-webinar-hero-excerpt {
    font-size: 14px;
    line-height: 1.55;
  }

  .pk360-webinar-meta-row {
    font-size: 12px;
    gap: 8px 14px;
    margin-top: 14px;
  }

  .pk360-webinar-action-day {
    font-size: 28px;
  }

  .pk360-countdown-unit {
    min-width: 52px;
    padding: 8px 10px;
  }

  .pk360-countdown-num {
    font-size: 22px;
    letter-spacing: -0.5px;
  }

  .pk360-countdown-sep {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .pk360-webinar-body-grid {
    padding-top: 24px;
  }
}

/* ── Webinary (badge, countdown, karta konta — design system) ── */
.pk360-webinar-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pk360-webinar-hero-badge.upcoming {
  background: rgba(24, 95, 165, 0.12);
  border: 0.5px solid rgba(24, 95, 165, 0.3);
  color: #60a5fa;
}

.pk360-webinar-hero-badge.live {
  background: rgba(239, 68, 68, 0.12);
  border: 0.5px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.pk360-webinar-hero-badge.ended {
  background: rgba(30, 140, 106, 0.12);
  border: 0.5px solid rgba(30, 140, 106, 0.3);
  color: #4faf80;
}

.pk360-live-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: pk360-pulse 1.5s ease-in-out infinite;
}

@keyframes pk360-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.pk360-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pk360-countdown-unit {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  min-width: 60px;
}

.pk360-countdown-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #d4a843;
  letter-spacing: -1px;
  line-height: 1;
}

.pk360-countdown-label {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 4px;
  font-weight: 600;
}

.pk360-countdown-sep {
  font-size: 24px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 16px;
}

.pk360-countdown-expired {
  font-size: 15px;
  font-weight: 700;
  color: #ef4444;
  padding: 12px 0;
}

.pk360-webinar-account-card {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.pk360-webinar-account-card:hover {
  border-color: #c8c5bc;
  transform: translateY(-1px);
}

.pk360-webinar-account-date {
  flex-shrink: 0;
  text-align: center;
  width: 56px;
}

.pk360-webinar-account-day {
  font-size: 28px;
  font-weight: 900;
  color: #b5872a;
  letter-spacing: -1px;
  line-height: 1;
}

.pk360-webinar-account-month {
  font-size: 11px;
  color: #9c9a94;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-top: 2px;
}

.pk360-webinar-divider {
  width: 0.5px;
  align-self: stretch;
  background: #e8e6e0;
  flex-shrink: 0;
}

.pk360-webinar-account-info {
  flex: 1;
  min-width: 0;
}

.pk360-webinar-account-type {
  font-size: 10px;
  font-weight: 700;
  color: #9c9a94;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 5px;
}

.pk360-webinar-account-title {
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1.35;
  margin-bottom: 4px;
}

.pk360-webinar-account-title a {
  color: inherit;
  text-decoration: none;
}

.pk360-webinar-account-host {
  font-size: 12px;
  color: #9c9a94;
}

.pk360-webinar-register-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pk360-webinar-registered-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(30, 140, 106, 0.08);
  border: 0.5px solid rgba(30, 140, 106, 0.25);
  border-radius: 9px;
  font-size: 13px;
  color: #1e8c6a;
  font-weight: 500;
}

.pk360-webinar-nl-optin {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
  margin: 0;
}

.pk360-webinar-nl-optin input {
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── Newsletter system (popup, landing, footer, lekcja) ── */
[x-cloak] {
  display: none !important;
}

.pk360-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pk360FadeIn 0.3s ease;
}

@keyframes pk360FadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pk360-popup-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: pk360ScaleIn 0.3s ease;
}

@keyframes pk360ScaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.pk360-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f5f4f0;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  color: #5a5855;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.pk360-popup-close:hover {
  background: #e8e6e0;
}

.pk360-popup-icon {
  font-size: 36px;
  text-align: center;
  margin-bottom: 16px;
}

.pk360-popup-title {
  font-size: 22px;
  font-weight: 800;
  color: #0d0d0d;
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.pk360-popup-desc {
  font-size: 14px;
  color: #5a5855;
  text-align: center;
  line-height: 1.65;
  margin-bottom: 20px;
}

.pk360-popup-magnet {
  background: rgba(181, 135, 42, 0.07);
  border: 0.5px solid rgba(181, 135, 42, 0.22);
  border-radius: 9px;
  padding: 12px 16px;
  margin-bottom: 20px;
  text-align: center;
}

.pk360-popup-magnet-label {
  font-size: 11px;
  color: #9c9a94;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: block;
  margin-bottom: 4px;
}

.pk360-popup-magnet-title {
  font-size: 14px;
  font-weight: 700;
  color: #b5872a;
}

.pk360-popup-input {
  width: 100%;
  height: 44px;
  border: 0.5px solid #e8e6e0;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: #0d0d0d;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.pk360-popup-input:focus {
  border-color: #b5872a;
  box-shadow: 0 0 0 3px rgba(181, 135, 42, 0.1);
}

.pk360-popup-btn {
  width: 100%;
  height: 48px;
  background: #0d0d0d;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: background 0.15s;
  margin-bottom: 10px;
}

.pk360-popup-btn:hover {
  background: #1a1a1a;
}

.pk360-popup-btn:disabled {
  background: #9c9a94;
  cursor: not-allowed;
}

.pk360-popup-rodo {
  text-align: center;
  font-size: 11px;
  color: #9c9a94;
  margin: 0;
}

.pk360-popup-success {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #1e8c6a;
  padding: 20px 0;
}

.pk360-newsletter-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pk360-newsletter-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  background: #ffffff;
}

.pk360-newsletter-logo {
  font-weight: 800;
  color: #0d0d0d;
  text-decoration: none;
  margin-bottom: 28px;
}

.pk360-newsletter-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b5872a;
  margin: 0 0 12px;
}

.pk360-newsletter-h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #0d0d0d;
  margin: 0 0 16px;
  line-height: 1.15;
}

.pk360-newsletter-lead {
  font-size: 16px;
  color: #5a5855;
  line-height: 1.65;
  margin: 0 0 28px;
}

.pk360-newsletter-magnet-preview {
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  background: #faf9f7;
}

.pk360-newsletter-magnet-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}

.pk360-newsletter-magnet-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9c9a94;
  margin: 0 0 6px;
}

.pk360-newsletter-magnet-name {
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
  margin: 0;
}

.pk360-newsletter-alert {
  background: #fef2f2;
  border: 0.5px solid #fecaca;
  color: #b91c1c;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.pk360-newsletter-right {
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
}

.pk360-newsletter-right::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(181, 135, 42, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.pk360-newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pk360-newsletter-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

.pk360-newsletter-benefit-icon {
  width: 24px;
  height: 24px;
  background: rgba(181, 135, 42, 0.12);
  border: 0.5px solid rgba(181, 135, 42, 0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #d4a843;
  margin-top: 1px;
  font-size: 12px;
}

.pk360-newsletter-social-proof {
  font-size: 15px;
  font-weight: 700;
  color: #d4a843;
  margin: 0 0 20px;
}

.pk360-newsletter-quote {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.pk360-newsletter-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.pk360-newsletter-inline-wrap {
  max-width: 420px;
}

.pk360-newsletter-inline-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

.pk360-newsletter-inline-sub {
  font-size: 14px;
  color: #5a5855;
  margin: 0 0 16px;
}

.pk360-newsletter-form--inline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pk360-newsletter-inline-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 0.5px solid #e8e6e0;
  font-size: 14px;
  box-sizing: border-box;
}

.pk360-newsletter-inline-submit {
  width: 100%;
  padding: 14px 20px;
  background: #0d0d0d;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.pk360-newsletter-inline-hint {
  font-size: 12px;
  color: #9c9a94;
  margin: 0;
}

.pk360-newsletter-rodo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #5a5855;
  line-height: 1.45;
}

.pk360-newsletter-rodo input {
  margin-top: 3px;
}

.pk360-newsletter-success-msg {
  padding: 16px 18px;
  background: rgba(30, 140, 106, 0.1);
  border: 0.5px solid rgba(30, 140, 106, 0.3);
  border-radius: 10px;
  color: #1e8c6a;
  font-weight: 600;
  font-size: 15px;
}

.pk360-footer-newsletter-block .pk360-newsletter-footer-wrap {
  margin-top: 8px;
}

.pk360-newsletter-form--footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}

.pk360-newsletter-footer-email {
  flex: 1;
  min-width: 160px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 14px;
}

.pk360-newsletter-footer-btn {
  padding: 10px 16px;
  background: #d4a843;
  color: #0d0d0d;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

.pk360-lesson-newsletter {
  margin-top: 32px;
  padding: 24px;
  border-radius: 12px;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.pk360-lesson-newsletter-h {
  font-size: 18px;
  margin: 0 0 8px;
  color: #fff;
}

.pk360-lesson-newsletter-p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 16px;
}

.pk360-newsletter-confirm {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  text-align: center;
}

.pk360-newsletter-confirm-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(30, 140, 106, 0.12);
  color: #1e8c6a;
  font-size: 36px;
  line-height: 72px;
  font-weight: 800;
  animation: pk360ScaleIn 0.5s ease;
}

.pk360-newsletter-confirm-h1 {
  font-size: 26px;
  font-weight: 800;
  color: #0d0d0d;
  margin: 0 0 12px;
}

.pk360-newsletter-confirm-lead {
  color: #5a5855;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.pk360-newsletter-confirm-actions .pk360-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #1e8c6a;
  color: #fff;
  text-decoration: none;
  border-radius: 9px;
  font-weight: 700;
}

.pk360-newsletter-confirm-home a {
  color: #b5872a;
  font-weight: 600;
}

.pk360-newsletter-confirm-more {
  margin-top: 48px;
  text-align: left;
}

.pk360-newsletter-confirm-more-h {
  font-size: 18px;
  margin: 0 0 16px;
  text-align: center;
}

.pk360-newsletter-confirm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pk360-newsletter-confirm-card {
  display: block;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.pk360-newsletter-confirm-card:hover {
  transform: translateY(-2px);
  border-color: #c8c5bc;
}

.pk360-newsletter-confirm-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.pk360-newsletter-confirm-card-title {
  display: block;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
}

@media (max-width: 768px) {
  .pk360-newsletter-page {
    grid-template-columns: 1fr;
  }

  .pk360-newsletter-right {
    display: none;
  }

  .pk360-newsletter-left {
    padding: 40px 24px;
  }

  .pk360-popup-box {
    padding: 32px 24px;
  }

  .pk360-newsletter-confirm-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Account dashboard (Coursera-style) ───────────────── */
.site-main-inner .pk360-account-wrap {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.pk360-account-wrap {
  display: flex;
  min-height: calc(100vh - 64px);
  background: #f5f4f0;
  position: relative;
}

.pk360-account-sidebar-backdrop {
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(0, 0, 0, 0.35);
  z-index: 199;
}

.pk360-account-wrap .pk360-account-sidebar {
  width: 260px;
  background: #ffffff;
  border-right: 0.5px solid #e8e6e0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 16px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.pk360-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 20px;
  border-bottom: 0.5px solid #e8e6e0;
  margin-bottom: 16px;
}

.pk360-sidebar-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(181, 135, 42, 0.1);
  border: 2px solid rgba(181, 135, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #b5872a;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  margin: 0;
}

.pk360-sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pk360-sidebar-avatar-status {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #1e8c6a;
  border-radius: 50%;
  border: 2px solid #fff;
}

.pk360-sidebar-user-info {
  min-width: 0;
  flex: 1;
}

.pk360-sidebar-user-name {
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.pk360-sidebar-user-email {
  font-size: 11px;
  color: #9c9a94;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.pk360-sidebar-stats {
  display: flex;
  align-items: center;
  background: #f5f4f0;
  border-radius: 10px;
  padding: 12px 8px;
  margin-bottom: 20px;
}

.pk360-sidebar-stat {
  flex: 1;
  text-align: center;
}

.pk360-sidebar-stat-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.5px;
}

.pk360-sidebar-stat-label {
  display: block;
  font-size: 10px;
  color: #9c9a94;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.pk360-sidebar-stat-divider {
  width: 0.5px;
  height: 28px;
  background: #e8e6e0;
}

.pk360-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-height: 0;
}

.pk360-sidebar-nav-label {
  font-size: 10px;
  font-weight: 700;
  color: #9c9a94;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 10px 4px;
  margin-top: 4px;
}

.pk360-sidebar-nav-divider {
  height: 0.5px;
  background: #e8e6e0;
  margin: 8px 0;
}

.pk360-sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: #5a5855;
  text-decoration: none;
  transition: all 0.12s;
  cursor: pointer;
  position: relative;
}

.pk360-sidebar-nav-item svg {
  flex-shrink: 0;
  color: #9c9a94;
  transition: color 0.12s;
}

.pk360-sidebar-nav-item:hover {
  background: #f5f4f0;
  color: #0d0d0d;
}

.pk360-sidebar-nav-item:hover svg {
  color: #0d0d0d;
}

.pk360-sidebar-nav-item.active {
  background: rgba(181, 135, 42, 0.08);
  color: #b5872a;
  font-weight: 600;
}

.pk360-sidebar-nav-item.active svg {
  color: #b5872a;
}

.pk360-sidebar-badge {
  margin-left: auto;
  background: #0d0d0d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.pk360-sidebar-logout {
  margin-top: auto;
  color: #e24b4a !important;
}

.pk360-sidebar-logout svg {
  color: #e24b4a !important;
}

.pk360-sidebar-logout:hover {
  background: rgba(226, 75, 74, 0.06) !important;
}

.pk360-account-main {
  flex: 1;
  min-width: 0;
  padding: 32px 40px;
  overflow-y: auto;
}

.pk360-account-mobile-header {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
  background: #0d0d0d;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.12);
  margin: -32px -40px 24px;
  box-sizing: border-box;
}

.pk360-account-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  padding: 6px;
  flex-shrink: 0;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.pk360-account-hamburger:hover,
.pk360-account-hamburger:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.pk360-account-mobile-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  min-width: 0;
}

.pk360-dashboard-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 20px;
}

.pk360-dashboard-title {
  font-size: 26px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
}

.pk360-dashboard-subtitle {
  font-size: 14px;
  color: #5a5855;
}

.pk360-dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.pk360-account-wrap .pk360-stat-card {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.15s;
}

.pk360-account-wrap .pk360-stat-card:hover {
  border-color: #c8c5bc;
  transform: translateY(-1px);
}

.pk360-stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pk360-stat-card-icon--gold {
  background: rgba(181, 135, 42, 0.1);
  color: #b5872a;
}

.pk360-stat-card-icon--green {
  background: rgba(30, 140, 106, 0.1);
  color: #1e8c6a;
}

.pk360-stat-card-icon--blue {
  background: rgba(24, 95, 165, 0.1);
  color: #185fa5;
}

.pk360-stat-card-icon--purple {
  background: rgba(83, 74, 183, 0.1);
  color: #534ab7;
}

.pk360-stat-card-num {
  font-size: 28px;
  font-weight: 900;
  color: #0d0d0d;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.pk360-stat-card-label {
  font-size: 12px;
  color: #9c9a94;
  font-weight: 500;
}

.pk360-dashboard-section {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}

.pk360-dashboard-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pk360-dashboard-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.3px;
}

.pk360-dashboard-section-link {
  font-size: 13px;
  color: #b5872a;
  text-decoration: none;
  font-weight: 500;
}

.pk360-continue-grid {
  display: grid;
  /* Cztery równe kolumny na pełną szerokość — przy mniejszej liczbie kursów puste miejsce zostaje po prawej */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pk360-continue-card {
  min-width: 0;
  border: 0.5px solid #e8e6e0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.15s;
}

.pk360-continue-card:hover {
  border-color: #c8c5bc;
  transform: translateY(-2px);
}

.pk360-continue-card-thumb {
  height: 168px;
  position: relative;
  overflow: hidden;
  background: rgba(181, 135, 42, 0.06);
}

.pk360-continue-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.pk360-continue-card:hover .pk360-continue-card-thumb img {
  transform: scale(1.04);
}

.pk360-continue-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-continue-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pk360-continue-card:hover .pk360-continue-card-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.pk360-continue-play-btn {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0d0d;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s;
}

.pk360-continue-card:hover .pk360-continue-play-btn {
  opacity: 1;
  transform: scale(1);
}

.pk360-continue-card-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.pk360-continue-card-progress-bar > div {
  height: 100%;
  background: #d4a843;
  transition: width 0.5s;
}

.pk360-continue-card-body {
  padding: 16px 16px 18px;
}

.pk360-continue-card-cat {
  font-size: 10px;
  font-weight: 700;
  color: #b5872a;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 5px;
}

.pk360-continue-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pk360-continue-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #9c9a94;
}

.pk360-continue-card-pct {
  font-weight: 700;
  color: #185fa5;
}

.pk360-continue-card-pct.done {
  color: #1e8c6a;
}

.pk360-dashboard-tab-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 0.5px solid #e8e6e0;
}

.pk360-dashboard-tab-btn {
  padding: 10px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 500;
  color: #9c9a94;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: -0.5px;
  transition: all 0.15s;
}

.pk360-dashboard-tab-btn:hover {
  color: #0d0d0d;
}

.pk360-dashboard-tab-btn.active {
  color: #0d0d0d;
  border-bottom-color: #b5872a;
  font-weight: 700;
}

.pk360-product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pk360-product-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fafaf8;
  border: 0.5px solid #e8e6e0;
  border-radius: 10px;
  transition: all 0.15s;
}

.pk360-product-list-item:hover {
  background: #f5f4f0;
  border-color: #c8c5bc;
}

.pk360-product-list-thumb {
  width: 56px;
  height: 56px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(181, 135, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-product-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pk360-product-list-thumb-ph {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-product-list-date-box {
  width: 56px;
  height: 56px;
  border-radius: 9px;
  background: rgba(181, 135, 42, 0.08);
  border: 0.5px solid rgba(181, 135, 42, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pk360-date-box-day {
  font-size: 20px;
  font-weight: 900;
  color: #b5872a;
  letter-spacing: -1px;
  line-height: 1;
}

.pk360-date-box-month {
  font-size: 10px;
  font-weight: 700;
  color: #9c9a94;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pk360-product-list-file-icon {
  width: 56px;
  height: 56px;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
}

.pk360-file-icon--pdf {
  background: rgba(30, 140, 106, 0.1);
  color: #1e8c6a;
}

.pk360-file-icon--ppt {
  background: rgba(200, 90, 32, 0.1);
  color: #c85a20;
}

.pk360-file-icon--xlsx {
  background: rgba(30, 140, 106, 0.1);
  color: #1e8c6a;
}

.pk360-product-list-file-icon span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.pk360-product-list-info {
  flex: 1;
  min-width: 0;
}

.pk360-product-list-type {
  font-size: 10px;
  font-weight: 700;
  color: #b5872a;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 3px;
}

.pk360-product-list-title {
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}

a.pk360-product-list-title:hover {
  color: #b5872a;
}

div.pk360-product-list-title {
  white-space: normal;
}

.pk360-product-list-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: #9c9a94;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.pk360-product-list-progress {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pk360-product-list-progress-bar {
  flex: 1;
  height: 4px;
  background: #e8e6e0;
  border-radius: 2px;
  overflow: hidden;
  max-width: 200px;
}

.pk360-product-list-progress-bar > div {
  height: 100%;
  background: #1e8c6a;
  border-radius: 2px;
  transition: width 0.5s;
}

.pk360-product-list-progress span {
  font-size: 11px;
  color: #9c9a94;
  white-space: nowrap;
}

.pk360-product-list-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.pk360-btn-sm {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  border: none;
  transition: all 0.15s;
  white-space: nowrap;
}

.pk360-btn-sm--black {
  background: #0d0d0d;
  color: #fff;
}

.pk360-btn-sm--black:hover {
  background: #1a1a1a;
}

.pk360-btn-sm--green {
  background: rgba(30, 140, 106, 0.1);
  color: #1e8c6a;
  border: 0.5px solid rgba(30, 140, 106, 0.25);
}

.pk360-btn-sm--green:hover {
  background: rgba(30, 140, 106, 0.18);
}

.pk360-btn-sm--outline {
  background: #fff;
  color: #0d0d0d;
  border: 0.5px solid #e8e6e0;
}

.pk360-btn-sm--outline:hover {
  border-color: #c8c5bc;
  background: #f5f4f0;
}

.pk360-btn-sm--red {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 0.5px solid rgba(239, 68, 68, 0.25);
}

.pk360-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  border: none;
  transition: all 0.15s;
}

.pk360-btn--black {
  background: #0d0d0d;
  color: #fff;
}

.pk360-btn--black:hover {
  background: #1a1a1a;
}

.pk360-btn--outline {
  background: #fff;
  color: #0d0d0d;
  border: 0.5px solid #e8e6e0;
}

.pk360-btn--outline:hover {
  border-color: #c8c5bc;
}

.pk360-account-wrap .pk360-course-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.pk360-account-wrap .pk360-course-status.not-started {
  background: #f1efe8;
  color: #9c9a94;
}

.pk360-account-wrap .pk360-course-status.in-progress {
  background: rgba(24, 95, 165, 0.08);
  color: #185fa5;
  border: 0.5px solid rgba(24, 95, 165, 0.2);
}

.pk360-account-wrap .pk360-course-status.completed {
  background: rgba(30, 140, 106, 0.08);
  color: #1e8c6a;
  border: 0.5px solid rgba(30, 140, 106, 0.2);
}

.pk360-account-wrap .pk360-course-status.cancelled {
  background: rgba(226, 75, 74, 0.08);
  color: #e24b4a;
  border: 0.5px solid rgba(226, 75, 74, 0.2);
}

.pk360-account-wrap .pk360-course-status.live {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 0.5px solid rgba(239, 68, 68, 0.25);
}

.pk360-orders-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.pk360-order-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: #fafaf8;
  border: 0.5px solid #e8e6e0;
  border-radius: 9px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.pk360-order-list-num {
  min-width: 120px;
  flex-shrink: 0;
}

.pk360-order-list-num-label {
  display: block;
  font-size: 10px;
  color: #9c9a94;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pk360-order-list-num-val {
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d;
}

.pk360-order-list-info {
  flex: 1;
  min-width: 0;
}

.pk360-order-list-product {
  font-size: 13px;
  font-weight: 600;
  color: #0d0d0d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.pk360-order-list-more {
  font-size: 11px;
  color: #9c9a94;
}

.pk360-order-list-date {
  font-size: 12px;
  color: #9c9a94;
  white-space: nowrap;
}

.pk360-order-list-total {
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
  white-space: nowrap;
}

.pk360-order-list-item > .pk360-course-status {
  flex-shrink: 0;
}

.pk360-order-list-total .woocommerce-Price-amount,
.pk360-order-list-total .amount {
  white-space: normal;
  word-break: break-word;
}

.pk360-section-page-title {
  font-size: 22px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.6px;
  margin-bottom: 24px;
}

.pk360-account-wrap .pk360-empty-state {
  text-align: center;
  padding: 48px 20px;
  border: 0.5px dashed #e8e6e0;
  border-radius: 12px;
}

.pk360-account-wrap .pk360-empty-state-icon {
  width: 56px;
  height: 56px;
  background: rgba(181, 135, 42, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #b5872a;
}

.pk360-account-wrap .pk360-empty-state-title {
  font-size: 17px;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 8px;
}

.pk360-account-wrap .pk360-empty-state-desc {
  font-size: 14px;
  color: #9c9a94;
  margin-bottom: 20px;
}

@media (max-width: 1200px) {
  .pk360-continue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .pk360-dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pk360-continue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .pk360-account-wrap .pk360-account-sidebar {
    position: fixed;
    left: -260px;
    top: 64px;
    height: calc(100vh - 64px);
    z-index: 200;
    transition: left 0.25s ease;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .pk360-account-wrap .pk360-account-sidebar.open {
    left: 0;
  }

  .pk360-account-main {
    padding: 0;
  }

  .pk360-account-mobile-header {
    display: flex;
    margin: -20px -16px 20px;
  }

  .pk360-dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pk360-order-list-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 14px;
  }

  .pk360-order-list-num {
    min-width: 0;
    width: 100%;
  }

  .pk360-order-list-info {
    width: 100%;
    order: 0;
  }

  .pk360-order-list-product {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .pk360-order-list-date,
  .pk360-order-list-total {
    white-space: normal;
    width: 100%;
  }

  .pk360-order-list-item > .pk360-course-status {
    align-self: flex-start;
    margin-top: 0;
  }

  .pk360-continue-grid {
    grid-template-columns: 1fr;
  }

  .pk360-product-list-item {
    flex-wrap: wrap;
  }

  .pk360-product-list-actions {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
  }

  .pk360-dashboard-welcome {
    flex-direction: column;
    align-items: flex-start;
  }

  .pk360-account-main {
    padding: 20px 16px;
  }
}

/* ── PK360: sekcje kursu (instruktorzy CPT, opinie wideo) ───────── */
.pk360-course-section {
  margin-bottom: 20px;
}

.pk360-section-heading {
  font-size: 20px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.4px;
  margin: 0 0 18px;
}

/* ── Instruktorzy (CPT) — jasna karta jak reszta sekcji kursu ───────── */
.pk360-course-section.pk360-instructor-card {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 16px;
  color: #0d0d0d;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.pk360-instructor-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.pk360-instructor-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(181, 135, 42, 0.4);
  flex-shrink: 0;
}

.pk360-instructor-initials {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(181, 135, 42, 0.12);
  border: 2px solid rgba(181, 135, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #d4a843;
  flex-shrink: 0;
}

.pk360-instructor-meta .pk360-instructor-name {
  font-size: 20px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.4px;
  margin-bottom: 5px;
}

.pk360-instructor-meta .pk360-instructor-role {
  font-size: 14px;
  color: #d4a843;
  font-weight: 500;
  margin-bottom: 4px;
}

.pk360-instructor-speciality {
  font-size: 13px;
  color: #5a5855;
  margin-bottom: 8px;
}

.pk360-instructor-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 6px;
}

.pk360-instructor-social {
  font-size: 12px;
  color: #d4a843;
  text-decoration: none;
  font-weight: 600;
}

.pk360-instructor-social:hover {
  text-decoration: underline;
}

.pk360-course-section.pk360-instructor-card .pk360-instructor-bio {
  font-size: 14px;
  color: #5a5855;
  line-height: 1.7;
  margin-bottom: 20px;
}

.pk360-course-section.pk360-instructor-card .pk360-instructor-stats {
  display: flex;
  gap: 0;
  border-top: 0.5px solid #e8e6e0;
  padding-top: 18px;
  flex-wrap: wrap;
}

.pk360-course-section.pk360-instructor-card .pk360-instructor-stat {
  padding: 0 24px;
  border-right: 0.5px solid #e8e6e0;
  text-align: center;
}

.pk360-course-section.pk360-instructor-card .pk360-instructor-stat:first-child {
  padding-left: 0;
}

.pk360-course-section.pk360-instructor-card .pk360-instructor-stat:last-child {
  border-right: none;
}

.pk360-course-section.pk360-instructor-card .pk360-instructor-stat-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.5px;
}

.pk360-course-section.pk360-instructor-card .pk360-instructor-stat-label {
  display: block;
  font-size: 11px;
  color: #9c9a94;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: 3px;
}

/* Wideoopinie — taśma: szerokość + translate w Alpine */
.pk360-vr-track {
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .pk360-vr-track {
    transition: none;
  }
}

/* ── Video opinie ────────────────────── */
.pk360-video-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pk360-video-review-card {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.pk360-video-review-card:hover {
  border-color: #c8c5bc;
  transform: translateY(-2px);
}

.pk360-video-review-player {
  position: relative;
}

.pk360-video-review-thumb {
  height: 160px;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.pk360-video-review-play {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}

.pk360-video-review-thumb:hover .pk360-video-review-play {
  transform: scale(1.1);
}

.pk360-video-review-stars {
  display: flex;
  gap: 2px;
  padding: 14px 16px 8px;
}

.pk360-video-review-text {
  font-size: 13px;
  color: #5a5855;
  line-height: 1.65;
  font-style: italic;
  padding: 0 16px 14px;
}

.pk360-video-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 0.5px solid #e8e6e0;
}

.pk360-video-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.pk360-video-review-avatar-initials {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(181, 135, 42, 0.1);
  border: 0.5px solid rgba(181, 135, 42, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #b5872a;
  flex-shrink: 0;
}

.pk360-video-review-name {
  font-size: 13px;
  font-weight: 700;
  color: #0d0d0d;
}

.pk360-video-review-role {
  font-size: 11px;
  color: #9c9a94;
  margin-top: 2px;
}

/* ── Buy box preview video + powitalne ───────────── */
.pk360-buy-box--has-welcome-video {
  overflow: visible;
  position: relative;
  z-index: 1;
}

.pk360-buy-box-preview {
  position: relative;
  border-radius: 12px 12px 0 0;
  overflow: visible;
}

.pk360-buy-box-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #0d0d0d;
  border-radius: 12px 12px 0 0;
}

.pk360-preview-iframe-el {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.pk360-buy-box-preview-fallback-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
}

/* Overlay ściemniający (teleport do body) */
.pk360-preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 100;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

/* Buy box spotlight — nad overlay */
.pk360-buy-box--spotlight {
  position: relative;
  z-index: 102 !important;
  border-radius: 12px;
  box-shadow:
    0 0 0 3px #d4a843,
    0 20px 60px rgba(181, 135, 42, 0.35);
  animation: pk360Spotlight 0.4s ease forwards;
}

@keyframes pk360Spotlight {
  from {
    box-shadow: 0 0 0 0 #d4a843, 0 0 0 rgba(181, 135, 42, 0);
  }
  to {
    box-shadow:
      0 0 0 3px #d4a843,
      0 20px 60px rgba(181, 135, 42, 0.35);
  }
}

/* Badge zachęcający */
.pk360-preview-badge {
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 103;
  max-width: calc(100% - 8px);
  pointer-events: auto;
}

.pk360-preview-badge-inner {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0d0d0d;
  border: 1px solid #d4a843;
  color: #d4a843;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(181, 135, 42, 0.3);
  animation: pk360BadgePulse 2s ease-in-out infinite;
  white-space: nowrap;
}

.pk360-preview-badge-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(280px, 70vw);
}

@keyframes pk360BadgePulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(181, 135, 42, 0.3);
  }
  50% {
    box-shadow: 0 4px 30px rgba(181, 135, 42, 0.55);
  }
}

.pk360-preview-badge-dot {
  width: 8px;
  height: 8px;
  background: #d4a843;
  border-radius: 50%;
  animation: pk360DotPulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pk360DotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.pk360-preview-badge-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(212, 168, 67, 0.6);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  transition: all 0.15s;
  flex-shrink: 0;
  font-family: inherit;
  line-height: 1;
  padding: 0;
}

.pk360-preview-badge-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #d4a843;
}

.pk360-preview-badge-inner::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #d4a843;
}

@media (max-width: 600px) {
  .pk360-preview-badge {
    top: -44px;
  }

  .pk360-preview-badge-inner {
    font-size: 11px;
    padding: 8px 12px;
  }
}

@media (max-width: 768px) {
  .pk360-video-reviews-grid {
    grid-template-columns: 1fr;
  }

  .pk360-course-section.pk360-instructor-card .pk360-instructor-stats {
    gap: 16px;
  }

  .pk360-course-section.pk360-instructor-card .pk360-instructor-stat {
    padding: 0;
    border-right: none;
    text-align: center;
  }
}

/* ── Opinie o prowadzącym (komentarze WP) ───────────── */
.pk360-instructor-reviews-list {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 0.5px solid #e8e6e0;
}

.pk360-instructor-reviews-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
  margin: 0 0 14px;
}

.pk360-instructor-review-item {
  padding: 14px 0;
  border-bottom: 0.5px solid #e8e6e0;
}

.pk360-instructor-review-item:last-child {
  border-bottom: none;
}

.pk360-instructor-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.pk360-instructor-review-name {
  font-size: 13px;
  color: #0d0d0d;
}

.pk360-instructor-review-stars {
  font-size: 12px;
  color: #d4a843;
  letter-spacing: 1px;
}

.pk360-instructor-review-body {
  font-size: 13px;
  color: #5a5855;
  line-height: 1.6;
}

.pk360-instructor-review-body p {
  margin: 0 0 0.5em;
}

.pk360-instructor-review-date {
  display: block;
  font-size: 11px;
  color: #9c9a94;
  margin-top: 8px;
}

.pk360-instructor-comment-box {
  background: #ffffff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  padding: 28px;
  margin-top: 16px;
  color: #0d0d0d;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.pk360-instructor-comment-box .comment-respond {
  margin-top: 12px;
}

.pk360-instructor-review-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 0;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid rgba(212, 168, 67, 0.5);
  background: rgba(212, 168, 67, 0.08);
  color: #e8c86a;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.pk360-instructor-review-toggle:hover {
  background: rgba(212, 168, 67, 0.14);
  border-color: rgba(212, 168, 67, 0.75);
}

.pk360-instructor-review-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
}

.pk360-instructor-review-panel:not(.pk360-instructor-review-panel--closed) {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
  margin-top: 16px;
}

.pk360-instructor-review-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.pk360-instructor-comment-box .comment-form-rating-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #0d0d0d;
}

.pk360-star-rating {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}

.pk360-star-rating .pk360-star-btn {
  margin: 0;
  padding: 4px 6px;
  line-height: 1;
  font-size: 28px;
  color: #d1d4dc;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s ease, transform 0.12s ease;
}

.pk360-star-rating .pk360-star-btn:hover {
  transform: scale(1.06);
}

.pk360-star-rating .pk360-star-btn:focus-visible {
  outline: 2px solid rgba(212, 168, 67, 0.85);
  outline-offset: 2px;
}

.pk360-star-rating[data-hover="1"] .pk360-star-btn:nth-child(-n + 1),
.pk360-star-rating[data-hover="2"] .pk360-star-btn:nth-child(-n + 2),
.pk360-star-rating[data-hover="3"] .pk360-star-btn:nth-child(-n + 3),
.pk360-star-rating[data-hover="4"] .pk360-star-btn:nth-child(-n + 4),
.pk360-star-rating[data-hover="5"] .pk360-star-btn:nth-child(-n + 5) {
  color: #d4a843;
}

.pk360-star-rating:not([data-hover])[data-rated="1"] .pk360-star-btn:nth-child(-n + 1),
.pk360-star-rating:not([data-hover])[data-rated="2"] .pk360-star-btn:nth-child(-n + 2),
.pk360-star-rating:not([data-hover])[data-rated="3"] .pk360-star-btn:nth-child(-n + 3),
.pk360-star-rating:not([data-hover])[data-rated="4"] .pk360-star-btn:nth-child(-n + 4),
.pk360-star-rating:not([data-hover])[data-rated="5"] .pk360-star-btn:nth-child(-n + 5) {
  color: #d4a843;
}

.pk360-star-rating.pk360-star-rating--error:not([data-rated]) {
  outline: 1px solid rgba(220, 80, 80, 0.65);
  border-radius: 8px;
  padding: 4px;
}

.pk360-instructor-pick {
  margin-top: 6px;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 0.5px solid #e8e6e0;
  background: #f5f4f0;
  color: #0d0d0d;
  font-size: 14px;
}

.pk360-instructor-pick-label {
  margin: 0 0 16px;
  font-size: 13px;
  color: #5a5855;
}

.pk360-instructor-pick-label label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.pk360-instructor-comment-note {
  font-size: 12px;
  color: #6b6a66;
  margin: 0 0 14px;
}

.pk360-instructor-comment-box .comment-form input[type="text"],
.pk360-instructor-comment-box .comment-form input[type="email"],
.pk360-instructor-comment-box .comment-form input[type="url"],
.pk360-instructor-comment-box .comment-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 0.5px solid #e0ded8;
  background: #fff;
  color: #0d0d0d;
  font-size: 14px;
}

.pk360-instructor-comment-box .comment-form textarea {
  min-height: 120px;
}

.pk360-instructor-comment-box .comment-form .logged-in-as {
  font-size: 12px;
  color: #6b6a66;
}

.pk360-instructor-comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  background: #d4a843;
  color: #0d0d0d !important;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.pk360-instructor-comment-submit:hover {
  filter: brightness(1.05);
}

.pk360-instructor-comments-closed {
  font-size: 13px;
  color: #9c9a94;
  margin: 16px 0 0;
}

/* ── System webinarów (CPT pk360_webinar) ────────────────── */

.pk360-wb-hero {
  background: #0d0d0d;
  color: #fff;
  padding: 32px 0 40px;
  margin-bottom: 0;
}

.pk360-wb-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.pk360-wb-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.pk360-wb-breadcrumb a:hover {
  color: #d4a843;
}

.pk360-wb-breadcrumb-sep {
  margin: 0 6px;
  opacity: 0.5;
}

.pk360-wb-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 960px) {
  .pk360-wb-hero-grid {
    grid-template-columns: 1fr 380px;
    align-items: start;
    gap: 40px;
  }
}

.pk360-wb-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  color: #fff;
}

.pk360-wb-excerpt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.pk360-wb-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.pk360-wb-hero-aside {
  position: relative;
}

.pk360-wb-action-card {
  position: sticky;
  top: 96px;
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  border: 0.5px solid #e8e6e0;
}

.pk360-wb-body {
  padding: 32px 0 48px;
}

.pk360-wb-body-main {
  max-width: 800px;
}

.pk360-wb-content {
  font-size: 15px;
  line-height: 1.75;
  color: #0d0d0d;
}

.pk360-wb-instructor-card {
  background: #0d0d0d;
  color: #fff;
  border: none;
}

.pk360-wb-instructor-card h2 {
  color: #fff;
  border-left-color: #d4a843;
}

.pk360-wb-instructor-inner {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pk360-wb-instructor-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.pk360-wb-instructor-text h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #fff;
}

.pk360-wb-instructor-bio {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}

.pk360-wb-instructor-bio p {
  margin: 0 0 10px;
}

.pk360-wb-embed-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.pk360-wb-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.pk360-wb-note--spaced {
  margin-bottom: 14px;
  color: #5a5855;
}

/* Status badges */
.pk360-wb-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pk360-wb-status-badge.upcoming {
  background: rgba(24, 95, 165, 0.15);
  border: 0.5px solid rgba(24, 95, 165, 0.35);
  color: #6cb0ff;
}

.pk360-wb-status-badge.live {
  background: rgba(239, 68, 68, 0.12);
  border: 0.5px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

.pk360-wb-status-badge.ended {
  background: rgba(30, 140, 106, 0.15);
  border: 0.5px solid rgba(30, 140, 106, 0.35);
  color: #4ade80;
}

/* Countdown */
.pk360-wb-countdown {
  margin-bottom: 20px;
}

.pk360-wb-countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pk360-wb-countdown-unit {
  text-align: center;
  background: #f5f4f0;
  border: 0.5px solid #e8e6e0;
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 64px;
}

.pk360-wb-countdown-unit span {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #0d0d0d;
  letter-spacing: -1px;
  line-height: 1;
}

.pk360-wb-countdown-unit label {
  display: block;
  font-size: 10px;
  color: #9c9a94;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-top: 4px;
}

.pk360-wb-countdown-sep {
  font-size: 24px;
  font-weight: 900;
  color: #9c9a94;
  margin-bottom: 16px;
}

/* Formularz zapisu */
.pk360-wb-register-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pk360-wb-input {
  width: 100%;
  height: 46px;
  border: 0.5px solid #e8e6e0;
  border-radius: 9px;
  padding: 0 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #0d0d0d;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.pk360-wb-input:focus {
  border-color: #b5872a;
  box-shadow: 0 0 0 3px rgba(181, 135, 42, 0.1);
}

.pk360-wb-input::placeholder {
  color: #c8c5bc;
}

.pk360-wb-submit-btn {
  width: 100%;
  height: 50px;
  background: #0d0d0d;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s;
  margin-top: 4px;
}

.pk360-wb-submit-btn:hover {
  background: #1a1a1a;
}

.pk360-wb-submit-btn:disabled {
  background: #9c9a94;
  cursor: not-allowed;
}

.pk360-wb-note {
  text-align: center;
  font-size: 12px;
  color: #9c9a94;
  margin: 4px 0 0;
}

.pk360-wb-seats {
  text-align: center;
  font-size: 12px;
  color: #c85a20;
  font-weight: 600;
  margin: 0;
}

.pk360-wb-error {
  background: rgba(226, 75, 74, 0.08);
  border: 0.5px solid rgba(226, 75, 74, 0.2);
  color: #e24b4a;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}

.pk360-wb-success {
  background: rgba(30, 140, 106, 0.08);
  border: 0.5px solid rgba(30, 140, 106, 0.2);
  color: #1e8c6a;
  padding: 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.pk360-wb-registered {
  background: rgba(30, 140, 106, 0.06);
  border: 0.5px solid rgba(30, 140, 106, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #1e8c6a;
  font-size: 15px;
  font-weight: 600;
}

.pk360-wb-registered svg {
  display: block;
  margin: 0 auto 10px;
}

.pk360-wb-registered p {
  font-size: 13px;
  color: #5a5855;
  font-weight: 400;
  margin: 8px 0 0;
}

/* Live player */
.pk360-wb-live-player {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.pk360-wb-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.pk360-live-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: pk360LivePulse 1.2s ease-in-out infinite;
}

@keyframes pk360LivePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.pk360-wb-recording-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0d0d0d;
}

/* Agenda */
.pk360-wb-agenda {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pk360-wb-agenda-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 0.5px solid #e8e6e0;
}

.pk360-wb-agenda-item:last-child {
  border-bottom: none;
}

.pk360-wb-agenda-time {
  font-size: 13px;
  font-weight: 700;
  color: #b5872a;
  min-width: 48px;
  flex-shrink: 0;
}

.pk360-wb-agenda-topic {
  font-size: 14px;
  color: #0d0d0d;
  line-height: 1.5;
}

.pk360-wb-section {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 16px;
}

.pk360-wb-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.4px;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 3px solid #b5872a;
}

/* Archiwum webinarów (archive-pk360_webinar.php) */
.pk360-wb-archive-hero {
  background: #0d0d0d;
  padding: 60px 40px;
  text-align: center;
}

.pk360-wb-archive-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.pk360-wb-archive-h1 {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin: 16px 0 14px;
}

.pk360-wb-archive-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin: 0;
}

.pk360-wb-archive-title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pk360-wb-archive-content {
  background: #f5f4f0;
  padding: 48px 40px 60px;
}

.pk360-wb-archive-inner {
  max-width: 900px;
  margin: 0 auto;
}

.pk360-wb-archive-section {
  margin-bottom: 48px;
}

.pk360-wb-archive-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid #e8e6e0;
}

.pk360-wb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pk360-wb-archive-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pk360-wb-archive-tabs button {
  padding: 10px 18px;
  border-radius: 999px;
  border: 0.5px solid #e8e6e0;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #5a5855;
  transition: background 0.15s, border-color 0.15s;
}

.pk360-wb-archive-tabs button.is-active {
  background: #0d0d0d;
  color: #fff;
  border-color: #0d0d0d;
}

.pk360-wb-archive-empty {
  color: #9c9a94;
  font-size: 15px;
  margin: 24px 0;
}

.pk360-wb-archive-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pk360-wb-archive-grid-recordings,
.pk360-wb-recordings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .pk360-wb-archive-grid-recordings,
  .pk360-wb-recordings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pk360-wb-archive-grid-recordings,
  .pk360-wb-recordings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .pk360-wb-archive-h1 {
    font-size: 28px;
  }
}

/* Karta webinaru w archiwum (nadchodzący) */
.pk360-wb-archive-card {
  background: #0d0d0d;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
  margin-bottom: 0;
  color: inherit;
  position: relative;
}

.pk360-wb-archive-card:hover {
  opacity: 0.92;
}

.pk360-wb-archive-date {
  flex-shrink: 0;
  text-align: center;
  min-width: 52px;
}

.pk360-wb-archive-day {
  font-size: 32px;
  font-weight: 900;
  color: #d4a843;
  letter-spacing: -1.5px;
  line-height: 1;
  display: block;
}

.pk360-wb-archive-month {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: block;
  margin-top: 3px;
}

.pk360-wb-archive-divider {
  width: 0.5px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.pk360-wb-archive-info {
  flex: 1;
  min-width: 0;
}

.pk360-wb-archive-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 5px;
}

.pk360-wb-archive-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.pk360-wb-archive-mini-cd {
  font-size: 12px;
  font-weight: 700;
  color: #d4a843;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.pk360-wb-archive-mini-cd-inner span {
  font-variant-numeric: tabular-nums;
}

.pk360-wb-archive-cta {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #d4a843;
  margin-top: 4px;
}

.pk360-wb-archive-live-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
  margin: 6px 0;
}

.pk360-wb-archive-seats-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  color: #0d0d0d;
  background: #d4a843;
  padding: 4px 10px;
  border-radius: 8px;
}

/* Karta nagrania w archiwum */
.pk360-wb-recording-card {
  background: #fff;
  border: 0.5px solid #e8e6e0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.pk360-wb-recording-card:hover {
  border-color: #c8c5bc;
  transform: translateY(-2px);
}

.pk360-wb-recording-thumb {
  height: 160px;
  overflow: hidden;
  position: relative;
  background: #f5f4f0;
}

.pk360-wb-recording-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pk360-wb-recording-badge-float {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(30, 140, 106, 0.95);
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
}

.pk360-wb-recording-body {
  padding: 16px;
}

.pk360-wb-recording-title {
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1.35;
  margin-bottom: 6px;
}

.pk360-wb-recording-date {
  font-size: 13px;
  color: #9c9a94;
  margin-bottom: 10px;
}

.pk360-wb-recording-cta {
  font-size: 13px;
  font-weight: 700;
  color: #1e8c6a;
}

/* Tagi */
.pk360-wb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.pk360-wb-tag {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Landing page webinaru (reklamy) — page-webinar-landing.php */
.pk360-wb-landing-body {
  margin: 0;
}

.pk360-wb-landing-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pk360-wb-landing-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px 56px;
  background: #ffffff;
}

.pk360-wb-landing-logo {
  font-weight: 800;
  color: #0d0d0d;
  text-decoration: none;
  margin-bottom: 24px;
}

.pk360-wb-landing-logo:hover {
  color: #b5872a;
}

.pk360-wb-landing-alert {
  background: #fffbeb;
  border: 0.5px solid #fcd34d;
  color: #92400e;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.pk360-wb-landing-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b5872a;
  margin: 0 0 10px;
}

.pk360-wb-landing-h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: #0d0d0d;
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.pk360-wb-landing-lead {
  font-size: 16px;
  color: #5a5855;
  line-height: 1.65;
  margin: 0 0 20px;
}

.pk360-wb-landing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: #9c9a94;
  margin-bottom: 18px;
}

.pk360-wb-landing-meta-item {
  display: inline;
}

.pk360-wb-landing-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid #e8e6e0;
  margin-bottom: 20px;
  max-width: 100%;
}

.pk360-wb-landing-thumb img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

.pk360-wb-landing-countdown {
  margin-bottom: 20px;
}

.pk360-wb-landing-countdown-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9c9a94;
  margin: 0 0 10px;
}

.pk360-wb-landing-form-wrap {
  max-width: 440px;
}

.pk360-wb-landing-legal {
  font-size: 12px;
  line-height: 1.55;
  color: #9c9a94;
  margin-top: 14px;
}

.pk360-wb-landing-legal p {
  margin: 0 0 8px;
}

.pk360-wb-landing-legal a {
  color: #185fa5;
}

.pk360-wb-landing-more {
  margin: 16px 0 0;
  font-size: 14px;
}

.pk360-wb-landing-more a {
  color: #0d0d0d;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(181, 135, 42, 0.4);
}

.pk360-wb-landing-more a:hover {
  color: #b5872a;
}

.pk360-wb-landing-right {
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px 56px;
  position: relative;
  overflow: hidden;
}

.pk360-wb-landing-right::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(181, 135, 42, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.pk360-wb-landing-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pk360-wb-landing-benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.pk360-wb-landing-benefit-icon {
  width: 24px;
  height: 24px;
  background: rgba(181, 135, 42, 0.12);
  border: 0.5px solid rgba(181, 135, 42, 0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #d4a843;
  margin-top: 1px;
  font-size: 12px;
}

.pk360-wb-landing-trust {
  font-size: 15px;
  font-weight: 700;
  color: #d4a843;
  margin: 0 0 18px;
}

.pk360-wb-landing-quote {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.pk360-wb-landing-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
  .pk360-wb-landing-page {
    grid-template-columns: 1fr;
  }

  .pk360-wb-landing-right {
    padding-top: 32px;
  }
}

/* Archiwum — karty (sekcja CTA, typ, siatka nagrań) */
.pk360-wb-archive-type {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.pk360-wb-archive-type--live {
  color: #ef4444;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pk360-wb-archive-card-cta {
  flex-shrink: 0;
  text-align: right;
}

.pk360-wb-archive-card-free {
  font-size: 13px;
  font-weight: 700;
  color: #1e8c6a;
  margin-bottom: 10px;
}

.pk360-wb-recording-thumb {
  position: relative;
}

.pk360-wb-recording-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-wb-recording-badge-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.pk360-wb-recording-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
}

.pk360-wb-recording-play-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pk360-wb-recording-type-line {
  margin-bottom: 6px;
  color: #9c9a94;
  font-size: 12px;
}

.pk360-wb-recording-titleline {
  color: #0d0d0d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.pk360-wb-recording-instr {
  color: #9c9a94;
  margin-top: 6px;
}

/* Single webinar — hero (single-pk360_webinar.php) */
.pk360-wb-hero-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(181, 135, 42, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.pk360-wb-hero-cols {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.pk360-wb-hero-breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pk360-wb-hero-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.pk360-wb-hero-breadcrumb a:hover {
  color: #d4a843;
}

.pk360-wb-hero-h1 {
  font-size: clamp(28px, 4.5vw, 38px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.pk360-wb-hero-excerpt {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  margin: 0 0 24px;
  max-width: 600px;
}

.pk360-wb-hero-excerpt p {
  margin: 0;
}

.pk360-wb-hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.pk360-wb-hero-sticky {
  position: sticky;
  top: 80px;
}

@media (max-width: 1024px) {
  .pk360-wb-hero-cols {
    grid-template-columns: 1fr;
  }

  .pk360-wb-hero-sticky {
    position: static;
  }
}

.pk360-wb-hero-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.pk360-wb-countdown-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: center;
}

.pk360-wb-live-cta {
  display: block;
  width: 100%;
  height: 50px;
  background: #ef4444;
  color: #fff !important;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  line-height: 50px;
  text-decoration: none;
}

/* ── Certyfikat (PDF / odtwarzacz lekcji, konto) ── */
.pk360-lesson-certificate {
  background: linear-gradient(135deg, rgba(181, 135, 42, 0.08), rgba(212, 168, 67, 0.04));
  border: 0.5px solid rgba(181, 135, 42, 0.25);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 16px 0 8px;
}

.pk360-lesson-certificate-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pk360-lesson-certificate-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.pk360-lesson-certificate-text {
  flex: 1;
  min-width: 0;
}

.pk360-lesson-certificate-title {
  font-size: 15px;
  font-weight: 700;
  color: #0d0d0d;
  margin-bottom: 3px;
}

.pk360-lesson-certificate-sub {
  font-size: 13px;
  color: #9c9a94;
  line-height: 1.45;
}

a.pk360-btn--gold,
.pk360-btn--gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b5872a;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  border: none;
  cursor: pointer;
}

a.pk360-btn--gold:hover,
a.pk360-btn--gold:focus,
.pk360-btn--gold:hover,
.pk360-btn--gold:focus {
  background: #d4a843;
  color: #fff !important;
}

a.pk360-btn-sm--gold,
.pk360-btn-sm--gold {
  display: inline-flex;
  background: rgba(181, 135, 42, 0.1);
  color: #b5872a !important;
  border: 0.5px solid rgba(181, 135, 42, 0.25);
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 4px;
}

a.pk360-btn-sm--gold:hover,
a.pk360-btn-sm--gold:focus {
  background: rgba(181, 135, 42, 0.18);
  color: #0d0d0d !important;
}

@media (max-width: 600px) {
  .pk360-lesson-certificate a.pk360-btn--gold {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* ── Koszyk (WooCommerce) — layout + karty wg projektu HTML (pk360-cart-v2) ── */
body.pk360-cart-page.woocommerce-cart .site-main-inner,
body.woocommerce-cart.pk360-checkout-page .site-main-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px max(16px, env(safe-area-inset-right, 0px)) 72px max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

@media (min-width: 480px) {
  body.pk360-cart-page.woocommerce-cart .site-main-inner,
  body.woocommerce-cart.pk360-checkout-page .site-main-inner {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
}

@media (min-width: 768px) {
  body.pk360-cart-page.woocommerce-cart .site-main-inner,
  body.woocommerce-cart.pk360-checkout-page .site-main-inner {
    padding: 56px max(32px, env(safe-area-inset-left, 0px)) 96px max(32px, env(safe-area-inset-right, 0px));
  }
}

body.pk360-cart-page.woocommerce-cart .woocommerce-cart-form table.shop_table.cart,
body.pk360-cart-page.woocommerce-cart .woocommerce-cart-form table.shop_table.cart th,
body.pk360-cart-page.woocommerce-cart .woocommerce-cart-form table.shop_table.cart td {
  border: none;
  box-shadow: none;
  background: transparent;
}

body.pk360-cart-page.woocommerce-cart .woocommerce-cart-form table.shop_table.cart {
  margin: 0;
}

body.pk360-cart-page.woocommerce-cart .woocommerce-cart-form .woocommerce-checkout-review-order-table {
  border: none;
  background: transparent;
}

body.woocommerce-cart .pk360-cart-v2 {
  max-width: 1200px;
  margin: 0 auto;
}

body.woocommerce-cart .pk360-cart-v2__title-wrap {
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 4px solid #d4a843;
}

body.woocommerce-cart .pk360-cart-v2__h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #0d0d0d;
  font-family: 'Inter', sans-serif;
}

body.woocommerce-cart .pk360-checkout-wrap.pk360-cart-v2__grid {
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  body.woocommerce-cart .pk360-checkout-wrap.pk360-cart-v2__grid {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 32px;
  }
}

@media (max-width: 1023px) {
  body.woocommerce-cart .pk360-checkout-wrap.pk360-cart-v2__grid .pk360-checkout-right {
    order: 2;
    position: static;
    top: auto;
  }

  body.woocommerce-cart .pk360-checkout-wrap.pk360-cart-v2__grid .pk360-checkout-left {
    order: 1;
  }
}

body.woocommerce-cart .pk360-cart-v2-items-table thead {
  display: none !important;
}

body.woocommerce-cart .pk360-cart-v2-items-table tbody,
body.woocommerce-cart .pk360-cart-v2-items-table tr,
body.woocommerce-cart .pk360-cart-v2-items-table td {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

body.woocommerce-cart .pk360-cart-v2-items-table td {
  padding: 0 !important;
}

body.woocommerce-cart .pk360-cart-item-card {
  margin-bottom: 24px;
}

body.woocommerce-cart .pk360-cart-item-card:last-child {
  margin-bottom: 0;
}

/* Karta produktu */
body.woocommerce-cart .pk360-cart-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 479px) {
  body.woocommerce-cart .pk360-cart-card {
    padding: 20px 16px;
    gap: 20px;
  }
}

@media (min-width: 768px) {
  body.woocommerce-cart .pk360-cart-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

body.woocommerce-cart .pk360-cart-card__media {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
}

@media (min-width: 768px) {
  body.woocommerce-cart .pk360-cart-card__media {
    width: 128px;
    max-width: 128px;
  }
}

body.woocommerce-cart .pk360-cart-card__img-link {
  display: block;
  width: 100%;
  height: 100%;
}

body.woocommerce-cart .pk360-cart-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.woocommerce-cart .pk360-cart-card__img--placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, #eee 0%, #f5f5f5 100%);
}

body.woocommerce-cart .pk360-cart-card__main {
  flex: 1;
  min-width: 0;
}

body.woocommerce-cart .pk360-cart-card__row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

@media (max-width: 767px) {
  body.woocommerce-cart .pk360-cart-card__row-head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  body.woocommerce-cart .pk360-cart-card__price {
    text-align: left;
    width: 100%;
    order: 1;
  }

  body.woocommerce-cart .pk360-cart-card__copy {
    order: 0;
  }
}

body.woocommerce-cart .pk360-cart-card__copy {
  flex: 1;
  min-width: 0;
}

body.woocommerce-cart .pk360-cart-card__kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #a3a3a3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 4px;
}

body.woocommerce-cart .pk360-cart-card__title {
  display: block;
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  color: #0d0d0d;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 479px) {
  body.woocommerce-cart .pk360-cart-card__title {
    font-size: 16px;
  }
}

body.woocommerce-cart a.pk360-cart-card__title:hover,
body.woocommerce-cart a.pk360-cart-card__title:focus-visible {
  color: #795900;
}

body.woocommerce-cart .pk360-cart-card__excerpt {
  margin: 8px 0 0;
  max-width: 28rem;
  font-size: 12px;
  line-height: 1.45;
  color: #737373;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  body.woocommerce-cart .pk360-cart-card__excerpt {
    max-width: 100%;
  }
}

body.woocommerce-cart .pk360-cart-card__price {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 900;
  color: #0d0d0d;
  text-align: right;
  white-space: nowrap;
}

body.woocommerce-cart .pk360-cart-card__price .woocommerce-Price-amount {
  font-weight: 900;
}

body.woocommerce-cart .pk360-cart-card__row-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  min-width: 0;
}

@media (max-width: 767px) {
  body.woocommerce-cart .pk360-cart-card__row-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin-top: 20px;
  }

  body.woocommerce-cart .pk360-cart-qty-block {
    width: 100%;
    max-width: 100%;
  }

  body.woocommerce-cart .pk360-cart-card__actions {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  body.woocommerce-cart .pk360-cart-update-inline {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    padding: 14px 16px;
    line-height: 1.25;
    text-align: center;
    box-sizing: border-box;
  }

  body.woocommerce-cart a.pk360-cart-remove.remove {
    align-self: flex-end;
    min-width: 48px;
    min-height: 48px;
  }
}

body.woocommerce-cart .pk360-cart-qty-block {
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
}

body.woocommerce-cart .pk360-cart-card__qty-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #737373;
}

body.woocommerce-cart .pk360-cart-card__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

body.woocommerce-cart .pk360-qty-stepper {
  display: inline-flex;
  flex-direction: row;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  flex-shrink: 0;
  height: 48px;
  box-sizing: border-box;
  border: 1px solid #a3a3a3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

body.woocommerce-cart .pk360-qty-stepper__btn {
  box-sizing: border-box;
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  width: 44px;
  padding: 0;
  margin: 0;
  height: auto;
  min-height: 0;
  border: none;
  border-radius: 0;
  background: #f5f5f5;
  color: #0d0d0d;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

body.woocommerce-cart .pk360-qty-stepper__btn:hover,
body.woocommerce-cart .pk360-qty-stepper__btn:focus-visible {
  background: #ebebeb;
  outline: none;
}

body.woocommerce-cart .pk360-qty-stepper__input {
  box-sizing: border-box;
  flex: 0 0 auto;
  align-self: stretch;
  width: 2.75rem;
  min-width: 2.75rem;
  max-width: 3.5rem;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0 4px;
  border: none;
  border-left: 1px solid #a3a3a3;
  border-right: 1px solid #a3a3a3;
  border-radius: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 48px;
  color: #0d0d0d;
  background: #fff;
  appearance: textfield;
  -moz-appearance: textfield;
}

body.woocommerce-cart .pk360-qty-stepper__input::-webkit-outer-spin-button,
body.woocommerce-cart .pk360-qty-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.woocommerce-cart .pk360-qty-stepper__input:focus {
  outline: none;
  background: #fafafa;
}

/* Nadpisanie szerokości .qty z Woo / motywu — wąski input (~2 cyfry), ta sama wysokość co stepper */
body.woocommerce-cart .woocommerce-cart-form .pk360-qty-stepper__input.qty {
  width: 2.75rem !important;
  min-width: 2.75rem !important;
  max-width: 3.5rem !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 48px !important;
}

body.woocommerce-cart .pk360-cart-update-inline {
  height: auto;
  padding: 8px 24px;
  border: none;
  border-radius: 8px;
  background: #0d0d0d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  transition: opacity 0.15s ease, background 0.15s ease;
}

body.woocommerce-cart .pk360-cart-update-inline:hover,
body.woocommerce-cart .pk360-cart-update-inline:focus-visible {
  opacity: 0.92;
  outline: none;
}

body.woocommerce-cart a.pk360-cart-remove.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 40px;
  height: 40px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: #d4d4d4 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

body.woocommerce-cart a.pk360-cart-remove.remove:hover,
body.woocommerce-cart a.pk360-cart-remove.remove:focus-visible {
  color: #ef4444 !important;
  background: transparent;
}

body.woocommerce-cart .pk360-cart-remove__icon {
  font-size: 24px;
  line-height: 1;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Podsumowanie — karta jak w projekcie */
body.woocommerce-cart .pk360-cart-v2-summary {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

body.woocommerce-cart .pk360-cart-v2-summary .pk360-cart-v2-summary__head {
  padding: 24px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 18px;
  font-weight: 900;
  color: #0d0d0d;
}

body.woocommerce-cart .pk360-cart-v2-summary .pk360-cart-v2-summary__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

body.woocommerce-cart .pk360-cart-v2-summary-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

body.woocommerce-cart .pk360-cart-v2-summary-table tfoot tr th,
body.woocommerce-cart .pk360-cart-v2-summary-table tfoot tr td {
  border: none;
  padding: 8px 0;
  vertical-align: top;
}

/* Kupon, dostawa, opłaty, podatki — mniejszy szary tekst */
body.woocommerce-cart .pk360-cart-v2-summary-table tfoot tr:not(.order-total) th,
body.woocommerce-cart .pk360-cart-v2-summary-table tfoot tr:not(.order-total) td {
  font-size: 12px;
  font-weight: 700;
  color: #737373;
}

/* Jedna linia „Łącznie” — pierwszy wiersz w tfoot: bez górnej kreski; po innych wierszach: separator */
body.woocommerce-cart .pk360-cart-v2-summary-table tfoot tr.order-total.pk360-cart-order-total:first-child th,
body.woocommerce-cart .pk360-cart-v2-summary-table tfoot tr.order-total.pk360-cart-order-total:first-child td {
  padding-top: 4px !important;
  padding-bottom: 12px !important;
  border-top: none !important;
}

body.woocommerce-cart .pk360-cart-v2-summary-table tfoot tr.order-total.pk360-cart-order-total:not(:first-child) th,
body.woocommerce-cart .pk360-cart-v2-summary-table tfoot tr.order-total.pk360-cart-order-total:not(:first-child) td {
  padding-top: 16px !important;
  padding-bottom: 10px !important;
  border-top: 1px solid #e5e5e5 !important;
}

body.woocommerce-cart .pk360-cart-order-total th,
body.woocommerce-cart .pk360-cart-order-total td {
  font-size: 20px;
  font-weight: 900;
  color: #0d0d0d;
}

body.woocommerce-cart .pk360-cart-order-total th {
  font-size: 20px;
  letter-spacing: -0.02em;
}

body.woocommerce-cart .pk360-cart-order-total td {
  text-align: right;
}

body.woocommerce-cart .pk360-cart-order-total td .woocommerce-Price-amount,
body.woocommerce-cart .pk360-cart-order-total td .amount {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

body.woocommerce-cart .pk360-cart-v2-summary__body .pk360-coupon-toggle {
  display: inline-block;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font-size: 12px;
  font-weight: 700;
  color: #d4a843;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

body.woocommerce-cart .pk360-cart-v2-summary__body .pk360-coupon-toggle:hover,
body.woocommerce-cart .pk360-cart-v2-summary__body .pk360-coupon-toggle:focus-visible {
  text-decoration: underline;
  outline: none;
}

body.woocommerce-cart .pk360-cart-v2-summary__body a.pk360-place-order-btn.pk360-place-order-btn--link {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 16px 20px;
  background: #0d0d0d;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease;
}

body.woocommerce-cart .pk360-cart-v2-summary__body a.pk360-place-order-btn.pk360-place-order-btn--link:hover,
body.woocommerce-cart .pk360-cart-v2-summary__body a.pk360-place-order-btn.pk360-place-order-btn--link:focus-visible {
  background: #d4a843;
  color: #0d0d0d !important;
}

body.woocommerce-cart .pk360-cart-v2-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  margin: 0;
}

body.woocommerce-cart .pk360-cart-v2-trust .pk360-checkout-trust-item {
  font-size: 11px;
  color: #737373;
  gap: 12px;
}

body.woocommerce-cart .pk360-cart-v2-trust__ico {
  font-size: 18px;
  color: #16a34a;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.woocommerce-cart .pk360-cart-v2-trust__payu {
  margin: 16px 0 0;
  font-size: 10px;
  line-height: 1.35;
  color: #a3a3a3;
}

/* Cross-sell pod listą */
body.woocommerce-cart .pk360-cart-v2__xsell {
  margin-top: 32px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

body.woocommerce-cart .pk360-cart-v2__xsell-title {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 900;
  color: #0d0d0d;
  padding-left: 12px;
  border-left: 3px solid #d4a843;
}

body.woocommerce-cart .pk360-cart-v2__xsell .pk360-order-item-type {
  font-size: 10px;
  font-weight: 700;
  color: #a3a3a3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.woocommerce-cart .pk360-checkout-right {
  position: sticky;
  top: var(--pk360-sticky-under-site-header, 88px);
  align-self: start;
  z-index: 5;
}

@media (max-width: 1023px) {
  body.woocommerce-cart .pk360-checkout-right {
    position: static;
  }
}

.pk360-cart-page__h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-1);
  margin: 0 0 2rem;
}

.pk360-cart-page__head {
  margin-bottom: 1.5rem;
}

.pk360-cart-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .pk360-cart-page__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 2.5rem 3rem;
  }
  .pk360-cart-page__side {
    position: relative;
  }
  .pk360-cart-summary {
    position: sticky;
    top: calc(80px + 1.5rem);
  }
}

.pk360-cart-line {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .pk360-cart-line {
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
  }
}

.pk360-cart-line:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.pk360-cart-line__media {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .pk360-cart-line__media {
    width: 256px;
  }
}

.pk360-cart-line__img-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border-dark);
  outline: none;
  transition: box-shadow 0.2s ease, transform 0.35s ease;
}

a.pk360-cart-line__img-link:hover,
a.pk360-cart-line__img-link:focus-visible {
  box-shadow: 0 6px 24px rgba(13, 13, 13, 0.1);
}

.pk360-cart-line__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

a.pk360-cart-line__img-link:hover .pk360-cart-line__img,
a.pk360-cart-line__img-link:focus-visible .pk360-cart-line__img {
  transform: scale(1.04);
}

.pk360-cart-line__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.pk360-cart-line__kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
}

.pk360-cart-line__title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  color: var(--text-1);
}

@media (min-width: 900px) {
  .pk360-cart-line__title {
    font-size: 1.5rem;
  }
}

.pk360-cart-line__title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.pk360-cart-line__title a:hover,
.pk360-cart-line__title a:focus {
  color: var(--gold);
  border-bottom-color: rgba(181, 135, 42, 0.4);
}

.pk360-cart-line__sub {
  margin: 0;
  font-size: 0.95rem;
  color: #807664;
  line-height: 1.5;
}

.pk360-cart-line__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: auto;
}

.pk360-cart-line__price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-1);
}

.pk360-cart-line__qty {
  min-width: 0;
}

.pk360-cart-line__qty .quantity {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pk360-cart-line__qty .qty,
.pk360-cart-line__qty input.qty {
  width: 4.25rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  background: #fff;
  color: var(--text-1);
}

.pk360-cart-line__qty .qty:focus {
  outline: 2px solid var(--gold-light);
  outline-offset: 1px;
  border-color: var(--gold);
}

.pk360-cart-line__remove,
a.pk360-cart-line__remove {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #807664 !important;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0.25rem 0;
  cursor: pointer;
  transition: color 0.2s;
}

.pk360-cart-line__remove .material-symbols-outlined,
a.pk360-cart-line__remove .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
}

a.pk360-cart-line__remove:hover,
a.pk360-cart-line__remove:focus {
  color: #ba1a1a !important;
  outline: none;
}

@media (max-width: 480px) {
  .pk360-cart-line__remove,
  a.pk360-cart-line__remove {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

.pk360-cart-form__bar {
  margin: 0 0 2.5rem;
  padding: 0;
}

button.pk360-cart-form__update.button,
.pk360-cart-form__update {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 9px;
  border: 1px solid var(--border-dark);
  background: #fff;
  color: var(--text-1) !important;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pk360-cart-form__update:hover,
.pk360-cart-form__update:focus {
  border-color: var(--gold);
  color: var(--text-1) !important;
  background: var(--gold-bg);
}

.pk360-cart-xsell {
  margin-top: 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.pk360-cart-xsell__h {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--text-1);
}

.pk360-cart-xsell__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pk360-cart-xsell__grid {
    grid-template-columns: 1fr 1fr;
  }
}

a.pk360-cart-xsell__card {
  display: block;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, border-color 0.2s, transform 0.2s;
}

a.pk360-cart-xsell__card:hover,
a.pk360-cart-xsell__card:focus-visible {
  box-shadow: 0 8px 28px rgba(13, 13, 13, 0.1);
  border-color: var(--gold-border);
  outline: none;
}

.pk360-cart-xsell__imgwrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: #f0ece6;
}

.pk360-cart-xsell__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

a.pk360-cart-xsell__card:hover .pk360-cart-xsell__img {
  transform: scale(1.05);
}

.pk360-cart-xsell__badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
}

.pk360-cart-xsell__t {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.4rem;
  color: var(--text-1);
}

.pk360-cart-xsell__p {
  font-size: 0.75rem;
  font-weight: 600;
  color: #807664;
  margin: 0;
}

.pk360-cart-summary {
  background: #fff;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
}

.pk360-cart-summary__h {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
  color: var(--text-1);
}

.pk360-cart-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.pk360-cart-summary__r {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.95rem;
  color: #807664;
}

.pk360-cart-summary__r--tot {
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  color: var(--text-1);
  font-weight: 600;
  align-items: flex-end;
}

.pk360-cart-summary__tot {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold) !important;
  line-height: 1.1;
}

.pk360-cart-coupon {
  margin-bottom: 1.25rem;
}

.pk360-cart-coupon__lab {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4e4636;
  margin: 0 0 0.4rem;
}

.pk360-cart-coupon__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.pk360-cart-coupon__in,
.pk360-cart-coupon__in.input-text {
  flex: 1 1 8rem;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
  border: 1px solid #d2c5b1;
  border-radius: 8px;
  background: #fffcf6;
  color: var(--text-1);
}

.pk360-cart-coupon__in:focus {
  outline: 2px solid var(--gold-light);
  outline-offset: 0;
  border-color: var(--gold);
}

button.pk360-cart-coupon__btn.button,
.pk360-cart-coupon__btn {
  padding: 0.65rem 0.9rem;
  min-height: 44px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--black) !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  white-space: nowrap;
}

.pk360-cart-coupon__btn:hover,
.pk360-cart-coupon__btn:focus {
  opacity: 0.92;
  color: #fff !important;
}

a.pk360-cart-summary__chk {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--black);
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 700;
  border: 2px solid var(--black);
  border-radius: 9px;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  box-sizing: border-box;
  margin-bottom: 0.5rem;
}

a.pk360-cart-summary__chk:hover,
a.pk360-cart-summary__chk:focus {
  background: var(--gold-light) !important;
  border-color: var(--gold-light) !important;
  color: #0d0d0d !important;
  outline: none;
}

.pk360-cart-summary__foot {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.7rem;
  color: #807664;
  line-height: 1.45;
}

.pk360-cart-page__empty {
  padding: 4rem 0 5rem;
  min-height: 32vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pk360-cart-page__empty-inner {
  max-width: 32rem;
}

.pk360-cart-page__lede {
  color: #807664;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1.5rem;
}

a.pk360-cart-page__btn-pri {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.5rem;
  background: var(--black);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 9px;
  text-decoration: none;
  border: 2px solid var(--black);
  transition: background 0.25s, border-color 0.25s;
}

a.pk360-cart-page__btn-pri:hover,
a.pk360-cart-page__btn-pri:focus {
  background: var(--gold-light) !important;
  border-color: var(--gold-light) !important;
  color: #0d0d0d !important;
}

/* ── Blog (post) — archiwum M3 + pojedynczy wpis ────────────────────────── */
.pk360-blog-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 80px;
  box-sizing: border-box;
}

.pk360-blog-shell--single {
  padding-top: 32px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .pk360-blog-shell--single {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
}

@media (min-width: 768px) {
  .pk360-blog-shell--single {
    padding-left: max(24px, env(safe-area-inset-left, 0px));
    padding-right: max(24px, env(safe-area-inset-right, 0px));
  }
}

.pk360-blog-single {
  width: 100%;
  min-width: 0;
}

/* Archiwum — makiet M3 (nagłówek, filtry, siatka, paginacja) */
.pk360-blog-m3 {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 120px) clamp(16px, 4vw, 32px) 0;
  box-sizing: border-box;
  color: #1f1b14;
  font-family: Inter, system-ui, sans-serif;
}

.pk360-blog-m3__header {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e7e5e4;
}

.pk360-blog-m3__title {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #1f1b14;
}

.pk360-blog-m3__lead {
  margin: 0;
  max-width: 42rem;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: #4e4636;
}

.pk360-blog-m3__filters {
  margin-bottom: 64px;
}

.pk360-blog-m3__filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pk360-blog-m3__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 9px;
  border: 1px solid #e7e5e4;
  background: #fff;
  color: #1f1b14;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

.pk360-blog-m3__chip:hover,
.pk360-blog-m3__chip:focus-visible {
  background: #fafaf9;
  border-color: #d6d3d1;
  outline: none;
}

.pk360-blog-m3__chip.is-active {
  background: #b5872a;
  border-color: #b5872a;
  color: #fff;
}

.pk360-blog-m3__chip.is-active:hover {
  opacity: 0.92;
}

.pk360-blog-m3__grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 24px;
  row-gap: 48px;
}

@media (min-width: 768px) {
  .pk360-blog-m3__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .pk360-blog-m3__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pk360-blog-m3-card {
  background: #fff;
  border: 1px solid #f5f5f4;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pk360-blog-m3-card:hover {
  border-color: #d4a843;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
}

.pk360-blog-m3-card__media {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pk360-blog-m3-card__media-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0ebe4;
}

.pk360-blog-m3-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pk360-blog-m3-card:hover .pk360-blog-m3-card__img {
  transform: scale(1.05);
}

.pk360-blog-m3-card__img--placeholder {
  background: linear-gradient(135deg, #eae4db, #f5f4f0);
}

.pk360-blog-m3-card__media-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgb(0 0 0 / 0.05);
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.2);
}

.pk360-blog-m3-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pk360-blog-m3-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pk360-blog-m3-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9px;
  background: #d4a843;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pk360-blog-m3-card__badge--muted {
  background: #807664;
}

.pk360-blog-m3-card__time {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #a8a29e;
}

.pk360-blog-m3-card__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pk360-blog-m3-card__title a {
  color: #1f1b14;
  text-decoration: none;
}

.pk360-blog-m3-card__title a:hover,
.pk360-blog-m3-card__title a:focus-visible {
  color: #795900;
  outline: none;
}

.pk360-blog-m3-card__excerpt {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #4e4636;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pk360-blog-m3-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #fafaf9;
}

.pk360-blog-m3-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pk360-blog-m3-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  filter: grayscale(1);
}

.pk360-blog-m3-card__author-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1f1b14;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pk360-blog-m3-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #d4a843;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.pk360-blog-m3-card__more:hover,
.pk360-blog-m3-card__more:focus-visible {
  gap: 8px;
  outline: none;
}

.pk360-blog-m3-card__more-ico {
  font-size: 16px !important;
  width: 16px;
  height: 16px;
  line-height: 16px !important;
}

.pk360-blog-m3__empty {
  margin: 0;
  padding: 48px 0;
  text-align: center;
  color: #4e4636;
  font-size: 16px;
}

.pk360-blog-m3-pagination.pk360-blog-pagination {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.pk360-blog-pagination .page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pk360-blog-pagination .page-numbers li {
  margin: 0;
}

.pk360-blog-pagination a,
.pk360-blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 10px;
  border-radius: 9px;
  border: 1px solid #e7e5e4;
  background: #fff;
  color: #1f1b14;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-sizing: border-box;
}

.pk360-blog-pagination a:hover,
.pk360-blog-pagination a:focus-visible {
  background: #fafaf9;
  outline: none;
}

.pk360-blog-pagination span.current {
  background: #1f1b14;
  color: #fff;
  border-color: #1f1b14;
}

.pk360-blog-pagination span.dots {
  min-width: auto;
  border: none;
  background: transparent;
  color: #a8a29e;
  font-weight: 600;
}

/* Single post layout */
.pk360-blog-single__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  min-width: 0;
  width: 100%;
}

.pk360-blog-single__main {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .pk360-blog-single__layout {
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
    gap: 40px;
  }

  .pk360-blog-single__sidebar {
    min-width: 0;
  }
}

.pk360-blog-single__sticky {
  position: sticky;
  top: calc(var(--pk360-sticky-under-site-header, 88px) + 16px);
}

.pk360-blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #807664;
  margin-bottom: 20px;
  min-width: 0;
  width: 100%;
}

.pk360-blog-breadcrumb a {
  color: #807664;
  text-decoration: none;
}

.pk360-blog-breadcrumb a:hover {
  color: #795900;
}

.pk360-blog-breadcrumb__sep .material-symbols-outlined {
  font-size: 14px;
  vertical-align: middle;
  color: #bcb6ab;
}

.pk360-blog-breadcrumb__current {
  color: #0d0d0d;
  font-weight: 700;
  min-width: 0;
  flex: 1 1 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
}

@media (min-width: 768px) {
  .pk360-blog-breadcrumb__current {
    flex: 1 1 auto;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }
}

.pk360-blog-single__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  min-width: 0;
  width: 100%;
}

.pk360-blog-badge--gold {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #d4a843;
  color: #261a00;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pk360-blog-single__readtime {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #807664;
}

.pk360-blog-single__readtime .material-symbols-outlined {
  font-size: 16px;
}

.pk360-blog-single__title {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 5vw + 0.5rem, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #0d0d0d;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.pk360-blog-single__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid #d2c5b1;
  min-width: 0;
}

.pk360-blog-single__meta-author {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 12rem;
}

.pk360-blog-single__meta-author > div {
  min-width: 0;
}

.pk360-blog-single__meta-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.pk360-blog-single__meta-name {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0d0d0d;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pk360-blog-single__meta-sub {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #807664;
  margin-top: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pk360-blog-share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d2c5b1;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pk360-blog-share-btn:hover {
  background: #f6ede1;
}

.pk360-blog-single__hero {
  margin-bottom: 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 0.5px solid #d2c5b1;
  max-width: 100%;
}

.pk360-blog-single__hero-img {
  width: 100%;
  max-width: 100%;
  display: block;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

/* Treść wpisu */
.pk360-blog-content {
  font-size: 17px;
  line-height: 1.8;
  color: #4e4636;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pk360-blog-content > *:first-child {
  margin-top: 0;
}

.pk360-blog-content h2 {
  margin: 2.25rem 0 1rem;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1f1b14;
}

.pk360-blog-content h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 800;
  color: #1f1b14;
}

.pk360-blog-content p {
  margin: 0 0 1.25rem;
}

/* Treść wklejana bez prawdziwych nagłówków czasem używa pogrubienia na początku
   akapitu jako pseudo-nagłówka (np. "Krok 1: ..."). Wymuszamy wizualny odstęp,
   żeby nie zlewało się to z resztą zdania w jedną ścianę tekstu. */
.pk360-blog-content p > strong:first-child {
  display: block;
  margin: 1.75rem 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1f1b14;
}

.pk360-blog-content > p:first-child > strong:first-child {
  margin-top: 0;
}

.pk360-blog-content blockquote {
  margin: 2rem 0;
  padding: 16px 20px 16px 20px;
  border-left: 4px solid #d4a843;
  background: rgba(212, 168, 67, 0.08);
  font-style: italic;
  color: #4e4636;
}

.pk360-blog-content ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0 0 0 0.25rem;
}

.pk360-blog-content ul li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
}

.pk360-blog-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4a843;
}

.pk360-blog-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.pk360-blog-content a {
  color: #795900;
  font-weight: 600;
}

.pk360-blog-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e4e2dc;
}

.pk360-blog-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f0e7db;
  font-size: 12px;
  font-weight: 600;
  color: #5a5855;
  text-decoration: none;
}

.pk360-blog-tag:hover {
  background: #eae1d5;
}

.pk360-blog-author-bio {
  margin-top: 28px;
}

.pk360-blog-author-bio__inner {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 14px;
  align-items: flex-start;
}

.pk360-blog-author-bio__avatar {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  flex-shrink: 0;
}

.pk360-blog-author-bio__name {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.pk360-blog-author-bio__text {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #5a5855;
  font-style: italic;
}

.pk360-blog-author-bio__links {
  display: flex;
  gap: 10px;
}

.pk360-blog-author-bio__link {
  color: #795900;
  display: inline-flex;
}

.pk360-blog-comments-wrap {
  margin-top: 40px;
}

/* Sidebar cards */
.pk360-blog-sidecard {
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.pk360-blog-sidecard__label {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #807664;
}

.pk360-blog-sidecard__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pk360-blog-sidecard__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.pk360-blog-sidecard__name {
  font-size: 16px;
  font-weight: 800;
  color: #0d0d0d;
}

.pk360-blog-sidecard__role {
  font-size: 12px;
  font-weight: 600;
  color: #795900;
  margin-top: 2px;
}

.pk360-blog-sidecard__bio {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #5a5855;
}

.pk360-blog-sidecard__btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  border: 1px solid #0d0d0d;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d0d0d;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.pk360-blog-sidecard__btn:hover {
  background: #0d0d0d;
  color: #fff !important;
}

.pk360-blog-related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pk360-blog-related__link {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.pk360-blog-related__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #f0ebe4;
}

.pk360-blog-related__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.pk360-blog-related__img--ph {
  display: block;
  width: 100%;
  height: 100%;
  background: #e8e4de;
}

.pk360-blog-related__title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: #0d0d0d;
  margin-bottom: 4px;
}

.pk360-blog-related__link:hover .pk360-blog-related__title {
  color: #795900;
}

.pk360-blog-related__meta {
  font-size: 12px;
  color: #807664;
}

.pk360-blog-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pk360-blog-cat-tags__chip {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f6ede1;
  font-size: 12px;
  font-weight: 600;
  color: #4e4636;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.pk360-blog-cat-tags__chip:hover {
  background: #d4a843;
  color: #fff;
}

.pk360-blog-cat-tags__count {
  font-weight: 700;
  opacity: 0.85;
}

.pk360-blog-sidecard--cta {
  background: #d4a843;
  border-color: #c49a3d;
  color: #261a00;
  text-align: center;
}

.pk360-blog-cta__icon {
  font-size: 48px;
  display: block;
  margin: 0 auto 8px;
}

.pk360-blog-cta__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.pk360-blog-cta__lede {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.95;
}

.pk360-blog-cta__form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: none;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 15px;
}

.pk360-blog-cta__submit {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: #261a00;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.pk360-blog-cta__submit:hover {
  opacity: 0.9;
}

/* Komentarze */
.pk360-blog-comments__title {
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 900;
}

.pk360-blog-comments__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.pk360-blog-comments__list .comment {
  margin-bottom: 16px;
}

.pk360-blog-comments__list .comment-body {
  padding: 18px;
  background: #fcf8f4;
  border: 1px solid #e8e4de;
  border-radius: 10px;
}

.pk360-blog-comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pk360-blog-comment-form textarea,
.pk360-blog-comment-form input[type="text"],
.pk360-blog-comment-form input[type="email"],
.pk360-blog-comment-form input[type="url"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d2c5b1;
  border-radius: 8px;
  font-family: inherit;
}

.pk360-blog-comment-form__submit {
  width: fit-content;
  padding: 12px 24px;
  background: #0d0d0d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
