.panel.header > .price-mode{
    display: none;
}
.price-mode{
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.price-mode .switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 24px;
}
.price-mode .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.price-mode .switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    border-radius: 15px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.price-mode .slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}
.price-mode input:checked + .slider {
    background-color: #2196F3;
}
.price-mode input:checked + .slider:before {
    -webkit-transform: translateX(21px);
    -ms-transform: translateX(21px);
    transform: translateX(21px);
}

@media only screen and (max-width: 991px){
    .price-mode{
        flex-wrap: wrap;
    }
    .price-mode .switch{
        margin-top: 10px;
    }
}

body[data-mode="hidden-price"] .price{
    display: none !important;
}

.catalog-product-view .product-info-price .price.active{
    display: block !important;
}
