.wc-block-load-more button {
	border: 2px solid #1d1d1f !important;
	color: #1d1d1f !important;
}


button[type=submit]:hover, .wp-block-button__link:hover, .wc-block-load-more button:hover, .add_to_cart_button:hover {
	border: 2px solid #1d1d1f !important;
	color: #ffffff !important;
	background-color: #082d0f;
}

button[type=submit], .add_to_cart_button {
		border: 2px solid #1d1d1f !important;
	color: #1d1d1f !important;
}
/*
button[type=submit]:hover {
	background-color: #082d0f;
}
*/

/* FungusLab: stopka. Zmiana wyłącznie wyglądu istniejących elementów. */
footer.wp-block-template-part .pre-footer {
  width: calc(100% - 48px);
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 48px !important;
  padding-bottom: 34px !important;
}
footer.wp-block-template-part .pre-footer > .wp-block-columns {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: start;
  gap: 56px;
  margin: 0;
}
footer.wp-block-template-part .pre-footer .wp-block-column {
  min-width: 0;
  margin: 0;
}
footer.wp-block-template-part .pre-footer .wp-block-site-title {
  margin: 0;
  font-family: inherit;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .3px;
}
footer.wp-block-template-part .pre-footer .wp-block-site-title a {
  text-decoration: none;
}
footer.wp-block-template-part .pre-footer h3.wp-block-heading {
  margin: 3px 0 20px;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 500;
  line-height: 1.6;
}
footer.wp-block-template-part .pre-footer h3.wp-block-heading strong {
  font-weight: 500;
}
footer.wp-block-template-part .pre-footer .wp-block-social-links {
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
}
footer.wp-block-template-part .pre-footer .wp-block-social-link-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
}
footer.wp-block-template-part .pre-footer .wp-block-social-link-anchor svg {
  width: 20px;
  height: 20px;
}
footer.wp-block-template-part .pre-footer .wp-block-image {
  width: 164px;
  max-width: 100%;
  margin: 24px 0 0;
}
footer.wp-block-template-part .pre-footer .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}
footer.wp-block-template-part .pre-footer nav.wp-block-navigation {
  align-items: flex-start;
  gap: 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}
footer.wp-block-template-part .pre-footer .wp-block-navigation__container {
  align-items: flex-start;
  gap: 7px;
}
footer.wp-block-template-part .pre-footer .wp-block-navigation-item__content,
footer.wp-block-template-part .pre-footer .wp-block-jetpack-subscriber-login a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
footer.wp-block-template-part .pre-footer .wp-block-jetpack-subscriptions {
  margin: 18px 0 0;
}
footer.wp-block-template-part .pre-footer #subscribe-submit {
  margin: 0;
}
footer.wp-block-template-part .pre-footer .wp-block-jetpack-subscriptions button {
  padding: 11px 20px !important;
  border-color: #082d0f !important;
  border-radius: 4px !important;
  background: #082d0f !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.5;
}
footer.wp-block-template-part .pre-footer .wp-block-jetpack-subscriber-login {
  margin-top: 9px;
  font-size: 14px;
}
footer.wp-block-template-part .pre-footer .wp-block-column > p.wp-block-paragraph {
  margin: 24px 0 0;
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
footer.wp-block-template-part .pre-footer .wp-block-search {
  width: 100%;
  margin: 0;
}
footer.wp-block-template-part .pre-footer .wp-block-search__inside-wrapper {
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 4px;
  border: 1px solid #dce2d6;
  border-radius: 6px;
  background: #fff;
}
footer.wp-block-template-part .pre-footer .wp-block-search__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}
footer.wp-block-template-part .pre-footer .wp-block-search__button {
  flex: 0 0 auto;
  min-height: 42px;
  margin: 0;
  padding: 10px 16px;
  border: 0 !important;
  border-radius: 4px;
  background: #082d0f;
  color: #fff !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
footer.wp-block-template-part .site-footer {
  width: calc(100% - 48px);
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0 26px !important;
  border-top: 1px solid #e1e5dd;
}
footer.wp-block-template-part .site-footer p {
  margin: 0;
  color: #4d574a;
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 1000px) {
  footer.wp-block-template-part .pre-footer > .wp-block-columns {
    gap: 32px;
  }
}
@media (max-width: 800px) {
  footer.wp-block-template-part .pre-footer > .wp-block-columns {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  footer.wp-block-template-part .pre-footer .wp-block-column:nth-child(3) {
    grid-column: 1 / -1;
  }
  footer.wp-block-template-part .pre-footer .wp-block-search {
    max-width: 420px;
  }
}
@media (max-width: 560px) {
  footer.wp-block-template-part .pre-footer,
  footer.wp-block-template-part .site-footer {
    width: calc(100% - 40px);
  }
  footer.wp-block-template-part .pre-footer {
    padding-top: 36px !important;
    padding-bottom: 28px !important;
  }
  footer.wp-block-template-part .pre-footer > .wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  footer.wp-block-template-part .pre-footer .wp-block-column:nth-child(3) {
    grid-column: auto;
  }
}

/* FungusLab: katalog sklepu i kategorie o szerokosci do 1300 px. */
body.woocommerce.archive .wp-site-blocks .wp-block-group:has(#primary),
body.woocommerce.archive #primary {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 1300px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Rowne karty, z przyciskami wyrownanymi u dolu kazdego rzedu. */
body.woocommerce.archive #main ul.products {
  --fg-shop-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--fg-shop-columns), minmax(0, 1fr));
  align-items: stretch;
  gap: 40px 28px;
  margin: 0 0 40px;
  padding: 0;
}
body.woocommerce.archive #main ul.products.columns-1 { --fg-shop-columns: 1; }
body.woocommerce.archive #main ul.products.columns-2 { --fg-shop-columns: 2; }
body.woocommerce.archive #main ul.products.columns-3 { --fg-shop-columns: 3; }
body.woocommerce.archive #main ul.products.columns-5 { --fg-shop-columns: 5; }
body.woocommerce.archive #main ul.products.columns-6 { --fg-shop-columns: 6; }
body.woocommerce.archive #main ul.products::before,
body.woocommerce.archive #main ul.products::after {
  display: none !important;
}
body.woocommerce.archive #main ul.products > li.product {
  box-sizing: border-box;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}
body.woocommerce.archive #main ul.products > li.product:not(.product-category) {
  display: flex;
  flex-direction: column;
}
body.woocommerce.archive #main ul.products > li.product > .woocommerce-loop-product__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
body.woocommerce.archive #main ul.products .woocommerce-loop-product__link > img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
}
body.woocommerce.archive #main ul.products .woocommerce-loop-product__link > .price {
  margin-top: auto;
  padding-top: 12px;
}
body.woocommerce.archive #main ul.products > li.product > a.button {
  box-sizing: border-box;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  margin-top: 20px !important;
  padding: 14px 16px !important;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
@media (max-width: 1024px) {
  body.woocommerce.archive #main ul.products {
    --fg-shop-columns: 2 !important;
    gap: 32px 24px;
  }
}
@media (max-width: 560px) {
  body.woocommerce.archive #main ul.products {
    --fg-shop-columns: 1 !important;
    gap: 32px;
  }
}

/* PayU: szczegoly platnosci odroczonej tylko na karcie produktu, poza listami. */
ul.products [id^="installment-mini-"],
ul.products li.product > div:has(> [id^="installment-mini-"]) {
  display: none !important;
}

/* Karty produktow: szersza tresc i dyskretne metadane. */
body.single-product #primary {
  width: 100%;
  max-width: 1350px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.single-product #main {
  width: 100%;
  max-width: none;
}
body.single-product #main .woocommerce-product-gallery__image img:not(.zoomImg) {
  max-height: 680px;
  object-fit: contain;
}
body.single-product #main .product_meta {
  font-size: 12px;
  line-height: 1.5;
  color: #5d6459;
}
body.single-product #main .product_meta > span {
  display: block;
  margin-bottom: 3px;
}
body.single-product #main .product_meta a {
  font-size: inherit;
  color: inherit;
}

/* Mniejsze miniatury w galerii produktu. */
body.single-product #main .flex-control-thumbs {
  margin-top: 12px !important;
}
body.single-product #main .flex-control-thumbs li {
  width: 72px !important;
  margin: 0 8px 8px 0 !important;
}
body.single-product #main .flex-control-thumbs img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover;
}

/* Czytelne proporcje we wszystkich dlugich opisach produktow. */
body.single-product #tab-description {
  box-sizing: border-box;
  width: 100%;
  max-width: 1000px;
  margin: 0 0 40px;
  padding-top: 24px;
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: break-word;
}
body.single-product #tab-description :is(h1, h2, h3, h4, h5, h6) {
  line-height: 1.3 !important;
  font-weight: 600;
  margin: 28px 0 12px !important;
}
body.single-product #tab-description h1 {
  font-size: clamp(26px, 2.4vw, 30px) !important;
}
body.single-product #tab-description h2 {
  font-size: clamp(22px, 2.1vw, 26px) !important;
}
body.single-product #tab-description h3 {
  font-size: 22px !important;
}
body.single-product #tab-description h4 {
  font-size: 20px !important;
}
body.single-product #tab-description :is(h5, h6) {
  font-size: 18px !important;
}
body.single-product #tab-description > h2:first-child {
  font-size: 22px !important;
  margin-top: 0 !important;
}
body.single-product #tab-description :is(p, li, td, th) {
  font-size: 17px !important;
  line-height: 1.7 !important;
}
body.single-product #tab-description :is(p, ul, ol) {
  margin-top: 0;
  margin-bottom: 16px;
}
body.single-product #tab-description :is(ul, ol) {
  padding-left: 24px;
}
body.single-product #tab-description li {
  margin-bottom: 6px;
}

/* Tabele opisow przewijaja sie wewnatrz strony na telefonie. */
body.single-product #tab-description table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

/* Glowny przycisk w menu prowadzi do sklepu. */
:is(.site-header, .fg-masthead) .wp-block-jetpack-subscriptions button[type="submit"] { background: transparent !important; color: #111 !important; border: 0 !important; border-bottom: 2px solid #dce5d2 !important; padding: 6px 0 !important; box-shadow: none !important; font-weight: 400 !important; line-height: 1.4; }
:is(.site-header, .fg-masthead) .wp-block-jetpack-subscriptions button[type="submit"]:hover { background: #f2f5ed !important; }
:is(.site-header, .fg-masthead) .wp-block-navigation__container > li:has(> a[href="https://funguslab.pl/sklep/"]) { background: #0a3213 !important; border: 1px solid #17371b; gap: 0 !important; padding: 0 !important; }
:is(.site-header, .fg-masthead) .wp-block-navigation__container > li > a[href="https://funguslab.pl/sklep/"] { color: #fff !important; padding: 15px 6px 15px 22px !important; line-height: 1.4; text-decoration: none !important; font-weight: 600; }
:is(.site-header, .fg-masthead) .wp-block-navigation__container > li:has(> a[href="https://funguslab.pl/sklep/"]) > .wp-block-navigation-submenu__toggle { color: #fff !important; margin-left: 0 !important; padding: 0 16px 0 6px !important; width: auto; height: auto !important; align-self: stretch; display: flex !important; align-items: center; justify-content: center; }
:is(.site-header, .fg-masthead) .wp-block-navigation__container > li:has(> a[href="https://funguslab.pl/sklep/"]):hover { background: #174823 !important; }
:is(.site-header, .fg-masthead) .wp-block-navigation-item__content[href="https://funguslab.pl/sklep/"]:focus-visible { outline: 3px solid #86a975; outline-offset: 3px; }
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation__container > li:has(> a[href="https://funguslab.pl/sklep/"]) { background: transparent !important; border: 0; }
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation__container > li > a[href="https://funguslab.pl/sklep/"] { background: #0a3213 !important; padding: 15px 23px !important; }

/* Jedno logowanie klienta w gornym menu: Moje konto. */
:is(.site-header, .fg-masthead) .wp-block-jetpack-subscriber-login { display: none !important; }

/* Rowne i spokojne wizualnie karty rekomendacji na stronach produktow. */
body.single-product #main :is(.related.products, .up-sells.products) { clear: both; margin: 44px 0 48px; }
body.single-product #main :is(.related.products, .up-sells.products) > h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; margin: 0 0 22px; }
body.single-product #main :is(.related.products, .up-sells.products) ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 !important; padding: 0; }
body.single-product #main :is(.related.products, .up-sells.products) ul.products::before,
body.single-product #main :is(.related.products, .up-sells.products) ul.products::after { display: none !important; }
body.single-product #main :is(.related.products, .up-sells.products) li.product { box-sizing: border-box; display: flex; flex-direction: column; float: none !important; clear: none !important; width: auto !important; min-width: 0; margin: 0 !important; padding: 16px; border: 1px solid #e3e8df; border-radius: 6px; background: #fff; }
body.single-product #main :is(.related.products, .up-sells.products) li.product > .woocommerce-loop-product__link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
body.single-product #main :is(.related.products, .up-sells.products) li.product img { display: block; width: 100% !important; height: 240px !important; object-fit: contain; flex-shrink: 0; margin: 0 0 18px !important; background: #f7f8f4; border-radius: 3px; }
body.single-product #main :is(.related.products, .up-sells.products) .woocommerce-loop-product__title { box-sizing: border-box; min-height: 4.35em; font-size: 17px !important; font-weight: 500; line-height: 1.45; margin: 0 0 8px !important; padding: 0 !important; overflow-wrap: break-word; }
body.single-product #main :is(.related.products, .up-sells.products) .star-rating { float: none; margin: 0 0 10px; font-size: 13px; }
body.single-product #main :is(.related.products, .up-sells.products) .price { margin: auto 0 0 !important; padding-top: 6px; font-size: 16px !important; line-height: 1.5; font-weight: 600; color: #172515; }
body.single-product #main :is(.related.products, .up-sells.products) li.product > .button { display: flex; align-items: center; justify-content: center; align-self: stretch; box-sizing: border-box; width: 100%; min-height: 50px; margin: 18px 0 0 !important; padding: 12px 12px; border-radius: 4px; font-size: 14px; line-height: 1.4; text-align: center; }
@media (max-width: 900px) { body.single-product #main :is(.related.products, .up-sells.products) ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 480px) {
body.single-product #main :is(.related.products, .up-sells.products) ul.products { gap: 12px; }
body.single-product #main :is(.related.products, .up-sells.products) li.product { padding: 12px; }
body.single-product #main :is(.related.products, .up-sells.products) li.product img { height: 170px !important; margin-bottom: 14px !important; }
body.single-product #main :is(.related.products, .up-sells.products) .woocommerce-loop-product__title { font-size: 15px !important; line-height: 1.4; min-height: 4.2em; }
body.single-product #main :is(.related.products, .up-sells.products) .price { font-size: 14px !important; }
body.single-product #main :is(.related.products, .up-sells.products) li.product > .button { font-size: 12px; min-height: 52px; padding: 10px 6px; }
}

/* Menu strony glownej: linki i subskrypcja we wspolnym wierszu. */
.fg-masthead nav.fg-header-navigation .wp-block-navigation__container { width: auto; }

/* Spokojniejsze proporcje gornej czesci karty produktu. */
body.single-product #main .woocommerce-product-gallery__image img:not(.zoomImg) { max-height: 500px; }
body.single-product #main .woocommerce-product-gallery .flex-viewport { max-height: 500px; background: #f7f8f4; border-radius: 6px; }
body.single-product #main .summary .product_title { font-size: clamp(28px, 2.4vw, 36px); line-height: 1.2; margin: 0 0 18px; }
body.single-product #main .summary > .price { font-size: 22px; line-height: 1.4; font-weight: 600; color: #17371b; margin: 0 0 20px; }
body.single-product #main .woocommerce-product-details__short-description { font-size: 17px; line-height: 1.65; max-width: 660px; margin: 0 0 18px; }
body.single-product #main .woocommerce-product-details__short-description p { margin: 0 0 12px; }
body.single-product #main .summary > .stock { font-size: 14px; line-height: 1.5; margin: 0 0 18px; }
body.single-product #main .summary form.cart { margin: 0 0 22px; }
body.single-product #main .summary form.cart:not(.variations_form):not(.grouped_form),
body.single-product #main .summary .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
body.single-product #main .summary .quantity { margin: 0 !important; }
body.single-product #main .summary .quantity input.qty { box-sizing: border-box; width: 76px; height: 54px; padding: 8px; }
body.single-product #main .summary .single_add_to_cart_button { min-height: 54px; padding: 13px 24px; font-size: 16px; line-height: 1.5; margin: 0; }
body.single-product #main .summary .product_meta { margin: 0 0 20px; }
body.single-product #main .flex-control-thumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 12px !important; }
body.single-product #main .flex-control-thumbs li { width: 64px !important; margin: 0 !important; }
body.single-product #main .flex-control-thumbs img { width: 64px !important; height: 64px !important; }
@media (min-width: 901px) {
body.single-product #main > .product > .woocommerce-product-gallery { width: 42% !important; margin-bottom: 28px; }
body.single-product #main > .product > .summary { width: 54% !important; margin-bottom: 28px; }
}
@media (max-width: 900px) {
body.single-product #main > .product > .woocommerce-product-gallery { float: none; width: 100% !important; max-width: 520px; margin: 0 auto 24px; }
body.single-product #main > .product > .summary { float: none; width: 100% !important; margin-bottom: 24px; }
body.single-product #main .woocommerce-product-gallery__image img:not(.zoomImg),
body.single-product #main .woocommerce-product-gallery .flex-viewport { max-height: 420px; }
}

@media (max-width: 480px) {
body.single-product #main .summary .quantity input.qty { width: 62px; margin: 0 !important; }
body.single-product #main .summary .single_add_to_cart_button { flex: 1; min-width: 0; padding: 13px 10px; font-size: 14px; }
}


/* Funguslab: czytelne i zwarte menu telefonu — 28.10.2026. */
:is(.site-header, .fg-masthead) .wp-block-navigation__responsive-container.is-menu-open {
  box-sizing: border-box;
  padding: 0 24px 24px;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation__responsive-container-content {
  box-sizing: border-box;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding-top: 64px !important;
  text-align: left;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation__container {
  box-sizing: border-box;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation-item {
  box-sizing: border-box;
  align-items: stretch !important;
  width: 100%;
  margin: 0 !important;
  text-align: left;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation-item__content {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  min-height: 44px;
  width: 100%;
  padding: 8px 14px !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
  white-space: normal;
  text-align: left;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation__container > li > a[href="https://funguslab.pl/sklep/"] {
  padding: 10px 14px !important;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation__submenu-container {
  box-sizing: border-box;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 6px 0 0 !important;
  padding: 0 0 0 12px !important;
  border: 0;
  border-left: 2px solid #dce5d2;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 7px 12px !important;
  font-size: 16px !important;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation-submenu__toggle {
  display: none !important;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-jetpack-subscriptions {
  align-self: flex-start;
  margin: 0 14px !important;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-jetpack-subscriptions button[type="submit"] {
  min-height: 44px;
}
:is(.site-header, .fg-masthead) .is-menu-open .wp-block-navigation__responsive-container-close {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}