/* Netdomy – nowoczesne kafelki ofert REM. Bez zewnętrznych fontów i skryptów. */
:root {
	--ndf-card-blue: #2d70b7;
	--ndf-card-blue-dark: #174f88;
	--ndf-card-navy: #153b63;
	--ndf-card-text: #22364e;
	--ndf-card-muted: #687b91;
	--ndf-card-line: #d8e4f0;
	--ndf-card-surface: #fff;
	--ndf-card-soft: #f3f8fd;
	--ndf-card-price: #df3434;
	--ndf-card-gold: #d99720;
}

.ndf-property-card-col {
	box-sizing: border-box;
	display: flex !important;
	float: left;
	margin: 0 0 24px;
	min-width: 0;
	padding-left: 10px;
	padding-right: 10px;
}

.ndf-property-card {
	background: var(--ndf-card-surface);
	border: 1px solid var(--ndf-card-line);
	border-radius: 17px;
	box-shadow: 0 8px 25px rgba(25, 70, 111, .09);
	color: var(--ndf-card-text);
	display: flex !important;
	flex: 1 1 auto;
	flex-direction: column !important;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	position: relative;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ich-settings-main-wrap .ndf-property-card-col .ndf-property-card,
.ich-settings-main-wrap .ndf-property-card-col--featured .ndf-property-card--featured {
	display: flex !important;
	flex-direction: column !important;
}

.ndf-property-card:hover,
.ndf-property-card:focus-within {
	border-color: #b8d1e9;
	box-shadow: 0 16px 38px rgba(24, 74, 121, .15);
	transform: translateY(-3px);
}

.ndf-card-media {
	background: #dfeaf4;
	flex: 0 0 auto !important;
	min-width: 0;
	overflow: hidden;
	position: relative;
	width: 100% !important;
}

.ich-settings-main-wrap .ndf-property-card .ndf-card-media,
.ich-settings-main-wrap .ndf-property-card .ndf-card-content {
	flex-basis: auto !important;
	max-width: 100% !important;
	width: 100% !important;
}

.ndf-card-image-link {
	color: #fff;
	display: block;
	height: 250px !important;
	min-height: 250px !important;
	overflow: hidden;
	position: relative;
	text-decoration: none !important;
}

.ndf-card-image,
.ndf-card-placeholder {
	display: block;
	height: 250px !important;
	min-height: 250px !important;
	object-fit: cover;
	transition: transform .45s cubic-bezier(.2, .65, .3, 1);
	width: 100%;
}

.ndf-property-card:hover .ndf-card-image,
.ndf-property-card:focus-within .ndf-card-image {
	transform: scale(1.025);
}

.ndf-card-placeholder {
	align-items: center;
	background: linear-gradient(135deg, #eaf3fb, #cbddeb);
	color: #7696b3;
	display: flex;
	justify-content: center;
}

.ndf-card-placeholder .ndf-icon {
	height: 58px;
	width: 58px;
}

.ndf-card-image-shade {
	background: linear-gradient(180deg, rgba(8, 31, 54, 0) 48%, rgba(8, 31, 54, .76) 100%);
	bottom: 0;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: 0;
}

.ndf-property-type,
.ndf-featured-label,
.ndf-card-image-count,
.ndf-card-location {
	align-items: center;
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
	border-radius: 999px;
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	position: absolute;
	z-index: 5;
}

.ndf-property-type {
	background: rgba(31, 105, 174, .94);
	color: #fff;
	left: 14px;
	max-width: calc(100% - 28px);
	padding: 7px 11px;
	right: auto;
	top: 14px;
	white-space: nowrap;
}

.ndf-property-card--featured .ndf-property-type {
	top: 50px;
}

.ndf-featured-label {
	background: rgba(255, 250, 237, .96);
	box-shadow: 0 5px 14px rgba(58, 42, 10, .13);
	color: #8b5a05;
	gap: 6px;
	left: 14px;
	padding: 7px 11px;
	top: 14px;
}

.ndf-featured-label .ndf-icon {
	fill: #e7ad35;
	height: 15px;
	stroke: #a46a08;
	width: 15px;
}

.ndf-card-location {
	background: none;
	bottom: 13px;
	color: #fff;
	font-size: 12px;
	gap: 5px;
	left: 13px;
	max-width: calc(100% - 86px);
	padding: 4px 0;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .78);
}

.ndf-card-location span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ndf-card-image-count {
	background: rgba(12, 38, 65, .72);
	bottom: 12px;
	color: #fff;
	gap: 5px;
	padding: 6px 9px;
	right: 12px;
}

.ndf-card-location .ndf-icon,
.ndf-card-image-count .ndf-icon {
	height: 15px;
	width: 15px;
}

.ndf-card-content {
	background: #fff;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding: 19px 20px 16px;
	width: 100% !important;
}

.ndf-card-main {
	flex: 1 1 auto;
}

.ndf-card-title-link {
	color: inherit;
	display: block;
	text-decoration: none !important;
}

.ndf-card-title {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--ndf-card-blue-dark);
	display: -webkit-box;
	font-family: inherit;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.27;
	margin: 0;
	min-height: 48px;
	overflow: hidden;
}

.ndf-card-title-link:hover .ndf-card-title,
.ndf-card-title-link:focus .ndf-card-title {
	color: var(--ndf-card-blue);
}

.ndf-card-title-link:focus-visible,
.ndf-card-image-link:focus-visible,
.ndf-card-more:focus-visible,
.ndf-card-actions a:focus-visible,
.ndf-card-actions button:focus-visible {
	border-radius: 6px;
	outline: 3px solid rgba(45, 112, 183, .35);
	outline-offset: 3px;
}

.ndf-card-price-row {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 5px 11px;
	justify-content: space-between;
	margin: 11px 0 14px;
}

.ndf-card-price {
	color: var(--ndf-card-price);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
	margin: 0;
}

.ndf-card-price--ask {
	font-size: 16px;
	font-weight: 700;
}

.ndf-card-unit-price {
	color: var(--ndf-card-muted);
	font-size: 12px;
	font-weight: 650;
}

.ndf-card-details {
	display: grid;
	gap: 7px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.ndf-card-details li {
	align-items: center;
	background: var(--ndf-card-soft);
	border: 1px solid #e2edf6;
	border-radius: 10px;
	display: flex;
	gap: 8px;
	min-height: 51px;
	min-width: 0;
	padding: 8px 9px;
}

.ndf-card-details .ndf-icon {
	color: var(--ndf-card-blue);
	flex: 0 0 20px;
	height: 20px;
	width: 20px;
}

.ndf-card-details li > span {
	display: block;
	min-width: 0;
}

.ndf-card-details small,
.ndf-card-details strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ndf-card-details small {
	color: var(--ndf-card-muted);
	font-size: 10px;
	font-weight: 550;
	line-height: 1.2;
	margin-bottom: 2px;
}

.ndf-card-details strong {
	color: var(--ndf-card-navy);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
	text-transform: none;
}

.ndf-card-excerpt {
	color: #5c6e82;
	display: -webkit-box;
	font-size: 13px;
	line-height: 1.48;
	margin: 0 0 15px;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ndf-card-footer {
	align-items: flex-end;
	border-top: 1px solid #e7eef5;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 13px;
}

.ndf-card-meta {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ndf-card-listing-name {
	align-items: center;
	color: var(--ndf-card-blue-dark);
	display: flex;
	font-size: 11px;
	font-weight: 650;
	gap: 5px;
	line-height: 1.25;
	min-width: 0;
}

.ndf-card-listing-name .ndf-icon {
	flex: 0 0 15px;
	height: 15px;
	width: 15px;
}

.ndf-card-listing-name span,
.ndf-card-advertiser {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ndf-card-advertiser {
	color: #8a9aab;
	font-size: 11px;
	line-height: 1.25;
}

.ndf-card-actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: flex-end;
}

.ndf-card-actions > ul,
.ndf-card-actions > ol {
	align-items: center;
	display: flex !important;
	flex-wrap: wrap;
	gap: 7px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ndf-card-actions > ul > li,
.ndf-card-actions > ol > li {
	display: flex !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ich-settings-main-wrap .ndf-property-card .ndf-card-actions > a:not(.ndf-card-more),
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions > button,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .rem-wishlist-btn,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .rem-fav-btn,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .ndf-wishlist-action,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .rem-compare-btn {
	align-items: center;
	background: #f2f7fc !important;
	border: 1px solid #d3e2ef !important;
	border-radius: 9px !important;
	box-shadow: none !important;
	color: var(--ndf-card-blue-dark) !important;
	display: inline-flex !important;
	font-family: inherit !important;
	font-size: 12px !important;
	height: 36px;
	justify-content: center;
	line-height: 1 !important;
	margin: 0 !important;
	min-width: 36px;
	opacity: 1 !important;
	overflow: visible !important;
	padding: 7px 9px !important;
	text-decoration: none !important;
	text-indent: 0 !important;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
	visibility: visible !important;
	white-space: nowrap;
	width: auto !important;
}

.ich-settings-main-wrap .ndf-property-card .ndf-card-actions > a:not(.ndf-card-more):hover,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions > button:hover,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .rem-wishlist-btn:hover,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .rem-fav-btn:hover,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .ndf-wishlist-action:hover,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .rem-compare-btn:hover {
	background: #e2effa !important;
	border-color: #aac9e4 !important;
	color: var(--ndf-card-blue) !important;
}

.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .rem-wishlist-btn i,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .rem-fav-btn i,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .rem-compare-btn i {
	color: inherit !important;
	display: inline-block !important;
	font-size: 15px;
	margin: 0 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .ndf-wishlist-action > i,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .ndf-wishlist-action > .fa,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .ndf-wishlist-action > .fas,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .ndf-wishlist-action > .far,
.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .ndf-wishlist-action > .glyphicon {
	display: none !important;
}

.ndf-wishlist-icon {
	align-items: center;
	color: currentColor;
	display: inline-flex !important;
	height: 18px;
	justify-content: center;
	width: 18px;
}

.ndf-wishlist-icon .ndf-icon {
	display: block !important;
	height: 18px;
	width: 18px;
}

.ndf-wishlist-action.active .ndf-wishlist-icon .ndf-icon,
.ndf-wishlist-action.is-active .ndf-wishlist-icon .ndf-icon,
.ndf-wishlist-action.added .ndf-wishlist-icon .ndf-icon {
	fill: currentColor;
}

.ndf-wishlist-label {
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .ndf-card-more {
	align-items: center;
	background: var(--ndf-card-blue) !important;
	border: 1px solid var(--ndf-card-blue) !important;
	border-radius: 9px;
	color: #fff !important;
	display: inline-flex !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 700;
	gap: 7px;
	height: 36px;
	line-height: 1 !important;
	min-width: 96px;
	opacity: 1 !important;
	overflow: visible !important;
	padding: 0 12px;
	text-decoration: none !important;
	text-indent: 0 !important;
	visibility: visible !important;
	white-space: nowrap;
	width: auto !important;
}

.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .ndf-card-more:hover {
	background: var(--ndf-card-blue-dark) !important;
	border-color: var(--ndf-card-blue-dark) !important;
	color: #fff !important;
}

.ich-settings-main-wrap .ndf-property-card .ndf-card-actions .ndf-card-more span {
	display: inline !important;
	font-size: 17px !important;
	line-height: 0;
}

.ndf-compare-disabled .rem-compare-btn,
.ndf-compare-disabled [class*="compare-property"],
.ndf-rem-compare-disabled .rem-compare-btn,
.ndf-rem-compare-disabled .rem-compare-panel,
.ndf-rem-compare-disabled .rem-compare-box,
.ndf-rem-compare-disabled .rem-compare-bar,
.ndf-rem-compare-disabled [class*="compare-property"] {
	display: none !important;
}

.ndf-property-card .clearfix {
	display: none;
}

.ndf-property-card .rem-ribbon,
.ndf-property-card [class*="property-ribbon"] {
	z-index: 6;
}

.ndf-icon {
	display: inline-block;
	flex: 0 0 auto;
	height: 18px;
	vertical-align: -.2em;
	width: 18px;
}

@media (min-width: 768px) {
	.ich-settings-main-wrap .ndf-property-card-col,
	.ich-settings-main-wrap .ndf-property-card-col--featured {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}
}

@media (max-width: 767px) {
	.ich-settings-main-wrap .ndf-property-card-col,
	.ich-settings-main-wrap .ndf-property-card-col--featured {
		flex: 0 0 100% !important;
		float: none;
		max-width: 100% !important;
		width: 100% !important;
	}

	.ndf-card-footer {
		align-items: stretch;
		flex-direction: column;
	}

	.ndf-card-actions {
		justify-content: flex-start;
	}

	.ndf-card-more {
		margin-left: auto;
	}
}

@media (max-width: 420px) {
	.ndf-card-content {
		padding: 18px 16px 15px;
	}

	.ndf-card-details {
		grid-template-columns: 1fr;
	}

	.ndf-card-image-link,
	.ndf-card-image,
	.ndf-card-placeholder {
		height: 230px !important;
		min-height: 230px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ndf-property-card,
	.ndf-card-image,
	.ndf-card-actions a,
	.ndf-card-actions button {
		transition: none !important;
	}

	.ndf-property-card:hover,
	.ndf-property-card:focus-within,
	.ndf-property-card:hover .ndf-card-image,
	.ndf-property-card:focus-within .ndf-card-image {
		transform: none;
	}
}
