/* Brand styling for cart / checkout / account — UV-DTF purple, focused flow */

/* Full-width focused flow: drop the demo sidebar on cart & checkout */
.woocommerce-cart .sidebar-position-right .sidebar-right,
.woocommerce-checkout .sidebar-position-right .sidebar-right,
.woocommerce-cart .col-md-3.sidebar,
.woocommerce-checkout .col-md-3.sidebar { display: none !important; }
.woocommerce-cart .content-page .col-md-9,
.woocommerce-checkout .content-page .col-md-9 {
	flex: 0 0 100% !important;
	max-width: 100% !important;
	width: 100% !important;
}

/* Primary actions — brand purple */
.woocommerce #place_order,
.woocommerce a.checkout-button,
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart table.cart .button,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt {
	background: #7c3aed !important;
	border-color: #7c3aed !important;
	color: #fff !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}
.woocommerce #place_order:hover,
.woocommerce a.checkout-button:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce button.button.alt:hover {
	background: #6d28d9 !important;
	border-color: #6d28d9 !important;
}

/* Secondary buttons (update cart, apply coupon) — purple outline */
.woocommerce-cart table.cart .button[name="update_cart"],
.woocommerce .coupon .button {
	background: #fff !important;
	color: #6d28d9 !important;
	border: 1.5px solid #c4b5fd !important;
}

/* Inputs & selects focus */
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce .select2-container--open .select2-selection,
.woocommerce-checkout #payment input:focus {
	border-color: #a78bfa !important;
	box-shadow: 0 0 0 2px rgba(124, 58, 237, .15) !important;
	outline: none !important;
}

/* Order review / cart totals card */
.woocommerce-checkout-review-order,
.woocommerce-checkout #order_review,
.cart-collaterals .cart_totals {
	border: 1px solid #ddd6fe;
	border-radius: 14px;
	background: #faf9ff;
	padding: 18px 20px;
}
.woocommerce-checkout-review-order-table tfoot .order-total .amount,
.cart_totals .order-total .amount { color: #7c3aed; }

/* Payment box */
.woocommerce-checkout #payment {
	background: #faf9ff !important;
	border-radius: 14px;
}
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color: #ddd6fe; }

/* Section headings */
.woocommerce-checkout h3, .woocommerce-billing-fields h3, #order_review_heading {
	color: #1f2937;
}

/* XStore checkout step nav — active step purple */
.et-checkout-steps .active .step-number,
.checkout-steps .active .et-step-number,
.woocommerce-checkout-steps li.active .number,
.et_checkout_steps li.active span { background: #7c3aed !important; border-color: #7c3aed !important; }

/* Cart item remove — red × button (matched by href, independent of theme classes) */
.woocommerce-cart a[href*="remove_item="] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 30px !important;
	height: 30px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #fef2f2 !important;
	border: 1px solid #fecaca !important;
	color: #dc2626 !important;
	font-size: 0 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: background .12s, border-color .12s;
}
.woocommerce-cart a[href*="remove_item="]::before {
	content: "×" !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}
.woocommerce-cart a[href*="remove_item="]:hover {
	background: #fee2e2 !important;
	border-color: #fca5a5 !important;
	color: #b91c1c !important;
}
/* Hide the SKU column in the cart */
.woocommerce-cart table.cart .product-sku,
.woocommerce-cart table.cart th.product-sku { display: none !important; }

/* Move the × to the top-right of each cart row, clear of the subtotal amount */
.woocommerce-cart table.cart tr.cart_item { position: relative; }
.woocommerce-cart table.cart td.product-subtotal { padding-right: 40px !important; }
.woocommerce-cart table.cart tr.cart_item .product-remove {
	position: absolute !important;
	top: 14px;
	right: 6px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	width: auto !important;
	z-index: 3;
}

/* Coupon / notices accent */
.woocommerce-message, .woocommerce-info { border-top-color: #7c3aed !important; }
.woocommerce-message::before, .woocommerce-info::before { color: #7c3aed !important; }
