
                                
                                
                                /*
Template Name     : E-commerce
Author Name       :  Partho Bhatta Charja
Author Email      : csemilon22@gmail.com
Theme Version         : 1.1
*/

/* General Styles */

body{
    font-size: 14px;
    line-height: 1.42857143;
    color: #333333;
    background: #f0f0f0;
    overflow-x: hidden;
}

/* Top Styles */

#top{
    background: #555555;
    padding: 10px 0;
}
#top .offer{
    color: #ffffff;
}
#top .offer .btn{
    text-transform: uppercase;
}
@media(max-width: 991px){
    #top .offer{
        margin-bottom: 10px;
    }
}
@media(max-width: 991px){
    #top{
        font-size: 12px;
        text-align: center;
    }
}
#top a{
    color: #ffffff;
}
#top ul.menu{
    padding-top: 5px;
    margin: 0px;
    text-align: right;
    font-size: 12px;
    list-style: none;
}
@media(max-width: 991px){
    #top ul.menu{
        text-align: center;
    }
}
#top ul.menu > li{
    display: inline-block;
}
#top ul.menu > li a{
    color: #eeeeee;
}
#top ul.menu > li + li:before{
    content: "|\00a0";
    color: #f7f7f7;
    padding: 0 5px;
}

/* Header Styles */

.navbar{
    background: #ffffff;
}
.navbar-collapse .right{
    float: right;
}
.navbar-brand{
    float: left;
    padding: 10px 15px;
    font-size: 18px;
    line-height: 20px;
    height: 70px;
}
.navbar-brand:hover,
.navbar-brand:focus{
    text-decoration: none;
}
.navbar ul.nav > li > a{
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
}
.navbar ul.nav > li > a:hover{
    background: #e7e7e7;
}
.padding-nav{
    padding-top: 10px;
}
.btn-primary{
    color: rgb(255, 255, 255);
    background: rgb(79, 191, 168);
    border-color: rgb(65, 179, 156);
}
#search .navbar-form{
    float: right;
}
#search{
    clear: both;
    border-top: solid 1px #9adacd;
    text-align: right;
}
#search .navbar-form .input-group{
    display: table;
}
#search .navbar-form .input-group .form-control{
    width: 100%;
}
#slider{
    margin-bottom: 40px;
}

/* advantages Styles */

#advantages{
    text-align: center;
}
.box{
    background: #ffffff;
    margin: 0 0 30px;
    border: solid 1px #e6e6e6;
    box-sizing: border-box;
    padding: 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, .3);
}
#advantages .box .icon{
    position: absolute;
    font-size: 120px;
    width: 100%;
    text-align: center;
    top: -20px;
    left: 0px;
    height: 100%;
    float: left;
    color: #dadada;
    box-sizing: border-box;
    z-index: 1;
}
#advantages .box h3{
    position: relative;
    margin: 0 0 20px;
    font-weight: 300;
    text-transform: uppercase;
    z-index: 2;
}
#advantages .box h3 a{
    color: #4fbfa8;
}
#advantages .box h3 a:hover{
    text-decoration: none;
}
#advantages .box p{
    position: relative;
    z-index: 2;
    color: #555555;
}

/* Latest Products Styles */

#hot h2{
    font-size: 36px;
    font-weight: 400;
    color: #4fbfa8;
    text-align: center;
    text-transform: uppercase;
}
#content{
   padding-left: 25px; 
}
.single{
    width: 290px;
}
@media(max-width:768px){
    .single{
        width: 60%;
        margin: 0 auto;
    }
}
#content .product{
    background: #ffffff;
    border: solid 1px #e6e6e6;
    margin-bottom: 30px;
    box-sizing: border-box;
}
#content .product .text{
    padding: 10px 10px 0px;
}
#content .product .text p.price{
    font-size: 18px;
    text-align: center;
    font-weight: 400;
}
#content .product .text .button{
    text-align: center;
    clear: both;
}
#content .product .text .button .btn{
    margin-bottom: 10px;
}
#content .product .text h3{
    text-align: center;
    font-size: 20px;
}
#content .product .text h3 a{
    color: rgb(85, 85, 85);
}

/*  Breadcrumb Styles  */

.breadcrumb{
    padding: 8px 15px;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, .5);
}
.breadcrumb> li + li:before{
    content: ">\00a0";
    color: #cccccc;
}
@media(max-width:991px){
    .breadcrumb{
        padding: 8px 0px;
        text-align: center;
    }
}

/*  Products Categories & Categories Styles */
#content .panel.sidebar-menu{
    box-sizing: border-box;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, .5);
}
#content .panel.sidebar-menu ul.nav.category-menu{
    margin-bottom: 20px;
}
#content .panel.sidebar-menu ul.nav.category-menu li a{
    text-transform: uppercase;
    font-weight: 600;
}
#content .panel.sidebar-menu h3{
    padding: 5px 0px;
    margin: 0px;
}

/*  Shop Products Tyles  */

@media(max-width: 768px){
    .center-responsive{
        width: 70%;
        margin: 0px auto;
    }
}
@media(max-width: 550px){
    .center-responsive{
        width: 95%;
        margin: 0px auto;
    }
}

/*  Details.php Styles */


#content #productMain{
    margin-bottom: 30px;
}
#content #productMain .price{
    font-size: 30px;
    font-weight: 300;
    text-align: center;
    margin-top: 30px;
}
#content #mainImage{
    box-shadow: 0px 1px 5px rgba(0, 0, 0, .7);
}
#content #thumbs a{
    display: block;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, .5);
    border: 2px solid transparent;
}
#content .headline{
    height: 305px;
}

/*  Cart.php Styles  */

#content #cart .table tbody tr td img{
    width: 50px;
}
#content #cart .table tbody tr td input{
    width: 40px;
    text-align: right;
}
#content #cart .table tbody tr td{
    vertical-align: middle;
}
#content #cart .table tfoot{
    font-size: 18px;
}
.box .box-footer{
    background-color: #f7f7f7;
    margin: 30px -20px 20px;
    padding: 20px;
    border-top: 1px solid #eeeeee;
}
.box .box-footer:before,
.box .box-footer:after{
    content: "";
    display: table;
}
.box .box-footer:after{
    clear: both;
}
.box .box-header{
    background-color: #f7f7f7;
    margin: -20px -20px 20px;
    padding: 20px;
    border-top: 1px solid #eeeeee;
}
#content #order-summary table{
    margin-top: 20px;
}
#content #order-summary table td{
    color: #999999;
}
#content #order-summary table tr.total td,
#content #order-summary table tr.total th{
    font-size: 18px;
    color: #555555;
    font-weight: 700;
}

/*  For Firefox Only  */

@-moz-document url-prefix(){
    .form-height-custom{
        height: auto;
    }
}


/*  Footer Styles  */

#footer{
    background: #e0e0e0;
    padding: 20px 0;
}
#footer a{
    color: #999999;
    padding: 0;
    text-decoration: none;
}
#footer a:hover{
    color: #666666;
}
#footer ul{
    list-style: none;
    padding-left: 0px;
}
#footer .social{
    text-align: left;
}
#footer .social a{
    margin: 0px 10px 0px 0px;
    display: inline-block;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    line-height: 30px;
    font-size: 15px;
    text-align: center;
    vertical-align: bottom;
    background: #555555;
    text-decoration: none;
}
#footer .social a:hover{
    color: #dedede;
    background: #777777;
}

/*  Copyright Styles  */

#copyright{
    background: #333333;
    color: #cccccc;
    padding: 20px 0px;
    font-size: 12px;
}
#copyright p{
    margin: 0px;
}
                            
.nav.category-menu{
    margin-top: -26px;
}    
.scroll-menu{
    height: 260px;
    overflow-y: scroll;
}   
.checkbox span{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 5px;
} 
.checkbox span::before{
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: border 0.2s ease-in-out, color 0.2s ease-in-out;
    background: #fff;
}          
.checkbox span::after{
    content: "";
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: 0;
    margin-left: -20px;
    padding-left: 3px;
    padding-top: 1px;
    font-size: 11px;
    color: #555;
}  
.checkbox input[type='checkbox']{
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}
.checkbox input[type='checkbox']:focus + span::before{
    outline: thin dotted ;
    outline: 5px auto;
    outline-offset: -2px;
}
.checkbox input[type='checkbox']:checked + span::after{
    font-family: "FontAwesome";
    content: "\f00c";
}
.checkbox-primary input[type='checkbox']:checked + span::before{
    background-color: #337ab7;
    border-color: #337ab7;
}
.checkbox-primary input[type='checkbox']:checked + span::after{
    color: #fff;
}
.product a img.img-responsive{
    max-height: 252px;
    width: 100%;
}

/* styling the label begin */

.label{
    color: #000;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    position: absolute;
    top: 10px;
    padding-left: 51px;
    z-index: 20;
}

.label .labelBackground{
    position: absolute;
    top: 0;
    right: 0;
}

.label .theLabel{
    position: relative;
    width: 100px;
    padding: 6px 50px 6px 15px;
    margin: 10px 50px 10px -71px;
    color: #fff;
    text-shadow: 3px 3px 3px grey;
}

.label.sale .theLabel{
    background: rgb(255, 0, 64);
}

.label.new .theLabel{
    background: #4fbfa8;
}

.label .theLabel:before,
.label .theLabel:after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
}

.label .theLabel:after{
    left: 0;
    top: 100%;
    border-width: 5px 10px;
    border-style: solid;
    border-color: #000 #000 transparent transparent;
}

/* styling the label finish */
                            

/* ===== Responsive & AJAX Cart Enhancements ===== */
html,body{max-width:100%;overflow-x:hidden}
img{max-width:100%;height:auto}
.product{height:100%;display:flex;flex-direction:column;position:relative}
.product>a:first-child{display:block;overflow:hidden;background:#fff}
.product .text{display:flex;flex:1;flex-direction:column;padding:15px}
.product .text h3{min-height:44px}
.product .text .button{margin-top:auto;display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.product .text .button .btn{flex:1 1 105px;white-space:normal}
.global-cart-message{position:fixed;right:24px;top:92px;z-index:99999;display:flex;align-items:center;gap:12px;min-width:310px;max-width:430px;padding:15px 44px 15px 16px;border-radius:10px;background:#fff;box-shadow:0 12px 35px rgba(15,23,42,.22);border-left:5px solid #4fbfa8;opacity:0;visibility:hidden;transform:translateY(-12px);transition:.25s ease;font-weight:600}
.global-cart-message.show{opacity:1;visibility:visible;transform:translateY(0)}
.global-cart-message.success{border-left-color:#28a745}.global-cart-message.warning{border-left-color:#f0ad4e}.global-cart-message.danger{border-left-color:#dc3545}.global-cart-message.info{border-left-color:#337ab7}
.global-cart-message .message-icon{font-size:22px}.global-cart-message.success .message-icon{color:#28a745}.global-cart-message.warning .message-icon{color:#f0ad4e}.global-cart-message.danger .message-icon{color:#dc3545}
.global-cart-message .message-close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:24px;color:#777}
.js-add-to-cart.is-loading{pointer-events:none;opacity:.8}
#slider .carousel-inner>.item>a>img,#slider .carousel-inner>.item>img{width:100%;object-fit:cover}
#content .row,.same-height-row{display:flex;flex-wrap:wrap}
#content .single,#products>div{margin-bottom:28px}
.table-responsive{border:0}
#cart .table td,#cart .table th{vertical-align:middle}

@media (max-width:991px){
  #top .offer,#top .menu{text-align:center;float:none!important}
  #top .col-md-6{width:100%}
  #top .menu{padding-top:8px}
  .navbar .right{float:none!important}
  #navigation>.btn.right{display:inline-block;margin-left:15px}
  #content .col-md-3,#content .col-md-9{width:100%;float:none}
  #content .col-md-3{margin-bottom:20px}
  #mainImage{margin-bottom:20px}
  .box{padding:18px}
}
@media (max-width:767px){
  body{font-size:14px}
  .container{width:100%;padding-left:12px;padding-right:12px}
  #top{padding:8px 0}
  #top .offer .btn{display:block;width:max-content;margin:0 auto 6px}
  #top .offer>a:last-child{display:block;line-height:1.5}
  #top .menu{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;margin:0}
  #top .menu>li{padding:0;border:0}
  .navbar-brand{padding-left:10px}
  #navigation>.btn.right{width:calc(100% - 30px);margin:8px 15px 12px}
  .padding-nav{padding:0}
  .navbar-nav{margin:0}
  .navbar-nav>li>a{padding:12px 15px}
  #slider{padding:0}
  #slider .col-md-12{padding:0}
  #slider .carousel-inner>.item>a>img,#slider .carousel-inner>.item>img{min-height:180px;object-fit:cover}
  #advantages .same-height-row,#content .row{display:block}
  #advantages .col-sm-4,.single,#products>div{width:100%;float:none}
  .product{max-width:420px;margin-left:auto;margin-right:auto}
  .product a img.img-responsive{max-height:320px;object-fit:contain}
  .breadcrumb{white-space:nowrap;overflow-x:auto}
  #cart .table{min-width:720px}
  .box .box-footer .pull-left,.box .box-footer .pull-right{float:none!important;text-align:center}
  .box .box-footer .pull-right{margin-top:10px}
  .box .box-footer .btn{margin:4px 2px}
  .global-cart-message{left:12px;right:12px;top:75px;min-width:0;max-width:none}
  #footer .col-sm-6{width:100%;float:none;text-align:center}
  #footer .social{text-align:center}
  #copyright .pull-left,#copyright .pull-right{float:none!important;text-align:center;margin:4px 0}
}
@media (min-width:768px) and (max-width:1199px){
  #content .single,#products>div{display:flex}
  .product{width:100%}
  .product a img.img-responsive{height:230px;object-fit:contain}
}


/* ===== Final in-page notifications, shop filters and footer responsiveness ===== */
.page-message-container{display:none;margin-top:14px;margin-bottom:0}
.page-cart-message{position:relative;display:flex;align-items:center;gap:10px;width:100%;padding:14px 44px 14px 16px;border-radius:9px;background:#fff;border:1px solid #dfe7ee;border-left:5px solid #337ab7;box-shadow:0 4px 16px rgba(15,23,42,.10);font-weight:600}
.page-cart-message.success{background:#eefaf2;border-left-color:#28a745;color:#176b3a}
.page-cart-message.warning{background:#fff8e5;border-left-color:#f0ad4e;color:#795d00}
.page-cart-message.danger{background:#fff0f1;border-left-color:#dc3545;color:#842029}
.page-cart-message.info{background:#eef6ff;border-left-color:#337ab7;color:#24547c}
.page-cart-message .message-icon{font-size:20px;line-height:1}
.page-cart-message .message-close{position:absolute;right:12px;top:7px;border:0;background:transparent;color:inherit;font-size:24px;line-height:1;opacity:.65}
.page-cart-message .message-close:hover{opacity:1}
.mobile-filter-toggle{display:none;margin-bottom:12px;border-radius:7px}
.shop-filter-wrapper{display:block}
.shop-sidebar-column .sidebar-menu{overflow:hidden;border-radius:7px}
.shop-sidebar-column .sidebar-menu .panel-heading{cursor:pointer}
.shop-sidebar-column .category-menu{margin-top:0}

.site-footer{padding:38px 0 28px!important;background:#e7eaed!important}
.site-footer .row{display:flex;flex-wrap:wrap}
.site-footer .footer-column{margin-bottom:18px}
.site-footer h4{margin:0 0 14px;color:#222;font-weight:700}
.site-footer ul{margin:0;padding:0}
.site-footer li{margin:0 0 8px;line-height:1.45}
.site-footer a{display:inline-block;color:#66727d!important}
.site-footer a:hover{color:#2f9f8b!important}
.site-footer p{line-height:1.65;color:#66727d}
.site-footer .input-group{max-width:330px}
#copyright .container{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}

@media (max-width:991px){
  .shop-sidebar-column,.shop-products-column{width:100%!important;float:none!important}
  .mobile-filter-toggle{display:block}
  .shop-filter-wrapper{display:none}
  .shop-sidebar-column{margin-bottom:18px!important}
  .shop-sidebar-column .scroll-menu{height:auto;max-height:230px}
  .shop-sidebar-column .sidebar-menu{margin-bottom:12px}
  .shop-products-column .box{margin-top:0}
}

@media (max-width:767px){
  .page-message-container{padding-left:12px;padding-right:12px;margin-top:10px}
  .page-cart-message{font-size:13px;padding:12px 38px 12px 13px}
  .shop-sidebar-column{padding-left:12px;padding-right:12px}
  .shop-products-column{padding-left:12px;padding-right:12px}
  .shop-filter-wrapper .panel-heading{padding:12px 14px}
  .shop-filter-wrapper .panel-body{padding:12px}
  .shop-filter-wrapper .scroll-menu{max-height:210px;overflow-y:auto}
  #products.row{margin-left:-6px;margin-right:-6px}
  #products>div{padding-left:6px;padding-right:6px}
  .site-footer{padding:28px 0 18px!important;text-align:left}
  .site-footer .row{display:block}
  .site-footer .footer-column{width:100%;float:none;padding:0 18px;margin-bottom:22px}
  .site-footer .footer-column:not(:last-child){border-bottom:1px solid rgba(0,0,0,.08);padding-bottom:18px}
  .site-footer .social{text-align:left!important}
  .site-footer .input-group{max-width:none;width:100%}
  #copyright{padding:15px 0}
  #copyright .container{display:block;text-align:center}
  #copyright p,#copyright .pull-left,#copyright .pull-right{float:none!important;text-align:center!important;margin:4px 0!important}
}

@media (min-width:768px) and (max-width:991px){
  .site-footer .footer-column{min-height:240px}
}
