body {
    background: #FFF;
    font-size: 1rem !important;
}

main {
    padding-top: 48px;
}

header .navbar {
    height: 48px;
    border: none;
    border-bottom: 1px solid #c4c4c4;
    width: 100%;
    background: white;
    z-index: 500;
    position: fixed;
}

header .navbar .store-logo {
    justify-content: center;
    position: absolute;
    right: 0px;
    left: 0px;
    width: 400px;
    margin: auto;
    font-weight: bold;
    font-size: 1.5rem;
}

header .navbar .store-logo a {
    display: flex;
    align-items: center;
}

header .navbar .user-dropdown .dropdown-toggle::after {
    content: none;
}

header .navbar .user-dropdown img {
    width: 20px;
    border-radius: 50%;
}

header .navbar .store-logo img {
    max-height: 28px;
    margin-right: 0.5rem;
}

.nav-menu-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    border-radius: 50%;
    padding: 0;
    line-height: 0.5rem;
}

.nav-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.035);
}

.cart-sidebar {
    background: white;
    width: 340px;
    min-width: 340px;
    height: calc(100vh - 48px);
    overflow-y: auto;
    position: fixed;
    z-index: 100;
    top: 48px;
    border-left: 1px solid #c4c4c4;
    right: 0;
}

.cart-sidebar #empty-cart-img {
    text-align: center;
}

.cart-sidebar img {
    width: 80%;
    margin: 0 auto;
}

.cart-sidebar .empty-cart-message {
    text-align: center;
    line-height: 18px;
    font-weight: 500;
    color: gray;
    font-size: 14px;
}

.shop-container {
    max-width: 100%;
    width: calc(100vw - 356px);
}

.shop-container .shop-header {
    padding: 2rem 0;
}

.shop-container .shop-header .shop-name {
    font-weight: bold !important;
}

.shop-container .shop-header .shop-contact-detail {
    color: #777;
    font-weight: normal;
}

.shop-container .btn-outline-primary {
    border-color: #bbb;
    color: #000;
    font-weight: bold;
}

.shop-container .btn-outline-primary:hover {
    background: #f8f8f8;
    cursor: pointer;
}

.shop-container .btn-outline-primary:not(:disabled):not(.disabled):active,
.shop-container .btn-outline-primary:not(:disabled):not(.disabled).active {
    background-color: #fff0ed;
    border-color: #D9230F;
    font-weight: bold;
    color: #D9230F;
}

.shop-sidebar {
    background: white;
    border-right: 1px solid #c4c4c4;
    width: 340px;
    max-width: 340px;
    height: calc(100vh - 48px);
    position: fixed;
    z-index: 100;
    top: 48px;
    transition: 0.3s;
    transform: translateX(-500px);
    padding: 1rem;
}

.shop-sidebar .timeslot-container {
    width: 100%;
}

.shop-sidebar .timeslot-container .delivery-date-container {
    text-align: center;
}

.shop-sidebar .timeslot-container .day-delivery-time {
    display: none;
}

.shop-sidebar .timeslot-container .delivery-time-btn {
    font-weight: bold;
    max-width: 48%;
    white-space: nowrap;
}

.menu-categories {
    height: 50px;
    border-top: 1px solid #c4c4c4;
    border-bottom: 1px solid #c4c4c4;
    margin-bottom: 1rem;
    position: sticky;
    top: 47px;
    z-index: 99;
    background: white;
}

.menu-categories a {
    height: 48px;
    background: white;
}

.menu-categories .category-container {
    width: 80%;
    display: inline-block;
    height: 48px;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
}

.menu-categories .category-arrow-left, .menu-categories .category-arrow-right {
    position: absolute;
    background: white;
    height: 50px;
    line-height: 50px;
    text-align: center;
    z-index: 2;
    cursor: pointer;
    font-size: 2rem;
    color: #D9230F;
}

.menu-categories .category-arrow-left {
    left: 0;
    background: -moz-linear-gradient(left, #fff 0, #fff 66%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(left, #fff 0, #fff 66%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, #fff 0, #fff 66%, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=1);
}

.menu-categories .category-arrow-right {
    right: 0;
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0, #fff 33%, #fff 100%);
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0, #fff 33%, #fff 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, #fff 33%, #fff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=1);
}

.menu-categories .category-arrow-left:hover, .menu-categories .category-arrow-right:hover {
    background: #f7f7f7;
}

.menu-categories .category-items {
    height: 48px;
    display: flex;
    overflow: auto;
    overflow-y: hidden;
    overflow-x: hidden;
    position: absolute;
    transition: transform 0.2s ease;
}

.menu-categories .category-items a {
    background: white;
    display: inline-block;
    height: 48px;
    padding: 12.5px;
    white-space: nowrap;
    color: black;
}

.menu-categories .category-items a:hover {
    text-decoration: none;
    font-weight: bold;
    border-bottom: 4px solid #c4c4c4;
}

.menu-categories .category-items a.active-category {
    font-weight: bold;
    border-bottom: 4px solid #D9230F;
}

.menu-categories .search-bar {
    width: 20%;
    padding: 0 0.5rem;
    height: 50px;
    float: right;
}

.menu-categories .search-bar input {
    background: #F7F7F7;
}

.category-heading {
    margin-bottom: 1rem;
    clear: both;
}

div.products-container {
    overflow: auto;
    margin: 0 -0.5rem;
}

div.product {
    width: 50%;
    float: left;
    display: inline-block;
    padding: 0.5rem;
}

.product-card {
    height: 125px;
    cursor: pointer;
}

.product-card {
    border: 1px solid #c4c4c4;
    border-radius: 0.25rem;
    display: flex;
    flex-direction: row;
    break-inside: avoid;
    text-align: left;
    border-image: initial;
    flex: 5 1 0%;
}

.product-card:hover {
    border: 1px solid #D9230F;
}

.product-card .product-detail {
    padding: 1rem;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    -webkit-box-pack: justify;
    justify-content: space-between;
    height: 124px;
    min-width: 0px;
    flex: 3 1 0%;
}

.product-card .product-image {
    flex: 2 1 0%;
}

.product-card .product-image img {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    max-width: 100%;
    width: 100%;
}

.product-card .product-title {
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-subtitle {
    font-size: 12px;
}

/*Delivery Time*/
.delivery-time-link, .delivery-address-link {
    font-weight: bold;
    color: #D9230F;
    cursor: pointer;
}

/***************/

#overlay-loader {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9); /* Black background with opacity */
    z-index: 5000; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#overlay-loader .text {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

#pickup-order-banner {
    border: 1px solid #D9230F;
    color: black;
    display: none;
    padding: 1rem;
    background: #fff0ed;
    font-size: 0.875rem;
}
#pickup-order-banner>.tip{
    position: absolute;
    top: -20px;
    height: 0px;
    width: 0px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #fff0ed;
    right: 15px;
}

/*Cart Container*/
#cart-container .checkout-container {
    position: absolute;
    bottom: 0;
    background: #F7F7F7;
    border-top: 1px solid #c4c4c4;
    z-index: 10;
    width: 100%;
}

/*CSS Loader*/
.lds-roller {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 32px 32px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D9230F;
    margin: -3px 0 0 -3px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 50px;
    left: 50px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 54px;
    left: 45px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 57px;
    left: 39px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 58px;
    left: 32px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 57px;
    left: 25px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 54px;
    left: 19px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 50px;
    left: 14px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 45px;
    left: 10px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*********/


.socialico {
    padding: 0.75rem;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 0.5rem;
    display: inline-block;
    margin-bottom: 0.25rem;
}

.socialico:hover {
    opacity: 0.7;
}

.socialico.icofont-facebook {
    background: #3B5998;
    color: white;
}

.socialico.icofont-twitter {
    background: #55ACEE;
    color: white;
}

.socialico.icofont-google {
    background: #dd4b39;
    color: white;
}

.socialico.icofont-linkedin {
    background: #007bb5;
    color: white;
}

.socialico.icofont-youtube {
    background: #bb0000;
    color: white;
}

.socialico.icofont-instagram {
    background: #125688;
    color: white;
}

.socialico.icofont-pinterest {
    background: #cb2027;
    color: white;
}

.socialico.icofont-snapchat-ghost {
    background: #fffc00;
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.socialico.icofont-skype {
    background: #00aff0;
    color: white;
}

.socialico.icofont-android {
    background: #a4c639;
    color: white;
}

.socialico.icofont-dribbble {
    background: #ea4c89;
    color: white;
}

.socialico.icofont-vimeo {
    background: #45bbff;
    color: white;
}

.socialico.icofont-tumblr {
    background: #2c4762;
    color: white;
}

.socialico.icofont-vine {
    background: #00b489;
    color: white;
}

.socialico.icofont-foursquare {
    background: #45bbff;
    color: white;
}

.socialico.icofont-stumbleupon {
    background: #eb4924;
    color: white;
}

.socialico.icofont-flickr {
    background: #f40083;
    color: white;
}

.socialico.icofont-yahoo {
    background: #430297;
    color: white;
}

.socialico.icofont-soundcloud {
    background: #ff5500;
    color: white;
}

.socialico.icofont-reddit {
    background: #ff5700;
    color: white;
}

.socialico.icofont-rss {
    background: #ff6600;
    color: white;
}
/**/
.order-incomplete{
    background: #6c757d !important;
}
.order-pending{
    background: #007bff !important;
}
.order-processing{
    background: #fd7e14 !important;
    border: 1px solid #cd6d10 !important;
    color:white;
}
.order-dispatched{
    background: #ffc107 !important;
}
.order-delivered{
    background: #28a745 !important;
}
.order-cancelled{
    background: #dc3545 !important;
}
.order-returned{
    background: #20c997 !important;
}
.order-packed{
    background: #6c757d !important;
}
.order-confirmed{
    background: #b898d4 !important;
}


main.cart-sidebar-hidden .cart-sidebar{
    display: none !important;
}

main.cart-sidebar-hidden .shop-container{
    width: 100% !important;
}
