.woocommerce table { 
  width: 100%; 
  border-collapse: collapse; 
  margin-bottom:30px;
}
/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 600px),
(min-device-width: 200px) and (max-device-width: 600px)  {

	/* Force table to not be like tables anymore */
	.woocommerce table, .woocommerce thead, .woocommerce tbody, .woocommerce th, .woocommerce td, .woocommerce tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	.woocommerce tr.hidemob { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	
	.cart_table_item td { 
		/* Behave  like a "row" */
		border-left: 1px solid rgba(0,0,0,0.1);
		border-right: 1px solid rgba(0,0,0,0.1);
		position: relative;
		padding-left: 50% !important; 
		text-align:center;
		min-height:44px;
		
	}
	.woocommerce table.shop_table, .woocommerce-page table.shop_table {
		border: none!important;
	}
	tr.cart_table_item {
		padding-bottom: 20px;
		margin-bottom: 20px;
	}
	tr.cart_table_item td.product-subtotal {
		border-bottom: 1px solid rgba(0,0,0,0.1);
	}
	.woocommerce .cart_table_item th, th.product-remove, th.product-thumbnail, th.product-name, th.product-price, th.product-quantity, th.product-subtotal {
		display: none;
		}
	.cart_table_item td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 33%; 
		white-space: nowrap;
		line-height:2;
		padding: 10px 5px;
		font-weight:bold;
		text-align:left;
		font-weight:bold;
		background:#f2f2f2;

	}
	/*
	Label the data
	*/
	.cart_table_item td:nth-of-type(1):before { content: "Delete"; }
	.cart_table_item td:nth-of-type(2):before { content: "Photo"; }
	.cart_table_item td:nth-of-type(3):before { content: "Name"; }
	.cart_table_item td:nth-of-type(4):before { content: "Price"; }
	.cart_table_item td:nth-of-type(5):before { content: "Quantity"; }
	.cart_table_item td:nth-of-type(6):before { content: "Sub-total"; }

	.woocommerce table.cart a.remove {
		margin: 0 auto;
	}

	.woocommerce .cart-collaterals .cart_totals th, .woocommerce-page .cart-collaterals .cart_totals th, .woocommerce .cart-collaterals .cart_totals td, .woocommerce-page .cart-collaterals .cart_totals td {
		display: table-cell;
	}

}