/*
 * LT Shop Tables — shop, category tile and product table styling.
 * Layout from drafts/shop-mockup.html (signed off 2 Sep 2026). The palette is
 * not here: every token comes from lt-shop-tokens.css, which declares them on
 * .lt-st for these pages and on a body class for the cart and checkout, so the
 * two halves of the shop cannot drift apart. This file therefore only works
 * with that one enqueued alongside it.
 *
 * Typography note: the mockup's Public Sans / Fraunces pair is not loaded
 * here — this plugin enqueues no webfont. Body text therefore inherits the
 * theme's font, and only the display headings ask for Fraunces, degrading to
 * Georgia where it isn't available.
 */

.lt-st {
	color: var(--lt-st-ink);
}

/*
 * Neve sets overflow:hidden on the page wrapper, which silently disables
 * position:sticky for everything inside it. overflow:clip clips the same way
 * without creating a scroll container, so the basket can actually stick.
 * !important because Neve's own rule is
 * body>.wrapper:not(.et-fb-iframe-ancestor) — higher specificity than
 * anything reasonable here.
 */
body.lt-shop-tables > .wrapper {
	overflow: clip !important;
}

.lt-st *,
.lt-st *::before,
.lt-st *::after {
	box-sizing: border-box;
}

.lt-st-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.lt-st a:focus-visible,
.lt-st button:focus-visible,
.lt-st input:focus-visible,
.lt-st select:focus-visible {
	outline: 3px solid var(--lt-st-amber);
	outline-offset: 2px;
}

/* ============ chip bar ============ */

/* Centred, because it now sits under the centred page title. */
.lt-st-catbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 0 4px;
}

.lt-st-catbar-label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--lt-st-ink-soft);
	margin-right: 4px;
}

.lt-st-catbar-label--sub {
	margin-left: 10px;
	text-transform: none;
	letter-spacing: 0;
	font-size: 12.5px;
}

.lt-st-chip {
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: var(--lt-st-ink);
	background: var(--lt-st-surface);
	border: 1px solid var(--lt-st-line);
	border-radius: 99px;
	padding: 7px 14px;
	text-decoration: none;
}

.lt-st-chip:hover,
.lt-st-chip:focus {
	border-color: var(--lt-st-brand);
	color: var(--lt-st-brand);
}

.lt-st-chip.is-on,
.lt-st-chip.is-on:hover {
	background: var(--lt-st-deep);
	border-color: var(--lt-st-deep);
	color: #fff;
}

.lt-st-chip--sub {
	background: var(--lt-st-ground);
}

/* ============ breadcrumbs + back button ============ */

.lt-st-crumbrow {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 10px 0 0;
}

.lt-st-crumbs {
	font-size: 13px;
	color: var(--lt-st-ink-soft);
}

.lt-st-crumbs a {
	color: var(--lt-st-brand);
	text-decoration: none;
}

.lt-st-crumbs a:hover {
	text-decoration: underline;
}

.lt-st-sep {
	margin: 0 6px;
	color: #9daec3;
}

.lt-st-backbtn {
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: var(--lt-st-brand);
	border: 1.5px solid var(--lt-st-brand);
	background: var(--lt-st-surface);
	border-radius: 9px;
	padding: 7px 13px;
	text-decoration: none;
}

.lt-st-backbtn:hover {
	background: var(--lt-st-brand);
	color: #fff;
}

/* ============ layout ============ */

/*
 * Proportional, not fixed. The basket takes 18% of the row, floored at 240px
 * so it never gets too cramped to read and ceilinged at 340px so it does not
 * turn into a slab on an ultra-wide screen. Everything else goes to the table.
 * minmax(0, 1fr) rather than 1fr: a bare 1fr floors at min-content, which a
 * wide table would push past and overflow the grid.
 */
.lt-st-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(240px, 18%, 340px);
	gap: 26px;
	align-items: start;
	padding: 8px 0 20px;
}

.lt-st-main {
	min-width: 0;
}

/* ============ page title ============ */

.lt-st-pagetitle {
	text-align: center;
	margin: 20px 0 6px;
}

.lt-st-pagetitle h1 {
	font-family: var(--lt-st-display);
	font-weight: 640;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.15;
	margin: 0;
}

.lt-st-rule {
	width: 56px;
	height: 3px;
	background: var(--lt-st-amber);
	margin: 12px auto 0;
	border-radius: 2px;
}

.lt-st-count {
	font-size: 13px;
	color: var(--lt-st-ink-soft);
	margin: 10px 0 0;
}

.lt-st-description {
	font-size: 14.5px;
	color: var(--lt-st-ink-soft);
	max-width: 70ch;
	margin: 10px auto 0;
}

/*
 * Neve prints its shop header above this plugin's UI. With its breadcrumbs and
 * result count removed (both are rendered here instead) the wrapper is left
 * behind empty, so it is collapsed rather than left holding vertical space.
 */
body.lt-shop-tables .nv-bc-count-wrap:empty {
	display: none;
}

.lt-st-empty {
	text-align: center;
	color: var(--lt-st-ink-soft);
	padding: 26px 0;
}

/* ============ category tiles ============ */

/*
 * Centred under the page title, which is itself centred.
 *
 * Two things are load-bearing here and both were got wrong first time:
 *
 * `auto-fit`, not `auto-fill`. auto-fill keeps every track it creates, so with
 * five categories in a row wide enough for eight the three empty tracks still
 * occupied their share of the row — the grid filled the container, there was
 * no free space, and `justify-content: center` therefore did nothing. auto-fit
 * collapses the empty tracks, which leaves the free space that lets the filled
 * ones centre.
 *
 * Tracks capped at 150–200px, not `1fr`. With a `1fr` maximum the surviving
 * tracks would stretch to fill the row again — five categories would become
 * slabs and, once more, there would be no free space to centre into.
 */
.lt-st-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
	justify-content: center;
	gap: 16px;
	margin-top: 22px;
}

.lt-st-tile {
	background: var(--lt-st-surface);
	border: 1px solid var(--lt-st-line);
	border-radius: 14px;
	overflow: hidden;
	text-align: center;
	text-decoration: none;
	color: var(--lt-st-ink);
	display: flex;
	flex-direction: column;
}

.lt-st-tile:hover {
	border-color: var(--lt-st-brand);
	box-shadow: var(--lt-st-shadow);
}

.lt-st-tile-art {
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: linear-gradient(160deg, var(--lt-st-tile-a), var(--lt-st-tile-b));
}

.lt-st-tile-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* The name-on-gradient fallback, used until category artwork exists. */
.lt-st-tile-word {
	font-family: var(--lt-st-display);
	font-weight: 640;
	font-size: 19px;
	line-height: 1.15;
	color: var(--lt-st-deep);
	padding: 10px 12px;
	text-wrap: balance;
}

.lt-st-tile-cap {
	font-family: var(--lt-st-display);
	font-weight: 640;
	font-size: 15.5px;
	line-height: 1.2;
	padding: 11px 8px 13px;
	border-top: 1px solid var(--lt-st-line);
}

.lt-st-tile-n {
	display: block;
	font-family: inherit;
	font-weight: 600;
	font-size: 11.5px;
	color: var(--lt-st-ink-soft);
	margin-top: 2px;
}

/* ============ search + group filter ============ */

.lt-st-searchrow {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 20px 0 16px;
	flex-wrap: wrap;
}

.lt-st-searchrow input[type="search"] {
	width: min(400px, 100%);
	font-size: 14px;
	font-weight: 500;
	border: 1px solid var(--lt-st-line);
	border-radius: 99px;
	padding: 10px 18px;
	background: var(--lt-st-surface);
	color: var(--lt-st-ink);
}

.lt-st-filtersel {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--lt-st-ink);
	background: var(--lt-st-surface);
	border: 1px solid var(--lt-st-line);
	border-radius: 99px;
	padding: 9px 14px;
	max-width: 100%;
}

.lt-st-searchbtn {
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: var(--lt-st-brand);
	background: var(--lt-st-surface);
	border: 1.5px solid var(--lt-st-brand);
	border-radius: 99px;
	padding: 9px 16px;
	cursor: pointer;
}

.lt-st-searchbtn:hover {
	background: var(--lt-st-brand);
	color: #fff;
}

/* ============ product table ============ */

.lt-st-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--lt-st-line);
	border-radius: 12px;
}

.lt-st-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	min-width: 560px;
	margin: 0;
}

/*
 * Five columns instead of four. 560px is what Image/Name/Price/Buy need before
 * the scroll box starts scrolling; the Form column asks for the difference.
 * A modifier class rather than a media query because whether the column is
 * there at all is a per-category decision made server-side — only the
 * categories whose products carry a form get one.
 */
.lt-st-table--form {
	min-width: 660px;
}

.lt-st-table thead th {
	background: var(--lt-st-deep);
	color: #fff;
	text-align: left;
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 11px 14px;
	white-space: nowrap;
	border: 0;
}

.lt-st-table thead th a {
	color: #fff;
	text-decoration: none;
}

.lt-st-table thead th a:hover {
	text-decoration: underline;
}

.lt-st-table .lt-st-col-buy {
	text-align: right;
}

.lt-st-arrow {
	opacity: .6;
	font-size: 11px;
	margin-left: 2px;
}

.lt-st-table tbody td {
	padding: 10px 14px;
	border-top: 1px solid var(--lt-st-line);
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
	vertical-align: middle;
	background: var(--lt-st-surface);
}

.lt-st-table tbody tr:hover td {
	background: var(--lt-st-ground);
}

.lt-st-cell-image {
	width: 62px;
}

.lt-st-thumb {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 8px;
	overflow: hidden;
	background: linear-gradient(160deg, var(--lt-st-tile-a), var(--lt-st-tile-b));
}

.lt-st-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/*
 * The name is the only elastic column, so its cap decides whether the Buy
 * column still fits inside the table's scroll box. Expressed in ch so it
 * tracks the font rather than a guessed pixel width, and capped in % so a
 * wide container spends its extra room on the product name — which is the
 * column that actually needs it — instead of on empty space.
 */
.lt-st-cell-name {
	font-weight: 600;
	max-width: min(34ch, 40%);
}

@media (min-width: 1500px) {
	.lt-st-cell-name {
		max-width: min(60ch, 45%);
	}
}

.lt-st-cell-name a {
	color: var(--lt-st-ink);
	text-decoration: none;
}

.lt-st-cell-name a:hover {
	color: var(--lt-st-brand);
	text-decoration: underline;
}

/*
 * The plant's form — Bundle, Potted, On Wood. It qualifies a product rather
 * than identifying one, so it is deliberately quieter than the name beside it:
 * soft ink at the size of the table foot, not the row's own weight. nowrap
 * because "On Small Wood Base" is the longest of the thirteen and wrapping it
 * would give that one row a second line while its neighbours kept one.
 */
.lt-st-cell-form {
	font-size: 13px;
	color: var(--lt-st-ink-soft);
	white-space: nowrap;
}

.lt-st-cell-price {
	font-weight: 700;
	color: var(--lt-st-amber-ink);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.lt-st-cell-price del {
	font-weight: 500;
	opacity: .65;
}

.lt-st-cell-price .ltb2b-login-for-price {
	font-weight: 600;
	font-size: 12.5px;
	color: var(--lt-st-ink-soft);
	white-space: normal;
}

.lt-st-cell-buy {
	white-space: nowrap;
	text-align: right;
}

.lt-st-buy {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-content: flex-end;
}

.lt-st-buy .quantity {
	margin: 0;
}

.lt-st-buy input.qty {
	width: 4.2em;
	font-size: 13.5px;
	font-weight: 600;
	text-align: center;
	border: 1px solid var(--lt-st-line);
	border-radius: 7px;
	padding: 7px 4px;
	background: var(--lt-st-surface);
	color: var(--lt-st-ink);
}

.lt-st-add {
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: var(--lt-st-brand);
	border: none;
	border-radius: 8px;
	padding: 10px 14px;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	white-space: nowrap;
}

.lt-st-add:hover {
	filter: brightness(1.1);
	color: #fff;
}

.lt-st-add.is-busy {
	opacity: .6;
	pointer-events: none;
}

.lt-st-readmore,
.lt-st-cell-buy .button {
	font-size: 13px;
	font-weight: 600;
	color: var(--lt-st-brand);
	text-decoration: none;
	white-space: nowrap;
}

.lt-st-readmore:hover,
.lt-st-cell-buy .button:hover {
	text-decoration: underline;
}

.lt-st-noprice {
	color: var(--lt-st-ink-soft);
	font-weight: 500;
}

/* ============ table foot + pagination ============ */

.lt-st-tfoot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
	color: var(--lt-st-ink-soft);
	padding: 10px 4px 0;
	flex-wrap: wrap;
}

.lt-st-rows a {
	color: var(--lt-st-brand);
	text-decoration: none;
}

.lt-st-rows a:hover {
	text-decoration: underline;
}

.lt-st-rows-on {
	color: var(--lt-st-ink);
}

.lt-st-dot {
	color: #9daec3;
}

.lt-st-pagination {
	margin-top: 14px;
}

.lt-st-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.lt-st-pagination a,
.lt-st-pagination span {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	padding: 8px 12px;
	border: 1px solid var(--lt-st-line);
	border-radius: 8px;
	background: var(--lt-st-surface);
	color: var(--lt-st-brand);
	text-decoration: none;
}

.lt-st-pagination .current {
	background: var(--lt-st-deep);
	border-color: var(--lt-st-deep);
	color: #fff;
}

/* ============ floating basket ============ */

.lt-st-cartcol {
	position: sticky;
	top: 14px;
}

.lt-st-basket {
	background: var(--lt-st-surface);
	border: 1px solid var(--lt-st-line);
	border-left: 4px solid var(--lt-st-amber);
	border-radius: 14px;
	box-shadow: var(--lt-st-shadow);
	padding: 16px 16px 18px;
}

.lt-st-basket-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.lt-st-basket-head h2 {
	font-family: var(--lt-st-display);
	font-size: 17px;
	font-weight: 640;
	line-height: 1.2;
	margin: 0;
}

.lt-st-badge {
	background: var(--lt-st-deep);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	border-radius: 99px;
	padding: 5px 10px;
	white-space: nowrap;
}

.lt-st-basket-items {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	font-size: 13px;
}

/* Name | price | remove — the remove control keeps a fixed track so the
   prices stay in a column however long the names are. */
.lt-st-basket-items li {
	display: grid;
	grid-template-columns: 1fr auto 1.4em;
	align-items: start;
	gap: 4px 10px;
	padding: 6px 0;
	border-top: 1px dashed var(--lt-st-line);
}

.lt-st-basket-line {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	white-space: nowrap;
}

.lt-st-basket-remove {
	justify-self: end;
	width: 1.4em;
	height: 1.4em;
	display: grid;
	place-items: center;
	border-radius: 50%;
	color: var(--lt-st-ink-soft);
	background: transparent;
	font-size: 15px;
	line-height: 1;
	text-decoration: none;
	transition: background-color .12s ease, color .12s ease;
}

.lt-st-basket-remove:hover,
.lt-st-basket-remove:focus-visible {
	background: var(--lt-st-danger-soft);
	color: var(--lt-st-danger);
}

/* WooCommerce marks the row while its AJAX request is in flight. */
.lt-st-basket-items li.removing {
	opacity: .5;
}

/* ---- totals breakdown ---- */
.lt-st-basket-sums {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px solid var(--lt-st-line);
	font-size: 12.5px;
	color: var(--lt-st-ink-soft);
	display: grid;
	gap: 3px;
}

.lt-st-basket-sum {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.lt-st-basket-sum span:last-child {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.lt-st-basket-empty {
	color: var(--lt-st-ink-soft);
	font-size: 13px;
	margin: 10px 0 0;
}

.lt-st-basket-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 2px solid var(--lt-st-deep);
}

.lt-st-basket-total b {
	font-family: var(--lt-st-display);
	font-size: 21px;
	font-weight: 640;
	font-variant-numeric: tabular-nums;
}

.lt-st-checkout {
	display: block;
	width: 100%;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: var(--lt-st-brand);
	border: none;
	border-radius: 9px;
	padding: 12px;
	text-align: center;
	text-decoration: none;
}

.lt-st-checkout:hover {
	filter: brightness(1.1);
	color: #fff;
}

.lt-st-basket-hint {
	font-size: 11.5px;
	color: var(--lt-st-ink-soft);
	margin: 9px 0 0;
	text-align: center;
}

/* Delivery notices, whatever LTB2B decides they are. */
.lt-st-notices {
	margin-top: 12px;
	display: grid;
	gap: 8px;
}

.lt-st-notice {
	font-size: 12px;
	line-height: 1.45;
	margin: 0;
	padding: 9px 11px;
	border-radius: 9px;
	border-left: 3px solid var(--lt-st-brand);
	background: var(--lt-st-ground);
	color: var(--lt-st-ink-soft);
}

.lt-st-notice strong {
	color: var(--lt-st-ink);
}

.lt-st-notice--warning {
	border-left-color: var(--lt-st-amber);
	background: var(--lt-st-amber-soft);
	color: #5a4a33;
}

.lt-st-notice--warning strong {
	color: var(--lt-st-amber-ink);
}

.lt-st-basket-spacer {
	display: none;
}

/* ============ tablet and below: basket becomes a bottom bar ============ */

/*
 * 1150px, not 900px. Below this the side-by-side layout leaves the table too
 * little room and the Buy column scrolls out of sight, so the basket moves to
 * the bottom bar early and gives the table the full container instead.
 */
@media (max-width: 1150px) {
	.lt-st-body {
		grid-template-columns: 1fr;
	}

	.lt-st-cartcol {
		position: static;
	}

	/*
	 * position:fixed rather than sticky: the basket is the last thing in the
	 * grid, so a sticky bottom edge would only hold while its own row was on
	 * screen. Fixed positioning is not clipped by the overflow rule above
	 * because a fixed element's containing block is the viewport.
	 */
	.lt-st-basket {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 100;
		border-radius: 0;
		border-left: 0;
		border-top: 4px solid var(--lt-st-amber);
		padding: 10px 16px;
	}

	/*
	 * The inner wrapper, not the panel, becomes the row: it is the element
	 * WooCommerce's cart fragment replaces, so everything the bar lays out is
	 * one of its children.
	 */
	.lt-st-basket-inner {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 6px 16px;
	}

	/*
	 * The line-by-line list does not fit a bottom bar. The count badge, the
	 * total and the Checkout button do, and they are what a phone order needs
	 * — the full list stays one tap away on the basket page.
	 */
	/* The bottom bar is one row: line items and the totals breakdown do not
	   fit, so only the count, the total and Checkout survive. Both are one
	   tap away on the basket page. */
	.lt-st-basket-items,
	.lt-st-basket-sums,
	.lt-st-basket-hint {
		display: none;
	}

	.lt-st-basket-head,
	.lt-st-basket-total {
		margin: 0;
		padding: 0;
		border: 0;
		flex: 0 0 auto;
	}

	.lt-st-basket-total {
		gap: 8px;
	}

	.lt-st-checkout {
		width: auto;
		margin: 0 0 0 auto;
		padding: 12px 20px;
		min-height: 44px;
	}

	.lt-st-notices {
		flex-basis: 100%;
		margin: 0;
		max-height: 30vh;
		overflow-y: auto;
	}

	.lt-st-basket-spacer {
		display: block;
		height: 104px;
	}
}

/* ============ phone: table rows become stacked cards ============ */

@media (max-width: 782px) {
	/*
	 * Four columns and a thumbnail — five where the Form column applies — make
	 * the table's min-content width wider than a phone viewport, which put the
	 * Buy column off-screen. Stacking each row as a card removes the sideways
	 * scroll entirely, and the scroll container is switched off here so it
	 * cannot leave a stray scrollbar.
	 */
	.lt-st-table-scroll {
		overflow-x: visible;
		border: 0;
		border-radius: 0;
	}

	.lt-st-table,
	.lt-st-table tbody,
	.lt-st-table tr,
	.lt-st-table td {
		display: block;
		width: auto;
		min-width: 0;
	}

	/* Headers are the source of each cell's data-label — hidden visually,
	   still there for screen readers. */
	.lt-st-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
		border: 0;
	}

	.lt-st-table tr {
		border: 1px solid var(--lt-st-line);
		border-radius: 12px;
		background: var(--lt-st-surface);
		margin: 0 0 12px;
		padding: 10px 12px;
	}

	.lt-st-table tbody td {
		border: 0;
		padding: 4px 0;
		display: flex;
		flex-wrap: wrap;
		gap: 4px 10px;
		align-items: baseline;
		justify-content: space-between;
		background: transparent;
	}

	.lt-st-table tbody td::before {
		content: attr(data-label);
		font-weight: 600;
		font-size: 12px;
		color: var(--lt-st-ink-soft);
		flex: 0 0 auto;
	}

	/* Image and name form the card's title row, so neither is labelled. */
	.lt-st-table .lt-st-cell-image,
	.lt-st-table .lt-st-cell-name {
		display: inline-flex;
		width: auto;
		vertical-align: middle;
	}

	.lt-st-table .lt-st-cell-image::before,
	.lt-st-table .lt-st-cell-name::before {
		content: none;
	}

	.lt-st-table .lt-st-cell-name {
		max-width: calc(100% - 62px);
		padding-bottom: 8px;
	}

	/*
	 * The card labels every field from its data-label, so a product inside a
	 * form-bearing category that happens to have no form of its own would show
	 * a "Form" heading with nothing after it. The whole line goes instead —
	 * server-side, because ::before content cannot be conditional on an empty
	 * cell reliably once the markup carries any whitespace.
	 */
	.lt-st-table .lt-st-cell-form.is-empty {
		display: none;
	}

	.lt-st-table .lt-st-cell-buy {
		justify-content: flex-start;
		text-align: left;
		padding-top: 8px;
		white-space: normal;
	}

	.lt-st-table .lt-st-cell-buy::before {
		flex-basis: 100%;
	}

	/* 16px stops iOS zooming the page when the quantity field takes focus,
	   and 44px keeps both controls at a comfortable tap size. */
	.lt-st-buy input.qty {
		width: 5.5em;
		min-height: 44px;
		font-size: 16px;
	}

	.lt-st-add {
		min-height: 44px;
		padding: 13px 16px;
	}

	.lt-st-tfoot {
		justify-content: center;
		text-align: center;
	}
}
