/*!
Theme Name:		Piotr Bytner Studio
Author: 		Piotr Bytner Studio
Author URI: 	https://bytner.studio
Description:	Dobra grafika, ładne życie. piotr@bytner.studio
Version: 		1.2
License:		GNU General Public License v3 or later
License URI:	https://www.gnu.org/licenses/gpl-3.0.html
Tags: 			
Template:		page-builder-framework
Text Domain:	page-builder-framework-child
*/

/* Colors Example
.has-black-color {
    color: #000000;
}

.has-black-background-color {
    background-color: #000000;
} 
*/

/* 
.current-menu-item {
	display: none;
}
*/

html, body {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

.wpbf-remove-font-size h1 {
	display: none;
}

a:hover span, a:focus span {
	text-decoration-line: underline;
}

.animate__delay-1s {
	animation-delay: .1s;
}

.animate__delay-2s {
	animation-delay: .2s;
}

.animate__delay-3s {
	animation-delay: .1s;
}

.animate__delay-4s {
	animation-delay: .4s;
}

.animate__delay-5s {
	animation-delay: .1s;
}

.animate__delay-6s {
	animation-delay: .6s;
}

.wp-block-buttons .wp-block-button__link.wp-element-button:hover,
.wp-block-buttons .wp-block-button__link.wp-element-button:focus,
.wp-block-buttons .wp-block-button__link.has-wpbf-palette-color-2-color:hover,
.wp-block-buttons .wp-block-button__link.has-wpbf-palette-color-2-color:focus,
.wp-block-read-more.has-wpbf-palette-color-2-color:hover,
.wp-block-read-more.has-wpbf-palette-color-2-color:focus {
	border-color: var(--wp--preset--color--wpbf-palette-color-4) !important;
	color: var(--wp--preset--color--wpbf-palette-color-3) !important;
	background-color: var(--wp--preset--color--wpbf-palette-color-4) !important;
}

.vector-bg {
	background: url(https://formplastic.pl/wp-content/uploads/2025/07/Vector-bg.svg);
	background-position: center right;
	background-size: contain;
	background-repeat: no-repeat;
}

.wp-block-columns .ff-el-form-check.ff-el-tc {
	font-size: 9px;
}

.wp-block-columns .ff-default .ff_btn_style,
.wp-block-columns .ff-default .ff-el-form-control {
	font-size: 12px;
}

.wp-block-columns .ff-default .ff-el-form-control {
	border-radius: 25px;
}

.wp-block-columns .ff-default .ff-el-form-control:focus {
	border-color: var(--wp--preset--color--wpbf-palette-color-3);
}

.vector-left {
	background: url(https://formplastic.pl/wp-content/uploads/2025/07/Vector-left.svg);
	background-position: -30px bottom !important;
	background-size: contain !important;
	background-repeat: no-repeat;
}

.navigation.pagination {
	text-align: center;
}

.nav-links {
    display: inline-block;
    position: relative;
    width: auto;
    border: 1px solid var(--wp--preset--color--wpbf-palette-color-6);
}

.wp-block-getwid-section .wp-block-getwid-section__background-slider-item img {
    object-fit: contain;
    object-position: bottom;
}

.wpbf-mega-menu>.sub-menu a[href="#"],
.wpbf-mobile-mega-menu .sub-menu a[href="#"] {
	display: none !important;
}

.wpbf-navigation .wpbf-menu .sub-menu a {
    border-bottom: 1px solid var(--wp--preset--color--wpbf-palette-color-6);
}

.wpbf-mega-menu>.sub-menu>.menu-item {
    padding: 5px 10px 0 20px;
}

.wpbf-mega-menu>.sub-menu {
	margin-top: 20px !important;
}

.wpbf-navigation .wpbf-menu .nav-image a {
	border: 0;
	margin: 0;
}

.wp-block-getwid-counter__number {
	font-size: 3.5em;
}

.wp-block-getwid-counter__wrapper > * {
    display: inline;
    font-size: 3.5em;
	padding-right: 10px;
}

.timeline .wp-block-column hr:nth-of-type(2) {
	transform: rotate(90deg);
	transform-origin: left top;
	margin: 0;
}

.timeline .wp-block-column:nth-child(2) hr:nth-of-type(2) { width: 50px; }
.timeline .wp-block-column:nth-child(3) hr:nth-of-type(2) { width: 100px; }
.timeline .wp-block-column:nth-child(4) hr:nth-of-type(2) { width: 150px; }
.timeline .wp-block-column:nth-child(5) hr:nth-of-type(2) { width: 200px; }

.timeline .wp-block-column hr:nth-of-type(2)::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--wp--preset--color--wpbf-palette-color-3);
  border-radius: 50%;
  transform: translateY(-3px) rotate(-90deg); /* dopasuj pionowość po obrocie */
}

.timeline .wp-block-column:first-child hr:only-of-type::before {
  content: '';
  position: absolute;
  left: 0;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;  
  background: var(--wp--preset--color--wpbf-palette-color-3);
  border-radius: 50%;
}

/* Kulka na końcu ostatniego hr w ostatniej kolumnie */
.timeline .wp-block-column:last-child hr:only-of-type::after {
  content: '';
  position: absolute;
  right: 0;
  transform: translate(50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--wp--preset--color--wpbf-palette-color-3);
  border-radius: 50%;
}

.catalogs h3 {
	margin-bottom: 5px;
}

.catalogs .wp-block-cover__image-background {
  filter: none;
  transition: filter 0.3s ease;
}

/* Duoton na hoverze */
.catalogs .wp-block-group:hover img,
.catalogs .wp-block-cover:hover .wp-block-cover__image-background,
.wp-block-getwid-template-post-featured-image:hover .wp-post-image{
	filter: url(#wp-duotone-00793e-b0ee5e-2) !important;
}


.catalogs .wp-block-cover .wp-block-cover__image-background {
	padding-bottom: 150px;
}

/*
.wpbf-woo-loop-thumbnail-wrapper::before,
.wc-block-components-product-image::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url(https://formplastic.pl/wp-content/uploads/2025/07/vector-product.svg);
  mix-blend-mode: darken;
  pointer-events: none;
	background-position: center right;
    background-size: contain;
    background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
} */

.wp-block-getwid-banner__wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url(https://formplastic.pl/wp-content/uploads/2025/10/Vector-3.svg);
  pointer-events: none;
	background-position: center left;
    background-size: contain;
    background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
	z-index: 2;
}

.wp-block-getwid-banner__caption::after {
	content: "➔";
	position: absolute;
    position: absolute;
    right: 20px;
    font-size: 2em;
    top: bottom;
	opacity: 0;
    transform: translateY(-0%) rotate(-45deg);
	transition: opacity 0.3s ease;
}


/* Pokaż overlay na hover */
/*.wpbf-woo-loop-thumbnail-wrapper:hover::before, 
.wc-block-components-product-image:hover::before, */
.wp-block-getwid-banner__wrapper:hover::before,
.wp-block-getwid-banner__wrapper:hover .wp-block-getwid-banner__caption::after {
  opacity: 1;
}

.wp-block-getwid-template-post-featured-image:hover,
.wpbf-woo-loop-thumbnail-wrapper:hover, 
.wc-block-components-product-image:hover {
	/* border: 2px solid var(--wp--preset--color--wpbf-palette-color-4); */
	  transform: scale(1.1); 
	  transition: transform 0.3s ease;
}

.wp-block-getwid-banner__caption {
	z-index: 5;
}

.wp-block-getwid-banner {
	border-radius: 15px;
}

.kolekcje h2 a:hover,
.wp-block-getwid-content-slider-slide h2 a:hover,
.wp-block-getwid-content-slider.has-dots-inside .slick-dots li button:hover:before, 
#footer a:hover,
#footer a:focus {
	color: var(--wp--preset--color--wpbf-palette-color-4);
}

.slick-list .wp-block-getwid-section__foreground {
	background-position: -270px center !important;
}

.home .wp-block-getwid-content-slider.has-dots-inside .slick-dots{
	top: 35px;
	height: 30px;
    left: -28vw;
    right: auto;
}

.home .wp-block-getwid-content-slider.has-dots-inside .slick-dots li,
.home .wp-block-getwid-content-slider.has-dots-inside .slick-dots li button {
	width: 50px;
}

.home .wp-block-getwid-content-slider.has-dots-inside .slick-dots li button::before {
	content: "";
	width: 50px;
	border-bottom: 3px solid; 
}

.slick-list .vector-left {
		background-size: cover;
}

.wpbf-product-content .alignfull {
	gap: 0;
}

.wpbf-product-content .vector-left {
	background-size: cover;
}

.product-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px; /* odstęp między etykietami */
    z-index: 10;
}

.product-labels span {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    color: #fff;
    line-height: 1;
	text-align: center;
}

.nowosc-label {
	background-color: var(--wp--preset--color--wpbf-palette-color-4);
}

.nowy-kolor-label {
	background-color: var(--wp--preset--color--wpbf-palette-color-3);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    position: relative;
}

/* Smartphones (max-width 600px) */
@media screen and (max-width: 600px) {
	.reset_mobile_padding {
		padding: 30px !important;
	}

	.wp-block-getwid-content-slider-slide .wp-block-column {
		border-radius: 0 !important;
	}
}


/* Others */
@media screen and (min-width: 601px) {
	.wp-block-getwid-section .wp-block-getwid-section__background-slider-item img {
		object-position: right;
	}
	
	.wp-block-column.adjust-column {
		display: flex;
		flex-direction: column;
		justify-content: center;
		z-index: 1;
		transform: translateX(30px);
	}

	.slick-list .vector-left {
		background-position: -300px center;
	}
	
	.home  .wp-block-getwid-content-slider.has-dots-inside.header-slider .slick-dots{
		top: 20px;
		left: -33vw;
	}
	
	.home .wp-block-getwid-content-slider.has-dots-inside.slider-marki .slick-dots {
		top: 20px;
		text-align: left;
		margin-left: 30px;
		left: auto;
	}

}

.hide-for-pdf {
  display: none !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item {
	border-radius: 999px;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    min-width: 30px;
	width: auto;
}

.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item-span-button {
	padding: 0 10px;
	overflow: visible !important;
}




.product-cat a {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px; 
    background-color: var(--wp--preset--color--wpbf-palette-color-6);
    color: var(--wp--preset--color--wpbf-palette-color-3); 
    text-decoration: none;
    font-size: 12px;
	margin-bottom: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sections-menu a {
	text-decoration: none;
	padding: 5px 15px;
	border: 2px solid var(--wp--preset--color--wpbf-palette-color-3);
	border-radius: 50px;
}

.product-brands .brand-oval {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 8px;
    border-radius: 50px;
	margin-bottom: 20px;
	border: 2px solid var(--wp--preset--color--wpbf-palette-color-6);
    color: var(--wp--preset--color--wpbf-palette-color-3);
    text-decoration: none;
    font-size: 14px;
}

.sections-menu a:hover,
.product-cat a:hover, 
.brand-oval:hover,
.katalogi  ._3d-flip-book:hover {
	border-color: var(--wp--preset--color--wpbf-palette-color-4);
    background-color: var(--wp--preset--color--wpbf-palette-color-4);
    color: var(--wp--preset--color--wpbf-palette-color-3);
}

.sku_wrapper {
	font-size: 13px;
	margin-bottom: 20px;
}

.product_title {
	margin-bottom: 0;
}

.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:not(.radio-variable-item) {
	border: 2px solid var(--wp--preset--color--wpbf-palette-color-6);
	box-shadow: none
}

.woo-variation-swatches .wvs-style-rounded.variable-items-wrapper .variable-item:hover {
	border-color: var(--wp--preset--color--wpbf-palette-color-4);
}

.woo-variation-swatches .variable-items-wrapper .variable-item.selected:not(.no-stock)  {
	border-color: var(--wp--preset--color--wpbf-palette-color-3);
}

.woocommerce-sections-content,
.woocommerce-sections-nav {
	margin-bottom: 20px;
	clear: both;
}

.sections-menu {
	list-style: none;
	padding: 0;
	display: flex;
	gap: 15px;
}

.sections-menu li {
	display: inline-block;
}


.product-section {
	margin-bottom: 20px;
	padding: 0;
	border: 0;
}

.product-section h2 {
	margin-bottom: 15px;
}

.product-section-heading {
	font-size: 16px;
	font-weight: normal;
	padding: 10px 20px;
	background-color: var(--wp--preset--color--wpbf-palette-color-6);
}

.wc-block-product-categories-list-item > a.active {
    font-weight: bold;
}

.wpbf-sidebar-wrapper {
	z-index: 1;
}

.variations_form .reset_variations {
    display: none !important;
}

.woocommerce table.shop_attributes {
    font-size: 12px;
	text-align: center;
}

.woocommerce table.shop_attributes th {
	text-align: center;
}

.woocommerce-product-attributes-item__label img {
	display: block;
	margin: auto;
	height: 20px;
}

.woocommerce-product-attributes-item:nth-of-type(odd) {
  background-color: var(--wp--preset--color--wpbf-palette-color-6);
}

.wc-block-product-filter-chips__items .wc-block-product-filter-chips__item:hover {
    background-color: var(--wp--preset--color--wpbf-palette-color-4);
}

/* Kontener suwaka + inputy */
.dimension-filter-group {
    margin-bottom: 20px;
}

.dimension-filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}


/* Inputy obok suwaka */
.dimension-filter-group input[type="number"] {
    width: 70px;
	font-size: 12px;
}

.dimension-filter-group input[type="number"]:nth-of-type(2) {
    float: right;
}

/* Zmiana koloru zaznaczonego zakresu */
.noUi-connect {
    background: var(--wp--preset--color--wpbf-palette-color-4);
}

/* Odstępy między suwakami */

#dimension-filter {
	padding-right: 100px;
}

#dimension-filter button[type="submit"] {
    margin-top: 15px;
    width: 100%;
	background-color: transparent;
	border-radius: 25px;
	border: 2px solid var(--wp--preset--color--wpbf-palette-color-3);
}

.woocommerce .woocommerce-result-count {
    margin: 10px 0 20px;
}

.wp-block-buttons .wp-block-button__link.has-wpbf-palette-color-3-background-color:hover {
	background-color: var(--wp--preset--color--wpbf-palette-color-2) !important;
}

.wpbf-praca .wp-block-getwid-custom-post-type__wrapper > .wp-block-getwid-custom-post-type__post .wp-block-group {
	background-color: var(--wp--preset--color--wpbf-palette-color-4);
	color: var(--wp--preset--color--wpbf-palette-color-3);
}
.wpbf-praca .wp-block-getwid-custom-post-type__wrapper > .wp-block-getwid-custom-post-type__post:nth-child(2) .wp-block-group,
.wpbf-praca .wp-block-getwid-custom-post-type__wrapper > .wp-block-getwid-custom-post-type__post:nth-child(3) .wp-block-group {
	background-color: var(--wp--preset--color--wpbf-palette-color-3);
	color: var(--wp--preset--color--wpbf-palette-color-4);
}

.wpbf-praca .taxonomy-dzial_oferty a {
	color: var(--wp--preset--color--wpbf-palette-color-3);
}

.wpbf-praca .taxonomy-dzial_oferty,
.wpbf-praca .wp-block-read-more {
	color: var(--wp--preset--color--wpbf-palette-color-3);
	background-color: var(--wp--preset--color--wpbf-palette-color-4);
	border-color: var(--wp--preset--color--wpbf-palette-color-3);
}

.wpbf-praca .wp-block-getwid-custom-post-type__wrapper > .wp-block-getwid-custom-post-type__post:nth-child(2) h3 a,
.wpbf-praca .wp-block-getwid-custom-post-type__wrapper > .wp-block-getwid-custom-post-type__post:nth-child(3) h3 a {
	color: var(--wp--preset--color--wpbf-palette-color-4);
}

.wpbf-praca .taxonomy-dzial_oferty a:hover ,
.wpbf-praca .wp-block-getwid-custom-post-type__wrapper > .wp-block-getwid-custom-post-type__post h3 a:hover {
	color: var(--wp--preset--color--wpbf-palette-color-2);
}

.wpbf-praca .taxonomy-dzial_oferty:hover,
.wpbf-praca .taxonomy-dzial_oferty:hover a,
.wpbf-praca .wp-block-read-more:hover {
	color: var(--wp--preset--color--wpbf-palette-color-2);
	background-color: var(--wp--preset--color--wpbf-palette-color-3);
	border-color: var(--wp--preset--color--wpbf-palette-color-3);
}

.wpbf-praca .wp-block-getwid-custom-post-type__wrapper > .wp-block-getwid-custom-post-type__post:nth-child(2) .taxonomy-dzial_oferty:hover,
.wpbf-praca .wp-block-getwid-custom-post-type__wrapper > .wp-block-getwid-custom-post-type__post:nth-child(2) .wp-block-read-more:hover, 
.wpbf-praca .wp-block-getwid-custom-post-type__wrapper > .wp-block-getwid-custom-post-type__post:nth-child(3) .taxonomy-dzial_oferty:hover,
.wpbf-praca .wp-block-getwid-custom-post-type__wrapper > .wp-block-getwid-custom-post-type__post:nth-child(3) .wp-block-read-more:hover {
	border-color: var(--wp--preset--color--wpbf-palette-color-2);
}

.wpbf-o-firmie .slick-slide:not(.slick-current)  {
  padding-bottom: 100px;
}

.wpbf-o-firmie #timeline .wp-block-image {
	margin-left: -25%;
}

.wpbf-menu-search .search-field,
.woocommerce .wp-block-search__input,
.woocommerce .wp-block-search__button, 
.woocommerce .page-numbers span {
	border-radius: 25px;
	border: 2px solid var(--wp--preset--color--wpbf-palette-color-3);
	font-size: 14px;
	padding: 10px 10px;
}

.navigation.pagination .page-numbers,
.woocommerce .page-numbers a {
	border-radius: 25px;
	border: 2px solid var(--wp--preset--color--wpbf-palette-color-3);
}

.navigation.pagination .page-numbers:hover,
.woocommerce .wp-block-search__button:hover,
#dimension-filter button:hover,
.woocommerce .page-numbers a:hover {
	background-color: var(--wp--preset--color--wpbf-palette-color-4);
	color: var(--wp--preset--color--wpbf-palette-color-2);
	border-radius: 25px;
	border: 2px solid var(--wp--preset--color--wpbf-palette-color-4);
}

.navigation.pagination .nav-links {
	border: none;
}

/* --- Domyślnie na desktopie pokazujemy wszystko --- */
#cat-nav .wc-block-product-categories {
  display: block;
}

.mobile-cat-overlay {
	display: none;
}

/* --- Na telefonie chowamy listę --- */
@media (max-width: 768px) {
	.wp-block-group.colors {
		align-items: stretch;
	}
	
	.wpbf-navigation {
		z-index: 1;
	}
	
  #cat-nav .wc-block-product-categories {
    display: none;
  }
	
	#cat-nav .wp-block-group {
		align-items: stretch
	}

  /* Stylizacja nagłówka jako klikany link */
  #cat-nav .wp-block-heading {
    cursor: pointer;
	  font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
	
	.wp-block-woocommerce-product-filters .wc-block-product-filters__open-overlay{
		font-size: 36px;
		flex-direction: row-reverse;
	}

	
	.wp-block-woocommerce-product-filters .wc-block-product-filters__open-overlay span {
		font-weight: 700;
		text-align: left;
		padding: 0;
	}

  #cat-nav .wp-block-heading::after {
    content: "▾";
    font-size: 1.2em;
    transition: transform 0.2s ease;
  }

  #cat-nav.open .wp-block-heading::after {
    transform: rotate(180deg);
  }

  /* Pełnoekranowy overlay (na mobile) */
  .mobile-cat-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    display: none;
    padding: 2rem;
  }

  .mobile-cat-overlay.active {
    display: block;
  }

  .mobile-cat-overlay .close-overlay {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
  }
}

.pswp__bg {
	background-color: #fff;
}

.pswp  button.pswp__button {
	background-color: var(--wp--preset--color--wpbf-palette-color-4) !important;
}

.pagination .page-numbers,
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    padding: 0 15px;
    height: 40px;
    line-height: 37px;
}

.colors .wc-block-product-filter-chips__items {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.wc-block-product-filter-chips__show-more {
	font-size: .8em;
}

.wp-block-getwid-content-slider-slide__wrapper .wp-block-image>a, .wp-block-image>figure>a {
    display: inline;
}

.vector-overlay-left img {
	max-height: 50vh;
	width: 100%;
}

.home-slider img {
	width: 100%;
}

@media (min-width: 1900px) {
	.home-slider .vector-left
	.vector-overlay-left .vector-left {
		padding-left: 15rem !important;
	}
	
	.home-slider h2,
	.vector-overlay-left h2,
	.wpbf-custom-section-katalogi h2 {
		font-size: 48px;
	}
}

.wpbf-katalogi h3 a {
	color: var(--wp--preset--color--wpbf-palette-color-2);
}

.wpbf-katalogi h3 a:hover {
	color: var(--wp--preset--color--wpbf-palette-color-4);
}

.katalogi .wp-block-image {
	margin-bottom: 0;
}

.katalogi  ._3d-flip-book {
	margin-top: 10px;
	width: fit-content;
    display: block;
    border-radius: 9999px;
    max-width: 100%;
    background: transparent none;
    border-color: currentColor;
    border-width: 2px;
    border-style: solid;
    padding-top: var(--wp--preset--spacing--20);
    padding-right: var(--wp--preset--spacing--60);
    padding-bottom: var(--wp--preset--spacing--20);
    padding-left: var(--wp--preset--spacing--60);
}

.wp-block-buttons .wp-block-button__link {
	background-color: transparent;
}

.color-variable-item.new-color::after {
    content: "NEW";
    position: absolute;
    top: -20px;
    background: var(--wp--preset--color--wpbf-palette-color-3);
    color: #fff;
    padding: 2px 5px;
    font-size: 9px;
    border-radius: 3px;
    font-weight: bold;
}

.not-clickable {
	pointer-events: none;
}