/* =====================================================================
   PCL — WooCommerce CART page: dark theme to match the checkout.
   Scoped to .woocommerce-cart so it only affects the cart page.
   ===================================================================== */

/* ---- Container width ---- */
.woocommerce-cart .woocommerce,
.woocommerce-cart .pcl-cart {
	max-width: 1200px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* ---- Cart table as a dark card ---- */
.woocommerce-cart table.shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 16px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.03);
	color: #cbd2e6;
}
.woocommerce-cart table.shop_table {
	table-layout: auto;
}
.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
	border: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
	padding: 14px 10px !important;
	color: #cbd2e6;
	vertical-align: middle;
	background: transparent;
}
/* Tight remove (×) column so the row doesn't spread out. */
.woocommerce-cart table.shop_table th.product-remove,
.woocommerce-cart table.shop_table td.product-remove {
	width: 42px;
	text-align: center;
	padding: 14px 6px !important;
}
/* Thumbnail column: just wide enough for the image. */
.woocommerce-cart table.shop_table th.product-thumbnail,
.woocommerce-cart table.shop_table td.product-thumbnail {
	width: 66px;
	padding-left: 4px !important;
	padding-right: 4px !important;
}
/* Let the product name take the slack; keep the money columns tidy on the right. */
.woocommerce-cart table.shop_table td.product-name {
	width: 100%;
}
.woocommerce-cart table.shop_table thead th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	color: #93a0b8;
	background: rgba(255, 255, 255, 0.03);
	font-weight: 700;
}
.woocommerce-cart table.shop_table tbody tr:last-child td {
	border-bottom: 0 !important;
}
.woocommerce-cart table.shop_table a {
	color: #eef1f8;
	text-decoration: none;
}
.woocommerce-cart table.shop_table a:hover {
	color: #a5b4fc;
}
.woocommerce-cart .product-name a {
	font-weight: 600;
}
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal {
	color: #eef1f8;
	white-space: nowrap; /* full-width table now has room, so keep money on one line */
}
.woocommerce-cart td.product-price,
.woocommerce-cart th.product-price,
.woocommerce-cart td.product-subtotal,
.woocommerce-cart th.product-subtotal {
	text-align: right;
}
.woocommerce-cart td.product-subtotal {
	font-weight: 600;
}
.woocommerce-cart th.product-quantity,
.woocommerce-cart td.product-quantity {
	text-align: center;
}

/* Remove (×) button */
.woocommerce-cart td.product-remove a.remove {
	color: #ff6b6b !important;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.05) !important;
	width: 26px;
	height: 26px;
	line-height: 24px;
	border-radius: 50%;
	font-size: 16px;
}
.woocommerce-cart td.product-remove a.remove:hover {
	background: #ff6b6b !important;
	color: #fff !important;
	border-color: #ff6b6b;
}

/* Product thumbnail — neat fixed box for real product images */
.woocommerce-cart .product-thumbnail img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.05);
	display: block;
}
/* Products with NO image: hide the broken WooCommerce placeholder and show a clean,
   on-brand Chatzio chat icon on the purple gradient instead. */
.woocommerce-cart .product-thumbnail img.woocommerce-placeholder {
	display: none;
}
.woocommerce-cart td.product-thumbnail:has(img.woocommerce-placeholder)::before {
	content: "";
	display: inline-block;
	width: 56px;
	height: 56px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	vertical-align: middle;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 3C6.48 3 2 6.94 2 11.5c0 2.3 1.15 4.36 3 5.84V21l3.3-1.98c1.14.31 2.37.48 3.7.48 5.52 0 10-3.94 10-8.5S17.52 3 12 3z'/%3E%3C/svg%3E"), linear-gradient(135deg, #6366f1, #8b5cf6);
	background-repeat: no-repeat, no-repeat;
	background-position: center, center;
	background-size: 28px 28px, cover;
}

/* ---- Quantity input ---- */
.woocommerce-cart .quantity input.qty {
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 10px !important;
	color: #eef1f8 !important;
	padding: 8px 6px !important;
	min-height: 42px;
	width: 74px;
	text-align: center;
}

/* ---- Coupon + update-cart row (table actions) ---- */
.woocommerce-cart table.shop_table td.actions {
	background: rgba(255, 255, 255, 0.02);
	padding: 16px 18px !important;
}
.woocommerce-cart .coupon input.input-text {
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 10px !important;
	color: #eef1f8 !important;
	padding: 12px 14px !important;
	min-height: 46px;
}
.woocommerce-cart .coupon input.input-text::placeholder {
	color: rgba(255, 255, 255, 0.38);
}

/* ---- Buttons ---- */
.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-cart input.button {
	border-radius: 12px !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	background: rgba(255, 255, 255, 0.06) !important;
	color: #eef1f8 !important;
	padding: 12px 20px !important;
	font-weight: 600 !important;
	min-height: 46px;
	transition: filter 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.woocommerce-cart .button:hover,
.woocommerce-cart button.button:hover,
.woocommerce-cart input.button:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	transform: translateY(-1px);
}
/* Primary buttons: Apply coupon + Proceed to checkout */
.woocommerce-cart .coupon button.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
	border: 0 !important;
	color: #fff !important;
	box-shadow: 0 14px 34px -14px rgba(99, 102, 241, 0.85);
}
.woocommerce-cart .coupon button.button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	filter: brightness(1.08);
	color: #fff !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 16px !important;
	min-height: 54px;
	line-height: 30px;
}

/* ---- Cart totals card ---- */
.woocommerce-cart .cart_totals {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 16px;
	padding: 22px 24px;
}
.woocommerce-cart .cart_totals h2 {
	color: #f4f6fb;
	font-weight: 700;
	font-size: 18px;
	margin: 0 0 14px;
}
.woocommerce-cart .cart_totals table {
	border: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
	border: 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
	padding: 12px 0 !important;
	color: #cbd2e6;
	background: transparent !important;
}
.woocommerce-cart .cart_totals table tr.order-total th,
.woocommerce-cart .cart_totals table tr.order-total td {
	color: #eef1f8;
	font-weight: 700;
	font-size: 1.05em;
}
.woocommerce-cart .cart_totals table tr:last-child th,
.woocommerce-cart .cart_totals table tr:last-child td {
	border-bottom: 0 !important;
}

/* ---- Notices ---- */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .cart-empty.woocommerce-info {
	background: rgba(99, 102, 241, 0.08);
	border-top: 3px solid #6366f1;
	color: #cbd2e6;
	border-radius: 8px;
}
.woocommerce-cart .woocommerce-message a,
.woocommerce-cart .woocommerce-info a {
	color: #a5b4fc;
}

/* ---- Single-column layout (NO 2-column split): full-width table, totals below ---- */
.woocommerce-cart .woocommerce-cart-form {
	width: 100%;
	float: none;
	margin-bottom: 30px;
}
.woocommerce-cart .cart-collaterals {
	width: 100%;
	float: none;
}
.woocommerce-cart .cart-collaterals .cross-sells {
	width: 100%;
	float: none;
	margin-bottom: 24px;
}
/* Totals card sits below the table, aligned to the right, capped so it looks tidy. */
.woocommerce-cart .cart-collaterals .cart_totals {
	width: 100%;
	max-width: 460px;
	float: none;
	margin-left: auto;
}
