/*
 Theme Name:   Hesz
 Template: 	   kadence
 Author:       SP Media
 Author URI:   https://spmedia.pl/
*/

body.woocommerce-account #primary>.site-container,
body.woocommerce-cart #primary>.site-container,
body.woocommerce-checkout #primary>.site-container,
body.search #primary>.site-container{
	padding: 50px 0;
}

#masthead .site-container,
#colophon .site-container,
body.woocommerce-account #primary>.site-container,
body.woocommerce-cart #primary>.site-container,
body.woocommerce-checkout #primary>.site-container,
body.search #primary>.site-container{
	max-width:1200px; 
	padding-left:1.5rem;
	padding-right:1.5rem; 
	margin-left:auto; 
	margin-right: auto; 
	box-sizing:content-box ;  
}

@media screen and (max-width:1025px){
	#masthead .site-container,
	#colophon .site-container,
	body.woocommerce-account #primary>.site-container,
	body.woocommerce-cart #primary>.site-container,
	body.woocommerce-checkout #primary>.site-container,
	body.search #primary>.site-container{
		padding-left:1rem;
		padding-right:1rem; 
	}
}

@media screen and (max-width:768px){
	#masthead .site-container,
	#colophon .site-container,
	body.woocommerce-account #primary>.site-container,
	body.woocommerce-cart #primary>.site-container,
	body.woocommerce-checkout #primary>.site-container,
	body.search #primary>.site-container{
		padding-left:.5rem;
		padding-right:.5rem; 
	}
}

body.woocommerce-account #masthead,
body.woocommerce-cart #masthead,
body.woocommerce-checkout #masthead,
body.search #masthead{
	position: relative !important;
	background: var(--global-palette2) !important;
	padding-bottom:40px !important;
}


body.woocommerce-account.logged-in .entry-content>.woocommerce {
	display:flex; 
	flex-direction: row-reverse; 
}

@media (max-width: 1025px) {
	body.woocommerce-account.logged-in .entry-content>.woocommerce {
		display:flex; 
		flex-direction: column;
		gap:30px; 
	}
}

.nav-links {
	display: flex; 
	gap:3px;
}



.kt-row-column-wrap {
	box-sizing: content-box !important; 	
}

#wrapper .sp-highlighted-menu-element a {
	color: #000; 
	background: var(--global-palette1);
	border-radius: 20px 0 20px 0;
	padding:10px 20px !important;
	margin-left: 28px;
	width: auto;
}

#wrapper .sp-highlighted-menu-element:hover a {
	color: var(--global-palette1);
	background: #000;
} 

#wrapper .sp-main-title strong {
	font-weight: 400; 
	color: var(--global-palette1);
}

#wrapper .sp-offer-panel-small-icon {
	position: absolute; 
	top: -15px;
	left: -15px;
}

#wrapper .sp-offer-panel>.kt-inside-inner-col {
	height:100%;
	display: flex; 
}

#wrapper .sp-offer-panel h3 {
	margin: auto; 
}

#wrapper .sp-offer-panel:hover,
#wrapper .sp-offer-panel:hover {
	cursor: pointer; 
}

#wrapper .sp-offer-panel:hover h3,
#wrapper .sp-offer-panel:hover h5 {
	color: var(--global-palette1);
	cursor:pointer; 
	transition: all .4s ease; 
}

.kb-button {
	border-radius: 20px 0 20px 0 !important;
	padding-top:10px !important;
	padding-bottom:10px !important;
}

@media screen and (max-width:1025px) {
	#wrapper .sp-bezpieczne-stajnie-section>.kt-inside-inner-col {
		background: var(--global-palette1);
	}
	#wrapper .sp-bezpieczne-stajnia-w-stylu-section>.kt-inside-inner-col {
		background: var(--global-palette6);
	}
}



.sp-my-slider .kb-advanced-slide,
.sp-my-slider .kb-advanced-slide>.kb-advanced-slide-inner-wrap{
	height:100%;
}

@media screen and (max-width:768px) {
	.sp-my-slider .kb-advanced-slide,
	.sp-my-slider .kb-advanced-slide>.kb-advanced-slide-inner-wrap{
		height: initial; 
	}
}

#wrapper .sp-my-slider .splide__arrows {
	display: flex; 
	position: relative; 
	justify-content: space-around;  /* tu moze powinno byc space-beteween */ 
}



@media screen and (max-width:768px) {
	#wrapper .sp-my-slider .splide__arrows {
		justify-content: space-between; 
	}
}

#wrapper .sp-my-slider.sp-my-slider--aktualnosci .splide__arrows,
#wrapper .sp-my-slider.sp-my-slider--realizacje .splide__arrows{
	justify-content: space-between; 
}

#wrapper .sp-my-slider.sp-my-slider--katalog .splide__arrows{ 
    justify-content: space-between;
    transform: translatey(-100%);
    z-index: 9999;
    padding: 0 calc((100% - 720px) / 2 - 55px);
}

@media screen and (max-width:1025px) {
	#wrapper .sp-my-slider.sp-my-slider--katalog .splide__arrows{ 
		transform: initial; 
		justify-content: space-between; 
		z-index: 9999;
		padding: 0;
	}
}

#wrapper .sp-my-slider .splide__arrows>.splide__arrow {
    right: initial;
    top: initial;
    left: initial;
    bottom: initial;
    transform: initial;
    position: relative;
    opacity: 1;
    background-color: var(--global-palette1);
    background-image: url('/wp-content/uploads/2024/07/right-svgrepo-com-1.svg');
    background-size: 50%; 
    background-position: center;
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
    border-radius: 20px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#wrapper .sp-my-slider .splide__arrows>.splide__arrow:hover {
	opacity:.7;
}

@media (max-width:1025px) {
	#wrapper .sp-my-slider .splide__arrows>.splide__arrow:hover {
		opacity:1;
	}
}

#wrapper .sp-my-slider .splide__arrows>.splide__arrow.splide__arrow--prev {
	 background-image: url('/wp-content/uploads/2024/07/right-svgrepo-com-1.svg');
	 transform: rotate(180deg);
/* 	 visibility: hidden; */
}

#wrapper .sp-my-slider.sp-my-slider--katalog .splide__arrows>.splide__arrow.splide__arrow--prev,
#wrapper .sp-my-slider.sp-my-slider--realizacje .splide__arrows>.splide__arrow.splide__arrow--prev{
	visibility: visible !important; 
}

#wrapper .sp-my-slider .splide__arrows>.splide__arrow svg{
	display: none; 
}


#wrapper .sp-my-slider .kb-blocks-advanced-slider-init,
#wrapper .sp-my-slider.sp-my-slider--aktualnosci .kt-post-grid-layout-carousel-wrap{
	display:flex ;
	flex-direction: column-reverse;
	gap: 40px; 
}

#wrapper .sp-my-slider.sp-my-slider--realizacje .kt-post-grid-layout-carousel-wrap{ 
	display:flex ;
	flex-direction: column-reverse;
	gap: 25px; 
}

@media (max-width:1025px) {
	#wrapper .sp-my-slider.sp-my-slider--realizacje .kt-post-grid-layout-carousel-wrap{ 
		flex-direction: column;
		gap:15px;
	}
}

#wrapper .sp-my-slider.sp-my-slider--katalog .kt-blocks-carousel-init {
	display: flex; 
	flex-direction: column-reverse;
}

@media screen and (max-width:1025px) {
	#wrapper .sp-my-slider.sp-my-slider--katalog .kt-blocks-carousel-init
	{
		display: flex; 
		flex-direction: column-reverse;
		gap:40px; 
	}
}


@media screen and (max-width:768px){
	#wrapper .sp-my-slider .kb-blocks-advanced-slider-init,
#wrapper .sp-my-slider.sp-my-slider--aktualnosci .kt-post-grid-layout-carousel-wrap,
	#wrapper .sp-my-slider.sp-my-slider--katalog .kt-blocks-carousel-init{
		gap: 20px; 
		flex-direction: column; 
	}
}


#wrapper .sp-my-slider .kb-splide .splide__track {
	overflow: initial;
}

#wrapper .sp-my-slider--aktualnosci .entry-title {
	margin-bottom:20px; 
}

#wrapper .sp-my-slider--aktualnosci .kt-blocks-post-readmore {
	border-radius:20px 0 20px 0;
}

#wrapper .sp-my-slider--aktualnosci .kt-blocks-post-readmore {
	text-transform: uppercase;
}

#wrapper .sp-my-slider--aktualnosci  .kadence-post-image-intrisic {
	height:100%;
}

#wrapper .sp-my-slider--aktualnosci .kadence-post-image-intrisic img {
	object-fit: cover; 
}

#wrapper .sp-my-slider--aktualnosci .kt-blocks-post-grid-item, 
#wrapper .sp-my-slider--aktualnosci .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner-wrap{
	height: 100%;
}

@media screen and (max-width:768px){
	#wrapper .sp-my-slider--aktualnosci .kt-blocks-post-grid-item, 
	#wrapper .sp-my-slider--aktualnosci .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner-wrap{
		height: initial;
	}
}

#wrapper .sp-my-slider.sp-my-slider--katalog .kb-gal-image-radius {
	max-width: 720px; 
}

textarea {
	resize: none !important;
}

#wrapper .sp-contact-form .sp-checkbox input {
	width:40px; 
	height:40px; 
	flex-shrink:0;
	cursor: pointer; 
}

@media screen and (max-width:768px)  {
	#wrapper .sp-contact-form .sp-checkbox input {
		width:20px; 
		height:20px; 
		flex-shrink:0;
		cursor: pointer; 
	}
}

#wrapper .sp-contact-form .sp-checkbox label {
	line-height:1.2;
}

#wrapper .sp-contact-form .kb-radio-check-item {
	align-items: flex-start; 
	gap:20px; 
}

@media screen and (max-width:768px){
	#wrapper .sp-contact-form .kb-radio-check-item {
		align-items: flex-start; 
		gap:10px; 
	}
}

#colophon {
	margin-top: -2px !important;
	z-index:1 !important;
}

.sp-breadcrumb a,
.sp-breadcrumb span {
	font-size:16px; 
	color: #494949;
	font-weight: 400; 
	text-decoration: none;
}

.single-post #wrapper {
	background: #E9E8E3;
}

.sp-single-post-main-image {
	float:right; 
}

@media screen and (max-width:1025px) {
	.sp-single-post-main-image {
		float:initial; 
		width:100%;
		
	}
	
	.sp-single-post-main-image  img{
		width:100%;
		object-fit:cover; 
		max-height:15rem;
	}
	
	#wrapper .sp-single-post-category {
		margin-left:10px !important; 
		margin-right:10px !important;
	}
}

#sp-custom-post-grid .post-thumbnail {
	padding: 0;
}

#sp-custom-post-grid .post-item {
	margin-bottom:30px; 
	background: #fff; 
	display:flex; 
	flex-direction: row; 
}

@media (max-width:768px) {
	#sp-custom-post-grid .post-item {
		flex-direction: column;
	}
}

#sp-custom-post-grid .post-item .sp-post-thumbnail {
	flex: 0 0 30%;
	min-height:360px; 
}

@media (max-width: 768px) {
	#sp-custom-post-grid .post-item .sp-post-thumbnail {
		min-height:initial; 
		flex: 0 0 100%;
	}
}

#sp-custom-post-grid .post-item .sp-post-thumbnail img {
	height:100%;
	width:100%;
	object-fit: cover; 
}

@media (max-width:768px) {
	#sp-custom-post-grid .post-item .sp-post-thumbnail img {
		height:200px;
	}
}

#sp-custom-post-grid .post-item .post-content {
	padding: 55px 45px; 
	display: flex; 
	flex-direction: column; 
	flex-grow:1; 
	justify-content: flex-start;
	align-items:flex-start; 
}

@media (max-width:768px) {
	#sp-custom-post-grid .post-item .post-content {
		padding: 20px 10px;
	}
}

#sp-custom-post-grid .post-item .post-content>h2 {
	font-size:20px; 
	color: #000; 
	margin-bottom:35px; 
}

#sp-custom-post-grid .post-item .post-content>.post-excerpt {
	font-size: 16px; 
	color: #494949;
	margin-bottom:40px; 
}

#sp-custom-post-grid .post-item .sp-read-more {
	background: var(--global-palette1);
	color: #000; 
	text-transform: uppercase; 
	font-size: 16px; 
	padding: 10px 20px; 
	border-radius:20px 0 20px 0; 
	text-decoration: none; 
	width:auto; 
	align-self:flex-end; 
}

#sp-custom-post-grid .post-item .sp-read-more:hover {
	background: #000;
	color: var(--global-palette1);
}

#wrapper .pagination .page-numbers{
	list-style: none; 
	margin: 0;
	display: flex; 
	justify-content: center; 
	gap: 15px; 
	margin-top:10px; 
}

#wrapper .pagination .page-numbers .next,
#wrapper .pagination .page-numbers .prev {
	display: none; 
	
}

#wrapper .pagination .page-numbers>li>a,
#wrapper .pagination .page-numbers>li>span,
#wrapper .pagination.products-pagination .page-numbers{
	border-radius:10px 0 10px 0; 
	color: #000; 
	border: 2px solid var(--global-palette1);
	font-size:12px; 
}

#wrapper .pagination .page-numbers>li>a:hover,
#wrapper .pagination.products-pagination .page-numbers:hover{
	background: var(--global-palette1);
}

#wrapper .pagination.products-pagination {
	display: flex; 
	justify-content: center; 
	gap:15px; 
}

#wrapper .pagination.products-pagination .next,
#wrapper .pagination.products-pagination .prev {
	display: none;
}

#wrapper .pagination.products-pagination .page-numbers {
	border-radius: 10px 0 10px 0;
	
}

.sp-category-selector #category-selector-form {
	display: flex; 
	column-gap:90px; 
	row-gap:20px;
	flex-wrap:wrap;
}

@media (max-width:500px){
	.sp-category-selector #category-selector-form {
		flex-direction: column; 
	}
}

.sp-category-selector #category-selector-form .selector-item label {
	font-size:18px; 
	color: #494949;
	cursor:pointer; 
	padding-left:8px; 
}

.sp-category-selector #category-selector-form .selector-item {
	display:flex; 
	align-items: center; 
	cursor:pointer; 
}

.sp-category-selector input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    border: 2px solid var(--global-palette1);
    border-radius: 0; /* Dodaj zaokrąglenia, jeśli chcesz */
    background-color: transparent;
    position: relative;
    cursor: pointer;
}

.sp-category-selector input[type="radio"]:checked {
    background-color: var(--global-palette1);
    border: 2px solid var(--global-palette1);
}

.sp-category-selector input[type="radio"]::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
}

.sp-category-selector input[type="radio"]:hover {
    background-color: var(--global-palette1);
    border: 2px solid var(--global-palette1);
	transition: all .4s ease;
}

#sp-realizacje-post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px 20px;
}

@media (max-width:1025px){
	#sp-realizacje-post-grid {
		grid-template-columns: repeat(3, 1fr);
		gap:10px;
	}
}

@media (max-width:768px){
	#sp-realizacje-post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}


@media (max-width:500px){
	#sp-realizacje-post-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}

#sp-realizacje-post-grid .realizacja-item,
#sp-realizacje-post-grid .realizacja-item .sp-realizacje-thumbnail,
#sp-realizacje-post-grid .realizacja-item .sp-realizacje-thumbnail .wp-post-image{
    width: 100%;
    height: 100%;
	object-fit:cover;
}

#sp-realizacje-post-grid .realizacja-item .sp-realizacje-thumbnail .wp-post-image {
    height:280px;
}

#sp-realizacje-post-grid .realizacja-item {
	position: relative; 
}

.sp-realizacje-thumbnail .loop-icon {
	position: absolute; 
	right:-1px;
	bottom: -1px;
	pointer-events:none;
	height:45px; 
	width:45px; 
	z-index: 10;
}

.sp-my-slider.sp-my-slider--realizacje .kt-blocks-post-grid-item-inner {
	display: none;
}

.sp-my-slider.sp-my-slider--realizacje .kt-post-slider-item::before {
	height:100%;
	width:100%;
	position: absolute; 
	left: 0;
	top:0 ;
	background: #fff; 
	opacity:.5; 
	content: "";
	z-index:555;
	transition: all .4s ease;
}

@media (max-width:1025px) {
	.sp-my-slider.sp-my-slider--realizacje .kt-post-slider-item::before {
		display: none; 
	}
}

.sp-my-slider.sp-my-slider--realizacje .kt-post-slider-item.is-visible::before {
	opacity: 0;
	pointer-events: none;
}

#wrapper .sp-zobacz-wiecej-realizacje-btn {
	transform: translateY(-100%);
	padding-top: 7px !important; 
	padding-bottom: 7px !important;
}

@media (max-width:1025px) {
	#wrapper .sp-zobacz-wiecej-realizacje-btn {
		transform: initial; 
		margin-top:10px;
	}
}

.realizacje-main-section {
	z-index:2;
}

.sp-realisation-product-id{
	position: absolute; 
	top: 0;
	right: 0; 
	padding: 10px; 
	background: #E5DCCB;
	color: #000;
	text-transform: uppercase; 
	font-size:16px; 
	border-radius: 0 0 0 20px; 
	margin: 0;
	z-index: 10; 
}






#realizacja-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
}

#realizacja-popup {
	overflow-y:auto; 
	overflow-x:hidden;
}

#realizacja-popup .realizacja-popup-inner {
    padding: 20px;
    max-width: 800px;
    width: 100%;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	height:100% !important;
}

#realizacja-popup #close-popup {
    height: 45px;
    width: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    padding: 0 !important;
    align-self: flex-end;
    margin-bottom: 30px;
	background: var(--global-palette1) !important;
}

#realizacja-popup #close-popup:hover {
    opacity: 0.7;
    
}

#realizacja-popup .slide img {
	max-height:40vh;
}

#realizacja-popup #close-popup img {
    padding: 10px;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

#realizacja-popup #popup-content {
    width: 100%;
	height:100%;
	overflow: visible !important;
}

@media (max-width:1400px){
	#realizacja-popup #popup-content {
		overflow:auto !important;
		overflow-x: hidden !important;
	}
}

#realizacja-popup #popup-gallery {
    position: relative;
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    margin-bottom: 30px; 
}

@media (max-width:768px) {
	#realizacja-popup #popup-gallery {
		overflow:hidden;
	}
}

@media (max-width:1025px) {
    #realizacja-popup #popup-gallery {
        gap: 10px;
        margin-bottom: 15px; 
    }
}

#realizacja-popup #popup-gallery .slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 45px; /* to zmieniajac, trzeba tez dostosowac js pod to */
}

#realizacja-popup #popup-gallery .slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

#realizacja-popup #popup-gallery .slide img {
    height: 100%;
    width: 100%;
    object-fit: contain; 
}

#realizacja-popup .slider-arrows {
    display: flex; 
    justify-content: space-between; 
}

#realizacja-popup .slider-arrow {
    position: relative; 
    height: 40px; 
    padding: 0;
    width: 40px; 
    background: var(--global-palette1) !important;
    padding: 10px; 
    box-sizing: border-box;
    border-radius: 20px 0 20px 0 !important;
}

#realizacja-popup .slider-arrow:hover {
    opacity: .7;
}

#realizacja-popup .popup-what-on-photo {
	margin-bottom:20px;
	font-size:16px; 
	color: var(--global-palette1);
	margin-top: 0;
}

#realizacja-popup .slider-arrow img {
    height: 100%;
    width: 100%;
    object-fit: cover; 
	max-height:400px;
}
#realizacja-popup .slider-arrow.slider-prev img {
	transform:rotate(180deg);
}

#realizacja-popup #popup-title {
    margin-bottom: 15px;
    color: #fff;
}

@media (max-width: 768px) {
    #realizacja-popup #popup-title {
        margin-bottom: 15px;
        color: #fff;
    }
}

#realizacja-popup #popup-description {
    margin-bottom: 20px;
    color: #fff;
}

@media (max-width: 768px) {
    #realizacja-popup #popup-title {
        margin-bottom: 10px;
        color: #fff;
    }
}

#realizacja-popup #popup-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--global-palette1);
    color: #000;
    border-radius: 20px 0 20px 0;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    text-decoration: none;
}

#realizacja-popup #popup-link:hover {
    background: #000;
    color: var(--global-palette1);
}

body.popup-open {
    overflow: hidden;
    padding-right: 20px;
}

@media (max-width: 1025px) {
    body.popup-open {
        overflow: hidden;
        padding-right: 0;
    }
}

#wrapper .sp-contact-main-section {
	display: flex; 
	flex-direction: row; 
	justify-content: flex-end; 
}

#wrapper .sp-contact-main-section>.kt-inside-inner-col {
	width:600px; 
}

@media (max-width:1025px) {
	#wrapper .sp-contact-main-section>.kt-inside-inner-col {
		width:100%; 
	}
}

#wrapper .sp-my-map-wrapper>.kt-inside-inner-col {
	height:100%;
}

#wrapper .sp-my-map {
	height: calc( 100% + 100px ); 
	transform: translateY(-100px);
}

@media (max-width:1025px){
	#wrapper .sp-my-map {
		height: 100%;
		transform: initial; 
		min-height:300px;
	}
}

#wrapper .sp-main-contact-content {
	z-index:-1;
}

.no-display {
	display: none !important;
}

#masthead .site-header-main-section-right {
	flex-wrap: wrap; 
}

#masthead .site-header-main-section-right .site-header-item-main-navigation:first-child {
	margin: 0;
}

#masthead .site-header-main-section-right .site-header-item-main-navigation:last-child {
	flex: 0 0 100%;
	display: flex; 
	justify-content: flex-end; 
}


#masthead .site-header-main-section-right .site-header-item-main-navigation:last-child  #site-navigation {
	border-top: 1px solid var(--global-palette1); 
	margin-top:1em;
}


#secondary-menu .lang-item a ,
#mobile-secondary-menu .lang-item a {
	border:1px solid var(--global-palette1) !important;
	padding:5px !important;  
	border-radius: 15px 0 15px 0 !important;
}

#secondary-menu{
	gap: 20px; 
}


#mobile-secondary-menu {
	gap: 5px; 
}

#sp-realizacje-post-grid .realizacja-item .realisation-on-hover {
	position: absolute; 
	top: 0;
	left: 0;
	height:100%;
	width:100%;
	background: rgba(0,0,0,.5);
	opacity: 0;
	transition: all .4s ease;
	cursor: pointer;
	z-index: 5;
	display: flex; 
	flex-direction: column;
	justify-content: center; 
	align-items: center; 
	backdrop-filter: blur(10px); /* Dodaje efekt rozmycia tła */
}

#sp-realizacje-post-grid .realizacja-item .realisation-on-hover  .realisation-title {
	color: #fff; 
	font-size:20px; 
	margin: 0;
	margin-bottom:20px; 
	text-transform: uppercase; 
}

#sp-realizacje-post-grid .realizacja-item .realisation-on-hover  .realisation-category {
	line-height:1.2;
	color: #fff;
	font-size:16px;
}

#sp-realizacje-post-grid .realizacja-item:hover  .realisation-on-hover {
	opacity:1;
}

.header-account-button>.kadence-svg-iconset,
.header-cart-button>.kadence-svg-iconset{
	border: 1px solid var(--global-palette1) !important;
    padding: 5px !important;
    box-sizing: content-box !important;
    border-radius: 100px !important;
}

.header-cart-button {
	position: relative !important; 
}

.header-cart-button .header-cart-total {
	position: absolute !important; 
	bottom: -6px !important;  
	right: -6px !important; 
	height: 1.5em !important;
	width:1.5em !important;
}

#secondary-navigation {
	margin-left:30px; 
}

.sp-products-grid {
	display: grid; 
	grid-template-columns: repeat(3, 1fr);
	gap:60px;
}

@media (max-width: 1025px) {
	.sp-products-grid {
		gap:20px;
		row-gap:30px;
	}
}

@media (max-width: 768px) {
	.sp-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap:15px;
		row-gap:30px;
	}
}

.sp-products-grid .sp-product-item-in-loop {
	display: flex; 
	flex-direction: column; 
}

.sp-products-grid .sp-product-item-in-loop .sp-product-image-in-loop {
	margin-bottom: 30px;
}

@media (max-width: 768px) {
	.sp-products-grid .sp-product-item-in-loop .sp-product-image-in-loop {
		margin-bottom: 15px;
	}
}

.sp-products-grid .sp-product-item-in-loop .sp-product-image-in-loop img {
	height: 100%;
    width: 100%;
    border-radius: 70px 0 70px 0;
	object-fit:cover; 
	aspect-ratio: 1/1;
}

.sp-products-grid .sp-product-item-in-loop  .sp-product-information-in-loop {
	flex-grow: 1; 
	display:flex; 
	flex-direction: column; 
	align-items: center;
}

.sp-products-grid .sp-product-item-in-loop  .sp-product-information-in-loop  .sp-product-loop-item-title {
	font-size:20px; 
	color: #000; 
	text-transform: uppercase; 
	margin-bottom:15px;
	text-align:center;
	font-weight: 400;
}

@media (max-width: 768px){
	.sp-products-grid .sp-product-item-in-loop  .sp-product-information-in-loop  .sp-product-loop-item-title {
		margin-bottom: 5px;
		line-height:1.1;
	}
}

.sp-products-grid .sp-product-item-in-loop  .sp-product-information-in-loop  .sp-product-excerpt-in-loop {
	font-size:14px; 
	color: #000;
	text-align: center;
	line-height:1.2;
}

@media (max-width: 400px) {
	.sp-products-grid .sp-product-item-in-loop  .sp-product-information-in-loop  .sp-product-excerpt-in-loop {
		font-size: 12px;
	}
}

.sp-products-grid .sp-product-item-in-loop  .sp-product-information-in-loop .sp-read-more {
	width: auto;
    background: var(--global-palette1);
	padding: 10px 60px; 
	text-decoration: none; 
	border-radius: 20px 0 20px 0;
	transition: all .4s ease; 
	text-transform: uppercase; 
	margin-top: auto; 
	align-self: flex-end; 	
}

.sp-products-grid .sp-product-item-in-loop  .sp-product-information-in-loop .sp-read-more:hover {
	color: var(--global-palette1);
	background: #000; 
}

.sp-single-product-title {
	color: #fff; 
	font-size:39px; 
	font-weight:400;
	line-height:55px; 
}

@media (max-width: 1025px) {
	.sp-single-product-title {
		font-size:35px; 
	}
}
	
@media (max-width: 768px) {
	.sp-single-product-title {
		font-size:28px;
	}
}

@media (max-width:1100px) {
	.site-bottom-header-inner-wrap {
		transform:translatey(-20px);
	}
}

.sp-product-gallery .kadence-product-gallery-thumbnails.splide .splide__arrow {
	background: var(--global-palette1) !important;
	opacity: .5 !important;
}

.sp-product-gallery .kadence-product-gallery-thumbnails.splide .splide__arrow:hover {
	opacity: 1 !important;
}

@media (max-width:1025px){
	.sp-product-gallery .kadence-product-gallery-thumbnails.splide .splide__arrow:hover {
	opacity: .5 !important;
}
}

 .woocommerce div.product div.images .kadence-product-gallery-main img,
.woocommerce div.product div.images .kadence-product-gallery-main .splide__slide a {
	width:100% !important;
	height:100% !important;
	margin: 0 !important;
	object-fit:cover !important;
}

.sp-product-gallery  .kadence-product-gallery-main>.splide__track {
	position: relative; 
}

.sp-product-gallery .kadence-product-gallery-main > .splide__track::before {
    content: '';
    position: absolute; 
    width: 45px;
    height: 45px; 
    background: var(--global-palette1) url('/wp-content/uploads/2024/08/search-svgrepo-com.svg') no-repeat center center;
    background-size: 50%; /* Dopasowanie rozmiaru lupki do połowy wielkości kontenera */
    border-radius: 14px 0 0 0;
    bottom: 0; 
    right: 0;
    z-index: 1; 
    pointer-events: none; 
}

#inner-wrap .sp-single-product-main-section .variations .label {
	display: none; 
}

#inner-wrap .sp-single-product-main-section .variations .value select {
	border: 1px solid var(--global-palette1);
	border-radius: 10px 0 10px 0; 
	min-width:50%;
	max-width:75%;
}

#inner-wrap .sp-single-product-main-section  .woocommerce-variation-price {
	margin-bottom: 1em; 
}

.single_add_to_cart_button {
	border-radius: 20px 0 20px 0 !important;
}

.sp-product-attributes {
	margin: 0;
	list-style-type: none;
	display:flex; 
	flex-direction: column; 
	gap: 8px; 
	margin-bottom: 40px; 
}

.sp-product-attributes .single-attribute {
	display: flex; 
	gap: 7px; 
	justify-content: flex-start; 
	align-items: center; 
	
}

.sp-product-attributes .single-attribute p {
	margin: 0;
	font-size:16px; 
	color: #000;
}

.sp-product-attributes .single-attribute .sp-attribute-icon {
	height:20px;
	width:20px; 
	background: var(--global-palette1); 
	border-radius:10px 0 10px 0;
}

.sp-accesories-carousel .entry .product-action-wrap {
	display: none !important;
}

.woocommerce ul.products.woo-archive-action-on-hover li.product:hover .entry-content-wrap, .woocommerce ul.products.woo-archive-action-on-hover li.product:focus-within .entry-content-wrap {
	transform: translateY(0) !important;
}

.sp-accesories-carousel .entry  img {
	height:184px !important;
	width:100% !important;
	object-fit:cover !important; 
} 

.sp-accesories-carousel .entry .product-details {
	padding: 0 !important;
}

#inner-wrap .sp-accesories-carousel .entry .product-details .woocommerce-loop-product__title {
	padding-top:20px; 
	padding-bottom:5px; 
	font-size:18px; 
	color: #000;
	text-align:center; 
	position: relative; 
	
}

#inner-wrap .sp-accesories-carousel .entry .product-details .woocommerce-loop-product__title .woocommerce-LoopProduct-link-title{
	position: relative; 
	display: flex; 
	gap:3px; 
	align-items: center; 
	justify-content: center; 
}



#inner-wrap .sp-accesories-carousel .entry .product-details .woocommerce-loop-product__title .woocommerce-LoopProduct-link-title::after {
	content: '';
    position: relative; 
    width: 20px;
    height: 20px; 
    background:url('/wp-content/uploads/2024/07/right-svgrepo-com-1.svg') no-repeat center center;
    background-size: 100%; /* Dopasowanie rozmiaru lupki do połowy wielkości kontenera */ 
	display: block; 
}

#inner-wrap .sp-accesories-carousel .entry .woocommerce-loop-product__title:hover .woocommerce-LoopProduct-link-title::after {
	transform: translateX(5px);
	transition: all .2s ease; 
}

#inner-wrap .sp-accesories-carousel .entry .woocommerce-loop-product__title:hover .woocommerce-LoopProduct-link-title {
	opacity: .8;
}

#inner-wrap .sp-accesories-carousel .entry .product-details .price {
	text-align:center; 
}


#wrapper .sp-accesories-carousel .splide__arrows>.splide__arrow {
    opacity: 1;
    background-color: var(--global-palette1);
    background-image: url('/wp-content/uploads/2024/07/right-svgrepo-com-1.svg');
    background-size: 50%; 
    background-position: center;
    background-repeat: no-repeat;
    height: 40px;
    width: 40px;
    border-radius: 20px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
	top: 40%;
}

#wrapper .sp-accesories-carousel .splide__arrows>.splide__arrow.splide__arrow--next {
	right: -55px;
}

#wrapper .sp-accesories-carousel .splide__arrows>.splide__arrow.splide__arrow--prev {
	left: -55px;
}

@media (max-width: 1350px) {
	#wrapper .sp-accesories-carousel .splide__arrows>.splide__arrow.splide__arrow--next {
		right: 1rem; 
	}

	#wrapper .sp-accesories-carousel .splide__arrows>.splide__arrow.splide__arrow--prev {
		left: 1rem;
	}
}

#wrapper .sp-accesories-carousel .splide__arrows>.splide__arrow:hover {
	opacity:.7;
}

@media (max-width:1025px) {
	#wrapper .sp-accesories-carousel .splide__arrows>.splide__arrow:hover {
		opacity:1;
	}
}

#wrapper .sp-accesories-carousel .splide__arrows>.splide__arrow.splide__arrow--prev {
	 background-image: url('/wp-content/uploads/2024/07/right-svgrepo-com-2.svg');
}

#wrapper .sp-accesories-carousel .splide__arrows>.splide__arrow svg {
	display: none; 
}

.onsale {
	background: var(--global-palette1) !important; 
	color: #000 !important; 
	font-weight:400 !important;
	border-radius: 10px 0 10px 0 !important;
}





@media (min-width:768px) {
	.sp-my-slider--related-products .kt-post-slider-item  .kt-blocks-post-grid-item,
.sp-my-slider--related-products .kt-post-slider-item  .kt-blocks-post-grid-item .kt-blocks-post-grid-item-inner-wrap,
.sp-my-slider--related-products  .kadence-post-image,
.sp-my-slider--related-products  .kadence-post-image .kadence-post-image-intrisic,
 .sp-my-slider--related-products  .kadence-post-image .kadence-post-image-intrisic .kadence-post-image-inner-intrisic, 
.sp-my-slider--related-products  .kadence-post-image .kadence-post-image-intrisic .kadence-post-image-inner-intrisic .kadence-post-image-inner-wrap {
	height:100% !important;
	padding: 0 !important;
	}

}

.sp-my-slider--related-products .kadence-post-image img {
	height: 100% !important;
	width: 100% !important;
	object-fit:cover; 
}

.sp-my-slider--related-products .kadence-post-image {
	min-height:300px !important;
}

.sp-my-slider--related-products .entry-title {
	margin-bottom: 15px !important; 
}

.sp-my-slider--related-products  .kt-blocks-post-readmore {
	text-decoration:  underline !important; 
}


#wrapper .sp-my-slider--related-products .kt-post-grid-layout-carousel-wrap {
	display: flex; 
	flex-direction: column-reverse; 
	gap: 40px; 
}

@media (max-width:768px){
	#wrapper .sp-my-slider--related-products .kt-post-grid-layout-carousel-wrap {
		display: flex; 
		flex-direction: column-reverse; 
		gap: 20px; 
	}
}

#wrapper .sp-my-slider--related-products .kt-post-grid-layout-carousel-wrap .splide__arrows  {
	justify-content: space-between !important;
}

#wrapper .sp-my-slider--related-products .kt-post-grid-layout-carousel-wrap .splide__arrows>.splide__arrow--prev {
	visibility: initial !important;
}

#wrapper .sp-my-slider--related-products .kt-post-slider-item,
#wrapper .sp-my-slider--related-products .kt-post-slider-item>.kt-blocks-post-grid-item,
#wrapper .sp-my-slider--related-products .kt-post-slider-item .kadence-post-image img{
	border-radius: 70px 0 70px 0 !important;
}

#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.site-header-row-container):not(.item-hidden-above):not(.site-main-header-wrap), #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.item-hidden-above) > .site-header-row-container-inner {
	transition: all .4s ease; 
}

@media (max-width:1025px) {
	#masthead .site-container {
		padding-top: 15px !important;
	}
	#masthead .site-container .custom-logo {
		margin-bottom:5px;
	}
}

#mobile-secondary-menu {
	margin-right:2rem; 
}


.mobile-toggle-open-container {
	position: fixed !important; 
	right: 0 !important; 
/* 	transform: translatey(-12px); */
}

html[lang="en-GB"] .header-account-button,
html[lang="en-GB"]  .header-cart-wrap,
html[lang="en-GB"] .header-cart-inner-wrap{
	display: none !important;
}

.item-is-stuck .site-header-main-section-left{
	display: none !important;
}

.item-is-stuck .site-header-main-section-right .site-header-item {
/* 	display: none !important; */
}

.item-is-stuck .site-header-main-section-right #secondary-navigation {
	display: none; 
}

.item-is-stuck .site-header-main-section-right {
	flex-wrap:nowrap !important; 
	flex-direction: row-reverse; 
	gap:10px; 
}

.item-is-stuck .site-header-main-section-right  .site-header-item {
	margin: 0; 
}

.item-is-stuck .site-header-main-section-right .site-header-item:last-child {
	display: initial !important;
}

.item-is-stuck .site-header-main-section-right .site-header-item:last-child #site-navigation {
	justify-content: center; 
	margin-top: 0 !important; 
	border-top: 0 !important;
}

.item-is-stuck .site-container {
	padding-top: 0 !important;
}

.item-is-stuck .site-main-header-inner-wrap {
	display: flex !important; 
	justify-content: center; 
}



#site-navigation, 
#site-navigation .primary-menu-container,
#site-navigation .primary-menu-container #primary-menu {
	width: 100%; 
}

#site-navigation .primary-menu-container #primary-menu {
	justify-content: space-between;
}

.sp-my-map-wrapper iframe {
	scale: 1.25 !important; 
}

.sp-my-map-wrapper .kb-google-maps-container {
	overflow: hidden !important;
}

.sp-product-attributes .single-attribute p.sp-attribute-values {
	margin-left:1rem; 
	font-size:14px; 
	line-height:1.1;
}

.sp-product-gallery>.kt-inside-inner-col {
	position: sticky; 
	top: 5rem; 
}

.sp-zapytaj-o-cene .kb-btn-global-custom {
	background: #DCC79E !important; 
	padding: 10px 40px !important; 
	border: 0 !important;  
	border-radius: 20px 0 20px 0 !important;  
	border:2px solid transparent !important; 
	margin-top:10px !important; 
}

.sp-zapytaj-o-cene .kb-btn-global-custom span {
	color: #000 !important; 
	font-size:16px !important;  
}

.sp-zapytaj-o-cene .kb-btn-global-custom:hover {
	background: #fff !important; 
	border-color: #DCC79E !important; 
}

.sp-blog-post-content p {
	font-size:16px !important; 
	color: #494949 !important;
	line-height:25px !important; 
}

.sp-blog-post-content h5,
.sp-blog-post-content h6{
	font-size:16px !important; 
	font-weight:400 !important; 
}

.sp-blog-post-content h4 {
	font-size: 18px !important; 
	font-weight: 400 !important;
}

.sp-blog-post-content h3 {
	font-size: 20px !important; 
	font-weight: 400 !important;
}

#wrapper .sp-blog-post-content strong {
	font-weight: 500 !important; 
}

.sp-blog-post-content h2 {
	font-size:22px !important; 
	font-weight:400 !important; 
	
}

.sp-blog-post-title {
	font-weight:400 !important;
}

.he-windows-info-table tbody>tr:first-child td{
	background: #DBC79E; 
	font-weight:400;
}

.he-windows-info-table tbody>tr td {
	color: #000; 
	font-size:16px;
	text-align: center; 
	line-height:20px; 
	padding: 20px 5px;
}

@media (max-width: 768px) {
	.he-windows-info-table tbody>tr td {
		font-size: 12px; 
		padding:10px 3px;
		line-height: 1.2; 
	}
}

.he-windows-info-table,
.he-windows-info-table table{
	margin:0;
}

#wrapper .he-windows-info-table {
	overflow-x: initial; 
}

@media (max-width: 768px) {
	#wrapper .he-windows-info-table {
		overflow-x: auto; 
	}
}

.he-standard-windows-grid {
	max-width: 830px;
	width:100%;
	margin: 0 auto; 
}

.he-standard-windows-grid .kadence-post-image-inner-wrap img {
	border-radius: 100px 0 100px 0;
}

#wrapper .he-standard-windows-grid .entry-title {
	font-size: 20px; 
	line-height: 25px; 
	padding: 30px 0;
}

@media (max-width: 768px) {
	#wrapper .he-standard-windows-grid .entry-title {
		padding: 10px 0;
	}
}

#wrapper .he-standard-windows-grid .kt-blocks-post-readmore {
	width: 100%;
    background: #DBC79E;
    padding: 20px 0;
    font-size: 16px;
    color: #000;
    border-radius: 35px 0 35px 0;
	font-weight: 400; 
	text-transform: uppercase; 
}

#wrapper .he-standard-windows-grid .kt-blocks-post-readmore:hover {
	background: #000;
	color: #DBC79E;
}

#wrapper .he-additional-windows-grid img {
	border-radius: 100px 0 100px 0;
}

#wrapper .he-additional-windows-grid .entry-title {
	padding-top:30px; 
	padding-bottom:15px; 
	font-size: 20px; 
	 text-transform: uppercase; 
	line-height: 25px; 
}

#wrapper .he-additional-windows-grid .entry-content {
	font-size: 14px; 
	line-height: 17px; 
}

@media (max-width: 768px) {
	#wrapper .he-additional-windows-grid .entry-title {
		padding: 10px 0;
	}
}

body.term-akcesoria #wrapper .he-products-archive-breadcrumbs>.kt-inside-inner-col,
body.term-akcesoria #wrapper .he-products-archive-header>.kt-inside-inner-col{
	background-color: #fff;
}

.search .entry-hero-container-inner {
	padding-top: 0 !important;
}

.search .product-action-wrap {
	display: none !important; 
}

.archive .has-fixed-layout ul {
		text-align:left
}

#wrapper #mobile-secondary-menu {
	display: none; 
}

@media (max-width: 600px) {
	.search-toggle-open-container {
		margin-right: 1rem;
	}
}

#secondary-navigation {
	display: none; 
}