/* Radical Checkout — Shopify-style cart page (classic WooCommerce cart) */

body.rc-cart-page {
	--rc-accent: #B4821E;
	--rc-btn: var(--rc-accent);
	--rc-tint: #fbf7ef;
	--rc-text: #1a1a1a;
	--rc-muted: #707070;
	--rc-border: #e3e3e3;
	--rc-panel: #f6f6f5;
	--rc-error: #c4320a;
	--rc-radius: 6px;
	--rc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
	body.rc-cart-page {
		--rc-btn: color-mix(in srgb, var(--rc-accent) 82%, #000);
		--rc-tint: color-mix(in srgb, var(--rc-accent) 7%, #fff);
	}
}

/* ---------- Layout ----------
   The cart form and the summary are siblings (as in WooCommerce's own template), so the
   two-column grid goes on whatever element holds them. Notices and cross-sells span both. */

body.rc-cart-page :has(> .rc-cart-form):has(> .cart-collaterals) {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 380px;
	grid-auto-flow: row dense;
	column-gap: 48px;
	align-items: start;
}
body.rc-cart-page :has(> .rc-cart-form):has(> .cart-collaterals) > * { grid-column: 1 / -1; min-width: 0; }
body.rc-cart-page :has(> .rc-cart-form):has(> .cart-collaterals) > .rc-cart-form { grid-column: 1; }
body.rc-cart-page :has(> .rc-cart-form):has(> .cart-collaterals) > .cart-collaterals { grid-column: 2; }
body.rc-cart-page :has(> .rc-cart-form):has(> .cart-collaterals)::before,
body.rc-cart-page :has(> .rc-cart-form):has(> .cart-collaterals)::after { display: none !important; content: none !important; }

body.rc-cart-page .rc-cart-form,
body.rc-cart-page .rc-cart-side {
	font-family: var(--rc-font);
	color: var(--rc-text);
	font-size: 15px;
	line-height: 1.45;
}
body.rc-cart-page .rc-cart-form {
	/* Item rows respond to the width they get, whatever wraps the cart. */
	container-type: inline-size;
	container-name: rccart;
	margin: 8px 0 32px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	float: none !important;
	width: auto !important;
	min-width: 0;
}
body.rc-cart-page .rc-cart-form::before,
body.rc-cart-page .rc-cart-form::after { display: none !important; content: none !important; }
body.rc-cart-page .rc-cart-side {
	position: sticky;
	top: 24px;
	float: none !important;
	width: auto !important;
	margin: 8px 0 32px !important;
	padding: 0 !important;
}
body.admin-bar.rc-cart-page .rc-cart-side { top: 56px; }
body.rc-cart-page .rc-cart-side::before,
body.rc-cart-page .rc-cart-side::after { display: none !important; }

/* Quantity changes save automatically, so the Update cart button is never shown */
body.rc-cart-page .rc-update-cart,
body.rc-cart-page .rc-cart-form button[name="update_cart"] { display: none !important; }

/* Themes often style the cart table as a bordered, rounded card and force the Update cart
   button on with !important. Anchoring on the form's ID outranks those rules. */
html body.rc-cart-page #rc-cart-form table,
html body.rc-cart-page #rc-cart-form table > *,
html body.rc-cart-page #rc-cart-form table tr,
html body.rc-cart-page #rc-cart-form table th,
html body.rc-cart-page #rc-cart-form table td {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
}
html body.rc-cart-page #rc-cart-form table { border-collapse: collapse !important; border-spacing: 0 !important; overflow: visible !important; }
html body.rc-cart-page #rc-cart-form table tr.rc-cart-item { border-bottom: 1px solid var(--rc-border) !important; }
html body.rc-cart-page #rc-cart-form .rc-update-cart,
html body.rc-cart-page #rc-cart-form button[name="update_cart"] { display: none !important; }
html body.rc-cart-page #rc-cart-form .quantity input.qty { color: var(--rc-text) !important; }

/* ---------- Column heads ---------- */

body.rc-cart-page .rc-cart-colheads {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 184px 110px;
	gap: 16px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--rc-border);
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rc-muted);
}
body.rc-cart-page .rc-cart-colheads .rc-col-total { text-align: right; }

/* ---------- Items: the table is laid out as a grid per row ---------- */

body.rc-cart-page table.rc-cart-table,
body.rc-cart-page table.rc-cart-table tbody,
body.rc-cart-page table.rc-cart-table tr,
body.rc-cart-page table.rc-cart-table td,
body.rc-cart-page table.rc-cart-table th {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
body.rc-cart-page table.rc-cart-table {
	display: block;
	width: 100%;
	margin: 0 !important;
	border-collapse: collapse;
	font-size: 15px;
	color: var(--rc-text);
}
body.rc-cart-page table.rc-cart-table tbody { display: block; }
body.rc-cart-page table.rc-cart-table td {
	display: block !important;
	padding: 0 !important;
	text-align: left;
	vertical-align: middle;
}
body.rc-cart-page table.rc-cart-table td::before { display: none !important; content: none !important; }

body.rc-cart-page table.rc-cart-table tr.rc-cart-item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) 128px 40px 110px;
	grid-template-areas:
		"thumb name  qty remove total"
		"thumb price qty remove total";
	column-gap: 16px;
	row-gap: 2px;
	align-items: center;
	padding: 22px 0 !important;
	border-bottom: 1px solid var(--rc-border) !important;
	transition: opacity .2s ease;
}
body.rc-cart-page table.rc-cart-table tr.rc-cart-item.is-updating { opacity: .55; }

body.rc-cart-page .rc-cart-item .product-thumbnail { grid-area: thumb; display: block !important; }
body.rc-cart-page .rc-cart-item .product-name { grid-area: name; align-self: end; }
body.rc-cart-page .rc-cart-item .product-price { grid-area: price; align-self: start; }
body.rc-cart-page .rc-cart-item .product-quantity { grid-area: qty; }
body.rc-cart-page .rc-cart-item .product-remove { grid-area: remove; }
body.rc-cart-page .rc-cart-item .product-subtotal { grid-area: total; text-align: right !important; font-weight: 600; }

/* Any extra row a plugin adds spans the full width */
body.rc-cart-page table.rc-cart-table tr:not(.rc-cart-item):not(.rc-cart-actions) { display: block; padding: 12px 0; }

body.rc-cart-page .rc-cart-item .product-thumbnail a,
body.rc-cart-page .rc-cart-item .product-thumbnail img { display: block; }
body.rc-cart-page .rc-cart-item .product-thumbnail img {
	width: 96px !important;
	height: 96px !important;
	max-width: none;
	object-fit: contain;
	background: #fff;
	border: 1px solid var(--rc-border);
	border-radius: 8px;
	margin: 0 !important;
	padding: 4px;
	box-sizing: border-box;
	box-shadow: none;
}

body.rc-cart-page .rc-cart-item .product-name {
	font-weight: 500;
	font-size: 15px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
body.rc-cart-page .rc-cart-item .product-name a {
	color: var(--rc-text) !important;
	text-decoration: none;
	font-weight: 500;
}
body.rc-cart-page .rc-cart-item .product-name a:hover { text-decoration: underline; text-underline-offset: 2px; }
body.rc-cart-page .rc-cart-item .product-name dl.variation {
	margin: 4px 0 0;
	font-size: 13px;
	font-weight: 400;
	color: var(--rc-muted);
}
body.rc-cart-page .rc-cart-item .product-name dl.variation dt,
body.rc-cart-page .rc-cart-item .product-name dl.variation dd,
body.rc-cart-page .rc-cart-item .product-name dl.variation p { display: inline; margin: 0; padding: 0; float: none; }
body.rc-cart-page .rc-cart-item .product-name dl.variation dd::after { content: ""; display: block; }
body.rc-cart-page .rc-cart-item .product-name .backorder_notification { margin: 4px 0 0; font-size: 13px; color: var(--rc-muted); }
body.rc-cart-page .rc-cart-item .product-price { font-size: 14px; color: var(--rc-muted); }

/* Prices: plain text colour, not the theme's link/accent colour */
body.rc-cart-page .rc-cart-form .woocommerce-Price-amount,
body.rc-cart-page .rc-cart-form .woocommerce-Price-amount bdi,
body.rc-cart-page .rc-cart-form .woocommerce-Price-currencySymbol,
body.rc-cart-page .rc-cart-side .woocommerce-Price-amount,
body.rc-cart-page .rc-cart-side .woocommerce-Price-amount bdi,
body.rc-cart-page .rc-cart-side .woocommerce-Price-currencySymbol { color: inherit !important; }
body.rc-cart-page .rc-cart-item .product-price del { opacity: .7; margin-right: 4px; }
body.rc-cart-page .rc-cart-item .product-price ins { text-decoration: none; }

/* Quantity stepper */
body.rc-cart-page .rc-cart-item .quantity {
	display: inline-flex !important;
	align-items: stretch;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}
body.rc-cart-page .rc-cart-item .quantity::before,
body.rc-cart-page .rc-cart-item .quantity::after { display: none !important; content: none !important; }
body.rc-cart-page .rc-cart-item .quantity.rc-stepper {
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	background: #fff;
	overflow: hidden;
}
body.rc-cart-page .rc-cart-item .quantity > label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
body.rc-cart-page .rc-cart-item .quantity input.qty {
	width: 52px !important;
	height: 44px;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
	font-family: var(--rc-font);
	font-size: 15px;
	color: var(--rc-text);
	background: #fff;
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	box-shadow: none;
	-moz-appearance: textfield;
	appearance: textfield;
}
body.rc-cart-page .rc-cart-item .quantity.rc-stepper input.qty {
	width: 40px !important;
	border: 0 !important;
	border-radius: 0;
}
body.rc-cart-page .rc-cart-item .quantity input.qty::-webkit-outer-spin-button,
body.rc-cart-page .rc-cart-item .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.rc-cart-page .rc-cart-item .quantity input.qty:focus { outline: none; }
body.rc-cart-page .rc-cart-item .quantity.rc-stepper:focus-within { border-color: var(--rc-btn); box-shadow: 0 0 0 1px var(--rc-btn); }
body.rc-cart-page .rc-step {
	width: 40px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--rc-text) !important;
	font-family: var(--rc-font);
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	box-shadow: none !important;
	cursor: pointer;
	min-height: 0;
	text-transform: none;
}
body.rc-cart-page .rc-step:hover:not(:disabled) { background: var(--rc-panel) !important; }
body.rc-cart-page .rc-step:disabled { color: #c4c4c4 !important; cursor: default; }
body.rc-cart-page .rc-step:focus-visible { outline: 2px solid var(--rc-btn); outline-offset: -2px; }

/* Remove */
body.rc-cart-page .rc-cart-item .product-remove a.remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: var(--rc-muted) !important;
	font-size: 0 !important;
	line-height: 1 !important;
	border: 0 !important;
	text-decoration: none;
}
body.rc-cart-page .rc-cart-item .product-remove a.remove svg { display: block; }
body.rc-cart-page .rc-cart-item .product-remove a.remove:hover {
	background: #fbeeea !important;
	color: var(--rc-error) !important;
}
body.rc-cart-page .rc-cart-item .product-remove a.remove:focus-visible { outline: 2px solid var(--rc-btn); outline-offset: 1px; }

/* ---------- Actions row: discount code ---------- */

body.rc-cart-page table.rc-cart-table tr.rc-cart-actions { display: block; padding: 0 !important; }
/* Holds only the hidden update button and nonce unless another plugin adds actions */
body.rc-cart-page table.rc-cart-table td.actions:not(:has(> :not(.rc-update-cart):not(input[type="hidden"]):not(button[name="update_cart"]))) { display: none !important; }
body.rc-cart-page table.rc-cart-table td.actions:has(> :not(.rc-update-cart):not(input[type="hidden"]):not(button[name="update_cart"])) { padding-top: 20px !important; }
body.rc-cart-page table.rc-cart-table td.actions {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 0 !important;
	text-align: left !important;
}
/* WooCommerce adds clearfix pseudo-elements; inside flex layouts they become gaps. */
body.rc-cart-page td.actions::before,
body.rc-cart-page td.actions::after,
body.rc-cart-page td.actions .coupon::before,
body.rc-cart-page td.actions .coupon::after { display: none !important; content: none !important; }
body.rc-cart-page td.actions .coupon {
	display: flex !important;
	gap: 8px;
	float: none !important;
	width: 100%;
	max-width: 420px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}
body.rc-cart-page td.actions .coupon > label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
body.rc-cart-page td.actions .coupon #coupon_code {
	flex: 1;
	min-width: 0;
	width: auto !important;
	height: 46px;
	margin: 0 !important;
	padding: 0 13px !important;
	font-family: var(--rc-font);
	font-size: 15px;
	color: var(--rc-text);
	background: #fff;
	border: 1px solid var(--rc-border) !important;
	border-radius: var(--rc-radius) !important;
	box-shadow: none;
}
body.rc-cart-page td.actions .coupon #coupon_code:focus { outline: none; border-color: var(--rc-btn) !important; box-shadow: 0 0 0 1px var(--rc-btn); }
body.rc-cart-page td.actions .coupon button[name="apply_coupon"] {
	height: 46px;
	margin: 0 !important;
	padding: 0 18px !important;
	border: 1px solid var(--rc-border) !important;
	border-radius: var(--rc-radius) !important;
	background: #ececec !important;
	color: var(--rc-text) !important;
	font-family: var(--rc-font);
	font-size: 14px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	width: auto !important;
}
body.rc-cart-page td.actions .coupon-error-notice { flex-basis: 100%; color: var(--rc-error); font-size: 13px; margin: 6px 0 0; }

body.rc-cart-page .rc-continue { margin: 22px 0 0; font-size: 14px; }
body.rc-cart-page .rc-continue a { color: var(--rc-btn) !important; text-decoration: none; }
body.rc-cart-page .rc-continue a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Summary card ---------- */

body.rc-cart-page .rc-cart-totals {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 26px !important;
	background: var(--rc-panel) !important;
	border: 1px solid var(--rc-border) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
}
body.rc-cart-page .rc-cart-totals-title {
	margin: 0 0 16px !important;
	padding: 0 !important;
	font-family: var(--rc-font) !important;
	font-size: 19px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--rc-text) !important;
	border: 0 !important;
}
/* Strip theme table styling (anchored on the card's ID so it outranks theme !important rules) */
html body.rc-cart-page #rc-cart-summary table,
html body.rc-cart-page #rc-cart-summary table > *,
html body.rc-cart-page #rc-cart-summary table tr,
html body.rc-cart-page #rc-cart-summary table th,
html body.rc-cart-page #rc-cart-summary table td {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
}
html body.rc-cart-page #rc-cart-summary table { border-collapse: collapse !important; border-spacing: 0 !important; table-layout: fixed; width: 100%; }
body.rc-cart-page table.rc-totals-table {
	width: 100%;
	margin: 0 !important;
	font-size: 15px;
	color: var(--rc-text);
}
body.rc-cart-page table.rc-totals-table th,
body.rc-cart-page table.rc-totals-table td {
	display: table-cell !important;
	padding: 6px 0 !important;
	font-weight: 400 !important;
	text-align: left;
	vertical-align: top;
	color: var(--rc-text);
}
body.rc-cart-page table.rc-totals-table th { white-space: nowrap; padding-right: 16px !important; }
body.rc-cart-page table.rc-totals-table td { text-align: right !important; }
body.rc-cart-page table.rc-totals-table td::before { display: none !important; }
html body.rc-cart-page #rc-cart-summary table tr.order-total th,
html body.rc-cart-page #rc-cart-summary table tr.order-total td {
	padding-top: 14px !important;
	border-top: 1px solid var(--rc-border) !important;
	font-size: 18px;
	font-weight: 600 !important;
}
body.rc-cart-page table.rc-totals-table tr.order-total td strong { font-weight: 600; }
body.rc-cart-page table.rc-totals-table .includes_tax {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 400;
	color: var(--rc-muted) !important;
}
body.rc-cart-page table.rc-totals-table .woocommerce-remove-coupon { font-size: 12px; color: var(--rc-muted) !important; margin-left: 4px; }
body.rc-cart-page table.rc-totals-table .cart-discount td { color: #2f6b2f; }

/* ---------- Shipping estimate ---------- */

body.rc-cart-page table.rc-totals-table tr.rc-ship-row td {
	text-align: left !important;
	padding: 8px 0 10px !important;
}
body.rc-cart-page .rc-ship-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
}
body.rc-cart-page .rc-ship-title { font-size: 15px; }
body.rc-cart-page .rc-ship-dest { font-size: 14px; color: var(--rc-muted); }
body.rc-cart-page .rc-ship-dest strong { color: var(--rc-text); font-weight: 600; }
body.rc-cart-page .rc-ship-change {
	margin: 0 0 0 6px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: var(--rc-btn) !important;
	font-family: var(--rc-font);
	font-size: 14px !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
	min-height: 0;
	line-height: inherit;
	width: auto;
}
body.rc-cart-page .rc-ship-package { margin: 10px 0 4px; font-size: 13px; color: var(--rc-muted); }

html body.rc-cart-page #rc-cart-summary ul.rc-ship-rates {
	list-style: none;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	border: 1px solid var(--rc-border);
	border-radius: var(--rc-radius);
	background: #fff;
	overflow: hidden;
}
html body.rc-cart-page #rc-cart-summary ul.rc-ship-rates li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 10px;
	margin: 0 !important;
	padding: 11px 12px !important;
	border-top: 1px solid var(--rc-border);
	text-indent: 0;
	list-style: none;
}
html body.rc-cart-page #rc-cart-summary ul.rc-ship-rates li:first-child { border-top: 0; }
html body.rc-cart-page #rc-cart-summary ul.rc-ship-rates li:has(input:checked) { background: var(--rc-tint); box-shadow: inset 0 0 0 1px var(--rc-btn); }
html body.rc-cart-page #rc-cart-summary ul.rc-ship-rates input[type="radio"] {
	accent-color: var(--rc-btn);
	width: 16px;
	height: 16px;
	margin: 0 !important;
	flex: none;
	cursor: pointer;
}
html body.rc-cart-page #rc-cart-summary ul.rc-ship-rates label {
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	margin: 0 !important;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--rc-text);
	cursor: pointer;
}
html body.rc-cart-page #rc-cart-summary ul.rc-ship-rates .rc-ship-price { font-weight: 600; white-space: nowrap; }
html body.rc-cart-page #rc-cart-summary ul.rc-ship-rates li > :not(input):not(label) {
	flex-basis: 100%;
	padding-left: 26px;
	font-size: 12px;
	color: var(--rc-muted);
	margin-top: 2px;
}
body.rc-cart-page .rc-ship-none { margin: 8px 0 0; font-size: 13px; color: var(--rc-muted); }

body.rc-cart-page .rc-ship-form { margin: 10px 0 0; }
body.rc-cart-page .rc-ship-form[hidden] { display: none !important; }
body.rc-cart-page .rc-ship-label { display: block; margin: 0 0 8px; font-size: 13px; color: var(--rc-muted); font-weight: 400; }
body.rc-cart-page .rc-ship-inputs { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
body.rc-cart-page .rc-ship-inputs .rc-ship-country,
body.rc-cart-page .rc-ship-inputs .rc-ship-suburb,
body.rc-cart-page .rc-ship-inputs .rc-ship-postcode {
	height: 44px;
	margin: 0 !important;
	padding: 0 12px !important;
	font-family: var(--rc-font);
	font-size: 15px;
	color: var(--rc-text);
	background: #fff;
	border: 1px solid var(--rc-border) !important;
	border-radius: var(--rc-radius) !important;
	box-shadow: none;
	min-width: 0;
}
body.rc-cart-page .rc-ship-inputs .rc-ship-country { flex: 1 1 100%; }
body.rc-cart-page .rc-ship-inputs .rc-ship-suburb { flex: 1 1 120px; width: auto !important; }
body.rc-cart-page .rc-ship-inputs .rc-ship-postcode { flex: 0 1 92px; width: 92px !important; }
body.rc-cart-page .rc-ship-inputs .rc-ship-country:focus,
body.rc-cart-page .rc-ship-inputs .rc-ship-suburb:focus,
body.rc-cart-page .rc-ship-inputs .rc-ship-postcode:focus { outline: none; border-color: var(--rc-btn) !important; box-shadow: 0 0 0 1px var(--rc-btn); }
body.rc-cart-page .rc-ship-inputs .rc-ship-submit {
	flex: 1 1 100%;
	height: 44px;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 1px solid var(--rc-text) !important;
	border-radius: var(--rc-radius) !important;
	background: #fff !important;
	color: var(--rc-text) !important;
	font-family: var(--rc-font);
	font-size: 14px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	width: 100% !important;
	cursor: pointer;
}
body.rc-cart-page .rc-ship-inputs .rc-ship-submit:hover { background: var(--rc-panel) !important; }
body.rc-cart-page .rc-ship-inputs .rc-ship-submit:focus-visible { outline: 2px solid var(--rc-btn); outline-offset: 2px; }

body.rc-cart-page .rc-cart-note {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--rc-muted);
}

body.rc-cart-page .rc-cart-totals .wc-proceed-to-checkout { padding: 18px 0 0 !important; margin: 0; }
body.rc-cart-page .rc-cart-totals a.checkout-button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-sizing: border-box;
	width: 100%;
	height: 54px;
	margin: 0 0 10px !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-radius: var(--rc-radius) !important;
	background: var(--rc-btn) !important;
	color: #fff !important;
	font-family: var(--rc-font) !important;
	font-size: 17px !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	line-height: 1 !important;
	box-shadow: none !important;
	transition: filter .15s ease;
}
body.rc-cart-page .rc-cart-totals a.checkout-button:hover { filter: brightness(.9); }
body.rc-cart-page .rc-cart-totals a.checkout-button:focus-visible { outline: 2px solid var(--rc-btn); outline-offset: 2px; }
body.rc-cart-page .rc-cart-totals a.checkout-button::after { display: none !important; }

/* ---------- Notices and empty cart ---------- */

body.rc-cart-page .woocommerce-notices-wrapper .woocommerce-message,
body.rc-cart-page .woocommerce-notices-wrapper .woocommerce-info,
body.rc-cart-page .woocommerce-notices-wrapper .woocommerce-error {
	font-family: var(--rc-font);
	font-size: 14px;
	border-radius: var(--rc-radius);
}
body.rc-cart-page .wc-empty-cart-message,
body.rc-cart-page .cart-empty { text-align: center; }
body.rc-cart-page .return-to-shop { text-align: center; margin: 18px 0 40px; }
body.rc-cart-page .return-to-shop a.button {
	display: inline-flex !important;
	align-items: center;
	height: 50px;
	padding: 0 28px !important;
	border-radius: var(--rc-radius) !important;
	background: var(--rc-btn) !important;
	color: #fff !important;
	font-family: var(--rc-font);
	font-weight: 600 !important;
	text-transform: none !important;
	border: 0 !important;
}

/* ---------- Cross-sells below the cart ---------- */

body.rc-cart-page .cross-sells {
	clear: both;
	float: none !important;
	width: auto !important;
	margin-top: 8px;
	padding-top: 28px;
	border-top: 1px solid var(--rc-border);
}
body.rc-cart-page .cross-sells > h2 {
	font-family: var(--rc-font);
	font-size: 20px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

/* ---------- Narrow layouts ---------- */

@media (max-width: 999px) {
	body.rc-cart-page :has(> .rc-cart-form):has(> .cart-collaterals) { grid-template-columns: minmax(0, 1fr); }
	body.rc-cart-page :has(> .rc-cart-form):has(> .cart-collaterals) > .cart-collaterals { grid-column: 1; }
	body.rc-cart-page .rc-cart-side { position: static; }
}
@media (max-width: 640px) {
	body.rc-cart-page .rc-cart-totals { padding: 20px !important; }
}

/* Item rows: switch to the stacked layout when the cart itself is narrow */
@container rccart (max-width: 600px) {
	body.rc-cart-page .rc-cart-colheads { display: none !important; }
	body.rc-cart-page table.rc-cart-table tr.rc-cart-item {
		grid-template-columns: 76px minmax(0, 1fr) auto !important;
		grid-template-areas:
			"thumb name   total"
			"thumb price  price"
			"thumb qty    remove" !important;
		row-gap: 6px !important;
		column-gap: 14px !important;
		align-items: start !important;
		padding: 18px 0 !important;
	}
	body.rc-cart-page .rc-cart-item .product-thumbnail img { width: 76px !important; height: 76px !important; }
	body.rc-cart-page .rc-cart-item .product-name,
	body.rc-cart-page .rc-cart-item .product-price { align-self: start !important; }
	body.rc-cart-page .rc-cart-item .product-quantity { margin-top: 4px; }
	body.rc-cart-page .rc-cart-item .product-remove { justify-self: end; margin-top: 8px; }
	body.rc-cart-page .rc-cart-item .quantity input.qty,
	body.rc-cart-page .rc-cart-form .rc-step { height: 40px !important; }
	body.rc-cart-page td.actions .coupon { max-width: none !important; }
}
