h5{
    font-size: 1.1rem;
}
section.backlink{
    display: inline-block;
    margin-top: 15px;
}
section.backlink a{
    color: gray!important;
    font-size: 18px!important;
    padding: 2px;
}
/********** filter **********/
section.filter{
    background-color: #ececec;
    padding: 15px;
    min-height: 400px;
   height: fit-content;
    border-radius: 10px;
    margin-top: 30px;
}
section.filter hr{
    color: #a6a5a5;
    width: 95%;
}
section.filter div.category{
    position: relative;
}
section.filter div.category .cat-down{
    position: absolute;
    left: 20px;
    font-size: 14px;
    color: gray;
    cursor: pointer;
}
section.filter div.category ul.cat{
    display: none;
}
section.filter div.category ul.cat li{
    padding-top: 20px;
}
section.filter div.category ul.cat li a{
    font-size: 18px;
    color: #1f3434;
    transition: all 0.3s linear;
}
section.filter div.category ul.cat li a:hover{
    font-size: 19px;
    color: black;
}
section.filter div.stuff{
    position: relative;
}
section.filter div.stuff .stuff-down{
    position: absolute;
    left: 20px;
    font-size: 14px;
    color: gray;
    cursor: pointer;
}
section.filter div.stuff ul.stuf{
    display: none;
}
section.filter div.stuff ul.stuf li{
    padding-top: 20px;
}
section.filter div.stuff ul.stuf li a{
    font-size: 18px;
    color: #1f3434;
    transition: all 0.3s linear;
}
section.filter div.stuff ul.stuf li a:hover{
    font-size: 19px;
    color: black;
}
section.filter div.price{
    position: relative;
}
section.filter div.price .price-down{
    position: absolute;
    left: 20px;
    font-size: 14px;
    color: gray;
    cursor: pointer;
}
section.filter div.price #price{
    display: none;
}

/**************** price range ****************/
.wrapper {
    height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.filter-price {
    width: 220px;
    border: 0;
    padding: 0;
    margin: 0;
}
.price-title {
    position: relative;
    color: #fff;
    font-size: 16px;
    line-height: 1.2em;
    font-weight: 400;
    background: #ee7f8f;
    padding:1px;
    width: 90%;
    border-radius: 15px;
}
.price-title a{
    width: 100%;
    display: block;
    margin: auto;
    color: black;
    font-weight: bold;
    transition: all 0.5s ease;
}
.price-title a:hover{
    font-size: 18px;
    color: white;
}
.price-container {
    /*display: flex;*/
    /*border: 1px solid #ccc;*/
    padding: 5px;
    margin-left: 57px;
    width:80%;
}
.price-field {
    position: relative;
    width: 100%;
    height: 36px;
    box-sizing: border-box;
    padding-top: 15px;
    padding-left: 0px;
}
.price-field input[type=range] {
    position: absolute;
}
/* Reset style for input range */
.price-field input[type=range] {
    width: 100%;
    height: 7px;
    border: 1px solid #EF4056;
    outline: 0;
    box-sizing: border-box;
    border-radius: 5px;
    pointer-events: none;
    -webkit-appearance: none;
}
.price-field input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}
.price-field input[type=range]:active,
.price-field input[type=range]:focus {
    outline: 0;
}
.price-field input[type=range]::-ms-track {
    width: 188px;
    height: 2px;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    border-radius: 5px;
    pointer-events: none;
    background: transparent;
    border-color: transparent;
    color: red;
}
/* Style toddler input range */
.price-field input[type=range]::-webkit-slider-thumb {
    /* WebKit/Blink */
    position: relative;
    -webkit-appearance: none;
    margin: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    height: 15px;
    width: 15px;
    margin-top: -6px;
    background-color: #d3394c;
    cursor: pointer;
    pointer-events: all;
    z-index: 100;
}
.price-field input[type=range]::-moz-range-thumb {
    /* Firefox */
    position: relative;
    appearance: none;
    margin: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    margin-top: -5px;
    background-color: #EF4056;
    cursor: pointer;
    pointer-events: all;
    z-index: 100;
}
.price-field input[type=range]::-ms-thumb  {
    /* IE */
    position: relative;
    appearance: none;
    margin: 0;
    border: 0;
    outline: 0;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    margin-top: -5px;
    background-color:#EF4056;
    cursor: pointer;
    pointer-events: all;
    z-index: 100;
}
/* Style track input range */
.price-field input[type=range]::-webkit-slider-runnable-track {
    /* WebKit/Blink */
    width: 188px;
    height: 2px;
    cursor: pointer;
    background: #EF4056;
    border-radius: 5px;
}
.price-field input[type=range]::-moz-range-track {
    /* Firefox */
    width: 188px;
    height: 2px;
    cursor: pointer;
    background: #EF4056;
    border-radius: 5px;
}
.price-field input[type=range]::-ms-track {
    /* IE */
    width: 188px;
    height: 2px;
    cursor: pointer;
    background: #EF4056;
    border-radius: 5px;
}
/* Style for input value block */

.price-wrap {
    display: flex;
    color: #242424;
    font-size: 14px;
    line-height: 1.2em;
    font-weight: 400;
    margin-bottom: 0px;
}
.price-wrap-1,
.price-wrap-2 {
    display: flex;
    margin-left: 0px;
    border-bottom: 1px solid #ccc;
    margin-top: 10px;
}
.price-title {
    margin-right: 5px;
}
.price-wrap_line {
    margin: 6px 0px 5px 5px;
}
.price-wrap #one,
.price-wrap #two {
    width: 120px;
    text-align: right;
    margin:0 ;
    padding: 0;
    margin-right: 30px;
    background:  0;
    border: 0;
    outline: 0;
    color: #242424;
    font-family: 'yekan', sans-serif;
    font-size: 18px;
    line-height: 1.2em;
    font-weight: 400;
    display: block;
}
.price-wrap label {
    text-align: right;
    margin-top: 6px;
    padding-left: 5px;
}
/* Style for active state input */
.price-field input[type=range]:hover::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.5px #242424;
    transition-duration: 0.3s;
}
.price-field input[type=range]:active::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.5px #242424;
    transition-duration: 0.3s;
}
.switch {
    position: absolute;
    display: inline-block;
    width: 50px;
    height: 21px;
    left:15px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: #EF4056;
}
input:focus + .slider {
    box-shadow: 0 0 1px #fff;
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
div.amount{
    display: flex;
    position: relative;
}
/********** end filter **********/
/********** mainproducts **********/
.col-lg-4{
    width: 30%!important;
}
section.mainproducts{
    margin-top: 30px;
}
section.mainproducts div.product{
    height: 350px;
    background-color: #f1f0f0;
    border-radius: 15px;
    margin-right: 20px;
    position: relative;
    padding: 10px;
    margin-bottom: 20px;
}
section.mainproducts div.product img{
    width: 100%;
    display: block;
    margin: auto;
    border-radius: 10px;
}
section.mainproducts div.product h5{
    padding: 10px;
}
section.mainproducts div.product p.countsuc{
    /*font-size: 18px;*/
    font-weight: bold;
    padding: 5px 10px;
    color: #0f5132;
}
section.mainproducts div.product p.countdang{
    /*font-size: 18px;*/
    font-weight: bold;
    padding: 5px 10px;
    color: #E6123D;
}
section.mainproducts div.product span.price{
    /*font-size: 18px;*/
    font-weight: bold;
    padding: 5px 10px;
}
section.mainproducts div.product span.price .p{
    font-size: 14px;
}
@media (max-width: 991px) {
    .col-lg-4{
        width: 41.66666667%!important;
    }
}
@media (max-width: 360px) {
    .col-lg-4{
        width: 90%!important;
    }
    section.mainproducts div.product {
        height: 360px;
    }
}


/********** end mainproducts **********/
