*, *:before, *:after{
    padding:0; border:0; margin:0;
    -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
}
*{
    font-family: Verdana, "sans-serif"; 
    line-height:1.5;
}
.hidden-elmt{
    display:none;
}
#popup-bg{
    display:block; 
    position:fixed; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    background-color:rgba(0,0,0,0.8); 
    z-index:9998;
}

#popup-view{
    display:block;
    position:fixed;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width:100%;
    margin:0 auto;
    height:100%;
    top:0;
    left:0;
    padding:33px 0;
    background-color:#fff;
    z-index:9999;
    overflow:auto;  
}
#popup-view #close-btn{
    display:block;
    position:fixed;
    height:34px;
    width:34px;
    top:0; right:0;
    float:right; 
    padding:7px 12px 9px 12px; 
    background-color:#f5d8d8;
    font-family: Verdana, "sans-serif";
    font-size:12px;
    font-weight: 100;
    z-index: 999999; 
}
/*Btn tags*/
#popup-view .btn-tags{
    width:100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: hidden;
    justify-content: center;
}
#popup-view #btn-left:hover, 
#popup-view #btn-right:hover{
    cursor:pointer;
}
#popup-view #btn-left, #popup-view #btn-right{
    padding: 15px; 
    width: 50%; 
    height: auto; 
    float:left; 
    vertical-align: middle;
}
#popup-view #btn-left h4, 
#popup-view #btn-right h4{
    font-weight: 400; 
    font-size: 1em; 
    line-height: 1; 
    margin:auto 0;
}
#popup-view .btntag-left_active{
    background-color:transparent; 
    border-top:1px solid #e2e2e2; 
    border-left:1px solid #e2e2e2;
}
#popup-view .btntag-left_passive{
    background-color:#ececec; 
    border-top:1px solid transparent; 
    border-left:1px solid transparent; 
    box-shadow: -2px -2px 7px rgba(0,0,0,0.1) inset;
    -moz-box-shadow: -2px -2px 7px rgba(0,0,0,0.1) inset;
    -webkit-box-shadow: -2px -2px 7px rgba(0,0,0,0.1) inset;
}
#popup-view .btntag-right_active{
    background-color:transparent; 
    border-top:1px solid #e2e2e2; 
    border-right:1px solid #e2e2e2; 
}
#popup-view .btntag-right_passive{
    background-color:#ececec;
    border-top:1px solid transparent;
    border-right:1px solid transparent;
    box-shadow: 2px -2px 7px rgba(0,0,0,0.1) inset; 
    -moz-box-shadow: 2px -2px 7px rgba(0,0,0,0.1) inset; 
    -webkit-box-shadow: 2px -2px 7px rgba(0,0,0,0.1) inset; 
}/*Btn tags END*/

/*Action btns*/
#popup-view .action-btns{width:100%;margin-top:15px; position:absolute; bottom:0; left:0; padding:20px;}
#popup-view .read-more,
#popup-view .add-to-cart{
   padding:15px 20px;
   font-size: 14px;
}
#popup-view .read-more:hover{
    cursor:pointer;
    background-color:#ccc;
}
#popup-view .read-more{
    background-color:#eaeaea; 
    float:left;
}
#popup-view .add-to-cart:hover{
    cursor:pointer; background-color:#2c8ab1;
    box-shadow: 0 0 3px rgba(0,0,0,0.4);
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.4); 
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.4); 
}
#popup-view .add-to-cart{ 
    background-color:#48a1c5;
    color:#fff;
    float:right; 
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 2px rgba(0,0,0,0.3);
}/*Action btns END*/

#popup-view #product-view{
    clear:both; 
    padding-top:25px;
}

#popup-view #product-img{
    height:200px;
    width:100%; 
    overflow:hidden; 
    text-align: center; 
    margin: 30px auto 40px;
}

#popup-view .product-price{
    margin-top:20px; 
    font-size:22px;
    display:block;
    float:left;
    border-left: 4px solid #c4d5da;
    padding-left:10px;
}
#popup-view #product-img img{
    height:100%; 
    width:auto;
    margin:0 auto;
}

#popup-view #product-text{
    padding: 0 20px;
}

#popup-view #product-text span{
    color: #ccc;
}
#popup-view #product-text p{
    padding-top:10px;
}

#popup-view .add-to-cart-btn:hover{}
#popup-view .add-to-cart-btn{
    float:right; 
    padding:15px 20px; 
    background-color: #48a1c5; 
    color:#fff;
    margin-top: 34px;
    box-shadow: 0 0 2px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 2px rgba(0,0,0,0.3);
}
#popup-view .add-to-cart-btn a:hover{
    box-shadow: 0 0 10px rgba(0,0,0,0.5); 
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.5); 
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/*Products list in popup*/
#popup-view #recom-view{
    display:none;
}
#popup-view #recom-view ul{
    padding:20px 0px 5px 0px;
    width:100%;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: hidden;
    justify-content: center;
}
#popup-view #recom-view ul li{
    position:relative; 
    display:inline-block; 
    width:100%; 
    height:auto; 
    margin: 10px 0;
    padding: 10px 20px 130px 20px; 
    box-shadow: 0 0 2px rgba(0,0,0,0.3); 
    -moz-box-shadow: 0 0 2px rgba(0,0,0,0.3); 
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.3);
}
#popup-view #recom-view ul li img{
    width:auto; 
    height:120px; 
    margin:15px auto;
}          

#products-recomm-ul span{
    float:left;
    width:100%; 
    color:#ccc;
    display:block;
}
#products-recomm-ul .products-list-price{
    font-size:18px;
    text-align: right;
    margin:20px 10px 15px 0px;
}

@media screen and (min-width: 395px){
    #popup-view{padding:34px;}
    #popup-view #recom-view ul{
        padding:20px 3px 5px 3px;
    }
    #popup-view .read-more,
    #popup-view .add-to-cart{
        padding:15px 20px;
        font-size:1em;
    }
    #popup-view #product-text{
        padding: 0;
    }
}

@media screen and (min-width: 425px){
    #popup-view #btn-left, 
    #popup-view #btn-right{
        padding:20px 25px;
    }
    #popup-view #btn-left h4, 
    #popup-view #btn-right h4{ 
        font-weight: 600;
    } 
}

@media screen and (min-width: 650px){
    #popup-view{
        width:90%;
        height:95%;
        left:5%;
        padding:34px;
        box-shadow: 0 0 10px rgba(0,0,0,0.5);
        -moz-box-shadow: 0 0 10px rgba(0,0,0,0.5); 
        -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
    }
}

@media screen and (min-width: 750px){
    #popup-view #close-btn{
        position:absolute;
    }
    #popup-view{
        width:80%;
        left:10%;
    }
}

@media screen and (min-width: 900px){
    #popup-view{
        width:70%;
        left:15%;
    }
}

@media screen and (min-width: 1000px){
    #popup-view{
        width:80%;
        left:10%;
    }
    #popup-view #recom-view ul li{
        width:46%;
        margin: 10px;
    } 
}

@media screen and (min-width: 1100px){
    #popup-view{
        width:70%;
        left:15%;
    }
}
@media screen and (min-width: 1200px){
    #popup-view{
        width:66%;
        left:17%;
    }
}
@media screen and (min-width: 1300px){
    #popup-view{
        width:60%;
        left:20%;
    }
}
@media screen and (min-width: 1400px){
    #popup-view{
        width:56%;
        left:23%;
    }
}
@media screen and (min-width: 1500px){
    #popup-view{
        width:52%;
        left:26%;
    }
}
@media screen and (min-width: 1800px){
    #popup-view{
        width:46%;
        left:27%;
    }
}

