/*
Theme Name: Paranormalna Polska
Theme URI: https://paranormalnapolska.pl
Author: Mariusz
Description: Własny, niezależny motyw strony Paranormalna Polska. Blog z prawym sidebarem, gotowy pod WooCommerce, w pełni responsywny.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paranormalna-polska
Tags: blog, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, translation-ready, threaded-comments, woocommerce
*/

/* ==========================================================================
   0. Zmienne / reset
   ========================================================================== */

:root {
	--pp-primary: #cc0100;
	--pp-primary-dark: #a30100;
	--pp-text: #1c1b19;
	--pp-text-muted: #6b6a67;
	--pp-text-soft: #8d8c8b;
	--pp-bg: #ffffff;
	--pp-bg-light: #f7f6f5;
	--pp-bg-light-2: #f0f0ef;
	--pp-border: #e8e8e7;
	--pp-font-heading: 'Jost', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
	--pp-font-body: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
	--pp-container: 1220px;
	--pp-radius: 6px;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--pp-bg);
	color: var(--pp-text);
	font-family: var(--pp-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

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

a:hover {
	color: var(--pp-primary);
}

ul,
ol {
	padding-left: 1.2em;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--pp-font-heading);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.6em;
	color: var(--pp-text);
}

p {
	margin: 0 0 1.2em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0;
	padding: 0;
	margin: -1px;
}

.skip-link {
	position: absolute;
	top: -60px;
	left: 0;
	background: var(--pp-primary);
	color: #fff;
	padding: 10px 18px;
	z-index: 10000;
	transition: top .2s ease;
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

.container {
	max-width: var(--pp-container);
	margin: 0 auto;
	padding: 0 24px;
}

/* ==========================================================================
   1. Nagłówek
   ========================================================================== */

.site-header {
	padding: 40px 0 28px;
	text-align: center;
}

.site-branding {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.site-title {
	margin: 0;
	font-family: var(--pp-font-heading);
	font-weight: 700;
	font-size: clamp(24px, 4vw, 34px);
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.site-title a {
	color: var(--pp-text);
}

.site-title a:hover {
	color: var(--pp-text);
}

.custom-logo-link img {
	max-height: 64px;
	width: auto;
	margin-bottom: 34px;
}

.site-description {
	margin: 0;
	line-height: 1.2;
	font-style: italic;
	font-size: 13px;
	letter-spacing: 0.03em;
	color: var(--pp-primary);
}

.site-nav-wrap {
	border-top: 1px solid var(--pp-border);
	border-bottom: 1px solid var(--pp-border);
	margin-top: 24px;
}

.site-nav-inner {
	max-width: var(--pp-container);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	min-height: 52px;
}

.primary-menu {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 30px;
	margin: 0;
	padding: 0;
}

.primary-menu li {
	position: relative;
}

.primary-menu a {
	display: block;
	padding: 14px 2px;
	font-size: 14px;
	font-weight: 500;
	color: var(--pp-text);
	white-space: nowrap;
}

.primary-menu a:hover,
.primary-menu li.current-menu-item > a {
	color: var(--pp-primary);
}

.primary-menu li.menu-highlight > a,
.primary-menu li.pp-shop-link > a {
	color: var(--pp-primary);
	font-weight: 700;
}

.primary-menu ul.sub-menu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border: 1px solid var(--pp-border);
	padding: 8px 0;
	margin: 0;
	min-width: 190px;
	box-shadow: 0 12px 24px rgba(0,0,0,.06);
	display: none;
	z-index: 50;
}

.primary-menu li:hover > ul.sub-menu {
	display: block;
}

.primary-menu ul.sub-menu a {
	padding: 8px 18px;
}

.menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--pp-border);
	border-radius: var(--pp-radius);
	padding: 8px 12px;
	cursor: pointer;
	align-items: center;
	gap: 8px;
	font-family: var(--pp-font-body);
	font-size: 14px;
	color: var(--pp-text);
}

.menu-toggle .bar {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	position: relative;
}

.menu-toggle .bar::before,
.menu-toggle .bar::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
}

.menu-toggle .bar::before { top: -6px; }
.menu-toggle .bar::after { top: 6px; }

/* ==========================================================================
   2. Layout treści (kolumna + sidebar)
   ========================================================================== */

.site-content-wrap {
	max-width: var(--pp-container);
	margin: 0 auto;
	padding: 44px 24px 60px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	align-items: start;
}

.site-content-wrap.full-width {
	grid-template-columns: 1fr;
}

.content-area {
	min-width: 0;
}

.page-header {
	margin-bottom: 28px;
}

.page-title {
	font-size: 26px;
	margin-bottom: 8px;
}

.archive-description {
	color: var(--pp-text-muted);
	max-width: 680px;
}

/* ==========================================================================
   3. Karty wpisów (listy)
   ========================================================================== */

.post-list {
	display: flex;
	flex-direction: column;
}

.post-card {
	display: flex;
	gap: 26px;
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--pp-border);
}

.post-card:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.post-card__thumb {
	flex: 0 0 270px;
	width: 270px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--pp-radius);
	background: var(--pp-bg-light);
}

.post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.post-meta {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 8px;
	color: var(--pp-text-muted);
}

.post-meta a.post-category {
	color: var(--pp-primary);
}

.post-meta .sep {
	margin: 0 6px;
	color: var(--pp-text-soft);
}

.post-card__body h2,
.post-card__body h3 {
	font-size: 19px;
	margin: 0 0 10px;
}

.post-card__body h2 a,
.post-card__body h3 a {
	color: var(--pp-text);
}

.post-card__excerpt {
	color: var(--pp-text-muted);
	font-size: 15px;
	margin: 0;
}

.post-card__excerpt p {
	margin: 0;
}

/* ==========================================================================
   4. Paginacja
   ========================================================================== */

.pp-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.pp-pagination a,
.pp-pagination span {
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--pp-border);
	border-radius: var(--pp-radius);
	font-size: 14px;
	color: var(--pp-text);
}

.pp-pagination a:hover {
	border-color: var(--pp-primary);
	color: var(--pp-primary);
}

.pp-pagination .current {
	background: var(--pp-text);
	border-color: var(--pp-text);
	color: #fff;
	font-weight: 600;
}

.pp-pagination .next,
.pp-pagination .prev {
	gap: 6px;
	padding: 0 16px;
}

/* ==========================================================================
   5. Sidebar
   ========================================================================== */

.widget-area {
	min-width: 0;
}

.widget {
	margin-bottom: 32px;
}

.widget:last-child {
	margin-bottom: 0;
}

.widget-title {
	font-size: 17px;
	margin-bottom: 16px;
}

.widget.widget_text .widget-title,
.widget.pp-about-widget .widget-title {
	font-style: italic;
}

.widget.widget_text,
.widget.pp-about-widget {
	background: var(--pp-bg-light);
	border-radius: var(--pp-radius);
	border-left: 3px solid var(--pp-primary);
	padding: 26px 24px;
}

.widget.widget_text p,
.widget.pp-about-widget p {
	text-align: justify;
	text-align-last: left;
	line-height: 1.7;
	-webkit-hyphens: auto;
	hyphens: auto;
}

/* Przy szerokim sidebarze (kolumna 320px) wyjustowany tekst robi się
   nierówny — za mało słów w linii. Zostawiamy justowanie tylko tam,
   gdzie widget jest szeroki (układ jednokolumnowy, mobile/tablet). */
@media (min-width: 992px) {
	.widget.widget_text p,
	.widget.pp-about-widget p {
		text-align: left;
		-webkit-hyphens: none;
		hyphens: none;
	}
}

.widget.widget_text .textwidget p:last-child,
.widget.widget_text p:last-child,
.widget.pp-about-widget p:last-child {
	margin-bottom: 0;
}

.widget.widget_text a,
.widget.pp-about-widget a {
	color: var(--pp-primary);
	text-decoration: underline;
}

.pp-related-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pp-related-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.pp-related-list__thumb {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	border-radius: var(--pp-radius);
	overflow: hidden;
	background: var(--pp-bg-light);
}

.pp-related-list__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pp-related-list__title {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 4px;
	color: var(--pp-text);
}

.pp-related-list__date {
	font-size: 11.5px;
	color: var(--pp-text-soft);
}

.widget_categories ul,
.widget_archive ul,
.widget_pages ul,
.widget_meta ul,
.widget_nav_menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget_categories li,
.widget_archive li,
.widget_pages li,
.widget_meta li {
	padding: 9px 0;
	border-bottom: 1px solid var(--pp-border);
	font-size: 14px;
	display: flex;
	justify-content: space-between;
}

.widget_categories li:last-child,
.widget_archive li:last-child,
.widget_pages li:last-child,
.widget_meta li:last-child {
	border-bottom: none;
}

.widget_tag_cloud .tagcloud a {
	display: inline-block;
	margin: 0 6px 8px 0;
	padding: 5px 12px;
	border: 1px solid var(--pp-border);
	border-radius: 30px;
	font-size: 12px !important;
	color: var(--pp-text) !important;
}

.widget_tag_cloud .tagcloud a:hover {
	border-color: var(--pp-primary);
	color: var(--pp-primary) !important;
}

.widget_search .search-form,
.widget.widget_search form {
	display: flex;
}

/* ==========================================================================
   6. Wpis / strona pojedyncza
   ========================================================================== */

.single-post-header,
.page-title-block {
	margin-bottom: 22px;
}

.single-post-header .post-meta,
.page .post-meta {
	margin-bottom: 12px;
}

.single-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 14px;
}

.post-meta__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	color: var(--pp-text-soft);
}

.post-meta__actions .sep {
	margin: 0;
}

.pp-copy-link {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
	color: var(--pp-text-soft);
	cursor: pointer;
	text-decoration: underline;
	text-decoration-color: transparent;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.pp-copy-link:hover {
	color: var(--pp-primary);
	text-decoration-color: currentColor;
}

.pp-copy-link.is-copied {
	color: var(--pp-primary);
	text-decoration-color: transparent;
}

.pp-post-views {
	white-space: nowrap;
}

@media (max-width: 480px) {
	.single-post-meta {
		justify-content: flex-start;
	}
}

.single-post-title,
.entry-title {
	font-size: clamp(24px, 4vw, 34px);
	margin-bottom: 0;
}

.single-post-thumb {
	margin: 22px 0 30px;
	border-radius: var(--pp-radius);
	overflow: hidden;
}

.entry-content {
	font-size: 16.5px;
	line-height: 1.75;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content h2 {
	font-size: 22px;
	margin-top: 1.6em;
}

.entry-content h3 {
	font-size: 19px;
	margin-top: 1.4em;
}

.entry-content img {
	border-radius: var(--pp-radius);
	margin: 1.2em 0;
}

.entry-content a {
	color: var(--pp-primary);
	text-decoration: underline;
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 24px;
	border-left: 3px solid var(--pp-primary);
	font-style: italic;
	color: var(--pp-text-muted);
}

.pp-sources {
	margin-top: 36px;
	background: var(--pp-bg-light);
	border-left: 3px solid var(--pp-primary);
	border-radius: var(--pp-radius);
	padding: 26px 30px;
}

.pp-sources__title {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 14px;
}

.pp-sources__list {
	margin: 0;
	padding-left: 20px;
}

.pp-sources__list li {
	margin-bottom: 8px;
	font-size: 14.5px;
	color: var(--pp-text-muted);
}

.pp-sources__list li:last-child {
	margin-bottom: 0;
}

.pp-sources__list a {
	color: var(--pp-primary);
	text-decoration: underline;
	word-break: break-word;
}

.pp-sources__list a:hover {
	color: var(--pp-primary-dark);
}

@media (max-width: 600px) {
	.pp-sources {
		padding: 20px 22px;
	}
}

.entry-tags {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--pp-border);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 13px;
}

.entry-tags a {
	border: 1px solid var(--pp-border);
	border-radius: 30px;
	padding: 5px 14px;
}

.post-navigation {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--pp-border);
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	max-width: 48%;
	font-size: 14px;
}

.post-navigation .nav-next {
	text-align: right;
	margin-left: auto;
}

.post-navigation .nav-sub {
	display: block;
	color: var(--pp-text-soft);
	font-size: 12px;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.post-navigation a:hover .nav-title {
	color: var(--pp-primary);
}

/* Komentarze */

.comments-area {
	margin-top: 46px;
	padding-top: 30px;
	border-top: 1px solid var(--pp-border);
}

.comments-title,
.comment-reply-title {
	font-size: 20px;
}

.comment-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	margin: 0 0 0 32px;
	padding: 0;
}

.comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--pp-border);
}

.comment-author {
	font-weight: 700;
	font-size: 14px;
}

.comment-metadata {
	font-size: 12px;
	color: var(--pp-text-soft);
	margin-bottom: 8px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--pp-border);
	border-radius: var(--pp-radius);
	font-family: var(--pp-font-body);
	font-size: 14px;
	margin-bottom: 14px;
}

/* Przyciski / formularze ogólne */

.btn,
input[type="submit"],
button.wp-block-button__link,
.comment-form input#submit,
.search-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--pp-text);
	color: #fff !important;
	border: none;
	border-radius: var(--pp-radius);
	padding: 12px 26px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.btn:hover,
input[type="submit"]:hover,
.comment-form input#submit:hover {
	background: var(--pp-primary);
	color: #fff;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form input[type="search"] {
	flex: 1;
	padding: 12px 14px;
	border: 1px solid var(--pp-border);
	border-radius: var(--pp-radius);
	font-family: var(--pp-font-body);
}

/* 404 */

.error-404 {
	text-align: center;
	padding: 60px 0;
}

.error-404 .error-code {
	font-family: var(--pp-font-heading);
	font-size: 90px;
	font-weight: 700;
	color: var(--pp-primary);
	line-height: 1;
	margin-bottom: 10px;
}

/* ==========================================================================
   6b. Strona Kontakt
   ========================================================================== */

.pp-contact {
	max-width: 720px;
	margin: 0 auto;
}

.pp-contact__hero {
	text-align: center;
	margin-bottom: 30px;
}

.pp-contact__eyebrow {
	display: inline-block;
	font-family: var(--pp-font-heading);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--pp-primary);
	margin-bottom: 10px;
}

.pp-contact__hero .entry-title {
	margin: 0;
}

.pp-contact .single-post-thumb {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.pp-contact__card {
	background: var(--pp-bg-light);
	border-left: 3px solid var(--pp-primary);
	border-radius: var(--pp-radius);
	padding: 34px 38px;
	margin-top: 8px;
}

.pp-contact__card > *:first-child {
	margin-top: 0;
}

.pp-contact__card > *:last-child {
	margin-bottom: 0;
}

.pp-contact__card p {
	margin-bottom: 1.1em;
}

.pp-contact__card a[href^="mailto:"] {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--pp-primary);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 14.5px;
	padding: 10px 22px;
	border-radius: var(--pp-radius);
	margin: 4px 0;
}

.pp-contact__card a[href^="mailto:"]::before {
	content: "\2709";
	font-size: 15px;
	line-height: 1;
}

.pp-contact__card a[href^="mailto:"]:hover {
	background: var(--pp-primary-dark);
}

.pp-contact__social {
	display: flex;
	justify-content: center;
	gap: 12px;
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
}

.pp-contact__social a {
	width: 40px;
	height: 40px;
	border: 1px solid var(--pp-border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--pp-text);
}

.pp-contact__social a:hover {
	border-color: var(--pp-primary);
	color: var(--pp-primary);
}

.pp-contact__social svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

@media (max-width: 600px) {
	.pp-contact__card {
		padding: 26px 22px;
	}
}

/* ==========================================================================
   7. Stopka
   ========================================================================== */

.site-footer {
	border-top: 1px solid var(--pp-border);
	margin-top: 20px;
}

.footer-widgets {
	max-width: var(--pp-container);
	margin: 0 auto;
	padding: 64px 24px;
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 48px;
}

.footer-widgets .widget-title {
	font-size: 15px;
	margin-bottom: 18px;
}

.footer-about .site-title {
	font-size: 20px;
	text-align: left;
	margin-bottom: 4px;
}

.footer-about .site-description {
	text-align: left;
	margin-bottom: 14px;
	color: var(--pp-primary);
}

.footer-about p {
	color: var(--pp-text-muted);
	font-size: 14.5px;
}

/* Widget "Kod" w kolumnie 1 stopki bywa używany jak zwykły akapit —
   wymuszamy zwykłą czcionkę strony zamiast domyślnej czcionki kodu. */
.footer-about .wp-block-code {
	margin: 0 0 14px;
	padding: 0;
	border: none;
	background: none;
	color: var(--pp-text-muted);
	font-size: 14.5px;
	font-family: var(--pp-font-body);
	white-space: pre-wrap;
}

.footer-about .wp-block-code code {
	font-family: inherit;
	color: inherit;
	background: none;
}

.footer-social {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.footer-social a {
	width: 34px;
	height: 34px;
	border: 1px solid var(--pp-border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--pp-text);
}

.footer-social a:hover {
	border-color: var(--pp-primary);
	color: var(--pp-primary);
}

.footer-social svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.footer-menu-col {
	text-align: center;
}

.footer-widget-menu {
	list-style: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.footer-widget-menu a {
	font-family: var(--pp-font-heading);
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--pp-text);
}

.footer-widget-menu a:hover {
	color: var(--pp-primary);
}

.footer-bottom {
	border-top: 1px solid var(--pp-border);
}

.footer-bottom-inner {
	max-width: var(--pp-container);
	margin: 0 auto;
	padding: 26px 24px;
	text-align: center;
}

.footer-nav {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0 0 14px;
	padding: 0;
	font-size: 13.5px;
}

.footer-legal {
	font-size: 13px;
	color: var(--pp-text-soft);
	margin: 0 0 6px;
}

.footer-legal a {
	color: var(--pp-text-soft);
}

.footer-legal a:hover {
	color: var(--pp-primary);
}

/* ==========================================================================
   8. WooCommerce (przygotowanie na przyszłość)
   ========================================================================== */

.woocommerce ul.products li.product .price {
	color: var(--pp-primary);
	font-weight: 700;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit,
.woocommerce input.button {
	background: var(--pp-text);
	color: #fff;
	border-radius: var(--pp-radius);
	font-family: var(--pp-font-body);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--pp-primary);
	color: #fff;
}

.woocommerce-page .site-content-wrap {
	padding-top: 44px;
}

/* ==========================================================================
   9. Responsywność
   ========================================================================== */

@media (max-width: 991px) {
	.site-content-wrap {
		grid-template-columns: 1fr;
	}

	.widget-area {
		border-top: 1px solid var(--pp-border);
		padding-top: 36px;
		margin-top: 8px;
	}

	.footer-widgets {
		grid-template-columns: 1fr 1fr;
	}

	.footer-about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {
	.menu-toggle {
		display: inline-flex;
	}

	.site-nav-inner {
		justify-content: space-between;
	}

	.primary-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border: 1px solid var(--pp-border);
		border-top: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 0;
		display: none;
		z-index: 100;
	}

	.primary-menu.is-open {
		display: flex;
	}

	.primary-menu li {
		width: 100%;
	}

	.primary-menu a {
		padding: 12px 24px;
		text-align: left;
	}

	.primary-menu ul.sub-menu {
		position: static;
		border: none;
		box-shadow: none;
		padding-left: 16px;
		display: none;
	}

	.primary-menu li.pp-submenu-open > ul.sub-menu {
		display: block;
	}

	.post-card {
		flex-direction: column;
		gap: 14px;
	}

	.post-card__thumb {
		width: 100%;
		flex-basis: auto;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
		padding: 48px 24px;
	}

	.footer-about {
		grid-column: auto;
	}

	.post-navigation {
		flex-direction: column;
	}

	.post-navigation .nav-previous,
	.post-navigation .nav-next {
		max-width: 100%;
		text-align: left;
	}

	.post-navigation .nav-next {
		margin-left: 0;
		text-align: left;
	}

	/* Delikatne zmniejszenie nagłówka i odstępów na komórce */
	.site-header {
		padding: 28px 0 20px;
	}

	.custom-logo-link img {
		margin-bottom: 20px;
	}

	.site-title {
		font-size: 21px;
	}

	.site-description {
		font-size: 12px;
	}

	.site-content-wrap {
		padding-top: 14px;
	}
}

@media (max-width: 480px) {
	.container,
	.site-content-wrap,
	.site-nav-inner,
	.footer-widgets,
	.footer-bottom-inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.post-card__thumb {
		aspect-ratio: 16 / 10;
	}
}
