:root {
    --text-color: #454545;
    --text-color-dark: #303030;
    --theme-color: var(--theme-color);
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    input[type=checkbox].switch{
        --active: var(--theme-color);
        --active-inner: #fff;
        --focus: 2px var(--theme-color);
        --border: #bbc1e1;
        --border-hover: var(--theme-color);
        --background: #fff;
        --disabled: #f6f8ff;
        --disabled-inner: #e1e6f9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 30px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        background: #f5f5f5;
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
        border-color: var(--theme-color);
    }
    input[type=checkbox].switch:after{
        content: "";
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }
    input[type=checkbox].switch:checked {
        --d-o: 0.3s;
        --d-t: 0.6s;
        --d-t-e:
        cubic-bezier(0.2, 0.85, 0.32, 1.2);
        background: #f5f5f5;
    }
    /*input[type=checkbox].switch:checked:after {
        background: var(--theme-color);
    }*/
    input[type=checkbox].switch:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }
    input[type=checkbox].switch:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }
    input[type=checkbox].switch:disabled + label {
        cursor: not-allowed;
    }
    input[type=checkbox].switch:hover:not(:checked):not(:disabled) {
        --bc: #f5f5f5;
    }
    input[type=checkbox].switch:focus{
        /* box-shadow: 0 0 0 var(--focus); */
    }

    input[type=checkbox].switch + label{
        font-size: 14px;
        line-height: 30px;
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        margin-left: 15px;
        color: #808080;
    }

    input[type=checkbox].switch {
        width: 60px;
        border-radius: 20px;
    }
    input[type=checkbox].switch:after {
        left: -2px;
        top: -1px;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        background: #e3e3e3;
        transform: translateX(var(--x, 0));
        border: 1px solid var(--theme-color);
    }
    input[type=checkbox].switch:checked {
        --x: 30px;
    }
    input[type=checkbox].switch:checked:after {
        background: var(--theme-color);
    }
    input[type=checkbox].switch:disabled:not(:checked):after {
        opacity: 0.6;
    }

}
.position-relative{position: relative}
.top-info button.btn-white-bordered{
    /*color: #A1C518;
    border: 2px solid #A1C518;*/
    background: #fff;
    border: 1px solid var(--theme-color);
    color: var(--theme-color);
}
.top-info button.btn-white-bordered svg path{
    fill: var(--theme-color);
}

.top-info button.btn-white-bordered:hover{
    background: var(--theme-color);
    color: #fff;
}
.top-info button.btn-white-bordered:hover svg path{
    fill: #fff;
}
.top-info button{
    display: flex;
    margin: 0 auto;
    /* height: 45px; */
    width: 100%;
    /* font-size: 16px; */
    /* border-radius: 10px; */
    align-items: center;
    justify-content: center;
    padding: 8px;
    max-width: 220px;
}
.top-info button .plus{
    font-size: 20px;
    margin-right: 8px;
}
.top-info .switch-wrap{
    display: block;
    /* margin: 15px 0; */
    margin-top: 15px;
}
.top-info hr{
    color: #9e9e9e;
    margin: 17px 0;
}
.top-info{
    background-color: #95959514;
    padding: 15px 25px;
    height: 320px;
    /* border-radius: 10px; */
}
.top-info .fs-30.fw-700{
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
.product-compare-wrap .top-info{
    background: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-compare-wrap .product-compare{
    flex: 0 0 auto;
    width: 25%;
    border-right: 1px solid #0000001A;
   /* border-radius: 10px;*/
    /*min-width: 270px;*/
}
.product-compare-wrap .owl-item .product-compare{
    width: auto;
}
.product-compare-wrap{
    display: flex;
    /* overflow-y: auto; */
    /* border-radius: 10px; */
}
.attribute-list>div:nth-child(odd){
    background: #e3e3e3;
}
.product-compare-wrap .short-info{
    display: flex;
    align-content: center;
    justify-content: space-around;
    /* padding-bottom: 20px; */
    flex-direction: row;
}
.product-compare-wrap .price{
    align-self: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.attribute-list>div{
    padding: 15px 25px;
    min-height: 50px;
    overflow: hidden;
    line-height: 1.3;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #808080;
    word-break: break-word;
}
.product-compare-wrap .attribute-list>div{
    color: #222;
    font-weight: 600;
}
.product-compare .product-name a{color: initial}
.product-compare .remove-compare{
    position: absolute;
    top: -4px;
    right: 0;
    cursor: pointer;
    font-weight: normal;
    color: #f33;
    font-size: 24px;
    line-height: 1;
}
.product-compare .col-image{
    min-width: 45%;
    max-height: 150px;
    text-align: center;
}
.product-compare .col-image img{
    max-width: 100%;
    max-height: 100%;
}
.product-compare .product-name{
    color: #222;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    padding-right: 20px;
    position: relative;
    /* margin-bottom: 20px; */
}
.product-compare-wrap .top-info button{
    width: 90px;
    /* display: inline-flex; */
    /* align-items: center; */
    /* margin-left: 0; */
    align-self: center;
    margin: 0;
}
.product-compare-wrap .top-info button:before {
    margin: 0 5px 0 0;
    flex-shrink: 0;
}
.top-info .product-price,.top-info .price-new{
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}
.compare-nav{
    position: absolute;
    top: 110px;
    width: 100%;
    display: none;
    justify-content: space-between;
    z-index: 9;
}

.compare-nav .prev-compare{
    margin-left: -15px;
}
.compare-nav .next-compare{
    margin-right: -15px;
}
.compare-nav>span{
    background: var(--theme-color);
    width: 49px;
    height: 49px;
    display: inline-block;
    border-radius: 30px;
    text-align: center;
    line-height: 42px;
    cursor: pointer;
    color: #fff;
    font-size: 45px;
    /* display: inline-flex; */
    /* align-items: center; */
    /* justify-content: center; */
}
.compare-nav svg{
    display: inline-block;
    width: 15px;
    filter: invert(100%) sepia(0%) saturate(2156%) hue-rotate(76deg) brightness(118%) contrast(100%);
}