/*
 Theme Name:   Holistic Labs
 Author:       Gosia Gozdz myspot.ON
 Template:     Divi
 Version:      2.39
*/

/* === COOKIEYES === */
.cky-consent-container .cky-consent-bar {
  padding: 24px !important;
  border: 1px solid #CFC991 !important;
  border-radius: 20px !important;
  background: rgba(255, 253, 249, .8) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: none !important;
}

.cky-consent-bar,
.cky-consent-bar p,
.cky-consent-bar span,
.cky-consent-bar li,
.cky-consent-bar a {
  color: #1A1919 !important;
  font-family: "Figtree", sans-serif !important;
  line-height: 1.3 !important;
}

.cky-consent-bar :is(h1, h2, h3, h4, h5, h6),
.cky-title,
.cky-notice-title {
  color: #1A1919 !important;
  font-family: "DM Sans", sans-serif !important;
  line-height: 1.3 !important;
}

.cky-consent-container .cky-notice-des,
.cky-consent-container .cky-notice-des p {
  font-size: 14px !important;
  font-weight: 400 !important;
}

button.cky-btn.cky-btn-accept,
button.cky-btn.cky-btn-reject,
button.cky-btn.cky-btn-customize,
button.cky-btn.cky-btn-preferences {
  padding: .7em 2em !important;
  border: 1px solid #1A1919 !important;
  border-radius: 90px !important;
  box-shadow: none !important;
  font-family: "Figtree", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

button.cky-btn.cky-btn-accept {
  background: #1A1919 !important;
  color: #FFFFFF !important;
}

button.cky-btn.cky-btn-reject,
button.cky-btn.cky-btn-customize,
button.cky-btn.cky-btn-preferences {
  background: transparent !important;
  color: #1A1919 !important;
}

button.cky-btn.cky-btn-accept:hover {
  background: transparent !important;
  color: #1A1919 !important;
}

button.cky-btn:is(.cky-btn-reject, .cky-btn-customize, .cky-btn-preferences):hover {
  background: #1A1919 !important;
  color: #FFFFFF !important;
}

.cky-btn-revisit-wrapper {
  z-index: 2147483646 !important;
  border: 1px solid #1A1919 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit img {
  filter: brightness(0) saturate(100%);
}

.cky-modal.cky-modal-open {
  border-radius: 20px !important;
}

.cky-modal,
.cky-preference-center,
.cky-preference-header,
.cky-preference-body-wrapper,
.cky-preference-content-wrapper,
.cky-accordion-wrapper,
.cky-accordion,
.cky-accordion-item,
.cky-accordion-header-wrapper,
.cky-accordion-header,
.cky-accordion-body,
.cky-audit-table,
.cky-cookie-des-table,
.cky-cookie-des-table li,
.cky-cookie-des-table li div,
.cky-footer-wrapper,
.cky-prefrence-btn-wrapper {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #1A1919 !important;
}

.cky-preference-center,
.cky-preference-center p,
.cky-preference-center span,
.cky-preference-center li,
.cky-preference-center a,
.cky-preference-title,
.cky-accordion-btn,
.cky-accordion-header-des,
.cky-cookie-des-table li div {
  color: #1A1919 !important;
}

.cky-preference-header,
.cky-accordion,
.cky-audit-table,
.cky-cookie-des-table,
.cky-footer-wrapper {
  border-color: rgba(26, 25, 25, .12) !important;
}

.cky-btn-close {
  background: transparent !important;
}

.cky-btn-close img {
  filter: brightness(0) saturate(100%) !important;
}

.cky-always-active,
.cky-show-desc-btn {
  color: #817B43 !important;
}

.cky-switch input[type="checkbox"] {
  background-color: #1A1919 !important;
}

.cky-switch input[type="checkbox"]:checked {
  background-color: #CFC991 !important;
}

span.cky-footer-shadow {
  display: none;
}

@media (max-width: 980px) {
  .cky-consent-container .cky-consent-bar {
    padding: 10px !important;
  }

  .cky-consent-bar p {
    font-size: 13px !important;
    line-height: 1 !important;
  }

  p.cky-title,
  .cky-notice-des,
  .cky-notice-btn-wrapper {
    padding-top: 0 !important;
    padding-right: 15px !important;
    padding-bottom: 0 !important;
    padding-left: 15px !important;
  }

  .cky-notice-btn-wrapper {
    display: inline-block !important;
  }

  button.cky-btn.cky-btn-accept,
  button.cky-btn.cky-btn-reject,
  button.cky-btn.cky-btn-customize,
  button.cky-btn.cky-btn-preferences {
    width: 100px !important;
    padding: .25em !important;
  }

  .cky-preference-center {
    width: calc(100% - 24px) !important;
    max-width: none !important;
    max-height: calc(100vh - 24px) !important;
    margin: 12px !important;
    box-sizing: border-box !important;
  }

  .cky-preference-center .cky-prefrence-btn-wrapper {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .cky-preference-center .cky-prefrence-btn-wrapper .cky-btn {
    width: 100% !important;
  }
}

/* === GLOBAL === */
#page-container,
.et_fb #page-container {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
  -webkit-font-feature-settings: "liga" 0, "clig" 0;
}

::selection {
  background-color: #CFC991;
  color: #1A1919;
}

ul,
li,
ol {
  line-height: 1.2em !important;
}

:where(.et_pb_text) :is(p, ul, ol, blockquote) ~ :is(h1, h2, h3, h4, h5, h6) {
  padding-top: .75em;
}

:where(.et_pb_text) p:last-of-type {
  padding-bottom: 1em;
}

:where(.et_pb_text) :is(p, ul, ol, blockquote):last-child {
  padding-bottom: 0;
}

:where(.et_pb_text) ::marker {
  color: #1A1919;
  font-weight: 700;
}

:where(.et_pb_text) :is(ol, ul) li:not(:last-child) {
  padding-bottom: .5em;
}

:where(.et_pb_text) li > :is(ol, ul) {
  margin-top: .35em !important;
  padding-top: .35em;
}

.et_pb_text a:not(.et_pb_button):not(.button):not(:has(img)),
#hl-footer a:not(.et_pb_button):not(.button):not(.et_pb_menu__icon):not(:has(img)),
.woocommerce a:not(.et_pb_button):not(.button):not(.et_pb_menu__icon):not(:has(img)) {
  position: relative;
  text-decoration: none !important;
}

/* Globalna linia na hover dla linkow tekstowych. */
.et_pb_text a:not(.et_pb_button):not(.button):not(:has(img))::after,
#hl-footer a:not(.et_pb_button):not(.button):not(.et_pb_menu__icon):not(:has(img))::after,
.woocommerce a:not(.et_pb_button):not(.button):not(.et_pb_menu__icon):not(:has(img))::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.08em;
  height: 1px;
  background: currentColor;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}

.et_pb_text a:not(.et_pb_button):not(.button):not(:has(img)):hover::after,
#hl-footer a:not(.et_pb_button):not(.button):not(.et_pb_menu__icon):not(:has(img)):hover::after,
.woocommerce a:not(.et_pb_button):not(.button):not(.et_pb_menu__icon):not(:has(img)):hover::after {
  transform: scaleX(1);
}

/* === HEADER === */
/* Header: blur, odstepy w menu i animowana linia pod linkami. */
#hl-header {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

#hl-header .et-menu-nav .et-menu {
  gap: 34px;
}

#hl-header .et-menu-nav .et-menu > li {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

#hl-header .et-menu-nav .et-menu > li > a {
  position: relative;
  text-decoration: none !important;
}

#hl-header .et-menu-nav .et-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .12em;
  height: 5px;
  background: #CFC991;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
}

#hl-header .et-menu-nav .et-menu > li > a:hover::after {
  transform: scaleX(1);
}

#hl-header .et_pb_menu__cart-button {
  margin-left: 34px !important;
  position: relative !important;
}

#hl-header .et_pb_menu__cart-button .hl-cart-count,
.et_pb_menu__cart-button .hl-cart-count {
  align-items: center;
  background: #CFC991;
  border: 0;
  border-radius: 999px;
  box-sizing: border-box;
  color: #1A1919 !important;
  display: inline-flex;
  font-family: inherit !important;
  font-size: 9px !important;
  font-weight: 600;
  height: 16px;
  justify-content: center;
  line-height: 1 !important;
  min-width: 16px;
  padding: 0 4px;
  position: absolute;
  right: -9px;
  top: -7px;
}

/* === FOOTER === */
/* Footer: menu jako pionowa lista, takze na mobile bez hamburgera. */
#hl-footer .et_pb_menu,
#hl-footer .et_pb_menu_inner_container,
#hl-footer .et_pb_menu__wrap,
#hl-footer .et_pb_menu__menu {
  width: 100% !important;
}

#hl-footer .et_pb_menu__wrap {
  justify-content: flex-start !important;
}

#hl-footer .et_pb_menu__menu {
  display: block !important;
}

#hl-footer .et_mobile_nav_menu {
  display: none !important;
}

#hl-footer .et-menu-nav,
#hl-footer .et-menu-nav > ul {
  width: 100%;
}

#hl-footer .et-menu-nav .et-menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: .35em;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

#hl-footer .et-menu-nav .et-menu > li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

#hl-footer .et-menu-nav .et-menu > li > a {
  display: inline-block;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-align: left;
}

/* === MODULES === */
/* Back to top: natywny przycisk Divi. */
.et_pb_scroll_top:before {
  content: "!";
}

.et_pb_scroll_top.et-pb-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box !important;
  width: 46px;
  height: 46px;
  right: 12px;
  bottom: 12px !important;
  padding: 0 !important;
  border: 1px solid #1A1919 !important;
  border-radius: 50%;
  background: transparent !important;
  color: #1A1919 !important;
  box-shadow: none !important;
  outline: 0 !important;
  font-size: 22px;
  line-height: 1 !important;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
  z-index: 9999;
}

.et_pb_scroll_top.et-pb-icon:hover {
  background: #CFC991 !important;
  border-color: #CFC991 !important;
  color: #1A1919 !important;
}

@media (max-width: 980px) {
  .et_pb_scroll_top.et-pb-icon {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }
}

/* Marquee tekstowe: sekcja hl-marquee, row hl-marquee-track, opcjonalny item hl-marquee-item. */
.hl-marquee {
  overflow: hidden;
}

.hl-marquee .hl-marquee-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start !important;
  width: max-content !important;
  max-width: none !important;
  overflow: visible !important;
  will-change: transform;
  animation: hl-marquee-loop 45s linear infinite;
}

.hl-marquee .hl-marquee-item,
.hl-marquee .hl-marquee-title {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
}

.hl-marquee :is(.hl-marquee-item, .hl-marquee-title) .et_pb_heading_container,
.hl-marquee :is(.hl-marquee-item, .hl-marquee-title) .et_pb_module_header,
.hl-marquee :is(.hl-marquee-item, .hl-marquee-title) .et_pb_text_inner,
.hl-marquee :is(.hl-marquee-item, .hl-marquee-title) p {
  display: block;
  width: max-content;
  max-width: none;
  white-space: nowrap;
}

@keyframes hl-marquee-loop {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-marquee .hl-marquee-track {
    animation: none;
    transform: none;
  }
}

body.et-fb .hl-marquee {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.et-fb .hl-marquee::-webkit-scrollbar {
  display: none;
}

body.et-fb .hl-marquee .hl-marquee-track {
  animation: none !important;
  transform: none !important;
}

/* Photo fade: wrapper hl-photo-fade-wrap, kazde zdjecie hl-photo-fade. */
.hl-photo-fade-wrap {
  display: grid;
  position: relative;
}

.hl-photo-fade-wrap .hl-photo-fade {
  grid-area: 1 / 1;
  margin: 0 !important;
  opacity: 1;
  transition: none;
}

.hl-photo-fade-wrap.is-ready .hl-photo-fade {
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hl-photo-fade-wrap .hl-photo-fade .et_pb_image_wrap,
.hl-photo-fade-wrap .hl-photo-fade img {
  display: block;
  width: 100%;
}

.hl-photo-fade-wrap .hl-photo-fade:first-of-type,
.hl-photo-fade-wrap .hl-photo-fade.is-active {
  opacity: 1;
}

.hl-photo-fade-wrap.is-ready .hl-photo-fade:first-of-type:not(.is-active) {
  opacity: 0;
}

body[class*="et-fb"] .hl-photo-fade-wrap,
html[class*="et-fb"] .hl-photo-fade-wrap,
.et-fb .hl-photo-fade-wrap,
.et_fb .hl-photo-fade-wrap,
.et-fb-root-ancestor .hl-photo-fade-wrap {
  display: block !important;
}

body[class*="et-fb"] .hl-photo-fade-wrap .hl-photo-fade,
html[class*="et-fb"] .hl-photo-fade-wrap .hl-photo-fade,
.et-fb .hl-photo-fade-wrap .hl-photo-fade,
.et_fb .hl-photo-fade-wrap .hl-photo-fade,
.et-fb-root-ancestor .hl-photo-fade-wrap .hl-photo-fade {
  display: block !important;
  grid-area: auto !important;
  margin-bottom: 12px !important;
  opacity: 1 !important;
  position: relative !important;
  transition: none !important;
  transform: none !important;
  visibility: visible !important;
}

/* Forminator: formularz kontaktowy w module z klasa hl-form. */
.hl-form .forminator-input,
.hl-form .forminator-textarea {
  min-height: 50px !important;
  padding: 12px 20px !important;
  border: 1px solid #1A1919 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #1A1919 !important;
  box-shadow: none !important;
  font: inherit !important;
  line-height: 1.2 !important;
}

@media (min-width: 981px) {
  .hl-form .forminator-input,
  .hl-form .forminator-textarea {
    max-width: calc(100% - 16px) !important;
  }
}

.hl-form .forminator-textarea {
  min-height: 140px !important;
  resize: vertical;
}

.hl-form .forminator-input::placeholder,
.hl-form .forminator-textarea::placeholder {
  color: #1A1919 !important;
  opacity: 1 !important;
}

.hl-form .forminator-checkbox {
  display: inline-flex !important;
  align-items: flex-start !important;
  gap: 12px;
  margin: 0 !important;
}

.hl-form .forminator-checkbox input {
  position: absolute;
  opacity: 0;
}

.hl-form .forminator-checkbox-box {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border: 1px solid #1A1919 !important;
  border-radius: 5px !important;
  background: transparent !important;
}

.hl-form .forminator-checkbox input:checked + .forminator-checkbox-box {
  background: #1A1919 !important;
  box-shadow: inset 0 0 0 5px #FFFDF9 !important;
}

.hl-form .forminator-checkbox-label {
  color: #1A1919 !important;
  font: inherit !important;
  line-height: 1.2 !important;
}

.hl-form .forminator-button-submit {
  min-height: 0 !important;
  padding: .7em 1.5em .6em !important;
  border: 1px solid #1A1919 !important;
  border-radius: 999px !important;
  background: #1A1919 !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.hl-form .forminator-row-last {
  text-align: right !important;
}

.hl-form .forminator-button-submit:hover {
  background: #FFFDF9 !important;
  color: #1A1919 !important;
}

/* MailerLite newsletter form. */
.ml-form-embedBody.ml-form-embedBodyDefault.row-form {
  padding: 0 !important;
}

.ml-form-embedWrapper .ml-block-form input.form-control {
  background: transparent !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

#mlb2-45232426.ml-form-embedContainer
  .ml-form-embedWrapper.embedForm
  .ml-form-embedBody.row-form
  .ml-block-form
  .ml-form-checkboxRow
  label.checkbox
  .label-description
  p {
  position: relative !important;
  top: -5px !important;
}

#mlb2-45232426.ml-form-embedContainer
  .ml-form-embedWrapper.embedForm
  .ml-form-embedBody.row-form
  .ml-block-form
  .ml-form-checkboxRow
  label.checkbox
  .label-description
  p,
#mlb2-45232426.ml-form-embedContainer
  .ml-form-embedWrapper.embedForm
  .ml-form-embedBody.row-form
  .ml-block-form
  .ml-form-checkboxRow
  label.checkbox
  .label-description
  p * {
  line-height: 1.2 !important;
}

#mlb2-45232426.ml-form-embedContainer
  .ml-form-embedWrapper.embedForm
  .ml-form-embedSubmit
  button.primary:hover {
  color: #1A1919 !important;
}

/* === WOOCOMMERCE === */
.hl-product-card {
  position: relative;
}

.hl-loop-price,
.hl-loop-price .woocommerce-Price-amount {
  color: #1A1919;
  font: inherit;
}

.hl-loop-price del {
  margin-right: 8px;
  color: #1A1919;
  opacity: .55;
}

.hl-loop-price ins {
  color: #1A1919;
  font-weight: 600;
  text-decoration: none;
}

.hl-product-badges {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  pointer-events: none;
}

.hl-product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5em 1em;
  border: 1px solid #1A1919;
  border-radius: 999px;
  background: #1A1919;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}

.woocommerce div.product .woocommerce-product-gallery__trigger,
.woocommerce div.product .woocommerce-product-gallery__trigger::before,
.woocommerce div.product .woocommerce-product-gallery__trigger::after,
.woocommerce div.product .woocommerce-product-gallery .zoomImg {
  display: none !important;
}

/* Add to cart buttons: wspolny padding jak w innych przyciskach. */
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.product_type_variable,
.woocommerce .hl-product-cart .hl-loop-add-to-cart,
.woocommerce button.single_add_to_cart_button {
  padding: .7em 1.5em !important;
  border: 1px solid #1A1919 !important;
  background: #1A1919 !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
}

/* Nieaktywne przyciski zachowuja ciemny wyglad, ale pozostaja zablokowane. */
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.disabled,
.woocommerce a.button.disabled,
.woocommerce .single_add_to_cart_button.disabled,
.woocommerce .single_add_to_cart_button.wc-variation-selection-needed {
  border-color: #1A1919 !important;
  background: #1A1919 !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.2 !important;
}

.woocommerce div.product form.cart .quantity .qty {
  width: 68px !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
  border: 1px solid #1A1919 !important;
  border-radius: 10px !important;
  background-color: transparent !important;
  color: #1A1919 !important;
  box-shadow: none !important;
  text-align: center !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  min-height: 0 !important;
  padding: .7em 1.5em .6em !important;
  border: 1px solid #1A1919 !important;
  border-radius: 200px !important;
  background: #1A1919 !important;
  color: #FFFFFF !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:focus,
.woocommerce a.button.add_to_cart_button:hover,
.woocommerce a.button.add_to_cart_button:focus,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button:focus,
.woocommerce .hl-product-cart .hl-loop-add-to-cart:hover,
.woocommerce .hl-product-cart .hl-loop-add-to-cart:focus {
  border-color: #1A1919 !important;
  background: #FFFDF9 !important;
  color: #1A1919 !important;
}

.woocommerce div.product form.cart .quantity .qty:hover,
.woocommerce div.product form.cart .quantity .qty:focus,
.woocommerce div.product form.cart .quantity .qty:active {
  border-color: #1A1919 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Shop loop: produkt wariantowy prowadzi do strony produktu zamiast wyboru na karcie. */
body:not(.single-product) .hl-product-cart .variations_form .variations,
body:not(.single-product) .hl-product-cart .variations_form .reset_variations,
body:not(.single-product) .hl-product-cart .variations_form .single_variation,
body:not(.single-product) .hl-product-cart .variations_form .quantity {
  display: none !important;
}

body:not(.single-product) .hl-product-cart .variations_form,
body:not(.single-product) .hl-product-cart .single_variation_wrap,
body:not(.single-product) .hl-product-cart .woocommerce-variation-add-to-cart {
  margin: 0 !important;
}

body:not(.single-product) .hl-product-cart :is(.single_add_to_cart_button, .hl-loop-add-to-cart) {
  min-height: 0 !important;
  height: auto !important;
  padding: .7em 1.5em .6em 1.5em !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

body:not(.single-product) #page-container .hl-product-cart .et_pb_wc_add_to_cart .et_pb_module_inner form.cart button.button.single_add_to_cart_button {
  min-height: 0 !important;
  height: auto !important;
  padding-top: .7em !important;
  padding-right: 1.5em !important;
  padding-bottom: .6em !important;
  padding-left: 1.5em !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}

/* Divi Builder: pokazujemy modul i przycisk karty produktu podczas edycji. */
body[class*="et-fb"] .hl-product-cart :is(.et_pb_wc_add_to_cart, .et_pb_module_inner, form.cart, .single_variation_wrap, .woocommerce-variation-add-to-cart),
html[class*="et-fb"] .hl-product-cart :is(.et_pb_wc_add_to_cart, .et_pb_module_inner, form.cart, .single_variation_wrap, .woocommerce-variation-add-to-cart),
.et-fb-root-ancestor .hl-product-cart :is(.et_pb_wc_add_to_cart, .et_pb_module_inner, form.cart, .single_variation_wrap, .woocommerce-variation-add-to-cart) {
  display: block !important;
  visibility: visible !important;
}

body[class*="et-fb"] .hl-product-cart .single_add_to_cart_button,
html[class*="et-fb"] .hl-product-cart .single_add_to_cart_button,
.et-fb .hl-product-cart .single_add_to_cart_button,
.et_fb .hl-product-cart .single_add_to_cart_button,
.et-fb-root-ancestor .hl-product-cart .single_add_to_cart_button {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body[class*="et-fb"] .hl-product-cart:not(:has(.single_add_to_cart_button))::after,
html[class*="et-fb"] .hl-product-cart:not(:has(.single_add_to_cart_button))::after,
.et-fb .hl-product-cart:not(:has(.single_add_to_cart_button))::after,
.et_fb .hl-product-cart:not(:has(.single_add_to_cart_button))::after,
.et-fb-root-ancestor .hl-product-cart:not(:has(.single_add_to_cart_button))::after {
  content: "WYBIERZ RODZAJ";
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: .7em 1.5em .6em 1.5em;
  border: 1px solid #1A1919;
  border-radius: 200px;
  background: #1A1919;
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1.2;
  box-sizing: border-box;
}

/* Product badge row: modules stay on one line and keep the builder background opacity. */
.hl-badge-stacked {
  z-index: 2147483647 !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  isolation: isolate;
}

body.single-product #page-container #et-boc .et-l .hl-badge-stacked.et_pb_section {
  z-index: 2147483647 !important;
}

@media (min-width: 981px) {
  .hl-badge-stacked .et_pb_column {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 28px !important;
  }

  .hl-badge-stacked .et_pb_wc_title,
  .hl-badge-stacked .et_pb_wc_price,
  .hl-badge-stacked .et_pb_wc_add_to_cart {
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hl-badge-stacked .et_pb_wc_title h6,
  .hl-badge-stacked .et_pb_wc_price p {
    margin: 0 !important;
    padding: 0 !important;
  }

  .hl-badge-stacked .hl-product-type form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .variations,
  .hl-badge-stacked .hl-product-type form.cart .single_variation_wrap,
  .hl-badge-stacked .hl-product-type form.cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .variations {
    width: auto !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .variations tbody,
  .hl-badge-stacked .hl-product-type form.cart .variations tr {
    display: contents !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .variations th.label {
    display: none !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .variations td.value {
    padding: 0 !important;
  }

}

@media (min-width: 981px) {
  #page-container .hl-badge-stacked .et_pb_wc_add_to_cart_1_tb_body form.cart table.variations {
    display: block !important;
    width: auto !important;
  }

  #page-container .hl-badge-stacked .et_pb_wc_add_to_cart_1_tb_body form.cart table.variations tbody,
  #page-container .hl-badge-stacked .et_pb_wc_add_to_cart_1_tb_body form.cart table.variations tr,
  #page-container .hl-badge-stacked .et_pb_wc_add_to_cart_1_tb_body form.cart table.variations td.value {
    display: block !important;
    width: 100% !important;
  }

  #page-container .hl-badge-stacked .et_pb_wc_add_to_cart_1_tb_body form.cart table.variations td.value {
    text-align: center !important;
  }

  #page-container .hl-badge-stacked .et_pb_wc_add_to_cart_1_tb_body form.cart table.variations td.value > span {
    display: inline-block !important;
    width: auto !important;
    text-align: center !important;
  }

  #page-container .hl-badge-stacked .et_pb_wc_add_to_cart_1_tb_body form.cart select#rodzaj {
    display: block !important;
    margin: 0 auto !important;
  }
}

#page-container .et_pb_wc_add_to_cart_0_tb_body.hl-product-type form.cart .variations td.value > span::after,
#page-container .et_pb_wc_add_to_cart_1_tb_body.hl-product-type form.cart .variations td.value > span::after {
  display: none !important;
  content: none !important;
}

#page-container .et_pb_wc_add_to_cart_1_tb_body.hl-product-type form.cart select#rodzaj,
#page-container .et_pb_wc_add_to_cart_1_tb_body.hl-product-type form.cart select#rodzaj option {
  text-align: center !important;
  text-align-last: center !important;
}

body.single-product #page-container .et_pb_wc_add_to_cart_1_tb_body.hl-product-type form.cart .single_variation_wrap .woocommerce-variation-add-to-cart button.single_add_to_cart_button {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  padding-top: .7em !important;
  padding-right: 1.5em !important;
  padding-bottom: .6em !important;
  padding-left: 1.5em !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}

#page-container .et_pb_wc_add_to_cart_1_tb_body.hl-product-type form.cart a.reset_variations {
  display: inline-block !important;
  margin-left: 12px !important;
  white-space: nowrap !important;
}

body.single-product #page-container .et_pb_wc_add_to_cart_0_tb_body.hl-product-type form.cart button.button.single_add_to_cart_button {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  padding-top: .7em !important;
  padding-right: 1.5em !important;
  padding-bottom: .6em !important;
  padding-left: 1.5em !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}

/* Mocniejszy hover dla przyciskow produktu i wyboru rodzaju w listingu. */
body.single-product #page-container .et_pb_wc_add_to_cart.hl-product-type form.cart button.button.single_add_to_cart_button:hover,
body.single-product #page-container .et_pb_wc_add_to_cart.hl-product-type form.cart button.button.single_add_to_cart_button:focus,
body:not(.single-product) #page-container .hl-product-cart a.button.product_type_variable:hover,
body:not(.single-product) #page-container .hl-product-cart a.button.product_type_variable:focus,
body:not(.single-product) #page-container .hl-product-cart .hl-loop-add-to-cart:hover,
body:not(.single-product) #page-container .hl-product-cart .hl-loop-add-to-cart:focus {
  border-color: #1A1919 !important;
  background: #FFFDF9 !important;
  color: #1A1919 !important;
  opacity: 1 !important;
}

/* Przyklejony pasek produktu: wariant nad rzedem z iloscia i CTA na tablet i mobile. */
@media (max-width: 980px) {
  body.single-product .cky-btn-revisit-wrapper {
    display: none !important;
  }

  .hl-badge-stacked .et_pb_wc_add_to_cart,
  .hl-badge-stacked .et_pb_wc_add_to_cart .et_pb_module_inner,
  .hl-badge-stacked .hl-product-type form.cart {
    width: 100% !important;
    margin: 0 !important;
  }

  .hl-badge-stacked .hl-product-type form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 2px !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .single_variation_wrap,
  .hl-badge-stacked .hl-product-type form.cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .variations {
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .variations tbody,
  .hl-badge-stacked .hl-product-type form.cart .variations tr,
  .hl-badge-stacked .hl-product-type form.cart .variations td.value,
  .hl-badge-stacked .hl-product-type form.cart .variations td.value > span {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .variations th.label,
  .hl-badge-stacked .hl-product-type form.cart .reset_variations,
  .hl-badge-stacked .hl-product-type form.cart .single_variation {
    display: none !important;
  }

  .hl-badge-stacked .hl-product-type form.cart select {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 30px 0 12px !important;
    font-size: 12px !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .single_variation_wrap,
  .hl-badge-stacked .hl-product-type form.cart .woocommerce-variation-add-to-cart {
    width: 100% !important;
    margin: 0 !important;
  }

  .hl-badge-stacked .hl-product-type form.cart .woocommerce-variation-add-to-cart {
    justify-content: center !important;
  }

  body.single-product #page-container .hl-badge-stacked .hl-product-type form.cart div.quantity {
    float: none !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
  }

  body.single-product #page-container .hl-badge-stacked .hl-product-type form.cart div.quantity input.input-text.qty.text {
    box-sizing: border-box !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    line-height: 38px !important;
  }

  body.single-product #page-container .hl-badge-stacked .hl-product-type form.cart button.button.single_add_to_cart_button {
    flex: 0 0 auto !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: .6em 1.2em .5em !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  body.single-product #page-container #et-boc .et-l .hl-badge-stacked .et_pb_wc_add_to_cart.hl-product-type form.cart button.button.single_add_to_cart_button {
    padding: .6em 1.2em .5em !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  body.single-product #page-container #et-boc .et-l .hl-badge-stacked .et_pb_wc_add_to_cart.hl-product-type form.cart,
  body.single-product #page-container #et-boc .et-l .hl-badge-stacked .et_pb_wc_add_to_cart.hl-product-type form.cart table.variations,
  body.single-product #page-container #et-boc .et-l .hl-badge-stacked .et_pb_wc_add_to_cart.hl-product-type form.cart .single_variation_wrap {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.single-product #page-container #et-boc .et-l .hl-badge-stacked .et_pb_wc_add_to_cart.hl-product-type form.cart {
    gap: 2px !important;
  }
}

/* Product extra fields: tabela skladu z shortcode [hl_product_composition_table]. */
.hl-product-composition-table {
  font-size: 16px;
  overflow-x: auto;
}

.hl-product-composition-table__section + .hl-product-composition-table__section {
  margin-top: 1.5em;
}

.hl-product-composition-table__label {
  margin: 0 0 .45em;
  font-size: 18px;
  font-weight: 700;
}

.hl-product-composition-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px;
}

.hl-product-composition-table th,
.hl-product-composition-table td {
  padding: .85em 0;
  border-bottom: 1px solid rgba(26, 25, 25, .12);
  text-align: left;
  vertical-align: top;
}

.hl-product-composition-table th:first-child,
.hl-product-composition-table td:first-child {
  width: 62%;
}

.hl-product-composition-table th:nth-child(2),
.hl-product-composition-table td:nth-child(2) {
  width: 20%;
}

.hl-product-composition-table th:nth-child(3),
.hl-product-composition-table td:nth-child(3) {
  width: 18%;
}

.hl-product-composition-table th + th,
.hl-product-composition-table td + td {
  padding-left: 1.25em;
}

.hl-product-composition-table th {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}