/* Sidebar Cart Styles */
.sidebar-cart {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar-cart.open {
    right: 0;
}

.sidebar-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    color: black;
    padding: 20px;
}

.sidebar-cart-content {
    padding: 20px;
}

.sidebar-cart .close-sidebar-cart {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.cart-item img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 8px;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    color: #000; /* Ensure the product name is black */
}

.quantity-price-container {
    display: flex;
    justify-content: space-between; /* Ensure quantity and price are spaced out */
    align-items: center;
}

.quantity {
    display: flex;
    align-items: center;
}

.quantity button {
    border: 1.13px solid #D3D3D3 !important;
    background-color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #000 !important;
    font-size: 18px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 30px !important;
}

.quantity input {
    width: 70px !important;
    height: 40px !important;
    text-align: center !important;
    background: #E2E1DF !important;
    border: none !important;
}

.item-price {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: #000;
}

.change-address{
    border: 1px solid #F8b602;
    color: #F8B602;
    border-radius: 8px; 
    margin-left: 20px;
}
.add-details{
    border: 1px solid #A098AE;
    color: #A098AE;
    border-radius: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.checkout{
    text-decoration-line: none;
}
.add-note{
    border: 1px solid #A098AE;
    color: #A098AE;
    border-radius: 8px;
}
.item-price .woocommerce-Price-amount {
    color: #000;
    font-size: 22px;
    font-weight: 700;
}

.item-price .woocommerce-Price-currencySymbol {
    color: #ffb61d;
    margin-right: 2px;
    font-size: 22px;
}

.cart-summary, .address-section, .coupon-section {
    margin-top: 20px;
    color: #000000;
}

.cart-summary .service, .cart-summary .total {
    font-size: 16px;
    color: #000000;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.address-section h4, .coupon-section button, .checkout {
    display: inline-block;
    width: 100%;
    text-align: left;
    margin: 10px 0;
    padding: 10px;
    border: none;
    background-color: #ffb61d;
    color: #fff;
    cursor: pointer;
    border-radius: 16px;
    font-size: 16px;
}

.address-section h4 {
    background-color: transparent; /* Remove background color */
    color: #000000;
}

.address-content {
    display: flex;
    align-items: center;
}

.address-content .location-icon {
    margin-right: 8px;
}

.coupon-section button {
    background-color: transparent;
    border: 1px solid #F8B602;
    border-radius: 16px;
    color: #333;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
}

#overlay.visible {
    opacity: 1;
    visibility: visible;
}
