/**
 * Custom Cart Page Styles for MyAayurveda
 * - Desktop: Exact match for reference modern two-column design
 * - Mobile: Fully responsive card-based layout with visible thumbnail, top-right remove icon,
 *   quantity pill & subtotal neatly aligned, and zero pseudo-table clutter
 * - Actions Row: Side by Side on Desktop & Mobile (Left: Continue Shopping, Right: UPDATE CART)
 * - Cart Totals: Subtotal and Total labels explicitly visible on Desktop & Mobile
 * - Notices: Green pill for "Cart updated.", Red pill for "Card delete / item removed" & errors
 */

/* ================= CONTAINER & SECTION WRAPPER ================= */
.woocommerce-cart .elementor-element-434ad27c,
.woocommerce-cart .e-cart__container {
	font-family: var(--font-primary, "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	color: #111827;
}

.woocommerce-cart .e-cart__container {
	display: flex;
	gap: 36px;
	align-items: flex-start;
	width: 100%;
	box-sizing: border-box;
}

.woocommerce-cart .e-cart__column-start {
	flex: 1 1 65%;
	min-width: 0;
}

.woocommerce-cart .e-cart__column-end {
	flex: 0 0 35%;
	min-width: 320px;
}

/* ================= NOTICES: GREEN FOR UPDATE, RED FOR DELETE/ERROR ================= */
.woocommerce-notices-wrapper {
	width: 100% !important;
	margin-bottom: 24px !important;
}

/* Base notice styling */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	border-radius: 12px !important;
	padding: 14px 20px 14px 54px !important;
	font-family: var(--font-primary, "Roboto", sans-serif) !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	margin: 0 0 20px 0 !important;
	box-sizing: border-box !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
	border: 1px solid transparent !important;
}

.woocommerce-notices-wrapper .woocommerce-message::after,
.woocommerce-notices-wrapper .woocommerce-info::after,
.woocommerce-notices-wrapper .woocommerce-error::after {
	content: none !important;
	display: none !important;
}

/* 1. GREEN NOTIFICATION: "Cart updated." (Success) */
.woocommerce-notices-wrapper .woocommerce-message:not(.mya-notice-removed),
.woocommerce-notices-wrapper .woocommerce-message.mya-notice-updated {
	background-color: #f0fdf4 !important;
	border-color: #bbf7d0 !important;
	border-left: 6px solid #16a34a !important;
	color: #166534 !important;
}

.woocommerce-notices-wrapper .woocommerce-message:not(.mya-notice-removed)::before,
.woocommerce-notices-wrapper .woocommerce-message.mya-notice-updated::before {
	content: "✓" !important;
	position: absolute !important;
	left: 16px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	height: 22px !important;
	border-radius: 50% !important;
	background-color: #16a34a !important;
	color: #ffffff !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	margin: 0 !important;
}

/* 2. RED NOTIFICATION: "When card delete" / Item Removed & Errors */
.woocommerce-notices-wrapper .mya-notice-removed,
.woocommerce-notices-wrapper .woocommerce-message:has(.restore-item),
.woocommerce-notices-wrapper .woocommerce-info:has(.restore-item),
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
	background-color: #fef2f2 !important;
	border-color: #fecaca !important;
	border-left: 6px solid #ef4444 !important;
	color: #991b1b !important;
}

.woocommerce-notices-wrapper .mya-notice-removed::before,
.woocommerce-notices-wrapper .woocommerce-message:has(.restore-item)::before,
.woocommerce-notices-wrapper .woocommerce-info:has(.restore-item)::before,
.woocommerce-notices-wrapper .woocommerce-error::before,
.woocommerce-notices-wrapper .woocommerce-info::before {
	content: "✕" !important;
	position: absolute !important;
	left: 16px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 22px !important;
	height: 22px !important;
	border-radius: 50% !important;
	background-color: #ef4444 !important;
	color: #ffffff !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	margin: 0 !important;
}

/* Undo Link for Removed Items */
.woocommerce-notices-wrapper a.restore-item {
	display: inline-block !important;
	color: #dc2626 !important;
	font-weight: 600 !important;
	text-decoration: underline !important;
	margin-left: 6px !important;
	transition: color 0.15s ease !important;
}

.woocommerce-notices-wrapper a.restore-item:hover {
	color: #991b1b !important;
}

/* Clean Error List inside notices */
.woocommerce-notices-wrapper ul.woocommerce-error {
	list-style: none !important;
	margin: 0 0 20px 0 !important;
	padding: 14px 20px 14px 54px !important;
}

.woocommerce-notices-wrapper ul.woocommerce-error li {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	color: #991b1b !important;
}

/* ================= CART ITEMS TABLE (DESKTOP) ================= */
.woocommerce-cart .e-shop-table {
	background: #ffffff;
	border: 1px solid #eef0f2;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.woocommerce-cart table.shop_table.cart {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	border: none !important;
	background: transparent !important;
}

/* Table Header */
.woocommerce-cart table.shop_table.cart thead {
	background-color: #f8f9fa !important;
}

.woocommerce-cart table.shop_table.cart thead th {
	font-family: "Roboto", sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	color: #374151 !important;
	padding: 16px 20px !important;
	border: none !important;
	border-bottom: 1px solid #eef0f2 !important;
	background: transparent !important;
}

.woocommerce-cart table.shop_table.cart thead th.product-name {
	text-align: left !important;
}

.woocommerce-cart table.shop_table.cart thead th.product-price {
	text-align: center !important;
}

.woocommerce-cart table.shop_table.cart thead th.product-quantity {
	text-align: center !important;
}

.woocommerce-cart table.shop_table.cart thead th.product-subtotal {
	text-align: right !important;
}

/* Table Body Rows */
.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
	background-color: #ffffff;
	transition: background-color 0.15s ease;
}

.woocommerce-cart table.shop_table.cart tbody tr.cart_item:hover {
	background-color: #fafbfc;
}

.woocommerce-cart table.shop_table.cart tbody td {
	padding: 20px !important;
	vertical-align: middle !important;
	border: none !important;
	border-bottom: 1px solid #f1f3f5 !important;
	box-sizing: border-box;
}

/* 1. Remove Item Button - Soft Red Circle */
.woocommerce-cart table.shop_table.cart td.product-remove {
	width: 48px !important;
	text-align: center !important;
	padding-right: 0 !important;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	height: 28px !important;
	border-radius: 50% !important;
	background-color: #fee2e2 !important;
	color: #ef4444 !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: all 0.2s ease !important;
	margin: 0 auto !important;
}

.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
	background-color: #fecaca !important;
	color: #dc2626 !important;
	transform: scale(1.08);
}

/* 2. Product Thumbnail */
.woocommerce-cart table.shop_table.cart td.product-thumbnail {
	width: 80px !important;
	padding-left: 12px !important;
	padding-right: 12px !important;
}

.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
	width: 68px !important;
	height: 68px !important;
	object-fit: contain !important;
	border-radius: 10px !important;
	border: 1px solid #edf0f2 !important;
	padding: 4px !important;
	background: #ffffff !important;
	box-sizing: border-box !important;
}

/* 3. Product Name & Package Details */
.woocommerce-cart table.shop_table.cart td.product-name a {
	font-family: "Roboto", sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #111827 !important;
	text-decoration: none !important;
	transition: color 0.15s ease;
}

.woocommerce-cart table.shop_table.cart td.product-name a:hover {
	color: #08550f !important;
}

.woocommerce-cart table.shop_table.cart td.product-name dl.variation {
	margin: 5px 0 0 0 !important;
	font-size: 13px !important;
	color: #6b7280 !important;
}

.woocommerce-cart table.shop_table.cart td.product-name dl.variation dt {
	display: inline-block !important;
	font-weight: 500 !important;
	margin-right: 4px !important;
	color: #6b7280 !important;
}

.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd {
	display: inline-block !important;
	margin: 0 !important;
	color: #374151 !important;
	font-weight: 500 !important;
}

.woocommerce-cart table.shop_table.cart td.product-name dl.variation dd p {
	margin: 0 !important;
	display: inline !important;
}

/* 4. Product Price */
.woocommerce-cart table.shop_table.cart td.product-price {
	font-family: "Roboto", sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #111827 !important;
	text-align: center !important;
}

/* 5. Product Quantity Pill */
.woocommerce-cart table.shop_table.cart td.product-quantity {
	text-align: center !important;
}

.woocommerce-cart table.shop_table.cart td.product-quantity .quantity {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: #f3f4f6 !important;
	border-radius: 30px !important;
	padding: 4px 10px !important;
	border: 1px solid #e5e7eb !important;
	min-width: 95px !important;
	box-sizing: border-box !important;
}

.woocommerce-cart .mya-cart-qty-btn {
	width: 22px !important;
	height: 22px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: none !important;
	border: none !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #14442a !important;
	cursor: pointer !important;
	padding: 0 !important;
	line-height: 1 !important;
	user-select: none !important;
	transition: color 0.15s ease !important;
}

.woocommerce-cart .mya-cart-qty-btn:hover {
	color: #08550f !important;
}

.woocommerce-cart table.shop_table.cart td.product-quantity .quantity input.qty {
	width: 36px !important;
	height: auto !important;
	border: none !important;
	background: transparent !important;
	text-align: center !important;
	font-family: "Roboto", sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	-moz-appearance: textfield !important;
}

.woocommerce-cart table.shop_table.cart td.product-quantity .quantity input.qty::-webkit-outer-spin-button,
.woocommerce-cart table.shop_table.cart td.product-quantity .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

/* 6. Product Subtotal */
.woocommerce-cart table.shop_table.cart td.product-subtotal {
	font-family: "Roboto", sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #111827 !important;
	text-align: right !important;
}

/* ================= ACTIONS ROW (Desktop & General) ================= */
.woocommerce-cart table.shop_table.cart tbody tr:last-child td.actions {
	padding: 24px 0 0 0 !important;
	background: transparent !important;
	border: none !important;
}

.woocommerce-cart .actions-wrapper {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	margin-top: 16px !important;
	gap: 16px !important;
}

/* Continue Shopping Link (Left Side) */
.woocommerce-cart .mya-cart-continue-shopping {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	font-family: var(--font-primary, "Roboto", sans-serif) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #111827 !important;
	text-decoration: none !important;
	transition: color 0.15s ease !important;
	white-space: nowrap !important;
}

.woocommerce-cart .mya-cart-continue-shopping:hover {
	color: #08550f !important;
}

/* Update Cart Button - Pill Shaped (Right Side) */
.woocommerce-cart button[name="update_cart"] {
	background-color: #b0bec5 !important;
	color: #ffffff !important;
	font-family: var(--font-primary, "Roboto", sans-serif) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	border-radius: 30px !important;
	padding: 12px 30px !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	box-shadow: none !important;
	white-space: nowrap !important;
	margin-left: auto !important;
}

.woocommerce-cart button[name="update_cart"]:not(:disabled) {
	background-color: #08550f !important;
}

.woocommerce-cart button[name="update_cart"]:not(:disabled):hover {
	background-color: #06400b !important;
}

/* ================= COUPON BOX ================= */
.woocommerce-cart .coupon.e-cart-section {
	margin-top: 24px !important;
}

.woocommerce-cart .coupon-col {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
}

.woocommerce-cart .coupon-col input.input-text {
	border: 1px solid #e5e7eb !important;
	border-radius: 30px !important;
	padding: 12px 22px !important;
	font-family: "Roboto", sans-serif !important;
	font-size: 14px !important;
	color: #111827 !important;
	background: #ffffff !important;
	outline: none !important;
	box-shadow: none !important;
	flex: 1 !important;
}

.woocommerce-cart .coupon-col input.input-text:focus {
	border-color: #08550f !important;
}

.woocommerce-cart .coupon-col button.e-apply-coupon {
	background-color: #14442a !important;
	color: #ffffff !important;
	font-family: "Roboto", sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	border-radius: 30px !important;
	padding: 12px 24px !important;
	border: none !important;
	cursor: pointer !important;
	transition: background 0.2s ease !important;
}

.woocommerce-cart .coupon-col button.e-apply-coupon:hover {
	background-color: #08550f !important;
}

/* ================= CART TOTALS / ORDER SUMMARY (Right Column) ================= */
.woocommerce-cart .e-cart__column-end .cart_totals {
	background: #ffffff !important;
	border: 1px solid #eef0f2 !important;
	border-radius: 16px !important;
	padding: 24px 28px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

.woocommerce-cart .e-cart__column-end .cart_totals h2 {
	display: none !important;
}

.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table {
	border: none !important;
	margin: 0 0 16px 0 !important;
	width: 100% !important;
	background: transparent !important;
	display: table !important;
}

.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tbody {
	display: table-row-group !important;
}

.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr {
	display: table-row !important;
}

/* Ensure Subtotal and Total labels in Cart Totals are always visible on BOTH Desktop and Mobile */
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table_responsive th,
.woocommerce-cart .cart_totals table.shop_table_responsive tr th,
.woocommerce-cart .cart_totals table.shop_table_responsive tbody th,
.elementor-widget-woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tbody th,
.elementor-widget-woocommerce-cart .woocommerce-page .cart_totals table.shop_table_responsive tbody th {
	display: table-cell !important;
	text-align: left !important;
	vertical-align: middle !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.woocommerce-cart .cart_totals table.shop_table td,
.woocommerce-cart .cart_totals table.shop_table_responsive td,
.woocommerce-cart .cart_totals table.shop_table_responsive tr td,
.woocommerce-cart .cart_totals table.shop_table_responsive tbody td,
.elementor-widget-woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr td,
.elementor-widget-woocommerce-cart .woocommerce-page .cart_totals table.shop_table_responsive tr td {
	display: table-cell !important;
	text-align: right !important;
	vertical-align: middle !important;
}

/* Hide duplicate :before in Cart Totals since th is shown */
.woocommerce-cart .cart_totals table.shop_table td::before,
.woocommerce-cart .cart_totals table.shop_table_responsive tr td::before,
.elementor-widget-woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tr td::before {
	display: none !important;
	content: none !important;
}

.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr.cart-subtotal th {
	font-family: var(--font-primary, "Roboto", sans-serif) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: #4b5563 !important;
	padding: 12px 0 !important;
	border: none !important;
	border-bottom: 1px solid #f3f4f6 !important;
}

.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr.cart-subtotal td {
	font-family: var(--font-primary, "Roboto", sans-serif) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #111827 !important;
	text-align: right !important;
	padding: 12px 0 !important;
	border: none !important;
	border-bottom: 1px solid #f3f4f6 !important;
}

.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr.order-total th {
	font-family: var(--font-primary, "Roboto", sans-serif) !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #08550f !important;
	padding: 14px 0 !important;
	border: none !important;
}

.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr.order-total td {
	font-family: var(--font-primary, "Roboto", sans-serif) !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	text-align: right !important;
	padding: 14px 0 !important;
	border: none !important;
}

.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr.order-total td strong {
	font-weight: 700 !important;
	color: #111827 !important;
}

/* Proceed to Checkout Button - Forest Green Pill */
.woocommerce-cart .wc-proceed-to-checkout {
	padding: 0 !important;
	margin: 0 !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: block !important;
	width: 100% !important;
	background-color: #08550f !important;
	color: #ffffff !important;
	font-family: "Roboto", sans-serif !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	border-radius: 30px !important;
	padding: 16px 24px !important;
	text-align: center !important;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(8, 85, 15, 0.28) !important;
	border: none !important;
	box-sizing: border-box !important;
	transition: all 0.25s ease !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
	background-color: #06400b !important;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(8, 85, 15, 0.38) !important;
}

.return-to-shop {
	display: none !important;
}

.woocommerce-info {
	border-top-color: #14442a !important;
}

.woocommerce-info::before {
	color: #14442a !important;
}
.e-cart__column-inner.e-sticky-right-column .e-cart-section {
		padding: 0px !important;
		border-radius: 0px!important;
}
.woocommerce-cart .e-cart__column-end .cart_totals{
border-radius: 0px !important;		
	}

/* ================= FULLY RESPONSIVE MOBILE VIEW (<= 768px) ================= */
@media (max-width: 768px) {
	.e-cart__column-inner.e-sticky-right-column .e-cart-section {
		padding: 0px !important;
		border-radius: 0px !important;
	}
	.woocommerce-cart .e-cart__column-end .cart_totals{
border-radius: 0px !important;		
	}
	.elementor-widget-woocommerce-cart .e-cart-section{
		padding: 16px !important;
	}

	/* 1. Container & Columns Stacking */
	.woocommerce-cart .elementor-element-434ad27c,
	.woocommerce-cart .e-con-inner {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	.woocommerce-cart .e-cart__container {
		display: flex !important;
		flex-direction: column !important;
		gap: 24px !important;
		width: 100% !important;
	}

	.woocommerce-cart .e-cart__column-start,
	.woocommerce-cart .e-cart__column-end {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		flex: 1 1 100% !important;
	}

	/* 2. Cart Table Wrapper as Mobile Card Container */
	.woocommerce-cart .e-shop-table {
		background: #ffffff !important;
		border: 1px solid #eef0f2 !important;
		border-radius: 14px !important;
		overflow: hidden !important;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
	}

	.woocommerce-cart table.shop_table.cart,
	.woocommerce-cart table.shop_table.cart tbody {
		display: block !important;
		width: 100% !important;
	}

	/* Hide the desktop thead */
	.woocommerce-cart table.shop_table.cart thead {
		display: none !important;
	}

	/* Eradicate ugly pseudo labels ONLY from the CART ITEM FORM table (preserves cart_totals) */
	.woocommerce-cart form.woocommerce-cart-form table.shop_table_responsive tr td::before,
	.woocommerce-cart form.woocommerce-cart-form table.shop_table.cart td::before {
		display: none !important;
		content: none !important;
	}

	/* 3. Each Cart Item Row as an Individual Product Card */
	.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
		display: block !important;
		position: relative !important;
		padding: 16px 14px 16px 102px !important;
		min-height: 104px !important;
		background: #ffffff !important;
		border: none !important;
		border-bottom: 1px solid #f1f3f5 !important;
		box-sizing: border-box !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item::after {
		content: "" !important;
		display: table !important;
		clear: both !important;
	}

	/* Thumbnail on Left */
	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail {
		position: absolute !important;
		top: 16px !important;
		left: 14px !important;
		width: 74px !important;
		height: 74px !important;
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		display: block !important;
		float: none !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail a {
		display: block !important;
		width: 74px !important;
		height: 74px !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail img {
		width: 74px !important;
		height: 74px !important;
		object-fit: contain !important;
		border-radius: 10px !important;
		border: 1px solid #edf0f2 !important;
		padding: 4px !important;
		background: #ffffff !important;
		box-sizing: border-box !important;
	}

	/* Remove Button at Top-Right of Card */
	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-remove {
		position: absolute !important;
		top: 14px !important;
		right: 14px !important;
		width: 28px !important;
		height: 28px !important;
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		display: block !important;
		z-index: 2 !important;
		text-align: center !important;
		float: none !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-remove a.remove {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 28px !important;
		height: 28px !important;
		border-radius: 50% !important;
		background-color: #fee2e2 !important;
		color: #ef4444 !important;
		font-size: 18px !important;
		line-height: 1 !important;
		text-decoration: none !important;
		margin: 0 !important;
	}

	/* Product Title & Details */
	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-name {
		display: block !important;
		padding: 0 34px 8px 0 !important;
		margin: 0 !important;
		border: none !important;
		text-align: left !important;
		float: none !important;
		box-sizing: border-box !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-name a {
		font-size: 15px !important;
		line-height: 1.35 !important;
		font-weight: 600 !important;
		color: #111827 !important;
		display: inline-block !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-name dl.variation {
		margin: 4px 0 0 0 !important;
		font-size: 13px !important;
		color: #6b7280 !important;
	}

	/* Unit Price - Hide on mobile since subtotal represents the line total */
	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-price {
		display: none !important;
	}

	/* Quantity Pill (Bottom Left of Info Area) */
	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-quantity {
		display: inline-block !important;
		padding: 6px 0 0 0 !important;
		margin: 0 !important;
		border: none !important;
		text-align: left !important;
		vertical-align: middle !important;
		width: auto !important;
		float: left !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-quantity .quantity {
		display: inline-flex !important;
		padding: 3px 8px !important;
		min-width: 86px !important;
		background: #f3f4f6 !important;
		border: 1px solid #e5e7eb !important;
		border-radius: 24px !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-quantity .quantity input.qty {
		width: 30px !important;
		font-size: 13px !important;
	}

	/* Subtotal (Bottom Right of Card) */
	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-subtotal {
		display: inline-block !important;
		float: right !important;
		padding: 8px 0 0 0 !important;
		margin: 0 !important;
		border: none !important;
		text-align: right !important;
		font-size: 16px !important;
		font-weight: 700 !important;
		color: #111827 !important;
		vertical-align: middle !important;
		width: auto !important;
	}

	/* 4. Actions Row on Mobile: SIDE BY SIDE (Left: Continue Shopping, Right: UPDATE CART) */
	.woocommerce-cart table.shop_table.cart tbody tr:last-child td.actions {
		display: block !important;
		padding: 16px 0px !important;
		background: #ffffff !important;
		border: none !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.woocommerce-cart .actions-wrapper {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		width: 100% !important;
		gap: 30px !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	.woocommerce-cart .mya-cart-continue-shopping {
		display: inline-flex !important;
		align-items: center !important;
		gap: 5px !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		color: #111827 !important;
		text-decoration: none !important;
		white-space: nowrap !important;
		flex-shrink: 0 !important;
		padding: 6px 0 !important;
	}

	.woocommerce-cart button[name="update_cart"] {
		width: auto !important;
		min-width: 120px !important;
		max-width: 55% !important;
		padding: 11px 18px !important;
		text-align: center !important;
		box-sizing: border-box !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		text-transform: uppercase !important;
		letter-spacing: 0.04em !important;
		border-radius: 30px !important;
		white-space: nowrap !important;
		flex-shrink: 0 !important;
		margin-left: auto !important;
	}

	/* 5. Coupon Section on Mobile */
	.woocommerce-cart .coupon.e-cart-section {
		background: #ffffff !important;
		border: 1px solid #eef0f2 !important;
		border-radius: 14px !important;
		padding: 16px !important;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
		margin-top: 16px !important;
	}

	.woocommerce-cart .coupon-col {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		width: 100% !important;
	}

	.woocommerce-cart .coupon-col-start,
	.woocommerce-cart .coupon-col-end {
		width: 100% !important;
	}

	.woocommerce-cart .coupon-col input.input-text {
		width: 100% !important;
		box-sizing: border-box !important;
		text-align: center !important;
		padding: 12px 16px !important;
	}

	.woocommerce-cart .coupon-col button.e-apply-coupon {
		width: 100% !important;
		box-sizing: border-box !important;
		padding: 14px 20px !important;
		text-align: center !important;
	}

	/* 6. Cart Totals on Mobile: Keep 2-column table with Subtotal and Total labels visible */
	.woocommerce-cart .e-cart__column-end .cart_totals {
		padding: 20px 18px !important;
	}

	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table,
	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table_responsive {
		display: table !important;
		width: 100% !important;
	}

	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr,
	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table_responsive tr {
		display: table-row !important;
	}

	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table th,
	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table_responsive th,
	.elementor-widget-woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tbody th {
		display: table-cell !important;
		width: 50% !important;
		text-align: left !important;
		padding: 10px 0 !important;
		opacity: 1 !important;
		visibility: visible !important;
	}

	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table td,
	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table_responsive td {
		display: table-cell !important;
		width: 50% !important;
		text-align: right !important;
		padding: 10px 0 !important;
	}

	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr.cart-subtotal th {
		font-size: 15px !important;
		font-weight: 500 !important;
		color: #4b5563 !important;
	}

	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr.cart-subtotal td {
		font-size: 15px !important;
		font-weight: 600 !important;
		color: #111827 !important;
	}

	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr.order-total th {
		font-size: 17px !important;
		font-weight: 700 !important;
		color: #08550f !important;
	}

	.woocommerce-cart .e-cart__column-end .cart_totals table.shop_table tr.order-total td {
		font-size: 17px !important;
		font-weight: 700 !important;
		color: #111827 !important;
	}

	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
		width: 100% !important;
		padding: 16px 20px !important;
		font-size: 15px !important;
	}
}

/* Extra small mobile adjustments */
@media (max-width: 480px) {
	.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
		padding: 14px 12px 14px 90px !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail {
		width: 66px !important;
		height: 66px !important;
		left: 12px !important;
		top: 14px !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail a,
	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-thumbnail img {
		width: 66px !important;
		height: 66px !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-name a {
		font-size: 14px !important;
	}

	.woocommerce-cart table.shop_table.cart tbody tr.cart_item td.product-subtotal {
		font-size: 15px !important;
	}

	.woocommerce-cart .mya-cart-continue-shopping {
		font-size: 12px !important;
		gap: 3px !important;
	}

	.woocommerce-cart button[name="update_cart"] {
		padding: 10px 14px !important;
		font-size: 11px !important;
		min-width: 105px !important;
	}
}