.b24-widget-button-wrapper {
    display: none;
}

.spn-page {
}

.calc-body {
    padding: 30px 50px 30px;
}

.spn-page h2 {
    margin-top: 0 !important;
    line-height: 32px;
    font-size: 28px;
}

.spn-page-intro {
    text-align: center;
    position: relative;
}

.spn-page-intro-deco1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    height: 110px;
    background-image: url("/assets/components/page/calc/comp/spn/img/lighting-left.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.spn-page-intro-deco2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 110px;
    background-image: url("/assets/components/page/calc/comp/spn/img/lighting-right.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.spn-page-intro-img {
    display: inline-block;
    width: 176px;
    transform: translateX(15%);
}

.spn-page-intro-title {
    margin: 0 0 10px !important;
}

.spn-page-intro-title span{
    white-space: nowrap;
}

.spn-page-intro-desc {
    line-height: 26px;
    font-size: 18px;
}

.spn-page-intro-deco-bottom {
    max-width: 560px;
    border-bottom: 1px solid #dadada;
    margin: 50px auto 65px;
}

.spn-volume-calc {
    display: flex;
    flex-flow: row nowrap;
    gap: 15%;
    margin-bottom: 90px;
}

.spn-volume-calc-text {
    flex: 1 1 55%; 
}

.spn-volume-calc-images {
    flex: 0 1 30%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}

.spn-volume-calc-img {
    margin: 0 !important;
    width: 100%;
    border: 1px solid #dadada;
}

.spn-calc {
    max-width: 740px;
    margin: 0 auto 70px;
}

.spn-calc-header {
    text-align: center;
    margin-bottom: 40px !important;
}

.product-spn-calc {
    margin-bottom: 20px;
}

.product-spn-calc .card {
    border: 1px dashed #C8C8C8;
    border-radius: 6px;
    background-color: var(--color-bg);
}

.product-spn-calc .card .card-body {
    padding: 40px 70px 50px;
}

.product-spn-calc-parameters {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.product-spn-calc-parameters .form-group {
    flex: 0 1 calc(50% - 20px);
    margin-bottom: 30px;
    line-height: 26px;
}

.product-spn-calc-parameters .form-group label {
    font-weight: 700;
}

.product-spn-calc-select-items {
    font-size: 14px;
    margin: 5px 0 0;
    font-weight: 700;
}

.product-spn-calc-select-item {
    display: inline-block;
    margin-right: 8px;
    transition: color 0.3s ease;
}

@media (any-hover: hover) {
    .product-spn-calc-select-item:hover {
        text-decoration: none;
        color: var(--color-primary);
        cursor: pointer;
    }
}

.product-spn-calc-select-item:active {
    text-decoration: none;
    color: var(--color-primary);
}

.product-spn-calc-deco-bottom {
    max-width: 580px;
    border-bottom: 1px solid #dadada;
    margin: 0px auto 30px;
}

.product-spn-calc-result {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.product-spn-calc-result-title {
    margin-bottom: 5px;
    line-height: 26px;
    font-size: 16px;
    font-weight: 700;
}

.product-spn-calc-result-value {
    line-height: 26px;
    font-size: 26px;
    font-weight: 600;
}

.product-spn-calc-cart-btn-wrapper {
    margin-top: 40px;
    text-align: center;
}

.product-spn-calc-cart-btn {
    padding: 10px;
    width: 310px;
    text-align: center;
    text-transform: none !important;
    line-height: 26px;
    font-size: 16px;
    font-weight: 600;
}

.spn-calc-text {
    text-align: center;
}

.spn-calc-instruction {
    margin-bottom: 90px;
}

.spn-calc-instruction .calc-step-item::before {
    display: none;
}

.spn-calc-change-content {
    margin-bottom: 60px;
    line-height: 26px;
    font-size: 16px;
    font-weight: 500;
}

.spn-calc-change-subtitle {
    font-weight: 600;
}

.spn-calc-change-cases {
    margin-top: 20px;
}

.spn-calc-change-case {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.spn-calc-change-cases-img {
    width: 110px;
    border: 1px solid #dadada;
}

.spn-calc-change-text {
    max-width: 620px;
    margin-top: 5px;
}

.spn-calc-change-text span {
    display: inline-block;
    border-bottom: 2px solid #C03A2B;
}

.spn-calc-change-case .spn-calc-change-text {
    margin: 0;
}

.spn-calc-usage .calc-step-header {
    margin-bottom: 15px;
    line-height: 26px;
    font-size: 20px;
    font-weight: 600;
}

.spn-calc-usage .calc-step-item {
    margin-bottom: 25px;
}

.spn-calc-usage .paragraph-calc {
    position: relative;
    max-width: 750px;
}

.spn-calc-usage .paragraph-calc.no-line::before {
    content: '';
    width: 1px;
    height: calc(100%);
    position: absolute;
    top: 0;
    background: #FFF;
    left: -31px;
    z-index: 1;
    margin-top: 10px;
}

.spn-calc-usage .paragraph-calc::after {
    content: '';
    display: block;
    position: absolute;
    top: 7px;
    left: -31px;
    width: 20px;
    height: 14px;
    box-sizing: border-box;
    border-top: 7px solid transparent; 
    border-bottom: 7px solid transparent; 
    border-right: 10px solid transparent; 
    border-left: 10px solid var(--color-primary);
    background-color: transparent;
    z-index: 5;
}

.spn-calc-usage .calc-step-item:last-of-type::before{
    display: block;
    height: 100%;
}

@media only screen and (max-width: 1179px) {
    
    .spn-volume-calc {
        flex-flow: column nowrap;
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .spn-volume-calc-text {
        flex: 0 0 auto; 
    }
    
    .spn-volume-calc-images {
        flex: 0 0 auto;
        display: flex;
        flex-flow: row nowrap;
        align-items: flex-start;
        gap: 4%;
    }
    
    .spn-volume-calc-img {
        flex: 0 1 48%;
        width: 48%;
    }

    .spn-calc {
        margin: 0 auto 50px;
    }
    
}

@media only screen and (max-width: 767px) {

    .spn-page h2 {
        line-height: 28px;
        font-size: 24px;
    }

    .calc-body {
        padding: 30px 15px 30px;
    }

    .spn-page-intro-deco1 {
        top: -20px;
        width: 90px;
        height: 55px;
    }

    .spn-page-intro-deco2 {
        top: -20px;
        width: 75px;
        height: 55px;
    }

    .spn-page-intro-img {
        width: 120px;
    }

    .spn-page-intro-title {
    }

    .spn-page-intro-title span{
        white-space: normal;
    }

    .spn-page-intro-deco-bottom {
        margin: 30px auto 20px;
    }
    
    .spn-volume-calc-images {
        flex-flow: column nowrap;
        align-items: center;
        gap: 15px;
    }
    
    .spn-volume-calc-img {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .spn-calc {
        max-width: 480px;
        margin: 0 auto 30px;
    }
    
    .spn-calc-header {
        text-align: center;
        margin-bottom: 20px !important;
    }

    .product-spn-calc {
        margin-bottom: 10px;
    }
    
    .product-spn-calc .card .card-body {
        padding: 30px 20px;
    }
    
    .product-spn-calc-parameters {
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: center;
    }
    
    .product-spn-calc-parameters .form-group {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 15px;
    }

    .product-spn-calc-select-items {
        font-size: 12px;
    }
    
    .product-spn-calc-select-item {
        margin-right: 5px;
    }
    
    .product-spn-calc-deco-bottom {
        margin: 0px auto 20px;
    }
    
    .product-spn-calc-result {
        flex-flow: column nowrap;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .product-spn-calc-cart-btn-wrapper {
        margin-top: 20px;
        text-align: center;
    }
    
    .product-spn-calc-cart-btn {
        padding: 5px;
        width: 210px;
        line-height: 24px;
        font-size: 14px;
    }

    .spn-calc-instruction {
        margin-bottom: 60px;
    }

}

@media only screen and (max-width: 479px) {
    .spn-calc-change-case {
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .spn-calc-change-cases-img {
        width: 60%;
    }
}
