.cart-modal {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #1e1e1e;
    color: #fff;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 1000;
    padding: 2rem 1.5rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
    max-height: 80vh;
    overflow-y: auto;
}

.cart-modal.show {
    bottom: 0;
}

.cart-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #444;
    padding-bottom: 1rem;
    position: relative;
}

.cart-content h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 3px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2b2b2b;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cart-item-info {
    flex: 1;
}

.cart-item-actions {
    display: flex;
    align-items: center;
}

.cart-item div:last-child button {
    background: transparent;
    color: #fff;
    border: none;
    margin: 0 0.3rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-item div:last-child button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cart-item div:last-child button.remove-btn:hover {
    color: #ff4d4d;
    background-color: rgba(255, 77, 77, 0.1);
}

.cart-total {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin: 2rem 0 1rem;
    padding: 1rem;
    background: #2b2b2b;
    border-radius: 10px;
}

.cart-content button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

#checkoutBtn {
    background: linear-gradient(45deg, #28a745, #218838);
    color: #fff;
}

#checkoutBtn:hover {
    background: linear-gradient(45deg, #218838, #28a745);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    transform: translateY(-3px);
}

#checkoutBtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.4);
}

#closeCart {
    background: #444;
    color: #fff;
}

#closeCart:hover {
    background: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

