﻿html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

* {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    font-family: 'Manrope', sans-serif;
    color: #535A56;
}
.hero-header {
    color: #fdfdfd;
}

.hero-header + p {
    color: #fdfdfd !important;
}

.color-primary {
    color: #2f4966;
}

.color-secondary {
    color: #535A56;
}

.primary-button {
    background: #2f4966;
    border-radius: 10px;
    border: 0;
    color: #fff;
}

.hero {
    background: url(../images/hero-image.png) top center no-repeat;
    height: 70vh;
    background-size: cover;
}

.hero-header {
    font-size: 4rem;
}

.prod-cat-wrapper {
    cursor: pointer;
    filter: grayscale(40%);
    height: 180px;
    border-radius: 10px;
    transition: transform .1s;
}

    .prod-cat-wrapper:hover {
        transform: scale(1.09);
    }

.teeth-cat {
    background: url(../images/teeth-bg.jpg) no-repeat;
    background-size: cover;
}
.magazine-cat {
    background: url(../images/magazine-bg.jpg) no-repeat;
    background-size: cover;
}
.skin-cat {
    background: url(../images/skin-bg.jpg) no-repeat;
    background-size: cover;
}
.shopping-cat {
    background: url(../images/shopping-bg.jpg) no-repeat;
    background-size: cover;
}
.laundry-cat {
    background: url(../images/laundry-bg.jpg) no-repeat;
    height: 377px
}

.electronics-cat {
    background: url(/images/electronics-bg.jpg);
    background-size: cover;
    height: 377px
}
.sleep-cat {
    background: url(/images/sleep-bg.jpg);
    background-size: cover;
    height: 377px
}
.esaver-cat {
    background: url(/images/esaver-bg.jpg);
    background-size: cover;
    height: 377px
}
@media only screen and (max-width: 600px){
    .sleep-cat, .esaver-cat, .electronics-cat, .laundry-cat {
        height: 180px!important;
    }
    .sticky-top  img {
        /*! width: 50%!important; */
        display: block;
        margin: 0 auto;
    }
    .bg-dark .d-flex {
        display: inline-grid!important;
        text-align: center!important;
        margin: 10px 0;
    }
    .hero {
        background: url(../images/hero-image-mobile.jpg) top center no-repeat;
    }

    .mt-lg-5 .container .row .col-lg-4.position-relative {
        display: none !important
    }
    .cartCount {
        right: 5px!important;
    }
}
@media only screen and (max-width: 320px) {
    .hero-header {
        font-size: 2rem!important
    }
}
button {
    transition: transform .1s;
}

    button:hover {
        transform: scale(1.09);
    }

.popular {
    transition: transform .1s;
    cursor: pointer;
}

    .popular:hover {
        transform: scale(1.09);
    }


/*SHOP PAGE*/

.cat-item {
    position: relative;
    color: #0087ca;
    cursor: pointer;
    inline-size: max-content;
}

#myNav .cat-item span {
    margin-left:2rem;
    color: white;
}

    .cat-item::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #0087ca;
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

    .cat-item:hover::after {
        transform: scale(1.09);
        transform-origin: bottom left;

    }

.prod-img-wrap {
    background: #ffffff;
    height: 300px;
    border-radius: 30px;
    border: 1px solid #cdcdcd;
}
.toCheckout {
    cursor: pointer;
    background: #547b89 !important
}
.addToCart {
    cursor: pointer;
}
.added-cart {
    text-align: center !important;
    position: relative;
    /*! bottom: 40px; */
    font-size: 12px;
    margin-bottom: 7px;
}

.cartCount {
    position: absolute;
    top: 2px;
    display: block;
    background-color: #ffb100;
    padding: 0px;
    width: 21px;
    height: 21px;
    border-radius: 23px;
    text-align: center;
    color: white;
    font-weight: 400;
    display: none;
    cursor: pointer;
    font-size: 14px;
}

/* tab */
.nav-tabs--vertical {
    border-bottom: none;
    border-right: 1px solid #ddd;
    display: flex;
    flex-flow: column nowrap
}

.nav-tabs--left {
    margin: 0 15px
}

    .nav-tabs--left .nav-item + .nav-item {
        margin-top: .25rem
    }

    .nav-tabs--left .nav-link {
        transition: border-color 125ms ease-in;
        white-space: nowrap
    }

        .nav-tabs--left .nav-link:hover {
            background-color: #f7f7f7;
            border-color: transparent
        }

        .nav-tabs--left .nav-link.active {
            border-bottom-color: #ddd;
            border-right-color: #fff;
            border-bottom-left-radius: .25rem;
            border-top-right-radius: 0;
            margin-right: -1px
        }

            .nav-tabs--left .nav-link.active:hover {
                background-color: #fff;
                border-color: #0275d8 #fff #0275d8 #0275d8
            }

.tab-content {
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd
}



.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

    .overlay a:hover, .overlay a:focus {
        color: #f1f1f1;
    }

.overlay .closebtn {
    position: absolute;
    top: 80px;
    right: 45px;
    font-size: 60px;
}

.popular {
    cursor: pointer;
}
.addToCart {
    background: #2f4966;
}
