/* URROBOT savings calculator — scoped to .urr-savings-calc only */
.urr-savings-calc {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: #00082F;
  color: #fff;
}

.urr-savings-calc .urr-calc-title {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.025em;
  text-align: left;
  color: #fff;
  --container-max: 1920;
  --font-main: 25px;
  --font-xl: 15;
  --margin-bottom: 30px;
  --margin-full: 30;
  font-size: calc(var(--font-main) + var(--font-xl) * (100vw - 320px) / (var(--container-max) - 320));
  margin: 0 0 calc(var(--margin-bottom) + var(--margin-full) * (100vw - 320px) / (var(--container-max) - 320));
}

.urr-savings-calc .urr-calc-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.urr-savings-calc .urr-calc-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: 32px 32px 28px;
}

.urr-savings-calc .urr-calc-k {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: #52bd52;
  margin-bottom: 8px;
}

.urr-savings-calc .urr-calc-hero {
  position: relative;
  margin: 0 0 6px;
}

.urr-savings-calc .urr-calc-glow {
  position: absolute;
  inset: 0;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #52bd52;
  filter: blur(18px);
  opacity: 0.45;
  pointer-events: none;
  white-space: nowrap;
}

.urr-savings-calc .urr-calc-hero strong,
.urr-savings-calc .savings-calculator__output {
  position: relative;
  display: block;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #52bd52;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-decoration: none;
}

.urr-savings-calc .urr-calc-sub {
  font-size: 16px;
  font-weight: 700;
  color: #52bd52;
  margin-bottom: 28px;
}

.urr-savings-calc .urr-calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 8px 0 22px;
}

.urr-savings-calc .urr-sl-wrap {
  position: relative;
  padding-top: 0;
}

.urr-savings-calc .urr-sl-track {
  position: relative;
  padding-top: 48px;
  padding-bottom: 24px;
}

.urr-savings-calc .urr-sl-lab {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.urr-savings-calc .urr-sl-lab .urr-sl-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  background: rgba(255, 93, 4, 0.18);
  color: #FFD0B0;
}

.urr-savings-calc .urr-sl-lab .urr-sl-ico svg {
  width: 16px;
  height: 16px;
  display: block;
}

.urr-savings-calc .urr-sl-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff8745, #ff5c02) 0 / var(--p, 0%) 100% no-repeat, #fff;
  outline: none;
  margin: 0;
  display: block;
}

.urr-savings-calc .urr-sl-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 8px;
  background: transparent;
}

.urr-savings-calc .urr-sl-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff8745 0%, #ff5c02 100%);
  border: 0;
  box-shadow: 0 0 2px #000, 0 4px 12px rgba(255, 93, 4, 0.35);
  cursor: ew-resize;
  margin-top: -14px;
}

.urr-savings-calc .urr-sl-wrap input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 8px;
  background: transparent;
  border: 0;
}

.urr-savings-calc .urr-sl-wrap input[type="range"]::-moz-range-thumb {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff8745 0%, #ff5c02 100%);
  border: 0;
  box-shadow: 0 0 2px #000, 0 4px 12px rgba(255, 93, 4, 0.35);
  cursor: ew-resize;
}

.urr-savings-calc .urr-tip-val {
  position: absolute;
  top: 0;
  left: 0;
  background: #FF5D04;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(255, 93, 4, 0.4);
  z-index: 2;
}

.urr-savings-calc .urr-tip-val:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  margin-left: -4px;
  border: 4px solid transparent;
  border-top-color: #FF5D04;
  border-bottom: 0;
}

.urr-savings-calc .urr-sl-minmax {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.5;
  line-height: 1.2;
}

.urr-savings-calc .urr-calc-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.urr-savings-calc .urr-calc-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 14px 16px;
}

.urr-savings-calc .urr-calc-chip span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.urr-savings-calc .urr-calc-chip b {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.urr-savings-calc .urr-calc-chip--t b,
.urr-savings-calc .urr-calc-chip--t .annual-rate {
  color: #FF8847;
}

.urr-savings-calc .urr-calc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.urr-savings-calc .urr-calc-more {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 360px;
}

.urr-savings-calc .urr-calc-more[open] {
  max-width: none;
  flex: 1 1 100%;
}

.urr-savings-calc .urr-calc-more summary {
  cursor: pointer;
  font-weight: 600;
  color: #FF8847;
  font-size: 14px;
  list-style: none;
}

.urr-savings-calc .urr-calc-more summary::-webkit-details-marker {
  display: none;
}

.urr-savings-calc .urr-calc-breakdown {
  margin-top: 14px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.urr-savings-calc .urr-bd-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.25;
  color: #FF8847;
  margin: 0 0 16px;
}

.urr-savings-calc .urr-bd-block {
  margin-bottom: 18px;
}

.urr-savings-calc .urr-bd-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.urr-savings-calc .urr-bd-head p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.urr-savings-calc .urr-bd-head b {
  font-size: 15px;
  font-weight: 700;
  color: #FF8847;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.urr-savings-calc .urr-bd-lines {
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.urr-savings-calc .urr-bd-total {
  margin: 4px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: right;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.urr-savings-calc .urr-bd-total span {
  color: #FF5D04;
}

.urr-savings-calc .urr-calc-foot .btn {
  flex: 0 0 auto;
  /* Theme applies uppercase + font-weight:700 only from min-width 1200/768.
     Keep the desktop .btn typography on 390 as well. */
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.urr-savings-calc .urr-calc-art {
  position: relative;
  min-width: 0;
  overflow: visible;
}

.urr-savings-calc .urr-calc-scene {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: auto;
  aspect-ratio: 508 / 432;
  filter: drop-shadow(0 12px 24px rgba(255, 93, 4, 0.18));
}

.urr-savings-calc .urr-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 720px) {
  .urr-savings-calc {
    padding: 50px 0;
  }
  .urr-savings-calc .urr-calc-stage {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .urr-savings-calc .urr-calc-glass {
    padding: 28px 20px 24px;
    border-radius: 20px;
  }
  .urr-savings-calc .urr-calc-glow,
  .urr-savings-calc .urr-calc-hero strong,
  .urr-savings-calc .savings-calculator__output {
    font-size: 48px;
  }
  .urr-savings-calc .urr-calc-chips {
    grid-template-columns: 1fr;
  }
  .urr-savings-calc .urr-calc-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .urr-savings-calc .urr-calc-foot .btn {
    justify-content: center;
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.025em;
  }
  .urr-savings-calc .urr-calc-art {
    order: -1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 420px) {
  .urr-savings-calc .urr-calc-glow,
  .urr-savings-calc .urr-calc-hero strong,
  .urr-savings-calc .savings-calculator__output {
    font-size: 42px;
  }
}
