/* =========================================================
   MENUBAR
   ========================================================= */
.pandos-menubar {
	position: relative;
	z-index: var(--z-menubar);
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--pandos-menubar-h);
	padding: 0 14px;
	font-size: 15px;
	font-weight: 500;
	background: var(--pandos-surface-bar);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pandos-menubar__left,
.pandos-menubar__right {
	display: flex;
	align-items: center;
	height: 100%;
}

.pandos-menubar__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	min-width: 50px;
	padding: 0 10px;
	margin-right: 4px;
	font-weight: 700;
	border-radius: 9px;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	transition: background 0.15s ease;
}

.pandos-menubar__brand:hover {
	background: rgba(255, 255, 255, 0.15);
}

.pandos-apps-btn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 46px;
	font-size: 15px;
	border-radius: 9px;
	transition: background 0.15s ease;
}

.pandos-apps-btn:hover {
	background: rgba(255, 255, 255, 0.15);
}

/* Menu górne */
.pandos-menu {
	display: flex;
	align-items: center;
	height: 100%;
}

.pandos-menu__item {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
}

.pandos-menu__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 12px;
	font-size: 15px;
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.12s ease;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.pandos-menu__btn:hover,
.pandos-menu__btn:focus-visible,
.pandos-menu__btn[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.15);
}

/* Strzałka przy pozycji rozwijalnej — jasny sygnał „tu jest podmenu".
   Obraca się o 180°, gdy panel jest otwarty. */
.pandos-menu__caret {
	font-size: 10px;
	opacity: 0.75;
	transition: transform 0.15s ease;
}

.pandos-menu__btn[aria-expanded="true"] .pandos-menu__caret {
	transform: rotate(180deg);
}

.pandos-menu__dropdown {
	position: absolute;
	top: var(--pandos-menubar-h);
	left: 2px;
	z-index: var(--z-dropdown);
	display: none;
	min-width: 220px;
	padding: 6px;
	background: var(--pandos-surface-pop);
	backdrop-filter: blur(var(--pandos-blur));
	-webkit-backdrop-filter: blur(var(--pandos-blur));
	border: 1px solid var(--pandos-hairline);
	border-radius: 8px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Otwarcie klikiem (JS) oraz fallback klawiaturowy bez JS. */
.pandos-menu__item:hover .pandos-menu__dropdown,
.pandos-menu__item:focus-within .pandos-menu__dropdown,
.pandos-menu__btn[aria-expanded="true"] + .pandos-menu__dropdown {
	display: block;
	animation: pandos-fade-menu 0.15s ease-out;
}

.pandos-menu__dropdown a {
	display: block;
	padding: 6px 12px;
	margin-bottom: 2px;
	font-size: 13px;
	color: var(--pandos-text-muted);
	text-decoration: none;
	border-radius: 5px;
}

.pandos-menu__dropdown a:hover,
.pandos-menu__dropdown a:focus-visible {
	background: var(--pandos-accent);
	color: #fff;
}

@keyframes pandos-fade-menu {
	from { opacity: 0; transform: translateY(-5px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Status + zegar */
.pandos-status {
	display: flex;
	align-items: center;
	gap: 12px;
}

.pandos-status__icon,
.pandos-status__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 36px;
	font-size: 15px;
	border-radius: 9px;
	text-decoration: none;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	transition: background 0.15s ease;
}

.pandos-status__link:hover,
.pandos-status__link:focus-visible {
	background: rgba(255, 255, 255, 0.15);
}

.pandos-clock {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 10px;
	border-radius: 9px;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
	transition: background 0.15s ease;
}

.pandos-clock:hover,
.pandos-clock[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.15);
}

/* Kalendarz */
.pandos-clock-wrap {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
}

.pandos-calendar {
	position: absolute;
	top: calc(var(--pandos-menubar-h) - 2px);
	right: 0;
	z-index: var(--z-popover);
	width: 260px;
	padding: 12px;
	background: var(--pandos-surface-pop);
	backdrop-filter: blur(var(--pandos-blur));
	-webkit-backdrop-filter: blur(var(--pandos-blur));
	border: 1px solid var(--pandos-hairline);
	border-radius: 10px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.pandos-calendar[hidden] {
	display: none;
}

.pandos-calendar__head {
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-transform: capitalize;
}

.pandos-calendar__weekdays,
.pandos-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}

.pandos-calendar__weekdays {
	margin-bottom: 4px;
}

.pandos-calendar__weekdays span {
	font-size: 10px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	color: var(--pandos-text-dim);
}

.pandos-cal__day {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	font-size: 12px;
	border-radius: 6px;
	color: var(--pandos-text-muted);
}

.pandos-cal__day:disabled {
	cursor: default;
}

.pandos-cal__day:not(:disabled):hover {
	background: rgba(255, 255, 255, 0.12);
}

.pandos-cal__day.is-today {
	background: var(--pandos-accent);
	color: #fff;
	font-weight: 700;
}

.pandos-calendar__foot:empty {
	display: none;
}

/* =========================================================
   OKNO
   ========================================================= */
.pandos-window {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: var(--z-window);
	display: flex;
	flex-direction: column;
	width: 900px;
	height: 560px;
	max-width: 95%;
	max-height: 100%;
	transform: translate(-50%, -50%);
	background: var(--pandos-surface-window);
	backdrop-filter: blur(var(--pandos-blur));
	-webkit-backdrop-filter: blur(var(--pandos-blur));
	border: 1px solid var(--pandos-hairline);
	border-radius: var(--pandos-radius);
	box-shadow: var(--pandos-shadow);
	overflow: hidden;
	touch-action: pan-y;
}

.pandos-window.is-maximized {
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	transform: none;
	border-radius: 0;
	border: 0;
}

.pandos-window::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--pandos-accent-soft), transparent);
	opacity: 0;
	transform: translateX(-100%);
	pointer-events: none;
}

.pandos-window.is-loading::after {
	opacity: 1;
	animation: pandos-progress 0.9s ease-in-out infinite;
}

@keyframes pandos-progress {
	to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
	.pandos-window.is-loading::after {
		animation: none;
		transform: none;
	}
}

.pandos-window__titlebar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	height: 40px;
	background: rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(0, 0, 0, 0.4);
	cursor: grab;
	user-select: none;
}

.pandos-window.is-maximized .pandos-window__titlebar {
	cursor: default;
}

.pandos-window.is-dragging .pandos-window__titlebar {
	cursor: grabbing;
}

.pandos-window__title {
	font-size: 13px;
	font-weight: 600;
	color: var(--pandos-text-muted);
	pointer-events: none;
}

.pandos-window__controls {
	position: absolute;
	left: 14px;
	display: flex;
	gap: 8px;
}

.pandos-ctl {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.pandos-ctl--close { background: #ff5f56; border: 1px solid #e0443e; }
.pandos-ctl--min   { background: #ffbd2e; border: 1px solid #dea123; }
.pandos-ctl--max   { background: #27c93f; border: 1px solid #1aab29; }

.pandos-window__controls:hover .pandos-ctl--close::before { content: "×"; color: #4d0000; }
.pandos-window__controls:hover .pandos-ctl--min::before   { content: "−"; color: #995700; }
.pandos-window__controls:hover .pandos-ctl--max::before   { content: "+"; color: #004d09; }

/* Pasek ścieżki (Eksplorator) */
.pandos-window__crumbbar {
	flex: 0 0 auto;
	padding: 6px 12px;
	background: rgba(0, 0, 0, 0.22);
	border-bottom: 1px solid rgba(0, 0, 0, 0.35);
	overflow-x: auto;
	scrollbar-width: none;
}

.pandos-window__crumbbar::-webkit-scrollbar {
	display: none;
}

.pandos-crumbs__list {
	display: flex;
	align-items: center;
	gap: 2px;
	white-space: nowrap;
}

.pandos-crumbs__item {
	display: flex;
	align-items: center;
	gap: 2px;
}

.pandos-crumbs__link,
.pandos-crumbs__current {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 8px;
	font-size: 12.5px;
	border-radius: 5px;
	text-decoration: none;
}

.pandos-crumbs__link {
	color: var(--pandos-text-muted);
}

.pandos-crumbs__link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.pandos-crumbs__current {
	color: #fff;
	font-weight: 600;
}

.pandos-crumbs__sep {
	font-size: 9px;
	color: var(--pandos-text-dim);
	margin: 0 2px;
}

/* Wnętrze okna */
.pandos-window__body {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
}

.pandos-window__sidebar {
	flex: 0 0 240px;
	padding: 18px 10px;
	background: var(--pandos-surface-panel);
	border-right: 1px solid rgba(0, 0, 0, 0.4);
	overflow-y: auto;
}

.pandos-window__main {
	flex: 1 1 auto;
	min-width: 0;
	padding: 36px 40px;
	overflow-y: auto;
	padding-bottom: calc(var(--pandos-dock-h) + 34px);
	scroll-padding-bottom: var(--pandos-dock-h);
}

.pandos-window__main:focus {
	outline: none;
}

/* Drzewo w sidebarze */
.pandos-tree__title {
	padding-left: 10px;
	margin-bottom: 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--pandos-text-dim);
}

.pandos-tree__row {
	display: flex;
	align-items: center;
	gap: 2px;
}

.pandos-tree__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 18px;
	height: 26px;
	font-size: 9px;
	color: var(--pandos-text-dim);
	border-radius: 4px;
	transition: transform 0.15s ease, color 0.15s ease;
}

.pandos-tree__toggle:hover {
	color: #fff;
}

.pandos-tree__toggle[aria-expanded="true"] i {
	transform: rotate(90deg);
}

.pandos-tree__toggle i {
	transition: transform 0.15s ease;
}

.pandos-tree__toggle--empty {
	pointer-events: none;
}

.pandos-tree__item {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 auto;
	min-width: 0;
	padding: 8px 12px;
	margin-bottom: 4px;
	font-size: 14px;
	text-align: left;
	color: var(--pandos-text-muted);
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}

.pandos-tree__item i {
	width: 16px;
	font-size: 16px;
	text-align: center;
}

.pandos-tree__item:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.pandos-tree__item.is-active {
	background: var(--pandos-accent);
	color: #fff;
}

/* =========================================================
   TREŚĆ
   ========================================================= */
.pandos-pane {
	animation: pandos-fade-in 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.pandos-pane__title {
	margin-bottom: 14px;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.pandos-pane__lead {
	margin-bottom: 28px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--pandos-text-muted);
}

.pandos-card {
	padding: 20px;
	margin-bottom: 28px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 10px;
}

.pandos-card__title {
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--pandos-text-dim);
}

.pandos-card__list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14px;
}

.pandos-card__list i {
	color: var(--pandos-ok);
}

.pandos-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	background: var(--pandos-accent);
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(10, 96, 254, 0.4);
	transition: background 0.18s ease, transform 0.18s ease;
}

.pandos-btn:hover {
	background: var(--pandos-accent-strong);
	transform: translateY(-1px);
}

@keyframes pandos-fade-in {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Treść z edytora bloków */
.pandos-prose {
	font-size: 15px;
	line-height: 1.65;
	color: var(--pandos-text-muted);
}

.pandos-prose > * + * {
	margin-top: 1em;
}

.pandos-prose h2,
.pandos-prose h3,
.pandos-prose h4 {
	margin-top: 1.6em;
	color: #fff;
	line-height: 1.25;
}

.pandos-prose h2 { font-size: 22px; }
.pandos-prose h3 { font-size: 18px; }

.pandos-prose a {
	color: var(--pandos-accent-soft);
	text-underline-offset: 3px;
}

.pandos-prose ul,
.pandos-prose ol {
	padding-left: 1.3em;
	list-style: revert;
}

.pandos-prose li + li {
	margin-top: 0.4em;
}

.pandos-prose blockquote {
	padding-left: 16px;
	border-left: 3px solid var(--pandos-accent);
	color: var(--pandos-text-dim);
}

.pandos-prose img,
.pandos-pane__thumb img {
	border-radius: 10px;
}

.pandos-prose h2 {
	position: relative;
	margin-top: 1.8em;
	padding-left: 16px;
	font-size: 22px;
}

.pandos-prose h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	bottom: 0.15em;
	width: 4px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--pandos-accent) 0%, var(--pandos-accent-strong) 100%);
}

.pandos-prose > p:first-child:not(.pandos-price-note) {
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--pandos-text);
}

.pandos-prose .wp-block-image {
	margin: 24px 0;
}

.pandos-prose .wp-block-image img {
	border: 1px solid var(--pandos-hairline);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.pandos-prose .wp-block-image.aligncenter {
	text-align: center;
}

.pandos-prose > p.has-text-align-center {
	margin: 24px 0;
	padding: 16px 20px;
	font-size: 15.5px;
	font-weight: 600;
	color: #fff;
	background: rgba(10, 96, 254, 0.12);
	border: 1px solid rgba(10, 96, 254, 0.3);
	border-radius: 10px;
}

.pandos-prose .wp-block-columns {
	display: flex;
	gap: 24px;
}

.pandos-prose .wp-block-columns > .wp-block-column {
	flex-grow: 1;
	min-width: 0;
}

.pandos-prose .wp-block-media-text {
	gap: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
}

.pandos-prose .wp-block-media-text__media {
	min-height: 180px;
	border-radius: 0;
}

.pandos-prose .wp-block-media-text__media img {
	border-radius: 0;
}

.pandos-prose .wp-block-media-text__content {
	padding: 18px 20px;
}

.pandos-prose .wp-block-media-text__content > * {
	margin-top: 0;
}

.pandos-prose .wp-block-heading.has-text-align-center {
	margin-bottom: 10px;
}

.pandos-prose h2 a,
.pandos-prose h3 a,
.pandos-prose h4 a {
	color: #fff;
	text-decoration: none;
}

.pandos-prose h2 a:hover,
.pandos-prose h3 a:hover,
.pandos-prose h4 a:hover {
	color: var(--pandos-accent-soft);
}

/* Cytat */
.pandos-prose .wp-block-quote {
	margin: 24px 0;
	padding: 4px 0 4px 18px;
	border-left: 3px solid var(--pandos-accent);
	color: var(--pandos-text);
}

.pandos-prose .wp-block-quote cite {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-style: normal;
	color: var(--pandos-text-dim);
}

.pandos-prose .wp-block-pullquote {
	padding: 24px;
	border: 0;
	border-top: 1px solid var(--pandos-hairline);
	border-bottom: 1px solid var(--pandos-hairline);
	text-align: center;
}

/* Tabela */
.pandos-prose .wp-block-table {
	overflow-x: auto;
}

.pandos-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.pandos-prose th,
.pandos-prose td {
	padding: 10px 12px;
	text-align: left;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.pandos-prose thead th {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.pandos-prose .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: rgba(255, 255, 255, 0.03);
}

/* Separator */
.pandos-prose hr,
.pandos-prose .wp-block-separator {
	height: 1px;
	margin: 28px 0;
	border: 0;
	background: var(--pandos-hairline);
}

/* Grupa z tłem (kolorowe sekcje z przeniesionej treści) */
.pandos-prose .wp-block-group.has-background {
	padding: 22px;
	border-radius: 12px;
}

/* Kod */
.pandos-prose :where( code, pre ) {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--pandos-hairline);
	border-radius: 6px;
}

.pandos-prose code {
	padding: 2px 6px;
	font-size: 0.9em;
}

.pandos-prose pre {
	padding: 14px 16px;
	overflow-x: auto;
}

/* Osadzenia (YouTube, mapy) responsywne i zaokrąglone */
.pandos-prose .wp-block-embed__wrapper iframe,
.pandos-prose iframe {
	max-width: 100%;
	border-radius: 10px;
}

.pandos-pane__thumb {
	margin: 0 0 24px;
}

/* Nagłówek archiwum autora */
.pandos-author {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
}

.pandos-author__avatar {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 1px solid var(--pandos-hairline);
}

.pandos-author__meta {
	min-width: 0;
}

.pandos-author__role {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--pandos-text-dim);
}

.pandos-author__name {
	display: block;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.3px;
}

.pandos-author__bio {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--pandos-text-muted);
}

/* =========================================================
   LISTA WPISÓW
   ========================================================= */
.pandos-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 24px;
}

.pandos-card-entry {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 16px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	transition: background 0.18s ease, border-color 0.18s ease;
}

.pandos-card-entry:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.16);
}

.pandos-card-entry__thumb {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.3);
	aspect-ratio: 16 / 10;
}

.pandos-card-entry__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pandos-card-entry__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 28px;
	color: var(--pandos-text-dim);
}

.pandos-card-entry__body {
	min-width: 0;
}

.pandos-card-entry__title {
	margin-bottom: 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.pandos-card-entry__title a {
	color: #fff;
	text-decoration: none;
}

.pandos-card-entry__title a:hover {
	color: var(--pandos-accent-soft);
}

.pandos-card-entry__excerpt {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--pandos-text-muted);
}

/* Metadane wpisu */
.pandos-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-bottom: 20px;
	font-size: 13px;
	color: var(--pandos-text-dim);
}

.pandos-meta--compact {
	margin-bottom: 0;
	font-size: 12px;
}

.pandos-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.pandos-meta a {
	color: inherit;
	text-decoration: none;
}

.pandos-meta a:hover {
	color: var(--pandos-accent-soft);
	text-decoration: underline;
}

.pandos-pane__thumb figcaption {
	margin-top: 8px;
	font-size: 12.5px;
	color: var(--pandos-text-dim);
}

/* Tagi pod wpisem */
.pandos-terms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	padding-top: 18px;
	font-size: 13px;
	color: var(--pandos-text-dim);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pandos-terms a {
	padding: 3px 10px;
	color: var(--pandos-text-muted);
	background: rgba(255, 255, 255, 0.07);
	border-radius: 20px;
	text-decoration: none;
}

.pandos-terms a:hover {
	background: var(--pandos-accent);
	color: #fff;
}

/* Poprzedni / następny wpis */
.pandos-postnav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pandos-postnav__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 48%;
	padding: 10px 14px;
	font-size: 13px;
	color: var(--pandos-text-muted);
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	text-decoration: none;
}

.pandos-postnav__link--next {
	margin-left: auto;
	text-align: right;
}

.pandos-postnav__link:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.pandos-postnav__link span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Kafelki podstron — „zawartość folderu" */
.pandos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 14px;
	margin-top: 32px;
}

.pandos-grid__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 12px;
	text-align: center;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	transition: background 0.18s ease, transform 0.18s ease;
}

.pandos-grid__item:hover {
	background: rgba(10, 96, 254, 0.28);
	border-color: var(--pandos-accent-soft);
	transform: translateY(-2px);
}

.pandos-grid__item i {
	font-size: 30px;
	color: var(--pandos-accent-soft);
}

.pandos-grid__label {
	font-size: 13.5px;
	font-weight: 600;
}

/* Poddrzewo w sidebarze */
.pandos-tree__sublist {
	margin: 2px 0 6px 26px;
	padding-left: 10px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.pandos-tree__sublist[hidden] {
	display: none;
}

.pandos-tree__item--child {
	font-size: 13px;
	padding: 6px 10px;
}

/* Pozycja grupująca bez własnej strony — otwiera i zamyka gałąź,
   bo sama nigdzie nie prowadzi. */
.pandos-tree__item--group {
	color: var(--pandos-text-muted);
	font-size: 13px;
	font-weight: 600;
	text-align: left;
}

.pandos-tree__item--group:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

/* Wyszukiwarka */
.pandos-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 460px;
	margin: 20px 0 28px;
}

.pandos-search__icon {
	position: absolute;
	left: 12px;
	font-size: 13px;
	color: var(--pandos-text-dim);
	pointer-events: none;
}

.pandos-search__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 12px 10px 32px;
	font: inherit;
	font-size: 14px;
	color: #fff;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid var(--pandos-hairline);
	border-radius: 8px;
}

.pandos-search__input::placeholder {
	color: var(--pandos-text-dim);
}

.pandos-search__submit {
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--pandos-accent);
	border-radius: 8px;
}

.pandos-search__submit:hover {
	background: var(--pandos-accent-strong);
}

/* Wyniki wyszukiwania */
.pandos-results {
	margin-top: 8px;
}

.pandos-results__link {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px;
	margin-bottom: 6px;
	text-decoration: none;
	border-radius: 8px;
	transition: background 0.18s ease;
}

.pandos-results__link:hover {
	background: rgba(255, 255, 255, 0.07);
}

.pandos-results__link i {
	margin-top: 3px;
	font-size: 18px;
	color: var(--pandos-accent-soft);
}

.pandos-results__link strong {
	display: block;
	font-size: 15px;
	color: #fff;
}

.pandos-results__link em {
	display: block;
	margin-top: 3px;
	font-size: 13px;
	font-style: normal;
	color: var(--pandos-text-dim);
}

.pandos-query {
	color: var(--pandos-accent-soft);
}

/* Paginacja */
.pandos-pagelinks,
.navigation.pagination {
	display: flex;
	gap: 6px;
	margin-top: 28px;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	padding: 0 10px;
	font-size: 14px;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.07);
	border-radius: 7px;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
	background: var(--pandos-accent);
	color: #fff;
}

.navigation.pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* 404 */
.pandos-error {
	max-width: 560px;
}

.pandos-error__icon {
	font-size: 52px;
	color: var(--pandos-text-dim);
	margin-bottom: 18px;
}

.pandos-error__actions {
	margin-top: 24px;
}

/* =========================================================
   WZORZEC STRONA GŁÓWNA
   ========================================================= */

/* Rytm sekcji */
.pandos-section,
.pandos-hero,
.pandos-cta {
	margin-top: 48px;
}

.pandos-section > h2,
.pandos-eeat > h2 {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.3px;
}

.pandos-section__lead {
	max-width: 640px;
	margin-top: 8px;
	margin-bottom: 24px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--pandos-text-muted);
}

/* Nadtytuł — mały wersalik z akcentem */
.pandos-eyebrow {
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: var(--pandos-accent-soft);
}

/* Hero */
.pandos-hero {
	margin-top: 4px;
}

.pandos-hero__cols {
	flex-wrap: wrap;
	gap: 28px;
	align-items: center;
}

.pandos-hero__cols > .wp-block-column {
	min-width: 260px;
}

.pandos-hero__title {
	font-size: 34px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.6px;
}

.pandos-hero__lead {
	margin-top: 14px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--pandos-text-muted);
}

.pandos-hero .wp-block-buttons {
	margin-top: 22px;
}

/* Slot na grafikę — zamiennik do podmiany na blok Obraz */
.pandos-media-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	min-height: 220px;
	text-align: center;
	background:
		radial-gradient(circle at 30% 25%, rgba(10, 96, 254, 0.25) 0, transparent 55%),
		radial-gradient(circle at 75% 75%, rgba(14, 116, 144, 0.25) 0, transparent 55%),
		rgba(255, 255, 255, 0.03);
	border: 1px dashed rgba(255, 255, 255, 0.18);
	border-radius: 14px;
}

.pandos-media-slot__hint {
	margin: 0;
	max-width: 220px;
	font-size: 13px;
	color: var(--pandos-text-dim);
}

.pandos-media-slot__hint::before {
	display: block;
	margin-bottom: 10px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 26px;
	color: var(--pandos-accent-soft);
	content: "\f03e"; /* obraz */
}

.pandos-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}

/* WordPress nadaje dzieciom grupy „is-layout-flow” margines pionowy,
   pomijając pierwsze dziecko — w siatce grid zjadał on wysokość komórek
   i pierwszy kafelek wyglądał na większy. Odstępy daje tu gap, więc te
   marginesy zerujemy. Podwójna klasa przebija specyficzność reguły WP. */
.wp-block-group.pandos-cards > * {
	margin-block: 0;
}

.pandos-card2 {
	position: relative;
	padding: 22px 20px 20px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.pandos-card2:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: var(--pandos-accent-soft);
	transform: translateY(-2px);
}

.pandos-card2 h3 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
}

.pandos-card2 h3 a {
	color: #fff;
	text-decoration: none;
}

.pandos-card2 h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 12px;
}

.pandos-card2:hover h3 a {
	color: var(--pandos-accent-soft);
}

.pandos-card2 p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pandos-text-muted);
}

.pandos-card2::before {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 14px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 17px;
	color: var(--pandos-accent-soft);
	background: rgba(10, 96, 254, 0.16);
	border-radius: 10px;
}

.pandos-card2--laptop::before   { content: "\f109"; }
.pandos-card2--phone::before    { content: "\f3cd"; }
.pandos-card2--pc::before       { content: "\f108"; }
.pandos-card2--tablet::before   { content: "\f3fa"; }
.pandos-card2--data::before     { content: "\f0a0"; }
.pandos-card2--business::before { content: "\f1ad"; }

.pandos-eeat-card {
	padding: 22px 20px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
}

.pandos-eeat__kicker {
	margin: 0 0 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--pandos-accent-soft);
}

.pandos-eeat-card h3 {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
}

.pandos-eeat-card p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pandos-text-muted);
}

.pandos-eeat-card a {
	color: var(--pandos-accent-soft);
	text-decoration: none;
}

.pandos-eeat-card a:hover {
	text-decoration: underline;
}

.pandos-eeat-card::before {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 12px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 15px;
	color: #fff;
	background: linear-gradient(180deg, var(--pandos-accent) 0%, var(--pandos-accent-strong) 100%);
	border-radius: 9px;
}

.pandos-eeat--experience::before { content: "\f091"; } /* puchar   */
.pandos-eeat--expertise::before  { content: "\f0ad"; } /* klucz    */
.pandos-eeat--authority::before  { content: "\f559"; } /* certyfikat*/
.pandos-eeat--trust::before      { content: "\f132"; } /* tarcza   */

.pandos-cta {
	padding: 34px 28px;
	text-align: center;
	background:
		radial-gradient(circle at 50% 0, rgba(10, 96, 254, 0.22) 0, transparent 60%),
		rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
}

.pandos-cta h2 {
	font-size: 24px;
	font-weight: 800;
	color: #fff;
}

.pandos-cta p {
	margin: 8px 0 0;
	color: var(--pandos-text-muted);
}

.pandos-cta .wp-block-buttons {
	justify-content: center;
	margin-top: 20px;
}

/* =========================================================
   WZORZEC CENNIK
   ========================================================= */
.pandos-prose .pandos-price-note {
	padding: 14px 16px;
	margin-bottom: 8px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pandos-text-muted);
	background: rgba(10, 96, 254, 0.1);
	border: 1px solid rgba(10, 96, 254, 0.25);
	border-radius: 10px;
}

.pandos-prose .pandos-price-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 16px 0 32px;
}

.wp-block-group.pandos-price-list > * {
	margin-block: 0;
}

.pandos-prose .pandos-price {
	display: flex;
	gap: 16px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.pandos-prose .pandos-price:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
}

.pandos-prose .pandos-price__media {
	flex: 0 0 120px;
	margin: 0;
	align-self: flex-start;
}

.pandos-prose .pandos-price__media img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: 8px;
}

.pandos-prose .pandos-price__body {
	flex: 1 1 auto;
	min-width: 0;
}

.pandos-prose .pandos-price__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.pandos-prose .pandos-price__name {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.pandos-prose .pandos-price__amount {
	flex: 0 0 auto;
	margin: 0;
	padding: 4px 12px;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	color: var(--pandos-accent-soft);
	background: rgba(10, 96, 254, 0.16);
	border-radius: 20px;
}

.pandos-prose .pandos-price__desc {
	margin: 10px 0 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pandos-text-dim);
}

/* =========================================================
   CENNIK SEO — PAKIETY
   ========================================================= */
.pandos-prose .pandos-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 24px 0 32px;
}

.wp-block-group.pandos-plans > * {
	margin-block: 0;
}

.pandos-prose .pandos-plan {
	display: flex;
	flex-direction: column;
	padding: 24px 20px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
}

/* Pakiet wyróżniony — akcentowana ramka i lekka poświata. */
.pandos-prose .pandos-plan--featured {
	background: rgba(10, 96, 254, 0.1);
	border-color: var(--pandos-accent-soft);
	box-shadow: 0 0 0 1px var(--pandos-accent-soft), 0 12px 30px rgba(10, 96, 254, 0.18);
}

.pandos-prose .pandos-plan__badge {
	align-self: flex-start;
	margin: 0 0 12px;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #fff;
	background: var(--pandos-accent);
	border-radius: 20px;
}

.pandos-prose .pandos-plan__name {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--pandos-accent-soft);
}

.pandos-prose .pandos-plan__price {
	margin: 0;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	color: #fff;
}

.pandos-prose .pandos-plan__price span {
	font-size: 16px;
	font-weight: 600;
	color: var(--pandos-text-dim);
}

.pandos-prose .pandos-plan__period {
	margin: 4px 0 18px;
	font-size: 13px;
	color: var(--pandos-text-dim);
}

.pandos-prose .pandos-plan__features {
	flex: 1 1 auto;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.pandos-prose .pandos-plan__features li {
	position: relative;
	padding: 7px 0 7px 26px;
	font-size: 13.5px;
	color: var(--pandos-text-muted);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pandos-prose .pandos-plan__features li:last-child {
	border-bottom: 0;
}

.pandos-prose .pandos-plan__features li::before {
	position: absolute;
	left: 0;
	top: 7px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 12px;
	color: var(--pandos-ok);
	content: "\f00c"; /* check */
}

.pandos-prose .pandos-plan .wp-block-buttons {
	margin-top: auto;
}

.pandos-prose .pandos-plan .wp-block-button,
.pandos-prose .pandos-plan .wp-block-button__link {
	width: 100%;
}

/* =========================================================
   WZORZEC KONTAKT
   ========================================================= */
.pandos-contact-lead {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--pandos-text-muted);
}

.wp-block-columns.pandos-contact {
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 8px;
}

.pandos-contact > .wp-block-column {
	min-width: 260px;
}

.pandos-contact-panel,
.pandos-contact-form {
	padding: 24px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
}

.pandos-contact-panel h2,
.pandos-contact-form h2 {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

.pandos-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0;
	padding: 12px 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--pandos-text-muted);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pandos-contact__item:last-of-type {
	border-bottom: 0;
}

.pandos-contact__item a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.pandos-contact__item a:hover {
	color: var(--pandos-accent-soft);
}

.pandos-contact__item::before {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 15px;
	color: var(--pandos-accent-soft);
	background: rgba(10, 96, 254, 0.16);
	border-radius: 10px;
}

.pandos-contact--phone::before { content: "\f095"; }   /* telefon */
.pandos-contact--mail::before  { content: "\f0e0"; }   /* koperta */
.pandos-contact--place::before { content: "\f3c5"; }   /* pinezka */
.pandos-contact--hours::before { content: "\f017"; }   /* zegar   */

.pandos-contact-actions {
	margin-top: 20px;
}

.pandos-contact-form .wpcf7 {
	margin-top: 4px;
}

/* =========================================================
   DOCK
   ========================================================= */
.pandos-dock {
	position: absolute;
	bottom: 15px;
	left: 50%;
	z-index: var(--z-dock);
	transform: translateX(-50%);
}

.pandos-dock__list {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 8px 10px;
	background: rgba(40, 40, 40, 0.45);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	border: 1px solid var(--pandos-hairline);
	border-radius: 24px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.pandos-dock__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	width: 72px;
}

.pandos-dock__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	font-size: 24px;
	text-decoration: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), background 0.2s ease;
}

.pandos-dock__label {
	max-width: 100%;
	font-size: 10.5px;
	line-height: 1.2;
	text-align: center;
	color: var(--pandos-text-muted);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	/* Pełna nazwa w maks. dwóch liniach — dokumenty prawne muszą być
	   czytelne, nie ucięte wielokropkiem. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: break-word;
}

.pandos-dock__icon:hover,
.pandos-dock__icon:focus-visible {
	transform: scale(1.12) translateY(-4px);
	background: linear-gradient(180deg, var(--pandos-accent) 0%, var(--pandos-accent-strong) 100%);
	border-color: var(--pandos-accent-soft);
}

/* CTA „Zadzwoń” — wyróżnione stale, bez drugiego sticky paska. */
.pandos-dock__item--call {
	position: relative;
}

.pandos-dock__icon--call {
	color: #fff;
	background: linear-gradient(180deg, #34d399 0%, #059669 100%);
	border-color: rgba(52, 211, 153, 0.55);
	box-shadow:
		0 4px 14px rgba(5, 150, 105, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.pandos-dock__icon--call::after {
	content: '';
	position: absolute;
	inset: -3px;
	border-radius: 17px;
	border: 1.5px solid rgba(52, 211, 153, 0.45);
	pointer-events: none;
	animation: pandos-call-pulse 2.4s ease-out infinite;
}

.pandos-dock__item--call .pandos-dock__icon {
	position: relative;
}

.pandos-dock__item--call .pandos-dock__label {
	font-weight: 600;
	color: #a7f3d0;
}

.pandos-dock__icon--call:hover,
.pandos-dock__icon--call:focus-visible {
	background: linear-gradient(180deg, #6ee7b7 0%, #10b981 100%);
	border-color: rgba(110, 231, 183, 0.7);
	box-shadow:
		0 6px 18px rgba(5, 150, 105, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

@keyframes pandos-call-pulse {
	0% {
		opacity: 0.7;
		transform: scale(1);
	}
	70% {
		opacity: 0;
		transform: scale(1.18);
	}
	100% {
		opacity: 0;
		transform: scale(1.18);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pandos-dock__icon--call::after {
		animation: none;
		opacity: 0.5;
	}
}

/* =========================================================
   OKNO „INFORMACJE”
   ========================================================= */
.pandos-about {
	width: min(380px, calc(100vw - 32px));
	padding: 0;
	color: var(--pandos-text);
	background: var(--pandos-surface-pop);
	backdrop-filter: blur(var(--pandos-blur));
	-webkit-backdrop-filter: blur(var(--pandos-blur));
	border: 1px solid var(--pandos-hairline);
	border-radius: var(--pandos-radius);
	box-shadow: var(--pandos-shadow);
	overflow: hidden;
}

.pandos-about::backdrop {
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}

.pandos-about[open] {
	animation: pandos-about-in 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes pandos-about-in {
	from { opacity: 0; transform: scale(0.96); }
	to   { opacity: 1; transform: scale(1); }
}

.pandos-about__bar {
	position: relative;
	display: flex;
	align-items: center;
	height: 36px;
	padding: 0 14px;
	background: rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.pandos-about__bartitle {
	flex: 1 1 auto;
	text-align: center;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--pandos-text-muted);
}

.pandos-about__bar .pandos-ctl--close:hover::before {
	content: "×";
	color: #4d0000;
}

.pandos-about__body {
	padding: 26px 24px 22px;
}

.pandos-about__brand {
	text-align: center;
	margin-bottom: 22px;
}

.pandos-about__glyph {
	font-size: 44px;
	color: var(--pandos-accent-soft);
	margin-bottom: 12px;
}

.pandos-about__brand img {
	margin: 0 auto 12px;
	max-height: 56px;
	width: auto;
}

.pandos-about__name {
	font-size: 19px;
	font-weight: 700;
	color: #fff;
}

.pandos-about__tagline {
	margin-top: 4px;
	font-size: 12.5px;
	color: var(--pandos-text-dim);
}

.pandos-about__specs {
	margin: 0 0 20px;
	font-size: 13px;
}

.pandos-about__spec {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 10px;
	padding: 6px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pandos-about__spec dt {
	color: var(--pandos-text-dim);
	text-align: right;
}

.pandos-about__spec dd {
	margin: 0;
	color: var(--pandos-text-muted);
}

.pandos-about__spec a {
	color: var(--pandos-accent-soft);
	text-decoration: none;
}

.pandos-about__spec a:hover {
	text-decoration: underline;
}

.pandos-about__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 14px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pandos-about__links a {
	font-size: 12px;
	color: var(--pandos-text-dim);
	text-decoration: none;
}

.pandos-about__links a:hover {
	color: var(--pandos-accent-soft);
	text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
	.pandos-about[open] {
		animation: none;
	}

	.pandos-pane,
	.pandos-menu__dropdown {
		animation: none;
	}

	.pandos-dock__icon,
	.pandos-btn {
		transition: none;
	}
}

.pandos-cursor-glow {
	position: fixed;
	inset: 0;
	z-index: 150;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.4s ease;
	background: radial-gradient(
		440px circle at var(--pandos-cursor-x, 50%) var(--pandos-cursor-y, 50%),
		rgba(120, 170, 255, 0.06),
		rgba(120, 170, 255, 0.02) 42%,
		transparent 70%
	);
	mix-blend-mode: screen;
}

.pandos-cursor-glow.is-visible {
	opacity: 1;
}

/**
 * Globalne style kontrolek formularzy.
 *
 * Natywne pola wyglądają jak z jasnego panelu WordPressa, więc na
 * ciemnym oknie rażą. Tu doprowadzamy je do wspólnego języka wizualnego
 * z resztą systemu — te same tokeny koloru, zaokrągleń i akcentu.
 *
 * Zasięg celowo ograniczony do treści strony i typowych formularzy
 * WordPressa (komentarze, wyszukiwarka), żeby nie nadpisywać kontrolek
 * powłoki (dock, menu), które mają własny, zamierzony wygląd.
 */

/* Akcent dla natywnych kontrolek — jedna deklaracja daje spójny kolor
   zaznaczenia checkboxom, radiom i suwakom, z zachowaniem natywnej
   dostępności. */
.pandos-window__main,
.pandos-about,
.comment-form,
.wp-block-search {
	accent-color: var(--pandos-accent);
}

/* =========================================================
   POLA TEKSTOWE
   ========================================================= */
.pandos-window__main :where(
	input[type="text"],
	input[type="email"],
	input[type="url"],
	input[type="tel"],
	input[type="number"],
	input[type="password"],
	input[type="search"],
	input[type="date"],
	input[type="time"],
	input[type="datetime-local"],
	textarea,
	select
),
.comment-form :where( input[type="text"], input[type="email"], input[type="url"], textarea ) {
	width: 100%;
	max-width: 100%;
	padding: 10px 12px;
	font: inherit;
	font-size: 14px;
	line-height: 1.4;
	color: var(--pandos-text);
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid var(--pandos-hairline);
	border-radius: 8px;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
	appearance: none;
	-webkit-appearance: none;
}

.pandos-window__main textarea,
.comment-form textarea {
	min-height: 120px;
	resize: vertical;
}

/* Focus — akcent i delikatna poświata, spójne z resetem :focus-visible. */
.pandos-window__main :where( input, textarea, select ):focus,
.comment-form :where( input, textarea ):focus {
	outline: none;
	border-color: var(--pandos-accent-soft);
	background: rgba(0, 0, 0, 0.4);
	box-shadow: 0 0 0 3px rgba(10, 96, 254, 0.25);
}

.pandos-window__main :where( input, textarea )::placeholder,
.comment-form :where( input, textarea )::placeholder {
	color: var(--pandos-text-dim);
	opacity: 1;
}

/* Autouzupełnianie w WebKit maluje pola na biało — cofamy to. */
.pandos-window__main input:-webkit-autofill,
.comment-form input:-webkit-autofill {
	-webkit-text-fill-color: var(--pandos-text);
	transition: background-color 100000s ease-in-out 0s;
}

/* =========================================================
   SELECT — własna strzałka, natywna jest nieczytelna na ciemnym tle
   ========================================================= */
/* Pełna specyficzność (bez :where), bo wtyczki formularzy — CF7,
   WPForms — stylują select własnymi regułami; :where przegrałoby z nimi,
   dając niebieskie tło i rozdętą strzałkę. */
.pandos-window__main select,
.pandos-window__main .wpcf7 select {
	appearance: none;
	-webkit-appearance: none;
	color: var(--pandos-text);
	background-color: rgba(0, 0, 0, 0.28);
	border: 1px solid var(--pandos-hairline);
	border-radius: 8px;
	padding: 10px 12px;
	padding-right: 38px;
	cursor: pointer;
	/* Strzałka jako pojedynczy SVG. Wcześniej były dwa gradienty
	   tworzące trójkąt, ale gdy wtyczka formularza dokłada „background”
	   w skróconej formie, resetuje background-size i trójkąt rozdyma się
	   na całe pole. Jedna warstwa SVG jest na to odporna. */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23cfcfcf' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
}

.pandos-window__main select:focus {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235593ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pandos-window__main option {
	color: var(--pandos-text);
	background: #1c1c1e;
}

/* Wtyczki formularzy stylują pola regułami o niezerowej specyficzności
   (np. „.wpcf7 input”), więc te selektory są celowo bez :where — muszą
   ją przebić, inaczej pola tekstowe wracają do jasnego tła. */
.pandos-window__main .wpcf7 input[type="text"],
.pandos-window__main .wpcf7 input[type="email"],
.pandos-window__main .wpcf7 input[type="tel"],
.pandos-window__main .wpcf7 input[type="url"],
.pandos-window__main .wpcf7 input[type="number"],
.pandos-window__main .wpcf7 textarea,
.pandos-window__main .wpforms-container input.wpforms-field-medium,
.pandos-window__main .wpforms-container input[type="text"],
.pandos-window__main .wpforms-container input[type="email"],
.pandos-window__main .wpforms-container textarea {
	color: var(--pandos-text);
	background-color: rgba(0, 0, 0, 0.28);
	border: 1px solid var(--pandos-hairline);
	border-radius: 8px;
}

/* =========================================================
   CHECKBOX I RADIO
   ========================================================= */
.pandos-window__main :where( input[type="checkbox"], input[type="radio"] ),
.comment-form :where( input[type="checkbox"], input[type="radio"] ) {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	vertical-align: -3px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid var(--pandos-hairline);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.pandos-window__main input[type="checkbox"],
.comment-form input[type="checkbox"] {
	border-radius: 5px;
}

.pandos-window__main input[type="radio"],
.comment-form input[type="radio"] {
	border-radius: 50%;
}

.pandos-window__main :where( input[type="checkbox"], input[type="radio"] ):hover,
.comment-form :where( input[type="checkbox"], input[type="radio"] ):hover {
	border-color: var(--pandos-accent-soft);
}

.pandos-window__main input[type="checkbox"]:checked,
.comment-form input[type="checkbox"]:checked {
	background: var(--pandos-accent);
	border-color: var(--pandos-accent);
	/* Ptaszek narysowany tłem, żeby nie zależeć od Font Awesome. */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: 14px;
	background-position: center;
	background-repeat: no-repeat;
}

.pandos-window__main input[type="radio"]:checked,
.comment-form input[type="radio"]:checked {
	border-color: var(--pandos-accent);
	background: radial-gradient(circle, var(--pandos-accent) 0 5px, rgba(0, 0, 0, 0.28) 6px);
}

.pandos-window__main :where( input[type="checkbox"], input[type="radio"] ):focus-visible,
.comment-form :where( input[type="checkbox"], input[type="radio"] ):focus-visible {
	outline: 2px solid var(--pandos-accent-soft);
	outline-offset: 2px;
}

/* =========================================================
   SUWAK
   ========================================================= */
.pandos-window__main input[type="range"] {
	width: 100%;
	height: 4px;
	appearance: none;
	-webkit-appearance: none;
	background: var(--pandos-hairline);
	border-radius: 4px;
	cursor: pointer;
}

.pandos-window__main input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	margin-top: -6px;
	background: var(--pandos-accent);
	border: 2px solid #fff;
	border-radius: 50%;
}

.pandos-window__main input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	background: var(--pandos-accent);
	border: 2px solid #fff;
	border-radius: 50%;
}

/* =========================================================
   PRZYCISKI
   Wspólny wygląd dla natywnych przycisków, wysyłania i przycisków
   z edytora bloków. .pandos-btn (istniejący) zachowuje własny styl.
   ========================================================= */
.pandos-window__main :where(
	button,
	input[type="submit"],
	input[type="button"],
	input[type="reset"],
	.wp-element-button,
	.wp-block-button__link
):not(.pandos-btn):not(.pandos-search__submit):not(.pandos-tree__item):not(.pandos-tree__toggle):not(.pandos-cal__day),
.comment-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--pandos-accent);
	border: 1px solid transparent;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.pandos-window__main :where( button, input[type="submit"], input[type="button"], .wp-element-button, .wp-block-button__link ):not(.pandos-btn):not(.pandos-search__submit):not(.pandos-tree__item):not(.pandos-tree__toggle):not(.pandos-cal__day):hover,
.comment-form input[type="submit"]:hover {
	background: var(--pandos-accent-strong);
	transform: translateY(-1px);
}

/* Wariant drugorzędny z edytora bloków (przycisk „outline”). */
.pandos-window__main .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--pandos-accent-soft);
	background: transparent;
	border-color: var(--pandos-accent-soft);
}

.pandos-window__main .wp-block-button.is-style-outline .wp-block-button__link:hover {
	color: #fff;
	background: var(--pandos-accent);
}

/* =========================================================
   ETYKIETY, POLA ZŁOŻONE, PODPOWIEDZI
   ========================================================= */
.pandos-window__main label,
.comment-form label {
	display: inline-block;
	margin-bottom: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--pandos-text-muted);
}

/* Etykieta obejmująca checkbox/radio leży w jednej linii z kontrolką. */
.pandos-window__main label:has( input[type="checkbox"] ),
.pandos-window__main label:has( input[type="radio"] ),
.comment-form label:has( input[type="checkbox"] ) {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	cursor: pointer;
}

.pandos-window__main fieldset {
	margin: 0 0 20px;
	padding: 16px;
	border: 1px solid var(--pandos-hairline);
	border-radius: 10px;
}

.pandos-window__main legend {
	padding: 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	color: var(--pandos-text-dim);
}

/* Plik */
.pandos-window__main input[type="file"] {
	font-size: 13px;
	color: var(--pandos-text-muted);
}

.pandos-window__main input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid var(--pandos-hairline);
	border-radius: 7px;
	cursor: pointer;
}

.pandos-window__main input[type="file"]::file-selector-button:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* Pole wymagane i błędy walidacji przeglądarki. */
.pandos-window__main :where( input, textarea, select ):user-invalid {
	border-color: #ff6b6b;
}

.pandos-window__main .required,
.pandos-window__main .wpcf7-not-valid-tip {
	color: #ff8585;
}

/* =========================================================
   STAN WYŁĄCZONY
   ========================================================= */
.pandos-window__main :where( input, textarea, select, button ):disabled,
.pandos-window__main .wp-element-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* =========================================================
   FORMULARZ KOMENTARZY
   ========================================================= */
.comment-form {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 20px;
}

.comment-form p {
	margin: 0 0 14px;
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--pandos-text-muted);
}

.comment-reply-title {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 4px;
}

/* Blokowa wyszukiwarka WP (gdyby użyta w treści). */
.wp-block-search__input {
	color: var(--pandos-text);
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid var(--pandos-hairline);
	border-radius: 8px 0 0 8px;
}

.wp-block-search__button {
	color: #fff;
	background: var(--pandos-accent);
	border: 0;
	border-radius: 0 8px 8px 0;
}

/* =========================================================
   MOBILE

   Ekran startowy to siatka ikon jak w telefonie, a strona otwiera się
   „nad" nią. Powrót: gest od lewej krawędzi, przycisk w pasku albo
   sprzętowy Back.
   ========================================================= */

/* Ekran ikon — domyślnie schowany, na desktopie nieużywany. */
.pandos-home {
	display: none;
}

@media (max-width: 768px) {

	/* Rozmiary ikon paska są wspólne dla wszystkich ekranów
	   (patrz components.css) — tutaj zostaje tylko to, co naprawdę
	   różni telefon od desktopu. */
	.pandos-apps-btn {
		display: inline-flex;
	}

	/* Kolumny: na desktopie obok siebie (components.css), na telefonie
	   jedna pod drugą. flex-direction zamiast flex-wrap, bo kolumny
	   z wzorców mają flex-basis sumujące się do 100% — wrap zawijałby je
	   niepełne. Sterujemy tym z viewportu (nie szerokości okna), bo na
	   telefonie okno i tak jest pełnoekranowe. */
	.pandos-prose .wp-block-columns {
		flex-direction: column;
	}

	.pandos-menubar {
		padding: 0 6px;
	}

	.pandos-menubar__brand span {
		display: none;
	}

	.pandos-status {
		gap: 2px;
	}

	.pandos-clock {
		font-size: 13px;
	}

	/* Kalendarz nie mieści się już pod wąskim paskiem. */
	.pandos-calendar {
		position: fixed;
		top: calc(var(--pandos-chrome-top) + 4px);
		right: 6px;
		left: auto;
		width: min(300px, calc(100vw - 12px));
	}

	/* Menu górne ustępuje miejsca siatce ikon — pozostaje dostępne
	   przez przycisk aplikacji, więc nawigacja nie znika (bug 4). */
	.pandos-menu {
		display: none;
	}

	.pandos-home {
		display: block;
		position: absolute;
		inset: 0;
		z-index: var(--z-desktop-icons);
		padding: 28px 18px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: rgba(16, 18, 24, 0.92);
		visibility: hidden;
		transition: visibility 0s linear 0.28s;
	}

	.pandos-mobile-home .pandos-home {
		visibility: visible;
		transition: visibility 0s;
	}

	.pandos-home__section + .pandos-home__section {
		margin-top: 26px;
	}

	.pandos-home__section--plain + .pandos-home__section,
	.pandos-home__section + .pandos-home__section--plain {
		padding-top: 20px;
		border-top: 1px solid rgba(255, 255, 255, 0.18);
	}

	.pandos-home__heading {
		margin-bottom: 12px;
		padding-bottom: 8px;
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.6px;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.85);
		text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	}

	.pandos-home__heading a {
		text-decoration: none;
	}

	.pandos-home__grid {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 20px 10px;
	}

	.pandos-home__app {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 7px;
		text-decoration: none;
	}

	.pandos-home__tile {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 58px;
		height: 58px;
		font-size: 24px;
		color: #fff;
		background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
		border: 1px solid rgba(255, 255, 255, 0.18);
		border-radius: 15px;
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
	}

	.pandos-home__app:active .pandos-home__tile {
		transform: scale(0.94);
	}

	.pandos-home__label {
		font-size: 11.5px;
		line-height: 1.25;
		text-align: center;
		text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
	}

	.pandos-window,
	.pandos-window.is-maximized {
		transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
	}

	.pandos-mobile-home .pandos-window,
	.pandos-mobile-home .pandos-window.is-maximized {
		transform: translateX(100%);
	}

	.pandos-mobile-home .pandos-dock {
		opacity: 0;
		pointer-events: none;
	}

	.pandos-window__sidebar {
		display: none;
	}

	.pandos-window__titlebar {
		display: none;
	}

	.pandos-window__crumbbar {
		padding: 10px 12px;
	}

	.pandos-window__body {
		flex-direction: column;
	}

	.pandos-window__main {
		padding: 20px;
		padding-bottom: calc(var(--pandos-dock-h) + 36px);
	}

	.pandos-pane__title {
		font-size: 24px;
	}

	.pandos-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.pandos-card-entry {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.pandos-card-entry__thumb {
		aspect-ratio: 16 / 9;
	}

	/* Cennik: miniatura nad treścią przy wąskim oknie. */
	.pandos-prose .pandos-price {
		flex-direction: column;
	}

	.pandos-prose .pandos-price__media,
	.pandos-prose .pandos-price__media img {
		width: 100%;
		flex-basis: auto;
	}

	.pandos-prose .pandos-price__media img {
		height: 150px;
	}

	.pandos-postnav {
		flex-direction: column;
	}

	.pandos-postnav__link,
	.pandos-postnav__link--next {
		max-width: none;
		margin-left: 0;
	}

	.pandos-dock {
		transition: opacity 0.2s ease;
	}

	.pandos-dock__item {
		width: 66px;
	}

	.pandos-dock__icon {
		width: 46px;
		height: 46px;
		font-size: 20px;
	}

	/* Dock może mieć więcej ikon niż zmieści ekran — pozwalamy przewijać
	   poziomo zamiast ściskać etykiety. */
	.pandos-dock {
		max-width: calc(100vw - 16px);
	}

	.pandos-dock__list {
		overflow-x: auto;
		scrollbar-width: none;
	}

	.pandos-dock__list::-webkit-scrollbar {
		display: none;
	}

	/* backdrop-filter na pełnym ekranie mocno tnie klatki
	   na słabszych urządzeniach — zastępujemy płaskim tłem. */
	.pandos-window,
	.pandos-menu__dropdown {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: rgba(28, 28, 30, 0.96);
	}
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
	.pandos-window {
		transition: none;
	}
}

@media (prefers-reduced-transparency: reduce) {
	.pandos-window,
	.pandos-menubar,
	.pandos-menu__dropdown,
	.pandos-dock__list {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: rgba(24, 24, 26, 0.97);
	}
}

