.sps-container,
.sps-listing {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.sps-archive {
	padding: 56px 0 80px;
	background: #f5f5f5;
}

.sps-search {
	margin: 0 0 34px;
}

.sps-search__main {
	display: grid;
	grid-template-columns: minmax(150px, .8fr) minmax(180px, 1fr) minmax(220px, 1.7fr) auto;
	border: 1px solid #d6d6d6;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(17, 17, 17, .06);
}

.sps-search label {
	margin: 0;
}

.sps-search__label {
	display: none;
}

.sps-search select,
.sps-search input {
	width: 100%;
	min-height: 64px;
	border: 0;
	border-right: 1px solid #d6d6d6;
	border-radius: 0;
	background: #fff;
	color: #202124;
	font: 700 16px/1.2 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	padding: 0 24px;
	outline: none;
}

.sps-search input {
	font-weight: 600;
}

.sps-search input::placeholder {
	color: #7b818a;
}

.sps-search select:focus,
.sps-search input:focus {
	box-shadow: inset 0 0 0 2px #d4a843;
}

.sps-search__button {
	min-height: 64px;
	padding: 0 34px;
	border: 0;
	background: #111;
	color: #d4a843;
	font: 800 15px/1 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	text-transform: uppercase;
	letter-spacing: .04em;
	transition: background .2s ease, color .2s ease;
}

.sps-search__button:hover {
	background: #d4a843;
	color: #111;
}

.sps-search__advanced {
	margin-top: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}

.sps-search__advanced summary {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 18px;
	font-weight: 800;
	cursor: pointer;
}

.sps-search__filters {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	padding: 0 18px 18px;
}

.sps-search__filters label span {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 800;
	color: #555;
}

.sps-search__filters input,
.sps-search__filters select {
	min-height: 44px;
	border: 1px solid #d6d6d6;
	border-radius: 8px;
	padding: 0 12px;
	font-size: 14px;
	font-weight: 650;
}

.sps-listing__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 24px;
}

.sps-listing__head h2 {
	margin: 0;
	color: #151515;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.15;
}

.sps-sort {
	position: relative;
}

.sps-sort label {
	position: relative;
	display: block;
}

.sps-sort label::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 16px;
	width: 9px;
	height: 9px;
	border-right: 2px solid #111;
	border-bottom: 2px solid #111;
	pointer-events: none;
	transform: translateY(-65%) rotate(45deg);
}

.sps-sort select {
	appearance: none;
	min-height: 48px;
	padding: 0 42px 0 16px;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	background: #fff;
	font: 700 14px/1 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #222;
}

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

.sps-card {
	display: block;
	overflow: hidden;
	border-radius: 8px;
	background: #fff;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 14px 34px rgba(17, 17, 17, .08);
	transition: transform .2s ease, box-shadow .2s ease;
}

.sps-card:hover,
.sps-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 20px 46px rgba(17, 17, 17, .13);
	color: inherit;
	text-decoration: none;
	outline: 0;
}

.sps-card:focus-visible {
	box-shadow: 0 0 0 3px #d4a843, 0 20px 46px rgba(17, 17, 17, .13);
}

.sps-card__image {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: #ececec;
	color: #111;
	text-decoration: none;
}

.sps-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sps-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #d4a843;
	font-weight: 800;
	background: #111;
}

.sps-card__badge {
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 7px 10px;
	border-radius: 6px;
	background: #fff;
	color: #111;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	box-shadow: 0 8px 18px rgba(17, 17, 17, .16);
}

.sps-card__body {
	display: block;
	padding: 20px 24px 22px;
}

.sps-card__price-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 6px;
	color: #111;
	font-size: 21px;
	line-height: 1.2;
}

.sps-card h3 {
	margin: 0 0 4px;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
}

.sps-card h3 {
	color: #151515;
	text-decoration: none;
}

.sps-card:hover h3,
.sps-card:focus-visible h3 {
	color: #b8902f;
}

.sps-card p {
	margin: 0 0 16px;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.45;
}

.sps-card__more {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: #111;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	text-decoration: none;
}

.sps-card__more:hover {
	color: #d4a843;
	text-decoration: none;
}

.sps-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 34px;
}

.sps-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	border-radius: 8px;
	background: #fff;
	color: #111;
	font-weight: 800;
	text-decoration: none;
}

.sps-pagination .current {
	background: #111;
	color: #d4a843;
}

.sps-empty {
	padding: 34px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	text-align: center;
}

.sps-empty h3 {
	margin: 0 0 8px;
	font-size: 24px;
}

.sps-empty p {
	margin: 0;
	color: #6b7280;
}

.sps-single {
	padding: 32px 0 80px;
	background: #f5f5f5;
}

.sps-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	color: #6b7280;
	font-size: 13px;
}

.sps-breadcrumb a {
	color: #111;
	font-weight: 800;
	text-decoration: none;
}

.sps-single__top {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: flex-start;
	margin: 0 0 22px;
	padding: 28px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(17, 17, 17, .06);
}

.sps-kicker {
	margin: 0 0 6px;
	color: #b8902f;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.sps-single__top h1 {
	margin: 0 0 6px;
	color: #242424;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.12;
}

.sps-single__location {
	margin: 0;
	color: #777;
	font-size: 16px;
	font-weight: 650;
}

.sps-single__contact,
.sps-panel__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 8px;
	background: #111;
	color: #d4a843;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s ease, color .2s ease;
}

.sps-single__contact:hover,
.sps-panel__button:hover {
	background: #d4a843;
	color: #111;
	text-decoration: none;
}

.sps-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-auto-rows: 180px;
	gap: 8px;
	margin: 0 0 22px;
	overflow: hidden;
	border-radius: 8px;
}

.sps-gallery__item {
	display: block;
	position: relative;
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	background: #ddd;
	cursor: zoom-in;
	overflow: hidden;
}

.sps-gallery__item--main {
	grid-row: span 2;
}

.sps-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.sps-gallery__item:hover img,
.sps-gallery__item:focus-visible img {
	transform: scale(1.03);
}

.sps-gallery__item:focus-visible {
	outline: 3px solid #d4a843;
	outline-offset: -3px;
}

.sps-lightbox[hidden] {
	display: none;
}

.sps-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 26px;
	opacity: 0;
	transition: opacity .18s ease;
}

.sps-lightbox.is-open {
	opacity: 1;
}

.sps-lightbox-lock,
.sps-lightbox-lock body {
	overflow: hidden;
}

.sps-lightbox__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(8, 8, 8, .88);
	backdrop-filter: blur(6px);
}

.sps-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: grid;
	align-items: center;
	width: min(1120px, 100%);
	height: min(82vh, 780px);
	padding: 58px 82px 52px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 8px;
	background: #0f0f0f;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
}

.sps-lightbox__figure {
	display: grid;
	grid-template-rows: minmax(0, 1fr) auto;
	align-items: center;
	width: 100%;
	height: 100%;
	margin: 0;
	min-height: 0;
}

.sps-lightbox__image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: calc(82vh - 132px);
	object-fit: contain;
	background: #080808;
	border-radius: 6px;
}

.sps-lightbox__caption {
	min-height: 24px;
	margin-top: 14px;
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}

.sps-lightbox__close,
.sps-lightbox__nav {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .1);
	color: #fff;
	cursor: pointer;
	transition: background .18s ease, color .18s ease, transform .18s ease;
}

.sps-lightbox__close:hover,
.sps-lightbox__nav:hover,
.sps-lightbox__close:focus-visible,
.sps-lightbox__nav:focus-visible {
	background: #d4a843;
	color: #111;
	outline: 0;
	transform: translateY(-1px);
}

.sps-lightbox__close {
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	font-size: 30px;
	line-height: 1;
}

.sps-lightbox__nav {
	top: 50%;
	width: 52px;
	height: 64px;
	border-radius: 8px;
	font-size: 44px;
	line-height: 1;
	transform: translateY(-50%);
}

.sps-lightbox__nav:hover,
.sps-lightbox__nav:focus-visible {
	transform: translateY(calc(-50% - 1px));
}

.sps-lightbox__nav--prev {
	left: 16px;
}

.sps-lightbox__nav--next {
	right: 16px;
}

.sps-lightbox.is-loading .sps-lightbox__image {
	opacity: .45;
}

.sps-summary {
	margin: 0 0 24px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(17, 17, 17, .06);
}

.sps-summary__prices {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 28px;
	padding: 22px 28px;
	border-bottom: 1px solid #e8e8e8;
}

.sps-summary__prices strong {
	color: #f97316;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1;
}

.sps-summary__prices span {
	color: #222;
	font-size: 22px;
	font-weight: 800;
}

.sps-summary__features {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1px;
	background: #e8e8e8;
}

.sps-feature {
	padding: 18px 16px;
	background: #fff;
}

.sps-feature span {
	display: block;
	margin-bottom: 4px;
	color: #666;
	font-size: 12px;
	font-weight: 700;
}

.sps-feature strong {
	color: #222;
	font-size: 17px;
	line-height: 1.2;
}

.sps-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 24px;
	align-items: start;
}

.sps-panel {
	padding: 32px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(17, 17, 17, .06);
}

.sps-panel--sticky {
	position: sticky;
	top: 96px;
}

.sps-panel h2 {
	margin: 0 0 22px;
	color: #242424;
	font-size: 26px;
}

.sps-content {
	color: #333;
	font-size: 16px;
	line-height: 1.75;
}

.sps-content p:last-child {
	margin-bottom: 0;
}

.sps-details {
	margin: 0 0 24px;
}

.sps-details div {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid #ececec;
}

.sps-details dt {
	color: #333;
	font-weight: 800;
}

.sps-details dd {
	margin: 0;
	color: #444;
}

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

	.sps-search__main {
		grid-template-columns: 1fr 1fr;
	}

	.sps-search__location,
	.sps-search__button {
		grid-column: span 2;
	}

	.sps-search__filters,
	.sps-summary__features {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.sps-single__grid {
		grid-template-columns: 1fr;
	}

	.sps-panel--sticky {
		position: static;
	}
}

@media (max-width: 700px) {
	.sps-archive {
		padding: 34px 0 56px;
	}

	.sps-container,
	.sps-listing {
		padding: 0 14px;
	}

	.sps-grid,
	.sps-search__main,
	.sps-search__filters,
	.sps-summary__features {
		grid-template-columns: 1fr;
	}

	.sps-search {
		margin-bottom: 30px;
		padding: 12px;
		border: 1px solid #e4e4e4;
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 16px 36px rgba(17, 17, 17, .1);
	}

	.sps-search__main {
		display: flex;
		flex-direction: column;
		gap: 10px;
		border: 0;
		border-radius: 0;
		background: transparent;
		overflow: visible;
		box-shadow: none;
	}

	.sps-search__field {
		position: relative;
		display: block;
		padding: 10px 14px;
		border: 1px solid #d9d9d9;
		border-radius: 10px;
		background: #fff;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
	}

	.sps-search__label {
		display: block;
		margin: 0 0 3px;
		color: #6f7680;
		font-size: 11px;
		font-weight: 800;
		line-height: 1.1;
		text-transform: uppercase;
		letter-spacing: .04em;
	}

	.sps-search__field--select::after {
		content: "";
		position: absolute;
		right: 16px;
		bottom: 18px;
		width: 9px;
		height: 9px;
		border-right: 2px solid #111;
		border-bottom: 2px solid #111;
		pointer-events: none;
		transform: rotate(45deg);
	}

	.sps-search__location,
	.sps-search__button {
		grid-column: auto;
	}

	.sps-search__main select,
	.sps-search__main input {
		appearance: none;
		min-height: 28px;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		color: #111;
		font-size: 16px;
		font-weight: 800;
		line-height: 1.2;
	}

	.sps-search__main select {
		padding-right: 28px;
	}

	.sps-search__main input {
		font-weight: 700;
	}

	.sps-search__main input::placeholder {
		color: #8a8f98;
		font-weight: 700;
	}

	.sps-search__main select:focus,
	.sps-search__main input:focus {
		box-shadow: none;
	}

	.sps-search__field:focus-within {
		border-color: #d4a843;
		box-shadow: 0 0 0 3px rgba(212, 168, 67, .16);
	}

	.sps-search__button {
		width: 100%;
		min-height: 54px;
		border-radius: 10px;
		font-size: 14px;
		box-shadow: 0 10px 22px rgba(17, 17, 17, .16);
	}

	.sps-search__advanced {
		margin-top: 10px;
		border: 1px solid #e6e6e6;
		border-radius: 10px;
		background: #fafafa;
		overflow: hidden;
	}

	.sps-search__advanced summary {
		min-height: 48px;
		padding: 0 14px;
		color: #111;
		font-size: 15px;
		font-weight: 900;
	}

	.sps-search__filters {
		gap: 12px;
		padding: 2px 12px 12px;
	}

	.sps-search__filters input,
	.sps-search__filters select {
		min-height: 48px;
		border: 1px solid #d9d9d9;
		border-radius: 8px;
		background: #fff;
		font-size: 15px;
	}

	.sps-listing__head,
	.sps-single__top {
		flex-direction: column;
	}

	.sps-listing__head {
		align-items: stretch;
		gap: 14px;
		margin-bottom: 18px;
	}

	.sps-listing__head h2 {
		font-size: 26px;
		text-align: center;
	}

	.sps-sort,
	.sps-single__contact,
	.sps-panel__button {
		width: 100%;
	}

	.sps-sort {
		padding: 10px 12px;
		border: 1px solid #e0e0e0;
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 12px 26px rgba(17, 17, 17, .08);
	}

	.sps-sort label::before {
		content: "Sortowanie";
		display: block;
		margin-bottom: 3px;
		color: #6f7680;
		font-size: 11px;
		font-weight: 800;
		line-height: 1.1;
		text-transform: uppercase;
		letter-spacing: .04em;
	}

	.sps-sort label::after {
		right: 4px;
		bottom: 8px;
		top: auto;
		transform: rotate(45deg);
	}

	.sps-sort select {
		width: 100%;
		min-height: 30px;
		padding: 0 30px 0 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #111;
		font-size: 16px;
		font-weight: 850;
		box-shadow: none;
	}

	.sps-gallery {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 130px;
	}

	.sps-gallery__item--main {
		grid-column: span 2;
		grid-row: span 2;
	}

	.sps-summary__prices {
		gap: 14px 22px;
	}

	.sps-details div {
		grid-template-columns: 1fr;
		gap: 3px;
	}

	.sps-lightbox {
		padding: 10px;
	}

	.sps-lightbox__dialog {
		width: 100%;
		height: calc(100dvh - 20px);
		padding: 62px 10px 18px;
		border-radius: 8px;
	}

	.sps-lightbox__image {
		max-height: calc(100dvh - 142px);
		border-radius: 6px;
	}

	.sps-lightbox__caption {
		margin-top: 10px;
		padding: 0 54px;
		font-size: 12px;
		line-height: 1.35;
	}

	.sps-lightbox__close {
		top: 10px;
		right: 10px;
		width: 46px;
		height: 46px;
		background: #fff;
		color: #111;
	}

	.sps-lightbox__nav {
		top: auto;
		bottom: 16px;
		width: 48px;
		height: 48px;
		border-radius: 999px;
		background: rgba(255, 255, 255, .94);
		color: #111;
		font-size: 34px;
		transform: none;
	}

	.sps-lightbox__nav:hover,
	.sps-lightbox__nav:focus-visible {
		transform: none;
	}

	.sps-lightbox__nav--prev {
		left: 14px;
	}

	.sps-lightbox__nav--next {
		right: 14px;
	}
}

