
/* wyszukiwarka */

h1 {
	font-family: MainFontBold;
	font-size: 28px;
	text-align: center;
	margin-top: 44px;
	margin-bottom: 44px;
}

h2 {
	font-family: MainFontBold;
	font-size: 28px;
	margin-top: 44px;
	margin-bottom: 44px;
	text-align: center;
}

.h2-like {
	font-family: MainFontBold;
	font-size: 28px;
	/* text-transform: uppercase; */
	text-align: center;
	margin-top: 44px;
	margin-bottom: 44px;
}

h3,
.h3-like {
	font-family: MainFontBold;
	font-size: 20px;
	margin-top: 28px;
	margin-bottom: 10px;
}

@media only screen and (min-width: 0px) and (max-width: 400px) {
	h2 {
		margin-top: 32px;
		margin-bottom: 32px;		
	}
}

.search-wrap {
	max-width: 1060px;
	margin: 0 auto;
	margin-top: 15px;
	padding: 15px;
	box-sizing: border-box;
	text-align: center;
	font-size: 11.5px;
	background: white;
	border-radius: 10px;
	-webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.2);
}

.search-wrap .field-wrap {
	border-radius: 4px;
}

.search-wrap > div {
	margin: 0 auto;
	font-size: 16px;
	font-family: OpenSansBold;
}



form.search2 > div {
	position: relative;
	float: none;
	display: inline-block;
}

.field-wrap .floors-btn,
.field-wrap .squarearea-btn,
.field-wrap .garages-btn {
	padding: 8px 11px;
	font-size: 11.5px;
	background: #ffffff;
	background: url('../images/decoration/arrow-down-9x9.png') 95% 50% no-repeat;
	text-align: left;
	cursor: pointer;
	height: 14px;
	border-radius: 5px;
	border-color: #666666;
	border-image: none;
	border-style: solid;
	border-width: 1px;
}

.drop-list {
	display: block;
	position: absolute;
	top: 25px;
	padding-top: 2px;
	left: 0;
	z-index: 100;
	background: #ffffff;
	box-sizing: border-box;	
	-webkit-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
	margin: 0 0px;
	text-align: left;
	width: 100%;

	border-color: #ffffff #666666 #666666 #666666;
    border-image: none;
    border-style: solid;
    border-width: 1px;
}

.drop-list > li {
	width: 100%;
}

.drop-list > li > span {
	display: block;
	padding: 8px 15px;
	cursor: pointer;
}

.drop-list > li:hover {
	background: #444444;
	color: #ffffff;
}

input.main-button-search {
	padding: 0px;
	position: relative;
	display: inline-block;
	cursor: pointer;
	height: 32px;
	border: 0px;
	border-radius: 5px;
	color: white;
	font-family: OpenSansBold;
	background: #e14f00;
	background-size: 25px; 
	/* -webkit-box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.3); */
	/* -moz-box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.3); */
}


@media only screen and (min-width: 0px) and (max-width: 700px) {
	.search-wrap {
		max-width: 360px;
		
	}
	
	input.main-button-search {
		width: 135px;
	} 
	
	.search2 {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 20px;
	}
	
	form.search2 > div {
		width: 135px;
	}
}

@media only screen and (min-width: 701px) {
	form.search2 {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
	}
	
	form.search2 > div {
		width: 230px;
	}
	
	input.main-button-search {
		width: 230px;
	} 
}

/* koniec wyszukiwarki */
	
@media only screen and (min-width: 0px) and (max-width: 700px) {
	.banner-search-wrap {
		height: 290px;
	}
}
	
@media only screen and (min-width: 701px) {
	.banner-search-wrap {
		height: 509px;
	}
}



/* *******************************************************
   ***                     ZMIANY 2022                  ***
   ******************************************************* */	

#main {
	max-width: 1312px;
	padding-left: 27px;
	padding-right: 27px;
}

@media only screen and (min-width: 0px) and (max-width: 400px) {
	#main {
		padding-left: 19px;
		padding-right: 19px;	
	}
}


.oferta-dla-dewelopera img,
.nasze-realizacje img {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 966px;
}

/*  katalog  */
.katalog-2023 {
	max-width: 711px;
	border: 1px solid #cecece;
	margin: 0 auto;
	text-align: center;
	margin-top: 19px;
}

.katalog-2023-header {
	font-size: 28px;
	font-family: OpenSansBold;
	margin-top: 30px;
	margin-bottom: 10px;
}

.katalog-2023-img-wrap img {
	width: 100%;
}

.katalog-2023-title {
	font-size: 28px;
	margin-bottom: 30px;
}

.katalog-2023-title a {
	color: white;
}

.katalog-2023 a:hover {
	text-decoration: none;
}

.katalog-2023-title div {
	/* background: khaki; */
}

.katalog-2023-title div:first-child {
	/* text-align: left; */
}

.katalog-2023-title div:nth-of-type(2) {
	/* text-align: left; */
	font-family: MainFontBold;
	
	
}

.katalog-2023-title div:last-child {
	/* text-align: right; */
	font-family: MainFontBold;
}

@media only screen and (min-width: 0px) and (max-width: 354px) {
	.katalog-2023-img-desktop {
		display: none;
	}
	
	.katalog-2023-img-mobile {
		display: block;
	}
	
	.katalog-2023-title div:nth-of-type(2) {
		font-size: 22px;
	}
	
	.katalog-2023-title div:last-child span {
		/* font-size: 38px; */

	}
}

@media only screen and (min-width: 355px) {
	.katalog-2023-img-desktop {
		display: block;
	}
	
	.katalog-2023-img-mobile {
		display: none;
	}
	
	.katalog-2023-title div {
		margin: 0 auto;
	}
	
	.katalog-2023-title div {
		max-width: 450px;
	}
	
	.katalog-2023-title div:nth-of-type(2) {
		/* font-size: 42px; */
	}
	
	.katalog-2023-title div:last-child span {
		/* font-size: 48px; */
	}
}
/* katalog koniec */

.dlaczego-warto {
	display: grid;
	grid-template-columns: 300px auto;
	grid-template-rows: auto;
	grid-template-areas:
		"dw-header dw-content"
		"dw-btn    dw-content";
	max-width: 965px;
	margin: 0 auto;
	margin-top: 35px;
	box-sizing: border-box;
	
}

.dlaczego-warto > div:first-child {
	grid-area: dw-header;
}

.dlaczego-warto > div:nth-of-type(2) {
	grid-area: dw-content;
	display: flex;
	flex-wrap: wrap;
	gap: 19px;
}

.dlaczego-warto > div:last-child {
	grid-area: dw-btn;
}

.dlaczego-warto-kafel {
	box-sizing: border-box;
	text-align: center;
	font-size: 15px;
	display: grid;
	grid-template-rows: 65% 35%;
}

.dlaczego-warto-kafel > img {
	max-width: 50px;
	justify-self: center;
	align-self: center;
	margin-top: 10px;
}

@media only screen and (min-width: 0px) and (max-width: 750px) {
	.dlaczego-warto {
		display: flex;
		flex-direction: column;
		max-width: 966px;
	}	
	
	.dlaczego-warto > div:nth-of-type(2) {
		justify-content: center;
		gap: 10px;
	}
	
	.dlaczego-warto h2 {
		text-align: center;
		margin-top: 32px;
		margin-bottom: 32px;
	}
	
	.dlaczego-warto-kafel {
		border: 1px solid #dadada;
		width: 142px;
		height: 142px;
	}
	
	.dlaczego-warto > div:last-child > div {
		padding-top: 23px;
	}
}

@media only screen and (min-width: 741px) {
	.dlaczego-warto {
		padding: 39px 27px;
		padding-right: 0px;
		border: 1px solid #dadada;
	}
	
	.dlaczego-warto h2 {
		text-align: left;
		margin-top: 0px;
		margin-bottom: 0px;
		line-height: 1.1;
	}
	
	.dlaczego-warto-kafel {
		width: 142px;
	}
	
	.dlaczego-warto > div:last-child > div {
		padding-top: 8px;
		padding-bottom: 0px;
	}
	
	.dlaczego-warto > div:last-child {
		justify-self: start;
	}
}
	

.przed-zakupem-projektu > div > a > div,
.co-nowego-2022 > div > a > div {
	position: relative;
	border-bottom: 1px solid #cecece;
}

.przed-zakupem-projektu > div > a > div > img,
.co-nowego-2022 > div > a > div > img {
	width: 100%;
	display: block;
}

.przed-zakupem-projektu > div > a > div > div:nth-of-type(1),
.co-nowego-2022 > div > a > div > div:nth-of-type(1) {
	width: 50%;
	background: #ffffff;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	opacity: 80%;
}

.przed-zakupem-projektu > div > a > div > div:nth-of-type(2),
.co-nowego-2022 > div > a > div > div:nth-of-type(2) {
	width: 50%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	display: flex;
	align-items: center;
}

.przed-zakupem-projektu > div:nth-child(even) > a > div > div,
.co-nowego-2022 > div:nth-child(even) > a > div > div {
	left: unset;
	right: 0px;
}

.przed-zakupem-projektu > div > a > div > div:nth-of-type(2) > div,
.co-nowego-2022 > div > a > div > div:nth-of-type(2) > div {
	flex-grow: 1;
	text-align: center;
	font-size: 20px;
}

.przed-zakupem-projektu > div > a > div > div:nth-of-type(2) > div img {
	margin-top: 17px;
}

.przed-zakupem-projektu > div > div:nth-of-type(1) {
	font-family: MainFontBold;
	font-size: 18px;
	margin-top: 26px;
	padding-left: 18px;
	padding-right: 18px;
}

.przed-zakupem-projektu > div > div:last-child,
.co-nowego-2022 > div > div:last-child {
	font-size: 14px;
	margin-top: 19px;
	padding-left: 18px;
	padding-right: 18px;
	margin-bottom: 15px;
}

.co-nowego-2022 > div > div:nth-of-type(1) {
	padding-left: 18px;
	padding-right: 18px;
	font-size: 12px;
	margin-top: 21px;
}

.co-nowego-2022 > div > div:nth-of-type(2) {	
	font-family: MainFontBold;
	font-size: 18px;
	margin-top: 8px;
	padding-left: 18px;
	padding-right: 18px;
}


.ekspert-radzi-2022 > div > div {
	padding: 18px 13px;
}	

.ekspert-radzi-2022 > div > div:first-child {
	/* background: #f8d3c5; */
	display: flex;
	column-gap: 17px;
	border-bottom: 1px solid #cecece;
}

.ekspert-radzi-2022 > div > div:first-child > div:first-child {
	max-width: 88px;
	/* background: #dde6d5;	 */
}

.ekspert-radzi-2022 > div > div:first-child > div:first-child > img {
	max-width: 88px;
	display: block;
}

.ekspert-radzi-2022 > div > div:first-child > div:last-child > div:nth-of-type(2) {
	font-family: MainFontBold;
	font-size: 15px;
}

.ekspert-radzi-2022 > div > div:first-child > div:last-child > div:last-child {
	font-size: 12px;
}

.ekspert-radzi-2022 > div > div:first-child > div {
	display: inline-block;
	vertical-align: top;
}

.ekspert-radzi-2022 > div > div:first-child > div:last-child > div > img {
	/* background: #a3b899; */
	display: block;
}

.ekspert-radzi-2022 > div > div:last-child > div:first-child {
	font-size: 12px;
}

.ekspert-radzi-2022 > div > div:last-child > div:nth-of-type(2) {
	font-family: MainFontBold;
	font-size: 18px;
	margin-top: 8px;
}
	
.ekspert-radzi-2022 > div > div:last-child > div:last-child {
	font-size: 14px;
	margin-top: 20px;
}

.ekspert-radzi-2022 > div > div:last-child > div:last-child > a {
	font-family: MainFontBold;
}


/* 

zamień układ:
[x] [x] [x]
    [x]

na:
[x] [x]
[x] [x]

 */
@media only screen and (min-width: 1000px) and (max-width: 1367px) {
	.polecane-kategorie > div,
	.przed-zakupem-projektu > div,
	.co-nowego-2022 > div,
	.ekspert-radzi-2022 > div {
		flex-basis: 33%;
		max-width: unset;
	}
}
	
.artykul-glowny-spis {
	max-width: 716px;
	margin: 0 auto;
	/* text-align: justify; */
}	

.artykul-glowny {
	max-width: 716px;
	margin: 0 auto;
	/* text-align: justify; */
	line-height: 165%;
}

.artykul-glowny-spis ul {
	margin-top: 30px;
	list-style-type: square;
	margin-left: 0px
}

.artykul-glowny-spis a {
	display: block;
	margin-bottom: 15px;
	font-family: MainFontBold;
}

.artykul-glowny-spis a:hover {
	color: #e14f00;
}

.artykul-glowny .list {
	margin-left: 0px;
}

.partners-slider-container {
	display: block;
	width: 100%;
	height: 60px;
	overflow: hidden;
	position: relative;
	margin: 0 auto;
	background: #ffffff;
	margin-top: 45px;
	margin-bottom: 30px;
}
.partners-slider-container  ul {
	position: absolute;	
	background: #ffffff;
	padding: 0;
	margin: 0;
	left: 0;
}
.partners-slider-container  ul > li {
	display: block;
	float: left;
	height: 50px;
	background: #ffffff;
	padding: 5px 15px;
	margin: 0;
}
.partners-slider-container  ul > li img {
	height: 25px;
}


.kategorie-dodatkowe-show-btn {
	cursor: pointer;
}

.kategorie-dodatkowe-show-btn:hover {
	color: #ec661d;
}

.kategorie-dodatkowe-links {
	display: none;
	text-align: left;
	margin-left: 5%;
	margin-bottom: 20px;
	clear: both;
}

.kategorie-dodatkowe-links a {
	display: block;
	margin-top: 3px;
	
}

.kategorie-dodatkowe-links a:before {
	content: '\02022';
	margin-right: 5px;
}


/* Sekcja Warunki Zabudowy */
.wz2026 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	background-color: #eceff5; /* jasne szaro-niebieskie tło */
	border-radius: 12px;
	padding: 24px;
	gap: 24px; /* odstęp między obrazem a tekstem */
	margin-bottom: 60px;
	position: relative;
	outline: 1px solid #c4c4c4;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.wz2026 > img {
	width: 100%;
	max-width: 516px;
	height: auto;
	object-fit: contain;
	display: block;
	border-radius: 8px;
}

.wz2026-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wz2026 h2 {
	text-align: left;
	margin: 0 0 8px;
	font-size: 1.5rem;
	color: #000;
	font-size: 26px;
	position: relative;
}

.wz2026 h2 img {
	margin-right: 10px;
}

.wz2026 p {
	margin: 0 0 12px;
	color: #000000;
	line-height: 1.5;
	font-size: 16px;
}

.wz2026-info a.cta-soft {
	align-self: flex-end; /* wyrównuje przycisk do prawej */
	text-decoration: none;
	color: #fff;
	font-family: MainFontBold, sans-serif;
	font-size: 16px;
	transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
	padding-left: 30px;
	padding-right: 30px;
}

.wz2026-info a.cta-soft:hover {
	text-decoration: none;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1300px) {
	.wz2026 > img {
		position: absolute;
		top: -25px;
		left: -37px;
	}
	
	.wz2026-info {
		padding-left: 460px;
	}
	
	.wz2026-info a.cta-soft {
		position: absolute;
		bottom: 16px;
	}
}

@media (min-width: 701px) and (max-width: 1000px) {
	.wz2026 img {
		max-width: 320px;
	}
}

@media (max-width: 700px) {
	.wz2026 {
		flex-direction: column;
		text-align: center;
	}
	.wz2026-info {
		text-align: center;
		align-items: center;
	}
	.wz2026-info a.cta-soft {
		align-self: center; /* na mobile przycisk wraca na środek */
	}
}


/* AKORDEON */

.accordion { max-width: 1100px; margin: 0 auto; margin-top: 40px; margin-bottom: 60px; }

/* --- item --- */
.accordion details {
	position: relative;
	background: #fff;
	border-bottom: 1px solid #c4c4c4;
	overflow: hidden;
	/* box-shadow: 0 1px 0 rgba(0,0,0,.02); */
}

.accordion details[open] {
	border-bottom: white;
	background-color: #eceff5;
}

.accordion details:last-child {
	border-bottom: white;
}

/* left accent */
.accordion details::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: #e58776; /* brand accent */
	opacity: 0;
	transition: opacity .2s ease;
}
.accordion details[open]::before,
.accordion details:hover::before { opacity: 1; }

/* --- header --- */
.accordion summary {
	cursor: pointer;
	display: block;
	padding: 14px 44px 14px 20px;
	font-weight: 700;
	list-style: none;
	position: relative;
	color: #282828;
}
/* hide default marker */
.accordion summary::-webkit-details-marker { display: none; }

/* right icon: SVG 15x9, flips vertically when open */
:root{
	--chev-svg:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='15' height='9' viewBox='0 0 15 9' fill='none'>\
<path d='M1 1.25L7.5 7.75L14 1.25' stroke='currentColor' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>");
}
.accordion summary::after{
	content:"";
	position:absolute;
	right:14px; top:50%;
	width:15px; height:9px;
	background: var(--chev-svg) center/contain no-repeat;
	transform: translateY(-50%);
	transition: transform .2s ease;
	opacity:.9;
}
.accordion details[open] > summary::after{
	transform: translateY(-50%) scaleY(-1);
	top: 30px;
}

/* --- panel --- */
.panel{
	border-top: 1px solid #efefef;
	padding-left: 5px;
}

.panel a {
	color: #b24036;
}

.panel p {
	font-size: 15px;
}

.panel ul {
	margin: 0px;
}

/* --- read more (CSS only) --- */
.readmore{ margin-top:6px; }
.readmore input[type="checkbox"]{ display:none; } /* hide switch */

/* clipped block before expand */
.readmore .clip{
	position:relative;
	max-height: 110px; /* what is visible before expand */
	overflow:hidden;
	transition:max-height .35s ease;
}
/* soft fade bottom */
.readmore .clip::after{
	content:"";
	position:absolute; left:0; right:0; bottom:0;
	height:36px;
	/* background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); */
	background: linear-gradient(to bottom, rgba(255,255,255,0), #eceff5);
	pointer-events:none;
}

/* expanded state */
.readmore input[type="checkbox"]:checked + .clip{ max-height: unset; }
.readmore input[type="checkbox"]:checked + .clip::after{ display:none; }
/* .readmore label::after{ content:"Czytaj więcej"; } */
/* .readmore input[type="checkbox"]:checked ~ label::after{ content:"Zwiń"; } */

/* focus a11y */
summary:focus-visible, .readmore label:focus-visible{
	outline:2px solid #1a73e8;
	outline-offset:2px;
	border-radius:6px;
}

.accordion h2 {
	margin: 0px;
	text-align: left;
}

.accordion h3 {
	font-size: 18px;
}

.accordion p {
	margin-bottom: 10px;
}
/* temporary highlight when collapsing */
details.highlight {
	animation: collapseHighlight 1.0s ease;
}
@keyframes collapseHighlight {
	0%   { background-color: #eceff5; }
	/* 60%  { background-color: #f7f8fb; } */
	100% { background-color: #fff; }
}

/* Mobile first */
@media (max-width: 767px) {
	/* telefony */
	.accordion h2 {
		font-size: 16px;
	}
	
	.accordion .panel {
		padding: 0px 14px 24px 20px;
	}
}

@media (min-width: 768px) and (max-width: 1279px) {
	/* tablety */
}

@media (min-width: 1280px) {
	/* desktop */
	.accordion h2 {
		font-size: 18px;
		padding-left: 66px;
	}
	
	.accordion .panel {
		padding-left: 80px;
		padding-right: 80px;
		padding-bottom: 16px;
	}
}

/* --- READ MORE (CSS only) --- */

/* SVG arrow as CSS variable; uses currentColor so it matches label color */
:root{
	--rm-arrow: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<polyline points='6 9 12 15 18 9'/></svg>");
}

/* Wrapper */
.readmore { margin-top: 8px; }

/* Hide the toggle */
.readmore input[type="checkbox"]{ display: none; }

/* Clipped content (collapsed) */
.readmore .clip{
	position: relative;
	max-height: 110px;
	overflow: hidden;
	transition: max-height .35s ease;
}

/* Soft fade bottom */
.readmore .clip::after{
	content: "";
	position: absolute; inset: auto 0 0 0;
	height: 36px;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #eceff5);
	pointer-events: none;
}

/* Label as a pill button */
.readmore-btn{
	/* display: inline-flex; */ /* reserve space for text */
	align-items: center;
	padding: 8px 30px 8px 16px; /* <-- right padding reserves space for arrow */
	border: 1px solid #e0e0e0;
	border-radius: 9999px;
	background: #fff;
	font: 600 15px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	cursor: pointer;
	transition: box-shadow .2s, background-color .2s;
	position: relative;       /* for ::after arrow */
	display: block;
	max-width: 94px;
	margin: 0 auto;
	margin-top: 10px;
}

details[open] .readmore input[type="checkbox"]:checked ~ .readmore-btn {
	max-width: 40px;
}


/* Hover effect */
.readmore-btn:hover{
	box-shadow: 0 1px 3px rgba(0,0,0,.1);
	background-color: #fafafa;
}

/* Button text via ::before to keep HTML clean */
.readmore-btn::before{
	content: "Czytaj więcej";
}

/* Arrow on the right (separate layer, won't overlap thanks to padding-right) */
.readmore-btn::after{
	content: "";
	position: absolute;
	top: 50%; right: 14px;
	width: 14px; height: 14px;
	background: var(--rm-arrow) center/contain no-repeat;
	transform: translateY(-50%) rotate(0deg);
	transition: transform .3s ease;
	opacity: .95;
}

/* Expanded state */
.readmore input[type="checkbox"]:checked + .clip{ max-height: none; }
.readmore input[type="checkbox"]:checked + .clip::after{ display: none; }
.readmore input[type="checkbox"]:checked ~ .readmore-btn::before{ content: "Zwiń"; }
.readmore input[type="checkbox"]:checked ~ .readmore-btn::after{
	transform: translateY(-50%) rotate(180deg);
}

/* A11y focus */
.readmore-btn:focus-visible{
	outline: 2px solid #1a73e8;
	outline-offset: 2px;
	border-radius: 6px;
}
