/*
 Theme Name:    Kredytowy Poradnik
 Author:        Gosia Gozdz myspoton
 Template:      Divi
 Version:       6.58
 Text Domain:   kp
*/

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

/* CookieYes */
.cky-consent-bar {
  background: rgba(251, 251, 249, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px !important;
}

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

.cky-consent-bar h1,
.cky-consent-bar h2,
.cky-consent-bar h3,
.cky-consent-bar h4,
.cky-consent-bar h5,
.cky-consent-bar h6,
.cky-title,
.cky-notice-title {
  font-family: "Mato Sans", sans-serif !important;
  line-height: 1.3 !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 {
  border-radius: 90px;
  text-transform: uppercase !important;
  font-size: 12px;
  padding: 0.7em 2em;
}

.cky-btn-revisit-wrapper {
  background-color: #EDE7E4 !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(25%) saturate(958%) hue-rotate(334deg) brightness(94%) contrast(88%);
}

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

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

.woocommerce-error,
.woocommerce .woocommerce-error,
ul.woocommerce-error {
  background: #f7e8e8 !important;
  color: #13283A !important;
}

.woocommerce-error a,
.woocommerce .woocommerce-error a,
ul.woocommerce-error a {
  color: inherit !important;
}

::selection {
  background-color: #C7D2DE;
  color: var(--kp-ink);
}

:root {
  --kp-ink: #13283A;
  --kp-text: #192A3A;
  --kp-accent: #7892C4;
  --kp-accent-hover: #7E91AF;
  --kp-surface: #EEF2F5;
  --kp-page: #FBFBF9;
  --kp-white: #ffffff;
}



/* =========================
   TYPOGRAFIA
========================= */
ul, li, ol {
  line-height:1.2em!important;
}

.et_pb_text ul {
  padding-top: .5em !important;
}

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

: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;
}

.kp-kompas ul li {
  padding: .5em 0em;
}



/* =========================
   NAWIGACJA GLOWNA
========================= */
#kp-header {
  position: sticky !important;
  top: 0;
  z-index: 10010;
  overflow: visible !important;
  transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
}

#main-header, 
.et_builder_inner_content,
.et_pb_section {
  overflow: visible !important;
}

#kp-header.kp-header-blur, #kp-header .kp-menu-blur,
#kp-header-mobile .kp-menu-blur {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  background-color: rgba(251, 251, 249, 0.9) !important;
}

#kp-header.kp-header-transparent {
  background-color: transparent !important;
  backdrop-filter: none !important;
}

#kp-header.kp-header-transparent .kp-row-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(251, 251, 249, 0.9);
  transition: all 0.3s ease;
}

#kp-header:has(.kp-mega-panel--active),
#kp-header:has(.kp-mega-trigger--active) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-color: var(--kp-page) !important;
}

#kp-header.kp-header-transparent:has(.kp-mega-panel--active) .kp-row-blur,
#kp-header.kp-header-transparent:has(.kp-mega-trigger--active) .kp-row-blur {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-color: transparent !important;
}

#kp-header ul#menu-menu-glowne {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  width: auto !important;
  list-style: none !important;
  margin: 0 !important;
}

#kp-header ul#menu-menu-glowne li {
  display: block !important;
  list-style: none !important;
  margin: 0 0 0 60px !important; 
}

#kp-header ul#menu-menu-glowne li:first-child {
  margin-left: 0 !important;
}

#kp-header ul#menu-menu-glowne li a {
  display: inline-block !important;
  position: relative !important;
  padding: 0px 1.2em 0px 0px !important; 
  width: auto;
  white-space: nowrap;
  text-decoration: none;
}

#kp-header ul#menu-menu-glowne li a:hover {
  text-decoration: underline !important;
}


/* --- MEGA MENU --- */
.kp-mega-trigger > a::after {
  content: "↓";
  position: absolute !important;
  right: 0; 
  top: 50%;
  transform: translateY(-50%);
  font-size: .9em;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
}

@keyframes kp-arrow-down-flow {
  0% { transform: translate(0, -50%); opacity: 1; }
  40% { transform: translate(0, calc(-50% + 12px)); opacity: 0; }
  40.1% { transform: translate(0, calc(-50% - 12px)); opacity: 0; }
  100% { transform: translate(0, -50%); opacity: 1; }
}

.kp-mega-trigger:hover > a::after {
  animation: kp-arrow-down-flow 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.kp-mega-trigger--active > a::after {
  content: "↓";
  opacity: 1;
  animation: none;
}

.kp-mega-panel {
  position: fixed !important; 
  top: 60px !important; 
  left: 0 !important;
  width: 100% !important;
  z-index: 10009;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  pointer-events: none;
  background-color: var(--kp-white);
}

.kp-mega-panel.kp-mega-panel--active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto;
}

.kp-mega-trigger > .sub-menu,
.kp-mega-trigger > ul {
  display: none !important;
}

.kp-mega-links li a {
  text-decoration: none;
}

@media (max-width: 980px) {
  .kp-mega-panel, 
  .kp-mega-trigger > a::after {
    display: none !important;
  }
  #kp-header ul#menu-menu-glowne li {
    margin-left: 20px !important;
  }
}

/* --- SHADOW W MENU--- */
.kp-mega-panel.kp-mega-panel--active {
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.01),
    0 4px 8px rgba(0, 0, 0, 0.01),
    0 8px 16px rgba(0, 0, 0, 0.01),
    0 16px 32px rgba(0, 0, 0, 0.01),
    0 32px 64px rgba(0, 0, 0, 0.01);
}

/* --- FIX DLA EDYTORA DIVI (THEME BUILDER) --- */

.et-fb .kp-mega-panel {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  position: relative !important;
  top: 0 !important;
  pointer-events: auto !important;
  margin-bottom: 20px !important;
  border: 2px dashed var(--kp-accent) !important;
}

.et-fb .kp-mega-trigger > a::after {
  display: none !important;
}


/* =============================================
   MOBILE MENU 
   ============================================= */

/* Ukryj natywne Divi mobile menu */
@media (max-width: 1090px) {
  #kp-header-mobile .et_mobile_nav_menu,
  #kp-header-mobile .et_pb_menu__wrap {
    display: none !important;
  }
}

/* Header NAD overlayem */
#kp-header-mobile,
#kp-header-mobile .et_pb_row_0_tb_header {
  position: relative !important;
  z-index: 10002 !important;
}

.kp-kolumna-menu {
  display: flex;
  align-items: flex-end !important;
  row-gap: 0px !important;
}

.kp-mobile-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.kp-mobile-cart-button {
  display: none;
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  background: none !important;
  color: transparent !important;
  font-size: 0 !important;
}

.kp-mobile-cart-button::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  background-color: #13283A;
  -webkit-mask: url('/wp-content/uploads/2026/03/ikona-koszyka.svg') center center / contain no-repeat;
  mask: url('/wp-content/uploads/2026/03/ikona-koszyka.svg') center center / contain no-repeat;
  z-index: 1;
}

.kp-mobile-cart-button::after {
  display: none !important;
  content: none !important;
}

/* Hamburger */
.kp-hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--kp-text);
  z-index: 10003 !important;
  position: relative !important;
  font-family: inherit;
}

@media (max-width: 1090px) {
  .kp-mobile-cart-button {
    display: inline-block;
  }

  .kp-hamburger {
    display: flex;
  }
}

/* Overlay */
.kp-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
}

.kp-mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.kp-mobile-overlay__bg {
  position: absolute;
  inset: 0;
  background: rgba(225, 230, 238, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.kp-mobile-overlay.is-open .kp-mobile-overlay__bg {
  background: rgba(225, 230, 238, 0.7);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* NAV */
.kp-mobile-nav {
  position: fixed;
  top: var(--kp-header-offset, 80px);
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 20px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 10001;
}

.kp-mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kp-mobile-nav__item {
  border-bottom: 1px solid var(--kp-text);
}

.kp-mobile-nav__link {
  display: block;
  padding: 20px 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--kp-text);
  text-decoration: none;
}

.kp-mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--kp-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.kp-mobile-nav__chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--kp-text);
}

.kp-mobile-nav__item.is-expanded .kp-mobile-nav__chevron {
  transform: rotate(180deg);
}

.kp-mobile-nav__submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.kp-mobile-nav__item.is-expanded .kp-mobile-nav__submenu {
  max-height: 800px;
}

.kp-mobile-nav__submenu li:last-child a {
  margin-bottom: 30px;
}

.kp-mobile-nav__submenu li a {
  display: block;
  padding: 10px 0 10px 4px;
  font-size: 14px;
  font-weight:400!important;
  color: var(--kp-text);
  text-decoration: none;
}

/* CTA */
.kp-mobile-nav__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 90px;
  background: #1a2a3a;
  color: var(--kp-white) !important;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.2s;
}

.kp-mobile-nav__cta:hover {
  background: var(--kp-accent);
  color: var(--kp-white) !important;
}


/*HEADER TRANSPARENT WHEN MENU OPEN*/

body.kp-menu-open #kp-header-mobile,
body.kp-menu-open #kp-header-mobile .et_pb_row,
body.kp-menu-open #kp-header-mobile .et_pb_section,
body.kp-menu-open #kp-header-mobile .et_pb_module,
body.kp-menu-open #kp-header-mobile .et_pb_menu {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

#kp-header-mobile .et_pb_row_0_tb_header {
  background: rgba(225, 230, 238, 0.7) !important;
  backdrop-filter: blur(7px) !important;
  -webkit-backdrop-filter: blur(7px) !important;
  box-shadow: none !important;
}

body.kp-menu-open #kp-header-mobile .et_pb_row_0_tb_header {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}


@media (max-width: 1090px) {
  body.kp-menu-open #kp-header-mobile,
  body.kp-menu-open #kp-header-mobile * {
    transition: none !important;
    animation: none !important;
  }
}


/*Ekrany pośrednie*/
@media (min-width: 1091px) and (max-width: 1300px) {
  #kp-header .et_pb_menu .et-menu > li {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  #kp-header .et_pb_menu .et-menu > li > a {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 14px !important;
  }
}





/* =========================
   PRZYCISKI & BACK TO TOP 
========================= */
.kp-button {
  position: relative !important;
  overflow: hidden !important;
}

.kp-button::after {
  content: "→";
  position: absolute !important;
  right: 1.5em; 
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}

@keyframes arrow-flow {
  0% { transform: translate(0, -50%); opacity: 1; }
  40% { transform: translate(16px, -50%); opacity: 0; }
  40.1% { transform: translate(-16px, -50%); opacity: 0; }
  100% { transform: translate(0, -50%); opacity: 1; }
}

.kp-button:hover::after {
  animation: arrow-flow 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* --- BACK TO TOP --- */
.et_pb_scroll_top:before {
  content: '!';
}

.et_pb_scroll_top.et-pb-icon {
  background: transparent;
  color: #000;
  padding: 12px;
  font-size: 22px;
  right: 20px;
  bottom: 40px !important;
}

.et_pb_scroll_top.et-pb-icon.et-visible {
  transition: all .3s ease-in-out;
}

@media (max-width: 1024px) {
  .et_pb_scroll_top.et-pb-icon {
    background: #EEF2F5;
    border-radius: 8px;
    right: 14px;
    bottom: 20px !important;
  }
}



/* =========================
   KARUZELE & MARQUEE EFFECT
========================= */
.kp-numbers1,
.kp-testimonials-marquee,
.kp-marquee-row {
  overflow: hidden !important;
  --fade: 60px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black var(--fade), black calc(100% - var(--fade)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black var(--fade), black calc(100% - var(--fade)), transparent 100%);
}

.kp-numbers1 > .et_pb_column {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-template-rows: repeat(2, auto) !important;
  width: max-content !important;
  column-gap: 20px !important;
  row-gap: 20px !important;
  will-change: transform;
  animation: kp-numbers-loop 40s linear infinite !important;
  animation-play-state: running !important;
}

.kp-numbers1 .et_pb_group {
  flex: 0 0 auto !important;
  width: 250px;
  max-width: 250px;
  flex-basis: auto !important;
  transform: none !important;
}

.kp-numbers1 .et_pb_group:nth-child(odd) {
  transform: translateX(0) !important;
}

.kp-numbers1 .et_pb_group:nth-child(even) {
  transform: translateX(125px) !important;
}

@keyframes kp-numbers-loop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--kp-numbers-loop-distance, -50%), 0, 0); }
}




/* =========================
   OPINIE
========================= */
.kp-testimonials-marquee {
  overflow: hidden;
}

.kp-testimonials-marquee > .et_pb_column {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  animation: kp-marquee 40s linear infinite !important;
  animation-play-state: running !important;
  will-change: transform;
}

.kp-opinia {
  flex: 0 0 auto !important;
  width: 360px !important;
  max-width: 360px !important;
}

.kp-opinia.et_pb_group {
  flex-basis: auto !important;
}

@keyframes kp-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.kp-testimonials-marquee:hover > .et_pb_column {
  animation-play-state: paused;
}

.kp-numbers1.is-touching > .et_pb_column {
  animation-play-state: paused !important;
}


/* --- OPINIE GOOGLE --- */
.ti-reviews-container {
    width: 100% !important;
    overflow: hidden !important;
}

.ti-reviews-container-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    transition: none !important;
    transform: translate3d(0,0,0);
    will-change: transform;
    position: relative !important;
    left: auto !important;
}

.ti-review-item {
    flex: 0 0 360px !important;
    width: 360px !important;
    margin-right: 20px !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
}

.ti-widget.ti-goog .ti-review-item > .ti-inner {
    background-color: var(--kp-surface) !important;
    border-radius: 20px !important;
    padding: 20px !important;
    min-height: 30px !important;
    height: auto !important;
    border: none !important;
}

@keyframes kp-marquee-google {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ti-controls, .ti-next, .ti-prev, .ti-review-header::before {
    display: none !important;
}

.ti-controls-line,
.ti-controls-line .dot {
    display: none !important;
}

.ti-reviews-container:hover .ti-reviews-container-wrapper {
    animation-play-state: paused !important;
}

.kp-google-marquee .ti-reviews-container {
  width: 100% !important;
  overflow: hidden !important;
  --fade: 60px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black var(--fade), black calc(100% - var(--fade)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black var(--fade), black calc(100% - var(--fade)), transparent 100%);
}

.kp-google-marquee .ti-reviews-container-wrapper {
  margin-left: 0 !important;
}

@media (max-width: 1024px) {
  .kp-numbers1,
  .kp-marquee-row {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .kp-numbers1::-webkit-scrollbar,
  .kp-marquee-row::-webkit-scrollbar {
    display: none;
  }

  .ti-reviews-container {
    overflow: hidden !important;
    overflow-y: hidden !important;
    touch-action: pan-x;
  }

  .kp-google-marquee .ti-controls-line,
  .kp-google-marquee .ti-controls-line .dot,
  .kp-google-marquee .ti-controls,
  .kp-google-marquee .ti-next,
  .kp-google-marquee .ti-prev {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .ti-reviews-container-wrapper {
    transition: none !important;
    left: auto !important;
  }

  .kp-google-marquee .ti-reviews-container-wrapper {
    margin-left: 0 !important;
  }
}


/* =========================
   ZESPOL - KARTY Z OPISEM
========================= */

.kp-team-card {
  position: relative;
  overflow: hidden;
}

.kp-team-name {
  transition: opacity 0.15s ease;
}

.kp-team-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.15s ease;
}

/* =========================
   DESKTOP (HOVER)
========================= */

@media (min-width: 1024px) {

  .kp-team-card:hover .kp-team-footer {
    transform: translateY(0);
    opacity: 1;
  }

  .kp-team-card:hover .kp-team-name {
    opacity: 0;
    pointer-events: none;
  }

  .kp-toggle-icon {
    display: none;
  }

}

/* =========================
   MOBILE (CLICK)
========================= */

@media (max-width: 1023px) {

  .kp-team-card .kp-team-footer {
    position: relative;
    transform: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease,
                opacity 0.3s ease;
  }

  .kp-team-card.active .kp-team-footer {
    max-height: 800px;
    opacity: 1;
  }

  .kp-toggle-icon {
    display: inline-block;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-left: 8px;
  }

  .kp-team-card.active .kp-toggle-icon {
    transform: rotate(45deg);
  }

  .kp-double-name {
    display: none;
  }

  .kp-team-card .kp-team-photo img {
    border-radius: 20px;
  }

}

/* =========================
   ANIMACJA IKONY (BEZ ZMIAN)
========================= */

.kp-team-ikona img,
.kp-toggle-icon1 img {
  transform: rotate(0deg);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  .kp-team-card:hover .kp-team-ikona img {
    transform: rotate(45deg);
  }
}

@media (max-width: 1024px) {
  .kp-team-card.active .kp-team-ikona img,
  .kp-team-card.active .kp-toggle-icon1 img {
    transform: rotate(45deg);
  }

}


/* =========================
   MARQUEE TEAM
========================= */

.kp-marquee-team {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-template-rows: repeat(2, auto) !important;
  width: max-content !important;
  will-change: transform;
  animation: kp-marquee-loop 100s linear infinite !important;
  animation-play-state: running !important;
}

.kp-marquee-team > .et_pb_image {
  width: 160px !important;
  max-width: 160px !important;
}

.kp-marquee-team > .et_pb_image:nth-child(even) {
  transform: translateX(110px);
}

.kp-marquee-team .et_pb_image_wrap,
.kp-marquee-team img {
  width: 100% !important;
  height: auto !important;
  display: block;
}

.kp-marquee-team2 {
  --kp-marquee-loop-distance: var(--kp-marquee2-loop-distance, -50%);
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  width: max-content !important;
  will-change: transform;
  animation: kp-marquee-loop 42.5s linear infinite !important;
  animation-play-state: running !important;
}

.kp-marquee-team2 > .et_pb_image {
  width: 160px !important;
  max-width: 160px !important;
  flex: 0 0 auto;
}

.kp-marquee-team2 .et_pb_image_wrap,
.kp-marquee-team2 img {
  width: 100% !important;
  height: auto !important;
  display: block;
}

@keyframes kp-marquee-loop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--kp-marquee-loop-distance, -50%), 0, 0); }
}

.kp-marquee-row.is-touching .kp-marquee-team,
.kp-marquee-row.is-touching .kp-marquee-team2 {
  animation-play-state: paused !important;
}

/* =========================
   O NAS - KARUZELA PIONOWA ZE ZDJECIAMI
========================= */

.kp-team-zdjecia {
  position: relative;
  height: 85vh;
  overflow: hidden;
  display: block;
}

.kp-team-track {
  display: block !important;
  column-count: 4 !important;
  column-gap: 3px !important;
  width: 100%;
  animation: team-marquee-vertical 40s linear infinite;
  will-change: transform;
}

.kp-team-track .et_pb_image {
  display: block;
  width: 100%;
  margin-bottom: 3px !important;
  break-inside: avoid;
  padding: 0 !important;
}

.kp-team-track img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

@keyframes team-marquee-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@media (max-width: 1024px) and (min-width: 810px) {
  .kp-team-track {
    column-count: 3 !important;
  }
}

@media (max-width: 809px) {
  .kp-team-track {
    column-count: 2 !important;
  }
}


/* =========================
   KAFELKI OFERTY
========================= */

.kp-oferta-kafelek {
  transition: background-color .3s ease;
  cursor: pointer;
}

.kp-oferta-heading h3 {
  transition: color .3s ease;
  color: var(--kp-ink) !important;
}

.kp-oferta-napis {
  opacity: 0;
  transition: opacity .3s ease;
}

.kp-oferta-ikona img {
  content: url("/wp-content/uploads/2026/03/add-2.svg");
  transition: transform .3s ease, opacity .3s ease;
}

/* --- HOVER --- */
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
  .kp-oferta-kafelek:hover {
    background-color: var(--kp-accent-hover);
  }

  .kp-oferta-kafelek:hover .kp-oferta-heading h3,
  .kp-oferta-kafelek:hover .kp-oferta-heading h3:hover {
    color: var(--kp-white) !important;
  }

  .kp-oferta-kafelek:hover .kp-oferta-napis {
    opacity: 1;
  }

  .kp-oferta-kafelek:hover .kp-oferta-napis .et_pb_text_inner,
  .kp-oferta-kafelek:hover .kp-oferta-napis .et_pb_text_inner * {
    color: var(--kp-white) !important;
  }

  .kp-oferta-kafelek:hover .kp-oferta-ikona img {
    content: url("/wp-content/uploads/2026/04/plusik-bialy.svg");
  }

  .kp-oferta-kafelek:hover a:not(.et_pb_button):not(.kp-button) {
    color: var(--kp-white) !important;
    text-decoration: underline !important;
  }
}

/* --- TABLET & MOBILE --- */
@media (max-width: 1024px) {
  .kp-oferta-napis {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: height .5s ease, opacity .3s ease;
  }

  .kp-oferta-kafelek.is-open .kp-oferta-napis {
    opacity: 1;
  }

  .kp-oferta-kafelek {
    scroll-margin-top: 220px;
  }

  .kp-oferta-kafelek:hover .kp-oferta-ikona img,
  .kp-oferta-kafelek.is-open .kp-oferta-ikona img {
    content: url("/wp-content/uploads/2026/03/add-2.svg") !important;
  }
}

.kp-fade-container {
  position: relative;
  display: flex !important;
}

.kp-fade-image {
  width: 100% !important;
  opacity: 0;
  position: absolute !important;
  top: 0;
  left: 0;
  animation: kpSpotFade 6s infinite linear;
}

.kp-fade-image:first-child {
  position: relative !important;
}

.kp-fade-image:nth-child(1) { animation-delay: 0s; }
.kp-fade-image:nth-child(2) { animation-delay: 1.5s; }
.kp-fade-image:nth-child(3) { animation-delay: 3s; }
.kp-fade-image:nth-child(4) { animation-delay: 4.5s; }

@keyframes kpSpotFade {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}


/* --- STRONY MATKI - RANKINGI, KALKULATORY, OFERTA --- */
@media (max-width: 1024px) {
  .kp-rankingi-kafelek .kp-oferta-napis,
  .kp-kalkulatory-kafelek .kp-oferta-napis,
  .kp-of-kafelek .kp-oferta-napis {
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
  }

  .kp-rankingi-kafelek .kp-oferta-napis .et_pb_text_inner,
  .kp-rankingi-kafelek .kp-oferta-napis .et_pb_text_inner *,
  .kp-kalkulatory-kafelek .kp-oferta-napis .et_pb_text_inner,
  .kp-kalkulatory-kafelek .kp-oferta-napis .et_pb_text_inner *,
  .kp-of-kafelek .kp-oferta-napis .et_pb_text_inner,
  .kp-of-kafelek .kp-oferta-napis .et_pb_text_inner * {
    color: var(--kp-ink) !important;
  }

  .kp-rankingi-kafelek .kp-oferta-ikona img,
  .kp-kalkulatory-kafelek .kp-oferta-ikona img,
  .kp-of-kafelek .kp-oferta-ikona img {
    transform: none !important;
  }
}

html {
  overflow-anchor: none;
}




/* =========================
   FAQ & AKORDEONY
========================= */
.et_pb_toggle_content {
  max-width: 650px;
}

@media (max-width: 1024px) {
  .et_pb_accordion .et_pb_toggle_content {
    transition: none !important;
    animation: none !important;
  }

  .et_pb_accordion .et_pb_toggle_open .et_pb_toggle_content {
    display: block !important;
  }

  .et_pb_accordion .et_pb_toggle_close .et_pb_toggle_content {
    display: none !important;
  }
}

@media (min-width: 981px) {
  .kp-faq-blue .et_pb_accordion_item.et_pb_toggle_close:hover .et_pb_toggle_title,
  .kp-faq-blue .et_pb_accordion_item.et_pb_toggle_close:hover .et_pb_toggle_title span {
    color: var(--kp-white) !important;
  }

  .kp-faq-blue .et_pb_accordion_item.et_pb_toggle_close:hover .et_pb_toggle_title::before,
  .kp-faq-blue .et_pb_accordion_item.et_pb_toggle_close:hover .et_pb_toggle_title::after {
    color: var(--kp-white) !important;
    border-color: var(--kp-white) !important;
  }

  .kp-faq-blue .et_pb_accordion_item.et_pb_toggle_close:hover {
    background-color: var(--kp-accent-hover) !important;
  }

  .kp-faq-blue .et_pb_accordion_item.et_pb_toggle_close:hover .et_pb_toggle_content,
  .kp-faq-blue .et_pb_accordion_item.et_pb_toggle_close:hover .et_pb_toggle_content p,
  .kp-faq-blue .et_pb_accordion_item.et_pb_toggle_close:hover .et_pb_toggle_content ul,
  .kp-faq-blue .et_pb_accordion_item.et_pb_toggle_close:hover .et_pb_toggle_content li,
  .kp-faq-blue .et_pb_accordion_item.et_pb_toggle_close:hover .et_pb_toggle_content a {
    color: var(--kp-white) !important;
  }

  .kp-faq-blue .et_pb_accordion_item {
    cursor: pointer;
  }
}


/* =========================
   LANDING
========================= */

.kp-button-sticky {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}



/* =========================
   BLOG
========================= */
.kp-blog-grid {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.kp-blog-grid:hover {
  background-color: var(--kp-accent-hover) !important;
}

.kp-blog-grid:hover,
.kp-blog-grid:hover * {
  color: var(--kp-white) !important;
}

.kp-blog-menu ul {
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.blog-grid-loop .kp-blog-grid:first-child {
  background-color: var(--kp-ink) !important; 
  flex-direction: column !important;   
  padding: 20px !important;           
  border-radius: 20px !important;
}

.blog-grid-loop .kp-blog-grid:first-child h2, 
.blog-grid-loop .kp-blog-grid:first-child p,
.blog-grid-loop .kp-blog-grid:first-child .et_pb_text_inner {
  color: var(--kp-white) !important;
}

.blog-grid-loop .kp-blog-grid:first-child .et_pb_button {
  background-color: #DAE5EF !important;
  color: #13283A !important;
}

.blog-grid-loop .kp-blog-grid:first-child .et_pb_button,
.blog-grid-loop .kp-blog-grid:first-child .et_pb_button:before,
.blog-grid-loop .kp-blog-grid:first-child .et_pb_button:after,
.blog-grid-loop .kp-blog-grid:first-child .kp-button {
  color: #13283A !important;
}

.blog-grid-loop .kp-blog-grid:first-child .et_pb_button:hover {
  background-color: #13283A !important;
  color: #DAE5EF !important;
}

.blog-grid-loop .kp-blog-grid:first-child .et_pb_button:hover,
.blog-grid-loop .kp-blog-grid:first-child .et_pb_button:hover:before,
.blog-grid-loop .kp-blog-grid:first-child .et_pb_button:hover:after,
.blog-grid-loop .kp-blog-grid:first-child .kp-button:hover {
  color: #DAE5EF !important;
}

.blog-grid-loop .kp-blog-grid:first-child a.et_pb_button.et_pb_button_0_tb_body.kp-button {
  background-color: #DAE5EF !important;
  color: #13283A !important;
  font-family: 'Figtree', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.blog-grid-loop .kp-blog-grid:first-child a.et_pb_button.et_pb_button_0_tb_body.kp-button:hover,
.blog-grid-loop .kp-blog-grid:first-child a.et_pb_button.et_pb_button_0_tb_body.kp-button:hover:before,
.blog-grid-loop .kp-blog-grid:first-child a.et_pb_button.et_pb_button_0_tb_body.kp-button:hover:after {
  background-color: #13283A !important;
  color: #DAE5EF !important;
}

.blog-grid-loop .kp-blog-grid:first-child .kp-button:hover {
  color: var(--kp-white)!important; 
}

.blog-grid-loop .kp-blog-grid:first-child .kp-button:hover:after {
  color: var(--kp-ink)!important; 
}

#kp-blog-featured-post a.et_pb_button.kp-button,
#kp-blog-featured-post a.et_pb_button.kp-button:before {
  background-color: #DAE5EF !important;
  color: #13283A !important;
}

#kp-blog-featured-post a.et_pb_button.kp-button {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

#kp-blog-featured-post a.et_pb_button.kp-button:after {
  background: transparent !important;
  color: #13283A !important;
  animation: none !important;
}

#kp-blog-featured-post a.et_pb_button.kp-button:hover,
#kp-blog-featured-post a.et_pb_button.kp-button:hover:before {
  background-color: #13283A !important;
  color: #DAE5EF !important;
}

#kp-blog-featured-post a.et_pb_button.kp-button:hover:after {
  background: transparent !important;
  color: #DAE5EF !important;
  animation: none !important;
}

.blog-grid-loop .kp-blog-grid:first-child .et_pb_column {
  width: 100% !important;
  max-width: 100% !important;
}

.blog-grid-loop .kp-blog-grid:first-child .et_pb_divider_hidden {
  height:300px;
}

.wp-pagenavi {
    border:none;
}


/* --- BLOG: LUPKA SEARCH --- */
.et_pb_search_0_tb_body .et_pb_searchform {
    display: flex !important;
    align-items: center !important;
    background-color: #dbe4ed !important; 
    border-radius: 50px !important;
    padding: 10px !important;
    position: relative !important;
    height: 44px !important;
    overflow: hidden !important;
}

.et_pb_search_0_tb_body .et_pb_s {
    background-color: transparent !important;
    border: 0px !important;
    color: #0d1e2d !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 50px 0 20px !important;
    font-size: 16px !important;
    margin: 0 !important;
}

.et_pb_search_0_tb_body .et_pb_searchform:before {
    display: none !important;
}

.et_pb_search_0_tb_body .et_pb_searchsubmit {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    width: 50px !important;
    height: 100% !important;
    background-color: transparent !important;
    border: 0px !important;
    cursor: pointer !important;
    z-index: 99 !important;
    font-size: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
}

.et_pb_search_0_tb_body .et_pb_searchform:after {
    content: "U" !important;
    font-family: "ETmodules" !important;
    position: absolute !important;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #0d1e2d !important;
    z-index: 1 !important;
    pointer-events: none;
}


.et_pb_search_0_tb_body .et_pb_s:focus {
    outline: none !important;
    box-shadow: none !important;
}

.et_pb_search_0_tb_body.et_pb_search.et_pb_bg_layout_light.et_pb_module.et_flex_module.preset--group--divi-search--divi-font--default {
border:0px;}



/* --- BLOG: TRESC WPISU --- */
.lwptoc_item {
  padding-bottom:2em;
  font-family:'Mato Sans Medium', Helvetica, Arial, Lucida, sans-serif;
}

b.lwptoc_title {
  display:none;
}

ul.wp-block-list {
  padding-bottom:10px;
}

.blog-post-text blockquote {
  border:none;
  position:relative;
  padding:30px;
  margin:2em 0 2em;
  border-radius:20px;
  background:#F6F5F3;
}

.blog-post-text blockquote::before {
  content:'';
  background: #F6F5F3;
  opacity:0.1;
  width:100%;
  height:100%;
  position:absolute;
  z-index:-1;
  left:0; 
  top:0;
  border-radius:5px;
}

.blog-post-text blockquote .wp-block-heading,
.blog-post-text blockquote h1,
.blog-post-text blockquote h2,
.blog-post-text blockquote h3,
.blog-post-text blockquote h4,
.blog-post-text blockquote h5,
.blog-post-text blockquote h6 {
  color: #573424 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.blog-post-text table {
  width: 100%; 
  margin: 1em 0;
  font-family: inherit;
  border-collapse: collapse !important;
  border: 1px solid #D1D9E0 !important; 
}

.blog-post-text table th {
  background-color: var(--kp-ink); 
  color: var(--kp-white);
  padding: 12px 15px;
  text-align: left;
  border: 1px solid var(--kp-ink); 
}

.blog-post-text table td {
  padding: 10px 15px;
  border: 1px solid #D1D9E0 !important; 
  color: #333;
}

.blog-post-text table tbody tr:nth-child(even) {
  background-color: var(--kp-surface);
}

.blog-post-text table tbody tr:hover {
  background-color: #DAE5EF;
  transition: background-color 0.3s ease;
}

@media (max-width: 1024px) {
  .blog-post-text .wp-block-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .blog-post-text .wp-block-table table {
    width: max-content;
    min-width: 100%;
  }

  .blog-post-text .wp-block-table th,
  .blog-post-text .wp-block-table td {
    min-width: 140px;
    max-width: 240px;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
  }

  h6.dvmd_tm_cdata {
    text-align: left !important;
  }
}

.blog-post-text .wp-block-accordion-item {
  background-color: #DEE9F3 !important; 
  border-radius: 20px 20px 20px 0px;
  border: none !important; 
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 10px 0px;
}

.blog-post-text .wp-block-accordion-item:hover {
  background-color: var(--kp-accent) !important;
}

.blog-post-text .wp-block-accordion-item:hover .wp-block-accordion-heading,
.blog-post-text .wp-block-accordion-item:hover .wp-block-accordion-heading__toggle,
.blog-post-text .wp-block-accordion-item:hover .wp-block-accordion-heading__toggle span,
.blog-post-text .wp-block-accordion-item:hover .wp-block-accordion-heading__toggle-title,
.blog-post-text .wp-block-accordion-item:hover .wp-block-accordion-heading__toggle-icon,
.blog-post-text .wp-block-accordion-item:hover .wp-block-accordion-panel,
.blog-post-text .wp-block-accordion-item:hover a {
  color: var(--kp-white) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.blog-post-text .wp-block-accordion-heading__toggle {
  width: 100%;
  padding: 20px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent !important;
  border: none !important;
  color: var(--kp-ink) !important;
  font-weight: 500 !important;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.blog-post-text .wp-block-accordion-heading__toggle-title {
  text-decoration: none !important;
}

.blog-post-text .wp-block-accordion-heading__toggle-icon {
  font-size: 20px;
  color: var(--kp-ink);
  font-weight: 300;
  transition: color 0.3s ease;
}

.blog-post-text .wp-block-accordion-panel {
  padding: 0px 20px 20px;
  color: var(--kp-ink) !important;
  line-height: 1.2;
  background: transparent !important;
  transition: color 0.3s ease;
}

.blog-post-text .wp-block-accordion-panel p {
  margin: 0 !important;
}

.blog-post-text h3.wp-block-accordion-heading {
  padding: 0px !important;
  margin: 0px !important;
  text-decoration: none !important;
  border: none !important;
}

.blog-post-text .wp-block-button__link {
  font-family: 'Figtree', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  color: var(--kp-white) !important;
  text-decoration: none !important;
  background-color: var(--kp-accent) !important;
  border-radius: 50px !important;
  padding: 16px 4.5em 16px 30px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer;
  margin: 1em 0em;
}

.blog-post-text .wp-block-button__link::before {
  display: none !important;
}

.blog-post-text .wp-block-button__link::after {
  content: "→" !important;
  position: absolute !important;
  right: 1.5em; 
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}

.blog-post-text .wp-block-button__link:hover {
  background-color: var(--kp-ink) !important;
  color: var(--kp-white) !important;
}

.blog-post-text .wp-block-button__link:hover::after {
  animation: arrow-flow 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}


/*Blog - banner*/
.kp-blog-banner h4 {
    padding:0px!important;
}

.kp-blog-banner a.et_pb_button {
    text-decoration:none!important;
}


/* =========================
   FOOTER
========================= */
@media (max-width:980px) {
  #kp-footer .et_mobile_nav_menu,
  .kp-blog-menu .et_mobile_nav_menu{
    display: none!important;
  }
  #kp-footer .et_pb_menu__menu,
  .kp-blog-menu {
    display: block!important;
  }
  #kp-footer .et_pb_menu__menu,
  #kp-footer .et_pb_menu__menu > nav > ul,
  .kp-blog-menu .et_pb_menu__menu,
  .kp-blog-menu .et_pb_menu__menu > nav > ul {
    display: flex;
    flex-direction: column!important;
    flex-wrap: nowrap!important;
  }
  #kp-footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap,
  .kp-blog-menu.et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    justify-content: flex-start!important;
  }
  #kp-footer .kp-regulaminy .et_pb_menu__menu > nav > ul {
    flex-direction: row!important;
    justify-content: flex-start!important;
    flex-wrap: wrap!important;
  }
}



/* =========================
   COOKIES CONSENT BAR
========================= */
@media(max-width:980px) {
  .cky-consent-bar p {
    font-size:13px;
    line-height:1.0;
  }
  .cky-consent-bar {
    padding:10px!important;
  }
  p.cky-title, .cky-notice-des, .cky-notice-btn-wrapper {
    padding:0px 15px!important;
  }
  .cky-notice-btn-wrapper {
    display:inline-block!important;
  }
  button.cky-btn {
    width:100px;
    padding:.25em;
  }
}

@media (max-width:980px){
button.cky-btn.cky-btn-accept,
button.cky-btn.cky-btn-reject,
button.cky-btn.cky-btn-customize {
    padding: .5em;}}



/* =========================
   FORMINATOR FORM
========================= */
#kp-forminator-form .forminator-label {
  margin-bottom: 10px !important;
}

@media (max-width: 980px) {
  .forminator-custom-form {
    width: 100% !important;
  }
}

@media (max-width: 988px) {
  .forminator-pagination-footer {
    display: flex !important;
    flex-direction: column !important;
    margin-top: 0 !important;
  }

  button.forminator-button.forminator-button-back {
    order: 2 !important;
  }

  button.forminator-button.forminator-button-next {
    order: 1 !important;
    margin-bottom: 15px !important;
  }

  button#forminator-submit {
    order: 1 !important;
    margin-bottom: 15px !important;
  }
}

.forminator-pagination-footer {
  margin-top: 20px !important;
}

span.forminator-checkbox-box {
  border-radius: 20px;
}

#kp-forminator-form .forminator-row-last .forminator-col {
  display: flex;
  justify-content: flex-end;
}

#kp-forminator-form .forminator-row-last .forminator-field {
  margin-left: auto;
}

#kp-forminator-form .forminator-button-submit {
  margin-left: auto;
}

button.forminator-button.forminator-button-submit {
    text-transform: uppercase;
    padding: .75em 2em!important;
    border-radius:90px!important;,
    cursor: pointer!important;
}


/* --- TOOLTIP --- */
.forminator-checkbox-label {
  display: inline !important;
  white-space: normal !important;
}

.tooltip-wrap {
  display: inline !important;
  position: relative;
}

.tooltip-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 13px !important;
  height: 13px !important;
  background: var(--kp-accent);
  color: var(--kp-white) !important;
  border-radius: 50%;
  font-size: 9px !important;
  font-family: serif !important;
  font-weight: bold !important;
  font-style: italic !important;
  cursor: pointer;
  margin-left: 5px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.tooltip-wrap .tooltip-text {
  position: absolute;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
  max-width: 480px;
  width: 90vw;
  background: var(--kp-white);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  bottom: 25px;
  left: 0;
}

.tooltip-wrap[data-open] .tooltip-text,
.tooltip-wrap:hover .tooltip-text,
.tooltip-wrap:focus-within .tooltip-text {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tooltip-wrap[data-open] .tooltip-content {
  display: block !important;
}

/* --- PASEK POSTEPU --- */
#kp-forminator-form {
  display: flex !important;
  flex-direction: column !important;
}

.forminator-pagination-progress {
  order: 2 !important;
  margin: 20px 0 !important;
}

.forminator-pagination {
  order: 1 !important;
}

.forminator-pagination-footer {
  order: 3 !important;
}

.forminator-pagination.forminator-pagination-start {
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}





/* =============================================
   KP NEWSLETTER
   ============================================= */
.kp-newsletter .ml-form-embedWrapper.embedForm p,
.kp-newsletter .ml-form-embedWrapper.embedForm input,
.kp-newsletter .ml-form-embedWrapper.embedForm button {
    font-family: 'Figtree', sans-serif !important;
    line-height: 1.3em !important;
}

.kp-newsletter .ml-form-embedWrapper.embedForm input {
    font-size: 14px !important;
}

.kp-newsletter 
.ml-form-embedWrapper 
.ml-form-embedBody 
.ml-form-embedPermissions 
.ml-form-embedPermissionsContent 
p,
.kp-newsletter 
.ml-form-embedWrapper 
.ml-form-embedBody 
.ml-form-embedPermissions 
.ml-form-embedPermissionsContent 
p span {
    font-size: 12px !important;
    line-height: 1.3em !important;
}

.kp-newsletter .ml-form-embedContainer button.primary:hover {
    color: var(--kp-ink) !important;
}


@media (max-width: 768px) {

  .kp-newsletter form {
    display: flex !important;
    flex-direction: column !important;
  }

  .kp-newsletter .ml-button-horizontal {
    display: none !important;
  }

  .kp-newsletter .ml-mobileButton-horizontal {
    display: block !important;
    order: 2;
    margin-top: -10px !important;
  }

  .kp-newsletter .ml-form-embedPermissions {
    order: 3;
    margin-top: 15px !important;
  }

}

.kp-newsletter .ml-form-embedPermissions {
    margin-bottom: 0 !important;
}

.kp-newsletter .ml-form-embedPermissions p {
    margin-bottom: 0 !important;
}



/* =============================================
   SKLEP
   ============================================= */

.kp-product-text blockquote {
  border: none;
  position: relative;
  padding: 30px;
  margin: 2em 0 2em;
  border-radius: 20px;
  background: #F6F5F3;
  border:none!important;
}

.kp-product-text blockquote::before {
  content: '';
  background: #F6F5F3;
  opacity: 0.1;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  border-radius: 5px;
}

.kp-product-text blockquote .wp-block-heading,
.kp-product-text blockquote .wp-block-heading *,
.kp-product-text blockquote h1,
.kp-product-text blockquote h1 *,
.kp-product-text blockquote h2,
.kp-product-text blockquote h2 *,
.kp-product-text blockquote h3,
.kp-product-text blockquote h3 *,
.kp-product-text blockquote h4,
.kp-product-text blockquote h4 *,
.kp-product-text blockquote h5,
.kp-product-text blockquote h5 *,
.kp-product-text blockquote h6,
.kp-product-text blockquote h6 * {
  color: #573424 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  font-family: "Mato Sans", sans-serif !important;
  font-style: normal !important;
}


.kp-product-text blockquote,
.kp-product-text blockquote p,
.kp-product-text blockquote ul,
.kp-product-text blockquote ol,
.kp-product-text blockquote li,
.kp-product-text blockquote span,
.kp-product-text blockquote strong,
.kp-product-text blockquote em,
.kp-product-text blockquote .wp-block-heading,
.kp-product-text blockquote h1,
.kp-product-text blockquote h2,
.kp-product-text blockquote h3,
.kp-product-text blockquote h4,
.kp-product-text blockquote h5,
.kp-product-text blockquote h6,
.kp-product-text blockquote a {
  color: #573424 !important;
  font-style: normal !important;
}

.kp-product-text blockquote p,
.kp-product-text blockquote ul,
.kp-product-text blockquote ol,
.kp-product-text blockquote li,
.kp-product-text blockquote span,
.kp-product-text blockquote strong,
.kp-product-text blockquote em,
.kp-product-text blockquote a {
  font-family: "Figtree", sans-serif !important;
  font-weight: 400 !important;
}


.kp-product-text p:last-of-type {
  padding-bottom: 1em;
}

.kp-product-text :is(p, ul, ol, blockquote) ~ :is(h1, h2, h3, h4, h5, h6) {
  padding-top: 1.2em;
}

.kp-product-text :is(p, ul, ol, blockquote):last-child {
  padding-bottom: 0;
}

button.single_add_to_cart_button.button.alt:after {
display:none!important    
}

.kp-product-text .et_pb_module_inner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 20px;
}
