/*
Theme Name: Savoy Child
Theme URI: https://cardie.pl
Description: Dostosowania Cardie dla motywu Savoy
Author: Cardie
Template: savoy
Version: 1.9.25
Text Domain: savoy-child
*/

/* Wpis: linki w treści */
.nm-post .entry-content a,
.nm-blog .entry-content a {
	color: #282828;
	text-decoration: underline;
	text-decoration-color: rgba(40, 40, 40, 0.35);
	text-underline-offset: 2px;
}

.nm-post .entry-content a:hover,
.nm-blog .entry-content a:hover {
	color: #dc9814;
	text-decoration-color: #dc9814;
}

.nm-post .nm-single-post-categories a {
	color: #666;
	text-decoration: none;
	font-weight: 500;
}

.nm-post .nm-single-post-categories a:hover {
	color: #dc9814;
}

.nm-post .nm-single-post-meta-wrap {
	color: #888;
	font-size: 14px;
}

/* Sidebar bloga: nadpisanie globalnego pomarańczu motywu Savoy */
.cardie-blog-sidebar a {
	color: #282828;
	text-decoration: none;
	transition: color 0.2s ease;
}

.cardie-blog-sidebar a:hover {
	color: #f5863e;
}

.cardie-blog-sidebar {
	padding-left: 28px;
}

.cardie-sidebar-block {
	padding: 0 0 22px;
	margin: 0 0 22px;
	border-bottom: 1px solid #eee;
}

.cardie-sidebar-block:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

.cardie-sidebar-title {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #282828;
}

/* Szukaj */
.cardie-sidebar-search {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.cardie-sidebar-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #ddd;
	border-radius: 0;
	background: #fff;
	color: #282828;
	font-size: 13px;
}

.cardie-sidebar-search input[type="search"]:focus {
	outline: none;
	border-color: #282828;
}

.cardie-sidebar-search button {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border: 1px solid #282828;
	border-radius: 0;
	background: #282828;
	color: #fff;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

.cardie-sidebar-search button:hover {
	background: #f5863e;
	border-color: #f5863e;
}

/* Kategorie */
.cardie-sidebar-categories {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cardie-sidebar-categories li {
	margin: 0 0 4px;
}

.cardie-sidebar-categories li:last-child {
	margin-bottom: 0;
}

.cardie-sidebar-categories a {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	background: #fafafa;
	border: 1px solid #eee;
	color: #282828 !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.cardie-sidebar-categories a:hover {
	background: #fff;
	border-color: #f5863e;
	color: #f5863e !important;
}

.cardie-sidebar-cat-name {
	flex: 1;
	min-width: 0;
}

.cardie-sidebar-cat-count {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 500;
	color: #999;
}

.cardie-sidebar-categories a:hover .cardie-sidebar-cat-count {
	color: #f5863e;
}

/* Najnowsze wpisy */
.cardie-sidebar-posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cardie-sidebar-posts li {
	margin: 0 0 14px;
}

.cardie-sidebar-posts li:last-child {
	margin-bottom: 0;
}

.cardie-sidebar-post-link {
	display: flex !important;
	align-items: flex-start;
	gap: 12px;
	color: #282828 !important;
}

.cardie-sidebar-post-thumb {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	overflow: hidden;
	background: #f5f5f5;
}

.cardie-sidebar-post-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cardie-sidebar-post-text {
	display: flex !important;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1;
}

.cardie-sidebar-post-title {
	display: block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	color: #282828;
}

.cardie-sidebar-post-date {
	display: block;
	font-size: 11px;
	color: #999;
}

.cardie-sidebar-post-link:hover .cardie-sidebar-post-title {
	color: #f5863e;
}

/* Tagi */
.cardie-sidebar-tags {
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px;
}

.cardie-sidebar-tags a {
	display: inline-block !important;
	padding: 5px 10px;
	border: 1px solid #e5e5e5;
	background: #fafafa;
	color: #666 !important;
	font-size: 12px;
	line-height: 1.3;
}

.cardie-sidebar-tags a:hover {
	border-color: #f5863e;
	background: #fff;
	color: #f5863e !important;
}

/* CTA */
.cardie-sidebar-cta {
	padding: 18px 16px;
	background: #f9e8dd;
	text-align: center;
}

.cardie-sidebar-cta-lead {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: #282828;
	line-height: 1.35;
}

.cardie-sidebar-cta-text {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: #555;
}

.cardie-blog-sidebar .cardie-sidebar-cta-discount {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.1;
	color: #f5863e !important;
	letter-spacing: -0.02em;
}

.cardie-blog-sidebar .cardie-sidebar-cta-code {
	display: block;
	margin: 0 0 4px;
	padding: 8px 10px;
	background: #fff !important;
	border: 1px dashed #f5863e !important;
	font-size: 14px;
	line-height: 1.3;
	color: #282828;
	word-break: break-word;
}

.cardie-blog-sidebar .cardie-sidebar-cta-code strong {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #282828;
}

.cardie-sidebar-cta-code-label {
	font-weight: 600;
	color: #555;
}

.cardie-sidebar-cta-hint {
	margin: 0 0 14px;
	font-size: 11px;
	line-height: 1.4;
	color: #777;
}

.cardie-sidebar-cta-btn {
	display: inline-block;
	padding: 10px 18px;
	background: #f5863e;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.cardie-sidebar-cta-btn:hover {
	background: #282828;
	color: #fff !important;
}

/* Mobile: ten sam CTA jako delikatny pasek na górze ekranu (bez popupu) */
@media (max-width: 991px) {
	body.single-post,
	body.blog,
	body.archive,
	body.category,
	body.tag {
		padding-top: 40px;
	}

	.cardie-sidebar-block-cta {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
		bottom: auto;
		z-index: 10050;
		margin: 0 !important;
		padding: 0;
		border: 0;
		box-shadow: 0 2px 10px rgba(40, 40, 40, 0.08);
	}

	.admin-bar .cardie-sidebar-block-cta {
		top: 46px;
	}

	.cardie-sidebar-block-cta .cardie-sidebar-cta {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		gap: 6px 8px;
		padding: 6px 10px;
		background: #f9e8dd;
	}

	.cardie-sidebar-block-cta .cardie-sidebar-cta-lead,
	.cardie-sidebar-block-cta .cardie-sidebar-cta-text,
	.cardie-sidebar-block-cta .cardie-sidebar-cta-hint {
		display: none;
	}

	.cardie-blog-sidebar .cardie-sidebar-block-cta .cardie-sidebar-cta-discount {
		margin: 0;
		font-size: 16px;
		font-weight: 800;
		flex: 0 0 auto;
	}

	.cardie-blog-sidebar .cardie-sidebar-block-cta .cardie-sidebar-cta-code {
		margin: 0;
		padding: 4px 7px;
		font-size: 11px;
		flex: 0 1 auto;
		min-width: 0;
	}

	.cardie-blog-sidebar .cardie-sidebar-block-cta .cardie-sidebar-cta-code strong {
		font-size: 12px;
	}

	.cardie-sidebar-block-cta .cardie-sidebar-cta-btn {
		padding: 6px 10px;
		font-size: 11px;
		white-space: nowrap;
		flex: 0 0 auto;
	}
}

@media (min-width: 992px) {
	/* Savoy ustawia overflow:hidden na .nm-page-wrap i psuje position:sticky */
	body.single-post .nm-page-wrap,
	body.blog .nm-page-wrap,
	body.archive .nm-page-wrap,
	body.category .nm-page-wrap,
	body.tag .nm-page-wrap {
		overflow: visible;
	}

	/* Flex zamiast floatów: kolumna sidebara ma wysokość artykułu, wtedy sticky działa */
	.cardie-single-post .nm-post-body > .nm-row,
	.nm-blog.has-sidebar .nm-blog-row {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
	}

	.cardie-single-post .nm-post-content-col.col-md-9,
	.nm-blog.has-sidebar .nm-blog-content-col.col-md-9 {
		float: none;
		flex: 0 0 75%;
		max-width: 75%;
		width: 75%;
	}

	.cardie-single-post .cardie-post-sidebar-col,
	.nm-blog.has-sidebar .nm-blog-sidebar-col {
		float: none;
		flex: 0 0 25%;
		max-width: 25%;
		width: 25%;
		align-self: stretch;
		display: flex;
		flex-direction: column;
	}

	.cardie-post-sidebar-col .cardie-blog-sidebar,
	.nm-blog-sidebar-col .cardie-blog-sidebar {
		flex: 1 1 auto;
		width: 100%;
	}

	.cardie-sidebar-block-cta {
		position: sticky;
		top: 120px;
		z-index: 20;
	}
}

/* Linki pomocnicze */
.cardie-sidebar-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cardie-sidebar-links li {
	margin: 0;
	padding: 0;
	border: 0;
}

.cardie-sidebar-links a {
	display: block;
	padding: 7px 0;
	border-bottom: 1px solid #f0f0f0;
	color: #444 !important;
	font-size: 13px;
}

.cardie-sidebar-links li:last-child a {
	border-bottom: 0;
}

.cardie-sidebar-links a:hover {
	color: #f5863e !important;
}

/* Logo Cardie paper goods — na dole sidebara */
.cardie-sidebar-block-brand {
	text-align: center;
	padding-top: 8px;
}

.cardie-sidebar-brand-link {
	display: inline-block;
	line-height: 0;
}

.cardie-sidebar-brand-link:hover {
	opacity: 0.75;
}

.cardie-sidebar-brand-logo {
	display: block;
	width: 201px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

@media (max-width: 991px) {
	.cardie-blog-sidebar {
		padding-left: 0;
		margin-top: 32px;
	}
}

/* --- Pojedynczy artykuł --- */
.cardie-single-post .nm-post-body {
	padding-top: 8px;
}

.cardie-post-breadcrumb {
	margin: 0 0 18px;
	font-size: 12px;
	line-height: 1.5;
	color: #888;
}

.cardie-post-breadcrumb a {
	color: #666;
	text-decoration: none;
}

.cardie-post-breadcrumb a:hover {
	color: #f5863e;
}

.cardie-post-breadcrumb span {
	color: #bbb;
}

.cardie-post-header {
	padding-bottom: 28px;
}

.cardie-single-post .nm-post-header.cardie-post-header h1 {
	margin: 0;
	font-size: clamp(28px, 3.2vw, 38px);
	line-height: 1.2;
	font-weight: 700;
	color: #282828;
	letter-spacing: -0.01em;
}

.cardie-post-meta-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	font-size: 13px;
	color: #777;
}

.cardie-post-meta-category {
	color: #f5863e !important;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 11px;
}

.cardie-post-meta-category:hover {
	color: #282828 !important;
}

.cardie-post-meta-sep {
	color: #ccc;
}

.cardie-post-featured-image {
	overflow: hidden;
	margin-bottom: 28px;
}

.cardie-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
}

.cardie-single-post .post .entry-content.cardie-article-content {
	font-size: 17px;
	line-height: 1.75;
	color: #333;
}

.cardie-single-post .post .entry-content.cardie-article-content > :first-child {
	margin-top: 0;
}

.cardie-single-post .post .entry-content.cardie-article-content p {
	margin-bottom: 1.25em;
}

.cardie-single-post .post .entry-content.cardie-article-content > p:first-of-type {
	font-size: 1.08em;
	line-height: 1.65;
	color: #444;
}

.cardie-single-post .post .entry-content.cardie-article-content h2,
.cardie-single-post .post .entry-content.cardie-article-content .wp-block-heading {
	margin: 2.2em 0 0.75em;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(22px, 2.4vw, 26px);
	line-height: 1.3;
	font-weight: 700;
	color: #282828;
}

.cardie-single-post .post .entry-content.cardie-article-content h3 {
	margin: 1.8em 0 0.65em;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 700;
	color: #282828;
}

.cardie-article-content ul,
.cardie-article-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.35em;
}

.cardie-article-content li {
	margin-bottom: 0.45em;
}

.cardie-article-content li::marker {
	color: #f5863e;
}

.cardie-article-content img {
	max-width: 100%;
	height: auto;
}

.cardie-article-content figure {
	margin: 1.6em 0;
}

.cardie-article-content figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: #888;
	text-align: center;
}

.cardie-article-content blockquote {
	margin: 1.6em 0;
	padding: 16px 20px;
	border-left: 3px solid #f5863e;
	background: #faf7f4;
	color: #444;
}

.cardie-article-content a:focus-visible,
.cardie-post-breadcrumb a:focus-visible,
.cardie-sidebar-search button:focus-visible,
.cardie-sidebar-cta-btn:focus-visible {
	outline: 2px solid #f5863e;
	outline-offset: 2px;
}

.cardie-single-post .nm-single-post-meta-wrap {
	margin-top: 8px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.cardie-single-post .nm-post-pagination {
	margin-top: 0;
}

.cardie-single-post .nm-related-posts {
	padding-top: 10px;
}

/* --- Podobne wpisy --- */
.cardie-related-posts {
	padding: 36px 0 48px;
	border-top: 1px solid #eee;
}

.cardie-related-title {
	margin: 0 0 24px;
	font-size: 22px;
	font-weight: 700;
	color: #282828;
}

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

.cardie-related-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #eee;
	background: #fff;
}

.cardie-related-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: #f3f3f3;
}

.cardie-related-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.cardie-related-thumb:hover img {
	transform: scale(1.03);
}

.cardie-related-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 16px 16px 18px;
}

.cardie-related-body time {
	font-size: 11px;
	color: #888;
	margin-bottom: 8px;
}

.cardie-related-body h3 {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 700;
}

.cardie-related-body h3 a {
	color: #282828;
	text-decoration: none;
}

.cardie-related-body h3 a:hover {
	color: #f5863e;
}

.cardie-related-body p {
	margin: 0;
	margin-top: auto;
	font-size: 13px;
	line-height: 1.55;
	color: #666;
}

/* --- Wyniki wyszukiwania --- */
.cardie-search-wrap {
	padding-bottom: 48px;
}

.cardie-search-header {
	padding: 8px 0 28px;
}

.cardie-search-kicker {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #f5863e;
}

.cardie-search-title {
	margin: 0 0 10px;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.2;
	font-weight: 700;
	color: #282828;
}

.cardie-search-count {
	margin: 0;
	font-size: 14px;
	color: #777;
}

.cardie-search-results {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.cardie-search-result {
	margin: 0;
}

.cardie-search-result-link {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 16px;
	border: 1px solid #eee;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cardie-search-result-link:hover {
	border-color: #ddd;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.cardie-search-result-thumb {
	flex-shrink: 0;
	width: 88px;
	height: 88px;
	overflow: hidden;
	background: #f3f3f3;
}

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

.cardie-search-result-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cardie-search-result-title {
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
	color: #282828;
}

.cardie-search-result-link:hover .cardie-search-result-title {
	color: #f5863e;
}

.cardie-search-result-date {
	margin-top: 4px;
	font-size: 12px;
	color: #888;
}

.cardie-search-result-excerpt {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.6;
	color: #666;
}

.cardie-search-wrap .nm-blog-no-results h1 {
	font-size: 20px;
	line-height: 1.5;
	font-weight: 600;
	color: #444;
}

.cardie-no-results {
	padding: 8px 0 4px;
}

.cardie-no-results-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #555;
}

/* --- Archiwum kategorii --- */
.cardie-category-header {
	padding: 8px 0 24px;
}

.cardie-category-intro {
	margin-top: 20px;
	padding: 18px 20px;
	border: 1px solid #eee;
	background: #fafafa;
	font-size: 15px;
	line-height: 1.7;
	color: #555;
}

.cardie-category-intro p {
	margin: 0 0 12px;
}

.cardie-category-intro p:last-child {
	margin-bottom: 0;
}

.cardie-category-intro a {
	color: #f5863e;
	font-weight: 600;
	text-decoration: none;
}

.cardie-category-intro a:hover {
	color: #282828;
}

.cardie-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.cardie-category-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #eee;
	background: #fff;
}

.cardie-category-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #f3f3f3;
}

.cardie-category-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.cardie-category-card:hover .cardie-category-thumb img {
	transform: scale(1.03);
}

.cardie-category-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 16px 16px 18px;
}

.cardie-category-body time {
	font-size: 12px;
	color: #888;
}

.cardie-category-card-title {
	margin: 8px 0 10px;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
}

.cardie-category-card-title a {
	color: #282828;
	text-decoration: none;
}

.cardie-category-card-title a:hover {
	color: #f5863e;
}

.cardie-category-body p {
	margin: 0;
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 1.6;
	color: #666;
}

.cardie-category-readmore {
	margin-top: 14px;
	font-size: 13px;
	font-weight: 700;
	color: #f5863e !important;
	text-decoration: none;
}

.cardie-category-readmore:hover {
	color: #282828 !important;
}

.cardie-category-wrap .nm-blog-pagination,
.cardie-category-wrap .page-numbers,
.cardie-blog-home-wrap .nm-blog-pagination {
	margin-top: 28px;
}

.cardie-blog-home-wrap .nm-blog-pagination.static {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-top: 4px;
}

.cardie-blog-home-wrap .nm-blog-pagination.static .nm-blog-prev,
.cardie-blog-home-wrap .nm-blog-pagination.static .nm-blog-next {
	float: none;
	width: auto;
	text-align: left;
}

.cardie-blog-home-wrap .nm-blog-pagination.static .nm-blog-next {
	text-align: right;
}

.cardie-blog-home-wrap .nm-blog-pagination.static a {
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid #ddd;
	color: #282828 !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.cardie-blog-home-wrap .nm-blog-pagination.static a:hover {
	border-color: #f5863e;
	color: #f5863e !important;
}

@media (max-width: 991px) {
	.cardie-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.cardie-category-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 991px) {
	.cardie-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.cardie-related-grid {
		grid-template-columns: 1fr;
	}

	.cardie-search-result-link {
		flex-direction: column;
	}

	.cardie-search-result-thumb {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.cardie-single-post .post .entry-content.cardie-article-content {
		font-size: 16px;
		line-height: 1.7;
	}

	.cardie-single-post .nm-post-header.cardie-post-header h1 {
		font-size: 26px;
	}
}

/* Kategorie sklepu */
body.cardie-shop-category .nm-shop-taxonomy-heading {
	padding: 4px 0 0;
	margin: 0;
	text-align: center;
}

body.cardie-shop-category .nm-shop-taxonomy-heading .nm-row {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 15px;
}

body.cardie-shop-category.cardie-shop-has-sidebar .nm-shop-taxonomy-heading .col-xs-12 {
	text-align: center;
}

@media (min-width: 992px) {
	body.cardie-shop-category.cardie-shop-has-sidebar .nm-shop-taxonomy-heading .col-xs-12 {
		margin-left: 25%;
		width: 75%;
	}
}

body.cardie-shop-category .nm-shop-taxonomy-heading .col-xs-12::before {
	content: "Sklep Cardie";
	display: block;
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #f5863e;
}

body.cardie-shop-category .nm-shop-taxonomy-heading h1 {
	margin: 0;
	font-size: clamp(28px, 3.2vw, 38px);
	line-height: 1.2;
	font-weight: 700;
	color: #282828;
	letter-spacing: -0.01em;
}

body.cardie-shop-category #nm-shop-browse-wrap {
	padding-top: 0;
	min-height: 0;
}

body.cardie-shop-category .nm-shop-header {
	padding: 8px 0 4px;
}

body.cardie-shop-category #nm-shop.header-enabled .nm-shop-header.has-sidebar {
	padding-top: 8px;
}

body.cardie-shop-category #nm-shop-products {
	margin-top: 0;
	padding-top: 0;
}

body.cardie-shop-category .nm-shop-results-bar {
	margin-top: 0;
}

.cardie-shop-breadcrumb {
	margin: 0 0 16px;
}

.cardie-shop-category-header {
	margin: 0 0 24px;
	padding: 18px 22px;
	background: #faf8f5;
	border: 1px solid #eee;
	border-radius: 8px;
}

.cardie-shop-category-count {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #888;
}

.cardie-shop-category-intro {
	margin: 0;
}

.cardie-shop-prose--lead {
	font-size: 15px;
	line-height: 1.65;
	color: #555;
}

.cardie-shop-prose--lead .cardie-shop-lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #555;
}

.cardie-shop-prose {
	font-size: 16px;
	line-height: 1.75;
	color: #333;
}

.cardie-shop-prose > :first-child {
	margin-top: 0;
}

.cardie-shop-prose p {
	margin: 0 0 1.1em;
}

.cardie-shop-prose p:last-child {
	margin-bottom: 0;
}

.cardie-shop-prose h2,
.cardie-shop-prose-block h2 {
	margin: 2em 0 0.7em;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(21px, 2.2vw, 25px);
	line-height: 1.3;
	font-weight: 700;
	color: #282828;
	letter-spacing: -0.01em;
}

.cardie-shop-prose h2:first-child,
.cardie-shop-prose-block h2:first-child {
	margin-top: 0;
}

.cardie-shop-prose h3,
.cardie-shop-prose-block h3 {
	margin: 1.35em 0 0.55em;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(17px, 1.8vw, 19px);
	line-height: 1.35;
	font-weight: 600;
	color: #333;
}

.cardie-shop-prose .cardie-shop-quote,
.cardie-shop-prose-block .cardie-shop-quote {
	margin: 0 0 0.65em;
	font-size: inherit;
	line-height: 1.65;
	color: #555;
}

.cardie-shop-prose .cardie-shop-quote em,
.cardie-shop-prose-block .cardie-shop-quote em {
	font-style: italic;
	font-weight: 400;
}

.cardie-shop-prose .cardie-shop-faq-item,
.cardie-shop-prose-block .cardie-shop-faq-item {
	margin: 0 0 1em;
	font-size: inherit;
	line-height: 1.65;
	color: #555;
}

.cardie-shop-prose .cardie-shop-faq-item strong,
.cardie-shop-prose-block .cardie-shop-faq-item strong {
	font-weight: 600;
	color: #333;
}

.cardie-shop-prose ul,
.cardie-shop-prose ol,
.cardie-shop-prose-block ul,
.cardie-shop-prose-block ol,
.cardie-shop-category-footer ul,
.cardie-shop-category-footer ol {
	margin: 0 0 1.2em;
	padding-left: 1.35em;
}

.cardie-shop-prose ul,
.cardie-shop-prose-block ul,
.cardie-shop-prose .cardie-shop-prose-list,
.cardie-shop-category-footer ul {
	list-style: disc outside;
}

.cardie-shop-prose ol,
.cardie-shop-prose-block ol,
.cardie-shop-category-footer ol {
	list-style: decimal outside;
}

.cardie-shop-prose li,
.cardie-shop-prose-block li,
.cardie-shop-category-footer li,
.cardie-shop-prose-list > li {
	display: list-item !important;
	list-style: inherit;
	list-style-position: outside;
	margin-bottom: 0.45em;
}

.cardie-shop-category-footer .cardie-shop-prose-list > li,
.cardie-shop-prose .cardie-shop-prose-list > li,
.cardie-shop-prose-block .cardie-shop-prose-list > li {
	list-style-type: disc !important;
}

.cardie-shop-category-footer ol > li,
.cardie-shop-prose ol > li,
.cardie-shop-prose-block ol > li {
	list-style-type: decimal !important;
}

.cardie-shop-prose li::marker,
.cardie-shop-prose-block li::marker,
.cardie-shop-category-footer li::marker {
	color: #f5863e;
}

.cardie-shop-prose li > p,
.cardie-shop-prose-block li > p {
	margin: 0;
}

.cardie-shop-prose a {
	color: #282828;
	text-decoration: underline;
	text-decoration-color: rgba(40, 40, 40, 0.35);
	text-underline-offset: 2px;
}

.cardie-shop-prose a:hover {
	color: #dc9814;
	text-decoration-color: #dc9814;
}

.cardie-shop-category-footer {
	margin: 44px 0 8px;
	padding-top: 36px;
	border-top: 1px solid #eee;
}

.cardie-shop-category-seo {
	max-width: 760px;
}

.cardie-shop-prose-block {
	font-size: 16px;
	line-height: 1.75;
	color: #333;
}

.cardie-shop-prose-block > :first-child {
	margin-top: 0;
}

.cardie-shop-prose-block p {
	margin: 0 0 1.1em;
}

.cardie-shop-prose-block h2 {
	margin: 2em 0 0.7em;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(21px, 2.2vw, 25px);
	line-height: 1.3;
	font-weight: 700;
	color: #282828;
}

.cardie-shop-prose-block h3 {
	margin: 1.35em 0 0.55em;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(17px, 1.8vw, 19px);
	line-height: 1.35;
	font-weight: 600;
	color: #333;
}

.cardie-shop-prose-block a {
	color: #282828;
	text-decoration: underline;
	text-decoration-color: rgba(40, 40, 40, 0.35);
	text-underline-offset: 2px;
}

.cardie-shop-prose-block a:hover {
	color: #dc9814;
	text-decoration-color: #dc9814;
}

.cardie-shop-category-links {
	margin: 0.35em 0 1.35em;
}

.cardie-shop-category-links > li {
	margin-bottom: 0.3em;
	line-height: 1.55;
}

.cardie-shop-category-links > li::marker {
	color: #f5863e;
}

.cardie-shop-category-links a {
	font-weight: 400;
	color: #282828;
	text-decoration: underline;
	text-decoration-color: rgba(40, 40, 40, 0.3);
	text-underline-offset: 2px;
}

.cardie-shop-category-links a:hover {
	color: #dc9814;
	text-decoration-color: #dc9814;
}

.cardie-shop-category-guides {
	margin: 32px 0 0;
	padding: 22px 24px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 8px;
}

.cardie-shop-category-guides-title {
	margin: 0 0 14px;
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 700;
	color: #282828;
}

.cardie-shop-category-guides-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.cardie-shop-category-guides-list li {
	margin: 0;
}

.cardie-shop-category-guides-list a {
	display: block;
	padding: 12px 14px;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	background: #fff;
	color: #282828;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cardie-shop-category-guides-list a:hover {
	border-color: #dc9814;
	color: #dc9814;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

@media (max-width: 991px) {
	body.cardie-shop-category .nm-shop-taxonomy-heading {
		padding-top: 8px;
	}
}

@media (max-width: 767px) {
	body.cardie-shop-category .nm-shop-taxonomy-heading h1 {
		font-size: 26px;
	}

	.cardie-shop-category-header {
		padding: 16px 18px;
	}

	.cardie-shop-prose--lead,
	.cardie-shop-prose--lead .cardie-shop-lead {
		font-size: 14px;
		line-height: 1.6;
	}

	.cardie-shop-category-footer {
		margin-top: 32px;
		padding-top: 26px;
	}

	.cardie-shop-category-guides {
		padding: 16px 18px;
	}

	.cardie-shop-category-guides-title {
		font-size: 16px;
	}

	.cardie-shop-category-guides-list a {
		font-size: 14px;
		padding: 11px 12px;
	}
}

/* --- Sidebar filtrów sklepu: lekki, czytelny --- */
body.cardie-shop-category.cardie-shop-has-sidebar .nm-shop-sidebar-default #nm-shop-sidebar {
	padding-right: 24px;
}

body.cardie-shop-category #nm-shop-sidebar .widget {
	margin-bottom: 28px !important;
	padding-bottom: 24px !important;
	border-bottom: 1px solid #eee !important;
}

body.cardie-shop-category #nm-shop-sidebar .widget:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
}

body.cardie-shop-category #nm-shop-sidebar .nm-widget-title {
	margin: 0 0 12px;
	padding: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #282828;
	line-height: 1.3;
}

body.cardie-shop-category #nm-shop-sidebar .nm-shop-widget-col {
	float: none;
	width: 100%;
}

body.cardie-shop-category #nm-shop-sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.cardie-shop-category #nm-shop-sidebar li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-start;
	column-gap: 6px;
	row-gap: 0;
	margin: 0;
	padding: 0;
	line-height: 1.45;
}

body.cardie-shop-category #nm-shop-sidebar li > a {
	flex: 0 1 auto;
	max-width: calc(100% - 3.5em);
	display: inline;
	padding: 5px 0;
	border: 0;
	background: none;
	color: #444 !important;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.15s ease;
}

body.cardie-shop-category #nm-shop-sidebar li > a:hover {
	color: #f5863e !important;
	background: none;
	border: 0;
}

body.cardie-shop-category #nm-shop-sidebar .chosen > a,
body.cardie-shop-category #nm-shop-sidebar .current-cat > a,
body.cardie-shop-category #nm-shop-sidebar .woocommerce-widget-layered-nav-list__item--chosen > a,
body.cardie-shop-category #nm-shop-sidebar li.chosen > a {
	color: #f5863e !important;
	font-weight: 600;
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	height: auto !important;
	line-height: inherit !important;
	padding: 5px 0 !important;
	max-width: none !important;
	margin: 0 !important;
	overflow: visible !important;
	white-space: normal !important;
	text-overflow: clip !important;
	text-decoration: none !important;
}

/* Savoy shop.css: li.chosen { left:-12px } + a:before { content:"\e610" } (paskudny X) */
body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav ul li.chosen,
body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav_filters ul li.chosen,
body.cardie-shop-category #nm-shop-sidebar .woocommerce-widget-layered-nav-list__item--chosen,
body.cardie-shop-category #nm-shop-sidebar li.chosen {
	position: static !important;
	left: 0 !important;
	margin-left: 0 !important;
	transform: none !important;
}

body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav ul li.chosen > a:before,
body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav ul li.chosen > a:after,
body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav ul li.chosen > a::before,
body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav ul li.chosen > a::after,
body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav ul li.chosen > span:first-child:before,
body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav ul li.chosen > span:first-child::before,
body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav_filters ul li.chosen a:before,
body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav_filters ul li.chosen a::before,
body.cardie-shop-category #nm-shop-sidebar .woocommerce-widget-layered-nav-list__item--chosen > a:before,
body.cardie-shop-category #nm-shop-sidebar .woocommerce-widget-layered-nav-list__item--chosen > a::before,
body.cardie-shop-category #nm-shop-sidebar li.chosen > a:before,
body.cardie-shop-category #nm-shop-sidebar li.chosen > a::before,
body.cardie-shop-category #nm-shop-sidebar li.chosen > a:after,
body.cardie-shop-category #nm-shop-sidebar li.chosen > a::after {
	content: none !important;
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	font-size: 0 !important;
	speak: never;
}

body.cardie-shop-category #nm-shop-sidebar .has-hover .widget_layered_nav ul li.chosen > a:hover,
body.cardie-shop-category #nm-shop-sidebar .widget_layered_nav ul li.chosen > a:hover {
	text-decoration: none !important;
	color: #282828 !important;
}

body.cardie-shop-category #nm-product-sorting li.active {
	padding: 5px 0;
	border: 0;
	background: none;
	color: #f5863e;
	font-size: 13px;
	font-weight: 600;
}

body.cardie-shop-category #nm-shop-sidebar .count,
body.cardie-shop-category #nm-shop-sidebar li > span.count {
	float: none;
	display: inline;
	flex: 0 0 auto;
	margin: 0;
	padding: 5px 0 0;
	font-size: 12px;
	font-weight: 400;
	color: #aaa;
	white-space: nowrap;
	line-height: 1.45;
}

body.cardie-shop-category #nm-shop-sidebar li > ul {
	flex: 1 1 100%;
	width: 100%;
}

body.cardie-shop-category #nm-shop-sidebar .product-categories .children,
body.cardie-shop-category #nm-shop-sidebar .product-categories ul.children {
	margin: 2px 0 8px;
	padding: 0 0 0 12px;
	border-left: 1px solid #e8e8e8;
}

body.cardie-shop-category #nm-shop-sidebar .product-categories .children a {
	padding: 4px 0;
	font-size: 12px;
	font-weight: 500;
	color: #666 !important;
}

body.cardie-shop-category #nm-shop-sidebar .product-categories .children a:hover,
body.cardie-shop-category #nm-shop-sidebar .product-categories .children .current-cat > a {
	color: #f5863e !important;
}

@media (max-width: 991px) {
	body.cardie-shop-category.cardie-shop-has-sidebar .nm-shop-sidebar-default #nm-shop-sidebar {
		padding-right: 0;
	}
}

/* Blog → sklep: mid-article product module */
.cardie-blog-shop-preview-note {
	margin: 0 0 1.25em;
	padding: 10px 12px;
	background: #fff8e8;
	border: 1px solid #f0d9a8;
	font-size: 14px;
	line-height: 1.45;
	color: #5c4a1f;
}

.cardie-blog-shop-module {
	margin: 2em 0;
	padding: 22px 20px 18px;
	background: #f9e8dd;
	border: 0;
}

.cardie-blog-shop-module__intro {
	text-align: center;
	max-width: 36em;
	margin: 0 auto 18px;
}

.cardie-blog-shop-module__title {
	margin: 0 0 8px !important;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(18px, 2.2vw, 22px) !important;
	font-weight: 700;
	line-height: 1.3;
	color: #282828;
}

.cardie-blog-shop-module__text {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.55;
	color: #555;
}

.cardie-blog-shop-module__actions {
	margin: 0;
}

.cardie-blog-shop-module__btn {
	display: inline-block;
	padding: 10px 18px;
	background: #f5863e;
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
}

.cardie-blog-shop-module__btn:hover {
	background: #282828;
	color: #fff !important;
}

.cardie-blog-shop-module__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.cardie-blog-shop-module--six .cardie-blog-shop-module__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.cardie-blog-shop-module__item {
	margin: 0;
}

.cardie-blog-shop-module__card {
	display: block;
	height: 100%;
	padding: 10px;
	background: #fff;
	color: #282828 !important;
	text-decoration: none !important;
	text-align: center;
	transition: box-shadow 0.2s ease;
}

.cardie-blog-shop-module__card:hover {
	box-shadow: 0 2px 10px rgba(40, 40, 40, 0.08);
	color: #282828 !important;
}

.cardie-blog-shop-module__thumb {
	display: block;
	margin: 0 0 8px;
}

.cardie-blog-shop-module__thumb img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.cardie-blog-shop-module__name {
	display: block;
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #282828;
}

.cardie-blog-shop-module__price {
	display: block;
	font-size: 13px;
	color: #666;
}

.cardie-blog-shop-module__price del {
	opacity: 0.65;
	margin-right: 4px;
}

@media (max-width: 767px) {
	.cardie-blog-shop-module {
		padding: 18px 14px 14px;
		margin-left: -4px;
		margin-right: -4px;
	}

	.cardie-blog-shop-module__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.cardie-blog-shop-module__card {
		padding: 8px;
	}

	.cardie-blog-shop-module__name {
		font-size: 12px;
	}
}

/* WPConsent floating button: override plugin navy/blue to Cardie orange */
.wpconsent-consent-floating-button {
	background-color: #f5863e !important;
	color: #fff !important;
	border-radius: 6px !important;
}

.wpconsent-consent-floating-button:hover {
	background-color: #e07530 !important;
}

/* Top bar shipping countdown: stable digit width */
#nm-top-bar .nm-top-bar-text {
	font-variant-numeric: tabular-nums;
}

/* Home SEO copy at the bottom: quieter visually, still in HTML for Google. */
body.home .wpb_text_column .prose {
	font-size: 13px;
	line-height: 1.55;
	color: #888;
}

body.home .wpb_text_column .prose h1,
body.home .wpb_text_column .prose h2,
body.home .wpb_text_column .prose h3 {
	margin: 1em 0 0.3em;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0;
	color: #7a7a7a;
}

body.home .wpb_text_column .prose p {
	margin: 0 0 0.65em;
}

body.home .wpb_text_column .prose a {
	color: #7a7a7a;
	text-decoration-color: rgba(122, 122, 122, 0.45);
}

body.home .wpb_text_column .prose a:hover {
	color: #dc9814;
	text-decoration-color: #dc9814;
}

body.home .wpb_text_column .prose strong {
	font-weight: 600;
	color: #777;
}

