/*!
Theme Name:		Piotr Bytner Studio Extension
Author: 		Łukasz Wiczarski
Description:	Rozszerzenie motywu Piotr Bytner Studio
Version: 		1.0
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,
a:hover,
a:focus {
  text-decoration-line: underline;
}

.parallax .wp-block-getwid-section__foreground {
  background-size: 85% !important;
}

.wpbf-custom-section-footer .parallax .wp-block-getwid-section__foreground {
  background-size: 15% !important;
}

h2 {
  font-weight: 400;
}

.wpbf-navigation .wpbf-menu > .menu-item > a {
  padding-left: 60px;
  padding-right: 60px;
}

.wpbf-navigation .wpbf-menu .has-text-color a {
  color: inherit;
}

.wp-block-media-text,
.wp-block-media-text__media {
  position: relative;
}

.wp-block-media-text__media a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #e5e5e5 0%, rgba(231, 232, 234, 0) 12%);
}

.wp-block-media-text,
.wp-block-media-text img {
  border-radius: 15px;
}

.wp-block-media-text:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 0 1px var(--wp--preset--color--wpbf-palette-color-4); /* cień jako ramka */
}

sub,
sup {
  font-size: 50%;
  opacity: 0.3;
  padding-right: 10px;
}

@font-face {
  font-family: "editor";
  src: url("https://lavendamed.pl/wp-content/uploads/2024/12/font.woff2")
      format("woff2"),
    url("https://lavendamed.pl/wp-content/uploads/2024/12/font.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
}

h3 {
  font-family: "editor";
  font-size: 18px;
}

a.has-wpbf-palette-color-5-background-color:hover,
a.has-wpbf-palette-color-5-background-color:focus {
  border-color: var(--wp--preset--color--wpbf-palette-color-4) !important;
  background: var(--wp--preset--color--wpbf-palette-color-4) !important;
  color: var(--wp--preset--color--wpbf-palette-color-2) !important;
}

a.has-wpbf-palette-color-2-background-color:hover,
a.has-wpbf-palette-color-2-background-color:focus {
  border-color: var(--wp--preset--color--wpbf-palette-color-3) !important;
  background: var(--wp--preset--color--wpbf-palette-color-3) !important;
  color: var(--wp--preset--color--wpbf-palette-color-2) !important;
}

.contain-movie video {
  object-fit: cover;
  object-position: 75%;
}

.wp-block-getwid-counter__wrapper {
  font-size: 3em;
  color: #fff;
}

.wp-block-getwid-counter__wrapper * {
  display: inline;
  font-size: 1.5em;
}

.wp-block-getwid-counter__suffix {
  padding: 0 20px;
}

h2 s {
  text-decoration: none;
  font-family: neue-haas-unica;
}

.app-flo-forms .form-group input {
  border-radius: 99px;
  padding-left: 20px;
  font-size: 12px;
}

.app-flo-forms .form-preview .form-group {
  margin-bottom: 10px;
}

.app-flo-forms .field-checklist {
  color: #fff !important;
}

.app-flo-forms
  .vue-form-generator:not(.ff-pro)
  .field-submit
  input[type="submit"] {
  width: 100%;
  font-weight: 400;
}

.wp-block-getwid-toggle
  .wp-block-getwid-toggle__header
  a:not(:hover):not(:focus) {
  color: #000;
}

.wp-block-getwid-section__content
  .wp-block-getwid-toggle
  .wp-block-getwid-toggle__header-wrapper {
  border: 0;
}

.wp-block-getwid-toggle__row {
  border-bottom: 2px solid #000;
}

.wp-block-getwid-toggle__row.is-active {
  border-bottom: 2px solid var(--wp--preset--color--wpbf-palette-color-4);
}

.wp-block-getwid-toggle__icon.is-passive {
  color: var(--wp--preset--color--wpbf-palette-color-4);
}

.fa-plus:before {
  content: "+";
  font-size: 1.5em;
  font-weight: 400;
}

.fa-minus:before {
  content: "−";
  font-size: 1.5em;
  font-weight: 400;
}

.wp-block-getwid-toggle__content {
  border: 0;
}

.editors {
  font-family: EditorsNoteRegular;
}

.wp-block-getwid-content-slider .slick-dots {
  bottom: -25px;
}

.wp-block-group.oferta {
  gap: 2px;
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: stretch;
}

@media only screen and (min-width: 768px) {
  /* Stylizacja dla urządzeń większych niż telefon */
  /* .wp-block-media-text::after {
		content: '>'; 
		position: absolute;
		right: 20px;
		top: 45%;
		transform: translateY(-55%);
		font-size: 32px;
		color: #000; 
		pointer-events: none; 
	} */

  body:not(.wpbf-cennik) .wp-block-getwid-toggle__content {
    margin-left: 10vw;
    margin-right: 10vw;
  }

  .pc-margin-both {
    margin-left: 12vw;
    margin-right: 12vw;
  }

  .wpbf-mega-menu-4 .sub-menu {
    display: flex;
    height: calc(33vh + 60px);
    flex-wrap: wrap;
    align-content: space-around;
    line-height: 1.2;
    padding: 20px;
  }

  .wpbf-sub-menu
    > .menu-item-has-children.wpbf-mega-menu-full-width
    > .sub-menu {
    position: fixed;
  }

  .wpbf-mega-menu-4 .sub-menu::before {
    display: none;
  }

  .wpbf-mega-menu.wpbf-mega-menu-6 > .sub-menu > .menu-item {
    width: 14%;
  }

  h3 {
    font-size: 30px;
  }

  .wp-block-getwid-counter__wrapper * {
    font-size: 2em;
  }

  .contain-movie video {
    object-fit: contain;
    object-position: 75%;
  }
}

@media only screen and (max-width: 767px) {
  /* Stylizacja dla telefonów */
  .wp-block-media-text__media {
    display: none;
  }

  .wp-block-table {
    font-size: 12px;
  }

  .wp-block-getwid-toggle__content {
    padding: 0;
  }

  .mobile-bottom .wp-block-getwid-section__wrapper {
    align-items: flex-end;
  }

  .mobile-no-bg .wp-block-getwid-section__background {
    background-image: none !important;
  }

  .mobile-smaller-font h2 {
    font-size: 2em;
  }

  .wp-block-getwid-content-slider-slide__wrapper .wp-block-group {
    gap: 6px;
  }

  .wp-block-navigation__container {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .wpbf-mobile-menu .menu-item-has-children .wpbf-submenu-toggle {
    width: 100%;
    text-align: right;
  }

  .wpbf-custom-section-footer .is-layout-flow > .alignright {
    float: left;
    margin-inline-start: 0;
  }
}

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

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

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

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

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

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

a:hover .has-wpbf-palette-color-4-color,
a:focus .has-wpbf-palette-color-4-color {
  color: var(--wp--preset--color--wpbf-palette-color-3) !important;
}

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

.wp-block-table table {
  border: 0;
}

.wp-block-table td,
.wp-block-table th {
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.wpbf-regulamin .is-vertical {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.wpbf-logo {
  transition: transform 0.3s ease-in-out;
}

.wpbf-logo:hover {
  transform: scale(1.15);
}



/* LW - own styles */

  nav ul li a {
	min-width: 0;
	position: relative;
	padding-left: 30px !important;
	padding-right: 30px !important;
  }

  nav ul li i {
	font-size: 18px;
	color: black;
  }

  nav ul li a .wpbf-woo-menu-item-count{
	flex: none;
	margin: 0px !important;
	text-decoration: none !important;
    position: absolute;
	display: block;
    top: 10px;
    right: 8px;
	background-color: var(--accent-color-alt) !important;
	color: white;
  }

	
 
@media (max-width: 1025px) {
	
  .wpbf-mobile-logo-container {
    display: flex !important;
    flex-direction: row !important;
/*     align-items: center; */
    justify-content: space-between;
  }
	
  .wpbf-menu-toggle-container {
    display: flex !important;
	width: auto;
  }

  .wpbf-menu-toggle-container .wpbf-mobile-nav-item {
	list-style: none;
    order: 1;
  }

  .wpbf-menu-toggle-container button {
    margin-right: 8px;
	padding: 4px;
    order: 2;
  }
	
  .wpbf-menu-toggle-container ul li a {
	display:flex;
	position: relative;
	font-size: 22px !important;
	margin-right: 20px;
	padding: 4px;
  }
	
  .wpbf-menu-toggle-container ul li a .wpbf-woo-menu-item-count{
    position: absolute;
    bottom: -10px;
    right: -10px;
    background-color: var(--accent-color-alt) !important;
	color: white;
	padding: 2px 6px !important;
  }
	
  .wpbf-menu-toggle-container ul li a .wpbf-woo-menu-item-label{
	display: none;
  }
}

/*
/////////////////////////////
Dodatkowe ustawienia
/////////////////////////////
*/

/* Ukryj przycisk Furgonetka na stronach pojedynczych produktów 
.single-product .furgonetka-button-wrapper {
    display: none !important;
}*/

/* Upewnij się, że przycisk jest widoczny w koszyku (na wszelki wypadek) */
.woocommerce-cart .furgonetka-button-wrapper {
    display: block !important;
}

/* Ukrywa nagłówek dodatkowych pól formularza zamówienia" */
.wc-block-components-checkout-step__heading {
    display: none !important;
}


.wc-block-checkout__additional-fields__field .wc-block-components-checkbox {
    margin: 0px !important;
}

/* Styl dla przycisku "ZMÓW" z sub-menu koszyka */
.wpbf-woo-sub-menu-button-wrap a:hover {
  color: var(--accent-color) !important;
}

.wpbf-woo-sub-menu-button-wrap .wpbf-button-primary:hover {
  background-color: var(--accent-color) !important;
  color: var(--base-color-alt) !important;

}

/* Treść strony zajmuje większość wysokości okna */

#content {
  margin-top: 5vh;
  min-height: 70vh;
}

/* Treść strony regulaminu */

.regulamin-link {
 	text-decoration: none;
 	font-family: "editor";
}

.availability-badge {
    color: #000;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
}

.availability-badge--local {
    background: #fff4c4;
    border: 1px solid #c9a300;
}

.availability-badge--link {
	background: #d6f5d6;
	border: 1px solid #3aa64a;
}

.woocommerce-loop-category__title {
	margin-top: 15px;
    font-size: 22px !important;
}

main {
	margin-bottom: 150px;
}

.wpbf-custom-section-footer a {
	color: white;
}

.wpbf-custom-section-footer a:hover {
	color: var(--accent-color-alt) !important;
}

.wpbf-woo-menu-item-count {
    visibility: hidden;
}

.wpbf-sidebar-wrapper {
    width: 30%;
    overflow-y: auto; /* żeby można było przewijać, jeśli treści więcej */
}

.wpbf-sidebar {
    .widget_block {
        padding: 30px;
        min-height: 60vh;
    }
}


@media only screen and (max-width: 767px) {
    .wpbf-sidebar-wrapper {
        width: 100%;
        overflow-y: auto;
    }
    
    .wpbf-sidebar {
    	.widget_block {
        	padding: 7% 10%;
        	min-height: unset;
        }
    }
}

.wp-block-button__link {
	display: inline;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    content: "";
    font-size: 30px;
    background-color: var(--accent-color) !important;

    -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJpY29uIGljb24tdGFibGVyIGljb25zLXRhYmxlci1vdXRsaW5lIGljb24tdGFibGVyLXNob3BwaW5nLWNhcnQtcGx1cyI+PHBhdGggc3Ryb2tlPSJub25lIiBkPSJNMSAwSDI0djI0SDB6IiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTQgMTlhMiAyIDAgMSAwIDQgMGEyIDIgMCAwIDAtNCAwIi8+PHBhdGggZD0iTTEyLjUgMTdoLTYuNXYtMTRoLTIiLz48cGF0aCBkPSJNNiA1bDE0IDFsLS44NiA2LjAxN20tMi42NCAuOThIMTIuNSIvPjxwYXRoIGQ9Ik0xNiAxOWg2Ii8+PHBhdGggZD0iTTE5IDE2djYiLz48L3N2Zz4=") !important;

}

.wc-block-cart__empty-cart__title {
	background: var(--base-color-alt) !important;
    padding: 24px 0px;
    cursor: pointer;
	font-size: 24px !important;
}

.single-product .product-type-variable .summary > p.price {
    display: none;
}
/*
/////////////////////////////
Zdjęcia produktów w sklepie
/////////////////////////////
*/

.wpbf-product-archive ul li {
	padding: 5px;
}

.wpbf-woo-quick-view {
  display: none !important;
}

.woocommerce div.product .woocommerce-product-gallery__image a,
.woocommerce div.product .flex-control-thumbs li a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

.reset_variations {
  display: none !important;
}

.variations {
  background-color: var(--base-color-alt);
}

.variations select {
  width: 100% !important;
}

.variations .label {
  width: 50% !important;
}

.variations label::after {
  content: " (do wyboru):";
  display: inline;
  opacity: .8;
  font-weight: 400;
  font-size: .95em;
}

.wc-block-components-product-metadata {
  display: none !important;
}