

.basket_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 20px 20px 15px 20px;
    flex-shrink: 0; 
    
}

.basket_header h2 {
    font-size: 25px;
    color: white;
    font-family: "Palanquin Dark", sans-serif;
    font-weight: 400;
}

.basket_controls span {
    color: #3a3a3a;
}

.dialog_content {
    width: 400px;
    height: 250px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    background-color: #3a3a3a;
    color: white;
    padding: 20px;
    border: none;
}
.dialog_order
{
    border: none;
    border-radius: 15px;
     position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;

}

dialog::backdrop {
  background-color: rgba(23, 23, 23, 0.8);
  
}

.btn_deliver{
    width: 50px;
}
.basket_header button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
}

.basket_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3a3a3a;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: rgb(253, 234, 220);
}

.basket_item_title {
    font-size: 14px;
    font-weight: 600;
    color: rgb(43,43,43);
}

#basket_items {
    flex: 1;           
    overflow-y: auto;  
    padding: 0 20px;
}


.basket_item_sub {
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}

.basket_item_price {
    font-size: 14px;
    white-space: nowrap;
    color: rgb(43,43,43);
}

.basket_subtotal {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    font-size: 14px;
    color: #ccc;
}

.basket_total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin: 10px 0;
}



.basket_footer {
    flex-shrink: 0;    
    padding: 10px 20px 20px 20px;
    background-color: #2b2b2b;
}
hr {
    border-color: #555;
    margin: 8px 0;
}

.buy_now_btn {
    width: 100%;
    background-color: #E76C1F;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
}

.empty_basket {
    text-align: center;
    color: #aaa;
    padding: 20px 0;
}

.basket_sidebar {
    height: 100vh;
    width: 320px;
    background-color: #2b2b2b;
    color: white;
    position: fixed;
    right: 0;
    top: 0;
    transition: transform 0.4s ease-in-out;
    z-index: 1;
    padding: 20px;
    overflow-y: auto;
    border-radius: 16px 0 0 16px;
      display: flex;
    flex-direction: column;
    padding: 0;
}

.close_box {
    transform: translateX(100%);
}

.basket_controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.basket_btn {
    background-color: #555;
    color: white;
    border: none;
    border-radius: 6px;
    width: 26px;
    height: 26px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.basket_btn:hover {
    background-color: #E76C1F;
}

.trash {
    background-color: #8b0000;
}

.trash:hover {
    background-color: #cc0000;
}