/* PropStack Sync — frontend styles, cloned from the client's reference
   design: cream filter bar, serif price/title on white cards, small
   colored status badges over the photo.

   Everything is scoped under .propstack-listings (an extra specificity
   point over generic theme selectors like `p`, `button`, `h3`, `a`) and
   the handful of properties themes most commonly reset — background,
   border, color, font-family, padding — carry !important. WordPress
   prints plugin stylesheets before the active theme's own stylesheet,
   so on equal specificity the theme wins the cascade; without this a
   theme's global button/typography styles silently blank out the
   entire design (confirmed against the live site — Suchen button,
   badges, and serif fonts were all being overridden by theme defaults). */

.propstack-listings,
.propstack-listings * {
	box-sizing: border-box;
}

.propstack-listings .propstack-filters {
	display: flex !important;
	flex-wrap: wrap;
	align-items: end;
	gap: 1.5rem;
	background: #f5f1e7 !important;
	border: 1px solid #e7e0cc !important;
	border-radius: 6px !important;
	padding: 1.3rem 1.6rem !important;
	margin: 0 0 2.25rem !important;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	list-style: none !important;
}

.propstack-listings .propstack-filters__field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin: 0 !important;
	padding: 0 !important;
}

.propstack-listings .propstack-filters__field--offer {
	order: 5;
}

.propstack-listings .propstack-filters__field label {
	font-size: 0.68rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.09em !important;
	text-transform: uppercase !important;
	color: #2e2d27 !important;
	white-space: nowrap;
	margin: 0 !important;
}

.propstack-listings .propstack-filters__field select,
.propstack-listings .propstack-filters__field input {
	padding: 0 0.85rem !important;
	border: 1px solid #ddd5bd !important;
	border-radius: 4px !important;
	background: #fff !important;
	font-family: inherit !important;
	font-size: 0.92rem !important;
	color: #262620 !important;
	height: 42px !important;
	min-width: 150px;
	box-shadow: none !important;
	margin: 0 !important;
}

.propstack-listings .propstack-filters__field input::placeholder {
	color: #a7a293;
}

.propstack-listings .propstack-filters__field select:focus,
.propstack-listings .propstack-filters__field input:focus {
	outline: 2px solid #cba545;
	outline-offset: 1px;
}

.propstack-listings .propstack-filters__submit {
	background: #151513 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px !important;
	padding: 0 1.9rem !important;
	font-family: inherit !important;
	font-weight: 600 !important;
	font-size: 0.92rem !important;
	line-height: 42px !important;
	cursor: pointer;
	height: 42px !important;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

.propstack-listings .propstack-filters__submit:hover,
.propstack-listings .propstack-filters__submit:focus {
	background: #333127 !important;
	color: #fff !important;
}

.propstack-listings .propstack-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	align-items: start !important;
	gap: 1.75rem;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.propstack-listings .propstack-card {
	border: 1px solid #ece6d5 !important;
	border-radius: 9px !important;
	overflow: hidden;
	background: #fff !important;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	margin: 0 !important;
	padding: 0 !important;
}

.propstack-listings .propstack-card:hover {
	box-shadow: 0 10px 26px rgba(20, 20, 15, 0.09);
	transform: translateY(-3px);
}

.propstack-listings .propstack-card__link {
	display: block;
	color: inherit !important;
	text-decoration: none !important;
}

.propstack-listings .propstack-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	background: #efeade;
	overflow: hidden;
}

.propstack-listings .propstack-card__image {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover;
	display: block;
	margin: 0 !important;
	border-radius: 0 !important;
}

.propstack-listings .propstack-badge {
	position: absolute;
	top: 0.7rem;
	left: 0.7rem;
	font-family: "Inter", sans-serif !important;
	font-size: 0.66rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.07em !important;
	text-transform: uppercase !important;
	padding: 0.35rem 0.65rem !important;
	border-radius: 4px !important;
	color: #fff !important;
	line-height: 1 !important;
	border: none !important;
}

.propstack-listings .propstack-badge--accent {
	background: #c69b3c !important;
}

.propstack-listings .propstack-badge--dark {
	background: #171714 !important;
}

.propstack-listings .propstack-card__body {
	padding: 1.15rem 1.25rem 1.35rem !important;
}

.propstack-listings .propstack-card__price {
	font-family: "Playfair Display", Georgia, serif !important;
	font-size: 1.55rem !important;
	font-weight: 700 !important;
	color: #15223a !important;
	margin: 0 0 0.5rem !important;
	line-height: 1.2 !important;
}

.propstack-listings .propstack-card__price--muted {
	font-weight: 600 !important;
	color: #3a3a34 !important;
}

.propstack-listings .propstack-card__title {
	font-family: "Playfair Display", Georgia, serif !important;
	font-size: 1.02rem !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	color: #2b2b26 !important;
	margin: 0 0 0.75rem !important;
}

.propstack-listings .propstack-card__meta {
	font-size: 0.82rem !important;
	font-weight: 400 !important;
	color: #767468 !important;
	margin: 0 !important;
	display: flex;
	flex-wrap: wrap;
	column-gap: 1.1rem;
	row-gap: 0.3rem;
}

.propstack-listings .propstack-card__meta span {
	color: inherit !important;
}

.propstack-listings .propstack-no-results {
	grid-column: 1 / -1;
	text-align: center;
	padding: 2.5rem;
	color: #666 !important;
	font-family: "Inter", sans-serif !important;
}

.propstack-listings .propstack-pagination {
	margin-top: 2.25rem;
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	font-family: "Inter", sans-serif !important;
}

.propstack-listings .propstack-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 0.6rem !important;
	border: 1px solid #e7e0cc !important;
	border-radius: 4px !important;
	color: #333 !important;
	text-decoration: none !important;
	font-size: 0.9rem !important;
	background: #fff !important;
}

.propstack-listings .propstack-pagination .page-numbers.current {
	background: #151513 !important;
	color: #fff !important;
	border-color: #151513 !important;
}

/* Single property page — injected into the_content, so the theme's own
   header/footer/sidebar/title still wrap it. Same .propstack-single
   scoping + !important pattern as the grid, for the same reason: theme
   stylesheets print after this one and win same-specificity ties. */

.propstack-single,
.propstack-single * {
	box-sizing: border-box;
}

.propstack-single {
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	margin: 0 0 2rem !important;
}

.propstack-single__top {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.25rem !important;
}

.propstack-single__top .propstack-badge {
	position: static;
}

.propstack-single__price {
	font-family: "Playfair Display", Georgia, serif !important;
	font-size: 1.9rem !important;
	font-weight: 700 !important;
	color: #15223a !important;
	margin: 0 !important;
	line-height: 1.2 !important;
}

.propstack-single__price--muted {
	font-weight: 600 !important;
	color: #3a3a34 !important;
}

.propstack-single__gallery {
	margin: 0 0 1.75rem !important;
}

.propstack-single__hero {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	background: #efeade;
	margin: 0 0 0.6rem !important;
}

.propstack-single__hero img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover;
	display: block;
	margin: 0 !important;
	border-radius: 0 !important;
}

.propstack-single__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 0.5rem;
}

.propstack-single__thumb {
	padding: 0 !important;
	margin: 0 !important;
	border: 2px solid transparent !important;
	border-radius: 5px;
	overflow: hidden;
	cursor: pointer;
	background: none !important;
	aspect-ratio: 1 / 1;
	line-height: 0;
}

.propstack-single__thumb img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover;
	display: block;
	margin: 0 !important;
	border-radius: 0 !important;
}

.propstack-single__thumb.is-active {
	border-color: #c69b3c !important;
}

.propstack-single__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0 0 1.75rem !important;
	list-style: none !important;
	padding: 0 !important;
}

.propstack-single__fact {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	background: #f5f1e7 !important;
	border: 1px solid #e7e0cc !important;
	border-radius: 6px;
	padding: 0.65rem 1rem !important;
	min-width: 92px;
}

.propstack-single__fact span {
	font-family: "Playfair Display", Georgia, serif !important;
	font-size: 1.15rem !important;
	font-weight: 600 !important;
	color: #15223a !important;
}

.propstack-single__fact label {
	font-size: 0.65rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	color: #767468 !important;
	margin: 0 !important;
}

.propstack-single__description {
	font-size: 1rem !important;
	line-height: 1.7 !important;
	color: #333 !important;
	max-width: 72ch;
	margin: 0 0 1.75rem !important;
}

.propstack-single__description p {
	margin: 0 0 1.1em !important;
	color: inherit !important;
	font-size: inherit !important;
	font-family: inherit !important;
}

.propstack-single__address {
	font-size: 0.95rem !important;
	color: #333 !important;
	padding-top: 1.1rem !important;
	border-top: 1px solid #e7e0cc !important;
}

@media (max-width: 720px) {
	.propstack-listings .propstack-filters {
		flex-direction: column;
		align-items: stretch;
	}

	.propstack-listings .propstack-filters__field,
	.propstack-listings .propstack-filters__field select,
	.propstack-listings .propstack-filters__field input,
	.propstack-listings .propstack-filters__submit {
		width: 100% !important;
		min-width: 0;
	}

	.propstack-listings .propstack-filters__field--offer {
		order: initial;
	}
}
