/* ============================================================================
   BASKET — the design guide's basket (guide/index.html#basket, 2026-10-21)
   ============================================================================
   Owner: the checkout's treatment on the cart page. The pieces sit on one
   white card, the totals on the checkout's Parchment tile, and the suggestions
   stay on the open ground as product cards. Running text is ink or --ink-80;
   no capitals, no italic, no 300-weight sans. Mono has one job here, as on the
   checkout: the totals tile's figures, so it reads as a receipt (owner,
   2026-10-21: the totals tile only, not the line prices). Tiles have no
   outline, and every colour is a guide token.

   Loaded after jw-commerce.css (inc/commerce.php, greyd_child_cart_assets) and
   only on the cart. Selectors start `body.woocommerce-cart` so each one
   outranks the jw-commerce.css or WooCommerce block rule it replaces.

   The cart block lays out as a grid: .wc-block-cart__main is display:contents,
   so the items card, the suggestions and the totals tile are siblings, and the
   tile can sit between them in one column. */

body.woocommerce-cart {
	/* Type pass 2026-10-23 (guide): every size stepped up the guide's ramp —
	   13→14, 14/15→16, 18→--fd-3, 20→22, 26→30. */
	--bk-card: #fff;
	--bk-tile: var(--parchment, #eeeae3);
	--bk-rule: var(--linen, #d3c6b6);
	--bk-field-line: var(--edge, var(--ink-60)); /* 62%: boundaries stay lighter than the darker type (2026-10-23) */
	--bk-pad: clamp(20px, 3vw, 40px);
}

/* ---- page head: "Basket", 48/300, 40px under the header, as the checkout ----
   The template's block gap above main (32) is dropped; the title's margin is
   the only space above it. */
body.woocommerce-cart main#wp--skip-link--target {
	margin-top: 0;
}

body.woocommerce-cart main#wp--skip-link--target > h1.wp-block-post-title,
body.woocommerce-cart main#wp--skip-link--target .wp-block-woocommerce-cart.alignwide {
	max-width: 1160px;
}

/* the cart block sits inside post content, outside the constrained layout's
   auto margins, so it centres itself under the title */
body.woocommerce-cart main#wp--skip-link--target .wp-block-woocommerce-cart.alignwide {
	margin-inline: auto;
}

body.woocommerce-cart main#wp--skip-link--target > h1.wp-block-post-title {
	margin-top: var(--sp-10, 40px);
	margin-bottom: 0;
	font-size: var(--fd-1); /* the page title, 38–64 (48 before the 2026-10-23 type pass) */
	font-weight: var(--serif-w, 400); /* was 300; type pass 2026-10-23 */
	line-height: 1.1;
	text-align: left;
}

/* ---- the grid: card left, tile right, suggestions under the card ---- */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	column-gap: var(--sp-10, 40px);
	align-items: start;
	margin: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart .wc-block-cart__main {
	display: contents;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart table.wc-block-cart-items {
	grid-column: 1;
	grid-row: 1;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart .wc-block-cart__main > :not(table) {
	grid-column: 1;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
	grid-column: 2;
	grid-row: 1 / span 2;
	position: sticky;
	top: calc(var(--tjw-header-h, 80px) + var(--sp-6, 24px));
	width: auto;
	margin: 0;
	padding: clamp(20px, 3vw, 32px);
	background: var(--bk-tile);
	border-radius: var(--r-sm, 2px);
}

/* ---- the pieces: one white card, lines parted by Linen rules ---- */
body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items {
	display: block;
	width: 100%;
	margin: 0;
	padding: var(--bk-pad);
	background: var(--bk-card) !important; /* WC's cart.css: background:none !important */
	border: 1px solid var(--line); /* hairline on the #fffefd ground (2026-10-23) */
	border-radius: var(--r-sm, 2px);
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items thead {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items thead th {
	color: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items tbody {
	display: block;
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr) auto;
	column-gap: var(--sp-5, 20px);
	align-items: start;
	padding: var(--sp-5, 20px) 0;
	border-bottom: 1px solid var(--bk-rule);
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row:first-child {
	padding-top: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row > td {
	display: block;
	grid-row: 1;
	padding: 0;
	border: 0;
	background: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__image {
	grid-column: 1;
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__product {
	grid-column: 2;
}

body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items td.wc-block-cart-item__total {
	grid-column: 3;
	text-align: right;
}

body.woocommerce-cart .wp-block-woocommerce-cart td.wc-block-cart-item__image a {
	display: block;
}

body.woocommerce-cart .wp-block-woocommerce-cart td.wc-block-cart-item__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--bk-tile);
	border-radius: var(--r-sm, 2px);
}

/* name: serif 18/400, the line's first level */
body.woocommerce-cart .wp-block-woocommerce-cart a.wc-block-components-product-name {
	display: block;
	margin: 0;
	font-family: var(--serif);
	font-size: var(--fd-3);
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: normal;
	color: var(--ink);
}

/* no unit price under the name and no excerpt: the line price and the metal
   say it (guide: a line is a name, one note and a price) */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-metadata__description {
	display: none;
}

/* the note: metal, stone */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-metadata {
	margin: 4px 0 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-details * {
	margin: 0;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: normal;
	text-transform: none;
	color: var(--ink-80);
}

/* line price: Satoshi, tabular, in ink */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__total .wc-block-components-product-price * {
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: normal;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}

/* quantity and remove */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__quantity {
	display: flex;
	align-items: center;
	gap: var(--sp-4, 16px);
	margin-top: var(--sp-3, 12px);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector {
	width: auto;
	margin: 0;
	background: var(--bk-card);
	border: 1px solid var(--bk-field-line);
	border-radius: var(--r-sm, 2px);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector::after {
	content: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector :is(input, button) {
	min-width: 36px;
	height: 36px;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 400;
	color: var(--ink);
	background: none;
	box-shadow: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector input {
	width: 40px;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-quantity-selector button:disabled {
	color: var(--ink-60);
}

/* Remove: a word, not a bin. The button keeps WooCommerce's aria-label
   ("Remove … from basket"), so the word is visual only. */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__remove-link {
	display: inline-flex;
	width: auto;
	height: auto;
	min-height: 24px;
	align-items: center;
	margin: 0;
	padding: 0;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--ink-80);
	background: none;
	border: 0;
	cursor: pointer;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__remove-link svg {
	display: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__remove-link::after {
	content: "Remove";
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart-item__remove-link:hover {
	color: var(--ink);
}

/* ---- the totals: the checkout's Parchment tile ---- */
body.woocommerce-cart .wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-block {
	margin: 0;
	padding: 0;
	border: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart h2.wc-block-cart__totals-title {
	display: block;
	margin: 0 0 var(--sp-4, 16px);
	padding: 0;
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-align: left;
	text-transform: none;
	color: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-cart h2.wc-block-cart__totals-title::after {
	content: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-wrapper {
	padding: var(--sp-3, 12px) 0;
	border: 0;
	border-top: 1px solid var(--bk-rule);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-wrapper::after {
	content: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item {
	align-items: baseline;
	padding: 0;
}

/* row labels: sentence case, --ink-80; values in ink */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__label {
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	color: var(--ink-80);
}

/* receipt figures: the tile's values are mono, as on the checkout's summary */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__value,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__value .wc-block-formatted-money-amount {
	font-family: var(--mono);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ink);
}

/* …but "Free" is a word, so it stays sans */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__value strong {
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__description,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-shipping__via,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__description p {
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ink-80);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-item__description a,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-shipping a {
	color: var(--ink);
	text-underline-offset: 0.2em;
}

/* coupon toggle: one line in ink */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-panel__button {
	margin: 0;
	padding: 0;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	color: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-panel__button svg {
	fill: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form {
	gap: var(--sp-2, 8px);
	margin-top: var(--sp-3, 12px);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form input[type="text"] {
	font-family: var(--sans);
	font-size: 16px;
	color: var(--ink);
	background: var(--bk-card);
	border: 1px solid var(--bk-field-line);
	border-radius: var(--r-sm, 2px);
	box-shadow: none;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-coupon__form label {
	color: var(--ink-80);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-coupon__button {
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	color: #fff;
	background: var(--ink);
	border: 1px solid var(--ink);
	border-radius: var(--r-sm, 2px);
}

/* estimated total: under an ink rule, the one large number */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-wrapper:has(> .wc-block-components-totals-footer-item) {
	padding-bottom: 0;
	border-top: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-totals-block {
	padding: 0;
	border-top: 1px solid var(--bk-rule);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-wrapper:has(> .wc-block-components-totals-footer-item) {
	padding-top: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__description {
	text-align: right;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer-item {
	margin-top: var(--sp-3, 12px);
	padding: var(--sp-4, 16px) 0 0;
	border-top: 1px solid var(--ink);
	border-bottom: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
	font-size: 16px;
	font-weight: 500;
	color: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value .wc-block-formatted-money-amount {
	font-size: 22px;
	font-weight: 500;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer-item-tax {
	margin: 2px 0 0;
	font-family: var(--sans);
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	justify-content: flex-end; /* WC sets it display:flex */
	text-align: right;
	color: var(--ink-80);
}

/* proceed: the house solid at full width, 15/500, sentence case.
   WooCommerce's label is "Proceed to Checkout" from its own JS strings, which
   a PHP gettext filter can't reach; lowercase + a capital first letter reads
   "Proceed to checkout". */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit {
	margin: var(--sp-6, 24px) 0 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart__submit-container {
	padding: 0;
}

body.woocommerce-cart .wc-block-cart__submit-button {
	display: flex;
	width: 100%;
	justify-content: center;
	padding: 18px var(--sp-8, 32px);
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	border-radius: var(--r-sm, 2px) !important;
}

body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text {
	text-transform: lowercase;
}

body.woocommerce-cart .wc-block-cart__submit-button .wc-block-components-button__text::first-letter {
	text-transform: uppercase;
}

body.woocommerce-cart .wc-block-cart__submit-button:hover {
	color: #fff !important;
	background: var(--dark) !important;
	border-color: var(--dark) !important;
}

body.woocommerce-cart .wc-block-cart__submit-button:focus-visible {
	outline: 2px solid var(--bronze, #cd8f60);
	outline-offset: 3px;
}

/* the phone's sticky bar: the page ground, no shadow line in a non-guide grey */
body.woocommerce-cart .wc-block-cart__submit-container--sticky {
	padding: var(--sp-3, 12px) var(--sp-4, 16px);
	background: var(--bg, #f9f8f6);
	box-shadow: 0 -1px 0 var(--bk-rule);
}

body.woocommerce-cart .wc-block-cart__submit-container--sticky::before {
	content: none;
}

/* ---- suggestions: product cards on the open ground ---- */
body.woocommerce-cart .wp-block-woocommerce-cart .wp-block-woocommerce-product-collection {
	margin-top: var(--sp-16, 64px);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wp-block-woocommerce-product-collection h2.wp-block-heading {
	margin: 0 0 var(--sp-6, 24px);
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product-template {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-10, 40px) var(--sp-6, 24px);
	margin-top: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product .wc-block-components-product-image {
	margin-bottom: 0;
	background: var(--bk-tile);
	border-radius: var(--r-sm, 2px);
	overflow: hidden;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product h2.wp-block-post-title {
	margin: var(--sp-4, 16px) 0 0;
	font-family: var(--serif);
	font-size: var(--fd-3);
	font-weight: 400;
	line-height: 1.3;
	text-align: left;
	color: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product h2.wp-block-post-title a {
	font-size: inherit;
	color: inherit;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product .has-text-align-center {
	text-align: left;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product .wc-block-components-product-price,
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product .wc-block-components-product-price * {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	text-align: left;
	color: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product .wc-block-components-product-price {
	margin-top: var(--sp-1, 4px);
}

/* Add to basket / Read more: a quiet underlined link, not a tracked button */
body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product .wc-block-components-product-button {
	justify-content: flex-start;
	align-items: flex-start;
	margin-top: var(--sp-3, 12px);
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product .wc-block-components-product-button__button {
	margin: 0;
	padding: 0;
	min-height: 0;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 0.25em;
	color: var(--ink);
	background: none;
	border: 0;
}

body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product .wc-block-components-product-button__button:hover {
	color: var(--dark);
}

/* Sold: the guide's .pcard__sold — Satoshi 12/500 on the page ground */
body.woocommerce-cart .wp-block-woocommerce-cart .jw-sold-badge {
	top: var(--sp-3, 12px);
	left: var(--sp-3, 12px);
	padding: 2px var(--sp-2, 8px);
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	color: var(--ink);
	background: var(--bg, #f9f8f6);
	border: 0;
	border-radius: var(--r-sm, 2px);
}

body.woocommerce-cart .wp-block-woocommerce-cart .jw-wish {
	color: var(--ink);
	background: var(--bk-card);
}

/* ---- empty basket: the message on a white card, then New in store ----
   WooCommerce's crying-face icon goes, the heading stands upright (no italic
   anywhere), and the dotted separator in a non-guide grey goes; the card
   and the heading part the two. */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2.wc-block-cart__empty-cart__title {
	margin: 0;
	padding: var(--bk-pad);
	font-family: var(--serif);
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-align: left;
	color: var(--ink);
	background: var(--bk-card);
	border-radius: var(--r-sm, 2px);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2.wc-block-cart__empty-cart__title::before {
	content: none;
	display: none;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block hr.wp-block-separator {
	display: none;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2.wp-block-heading:not(.wc-block-cart__empty-cart__title) {
	margin: var(--sp-16, 64px) 0 var(--sp-6, 24px);
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-align: left;
	color: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
	text-align: left;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
	text-decoration: none;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image {
	margin: 0;
	border-radius: var(--r-sm, 2px);
	overflow: hidden;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
	display: block;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
	margin: var(--sp-4, 16px) 0 0;
	font-family: var(--serif);
	font-size: var(--fd-3);
	font-weight: 400;
	line-height: 1.3;
	color: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price * {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
	margin-top: var(--sp-1, 4px);
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
	margin: var(--sp-3, 12px) 0 0;
	text-align: left;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link {
	margin: 0;
	padding: 0;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: underline;
	text-underline-offset: 0.25em;
	color: var(--ink);
	background: none;
	border: 0;
}

/* ---- one column: the pieces, the totals, then the suggestions ---- */
@media (max-width: 960px) {
	body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart.wc-block-components-sidebar-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart .wc-block-cart__sidebar {
		grid-column: 1;
		grid-row: 2;
		position: static;
		margin-top: var(--sp-4, 16px);
		padding: var(--sp-5, 20px);
	}

	body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-cart .wc-block-cart__main > :not(table) {
		grid-row: 3;
	}
}

@media (max-width: 600px) {
	body.woocommerce-cart main#wp--skip-link--target > h1.wp-block-post-title {
		margin-top: var(--sp-6, 24px);
	}

	body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items {
		padding: var(--sp-5, 20px);
	}

	body.woocommerce-cart .wp-block-woocommerce-cart table.wc-block-cart-items tr.wc-block-cart-items__row {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		column-gap: var(--sp-4, 16px);
	}

	body.woocommerce-cart .wp-block-woocommerce-cart .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--sp-4, 16px);
	}
}
