#zen-slider-onboarding .flip-box-inner{
    transform-style: unset !important;
}
.pagination_wrap {
  display: flex !important;
  justify-content: center !important; 
  margin-top:32px;
}

.swiper-pagination{
    display:inline-block !important;
    border-radius:50px;
    position:static;
}

.swiper-pagination-bullet-active{
    background-color: #22E243;
}


@media (max-width:768px) {
    .zen-slider .swiper-slide {
        width: 75vw !important;
    }

    .swiper {
        padding: 0 30px !important;
    }
}

/* .zen-slider .swiper-slide { width: 302px !important; } */

.zen-flip-section footer {
    margin-top: 40px;
}

.slider_desktop_mobile_wrap {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden
}

.zen-steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1520px;
    margin: 0 auto;
    margin-top: 90px;
    margin-bottom: 80px;
}

.zen-step-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
    width: 100%;
    height: 446px;
    margin: 0 auto
}

.zen-step-box a {}

.zen-step-box h3 {
    color: #000;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
    z-index: 2;
    position: relative;
}

.zen-step-box p {
    color: #A3A3A3;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    height: 90px;
    line-height: 18px;
    margin-top: 5px;
    margin-bottom: 0;
    z-index: 2;
    position: relative;
}

.zen-step-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    z-index: 1;
}

.zen-heading,
.zen-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    margin:auto;
    color: #000;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Nunito;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 33.6px */
    margin-bottom:24px;
}

.zen-heading {
    display: flex;
    width: 297.506px;
    height: 116.429px;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.zen-heading h2{
    color: #000;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Nunito;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.zen-heading-2{
    width: 304.016px;
    flex-shrink: 0;
    margin:0 8px;
}

.zen-heading-2{
    color: #000;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Nunito;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; 
}

.zen-text {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.zen-cta-button {
    margin: 40px auto 0;
    display: block;
    padding: 14px 28px;
    border-radius: 30px;
    background: #22E243;
    color: #000;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    font-family: Nunito;
    cursor: pointer;
    line-height: 48px !important
}


@media (max-width: 1199px) {
    .zen-steps-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .zen-step-box {
        max-width: 352px;
        width: 100%;
    }

    .zen-cta-button {
        display: none;
    }

    .zen-steps-wrapper .zen-heading {

        font-size: 28px;
        font-style: normal;
        font-weight: 700;
        line-height: 120%;
    }
    .zen-steps-wrapper .zen-text-mobile {
       color: #222;
font-family: Nunito;
font-size:  17px;
font-style: normal;
font-weight: 500;
line-height: 24px;
    }
    .zen-steps-wrapper .zen-text {

   font-family: Nunito;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 24px; 
        width: 302.836px;
        margin: 32px auto
    }

    .zen-steps-wrapper .zen-text br {
        display: none
    }

    .zen-step-box h3 {
        order: 0 !important
    }
}

@media (max-width: 767px) {
    .zen-steps-row.desktop {
        display: none;
    }

    .zen-flip-section {
        .zen-heading {
            br {
                display: none;
            }
        }
    }

    .zen-slider.mobile {
        display: block;
    }

    .zen-landing-section .zen-heading {
        order: -2;
    }

    .zen-landing-section .zen-text {
        order: -1;
    }

    .zen-text {
        display: none;
    }

    .zen-text-mobile {
        display: block;
        width: 303.656px;
        color: #222;
        font-family: Nunito;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 18px;
        margin:0 8px;
    }

    .zen-steps-wrapper-padding{
        padding: 0 30px !important;
    }

    .zen-steps-wrapper .zen-cta-button {
        display: none;
    }

    .zen-landing-section .zen-cta-button {
        display: none;
    }

    .zen-landing-section {
        h2 {
            padding: 10px
        }
    }
}


#new-money-transfers-view  br{
    display:block !important;
}

#new-money-transfers-view h2{
    margin-top:32px;
    margin-bottom:48px;
}


@media (min-width: 768px) {
    .zen-slider.mobile {
        display: none;
    }


}
@media (max-width: 768px) {
#new-money-transfers-view h2

{
  margin-bottom:24px;
}
.zen-text {
   color: #000;
text-align: center;
font-size:  17px;
font-style: normal;
font-weight: 500;
line-height:  23px
}
}
.zen-landing-section {
    position: relative;
    margin-top: 260px
}



.zen-steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1520px;
    margin: 0 auto;
    margin-top: 90px;
    margin-bottom: 80px;
}

@media (max-width: 1199px) {
    .zen-steps-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .zen-steps-row.desktop {
        display: none;
    }

    .zen-slider.mobile {
        display: block;
    }

    .flip-box {
        max-width: 304px !important
    }
}

@media (min-width: 768px) {
    .zen-slider.mobile {
        display: none;
    }

}

@media (min-width:768px){
  .slider_desktop_mobile_wrap{
    overflow-x: hidden !important;  /* blokuj poziomy scroll */
    overflow-y: visible !important; /* pozwól flipowi wyjść "w górę/dół" */
  }
  .slider_desktop_mobile_wrap .swiper,
  .slider_desktop_mobile_wrap .swiper-wrapper,
  .slider_desktop_mobile_wrap .swiper-slide{
    overflow: visible !important;   /* tu może być widoczne, ale rodzic przytnie X */
  }
}

.flip-box {
    background: transparent;
    width: 100%;
    height: 440px;
    perspective: 1000px;
    margin: 0 auto;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d; 
}

.flip-box.flipped .flip-box-inner {
    transform: rotateY(180deg);
}
.flip-box.flipped .flip-box-back {z-index:99}
.flip-box-front,
.flip-box-back {
    padding: 16px 32px;
    padding-top: 30px;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.flip-box-front {
    background-color: #000;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.flip-box-back {
    border-radius: 16px;
    background: #222;
    color: #FFF;
    transform: rotateY(180deg);
}

.flip-box-back .flip-box-content h3 {
    color: #FFF;
    font-feature-settings: 'liga'off, 'clig'off;
    font-family: Nunito;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 28px;
    /* 116.667% */
    text-transform: uppercase;
}

.flip-box-back .flip-box-content h3 {
    color: #FFF;
    font-family: Nunito;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 28px;
    /* 116.667% */
    text-transform: uppercase;
    margin-bottom: 20px
}

.flip-box-back .flip-box-content p {
    color: #FFF;
    font-family: Nunito;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.zen-flip-section .zen-cta-button {
    max-width: 250px;
}

.flip-box-content h3 {
    color: #FFF;
    font-family: Nunito;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 28px;
    text-transform: uppercase;
}

.flip-box-content p {
    font-size: 14px;
}

.flip-btn {
    margin-top: 20px;
    background: #22e243;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-left: auto
}

.flip-box-button {
    color: #69E245;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    text-decoration-line: underline;
}

.zen-cta-button {
    margin: 40px auto 0;
    display: block;
    padding: 14px 28px;
    border-radius: 30px;
    background: #22E243;
    color: #000;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

/* //custom customclasstext */
.above-flipcards-text--5-kalkulator-walutowy {
    .zen-heading {
        text-wrap: balance;
    }

    @media(min-width:1024px) {
        .zen-heading {
            margin-left: auto;
            margin-right: auto;
            max-inline-size: 35ch;
            text-wrap: balance;

            br {
                display: none;
            }
        }

        .zen-text {
            margin-left: auto;
            margin-right: auto;
            max-inline-size: 50ch;
            text-wrap: balance;

            br {
                display: none;
            }
        }
    }
}
.flip-box-text{
    background:#F0EEE7;
    color:#000;
    box-shadow: none;
    padding:unset;
    padding:5px 0px;
}

.flip-box-text h3{
    color:#000
}

.slider--cream .zen-slider .swiper-pagination {
  background: #f0eee7 !important; 
}

.flip-box-text-center{
    text-align: center;
    margin-bottom:15px;
}

.flip-box-text-center img{
    height:158px;
    max-height: 158px;
    width:100%;
    max-width: 100%;
}

.flip-text-content{
    /* padding: 0px 14px; */
    text-transform: none;
}

.flip-text-content h3{
    text-transform: unset;
    /* width: 255px; */
    height: 43px;
    flex-shrink: 0;
    color: #000;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Nunito;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 24px */
    margin-bottom:15px;
}

#zen-slider-onboarding .swiper-slide {
  flex: 0 0 304px;
  width: 304px !important;
}


.flip-box-description ul {
  list-style: disc;       
  font-size:14px;
    padding-left: 1.5rem;
    margin-left:1.5rem;
    max-width:255px;
}

.flip-box-description li {
    color: #000;

    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px; /* 128.571% */  
}
@media (min-width:768px){
        .flip-box-description li {
        color: #000;
        font-family: Nunito;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
    }
}
#zen-slider-onboarding .swiper-wrapper { align-items: stretch;gap:32px }

@media (min-width:768px){
    .page-template-page-multi-currency-account 
#zen-slider-onboarding .swiper-wrapper{
            justify-content: center !important;
        transform: unset !important;
        display: flex !important
;
        flex-wrap: wrap !important;
}
}
#zen-slider-onboarding .swiper-slide { height: var(--flipH, auto); }
#zen-slider-onboarding .flip-box     { height: var(--flipH, auto); width: 100%; }

.flip-box {
  background: transparent;
  perspective: 1000px;
  margin: 0 auto;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
}

.flip-box-front, .flip-box-back {
  padding: 30px;
  position: absolute;
  inset: 0;                
  width: 100%;
  height: 446px;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

.flip-box-text {
  background: #F0EEE7;
  color: #000;
  box-shadow: none;
  padding: 5px 0;
}

.flip-box-text-center { text-align: center; margin-bottom: 15px; }
.flip-text-content    { padding: 0 14px; text-transform: none; }

.pagination_wrap .swiper-pagination {
  display: none !important;
}

.pagination_wrap .swiper-pagination:has(.swiper-pagination-bullet:nth-child(2)) {
  display: block !important;
  align-content: center;
}

.flip-box-back .flip-box-content-text p{
    color: #FFF;
    font-family: Nunito;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    width:250px;
    margin-bottom:12px;
}

.flip-box-content-text a{
    color: #69E245;
}


@media (min-width:768px) {
    .zen-heading{
        display: flex;
        width: 640px;
        flex-shrink: 0;
        color: #000;
        text-align: center;
        font-feature-settings: 'liga' off, 'clig' off;
        font-family: Nunito;
        font-size: 40px;
        font-style: normal;
        font-weight: 800;
        line-height: 120%; /* 48px */
    }
    .zen-heading-2{
        color: #000;
        text-align: center !important;
        width: unset !important;
        font-feature-settings: 'liga' off, 'clig' off;
        font-family: Nunito;
        font-size: 40px !important;
        font-style: normal;
        font-weight: 800 !important;
        line-height: 120%; /* 48px */
    }
    .zen-text-mobile{
        text-align:center !important;
    }
    
}

@media (min-width:1200px) {
    .pagination_wrap{
        margin-top: 48px !important;
    }

        #zen-slider-onboarding .swiper-wrapper{
        justify-content: center;
    }
}