/* ------------------ General CSS ------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
    margin: 0;
    color: #757575;
    font-family: 'Raleway', sans-serif;
    background: #ffffff;
}

a {
    color: #666666;
    transition: 0.3s;
}

a:hover,
a:active,
a:focus {
    color: #757575;
    outline: none;
    text-decoration: none;
}

p {
    color: #757575;
    padding: 0;
    margin: 0 0 10px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #666666;
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: 700;
}

h4,
h5,
h6 {
    font-weight: 400;
}

img{
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.main-container {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.sidebar {
    position: relative;
    width: 300px;
    float: left;
}

.content {
    position: relative;
    width: calc(100% - 300px);
    float: right;
}


/* ------------------ Category Nav ----------------- */
.cat-nav {
    position: relative;
    padding: 0 15px;
    width: 100%;
}

.cat-nav .nav-header {
    position: fixed;
    width: 270px;
    height: 40px;
    top: 0;
    z-index: 1;
}

.cat-nav .nav-header p {
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 1px;
    color: #ffffff;
    background: #454545;
}

.cat-nav .nav-header p i {
    width: 40px;
    height: 40px;
    padding: 10px 0;
    margin: 0 12px 0 0;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    background: #000000;
}

.cat-nav .nav-header p::after {
    position: absolute;
    content: "";
    left: 13px;
    bottom: -13px;
    border: 7px solid;
    border-color: #000000 transparent transparent transparent;
}

.cat-nav .nav {
    position: fixed;
    width: 270px;
    max-height: 100vh;
    margin-top: 55px;
    overflow: auto;
}

.cat-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cat-nav ul li {
    display: block;
    width: 100%;
    float: left;
}

.cat-nav ul li a {
    display: block;
    height: 40px;
    color: #757575;
    font-size: 14px;
    line-height: 38px;
    text-decoration: none;
}

.cat-nav ul li a::before {
    position: relative;
    content: "\f105";
    font-family: "FontAwesome";
    width: 40px;
    height: 40px;
    float: left;
    margin-right: 12px;
    text-align: center;
    font-size: 18px;
    color: #999999;
}

.cat-nav ul li:nth-child(odd) a:hover,
.cat-nav ul li:nth-child(odd) a.active,
.cat-nav ul li:nth-child(odd) a::before {
    color: #ffffff;
    background: #000000;
}

.cat-nav ul li:nth-child(even) a:hover,
.cat-nav ul li:nth-child(even) a.active,
.cat-nav ul li:nth-child(even) a:before {
    color: #ffffff;
    background: #454545;
}


/* ---------------- Scrollbar Style ---------------- */
.cat-nav .nav {
	scrollbar-width: thin;
	scrollbar-color: gray;
}

.cat-nav .nav::-webkit-scrollbar {
	width: 7px;
}

.cat-nav .nav::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
}

.cat-nav .nav::-webkit-scrollbar-thumb {
	background-color: darkgrey;
	outline: 1px solid slategrey;
	border-radius: 7px
}


/* ------------------ Header Style ----------------- */
.header {
    position: relative;
    width: 100%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.header img {
    width: 100%;
}


/* ----------------- Product Style ----------------- */
.product {
    position: relative;
    width: 100%;
}

.product .single-product {
    position: relative;
    width: calc(33.33% - 30px);
    float: left;
    margin: 0 15px;
    margin-bottom: 30px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 0 10px #dddddd;
    overflow: hidden;
}

.product .single-product:hover {
    box-shadow: 0 0 10px #bbbbbb;
}

.product .product-header h2 {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 5px;
    min-height: 32px;
}

.product .product-header p {
    font-size: 12px;
    margin-bottom: 5px;
}

.product .product-header p span:first-child {
    margin-right: 10px;
}

.product .product-img img {
    width: 100%;
}


/* --------------- Product View Style -------------- */
.product-view {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

.product-view .product-header {
    position: relative;
    width: 100%;
}

.product-view .product-header h2 {
    font-size: 20px;
    font-weight: normal;
}

.product-view .product-header h2 span {
    font-size: 14px;
    font-weight: normal;
    margin-left: 10px;
}

.product-view .product-imgs {
    position: relative;
    width: 50%;
    float: left;
    margin-right: 30px;
}

.product-view .product-imgs img {
    width: 100%;
    padding: 15px;
    border: 1px solid #dddddd;
}


.product-view .product-thumbs {
    position: relative;
    width: calc(50% - 30px);
    float: left;
}

.product-view .product-thumbs img {
    width: 100px;
    padding: 5px;
    margin: 0 25px 25px 0;
    border: 1px solid #dddddd;
    cursor: pointer;
}


/* --------------- Responsive Style ---------------- */
@media (max-width: 767.98px) {
    .sidebar {
        width: 100%;
    }

    .content {
        width: 100%;
        margin-top: 55px;
    }
    
    .cat-nav .nav-header {
        width: calc(100% - 30px);
        cursor: pointer;
        z-index: 2;
    }
    
    .cat-nav .nav-header p::after {
        display: none;
    }
    
    .cat-nav .nav {
        display: none;
        width: calc(100% - 30px);
        margin-top: 40px;
        background: #ffffff;
        z-index: 1;
    }
}

@media (max-width: 575.98px) {
    .product .single-product {
        width: calc(100% - 30px);
    }
    
    .product-view .product-imgs,
    .product-view .product-thumbs {
        width: 100%;
    }
    .product-view .product-imgs {
        margin-bottom: 25px;
    }
    
    .product-view .product-thumbs img {
        width: 80px;
        margin: 0 5px 5px 0;
    }
    
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .product .single-product {
        width: calc(50% - 30px);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .product .single-product {
        width: calc(50% - 30px);
    }
}