/* =========================
   CALC – SAVINGS CALCULATOR
   ========================= */

.zen-calc__header {
  text-align: center;
  margin-bottom: 75px;
  position: relative;
  z-index: 20;
}

.zen-calc__title {
  color: #000;
  text-align: center;
  font-family: Nunito;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 64px;
  margin-bottom: 25px;
}

.zen-calc__title .green {
  color: var(--Accent-Green, #22E243);
}

@supports (text-box: trim-both cap alphabetic) {
  .zen-calc__title {
    text-box: trim-both cap alphabetic;
  }
}

.zen-calc__desc {
  color: #222;
  text-align: center;
  font-family: Nunito;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

@supports (text-box: trim-both cap alphabetic) {
  .zen-calc__desc {
    text-box: trim-both cap alphabetic;
  }
}

.zen-calc__desc strong {
  font-weight: 700;
}

.zen-calc__desc u {
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.zen-calc__desc svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.zen-calc {
  --zen-calc-green:    #2EE55B;
  --zen-calc-dark:     #181818;
  --zen-calc-card-bg:  #F0EEE7;
  --zen-calc-track-bg: rgba(0,0,0,.10);
  --zen-calc-radius:   22px;
  --zen-calc-padding:  28px;

  padding: 0 44px;
  position: relative;
}

.zen-calc-parallax {
  position: absolute !important;
  z-index: 10;
  top: calc(100% - 340px);
  width: calc(50vw - 370px);
  right: 0;
  bottom: -360px;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
}
.zen-calc-parallax-box {
  position: absolute !important;
  top: 0;
  width: 100%;
  left: 0;
  bottom: 0;
}
.zen-calc-parallax-box img {
  max-height: 100%;
  max-width: 600px;
  object-fit: contain;
  left: auto;
  right: 0;
}

@media screen and (max-width: 1450px) {
  .zen-calc-parallax {
    width: calc(50% - 170px);
  }
  .zen-calc-parallax-box {
    left: 200px;
    width: 100%;
  }
}

.zen-calc-box {
  max-width: 1312px;
  margin: 0 auto;
  background: linear-gradient(235deg, #FFF 0%, rgba(255, 255, 255, 0.20) 100%);
  border-radius: 44px;
  box-shadow: 0 -7px 120px -81px rgba(0, 0, 0, 0.24);
  padding: 1px;
}
.zen-calc-box-2 {
  background: linear-gradient(180deg, #F0EEE7 0%, #E8E1D4 100%);
  border-radius: 44px;
  padding: 88px 20px 121px;
}

.zen-calc-flex {
  /* max-width: 936px; */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  font-family: inherit;
}

.zen-calc__card-wrap, .zen-calc__summary{
  max-width: 936px;
  margin: 0 auto;
  width: 100%;
}

.zen-calc__tabs-outer{
  position: relative;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.zen-calc__tab-name{
  color: var(--Shades-Dark-Side-Rich-Black, #000);
}

.zen-calc__tab-amount{
  color: var(--Shades-Dark-Side-Soft-Grey, #888);
}

/* ACTIVE (biały bg) */
.zen-calc__tab.is-current .zen-calc__tab-name{
  color: var(--Shades-Dark-Side-Rich-Black, #000);
}
.zen-calc__tab.is-current .zen-calc__tab-amount{
  color: var(--Accent-Green, #22E243);
}

.zen-calc__tab-value{
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 4px;
  flex-wrap: nowrap;
}

/* /month — domyślnie (nieaktywny / disabled) */
.zen-calc__tab-suffix{
  opacity: 0.5;
  color: var(--Shades-Bright-Side-Soft-Grey, #888);
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Nunito;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}

/* /month — wypełniony (is-filled zawsze dominuje) */
.zen-calc__tab.is-filled .zen-calc__tab-suffix{
  opacity: 1;
  color: var(--Shades-Bright-Side-Beige, #F0EEE7);
  line-height: 32px;
}


/* COMPLETED (gradient dark) */
.zen-calc__tab.is-filled .zen-calc__tab-name{
  color: var(--Shades-Dark-Side-White, #FFF);
}
.zen-calc__tab.is-filled .zen-calc__tab-amount{
  color: var(--Accent-Green, #22E243);
}

/* DISABLED: wygląda jak nieaktywny (bez opacity) */
.zen-calc__tab.is-disabled .zen-calc__tab-name,
.zen-calc__tab:disabled .zen-calc__tab-name{
  color: var(--Shades-Dark-Side-Soft-Grey, #888);
}
.zen-calc__tab.is-disabled .zen-calc__tab-amount,
.zen-calc__tab:disabled .zen-calc__tab-amount{
  color: var(--Shades-Dark-Side-Soft-Grey, #888);
}

/* =========================
   CARD (beige rounded)
   ========================= */
.zen-calc__card-wrap{
  position: relative;
  overflow:hidden;
}

.zen-calc__card{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 43px;
  width: 100%;
  min-height: 230px;
  padding: 40px 40px 40px 40px;
  background: linear-gradient(235deg, #FFF 0%, #F0EEE7 100%);
  border-radius: 16px;
  transition: border-radius .3s ease;
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.06);
  position: relative;
  /* overflow: hidden usunięte — label slidera nie może być ucięty przez kartę */
  z-index: 5;
}

.zen-calc__card-left{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  overflow: hidden;
}

.zen-calc__card-header{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.zen-calc__nav{
  grid-column: 2 / 4;
  grid-row: 3;
  align-self: start;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom:1px;
}

.zen-calc__step{
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  display: flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  border-radius: 64px;
  border: 1px solid #fff;
  box-shadow: 0 0 0 2px transparent;
  background-color: transparent;
  color: #000;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
  transition: box-shadow .25s ease, color .25s ease;
}
.zen-calc__step.is-filled{
  border-color: #22E243;
}
.zen-calc__step.is-done{
  background-color: var(--zen-calc-green);
  border-color: #22E243;
  box-shadow: none;
  color: #000;
}

.zen-calc__mascot{
  width: 156.957px;
  height: 155px;
  flex-shrink: 0;
  aspect-ratio: 80/79;
  pointer-events: none;
}
.zen-calc__mascot-m{
  display: none;
}
.zen-calc__mascot img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.zen-calc__summary-coin img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =========================
   QUESTIONS (slide container)
   ========================= */
.zen-calc__questions{
  position: relative;
  min-height: 120px;
  padding-top: 0px;
  overflow: hidden;
}

.zen-calc__question{
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1),
              opacity .28s ease;
  will-change: transform, opacity;
}

.zen-calc__question.is-current{
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.zen-calc__question.is-leaving{
  position: absolute;
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}

/* going back: incoming from left */
.zen-calc__question.is-entering-left{
  transform: translateX(-100%);
}

.zen-calc__question{
  display: grid;
  grid-template-columns: 40px 1fr var(--q-value-w, max-content);
  column-gap: 16px;
  row-gap: 24px;
}

.zen-calc__question-row{
  display: contents;
}

.zen-calc__question-text{
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  margin-bottom: 0 !important;
  width: 100%;
  max-width: 100%;
  font-family: Nunito, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: #222;
  text-box: trim-both cap alphabetic;
  padding-top: 10px;
}
.zen-calc__question:nth-child(-n+3) .zen-calc__question-text{
  max-width: 367px;
}
.zen-calc__question:nth-child(4) .zen-calc__question-text{
  max-width: 434px;
}

.zen-calc__question-text strong{
  font-weight: 800;
}

.zen-calc__q-row{
  display: contents;
}

.zen-calc__q-value{
  grid-column: 3;
  grid-row: 1;
  display: flex;
  height: 70px;
  padding: 19px 20px;
  justify-content: center;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid #FFF;
  background: #F0EEE7;
}
.zen-calc__q-value-check{
  display: none;
  flex-shrink: 0;
}
.zen-calc__q-value.is-filled .zen-calc__q-value-check{
  display: block;
}
.zen-calc__q-value-text{
  color: #86868B;
  text-align: right;
  white-space: nowrap;
  font-family: Nunito, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}
.zen-calc__q-value.is-filled{
  justify-content: space-between;
}
.zen-calc__q-value.is-filled .zen-calc__q-value-text{
  color: #222;
}

/* =========================
   SLIDER ROW (slider + nav side by side)
   ========================= */
.zen-calc__question-bottom{
  display: contents;
}

.zen-calc__slider-wrap{
  grid-column: 2 / 4;
  grid-row: 2;
  width: 100%;
  position: relative;
  padding: 12px 0;
  overflow: hidden;
  margin-top:6px;
}

/* native range: full coverage, transparent, accessible */
.zen-calc__range{
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  z-index: 2;
  background: transparent;
  border: none;
  outline: none;
}
.zen-calc__range::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 20px; height: 44px;
}
.zen-calc__range::-webkit-slider-runnable-track{
  background: transparent;
}
.zen-calc__range::-moz-range-thumb{
  appearance: none;
  width: 20px; height: 44px;
  border: none;
  opacity: 0;
}
.zen-calc__range::-moz-range-track{
  background: transparent;
}

/* custom track */
.zen-calc__slider-track{
  position: relative;
  height: 16px;
  background: #FFF;
  border-radius: 999px;
  box-shadow: -1px 2px 4.3px 0 rgba(0, 0, 0, 0.12) inset;
  pointer-events: none;
  overflow: hidden;
}

/* green fill */
.zen-calc__slider-fill{
  position: absolute;
  left: 0; top: 0; bottom: 0;
  height: 100%;
  width: var(--zen-calc-fill, 0%);
  background: #22E243;
  border-radius: 999px;
  transition: width .2s ease;
}

.zen-calc__slider-label{
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(0, -50%);
  display: inline-flex;
  height: 40px;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  border-radius: 26px;
  background: linear-gradient(143deg, #222 0.72%, #000 100%);
  pointer-events: none;
  transition: left .2s ease;
}
.zen-calc__slider-label svg{
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

/* =========================
   NAV BUTTONS
   ========================= */
.zen-calc__btn--done{
  display: inline-flex;
  padding: 12px 10px 10px 12px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 24px;
  border: 0;
  background: linear-gradient(143deg, #222 0.72%, #000 100%);
  cursor: pointer;
  transition: opacity .2s ease, filter .2s ease;
}
.zen-calc__btn--done-icon-mobile,
.zen-calc__btn--done-label{
  display: none;
}
.zen-calc__btn--done.is-done .zen-calc__btn--done-icon-mobile path{
  stroke: #22E243;
}
.zen-calc__btn--done.is-done .zen-calc__btn--done-icon-mobile circle{
  fill: #22E243;
}
@media (hover:hover) and (pointer:fine){
  .zen-calc__btn--done:hover{
    filter: brightness(1.2);
  }
}
.zen-calc__btn--skip{
  display: inline-flex;
  padding: 8px 8px 8px 20px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 24px;
  border: 1px solid #222;
  background: transparent;
  cursor: pointer;
  color: #222;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  transition: opacity .2s ease;
}

.zen-calc__btn--nav{
  display: flex;
  width: 248px;
  padding: 8px 8px 8px 20px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 24px;
  border: 1px solid #222;
  background: transparent;
  cursor: pointer;
  color: #222;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  transition: opacity .2s ease, filter .2s ease;
}
.zen-calc__btn--nav .zen-calc__btn-arrow path{
  stroke: #222222;
}
.zen-calc__btn--nav.is-last{
  border: 0;
  background: linear-gradient(143deg, #222 0.72%, #000 100%);
  color: #22E243;
}
.zen-calc__btn--nav.is-last .zen-calc__btn-arrow path,
.zen-calc__btn--nav.is-filled .zen-calc__btn-arrow path{
  stroke: #22E243;
}

.zen-calc__btn--nav:disabled{
  opacity: .3;
  cursor: not-allowed;
}

.zen-calc__btn-arrow{
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* =========================
   TABS
   ========================= */
.zen-calc__tabs-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 5;
}
.zen-calc__tabs-wrap::-webkit-scrollbar{ display: none; }

/* Tab layers: hidden by default — shown on mobile only */
.zen-calc__tab-layer{ display: none; }

.zen-calc__tabs{
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

/* .zen-calc__tab{
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.6);
  cursor: pointer;
  flex-shrink: 0;
  min-width: 120px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  color: #222;
} */


.zen-calc__tab{
  /* wymagane layout */
  display: flex;
  width: 256px;
  padding: 24px 24px 28px 32px;
  align-items: flex-start;
  gap: 8px;

  border-radius: 16px;

  /* shadow-dashboard */
  /* box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.06); */

  /* default = NIEAKTYWNY */
  border: 1px solid #E8E1D4;
  background: var(--Shades-Bright-Side-Beige, #F0EEE7);

  /* reset + UX */
  appearance: none;
  text-align: left;
  cursor: pointer;
  flex-shrink: 0;
  color: #222;
  transition: background .2s ease, border-color .2s ease, transform .18s ease, filter .2s ease;
}
.zen-calc__tab-text{
  display: flex;
  flex-direction: column;
  gap: 4px; /* odstęp name -> amount */
  min-width: 0;
}
/* ACTIVE */
.zen-calc__tab.is-current{
  border: 1px solid #E8E1D4;
  background: var(--Shades-Dark-Side-White, #FFF);
}

/* COMPLETED (uzupełniony — is-filled zawsze dominuje) */
.zen-calc__tab.is-filled{
  border: 0;
  background: var(--Gradient-Darkside, linear-gradient(143deg, #222 0.72%, #000 100%));
}
/* ACTIVE (is-current): icon #000 — gdy NIE jest wypełniony */
.zen-calc__tab.is-current .zen-calc__tab-icon svg path{
  fill: #000;
  stroke: none;
}
/* Tab 1 (Everyday Shopping) is stroke-based */
[data-zen-calc-tab="1"].is-current .zen-calc__tab-icon svg path{
  fill: none;
  stroke: #000;
  stroke-width: 2px;
}

/* Tab 0 (Online Shopping): fill-based icon → zielony fill */
[data-zen-calc-tab="0"].is-filled .zen-calc__tab-icon svg path{
  fill: var(--Accent-Green, #22E243);
  stroke: none;
}
/* Tab 1 (Everyday Shopping): stroke-based icon → zielony stroke */
[data-zen-calc-tab="1"].is-filled .zen-calc__tab-icon svg path{
  fill: none;
  stroke: var(--Accent-Green, #22E243);
  stroke-width: 2px;
}
/* Tab 2 (Electronics) i Tab 3 (Transfers): fill-based → zielony fill */
[data-zen-calc-tab="2"].is-filled .zen-calc__tab-icon svg path,
[data-zen-calc-tab="3"].is-filled .zen-calc__tab-icon svg path{
  fill: var(--Accent-Green, #22E243);
  stroke: none;
}

[data-zen-calc-tab="0"] .zen-calc__tab-icon svg{ width: 17.956px; height: 20.397px; }
[data-zen-calc-tab="1"] .zen-calc__tab-icon svg{ width: 19.506px; height: 19.66px; }
[data-zen-calc-tab="2"] .zen-calc__tab-icon svg{ width: 21.375px; height: 18.228px; }
[data-zen-calc-tab="3"] .zen-calc__tab-icon svg{ width: 21.375px; height: 18.228px; }

/* disabled - NIE rób opacity, bo ma wyglądać jak normalny nieaktywny */
.zen-calc__tab.is-disabled,
.zen-calc__tab:disabled{
  opacity: 1;
  cursor: not-allowed;
  border: 1px solid #E8E1D4;
  background: var(--Shades-Bright-Side-Beige, #F0EEE7);
}


/* .zen-calc__tab.is-current{
  background: var(--zen-calc-dark);
  color: #fff;
  border-color: transparent;
}

.zen-calc__tab.is-filled:not(.is-current){
  border-color: rgba(46,229,91,.3);
  background: rgba(46,229,91,.06);
}

.zen-calc__tab.is-disabled{
  opacity: .4;
  cursor: not-allowed;
} */

.zen-calc__tab-icon{
  font-size: 16px;
  margin-bottom: 2px;
}

.zen-calc__tab-name{
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off, 'clig' off;

  /* Desktop/Paragraph/Body2 Bold */
  font-family: Nunito;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 150% */
}

.zen-calc__tab-amount{
  /* Desktop/Headline/H4 Bold */
  font-family: Nunito, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /* 133.333% */

  /* typografia */
  font-feature-settings: 'liga' off, 'clig' off;
  leading-trim: both;
  text-edge: cap;

  /* default = inactive + active */
  color: var(--Shades-Bright-Side-Soft-Grey, #888);
  opacity: 0.5;
}

/* ACTIVE (nie wypełniony): opacity 0.5 dziedziczone z domyślnego */
.zen-calc__tab.is-current .zen-calc__tab-amount{
  color: var(--Shades-Bright-Side-Soft-Grey, #888);
}

/* FILLED: pełna widoczność + beige (is-filled zawsze dominuje) */
.zen-calc__tab.is-filled .zen-calc__tab-amount{
  opacity: 1;
  color: var(--Shades-Bright-Side-Beige, #F0EEE7);
}

/* DISABLED: jak inactive (czyli też #888) */
.zen-calc__tab.is-disabled .zen-calc__tab-amount,
.zen-calc__tab:disabled .zen-calc__tab-amount{
  color: var(--Shades-Bright-Side-Soft-Grey, #888);
}


/* =========================
   SUMMARY (dark card)
   ========================= */
.zen-calc__summary{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--Gradient-Darkside, linear-gradient(143deg, #222 0.72%, #000 100%));
  color: #fff;
  border-radius: 0 0 var(--zen-calc-radius) var(--zen-calc-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 40px 0 76px;
}
.zen-calc__summary.is-visible{
  max-height: 800px;
  padding: 32px 40px 32px 76px;
  transition: max-height 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zen-summary-in {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}
.zen-calc__card-wrap.has-summary .zen-calc__card{
  border-radius: 16px 16px 0 0;
  padding-bottom: 48px;
}

.zen-calc__card-wrap.has-summary .zen-calc__btn--nav{
  display:none;
}


.zen-calc__btn--nav, .zen-calc__summary-cta,
.zen-calc__btn--nav .zen-calc__btn-arrow path,
.zen-calc__btn--nav.is-last,
.zen-calc__btn--nav.is-last .zen-calc__btn-arrow path{
  transition: .2s all ease-in-out;
}

@media screen and (min-width: 992px) {
  .zen-calc__btn--nav:hover, .zen-calc__summary-cta:hover{
    background:#000;
    color:#fff;
  }

  .zen-calc__btn--nav:hover .zen-calc__btn-arrow path{
    stroke:#fff !important;
  }
  .zen-calc__btn--nav.is-last:hover{
    color:#000;
    background: #22E243;
  }
  .zen-calc__btn--nav.is-last:hover .zen-calc__btn-arrow path{
    stroke:#000 !important;
  }
}

.zen-calc__summary-top{
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.zen-calc__summary-coin{
  width: 173.964px;
  height: 163.471px;
  flex-shrink: 0;
  aspect-ratio: 83/78;
}

.zen-calc__summary-content{
  text-align: center;
  /* max-width: 354px;
  width:354px; */
}

.zen-calc__summary-label, .zen-calc__summary-amount, .zen-calc__summary-sub{
  margin-bottom:24px !important;
  text-box: trim-both cap alphabetic;
}

.zen-calc__summary-label{
  color: var(--Shades-Dark-Side-White, #FFF);
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off, 'clig' off;

  /* Desktop/Headline/H4 Bold */
  font-family: Nunito;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px; /* 133.333% */
}


.zen-calc__summary-amount{
  color: var(--Shades-Dark-Side-White, #FFF);
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Nunito;
  font-size: 48px;
  font-style: normal;
  font-weight: 800;
  line-height: 48px; /* 100% */
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.zen-calc__summary-amount.is-updating{
  transform: scale(1.05);
}
.zen-calc__summary-amount.is-zero{
  color: #888;
}

.zen-calc__summary-sub:not(:empty){
  margin-top: 15px !important;
  margin-bottom: 10px !important;
}

.zen-calc__summary-sub{
  color: var(--Shades-Dark-Side-White, #FFF);
  leading-trim: both;
  text-edge: cap;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Nunito;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 200% */
}

.zen-calc__summary-cta{
  display: block;
  width: 100%;
  text-align: center;
 padding: 16px 24px;
  font-size: 14px;
  font-weight: 800;
  line-height: 18px; /* 128.571% */
  letter-spacing: 0.07px;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  border-radius: 64px;
  background: var(--Accent-Green, #22E243);
  margin-top: 8px;
  transition: .2s all ease-in-out;
}

/* =========================
   HOVER
   ========================= */
@media (hover:hover) and (pointer:fine){
  .zen-calc__tab:hover:not(.is-current){
    background: #fff;
    color: #000;
  }
  .zen-calc__tab:hover:not(.is-current) .zen-calc__tab-name,
  .zen-calc__tab:hover:not(.is-current) .zen-calc__tab-amount,
  .zen-calc__tab:hover:not(.is-current) .zen-calc__tab-suffix{
    color: #000;
  }
  /* .zen-calc__summary-cta:hover{
    filter: brightness(1.08);
    transform: translateY(-1px);
  } */
}

/* =========================
   MOBILE
   ========================= */
@media screen and (max-width: 991px) {
  .zen-calc__header {
    margin-top: 180px;
    margin-bottom: 40px;
  }

  .zen-calc-parallax {
    width: calc(50% - 80px);
    bottom: -180px;
    top: calc(100% - 190px);
  }
  .zen-calc-parallax-box {
    width: 138%;
    left: 0;
  }

  .zen-calc {
    margin-bottom: 40px;
  }

  .zen-calc-flex {
    gap: 0;
  }

  /* ── tab layers — widoczne na mobile ── */
  .zen-calc__tab-layer{
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 60px;
    transform: translateY(-50%);
    border-radius: 16px;
    background: var(--White, #FFF);
    border: 1px solid var(--Shades-Dark-Side-White, #FFF);
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.06);
    pointer-events: none;
    transition: margin-left .45s cubic-bezier(.4,0,.2,1);
  }
  .zen-calc__tab-layer--1{ opacity: 0.6; z-index: 2; }
  .zen-calc__tab-layer--2{ opacity: 0.5; z-index: 1; }
  .zen-calc__tab-layer--3{ opacity: 0.3; z-index: 0; }

  /* step 0: wszystkie warstwy po PRAWEJ (start) */
  .zen-calc__tabs-outer[data-step="0"] .zen-calc__tab-layer--1{ margin-left: 4px; }
  .zen-calc__tabs-outer[data-step="0"] .zen-calc__tab-layer--2{ margin-left: 9px; }
  .zen-calc__tabs-outer[data-step="0"] .zen-calc__tab-layer--3{ margin-left: 13px; }

  /* step 1: L1 przechodzi w lewo */
  .zen-calc__tabs-outer[data-step="1"] .zen-calc__tab-layer--1{ margin-left: -4px; }
  .zen-calc__tabs-outer[data-step="1"] .zen-calc__tab-layer--2{ margin-left: 9px; }
  .zen-calc__tabs-outer[data-step="1"] .zen-calc__tab-layer--3{ margin-left: 13px; }

  /* step 2: L1+L2 po lewej */
  .zen-calc__tabs-outer[data-step="2"] .zen-calc__tab-layer--1{ margin-left: -4px; }
  .zen-calc__tabs-outer[data-step="2"] .zen-calc__tab-layer--2{ margin-left: -9px; }
  .zen-calc__tabs-outer[data-step="2"] .zen-calc__tab-layer--3{ margin-left: 13px; }

  /* step 3: wszystkie po LEWEJ (koniec) */
  .zen-calc__tabs-outer[data-step="3"] .zen-calc__tab-layer--1{ margin-left: -4px; }
  .zen-calc__tabs-outer[data-step="3"] .zen-calc__tab-layer--2{ margin-left: -9px; }
  .zen-calc__tabs-outer[data-step="3"] .zen-calc__tab-layer--3{ margin-left: -13px; }

  /* ── wrapper ── */
  .zen-calc{
    padding: 0 20px;
    gap: 0;
    overflow-x: clip;
  }
  .zen-calc-box {
    padding: 0;
    background: none;
    box-shadow: none;
  }
  .zen-calc-box-2 {
    padding: 0;
    border-radius: 20px;
    background: unset;
    box-shadow: none;
  }

/* ── główna karta ── */
  .zen-calc__card{
    flex-direction: column;
    padding: 32px;
    min-height: auto;
  }

  .zen-calc__card-left{
    width: 100%;
    overflow:visible;
  }

  /* ── mascot — absolutnie w górnym prawym rogu ── */
  .zen-calc__mascot{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 72px;
    height: 72px;
  }

  .zen-calc__questions{ 
    overflow:visible;
    min-width: 0; 
  }

  .zen-calc__question{
    display: grid;
    grid-template-columns: 32px 1fr 80px;
    column-gap: 8px;
    row-gap: 24px;
  }

  .zen-calc__question-row{
    display: contents;
  }

  .zen-calc__question-bottom{
    display: contents;
  }

  .zen-calc__step{
    grid-column: 1;
    grid-row: 1;
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .zen-calc__question-text{
    grid-column: 2 / 4;
    grid-row: 1;
    padding-top: 11px;
    color: var(--Primary, #222);
    text-box: trim-both cap alphabetic;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Nunito;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 27px;
  }

  .zen-calc__q-row{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    grid-column: 1 / 4;
    grid-row: 2;
  }

  .zen-calc__q-value{
    justify-content: center;
    padding: 19px 24px;
  }
  .zen-calc__q-value.is-filled{
    justify-content: center;
  }
  .zen-calc__q-value-text{
    text-align: center;
  }

  .zen-calc__mascot-m{
    display: block;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    align-self: center;
  }
  .zen-calc__mascot-m img{
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .zen-calc__mascot{
    display: none;
  }

  .zen-calc__slider-wrap{
    grid-column: 1 / 4;
    grid-row: 3;
    width: 100%;
    height: 46px;
    padding: 0 8px;
    margin-top:0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }

  .zen-calc__nav{
    grid-column: 1 / 4;
    grid-row: 4;
    justify-self: stretch;
  }

  .zen-calc__slider-label{
    width: 64px;
    height: 43px;
    padding: 12px 24px;
  }


  .zen-calc__btn--nav{
    display: flex;
    width: 100%;
    height: 43px;
    padding: 6px 8px 6px 20px;
    gap: 0;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    color: var(--Shades-Dark-Side-Antracite, #222);
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    font-feature-settings: 'liga' off, 'clig' off;
    margin-top:8px;
  }
  .zen-calc__btn--skip{
    flex: 1;
    width: 100%;
    height: 40px;
    justify-content: center;
    padding: 12px 16px;
  }

  .zen-calc__btn--skip{
    color: var(--Shades-Dark-Side-Antracite, #222);
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    font-feature-settings: 'liga' off, 'clig' off;
  }

  .zen-calc__btn--nav{
    border-radius: 24px;
    border: 1px solid var(--Shades-Dark-Side-Rich-Black, #222);
    background: var(--Shades-Bright-Side-Beige, #F0EEE7);
    color: var(--Shades-Dark-Side-Rich-Black, #000);
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    font-feature-settings: 'liga' off, 'clig' off;
  }

  .zen-calc__btn--done{
    flex: 1;
    width: 100%;
    height: 40px;
    justify-content: center;
    padding: 12px 16px;
    gap: 8px;
    border-radius: 24px;
    border: 2px solid var(--Shades-Dark-Side-Rich-Black, #000);
    background: var(--Shades-Bright-Side-Beige, #F0EEE7);
    color: var(--Shades-Dark-Side-Rich-Black, #000);
    font-family: Nunito;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    font-feature-settings: 'liga' off, 'clig' off;
  }
  .zen-calc__btn--done-icon-desktop{
    display: none;
  }
  .zen-calc__btn--done-icon-mobile,
  .zen-calc__btn--done-label{
    display: inline-flex;
  }

  .zen-calc__range{
    height: 46px;
    top: 50%;
    transform: translate(0, -50%);
  }

  .zen-calc__slider-track{
    flex: 1;
    height: 20px;
  }

  /* ── tabs-outer: odstępy między blokami ── */
  .zen-calc__tabs-outer{
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .zen-calc__tabs{
    gap: 0;
  }

  /* ── taby — tylko aktywny widoczny na mobile ── */
  .zen-calc__tab:not(.is-current){
    display: none;
  }
  .zen-calc__tab{
    width: 100%;
    height: 60px;
    padding: 18px 24px;
    gap: 6px;
    align-items: center;
  }

  /* ikona: 24×24, nie kurczy się */
  .zen-calc__tab-icon{
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .zen-calc__tab-icon svg,
  [data-zen-calc-tab] .zen-calc__tab-icon svg{
    width: 24px !important;
    height: 24px !important;
  }

  /* tekst: wszystko inline w jednej linii */
  .zen-calc__tab-text{
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
  }
  .zen-calc__tab-name{
    font-size: 15px;
    line-height: 24px;
    white-space: nowrap;
  }
  .zen-calc__tab-amount{
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    opacity: 1;
  }
  .zen-calc__tab-suffix{
    font-size: 15px;
    line-height: 24px;
    opacity: 1;
  }

  /* ── summary ── */
  .zen-calc__summary{
    padding: 0 24px;
    flex-direction: column;
    gap: 0;
    text-align: center;
  }
  .zen-calc__summary.is-visible{
    padding: 32px 24px;
  }

  .zen-calc__summary-coin{
    grid-area: coin;
    width: 88px;          
    height: 88px;
    align-self: center;   
    justify-self: start;
  }

  .zen-calc__summary-coin img{
    width: 90px;
    height: 84.571px;
    aspect-ratio: 83 / 78;
    object-fit: contain;
    display: block;
  }

  .zen-calc__summary-amount{
    font-size: 30px;
    line-height: 36px;
  }

  .zen-calc__summary-label{
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 0px !important;
  }

  .zen-calc__summary-amount,
  .zen-calc__summary-sub{
    margin-bottom: 12px !important;
  }
  /* .zen-calc__summary-top{
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-template-areas:
      "label label" 
      "coin  amount"
      "coin  sub"
      "cta   cta";
    column-gap: 16px;
    row-gap: 8px;
    align-items: start;
    width: 100%;
  } */

  .zen-calc__summary-top{
    display: grid;
    grid-template-columns: 88px 1fr;
    grid-template-areas:
      "label label"
      "coin  row"
      "cta   cta";
    column-gap: 16px;
    row-gap: 32px;
    align-items: center;
    width: 100%;
  }

  
  .zen-calc__summary-content{
    display: contents;
  }

  .zen-calc__summary-label{ grid-area: label; text-align: center; }
  .zen-calc__summary-amount{ grid-area: row; margin: 0 !important; text-align: left; display: inline-block; white-space: nowrap; }
  .zen-calc__summary-sub{ grid-area: row; margin: 0 !important; text-align: left; display: inline; margin-left: 6px !important; }

  .zen-calc__summary-cta{
    grid-area: cta;
    width: 100%;
    margin-top: 12px;
    font-size:13px;
  }
  .zen-calc__summary-row{
    grid-area: row;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .zen-calc__summary-sub:not(:empty){
    margin-top:0!important;
    margin-bottom:0!important;
  }

  .zen-calc__title {
    font-size: 24px;
    line-height: 30px;
    padding: 0 10px;
    margin-bottom: 29px;
  }
  .zen-calc__currency-trigger,
  .zen-calc__desc {
    font-size: 14px !important;
    line-height: normal !important;
  }
  .zen-calc__header {
    margin: 0 0 30px;
  }
}

@media (max-width: 330px) {
  .zen-calc__q-value-text {
    font-size: 15px;
  }
}

@media (max-width: 399px) {
  .zen-calc__q-value-text {
    font-size: 20px;
  }
  .zen-calc__q-value {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 991px) {
  .zen-calc__desc {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .linebreak-mobile {
    flex-basis: 100%;
    height: 0;
  }
}

/* =========================
   CURRENCY SWITCHER
   ========================= */

.zen-calc__currency-switcher {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}

.zen-calc__currency-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--Primary, #222);
  font-family: Nunito, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  font-feature-settings: 'liga' off, 'clig' off;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.zen-calc__currency-arrow {
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
}

.zen-calc__currency-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  min-width: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
}

.zen-calc__currency-dropdown[hidden] {
  display: none !important;
}

.zen-calc__currency-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  text-align: left;
  white-space: nowrap;
}

.zen-calc__currency-btn:hover {
  background: #f5f5f5;
}

.zen-calc__currency-btn.is-active {
  background: #f0f0f0;
  font-weight: 700;
}

@media (max-width: 399px) {
  .zen-calc__question:nth-child(-n+3) .zen-calc__question-text {
    max-width: unset;
    width: unset;
    min-width: unset;
  }
}

/* CTA desktop/mobile text variants */
.zen-calc__cta-mobile { display: none; }
@media (max-width: 767px) {
  .zen-calc__cta-desktop { display: none; }
  .zen-calc__cta-mobile  { display: inline; }
}

@media (min-width: 430px) and (max-width: 1023px) {
  .zen-calc__summary-top {
    grid-template-columns: 88px auto;
    justify-content: center;
    column-gap: 16px;
  }
  .zen-calc__summary-label,
  .zen-calc__summary-cta {
    justify-self: stretch;
  }
  .zen-calc__summary-row {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (min-width: 992px) and (max-width: 1023px) {
  .zen-calc__summary-row {
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 992px) and (max-width: 1070px) {
  .zen-calc__slider-wrap {
    width: 75%;
  }
}
