/* base style */
body, html {
    height: calc(100% - 2em);
    margin: 0;
    overflow-x: hidden;
    width: 100%;
    Height: 100%;
    background: #ECEBF5;
    font-family: "Poppins";
}

* {
    margin-top: .5em;
    margin-bottom: .5em;
    text-decoration: none;
}


/* aside */
aside {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-Y: hidden;
    bottom: 0;
    padding: 1em 0;
    position: fixed;
    background: #4B477E;
    justify-content: space-around;
    align-items: center;
    width: 100% !important;
    height: 25px;
    border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    z-index: 100000;
        
}
aside img {
    cursor: pointer;
} 
aside embed {
    cursor: pointer;
}

.aside-icon {
    color: #ECEBF5;
    font-size: 1.5em;
}

nav {
    background: none;
    width: 0;
    flex-shrink: 1px;
    padding: 0;
    margin-right: 0;
    top: 0;

}
.navBar {
    margin-left: auto;
    display: flex;
    padding-left: 0;
    justify-content: right;
}
.cart-hide {
    display: none;
}
.active {
    position: absolute;
    display: block;
    background: transparent;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    margin-top: 4.5em;

}

.menu-box {
    height: 100vh;
    margin-top: -6em;
}

.menu-link {
    z-index: 10002;
}

ul {
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-top: 1.5em;
    z-index: 1000;
}

ul li {
    display: flex;
    margin-top: -1em;
    height: 15.5vh;
}
ul li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: .8em;
    display: block;
    padding: 3em 0 1em 1em;
    background: #3F4040;
    color: #F7F7F8;
    width: 100%;
    Text-align: left;
}
ul .signup li a {
    color: white;
    text-transform: none;
}
.nav-menu {
    display: flex;
}


/* Favourites */

.fav-box {
    position: absolute;
    background-color: #F7F7F8;
    width: 80vw;
    height: 100vh;
    right: 0;
    z-index: 1000000;
    opacity: 0;
    transform: scale(0);
    overflow-y: scroll;
    overflow-x: hidden;
}

.fav-box.activated {
    opacity: 1;
    transform: scale(1);
}

.fav-click {
    background-color: #3F4040;
    width: 100%;
    border: none;
    text-align: left;
    padding-left: 1em;
    text-transform: uppercase;
    font-size: .8em;
    color: #fff;
}

.fav-click-lg {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 1em;
}

.fav-header {
    margin-top: 1em;
    padding-left: 1em;
    color: #4B477E;
}

.close-fav-icon {
    border: none;
    background-color: transparent;
}

.exit-fav {
    font-size: 2em;
}

.fav-note {
    text-align: center;
}

.fav-content {
    display: flex;
    flex-direction: column;
}

.empty-fav {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30vh;
    color: #4B477E;
    opacity: 0.6;
}

.fav-content-box {
    position: absolute;
    margin-left: 1em;
    margin-bottom: 1em;
}

.fav-content-details {
    margin-left: 1em;
    margin-top: 7vh;
    color: rgb(221, 109, 109);
}

.fav-content-name {
    font-weight: bold;
    color: #4B477E;
}

/* cart */
.cart-box {
    position: absolute;
    background-color: #3F4040;
    width: 90vw;
    height: 50vh;
    bottom: 55px;
    z-index: 10000;
    right: 1vw;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    overflow-y: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    transition: opacity .25s ease-out;
}
.cart-box.activated {
    opacity: 1;
    transform: scale(1);
}
.cart-header {
    display: block;
    background-color: grey;
    padding-block: .01rem;
    
}

.cart-content .empty {
    position: absolute;
    text-align: center;
    margin-block: 25%;
    margin-left: 20%;
    opacity: .7;
}

.cart-icon .items-length-btn {
    position: absolute;
    background-color: red;
    border: none;
    border-radius: 50px;
    margin-top: -3vh;
    margin-bottom: 30vh;
    margin-left: 3vw;
    display: block;
}

.cart-icon .items-length-btn .hidden {
    display: none;
    visibility: hidden;
    opacity: 0;
    transform: scale(0);
}

.cart-note {
    text-align: center;
}
.close-cart-icon {
    display: flex;
    height: 20px;
    width: 30px;
    float: right;
    margin-top: -40px;
    margin-right: 10px;
    background-color: #4B477E;
    border: 2px solid #4B477E;
    cursor: pointer;
}
.close-cart-icon i {
    color: #fff;
}

.cart-content-box {
    display: flex;
    flex-direction: row;
    margin-block: 1rem;
    margin-inline: 2rem;
    border-bottom: 1px solid #4B477E;
    padding-bottom: 2em;
}

.image-box .cart-image{
    width: 100px;
    height: 100px;
}

.cart-content {
     display: block;
     overflow-y: scroll;
}

.cart-content-details {
    display: flex;
    flex-direction: column;
    margin-left: 2rem;
    gap: 1rem;
}

.cart-incr-decr {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    padding-bottom: 2rem;
}

.cart-incr {
    background-color: #4B477E;
    border: none;
    color: #fff;
    width: 20px;
    cursor: pointer;
}

.cart-decr {
    background-color: #4B477E;
    border: none;
    color: #fff;
    width: 20px;
    cursor: pointer;
}


.checkout {
    display: flex;
    bottom: 0;
    margin-bottom: 1em;
    margin-left: 7.5em;
    justify-content: center;
    background-color: #4B477E;
    color: #fff;
    border: none;
    padding: 1em 2em;
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
}

.checkout.hidden {
    opacity: 0;
    transform: scale(0);
    display: none;
    visibility: hidden;
}

.checkout-title {
    margin-right: .3rem;
}

.screen-sm-hidden {
    display: none;
    visibility: hidden;
    opacity: 0;
    transform: scale(0);
}






.user-section {
    display: flex;
    flex-direction: column;
    margin-left: 4vw;
}

li {
    list-style-type: none;
}

.headerAccount {
    color: #9d99ca;;
}

.user-section-header {
    color: #3F4040;
}

.user-section-box {
    display: flex;
    flex-direction: row;
}

.side-section {
    width: 25vw;
}
.side-lists {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.main-section {
    /* background-color: #fff; */
    width: 65vw;
    height: 100vh;
    border-radius: 5px;
}

.side-list {
    width: 20vw;
    border-radius: 5px;
    padding: .5em;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#userDashboardCountry {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.side-list:hover {
    background-color: #4B477E;
    color: #ECEBF5;
}

.main-list {
    background-color: rgb(253, 253, 253);
    width: 65vw;
    border-radius: 5px;
}

.main-list-box {
    margin: 4vw;
}

#userAccountDashboard {
    display: flex;
    flex-direction: column;
    /* gap: .5em; */
}

i {
    margin-right: .5em;
    font-size: 1em;
}

.dashboardPhotoBox {
    position: relative;
    width: fit-content;
}

#userDashboardPhoto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.ri-edit-2-line {
    position: absolute;
    font-size: 1.5em;
    bottom: 0;
    right: 0;
    background-color: #fff;
    padding: .2em;
    border-radius: 50%;
}

.userDashboardNameBox {
    display: flex;
    flex-direction: column;
}

#userDashboardUserName {
    margin-top: -1em;
    color: #9d99ca;
}

.userDashboardAbout {
    margin-top: 3em;
}

.userAboutHeader {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ri-account-pin-box-fill {
    font-size: 1.5em;
}

.userDashboardInfo {
    display: flex;
    flex-direction: row;
    gap: 3vw;
}

/* userFavourites */

.dim-main-list {
    opacity: .5;
    text-align: center;
}

#userFavourites,
#userOrders,
#userInbox,
#userAccountSettings {
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    display: none;
    gap: 2em;
}

.icon-main-list {
    font-size: 3em;

}

.DashboardInfoTitle {
    width: 100px;
}

.InfoTitlecolor {
    color: #9d99ca;
}

/* edit profile pic */

.profile-pic {
    color: transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
  }
  .profile-pic input {
    display: none;
  }
  .profile-pic img {
    position: absolute;
    object-fit: cover;
    width: 165px;
    height: 165px;
    box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    z-index: 0;
  }
  .profile-pic .-label {
    cursor: pointer;
    height: 165px;
    width: 165px;
  }
  .profile-pic:hover .-label {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    color: #fafafa;
    transition: background-color 0.2s ease-in-out;
    border-radius: 100px;
    margin-bottom: 0;
  }
  .profile-pic span {
    display: inline-flex;
    padding: 0.2em;
    height: 2em;
  }
  
  body a:hover {
    text-decoration: none;
  }

  .account-settings-box {
    display: flex;
    flex-direction: column;
  }

  .account-info-settings {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2vw;
  }

  /* search */
.bar {
    width: 90%;
    margin-left: 5%;
    background: #F7F7F8;
    color: #000;
    border: none;
    padding: 1em;
    margin-top: -5em;
    opacity: 0;
    transform: scale(0);
}
.input {
    width: 0;
    height: 0;
    margin-left: -2em;

}
.bar.activated {
    position: absolute;
    margin-top: 2em;
    opacity: 1;
    transform: scale(1);
    transition: opacity .25s ease-in;
    z-index: 99000001;
}






/* Search Box */
.search-box {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #ECEBF5;
    opacity: 0;
    transform: scale(0);
    overflow-y: scroll;
    overflow-x: hidden;
}

.search-box.activated {
    opacity: 1;
    transform: scale(1);
    transition: opacity .30s ease-in;
}

.empty-search {
    color: rgba(75, 71, 126, .7);
    position: absolute;
    display: flex;
    top: 50%;
    margin-left: 25%;
    justify-content: center;
    width: 50vw;
}

.search-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 4em;
    margin-inline: auto;
    height: 100%;
    width: 100%;
    margin-left: 10px;
    justify-content: center;
    align-items: center;
    background: none;
    text-align: center;
}

.search-content h4 {
    margin-top: -1em;
}

.search-content .product-name {
    height: 2em;
}

.search-content .product {
    text-transform: uppercase;
    text-align: center;
    color: #4B477E;
    text-align: center;
    height: 220px;
    width: 40vw;
    font-size: .7em;
    margin-top: 1em;
}
.search-content img {
    height: 50%;
    max-width: 100%;
    max-height: 512px;
    padding: .5em;
    background: gray;
}

.search-content a {
    background-color: transparent;
}

.search-content .product-curr,
.search-content .product-price {
    font-size: 1.25em;
    font-weight: bold;
}

.search-content .product:hover {
    color: #fff;
    width: 40vw;
    background-color: #4B477E;
    padding-right: 2.5em;
    padding-bottom: 2em;
}
.search-content .product .on-hover {
    position: absolute;
    display: none;
    margin-top: -17em;
    margin-left: 7%;
    width: 200px;
    z-index: 500;
}
.search-content .product .on-hover .add-to-cart {
    color: #4B477E;
    margin-bottom: 2em;
    padding: .6em;
    border: 5px solid gray;
    border-radius: 20px;
    background: none;
    width: 100px;
    height: 25px;
    cursor: pointer;
    font-size: .6em;
    color: #fff;
    margin-top: 4em;
}
.search-content .product .on-hover .view {
    color: #fff;
    margin-bottom: 2em;
    padding: .6em;
    border: 5px solid #fff;
    border-radius: 20px;
    background: #4B477E;
    cursor: pointer;
    font-size: .6em;
}

.search-content .product:hover .on-hover {
    display: flex;
}
.search-content .product:hover .on-hover .add-to-cart:hover {
    color: #4B477E;
    margin-bottom: 2em;
    padding: .6em;
    border: 5px solid gray;
    border-radius: 20px;
    background: #fff;
}
.search-content .product:hover .on-hover .view:hover {
    color: #fff;
    margin-bottom: 2em;
    padding: .6em;
    border: 5px solid #4B477E;
    border-radius: 20px;
    background: gray;
}


/* scroll bar styles */
::-webkit-scrollbar {
    width: .7rem
}

::-webkit-scrollbar-track {
    background-color: rgb(202, 202, 202);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(75, 71, 126, .7);
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgb(75, 71, 126);
}


@media only screen and (min-width: 821px) {



    .menu {
        display: block;
    }
    .nav-menu {
        display: flex;
    }
    .nav-menu ul li a {
        display: flex;
    }
    
    .fav-box {
        margin-top: -12vh;
    }
    
    .featured-container {
        margin-top: -15em
    }
    
    .best-buy {
        display: block;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
        size: cover;
        margin-top: 2em;
    }
    /* .best-buy h2 {
    } */
    
    .explore-title-filter {
        padding-inline: 3em;
    }
    
    .container-2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        height: 350px;
        width: 100vw;
        justify-content: center;
    }
    .container-2 .product {
        height: 300px;
        width: 250px;
    }
    .container-2 img {
        height: 150px;
        width: 200px;
    }
    
    .product .on-hover .add-to-cart {
        font-size: 1em;
    }
    .product .on-hover .view {
        font-size: 1em;
    }
    
    .product-curr,
    .product-price {
        font-size: 1.5em;
        font-weight: bold;
    }
    
    
    .product .on-hover {
        display: none;
        margin-top: -17em;
        margin-left: 6em;
        width: 130px;
        z-index: 500;
    }
    .container-2 button {
        width: 110px;
        padding: 0;
        font-size: .7rem;
    }
    
    
    .container-2 .product:hover {
        transform: translateY(-10px);
        color: #fff;
        background: #4B477E;
        width: 20vw;
        padding: .5em;
        padding-right: 1em;
        padding-top: 1.5em;
        height: 40vh;
    
    }
    
    .sponsors {
        margin-left: 5em;
        margin-top: 210vh;
    }
    
    .search-box-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 4em;
        margin-inline: auto;
    }
    
    }


  @media only screen and (min-width: 1024px) {

  .search-box-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.screen-sm-hidden {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

a {
    color: #fff;
}

.menu-list {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    color: #4B477E;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.menu-list a {
    color: #4B477E;
}

.menu-list button {
    color: #4B477E;
}

.nav-2 {
    display: flex;
    flex-direction: row;
    align-content: center;
    margin-top: 1.5rem;
    justify-content: center;
}

.screen-lg-hidden {
    display: none;
}

.cart-icon-2 {
    position: absolute;
    right: 0;
    margin-right: 2rem;
}


.ri-search-2-line {
    position: absolute;
    right: 0;
    margin-top: -1px;
    margin-right: 4rem;
    color: #4B477E;
    font-size: 1.5em;
    z-index: 10000;
}

.ri-account-pin-circle-line {
    position: absolute;
    right: 0;
    margin-top: -1px;
    margin-right: 6.5rem;
    color: #4B477E;
    font-size: 1.5em;
    z-index: 10001;
}



.cart-box {
    position: absolute;
    background-color: #3F4040;
    width: 25rem;
    top: 0;
    margin-top: 5.5em;
    height: 50vh;
    bottom: 55px;
    z-index: 10000;
    right: 1.5rem;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    overflow-y: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}
.cart-box.activated {
    opacity: 1;
    transform: scale(1);
}

.cart-icon-2 .items-length-btn {
    position: absolute;
    background-color: red;
    border: none;
    border-radius: 50px;
    margin-top: -4vh;
    margin-bottom: 30vh;
    margin-left: 1vw;
    display: block;
}

.cart-icon-2 .items-length-btn .hidden {
    display: none;
    visibility: hidden;
    opacity: 0;
    transform: scale(0);
}

.bar.activated {
    position: absolute;
    top: 0;
    margin-top: 7em;
    opacity: 1;
    transform: scale(1);
}

.search-contain:before {
    content: "";
    border-radius: 50%;
    width: 14px;
    height: 15px;
    right: 0;
    margin-top: -.2px;
    margin-right: 4.25rem;
    border: 2px solid rgba(75, 71, 126, .7);
    position: absolute;
    animation: grow 1s 3;
}

@keyframes grow {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.5);
    }
}
}

@media only screen and (min-width: 1200px) {

.container-2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
}


