.image-calculator {
    position: relative;
}

.image-calculator__top-content {
    margin-bottom: 35px;
}

.calculator-info {
    border-radius: 12px;
    background: linear-gradient(15deg, #FFF 13.37%, #EDFAFF 47.7%);
    padding: 32px 14px;
}

.calculator-info h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5em;
    color: var(--dark-blue);
    margin: 0 0 20px;
    text-align: center;
    text-transform: capitalize;
}

.calculator-total {
    padding: 10px 33px;
    border-radius: 8px;
    border: 2px solid #0071CE;
    background: linear-gradient(124deg, var(--dark-blue) 12.85%, var(--near-black) 82.1%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 12px;
}

.calculator-total p {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1em;
    color: var(--white);
    margin: 0;
    text-transform: capitalize;
}

.total-price {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1em;
    color: var(--white);
}

.calculator-btn {
    text-align: center;
    margin-top: 19px;
}

.calculator-image {
    margin-top: 35px;
}

.calculator-image img {
    width: 100%;
}

.calculator-value {
    margin: 0 0 30px 0;
}

.calculator-value__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.calculator-value__info span {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5em;
    color: var(--dark-blue);
    margin: 0 0 15px;
    text-transform: capitalize;
    display: block;
}

/* range slider */

.rangeslider {
    border-radius: 20px;
    background: linear-gradient(90deg, #0071CE 0%, #004883 100%);
}

.rangeslider__handle {
    border-radius: 22px;
    min-width: 62px;
    line-height: 42px;
    text-align: center;
}

.rangeslider__handle:after {
    background: 0;
}

.rangeslider,
.rangeslider__fill {
    -moz-box-shadow: unset;
    -webkit-box-shadow: unset;
    box-shadow: unset;
}

.rangeslider--horizontal {
    height: 4px;
}

.rangeslider--horizontal .rangeslider__fill {
    height: 8px;
    top: -2px;
}

.rangeslider--horizontal .rangeslider__handle {
    top: -14px;
}

.rangeslider__handle {
    width: 14px;
    height: 26px;
    border-radius: 4px;
    min-width: auto;
    font-size: 0;
    border: none;
    background: linear-gradient(107deg, #71BFFF 4.02%, #0071CE 107.33%) !important;
    box-shadow: none;
}

.rangeslider__fill {
    border-radius: 20px;
    background: linear-gradient(107deg, #71BFFF 4.02%, #0071CE 107.33%);
}

@media (min-width: 768px) {
    .image-calculator__top-content {
        margin-bottom: 45px;
    }

    .calculator-info {
        background: linear-gradient(107deg, #EDFAFF 4.02%, #D7F1FA 107.33%);
        padding: 50px 57px;
    }

    .calculator-info h4 {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .calculator-details {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .calculator-total {
        padding: 20px 15px;
        border-radius: 12px;
        gap: 0 18px;
        width: 275px;
    }

    .calculator-total p {
        font-size: 20px;
        font-weight: 600;
        max-width: 104px;
        text-align: center;
    }

    .total-price {
        padding: 6px 22px;
        font-size: 22px;
        line-height: 1.5em;
        border-radius: 6px;
        background: linear-gradient(107deg, #71BFFF 4.02%, #0071CE 107.33%);
        display: inline-block;
    }

    .calculator-btn {
        text-align: right;
        margin-top: 0;
    }

    .calculator-image {
        margin-top: 45px;
    }

    .calculator-value {
        margin: 0 0 37px 0;
    }

    .calculator-value__info span {
        font-size: 20px;
        margin: 0 0 20px;
    }

    .rangeslider--horizontal {
        height: 6px;
    }

    .rangeslider--horizontal .rangeslider__fill {
        height: 10px;
        top: -2px;
    }

    .rangeslider--horizontal .rangeslider__handle {
        top: -18px;
    }

    .rangeslider__handle {
        width: 7px;
        height: 40px;
    }

}


@media (min-width: 1200px) {
    .image-calculator__top-content {
        max-width: 1200px;
        margin: 0 auto 50px;
    }

    .calculator-info {
        background: linear-gradient(107deg, #EDFAFF 4.02%, #D7F1FA 107.33%);
        padding: 50px 35px;
    }

    .calculator-info h4 {
        font-size: 32px;
        margin-bottom: 34px;
    }

    .calculator-total {
        padding: 15px 15px;
        gap: 0 12px;
        width: 251px;
    }

    .calculator-total p {
        line-height: 1em;
        max-width: 95px;
    }

    .total-price {
        padding: 10px 17px;
        font-size: 22px;
    }

    .calculator-image {
        margin-top: 0;
    }

     .calculator-value {
        margin: 0 0 46px 0;
    }

}

.image-calculator__left-content {
    padding: 42px;
    border-radius: 12px;
    overflow: hidden;

    h2 {
        margin-bottom: 0;
        background: var(--bright-blue-linear);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    h3 {
        position: relative;
        padding-bottom: 20px;
        margin-bottom: 30px;

        &:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 200px;
            height: 3px;
            background: var(--bright-blue-linear);
            border-radius: 4px;
            overflow: hidden;
        }
    }
}

@media (min-width: 768px) {
    .image-calculator__left-content {
        padding: 50px;
    }
}

.image-calculator__left-content__inner {
    position: relative;
    z-index: 1;

    > div {
        max-width: 500px;
    }

    svg {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100px;
        height: auto;
    }
}

@media (min-width: 768px) {
    .image-calculator__left-content {
        svg {
            width: 134px;
        }
    }
}

.savings-callout {
    height: 100%;
    position: relative;
    margin-top: 30px;
}

.savings-callout svg {
    position: absolute;
    top: 0;
    opacity: 0;
}

.image-calculator__wrap__row {
    display: flex;
    flex-wrap: wrap;
}

.image-calculator__left,
.image-calculator__right {
    width: 100%;
}

.image-calculator__left {
    margin-bottom: 30px;
}

.savings-callout__image--small {
    /* clip-path: url(#triangleClip); */
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: auto;

    -webkit-mask-image: url(/wp-content/themes/MWS/assets/img/triangle.png);
    mask-image: url(/wp-content/themes/MWS/assets/img/triangle.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: left;
    mask-position: left;
}

.savings-callout__image--big {
    /* clip-path: url(#triangleBigClip); */
    width: 100%;
    height: auto;

    -webkit-mask-image: url(/wp-content/themes/MWS/assets/img/rhombus.png);
    mask-image: url(/wp-content/themes/MWS/assets/img/rhombus.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: right top;
    mask-position: right top;
}

@media (max-width: 1199px) {
    .savings-callout__image--small {
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        width: 45%;
        height: 65%;
        object-fit: cover;
        object-position: 26%;
    }

    .savings-callout__image--big {
        height: 500px;
        object-fit: cover;
        object-position: center;
    }
}

@media (min-width: 1200px) {
    .savings-callout {
        margin-top: 0;
    }

    .savings-callout__image-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .savings-callout__image--small {
        width: 45%;
        height: 70%;
        object-fit: cover; 
        object-position: center;
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-position: left;
        mask-position: left top;
    }

    .savings-callout__image--big {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        object-position: center;

        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
        -webkit-mask-position: right top;
        mask-position: right top;
    }
}