.evol-savings-calculator-column,
.evol-savings-image-column {
  display: flex !important;
}

.evol-savings-calculator-column > .vc_column-inner,
.evol-savings-calculator-column > .vc_column-inner > .wpb_wrapper,
.evol-savings-image-column > .vc_column-inner,
.evol-savings-image-column > .vc_column-inner > .wpb_wrapper {
  width: 100%;
}

.evol-savings-image-column .min_width_desktop_75vw,
.evol-savings-image-column .min_width_tablet_50vw,
.evol-savings-image-column .min_width_phone_50vw {
  min-width: 0 !important;
}

.evol-savings {
  --evol-save-yellow: #ffd201;
  --evol-save-ink: #111213;
  --evol-save-muted: #a7a8aa;
  --evol-save-line: rgba(255, 255, 255, .14);
  box-sizing: border-box;
  display: flex;
  min-height: 100vh;
  padding: clamp(34px, 4.1vw, 72px) clamp(26px, 4vw, 66px);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-top: 6px solid var(--evol-save-yellow);
  background:
    linear-gradient(135deg, rgba(255, 210, 1, .08), transparent 36%),
    var(--evol-save-ink);
  color: #fff;
  font-family: inherit;
}

.evol-savings *,
.evol-savings *::before,
.evol-savings *::after {
  box-sizing: border-box;
}

body.evol-savings-in-view .evol-silence-bubble {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.evol-savings__header {
  max-width: 620px;
}

.evol-savings__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.evol-savings__eyebrow span {
  width: 30px;
  height: 4px;
  flex: 0 0 auto;
  background: var(--evol-save-yellow);
  transform: skewX(-18deg);
}

.evol-savings__header h2 {
  margin: 0;
  color: #fff;
  font-family: "EvolSNASM", "Snasm Rg", sans-serif;
  font-size: clamp(34px, 3vw, 58px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .98;
}

.evol-savings__header h2 em {
  color: var(--evol-save-yellow);
  font-style: normal;
}

.evol-savings__header > p:last-child {
  max-width: 520px;
  margin: 16px 0 0;
  color: #d6d6d3;
  font-size: 14px;
  line-height: 1.5;
}

.evol-savings__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, .48fr);
  gap: 16px;
  margin-top: clamp(24px, 3vw, 38px);
}

.evol-savings__field {
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid var(--evol-save-line);
  background: rgba(255, 255, 255, .035);
}

.evol-savings__field--range {
  grid-column: span 1;
}

.evol-savings__label-row,
.evol-savings__field--price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.evol-savings__label-row label,
.evol-savings__field--price > span:first-child {
  color: #d6d6d3;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1.25;
}

.evol-savings__label-row output {
  flex: 0 0 auto;
  color: var(--evol-save-yellow);
  font-size: 17px;
  font-weight: 800;
}

.evol-savings input[type="range"] {
  width: 100%;
  height: 44px;
  margin: 9px 0 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  accent-color: var(--evol-save-yellow);
  cursor: pointer;
}

.evol-savings input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--evol-save-yellow) 0 var(--range-progress, 17.2%), #444548 var(--range-progress, 17.2%) 100%);
}

.evol-savings input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 3px solid var(--evol-save-ink);
  border-radius: 50%;
  background: var(--evol-save-yellow);
  box-shadow: 0 0 0 2px var(--evol-save-yellow);
  -webkit-appearance: none;
}

.evol-savings input[type="range"]::-moz-range-track {
  height: 4px;
  background: #444548;
}

.evol-savings input[type="range"]::-moz-range-progress {
  height: 4px;
  background: var(--evol-save-yellow);
}

.evol-savings input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid var(--evol-save-ink);
  border-radius: 50%;
  background: var(--evol-save-yellow);
  box-shadow: 0 0 0 2px var(--evol-save-yellow);
}

.evol-savings input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--evol-save-ink), 0 0 0 6px #fff;
}

.evol-savings__range-scale {
  display: flex;
  justify-content: space-between;
  color: #77787b;
  font-size: 9px;
}

.evol-savings__number-wrap {
  display: grid;
  width: 90px;
  min-width: 90px;
  min-height: 44px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #1b1c1e;
  color: var(--evol-save-yellow);
  font-size: 12px;
  font-weight: 800;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.evol-savings__number-wrap:focus-within {
  border-color: var(--evol-save-yellow);
  box-shadow: 0 0 0 2px rgba(255, 210, 1, .22);
}

.evol-savings .evol-savings__number-wrap > input[type="number"] {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 5px 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.evol-savings .evol-savings__number-wrap > input[type="number"]:focus {
  border: 0;
  box-shadow: none;
}

.evol-savings .evol-savings__number-wrap > span:last-child {
  display: flex;
  min-width: 29px;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-left: 1px solid rgba(255, 255, 255, .12);
  color: var(--evol-save-yellow);
  line-height: 1;
  white-space: nowrap;
}

.evol-savings input[type="number"] {
  width: 64px;
  min-height: 44px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0;
  outline: 0;
  background: #1b1c1e;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.evol-savings input[type="number"]:focus {
  border-color: var(--evol-save-yellow);
  box-shadow: 0 0 0 2px rgba(255, 210, 1, .22);
}

.evol-savings input[type="number"]::-webkit-inner-spin-button,
.evol-savings input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.evol-savings input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.evol-savings__advanced {
  position: relative;
  margin-top: 12px;
  border: 1px solid var(--evol-save-line);
  background: linear-gradient(110deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.evol-savings__advanced[open] {
  border-color: rgba(255, 210, 1, .48);
  box-shadow: inset 4px 0 0 rgba(255, 210, 1, .9);
}

.evol-savings__advanced summary {
  position: relative;
  display: flex;
  min-height: 48px;
  padding: 0 9px 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--evol-save-yellow);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .05em;
  list-style: none;
  cursor: pointer;
  transition: background 180ms ease;
}

.evol-savings__advanced summary:hover,
.evol-savings__advanced summary:focus-visible {
  outline: 0;
  background: rgba(255, 255, 255, .045);
}

.evol-savings__advanced summary::-webkit-details-marker {
  display: none;
}

.evol-savings__advanced-label {
  padding-left: 1px;
}

.evol-savings__advanced-toggle {
  position: relative;
  width: 34px;
  height: 30px;
  flex: 0 0 34px;
  border-left: 3px solid var(--evol-save-yellow);
  background: #242527;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  transition: background 180ms ease;
}

.evol-savings__advanced-toggle::before,
.evol-savings__advanced-toggle::after {
  position: absolute;
  top: 14px;
  width: 9px;
  height: 2px;
  background: var(--evol-save-yellow);
  content: "";
  transition: background 180ms ease, transform 180ms ease;
}

.evol-savings__advanced-toggle::before {
  left: 8px;
  transform: rotate(38deg);
}

.evol-savings__advanced-toggle::after {
  right: 8px;
  transform: rotate(-38deg);
}

.evol-savings__advanced[open] .evol-savings__advanced-toggle::before {
  transform: rotate(-38deg);
}

.evol-savings__advanced[open] .evol-savings__advanced-toggle::after {
  transform: rotate(38deg);
}

.evol-savings__advanced summary:hover .evol-savings__advanced-toggle,
.evol-savings__advanced summary:focus-visible .evol-savings__advanced-toggle {
  background: var(--evol-save-yellow);
}

.evol-savings__advanced summary:hover .evol-savings__advanced-toggle::before,
.evol-savings__advanced summary:hover .evol-savings__advanced-toggle::after,
.evol-savings__advanced summary:focus-visible .evol-savings__advanced-toggle::before,
.evol-savings__advanced summary:focus-visible .evol-savings__advanced-toggle::after {
  background: var(--evol-save-ink);
}

.evol-savings__advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border-top: 1px solid rgba(255, 210, 1, .22);
  background: var(--evol-save-line);
}

.evol-savings__parameter {
  display: flex;
  min-width: 0;
  min-height: 86px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(145deg, #17181a, #111213);
}

.evol-savings__parameter > label {
  color: #aeb0b2;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .06em;
  line-height: 1.15;
  text-transform: uppercase;
}

.evol-savings__stepper {
  display: grid;
  width: 100%;
  min-height: 44px;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  background: #0d0e0f;
}

.evol-savings__stepper button {
  display: grid;
  width: 34px;
  min-width: 34px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: #242527;
  color: var(--evol-save-yellow);
  cursor: pointer;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  transition: background 160ms ease, color 160ms ease;
}

.evol-savings__stepper button span {
  color: inherit;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.evol-savings__stepper button:hover,
.evol-savings__stepper button:focus-visible {
  outline: 0;
  background: var(--evol-save-yellow);
  color: var(--evol-save-ink);
}

.evol-savings__stepper-value {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.evol-savings .evol-savings__stepper input[type="number"] {
  width: 100%;
  height: 100%;
  min-height: 44px;
  padding: 0 3px 9px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 17px;
  text-align: center;
}

.evol-savings__stepper-value small {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  color: #8e8f92;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.evol-savings__stepper:focus-within {
  border-color: rgba(255, 210, 1, .68);
  box-shadow: 0 0 0 2px rgba(255, 210, 1, .12);
}

.evol-savings__results {
  margin-top: 16px;
  border: 1px solid var(--evol-save-line);
}

.evol-savings__annual-km {
  display: flex;
  min-height: 42px;
  margin: 0;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--evol-save-line);
  color: #8e8f92;
  font-size: 10px;
}

.evol-savings__annual-km strong {
  color: #fff;
  font-size: 11px;
  font-weight: 750;
}

.evol-savings__comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.evol-savings__comparison > div {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 16px;
}

.evol-savings__comparison > div + div {
  border-left: 1px solid var(--evol-save-line);
}

.evol-savings__comparison span {
  color: #a7a8aa;
  font-size: 10px;
  line-height: 1.25;
}

.evol-savings__comparison strong {
  color: #fff;
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 780;
  line-height: 1.05;
}

.evol-savings__comparison > div:last-child strong {
  color: var(--evol-save-yellow);
}

.evol-savings__total {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 18px;
  overflow: hidden;
  background: var(--evol-save-yellow);
  color: var(--evol-save-ink);
}

.evol-savings__total::after {
  position: absolute;
  top: -30px;
  right: 22%;
  width: 2px;
  height: 120px;
  background: rgba(17, 18, 19, .18);
  content: "";
  transform: rotate(18deg);
}

.evol-savings__total > span {
  align-self: end;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.evol-savings__total > strong {
  grid-row: span 2;
  align-self: center;
  font-family: "EvolSNASM", "Snasm Rg", sans-serif;
  font-size: clamp(24px, 2.1vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
}

.evol-savings__total small {
  font-size: 10px;
  font-weight: 650;
}

.evol-savings__footer {
  display: flex;
  margin-top: 15px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.evol-savings__footer p {
  max-width: 390px;
  margin: 0;
  color: #77787b;
  font-size: 9px;
  line-height: 1.4;
}

.evol-savings__footer a {
  display: inline-flex;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  background: #fff;
  color: var(--evol-save-ink) !important;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.evol-savings__footer a:hover,
.evol-savings__footer a:focus-visible {
  background: var(--evol-save-yellow);
  color: var(--evol-save-ink) !important;
  transform: translateY(-2px);
}

@media (min-width: 1000px) {
  .evol-savings-calculator-column,
  .evol-savings-image-column {
    --evol-savings-panel-height: clamp(640px, calc(100svh - 118px), 800px);
    height: var(--evol-savings-panel-height) !important;
    min-height: var(--evol-savings-panel-height) !important;
    overflow: hidden;
  }

  .evol-savings-calculator-column {
    width: 42% !important;
    flex-basis: 42% !important;
  }

  .evol-savings-image-column {
    width: 58% !important;
    flex-basis: 58% !important;
  }

  .evol-savings {
    height: var(--evol-savings-panel-height);
    min-height: var(--evol-savings-panel-height);
    padding: clamp(20px, 2.5vh, 28px) clamp(24px, 3vw, 50px);
  }

  .evol-savings-image-column .divider {
    height: var(--evol-savings-panel-height) !important;
    min-height: var(--evol-savings-panel-height) !important;
  }

  .evol-savings__eyebrow {
    margin-bottom: 9px;
  }

  .evol-savings__header h2 {
    font-size: clamp(34px, 2.5vw, 48px);
  }

  .evol-savings__header > p:last-child {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
  }

  .evol-savings__controls {
    gap: 12px;
    margin-top: 14px;
  }

  .evol-savings__field {
    padding: 10px 14px;
  }

  .evol-savings input[type="range"] {
    margin-top: 2px;
  }

  .evol-savings__advanced {
    margin-top: 10px;
  }

  .evol-savings__advanced summary {
    min-height: 42px;
    padding-inline: 14px;
  }

  .evol-savings__advanced-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .evol-savings__parameter {
    min-height: 66px;
    padding: 6px;
    gap: 5px;
  }

  .evol-savings__stepper {
    min-height: 36px;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
  }

  .evol-savings__stepper button {
    width: 30px;
    min-width: 30px;
    min-height: 36px;
  }

  .evol-savings .evol-savings__stepper input[type="number"] {
    min-height: 36px;
    padding-bottom: 8px;
    font-size: 15px;
  }

  .evol-savings__results {
    margin-top: 10px;
  }

  .evol-savings__annual-km {
    min-height: 34px;
    padding-inline: 14px;
  }

  .evol-savings__comparison > div {
    gap: 3px;
    padding: 10px 14px;
  }

  .evol-savings__total {
    padding: 12px 14px;
  }

  .evol-savings__footer {
    margin-top: 10px;
  }

  .evol-savings__footer a {
    min-height: 40px;
  }
}

@media (max-width: 1199px) and (min-width: 1000px) {
  .evol-savings-calculator-column {
    width: 48% !important;
    flex-basis: 48% !important;
  }

  .evol-savings-image-column {
    width: 52% !important;
    flex-basis: 52% !important;
  }

  .evol-savings {
    padding-inline: 28px;
  }

  .evol-savings__controls {
    grid-template-columns: minmax(0, 1fr) minmax(132px, .58fr);
  }

  .evol-savings__field--price {
    min-height: 0;
    padding-inline: 12px;
  }

  .evol-savings__advanced-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) and (max-height: 800px) {
  .evol-savings {
    padding-block: 14px;
  }

  .evol-savings__eyebrow {
    margin-bottom: 6px;
  }

  .evol-savings__header > p:last-child {
    display: none;
  }

  .evol-savings__controls {
    margin-top: 10px;
  }

  .evol-savings__footer {
    margin-top: 6px;
  }
}

@media (max-width: 999px) {
  /*
   * Mobile model grid: replace Salient's decorative zigzag with the
   * EvolStore visual language — a quiet fading rule and the twin logo cuts.
   * The original shortcode remains untouched and desktop keeps its styling.
   */
  body.home .vc-zigzag-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 40px);
    height: 34px;
    margin: 24px auto 18px;
    overflow: visible;
  }

  body.home .vc-zigzag-wrapper .vc-zigzag-inner {
    position: relative;
    width: 100% !important;
    height: 1px;
    min-height: 1px !important;
    background: linear-gradient(
      90deg,
      rgba(17, 18, 19, 0) 0%,
      rgba(17, 18, 19, .14) 10%,
      rgba(17, 18, 19, .34) 43%,
      rgba(17, 18, 19, 0) 43.2%,
      rgba(17, 18, 19, 0) 56.8%,
      rgba(17, 18, 19, .34) 57%,
      rgba(17, 18, 19, .14) 90%,
      rgba(17, 18, 19, 0) 100%
    ) !important;
  }

  body.home .vc-zigzag-wrapper .vc-zigzag-inner::before,
  body.home .vc-zigzag-wrapper .vc-zigzag-inner::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 22px;
    border-radius: 999px;
    background: #ffd201;
    box-shadow: 0 0 0 1px rgba(255, 210, 1, .08);
    content: "";
    transform: translate(-7px, -50%) skewX(-18deg);
  }

  body.home .vc-zigzag-wrapper .vc-zigzag-inner::after {
    transform: translate(5px, -50%) skewX(-18deg);
  }

  .evol-savings-calculator-column,
  .evol-savings-image-column {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  .evol-savings-calculator-column {
    order: 1;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .evol-savings-image-column {
    order: 2;
  }

  .evol-savings {
    min-height: 0;
    padding: 54px clamp(28px, 7vw, 64px);
  }

  .evol-savings-image-column .divider {
    height: min(68svh, 660px) !important;
  }
}

@media (max-width: 599px) {
  .evol-savings {
    padding: 42px 20px;
    border-top-width: 5px;
  }

  .evol-savings__header h2 {
    font-size: clamp(34px, 10.5vw, 44px);
  }

  .evol-savings__header > p:last-child {
    font-size: 13px;
  }

  .evol-savings__controls,
  .evol-savings__advanced-grid,
  .evol-savings__comparison {
    grid-template-columns: 1fr;
  }

  .evol-savings__field--price {
    min-height: 66px;
  }

  .evol-savings__parameter {
    min-height: 86px;
  }

  .evol-savings__comparison > div + div {
    border-top: 1px solid var(--evol-save-line);
    border-left: 0;
  }

  .evol-savings__total {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .evol-savings__total::after {
    top: -34px;
    right: 14px;
    height: 132px;
    opacity: .55;
  }

  .evol-savings__total > * {
    position: relative;
    z-index: 1;
  }

  .evol-savings__total > strong {
    grid-row: auto;
    font-size: 30px;
  }

  .evol-savings__footer {
    align-items: stretch;
    flex-direction: column;
    padding-bottom: 82px;
  }

  .evol-savings__footer a {
    min-height: 48px;
    justify-content: space-between;
  }

  .evol-savings-image-column .divider {
    height: min(62svh, 520px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .evol-savings *,
  .evol-savings *::before,
  .evol-savings *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
