/* Cart Page Custom Styles */
.de__cart {
    margin-bottom: 15px;
}

.de__cart-item {
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Wrap the image and info together */
.de__cart-item .d-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0; /* Prevent flex items from growing beyond container */
}

/* Style the product image */
.de__cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 20px;
}

/* Style the product info section */
.de__cart-item .d-info {
    flex: 1;
    min-width: 0; /* Prevent flex overflow */
}

/* Style product name */
.de__cart-item .d-info h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Style product price */
.de__cart-item .d-price {
    font-weight: 600;
    color: #333;
    display: block;
}

/* Style quantity controls */
.de__cart-item .de-number {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.de__cart-item .de-number span {
    cursor: pointer;
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    user-select: none;
}

.de__cart-item .de-number input {
    width: 40px;
    text-align: center;
    margin: 0 8px;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .de__cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .de__cart-item .d-wrap {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .de__cart-item .de-number {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }
} 