.singleproductview {
    background-color: #EEE;
}

.singlecard {
    width: 100%;
    height: auto;
    background-color: white;
    padding: 10px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
}

/* Cart Sidebar Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -350px; /* Initially hidden */
    width: 350px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 1050;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0; /* Show sidebar */
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.cart-sidebar-header h4 {
    margin: 0;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.cart-sidebar-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-sidebar-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.cart-sidebar-footer .subtotal {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 15px;
}

.cart-sidebar-footer a {
    display: block;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.cart-sidebar-footer .btn-view-cart {
    background-color: #f0f0f0;
    color: #333;
}

.cart-sidebar-footer .btn-checkout {
    background-color: #ffc107; /* Bootstrap warning color */
    color: #000;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
    display: none; /* Initially hidden */
}

.sidebar-overlay.show {
    display: block;
}

/* Cart item style for sidebar */
.cart-item-sidebar {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.cart-item-sidebar img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
}
.cart-item-sidebar-details {
    flex-grow: 1;
}
.cart-item-sidebar-details .title {
    font-size: 14px;
    margin-bottom: 5px;
}
.cart-item-sidebar-details .price {
    font-weight: bold;
}

.ind {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
}

.pdes1 {
    margin-top: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: white;
    padding: 10px;
}

.singleimage {
    width: auto;
    max-height: 400px;
}

.footerbuttonbuy{
    display: flex;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    width: 100%;
}
.btn1{
    width: 50%;
}
.btncart{
    background: #fff;
    display: block;
    color: black;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid #ffc200;
    font-size: 14px;
    padding: 14px 9px;
    border: none !important;
    font-weight: bold;
}
.btnbuy{
    background: #FFA41C;
    display: block;
    color: #000;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid #FF8F00;
    font-size: 14px;
    padding: 14px 9px;
    font-weight: bold;
}