/* CSS STYLES FOR FRONT PAGE */
.home .page-content{
	overflow: hidden;
}

.home .section-title{
	font-size: 2.5rem;
	line-height: 2.5rem;
	margin-bottom: 32px;
}

.home .section-title--small{
	font-size: 2rem;
	line-height: 2.5rem;
	margin-bottom: 32px;
}

.section-title + .see-more-button{
	margin-bottom: 32px;
}

/* HERO */
.hero{
	padding-top: 0;
	padding-bottom: 48px;
}

.hero .swiper-slide img{
	width: 100%;
	object-fit: cover;
}

.hero-slider__content-wrapper{
	position: absolute;
    width: 100%;
    top: 0;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    max-width: 1540px;
	color: #fff;
	padding-inline: 120px;
}

.hero-slider__content{
	max-width: 380px;
	font-weight: 200;
}

.hero-slider__content h1,
.hero-slider__content h2,
.hero-slider__content .section-title{
	font-size: 2.563rem;
    line-height: 2.5rem;
    font-weight: 700;
}

.hero-slider__content a{
	background-color: var(--color-primary);
    color: var(--color-text);
    padding: 12px 32px;
    border-radius: var(--border-radius);
    margin-top: 22px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    display: inline-flex;
	align-items: center;
    gap: 32px;
	cursor: pointer;
}

.hero-slider__content a:after{
	content: '';
	display: inline-block;
	-webkit-mask-image: url('../../icons/long-arrow-right.svg');
	mask-image: url('../../icons/long-arrow-right.svg');
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-size: contain;
	background-color: currentColor;
	width: 30px;
	height: 12px;
}

.hero-slider__content a:hover{
	background-color: var(--color-pink);
	color: var(--color-text);
}

/* SLIDER PAGINATION */
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev{
	position: absolute;
	top: var(--swiper-navigation-top-offset, 50%);
    right: 32px;
}

.hero-slider .swiper-button-prev{
    right: unset;
    left: 32px;
}

.hero-slider .swiper-horizontal>.swiper-pagination-bullets, 
.hero-slider .swiper-pagination-bullets.swiper-pagination-horizontal{
	position: absolute;
    width: 260px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    bottom: 5px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider .swiper-pagination:after,
.hero-slider .swiper-pagination:before{
    content: '';
	display: inline-block;
	-webkit-mask-image: url('../../icons/shape.svg');
	mask-image: url('../../icons/shape.svg');
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-size: contain;
	-webkit-mask-size: contain;
	background-color: #fff;
	width: 20px;
	height: 18px;
    position: absolute;
    bottom: -1px;
    right: -17px;
}

.hero-slider .swiper-pagination:before{
    -webkit-mask-image: url('../../icons/shape1.svg');
	mask-image: url('../../icons/shape1.svg');
    right: unset;
    left: -17px;
}

.hero-slider .swiper-button-prev:after,
.hero-slider .swiper-button-next:after{
	background-color: #fff;
}

.hero-slider .swiper-pagination-bullet{
	width: 12px;
    height: 12px;
	background-color: var(--color-text);
}

.hero-slider .swiper-pagination-bullet:after{
	width: 16px;
    height: 16px;
    border: 2px solid var(--color-text);
}

.hero-slider .swiper-pagination-bullet.swiper-pagination-bullet-active{
	width: 8px;
    height: 8px;
}

/* ICONS */
.wp-block-group__icons{
	padding: 80px;
    border-radius: var(--border-radius);
}

/* COLOR PICKER SECTION */
.wp-block-group__color-picker{
	position: relative;
}



.wp-block-group__color-picker .wc-block-grid{
	height: 100%;
}

.wp-block-group__color-picker .wc-block-grid .wc-block-grid__products{
	grid-template-columns: repeat(3, 1fr);
	height: 100%;
}

.wp-block-group__color-picker .wp-block-image img{
	object-fit: cover;
	width: 100% !important;
}

.wp-block-woocommerce-product-collection .section-title{
	margin: 0;
}

/* Buttons */
.wp-block-group__color-picker .wp-block-buttons{
	gap: 22px;
    margin-bottom: 22px;
}

.wp-block-group__color-picker .wp-block-button__link{
	background-color: #fff;
    border: 2px solid #A9A9A9;
}

.wp-block-group__color-picker .wp-block-button__link:hover,
.wp-block-group__color-picker .wp-block-button.active .wp-block-button__link{
	background-color: var(--color-text);
	color: #fff;
	border-color: var(--color-text);
}

/* Swatches */
.wp-block-group__color-swatches{
	margin-bottom: 38px;
}

.wp-block-group__color-swatches img{
	width: 46px;
	height: 46px;
	cursor: pointer;
}

.wp-block-group__color-swatches figure{
	padding: 4px;
    border: 2px solid transparent;
    border-radius: 50%;
}

.wp-block-group__color-swatches figure.active{
	border-color: var(--color-text);
}

/* Columns */
.wp-block-group__color-picker .wp-block-columns{
	display: none;
}

.wp-block-group__color-picker .wp-block-columns.active{
	display: flex;
}

/* PRODUCTS */
.wp-block-group__color-picker .wp-block-group:not(.wp-block-group__color-swatches),
.wp-block-group__color-picker .wp-block-woocommerce-product-collection {
	display: none;
    height: 100%;
}

.wp-block-group__color-picker .wp-block-group.active,
.wp-block-group__color-picker .wp-block-woocommerce-product-collection.active{
	display: flex;
}

.wp-block-group__color-picker .wp-block-group .wp-block-group__inner-container{
	max-width: 100%;
}

.wp-block-woocommerce-product-collection > .wp-block-group{
	margin-bottom: 32px;
	row-gap: 24px;
}

/* INSTRUCTIONS */
.wp-block-group__instructions .wp-block-column{
	margin-bottom: 100px;
}

.wp-block-group__instructions .wp-block-column > .wp-block-group{
	gap: 83px;
    position: relative;
    padding-inline: 50px;
	height: 100%;
}

.wp-block-group__instructions .wp-block-column > .wp-block-group:after{
	content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 180px;
    background-color: var(--color-background);
    border-radius: var(--border-radius);
    z-index: -1;
}

.wp-block-group__instructions .wp-block-column a{
	display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

/* CATEGORIES */
.wp-block-group__categories{
	column-gap: 16px;
    row-gap: 48px;
}

.wp-block-group__categories .wp-block-group{
	background-color: var(--color-text);
    border-radius: var(--border-radius);
    color: #fff;
	font-size: 2rem;
    font-weight: 700;
	position: relative;
}

.wp-block-group__categories .wp-block-group__inner-container{
	display: flex;
    flex-direction: column;
    align-items: center;
}

.wp-block-group__categories .wp-block-group figure{
	margin-top: -46px;
}

.wp-block-group__categories .wp-block-group a{
	position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
}

/* FAQ */
.wp-block-group__faq .wp-block-columns{
	gap: 154px;
}

.wp-block-group__faq .wp-block-column:first-child{
	max-width: 398px;
    padding: 25px;
    border-radius: var(--border-radius);
    background-color: var(--color-background-lighter);
	display: flex;
    flex-direction: column;
}

.wp-block-group__faq .see-more-button{
	margin-top: auto;
    margin-bottom: 0;
}

/* REVIEWS */
.wp-block-group__reviews{
	position: relative;
    padding-top: 56px;
}

.wp-block-group__reviews:after{
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--color-background-orange);
	height: 311px;
	width: 100vw;
	z-index: -1;
}

.wp-block-group__reviews .section-title{
	margin-bottom: 0;
}

.wp-block-group__reviews-stars{
	font-size: 3.438rem;
    line-height: 3.75rem;
    font-weight: 700;
}

.wp-block-group__reviews-stars strong{
	color: #FFA927;
}

.wp-block-group__reviews-stars figure{
	display: flex;
}

.wp-block-group__reviews-grid{
	padding-top: 78px;
}

.wp-block-group__reviews-grid:not(.swiper-initialized .wp-block-group__reviews-grid){
	gap: 34px;
}

.wp-block-group__reviews-grid > .wp-block-group{
	font-size: 1.25rem;
    line-height: 1.875rem;
    font-weight: normal;
	background-color: #fff;
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: 0px 0px 36px rgba(0, 0, 0, 0.05);
	height: 437px;
    overflow: hidden;
	position: relative;
}

.wp-block-group__reviews-grid > .wp-block-group:after{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
}

.wp-block-group__reviews-title{
	font-size: 1.5rem;
    font-weight: 600;
	margin-bottom: 36px;
}

.wp-block-group__reviews-title .wp-block-group{
	align-items: center;
    border: var(--border);
    padding: 10px 22px;
    border-radius: var(--border-radius);
    gap: 20px;
	flex-shrink: 0;
}

.wp-block-group__reviews-title figure{
	display: flex;
}

.wp-block-group__reviews-text{
	height: 305px;
    overflow: auto;
}

.wp-block-group__reviews-text p{
	margin-top: 0;
	padding-bottom: 40px;
}

/* REVIEWS SLIDER */
.reviews-slider .swiper-initialized .wp-block-group__reviews-grid{
	position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
	gap: 0;
}

.reviews-slider .swiper-initialized .wp-block-group__reviews-grid > .wp-block-group{
	flex-shrink: 0;
    width: 100%;
    position: relative;
    transition-property: transform;
    display: block;
}

/* REVIEWS SLIDER - NO JS */
.reviews-slider:not(.reviews-slider .swiper-initialized) .wp-block-group:nth-child(n+5){
	display: none;
}

/* UPCYCLING */
.wp-block-group__upcycling{
	position: relative;
}

.wp-block-group__upcycling:after{
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 413px;
	background-color: var(--color-text);
	z-index: -1;
}

.wp-block-group__upcycling:before{
	content: '';
	position: absolute;
	right: -15%;
    bottom: 185px;
	width: 315px;
	height: 307px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('/wp-content/uploads/2025/07/recycling.svg');
	z-index: 0;
}

.wp-block-group__upcycling .section-title{
	margin-top: 0;
}

.wp-block-group__upcycling p:not(.section-title){
	font-size: 1.25rem;
	line-height: 1.875rem;
	font-weight: normal;
}

.wp-block-group__upcycling .wp-block-columns{
	margin-bottom: 0;
	padding-bottom: 40px;
}

.wp-block-group__upcycling .wp-block-column:first-child img{
	border-radius: 46px;
}

.wp-block-group__upcycling .wp-block-column:last-child{
	display: flex;
    flex-direction: column;
}

.wp-block-group__upcycling .wp-block-column:last-child > .wp-block-group{
	margin-top: 60px;
    gap: 20px;
	max-width: 672px;
}

.wp-block-group__upcycling .wp-block-column:last-child > .wp-block-group .wp-block-group{
	border: 2px solid;
    border-radius: var(--border-radius);
    padding: 20px 20px 4px;
	background-color: var(--color-text);
	z-index: 1;
}

.wp-block-group__upcycling .wp-block-column:last-child > .wp-block-group .wp-block-group p{
	line-height: 1.375rem;
}

/* BLOG */
.wp-block-group__blog{
	position: relative;
	padding-top: 48px;
}

.wp-block-group__blog .section-title{
	margin-bottom: 0;
}

.wp-block-group__blog .wp-block-group__inner-container{
	position: relative;
	z-index: 1;
}

.wp-block-group__blog .wp-block-group__inner-container .wp-block-group{
	gap: 24px;
}

.wp-block-group__blog:after{
	content: '';
	position: absolute;
	top: -36px;
    left: -13%;
	width: 308px;
	height: 308px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('/wp-content/uploads/2025/07/blog-decoration.svg'); 
}

.wp-block-group__blog:before{
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 100%;
	background-color: var(--color-background-orange);
}

.wp-block-group__blog .posts{
	margin-top: 48px;
}

/* SEO TEXT */
.wp-block-group__seo-text .wp-block-columns{
	position: relative;
	max-height: 329px;
	overflow: hidden;
	transition: max-height var(--transition);
}

.wp-block-group__seo-text .wp-block-columns:after{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 150px;
	background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
}

.wp-block-group__seo-text .wp-block-columns.active{
	height: 100%;
}

.wp-block-group__seo-text .wp-block-columns.active:after{
	content: unset;
}

.wp-block-group__seo-text .see-more-button img{
	transition: var(--transition);
	margin-right: 8px;
}

.wp-block-group__seo-text .see-more-button.active img{
	transform: rotate(180deg);
}

.wp-block-group__seo-text .see-more-button a{
	position: relative;
	gap: 6px;
}

.wp-block-group__seo-text .see-more-button a:after{
	content: 'Więcej';
	font: inherit;
}

.wp-block-group__seo-text .see-more-button.active a:after{
	content: 'Mniej';
	font: inherit;
}

@media screen and (max-width: 1200px){
	.wp-block-group__instructions .wp-block-column > .wp-block-group{
		gap: 20px;
	}
	.wp-block-group__instructions .wp-block-column > .wp-block-group img{
		max-width: 150px;
		max-height: 150px;
	}
	.wp-block-group__instructions .wp-block-column .section-title{
		font-size: 2rem;
    	line-height: 2rem;
		margin-top: 0;
	}
}

@media screen and (max-width: 992px){
	.wp-block-group__upcycling .wp-block-columns{
		flex-direction: column;
	}
	.wp-block-group__blog:after{
		top: 70px;
	}
	.wp-block-group.wp-block-group__categories{
		display: flex;
		overflow-x: scroll;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		padding-top: 64px;
		margin-top: 0;
	}
	.wp-block-group__categories .wp-block-group{
		width: 300px;
		max-width: 100%;
		margin: 0;
		flex-shrink: 0;
		overflow: visible;
		scroll-snap-align: center;
	}
}

@media screen and (max-width: 992px) and (min-width: 782px){
	.wp-block-group__instructions .wp-block-column > .wp-block-group{
		flex-direction: column;
		gap: 0;
		padding-inline: 20px;
	}
}

@media screen and (max-width: 781px){
	.hero .swiper-slide img{
		filter: brightness(0.5);
	}
	.hero-slider__content-wrapper{
		padding-inline: 100px;
		justify-content: center;
	}
	.wp-block-group__color-picker .wp-block-buttons{
		column-gap: 12px;
    	row-gap: 0;
		display: flex;
		overflow-x: scroll;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		justify-content: flex-start;
	}
	.wp-block-group__color-picker .wp-block-button{
		width: 130px;
		max-width: 100%;
		margin: 0;
		flex-shrink: 0;
		overflow: visible;
		scroll-snap-align: center;
	}
	.wp-block-group__color-picker .wp-block-button__link{
		padding: 8px 16px;
        text-align: center;
        justify-content: center;
	}
	.wp-block-group__instructions .wp-block-column{
		margin: 0;
	}
	.wp-block-group__instructions .wp-block-column > .wp-block-group{
		padding-inline: 20px;
	}
	.wp-block-group__faq .wp-block-column:first-child{
		max-width: 100%;
	}
	.wp-block-group__faq .wp-block-columns{
		gap: 32px;
	}
	.wp-block-group__upcycling .wp-block-column:first-child img{
		max-height: 450px;
	}
	.wp-block-group__blog:after,
	.wp-block-group__upcycling:before,
	.wp-block-group__upcycling:after{
		content: unset;
	}
	.wp-block-group__upcycling .wp-block-column:last-child > .wp-block-group{
		max-width: unset;
		position: relative;
        padding-block: 40px;
	}
	.wp-block-group__upcycling .wp-block-column:last-child > .wp-block-group:after{
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 100vw;
		height: 100%;
		background-color: var(--color-text);
		z-index: -1;
	}
	.wp-block-group__upcycling .wp-block-columns{
		padding-bottom: 0;
	}
	.wp-block-group__color-picker .wp-block-image img,
	.wp-block-group__upcycling .wp-block-column:first-child img{
		width: 100% !important;
	}
	.wp-block-group__blog .posts{
		margin-top: 0;
	}
}

@media screen and (max-width: 480px){
	.hero-slider__content h1,
	.hero-slider__content h2,
	.hero-slider__content .section-title{
		margin-top: 0;
	}
	.hero .swiper-slide img{
		max-height: 550px;
	}
	.hero-slider__content-wrapper{
		padding-inline: 20px;
	}
	.wp-block-group__icons{
		padding: 24px 40px 40px;
	}
	.wp-block-group__instructions .wp-block-columns{
		margin: 0;
	}
	.wp-block-group__instructions .wp-block-column > .wp-block-group{
		flex-direction: column;
        gap: 0;
        align-items: flex-start;
	}
	.wp-block-group__instructions .wp-block-column > .wp-block-group img{
		max-width: 120px;
	}
	.wp-block-group__instructions .wp-block-column > .wp-block-group:after{
		bottom: 0;
		height: 100%;
	}
	.wp-block-group__blog:after{
		display: none;
	}
	.wp-block-group__blog .wp-block-group{
		flex-direction: column;
		align-items: flex-start;
		padding-bottom: 32px;
		gap: 0;
	}
	.wp-block-group__reviews-grid{
		padding-top: 40px;
	}
	.wp-block-group .wc-block-grid.has-5-columns .wc-block-grid__products,
	.wp-block-group .wc-block-grid.has-3-columns .wc-block-grid__products{
		display: flex;
	}
	.wc-block-grid__products .woocommerce-Price-amount{
		font-size: 2rem;
    	line-height: 2.2rem;
	}
	.wc-block-grid__products .price-decimal{
		font-size: 1.2rem;
	}
}
/* WildWoof trust icons */
.home .wp-block-group__icons .is-layout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 32px 20px; }
.home .wp-block-group__icons .ww-trust-item { margin: 0; text-align: center; }
.home .ww-trust-item img { display: block; width: 88px; height: 88px; margin: 0 auto 16px; }
.home .ww-trust-item figcaption { color: var(--color-text); font-family: var(--font-family-text); font-size: 18px; font-weight: 600; line-height: 1.35; }
@media (max-width: 767px) {
 .home .wp-block-group__icons .is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 16px; }
 .home .ww-trust-item img { width: 72px; height: 72px; margin-bottom: 12px; }
 .home .ww-trust-item figcaption { font-size: 16px; }
}
