/**
 * Mobile cart redesign — card list, edit mode, printing-swap sheet.
 *
 * Only enqueued on is_cart(). Everything here is scoped to <=1025px; above
 * that the stock table (wrapped in .pc-cart-desktop by
 * astra-child/woocommerce/cart/cart.php) is untouched and this file's rules
 * never apply.
 *
 * Design tokens (--accent, --border-strong, --radius-lg, etc.) are defined
 * once in nav-shell.css, loaded sitewide and declared as this file's
 * dependency in pcf_enqueue_styles() — not redeclared here.
 */

/* The mobile block is server-rendered at all widths; hidden above 1025px so
   the untouched desktop table (.pc-cart-desktop) is what shows there. */
.pc-mobile-cart {
	display: none;
}

@media (max-width: 1025px) {
	.pc-cart-desktop {
		display: none;
	}

	/* Mobile browsers paint their own translucent "tap highlight" overlay
	   over a tapped element on touchstart, independent of and in addition
	   to :hover/:focus/:active CSS (see the outline: none notes further
	   down for that separate fix) — nothing in this codebase had ever set
	   -webkit-tap-highlight-color, so it was falling back to the browser
	   default, a dark tint that reads as a "light brown box" over this
	   page's warm parchment background. Not reproducible in desktop
	   browser automation (it's a genuine touchscreen behavior), which is
	   why the outline fix alone looked complete under test but didn't
	   actually address this. */
	.pc-mobile-cart__edit-toggle,
	.pc-cart-row__suffix,
	.pc-cart-row__qty-btn {
		-webkit-tap-highlight-color: transparent;
	}

	/* Full pricing-tier widget, page-title hero, and the desktop cart-totals
	   box (subtotal/shipping estimate/"Proceed to checkout") are replaced by
	   the condensed .pc-tier-summary, .pc-mobile-cart__header, and
	   .pc-cart-footer below — showing both would just duplicate the same
	   numbers in two places. */
	.pcf-tier-widget,
	.wc-hero,
	.cart-collaterals {
		display: none;
	}

	.pc-mobile-cart {
		display: block;
		padding-bottom: var(--space-6);
		font-family: inherit;
		color: var(--text-muted);
	}

	/* Room under the page for .pc-cart-footer, stacked on the tab bar the
	   body already makes room for. On the body rather than under the cart
	   list, which the site footer follows: reserved there, it read as a
	   blank band before the footer. Both heights are measured by
	   mobile-cart.js; the fallbacks cover the moment before. Same approach
	   as the product page's sticky bar (mobile-product.css). */
	body.woocommerce-cart.pc-has-tabbar:has(.pc-cart-footer) {
		padding-bottom: calc(var(--pc-tabbar-height, 62px) + var(--pc-checkout-footer-height, 68px));
	}

	body.woocommerce-cart.pc-has-tabbar:has(.pc-cart-footer) #ast-scroll-top {
		bottom: calc(var(--pc-tabbar-height, 62px) + var(--pc-checkout-footer-height, 68px) + 14px);
	}

	/* ---------- Page frame ----------
	   The desktop layout's bordered column, inset and striped divider go,
	   as on the shop and product pages: the header and rows run edge to
	   edge. The divider is astra-child/inc/woocommerce.php's .stripes-bg
	   above the cart table, and the empty cart's box is
	   woocommerce/cart/cart-empty.php's. The container itself is reset in
	   the rule below. */
	body.woocommerce-cart .container.px-4 > .row {
		margin: 0 !important;
	}

	body.woocommerce-cart .container.px-4 > .row > [class*="col-"] {
		padding: 0 !important;
		border: 0 !important;
	}

	body.woocommerce-cart .container.px-4 .stripes-bg {
		display: none;
	}

	/* astra-child/inc/woocommerce.php wraps the whole cart in
	   `.container.px-4`, which this theme gives `position:relative;
	   z-index:20` (a generic utility rule, also used on other page-header
	   wrappers — not cart-specific, and not protecting anything here: the
	   decorative .stripes-bg divs inside it are position:static, which
	   always paint beneath positioned content regardless of z-index). That
	   rule turns the wrapper into its own stacking context, which caps
	   every z-index inside it — including .pc-cart-footer's — at
	   effectively "20" from the rest of the page's point of view, so it
	   couldn't out-rank nav-shell's tab bar (200) no matter what z-index it
	   was given directly. Neutralized here, scoped to the cart page only
	   (this stylesheet only loads on is_cart() anyway; the body-class
	   prefix is belt-and-suspenders since the same wrapper class is reused
	   on checkout/my-account too). The padding and max-width are the page
	   frame above. */
	body.woocommerce-cart .container.px-4 {
		z-index: auto;
		max-width: none;
		padding: 0 !important;
	}

	/* ---------- Header ---------- */
	.pc-mobile-cart__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 16px 18px 12px;
		border-bottom: 1px solid var(--border-hairline);
	}

	/* !important on these four `color`/`background-color` pairs: the theme's
	   global stylesheet carries a broad `a:not(.button):not(...)` rule whose
	   long :not() chain out-specifies a plain class selector regardless of
	   load order. Same fix already used elsewhere in this file's sibling
	   inline styles (search this plugin for `!important` on `.remove`). */
	.pc-mobile-cart__back {
		font-size: 1.2rem;
		line-height: 1;
		color: var(--text-heading) !important;
		text-decoration: none;
		padding: var(--space-2);
		margin: calc(var(--space-2) * -1);
	}

	.pc-mobile-cart__title {
		margin: 0;
		font-size: 1.15rem;
		font-weight: 600;
		color: var(--text-heading);
	}

	/* Stands in for Edit on the empty cart, so the title stays centred
	   against the back arrow. */
	.pc-mobile-cart__header-spacer {
		width: 20px;
	}

	/* The empty cart: the cart drawer's own empty state (nav-shell.css),
	   given room to breathe on a full page. */
	.pc-mobile-cart--empty .pc-drawer-cart__empty {
		padding: 56px 24px 32px;
	}

	/* box-shadow: none — a fourth, unconditional (not :focus/:hover, always
	   on) Astra rule: `button, .ast-button, ... { box-shadow: 0 1px 2px
	   rgba(0,0,0,.05) }`. Specificity isn't the issue here (a class already
	   beats the plain `button` this targets) — it was just never
	   contested, so it read as a persistent subtle bevel/border around
	   every plain <button> below, tap or no tap. */
	.pc-mobile-cart__edit-toggle {
		background: none;
		border: none;
		box-shadow: none;
		padding: var(--space-2);
		margin: calc(var(--space-2) * -1);
		font-size: 0.8rem;
		font-weight: 700;
		color: var(--accent);
		cursor: pointer;
	}

	/* See the note on .pc-cart-row__qty-btn above — same Astra :hover/:focus
	   leak, everywhere below this. outline: none too — that leak was
	   background/border/color, but a tap also leaves the button genuinely
	   focused, and neither Astra's CSS nor ours had touched `outline` at
	   all, so the browser's own default focus ring (not Astra's) was still
	   showing through as a small persistent box until something else was
	   tapped. These are icon/text taps, not form controls a keyboard user
	   tabs through — the number/state changing is the only feedback wanted. */
	/* border: none !important — see the longer note on .pc-cart-row__qty-btn
	   below: Astra's inline `.woocommerce .woocommerce-cart-form
	   button:focus { border-style: dotted; ... }` out-specifies a plain
	   border-color reset. */
	.pc-mobile-cart__edit-toggle:hover,
	.pc-mobile-cart__edit-toggle:focus,
	.pc-mobile-cart__edit-toggle:active {
		background: none;
		border: none !important;
		color: var(--accent);
		outline: none;
	}

	.pc-mobile-cart__edit-toggle .pc-label-done {
		display: none;
	}

	.pc-mobile-cart.is-edit-mode .pc-mobile-cart__edit-toggle .pc-label-edit {
		display: none;
	}

	.pc-mobile-cart.is-edit-mode .pc-mobile-cart__edit-toggle .pc-label-done {
		display: inline;
	}

	/* Leave room at the bottom for the sticky footer. */
	.pc-mobile-cart__list {
		padding-bottom: var(--space-2);
	}

	/* ---------- Row ---------- */
	.pc-cart-row {
		position: relative;
		border-bottom: 1px solid var(--border-hairline);
	}

	.pc-cart-row__remove-dot-wrap {
		display: none;
		position: absolute;
		left: 12px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 2;
	}

	.pc-mobile-cart.is-edit-mode .pc-cart-row__remove-dot-wrap {
		display: block;
	}

	.pc-cart-row__remove-dot {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
		border-radius: 50%;
		background: var(--pc-error) !important;
		color: #fff !important;
		font-size: 1rem;
		font-weight: 700;
		line-height: 1;
		text-decoration: none;
	}

	.pc-cart-row__swipe {
		position: relative;
		overflow: hidden;
	}

	/* Wraps the swipe-reveal remove <a> so it matches WooCommerce's native
	   ajax-remove delegation selector (`.product-remove > a`) without
	   affecting layout — the positioned .pc-cart-row__remove-panel below
	   still resolves against .pc-cart-row__swipe, the nearest actual
	   positioned ancestor. (.pc-cart-row__remove-dot-wrap, below, is the
	   analogous wrapper for the edit-mode dot — that one stays a real
	   positioned box since it's the dot's own placement, not a pass-through.) */
	.pc-cart-row__remove-panel-wrap {
		display: contents;
	}

	/* opacity:0 at rest, not just z-index-behind-opaque-content: the panel
	   sits under the row's rightmost 88px — the same region the quantity
	   stepper occupies — and .pc-cart-row.is-pending dims .pc-cart-row__content
	   to 0.5 opacity while a qty change is in flight. Relying on stacking
	   alone meant that dimming made the red panel bleed through right where
	   someone had just tapped +/-, reading as the remove action appearing on
	   its own. Now it's only visible while actually mid-swipe. */
	.pc-cart-row__remove-panel {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 88px;
		z-index: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--pc-error) !important;
		color: #fff !important;
		font-weight: 700;
		font-size: 0.85rem;
		text-decoration: none;
		opacity: 0;
	}

	.pc-cart-row__swipe.is-dragging .pc-cart-row__remove-panel,
	.pc-cart-row__swipe.is-swiped .pc-cart-row__remove-panel {
		opacity: 1;
	}

	/* z-index above the panel: both are `position` elements with no
	   explicit stacking order otherwise, and the panel is later in the DOM
	   (it has to be, to sit visually "behind" content that slides left to
	   reveal it) — without this the panel paints over the content at rest
	   instead of staying hidden underneath it. */
	.pc-cart-row__content {
		position: relative;
		z-index: 1;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 12px 18px;
		background: var(--surface-page);
		transform: translateX(0);
		transition: transform 0.25s ease-in-out, padding-left 0.25s ease-in-out;
	}

	.pc-cart-row__swipe.is-dragging .pc-cart-row__content {
		transition: none;
	}

	.pc-cart-row__swipe.is-swiped .pc-cart-row__content {
		transform: translateX(-88px);
	}

	.pc-mobile-cart.is-edit-mode .pc-cart-row__content {
		padding-left: 52px;
	}

	.pc-cart-row__thumb {
		flex: 0 0 auto;
		width: 38px;
		height: 52px;
		border-radius: 8px;
		background: var(--surface-sunken);
		overflow: hidden;
	}

	.pc-cart-row__thumb img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

	.pc-cart-row__body {
		flex: 1;
		min-width: 0;
	}

	.pc-cart-row__title-line {
		display: flex;
		align-items: baseline;
		gap: 6px;
		flex-wrap: wrap;
	}

	.pc-cart-row__title {
		font-size: 0.85rem;
		font-weight: 600;
		color: var(--text-heading);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.pc-cart-row__suffix {
		flex: 0 0 auto;
		background: none;
		border: none;
		box-shadow: none;
		padding: 0;
		font-size: 0.75rem;
		font-weight: 500;
		color: var(--text-muted);
		text-decoration: underline;
		text-decoration-style: dotted;
		cursor: pointer;
	}

	/* border: none !important — same Astra dotted-focus-border rule noted
	   on .pc-cart-row__qty-btn below. */
	.pc-cart-row__suffix:hover,
	.pc-cart-row__suffix:focus,
	.pc-cart-row__suffix:active {
		background: none;
		border: none !important;
		color: var(--text-muted);
		outline: none;
	}

	.pc-cart-row__price {
		font-size: 0.75rem;
		font-weight: 700;
		color: var(--accent);
	}

	.pc-cart-row__qty {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		gap: 2px;
		border: 2px solid var(--border-strong);
		border-radius: var(--radius-pill);
		background: var(--surface-card);
	}

	.pc-mobile-cart.is-edit-mode .pc-cart-row__qty {
		display: none;
	}

	/* Astra's theme-wide button style (main.min.css) targets a bare `button`
	   selector: background/color/padding unconditionally, plus a separate
	   background/border/color set specifically on :hover and :focus (which
	   a tap fires too, not just a mouse hover). Our own resting styles
	   below already out-specify the unconditional part (class beats plain
	   element), but nothing here contested the :hover/:focus-only part —
	   so tapping any of these painted Astra's accent-hover fill across the
	   button's full box for an instant, which reads as a big orange block
	   flashing in given how much larger the invisible tap target is than
	   the visible "−"/"+". Same reasoning for the leaked
	   `padding: 12px 24px`: nothing here set its own padding to contest it,
	   so it was eating into the button's content box unnoticed. */
	.pc-cart-row__qty-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		min-width: 44px;
		min-height: 44px;
		margin: -6px;
		padding: 0;
		background: none;
		border: none;
		box-shadow: none;
		font-size: 1rem;
		line-height: 1;
		color: var(--text-heading);
		cursor: pointer;
	}

	/* border: none !important — a third, more specific Astra rule than the
	   ones fixed above: an inline <style> block (not main.min.css) targets
	   a long list of specific selectors including
	   `.woocommerce .woocommerce-cart-form button:focus` with
	   `border-style: dotted; border-color: inherit; border-width: thin`.
	   That selector's specificity (2 classes + element + pseudo) actually
	   beats a plain `.pc-cart-row__qty-btn:focus` — our own resting
	   `border: none` sets border-STYLE to none, but this override above
	   only reset border-COLOR, never border-style, so the dotted line was
	   never actually contested and stayed visible as a persistent box
	   while focused. Confirmed on video (Brave, emulated Pixel 7) — a
	   dotted border, not a background fill or the generic outline fixed
	   above. !important because out-specificing a 4-part selector cleanly
	   isn't practical here. */
	.pc-cart-row__qty-btn:hover,
	.pc-cart-row__qty-btn:focus,
	.pc-cart-row__qty-btn:active {
		background: none;
		border: none !important;
		color: var(--text-heading);
		outline: none;
	}

	.pc-cart-row__qty-btn:disabled {
		opacity: 0.4;
		cursor: default;
	}

	.pc-cart-row__qty-value {
		min-width: 1.4em;
		text-align: center;
		font-size: 0.85rem;
		font-weight: 600;
		color: var(--text-heading);
	}

	.pc-cart-row__qty--locked .pc-cart-row__qty-btn {
		display: none;
	}

	.pc-cart-row.is-pending .pc-cart-row__content {
		opacity: 0.5;
	}


	.pc-swipe-hint {
		text-align: center;
		padding: 10px 18px;
		font-size: 0.7rem;
		color: var(--text-muted);
		opacity: 0.8;
	}

	/* ---------- Condensed tier summary ----------
	   The tier and promo rows are one stack between full-width hairlines,
	   their text on the rows' 18px inset. */
	.pc-tier-summary {
		margin: 0;
		padding: 0 18px;
		border-top: 1px solid var(--border-hairline);
	}

	.pc-tier-summary__row,
	.pc-promo__row {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 4px;
		font-size: 0.78rem;
		font-weight: 600;
		color: var(--text-heading);
		cursor: pointer;
		list-style: none;
	}

	.pc-tier-summary__row::-webkit-details-marker,
	.pc-promo__row::-webkit-details-marker {
		display: none;
	}

	.pc-tier-summary__chevron,
	.pc-promo__chevron {
		transition: transform 0.25s ease;
	}

	.pc-tier-summary[open] .pc-tier-summary__chevron,
	.pc-promo[open] .pc-promo__chevron {
		transform: rotate(180deg);
	}

	.pc-tier-summary__body {
		margin: 0 4px 4px;
		font-size: 0.78rem;
		color: var(--text-muted);
	}

	/* Echoes the desktop tier widget's "next" mini-card CTA (accent-colored,
	   distinct from the passive current-price line above it) — this is the
	   one actionable piece of the summary, so it gets its own color rather
	   than blending into --text-muted like the rest. */
	.pc-tier-summary__next {
		margin: 0 4px 8px;
		font-size: 0.78rem;
		font-weight: 700;
		color: var(--accent);
	}

	/* ---------- Promo code ----------
	   A second row under the tier summary with the same treatment, closed
	   by default. Once a coupon is on, a filled confirmation row takes its
	   place: an accent check, the brand's selected-state language, not a
	   status green. */
	.pc-promo {
		margin: 0;
		padding: 0 18px;
		border-top: 1px solid var(--border-hairline);
		border-bottom: 1px solid var(--border-hairline);
	}

	.pc-promo__form {
		display: flex;
		gap: var(--space-2);
		padding: 2px 0 4px;
	}

	.pc-mobile-cart input.pc-promo__input {
		flex: 1;
		min-width: 0;
		min-height: 48px;
	}

	.pc-promo__apply.pc-btn {
		min-height: 48px;
		padding: 0 20px;
		font-size: 0.9rem;
		box-shadow: none;
		-webkit-tap-highlight-color: transparent;
	}

	/* Astra's button :focus fill and dotted border — see the notes on
	   .pc-cart-row__qty-btn above. */
	.pc-promo__apply.pc-btn:focus {
		border: var(--bw-default) solid transparent !important;
		outline: none;
	}

	.pc-promo.is-pending .pc-promo__form {
		opacity: 0.5;
		pointer-events: none;
	}

	.pc-promo .pc-field__error {
		margin: 0 4px 10px;
	}

	.pc-promo-applied-list {
		margin: 0;
		border-top: 1px solid var(--border-hairline);
		border-bottom: 1px solid var(--border-hairline);
		background: var(--pc-brown-08);
	}

	.pc-promo-applied {
		display: flex;
		align-items: center;
		gap: var(--space-3);
		padding: 12px 18px;
	}

	.pc-promo-applied + .pc-promo-applied {
		border-top: 1px solid var(--border-hairline);
	}

	.pc-promo-applied.is-pending {
		opacity: 0.5;
		pointer-events: none;
	}

	.pc-promo-applied__check {
		flex: none;
		font-size: 1.1rem;
		font-weight: 700;
		color: var(--accent);
	}

	.pc-promo-applied__text {
		flex: 1;
		min-width: 0;
	}

	.pc-promo-applied__title {
		display: block;
		font-family: var(--font-ui);
		font-size: 0.9rem;
		font-weight: 600;
		color: var(--text-heading);
	}

	.pc-promo-applied__summary {
		display: block;
		margin-top: 1px;
		font-size: 0.78rem;
		color: var(--pc-brown-50);
	}

	/* A 44px target around the word. !important: the theme's long
	   a:not(...) colour rule outranks a class. */
	.pc-promo-applied__remove {
		flex: none;
		display: flex;
		align-items: center;
		min-height: 44px;
		margin: -8px -8px -8px 0;
		padding: 0 8px;
		font-family: var(--font-ui);
		font-size: 0.8rem;
		color: var(--pc-brown-50) !important;
		text-decoration: none;
		-webkit-tap-highlight-color: transparent;
	}

	/* ---------- Sticky footer ---------- */
	/* Fixed, not sticky: this page's actual scroll container turns out to be
	   <body> (astra-child sets body { overflow-y: auto }), with an
	   intervening <main class="page-holder"> that has overflow:hidden —
	   sticky's containing-block calculation gets lost across that boundary,
	   so a sticky footer here just silently never engages and scrolls away
	   with the rest of the list. Fixed doesn't have that dependency.
	   bottom:62px stacks it directly above nav-shell's tab bar (same 62px
	   nav-shell.css reserves via body.pc-has-tabbar's padding-bottom) rather
	   than overlapping it — both stay visible, tab bar underneath, checkout
	   bar above it. */
	.pc-cart-footer {
		position: fixed;
		left: 0;
		right: 0;
		/* --pc-tabbar-height is set by mobile-cart.js from the tab bar's own
		   measured height (nav-shell.css doesn't give it a fixed height —
		   it's content-driven — and the 62px nav-shell reserves via
		   body.pc-has-tabbar's padding-bottom is a rough buffer, not the
		   tab bar's exact height, which is why a hardcoded 62px here left a
		   ~4px gap instead of sitting flush against it). 62px stays as the
		   fallback for the brief window before JS measures it. */
		bottom: var(--pc-tabbar-height, 62px);
		z-index: 150;
		border-top: var(--bw-default) solid var(--border-strong);
		background: var(--surface-page);
		padding: 10px 18px 12px;
	}

	.pc-cart-footer__default {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--space-3);
	}

	.pc-mobile-cart.is-edit-mode .pc-cart-footer__default,
	.pc-mobile-cart.is-edit-mode .pc-cart-footer__lines {
		display: none;
	}

	/* Subtotal and Discount above the Total row, once a coupon is on. */
	.pc-cart-footer__lines {
		margin-bottom: 8px;
		padding-bottom: 8px;
		border-bottom: 1px solid var(--border-hairline);
	}

	.pc-cart-footer__line {
		display: flex;
		justify-content: space-between;
		gap: var(--space-3);
		font-family: var(--font-ui);
		font-size: 0.8rem;
		line-height: 1.6;
		color: var(--text-body);
	}

	.pc-cart-footer__line--discount {
		font-weight: 600;
		color: var(--accent);
	}

	.pc-cart-footer__line span:last-child {
		white-space: nowrap;
	}

	.pc-cart-footer__edit {
		display: none;
	}

	.pc-mobile-cart.is-edit-mode .pc-cart-footer__edit {
		display: block;
	}

	.pc-cart-footer__subtotal-label {
		display: block;
		font-size: 0.7rem;
		font-weight: 500;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: var(--text-muted);
	}

	.pc-cart-footer__subtotal-value {
		display: block;
		font-size: 1.3rem;
		font-weight: 600;
		color: var(--text-heading);
	}

	.pc-cart-footer__checkout {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		min-width: 170px;
		padding: 0 var(--space-4);
		border-radius: var(--radius-lg);
		background: var(--accent) !important;
		color: #fff !important;
		font-weight: 700;
		text-decoration: none;
		text-align: center;
	}

	.pc-cart-footer__checkout:hover,
	.pc-cart-footer__checkout:active {
		background: var(--accent-hover) !important;
	}

	/* Selector + !important: this button intentionally shares
	   name="clear_cart" with the desktop Clear Cart button (so
	   pcf_handle_clear_cart() needs no change), which already has its own
	   `!important`-laden button[name="clear_cart"] { background:#dc3545
	   !important; ... } rule elsewhere in this plugin (solid red fill, for
	   the desktop placement) — an attribute selector that out-specifies a
	   plain class even under !important, so the button[name=...] prefix
	   here isn't decorative, it's required to win. This is the
	   destructive-outline variant instead. */
	button[name="clear_cart"].pc-cart-footer__clear {
		display: block;
		width: 100%;
		min-height: 44px;
		margin: 0;
		border: var(--bw-default) solid var(--pc-error) !important;
		border-radius: var(--radius-lg);
		background: transparent !important;
		color: var(--pc-error) !important;
		font-weight: 700;
		font-size: 0.85rem;
		cursor: pointer;
	}

	/* The printing swap sheet (.pc-sheet, its rows and thumbnails) and the
	   lightbox (.pc-lightbox-backdrop/.pc-lightbox/etc.) live in
	   nav-shell.css: the decklist importer opens the same sheet, and the
	   cart drawer the same lightbox, on pages this file doesn't load on. See
	   pcf_render_swap_sheet() and pcf_render_image_lightbox(), both off
	   their is_cart() gates for that reason. */
	.pc-cart-row__thumb {
		cursor: pointer;
	}
}

/* ---------- Tablets ----------
   The cart reads in nav-shell.css's centred column; the header's hairline
   and the pinned footer's bar still run edge to edge. */
@media (min-width: 600px) and (max-width: 1025px) {
	.pc-mobile-cart__list,
	.pc-mobile-cart > .pc-tier-summary,
	.pc-mobile-cart > .pc-promo {
		max-width: var(--pc-measure);
		margin-inline: auto;
	}

	.pc-cart-footer {
		padding-inline: var(--pc-measure-inset);
	}
}
