
.section-energy-savings {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-energy-savings__container {

    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.section-energy-savings__heading h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 30px;
}

.section-energy-savings__heading p {
    font-size: 1.8rem;
    color: #666666;
    margin-bottom: 40px;
}

.section-energy-savings__slider-wrapper {
    position: relative;
    width: 70%;
    margin: 0 auto 20px;
    height: 80px;
}

.section-energy-savings__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    outline: none;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
    margin: 0;
}

.section-energy-savings__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    margin-top: 0;
}

.section-energy-savings__slider::-moz-range-thumb {
    width: 0;
    height: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* -----------------------------------------
   Custom Marker Circle (32×32) w/ “<>” text
   ----------------------------------------- */
.section-energy-savings__marker {
    position: absolute;
    top: 50%;
    width: 34px;
    height: 34px;
    margin-top: -16px; /* half of 32 to center vertically */
    background-color: #0099fe;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 21px;
    user-select: none;
    font-family: FangSong;

    /* Let clicks “pass through” to the input behind it */
    pointer-events: none; /* ← changed! */
}

/* The “<>” label inside the marker */
.section-energy-savings__marker-text {
    line-height: 1;
    font-weight: 700;
}

/* ------------------------------------------------
   Current Value wrapper: “$” + <strong>100</strong> + “/Month”
   ------------------------------------------------ */
.section-energy-savings__current-value-wrapper {
    position: absolute;
    /* move it higher so it doesn’t overlap the marker too closely */
    top: -20px; /* ← changed! — pushes the price up by 20px */
    z-index: 3;
    display: flex;
    align-items: baseline;
    transform: translateX(0);
    white-space: nowrap;

    /* allow slider dragging through this element too */
    pointer-events: none; /* ← changed! */
}

/* Dollar‐sign in normal weight */
.section-energy-savings__current-dollar-sign {
    font-size: 2rem;
    color: #000000;
    font-weight: 400;
}

/* Numeric part is bold */
.section-energy-savings__current-number {
    font-size: 2rem;
    color: #000000;
    font-weight: 700;
    margin: 0 2px;
}

/* “/Month” in normal weight */
.section-energy-savings__current-unit {
    font-size: 1.6rem;
    color: #000000;
    font-weight: 400;
    margin-left: 2px;
    padding-top: 4px;
}

/* ----------------------------
   Estimated Savings Display
   ---------------------------- */
.section-energy-savings__estimated-container p {
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.section-energy-savings__estimated-value {
    color: #0099fe;
    font-size: 32px;
    font-weight: 700;
}
.year{
    color: #0099fe;
    font-size: 22px;
    font-weight: 600;
}

.section-energy-savings__estimated-container .section-energy-savings__disclaimer {
    font-size: 1.2rem;
    color: #999;
}

/* -------------------------
   Mobile (max-width: 768px)
   ------------------------- */
@media (max-width: 768px) {
    .section-energy-savings__current-value-wrapper {
        top: -10px;
    }
    .section-energy-savings__heading h2 {
        font-size: 2.4rem;
    }
    .section-energy-savings__heading p {
        font-size: 1.6rem;
    }
    .section-energy-savings__slider-wrapper {
        width: 70%;
        height: 80px; /* keep same extra height on mobile */
    }
    .section-energy-savings__current-dollar-sign,
    .section-energy-savings__current-number {
        font-size: 1.6rem;
    }
    .section-energy-savings__current-unit {
        font-size: 1.2rem;
        padding-top: 3px;
    }
    .section-energy-savings__estimated-container p {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }
    .section-energy-savings__disclaimer {
        font-size: 1rem;
    }
    .section-energy-savings__estimated-value {
        line-height: 64px;
    }
}
.result_text{
    font-size: 25px;
}
