﻿
/*****************************************************************/
/* Cart Styles */
/*****************************************************************/
.cart {
    background-color: #CFE2FF;
    color: black !important;
    padding:4px 4px !important;
}

.profile-icon {
    font-size:1.9rem;
}

.cart-items-header {
    color: #666666;
}

.cart-items {
    /*color: #666666;*/
    /*background-color: #CFE2FF;*/ /* I dont think this is being used */
    background-color: pink;
}

.cart-item {
    font-family: Roboto-Light;
    font-size: 14px;
}

.cart-subtotals {
    font-family: Roboto-Light;
    font-size: 12px;
    padding: 2px 6px !important;
    text-align: right;
    line-height:1.2rem;
}

.discount {
    background-color: #005100 !important;
    /*background: linear-gradient(to right, #007500, #005100);*/
    color: white;
}

.cart-item-img {
    width: 80px;
    height: 80px;
}
/*.cart-item-img:hover {
        width: 125px;
        height: 125px;
        transition: .3s;
    }*/

.cart-quantity {
    margin-left: 20px !important;
}

.cart-button-ml {
    margin-left: 20px;
}


/*****************************************************************/
/* Quick Cart Styles */
/*****************************************************************/
.cart-panel {
    position: fixed;
    top: 0;
    right: -700px; /* start off-screen */
    width: 700px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    transition: right 0.45s ease;
    font-family: Roboto-Bold;
    font-size: 14px;
    /*transition: right 0.3s ease, opacity 0.3s ease;*/
    z-index: 1040;
    overflow-y: auto;
}

    .cart-panel.open {
        right: 0; /* slide in */
        /*opacity: 1;*/
    }

.cart-header {
    padding: 6px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: Roboto-Light;
    font-size:2rem;
    /*font-size: 30px;*/
    /*background-color: #E8F1FF;*/
    background-color: #494949;
    color: white;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    color: white;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1010; /* Below cart panel */
    display: none; /* Hidden by default */
}

    .cart-overlay.show {
        display: block;
    }

#cartPanel .table-striped tbody tr:nth-child(odd) {
    background-color: #f8f9fa !important; /* light gray */
}

#cartPanel .table-striped tbody tr:nth-child(even) {
    background-color: #ffffff !important; /* white */
}

#cartPanel table td,
#cartPanel table th,
#cartPanel table tr {
    box-shadow: none !important;
}

.quick-cart-item-img {
    width: 80px;
    height: 80px;
}
