/* Skipped (covered by shared chunk CSS): ../../sub-components/Icon/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/Button/styles.css */
/* Skipped (covered by shared chunk CSS): ../../sub-components/ContentBlock/styles.css */

/*
 * GrowthBanner ("Büyüme basamakları"). The section root only carries the scheme, the paddings and
 * the step sizes below (no transform/filter/contain). The card is one tone off the scheme ground.
 * GrowthStep children inherit --gb-* from here: --gb-min / --gb-max (set by JS from the steps'
 * heights on the stairs), --gb-unit, and the podium and photo sizes per breakpoint.
 *
 * Below 1024px the text sits above the stairs; from 1024px text left, stairs right.
 */

.cc_ha5dwmyj_wypMwBgNpu .growth-banner {
  /* Lowest podium, extra rise of the tallest one, shared product photo height. */
  --gb-base: 64px;
  --gb-rise: 112px;
  --gb-photo: 112px;
}

.cc_ha5dwmyj_wypMwBgNpu .growth-banner__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-image);
  background-color: var(--c-bg);
  background-image: linear-gradient(var(--c-text-05), var(--c-text-05));
}

.cc_ha5dwmyj_wypMwBgNpu .growth-banner__content {
  padding: var(--banner-pad-y) var(--banner-pad-x) 0;
}

.cc_ha5dwmyj_wypMwBgNpu .growth-banner__text .content-block__heading {
  display: block;
  text-wrap: balance;
}

/* ---------- Stairs ---------- */

/* One column per step, every podium on the card floor. More steps than fit scroll sideways; the
   top padding is room for the hover lift. */
.cc_ha5dwmyj_wypMwBgNpu .growth-banner__stairs {
  --gb-min: 60;
  --gb-max: 120;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72px, 1fr);
  align-items: end;
  column-gap: 6px;
  padding: 32px 12px 0;
  overflow-x: auto;
  /* Explicit: the entrance moves steps below the floor, which must not become vertical scroll. */
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.cc_ha5dwmyj_wypMwBgNpu .growth-banner__stairs::-webkit-scrollbar {
  display: none;
}

/* ---------- Entrance (once, on first view) ---------- */

/*
 * Armed by JS: each step (podium + product as one unit) waits just below the card floor, which
 * clips it, then rises into place once about half of the stairs is on screen, shortest first. Strong ease-out:
 * a fast start that settles softly. The transition is only on while revealing, so arming hides the
 * steps instantly instead of sliding them down.
 */
.cc_ha5dwmyj_wypMwBgNpu .growth-banner__stairs[data-armed][data-in] .growth-step {
  transition: translate 1000ms var(--ease-out-quart);
  transition-delay: calc(60ms + var(--gs-i, 0) * 140ms);
}

.cc_ha5dwmyj_wypMwBgNpu .growth-banner__stairs[data-armed]:not([data-in]) .growth-step {
  translate: 0 calc(100% + 16px);
}

@media (prefers-reduced-motion: reduce) {
  .cc_ha5dwmyj_wypMwBgNpu .growth-banner__stairs[data-armed][data-in] .growth-step {
    transition: opacity 400ms ease;
    transition-delay: calc(var(--gs-i, 0) * 60ms);
  }

  .cc_ha5dwmyj_wypMwBgNpu .growth-banner__stairs[data-armed]:not([data-in]) .growth-step {
    translate: none;
    opacity: 0;
  }
}

/* ---------- Photo blend ---------- */

/* Fallback until GrowthStep has baked its cut-out: lift the studio ground to white and multiply
   it onto the card, so the product stands on the card colour. */
.cc_ha5dwmyj_wypMwBgNpu .growth-banner--blend .growth-step__photo {
  mix-blend-mode: multiply;
}

.cc_ha5dwmyj_wypMwBgNpu .growth-banner--blend .growth-step__photo img {
  filter: brightness(var(--gs-lift, 1.2)) contrast(1.06);
}

.cc_ha5dwmyj_wypMwBgNpu .growth-banner--blend .growth-step[data-cutout] .growth-step__photo {
  mix-blend-mode: normal;
}

.cc_ha5dwmyj_wypMwBgNpu .growth-banner--blend .growth-step__photo img.is-cutout {
  filter: none;
}

/* ---------- Tablet ---------- */

@media (min-width: 720px) {
  .cc_ha5dwmyj_wypMwBgNpu .growth-banner {
    --gb-base: 112px;
    --gb-rise: 160px;
    --gb-photo: 160px;
  }

  .cc_ha5dwmyj_wypMwBgNpu .growth-banner__stairs {
    grid-auto-columns: minmax(140px, 1fr);
    column-gap: 10px;
    padding: 40px 24px 0;
  }

  /* Product name + price on the podium (GrowthStep keeps them hidden otherwise). */
  .cc_ha5dwmyj_wypMwBgNpu .growth-banner--info .growth-step__info {
    display: flex;
  }
}

/* ---------- Desktop: text left, stairs right ---------- */

@media (min-width: 1024px) {
  .cc_ha5dwmyj_wypMwBgNpu .growth-banner {
    --gb-base: 150px;
    --gb-rise: 230px;
    --gb-photo: 210px;
  }

  .cc_ha5dwmyj_wypMwBgNpu .growth-banner__card {
    grid-template-columns: minmax(340px, 5fr) minmax(0, 8fr);
  }

  .cc_ha5dwmyj_wypMwBgNpu .growth-banner__content {
    align-self: start;
    padding: 64px 0 64px 64px;
  }

  .cc_ha5dwmyj_wypMwBgNpu .growth-banner__text {
    max-width: 440px;
  }

  .cc_ha5dwmyj_wypMwBgNpu .growth-banner__stairs {
    grid-column: 2;
    align-self: end;
    justify-self: end;
    box-sizing: border-box;
    width: 100%;
    max-width: 1040px;
    grid-auto-columns: minmax(0, 1fr);
    column-gap: 16px;
    padding: 64px 48px 0 24px;
    overflow: visible;
  }
}
