/* Fixture order page, from the chosen Turnout page drawing (projects/fixtures/design/canvas/D-info.dc.html).
   Colours, radii and fonts come from the site's fast-tracks-design tokens (ft-redesign-shared).
   Every selector starts with .ftfx-root so the theme's button, link and heading styles never win.
   --ftfx-top: bottom of the site's sticky header, measured by app.js. --ftfx-sh: 0..1, the locked top's shadow. */

.ftfx-root {
	--ftfx-top: 0px;
	--ftfx-sh: 0;
	--ftfx-line: color-mix(in srgb, var(--espresso-900) 28%, transparent);
	container-type: inline-size;
	container-name: ftfx;
	font-family: var(--font-body);
	color: var(--espresso-900);
	background: var(--sand-50);
	font-size: 17px;
	line-height: 1.45;
}

html.ftfx-locked {
	overflow: hidden;
	scrollbar-gutter: stable;
}

/* Base: the same for every element kind, in every state. */
.ftfx-root button {
	font-family: var(--font-body);
	text-transform: none;
	letter-spacing: normal;
	margin: 0;
	line-height: 1.2;
	cursor: pointer;
}

.ftfx-root button,
.ftfx-root button:is(:hover, :focus, :active) {
	box-shadow: none;
	text-shadow: none;
}

.ftfx-root :is(h1, h2, h3, p) {
	font-family: var(--font-body);
	text-transform: none;
	letter-spacing: normal;
	padding: 0;
	border: 0;
	color: inherit;
}

.ftfx-root a {
	color: var(--brass-600);
}

.ftfx-root a:hover {
	color: var(--brass-800);
}

.ftfx-root :is(button, a):focus-visible {
	outline: 3px solid var(--brass-500);
	outline-offset: 2px;
}

.ftfx-root button:disabled {
	cursor: default;
}

.ftfx-root .ftfx-wrap {
	padding-bottom: 48px;
}

.ftfx-root .ftfx-noscript {
	margin: 24px 0;
}

/* Columns: the page on the left, the order box on the right. */
.ftfx-root .ftfx-cols {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: flex-start;
}

.ftfx-root .ftfx-main {
	flex: 999 1 620px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.ftfx-root .ftfx-side {
	flex: 1 1 320px;
	position: sticky;
	top: calc(var(--ftfx-top) + 18px);
	margin-top: 18px;
}

.ftfx-root .ftfx-card {
	background: var(--white);
	border: 1px solid var(--sand-300);
	border-radius: var(--radius-lg, 8px);
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(37, 20, 9, 0.08));
	padding: 22px;
	box-sizing: border-box;
}

/* ---------- Locked top: page line, name, tabs and the counter ---------- */

.ftfx-root .ftfx-sentinel {
	height: 0;
	margin-bottom: -32px; /* the column gap: the locked block sits where the sentinel is */
}

.ftfx-root .ftfx-stick {
	position: sticky;
	top: var(--ftfx-top);
	z-index: 5;
	margin: 0 0 -10px;
	padding: 18px 0 10px;
	background: var(--sand-50);
	box-shadow: 0 -2px 0 var(--sand-50), -6px 0 0 var(--sand-50), 6px 0 0 var(--sand-50);
}

/* A line and soft shadow along its bottom once anything has scrolled under it (app.js sets --ftfx-sh). */
.ftfx-root .ftfx-stick::after {
	content: "";
	position: absolute;
	left: -6px;
	right: -6px;
	top: 100%;
	height: 16px;
	pointer-events: none;
	background: linear-gradient(color-mix(in srgb, var(--espresso-900) 26%, transparent), color-mix(in srgb, var(--espresso-900) 8%, transparent) 45%, transparent);
	border-top: 1px solid var(--sand-400);
	opacity: var(--ftfx-sh);
}

.ftfx-root .ftfx-crumb {
	margin: 0 0 2px;
	font-size: 15px;
	color: var(--sand-600);
}

.ftfx-root .ftfx-h1 {
	margin: 0;
	font-size: 34px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--espresso-900);
}

.ftfx-root .ftfx-about {
	margin-top: 10px;
	padding: 8px 10px;
	background: var(--white);
	border: 1px solid var(--sand-300);
	border-radius: var(--radius-lg, 8px);
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(37, 20, 9, 0.08));
}

.ftfx-root .ftfx-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.ftfx-root :is(.ftfx-tab, .ftfx-small),
.ftfx-root :is(.ftfx-tab, .ftfx-small):is(:hover, :focus, :active) {
	min-height: 44px;
	padding: 0 12px;
	border: 2px solid var(--sand-400);
	border-radius: var(--radius-md, 6px);
	background: var(--white);
	color: var(--espresso-900);
	font-size: 15px;
	font-weight: 700;
}

.ftfx-root :is(.ftfx-tab, .ftfx-small):hover {
	border-color: var(--brass-600);
}

.ftfx-root .ftfx-small.is-on,
.ftfx-root .ftfx-small.is-on:is(:hover, :focus, :active) {
	border-color: var(--espresso-900);
	background: var(--espresso-900);
	color: var(--brass-100);
}

.ftfx-root .ftfx-qty {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ftfx-root .ftfx-qty-l {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: right;
}

/* Counters: the count, and each card's amount. */
.ftfx-root .ftfx-ctr {
	display: flex;
	align-items: center;
}

.ftfx-root .ftfx-ctr-b,
.ftfx-root .ftfx-ctr-b:is(:hover, :focus, :active) {
	width: 44px;
	height: 44px;
	flex: none;
	padding: 0;
	border: 0;
	background: var(--brass-600);
	color: var(--white);
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
}

.ftfx-root .ftfx-ctr-b:hover {
	background: var(--brass-800);
}

.ftfx-root .ftfx-ctr-b:first-child {
	border-radius: var(--radius-md, 6px) 0 0 var(--radius-md, 6px);
}

.ftfx-root .ftfx-ctr-b:last-child {
	border-radius: 0 var(--radius-md, 6px) var(--radius-md, 6px) 0;
}

.ftfx-root .ftfx-ctr-n {
	min-width: 44px;
	height: 44px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--white);
	border-top: 2px solid var(--brass-600);
	border-bottom: 2px solid var(--brass-600);
	font-size: 18px;
	font-weight: 800;
}

.ftfx-root .ftfx-ctr--card .ftfx-ctr-n {
	flex: 1 1 0;
	min-width: 0;
	font-weight: 700;
}

/* ---------- Banner (bright J, no copper) ---------- */

.ftfx-root .ftfx-banner {
	container: ftfxbn / inline-size;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 26px 28px;
	box-sizing: border-box;
	border-radius: var(--radius-md, 6px);
	background-color: var(--white);
	background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.25) 100%), url(banner.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--espresso-900);
	outline: 1px solid color-mix(in srgb, var(--espresso-900) 18%, transparent);
	border-bottom: 3px solid var(--espresso-900);
	box-shadow: 0 3px 10px color-mix(in srgb, var(--espresso-900) 22%, transparent);
}

.ftfx-root .ftfx-bn-h {
	margin: 0;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.2;
}

.ftfx-root .ftfx-bn-rule {
	margin-top: 12px;
	width: 72px;
	height: 3px;
	background: var(--espresso-900);
}

.ftfx-root .ftfx-bn-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: stretch;
	gap: 14px;
	font-size: 18px;
	font-weight: 700;
}

.ftfx-root .ftfx-bn-step {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px;
	box-sizing: border-box;
	border: 2px solid var(--ftfx-line);
	border-radius: var(--radius-md, 6px);
	background: rgba(255, 255, 255, 0.7);
}

.ftfx-root .ftfx-bn-step1 {
	flex: 1.35 1 0;
	min-width: 0;
	display: flex;
	margin: 0;
}

.ftfx-root .ftfx-bn-btn,
.ftfx-root .ftfx-bn-btn:is(:hover, :focus, :active) {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 104px;
	padding: 10px 16px 10px 10px;
	border: 0;
	border-radius: 5px;
	background: var(--espresso-900);
	color: var(--brass-100);
	box-shadow: 0 2px 8px color-mix(in srgb, var(--espresso-900) 40%, transparent);
	font-size: 18px;
	font-weight: 800;
	text-align: left;
}

.ftfx-root .ftfx-bn-btn svg {
	flex: none;
	fill: none;
	stroke: var(--brass-100);
	stroke-width: 3px;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ftfx-root .ftfx-bn-t {
	flex: 1 1 0;
	min-width: 0;
	line-height: 1.25;
}

.ftfx-root .ftfx-bn-k {
	display: block;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ftfx-root .ftfx-bn-step .ftfx-bn-k {
	color: var(--espresso-700);
}

.ftfx-root .ftfx-bn-ph {
	display: block;
	width: 84px;
	height: 84px;
	flex: none;
	object-fit: cover;
	border-radius: var(--radius-md, 6px);
	border: 2px solid var(--ftfx-line);
	box-sizing: border-box;
	background: var(--white);
}

.ftfx-root .ftfx-bn-btn .ftfx-bn-ph {
	border-color: var(--brass-100);
}

/* ---------- The fixture ---------- */

.ftfx-root .ftfx-fixture {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	align-items: flex-start;
}

.ftfx-root .ftfx-fig {
	flex: 1 1 260px;
	max-width: 360px;
	min-width: 0;
}

.ftfx-root .ftfx-zoom,
.ftfx-root .ftfx-zoom:is(:hover, :focus, :active) {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: var(--radius-md, 6px);
	overflow: hidden;
	background: var(--steel-600);
	cursor: zoom-in;
}

.ftfx-root .ftfx-zoom img,
.ftfx-root .ftfx-zoom .ftfx-noimg {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.ftfx-root .ftfx-zoom-ic {
	position: absolute;
	right: 8px;
	bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--espresso-900) 80%, transparent);
	color: var(--brass-100);
	pointer-events: none;
}

.ftfx-root .ftfx-zoom-ic svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
}

.ftfx-root .ftfx-pop {
	margin: 10px 0 0;
	font-size: 15px;
	color: var(--sand-600);
}

.ftfx-root .ftfx-choices {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ftfx-root .ftfx-qh {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
}

/* A line under a question's heading ("Outside / inside, in inches") and one under its buttons. */
.ftfx-root .ftfx-qh--sub {
	margin-bottom: 2px;
}

.ftfx-root .ftfx-qh--sub + .ftfx-label,
.ftfx-root .ftfx-qnote {
	font-size: 15px;
	color: var(--sand-600);
}

.ftfx-root .ftfx-qnote {
	margin: 8px 0 0;
}

.ftfx-root .ftfx-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ftfx-root .ftfx-pill,
.ftfx-root .ftfx-pill:is(:hover, :focus, :active) {
	min-width: 56px;
	min-height: 48px;
	padding: 0 14px;
	border: 2px solid var(--sand-400);
	border-radius: var(--radius-md, 6px);
	background: var(--white);
	color: var(--espresso-900);
	font-size: 17px;
	font-weight: 700;
}

.ftfx-root .ftfx-pill:hover {
	border-color: var(--brass-600);
}

.ftfx-root .ftfx-pill.is-on,
.ftfx-root .ftfx-pill.is-on:is(:hover, :focus, :active) {
	border-color: var(--espresso-900);
	background: var(--espresso-900);
	color: var(--brass-100);
}

/* An answer no fixture has with the ones before it. */
.ftfx-root .ftfx-pill:disabled,
.ftfx-root .ftfx-pill:disabled:hover {
	border-style: dashed;
	border-color: var(--sand-400);
	background: var(--sand-50);
	color: var(--sand-500);
	text-decoration: line-through;
}

.ftfx-root .ftfx-pricerow {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	padding-top: 14px;
	border-top: 1px solid var(--sand-300);
}

.ftfx-root .ftfx-sku {
	font-size: 15px;
	color: var(--sand-600);
}

.ftfx-root .ftfx-price {
	font-size: 26px;
	font-weight: 800;
}

/* ---------- Supplies and Tools ---------- */

.ftfx-root .ftfx-sec + .ftfx-sec {
	margin-top: 48px;
}

.ftfx-root .ftfx-head {
	margin-bottom: 20px;
	border-bottom: 1px solid var(--sand-300);
}

.ftfx-root .ftfx-head h2 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
}

.ftfx-root .ftfx-head div {
	width: 72px;
	height: 3px;
	background: var(--brass-400);
}

.ftfx-root .ftfx-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.ftfx-root .ftfx-item {
	display: flex;
	flex-direction: column;
	min-width: 0;
	box-sizing: border-box;
	padding: 14px;
	background: var(--white);
	border: 2px solid var(--sand-300);
	border-radius: var(--radius-lg, 8px);
}

.ftfx-root .ftfx-item.is-on {
	border-color: var(--brass-600);
	box-shadow: 0 2px 6px color-mix(in srgb, var(--espresso-900) 12%, transparent);
}

.ftfx-root .ftfx-ph,
.ftfx-root .ftfx-ph:is(:hover, :focus, :active) {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 10px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-md, 6px);
	overflow: hidden;
	background: var(--sand-50);
}

.ftfx-root .ftfx-ph img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ftfx-root .ftfx-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.ftfx-root .ftfx-name,
.ftfx-root .ftfx-name:is(:hover, :focus, :active) {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
}

/* A word breaks only when it alone is wider than the card (app.js joins "SweepSticks," with a word joiner); min-width 0 lets the name shrink to the card. */
.ftfx-root .ftfx-name span:first-child {
	min-width: 0;
	overflow-wrap: break-word;
}

.ftfx-root .ftfx-name:hover span:first-child {
	text-decoration: underline;
}

.ftfx-root .ftfx-i {
	flex: none;
	width: 26px;
	height: 26px;
	box-sizing: border-box;
	border-radius: 50%;
	border: 2px solid var(--brass-600);
	background: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ftfx-root .ftfx-i svg {
	fill: none;
	stroke: var(--brass-800);
	stroke-width: 3.2px;
	stroke-linecap: round;
}

.ftfx-root .ftfx-note {
	margin-top: 2px;
	font-size: 15px;
	color: var(--sand-600);
}

.ftfx-root .ftfx-choice {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.ftfx-root .ftfx-foot {
	margin-top: auto;
	padding-top: 12px;
}

.ftfx-root .ftfx-each {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 8px;
	font-size: 15px;
	color: var(--sand-600);
}

.ftfx-root .ftfx-tot {
	font-size: 17px;
	font-weight: 800;
	color: var(--espresso-900);
}

.ftfx-root .ftfx-tot.is-none {
	color: var(--sand-500);
}

.ftfx-root .ftfx-add,
.ftfx-root .ftfx-add:is(:hover, :focus, :active) {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 0 12px;
	border: 2px solid var(--brass-600);
	border-radius: var(--radius-md, 6px);
	background: var(--white);
	color: var(--brass-800);
	font-size: 17px;
	font-weight: 800;
}

.ftfx-root .ftfx-add:hover {
	background: var(--sand-50);
}

/* Loading (no drawing; stripwood's look): the cards keep their place, greyed, buttons off. */
.ftfx-root .is-loading {
	opacity: 0.5;
	transition: opacity 0.15s ease-out;
}

.ftfx-root .ftfx-wait,
.ftfx-root .ftfx-none {
	padding: 22px;
	border: 2px dashed var(--sand-400);
	border-radius: var(--radius-lg, 8px);
	color: var(--sand-600);
	font-weight: 600;
}

.ftfx-root .ftfx-loadfail {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: var(--white);
	border-left: 3px solid var(--danger);
	border-radius: var(--radius-lg, 8px);
	font-size: 16px;
}

.ftfx-root .ftfx-retry,
.ftfx-root .ftfx-retry:is(:hover, :focus, :active) {
	min-height: 44px;
	padding: 0 16px;
	border: 2px solid var(--brass-600);
	border-radius: var(--radius-md, 6px);
	background: var(--white);
	color: var(--brass-800);
	font-size: 15px;
	font-weight: 700;
}

/* ---------- Your order ---------- */

.ftfx-root .ftfx-obox {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - var(--ftfx-top) - 34px);
	box-sizing: border-box;
	padding: 20px 18px;
	background: var(--espresso-900);
	color: var(--brass-100);
	border-top: 3px solid var(--brass-400);
	border-radius: var(--radius-md, 6px);
	box-shadow: 0 2px 8px color-mix(in srgb, var(--espresso-900) 18%, transparent);
}

.ftfx-root .ftfx-ohead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 4px;
}

.ftfx-root .ftfx-ohead h2 {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--brass-400);
}

.ftfx-root .ftfx-notyet {
	margin: 0 0 4px;
	font-size: 15px;
	color: var(--brass-100);
}

.ftfx-root .ftfx-reset,
.ftfx-root .ftfx-reset:is(:hover, :focus, :active) {
	flex: none;
	margin: -13px 0;
	padding: 13px 0 13px 12px;
	border: 0;
	background: none;
	color: var(--brass-100);
	font-size: 15px;
	font-weight: 700;
	text-decoration: underline;
}

.ftfx-root .ftfx-lines {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
}

.ftfx-root .ftfx-line {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 4px 0;
	border-bottom: 1px solid color-mix(in srgb, var(--brass-100) 16%, transparent);
	font-size: 16px;
}

.ftfx-root .ftfx-line-n {
	flex: 1 1 0;
	min-width: 0;
	line-height: 1.3;
}

.ftfx-root .ftfx-line-q {
	color: var(--brass-300);
	white-space: nowrap;
}

.ftfx-root .ftfx-line-t {
	white-space: nowrap;
}

.ftfx-root .ftfx-line-x,
.ftfx-root .ftfx-line-x:is(:hover, :focus, :active) {
	width: 32px;
	height: 44px;
	flex: none;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--brass-100);
	font-size: 24px;
	line-height: 1;
}

.ftfx-root .ftfx-line-sp {
	width: 32px;
	flex: none;
}

.ftfx-root .ftfx-totrow {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-top: 14px;
	font-size: 16px;
	color: var(--brass-300);
}

.ftfx-root .ftfx-total {
	font-size: 28px;
	font-weight: 800;
	color: var(--white);
}

.ftfx-root .ftfx-ships {
	margin: 4px 0 0;
	font-weight: 700;
	color: var(--brass-400);
}

.ftfx-root .ftfx-addwrap {
	margin-top: 14px;
}

.ftfx-root .ftfx-addcart,
.ftfx-root .ftfx-addcart:is(:hover, :focus, :active) {
	width: 100%;
	min-height: 56px;
	border: 0;
	border-radius: var(--radius-md, 6px);
	background: var(--brass-400);
	color: var(--espresso-900);
	font-size: 19px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ftfx-root .ftfx-addcart:disabled {
	opacity: 0.55;
}

.ftfx-root .ftfx-shipnote {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.35;
	color: var(--brass-300);
}

/* ---------- The popup: tabs, item descriptions, the fixture picture ---------- */

.ftfx-root dialog.ftfx-dlg {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 28px 24px;
	border: 0;
	box-sizing: border-box;
	background: color-mix(in srgb, var(--espresso-900) 60%, transparent);
	color: var(--espresso-900);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.45;
}

.ftfx-root dialog.ftfx-dlg[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ftfx-root dialog.ftfx-dlg::backdrop {
	background: transparent;
}

.ftfx-root .ftfx-dlg-box {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 920px;
	max-height: 100%;
	border-radius: var(--radius-lg, 8px);
	overflow: hidden;
	background: var(--brass-100);
	box-shadow: 0 12px 40px color-mix(in srgb, var(--espresso-900) 45%, transparent);
}

.ftfx-root dialog.ftfx-dlg.ftfx-dlg--ask .ftfx-dlg-box {
	max-width: 480px;
	height: auto;
}

.ftfx-root .ftfx-ask-btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 16px;
}

.ftfx-root .ftfx-ask-cancel,
.ftfx-root .ftfx-ask-cancel:is(:hover, :focus, :active) {
	padding: 10px 20px;
	border: 2px solid var(--espresso-900);
	border-radius: 5px;
	background: var(--white);
	color: var(--espresso-900);
	font-size: 17px;
	font-weight: 700;
}

.ftfx-root .ftfx-ask-go,
.ftfx-root .ftfx-ask-go:is(:hover, :focus, :active) {
	padding: 10px 20px;
	border: 2px solid var(--brass-400);
	border-radius: 5px;
	background: var(--brass-400);
	color: var(--espresso-900);
	font-size: 17px;
	font-weight: 800;
}

.ftfx-root .ftfx-dlg-head {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px 10px 20px;
	border-bottom: 1px solid var(--sand-300);
}

.ftfx-root .ftfx-dlg-head h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}

.ftfx-root .ftfx-dlg-x,
.ftfx-root .ftfx-dlg-x:is(:hover, :focus, :active) {
	flex: none;
	min-height: 44px;
	padding: 0 14px;
	border: 2px solid var(--brass-600);
	border-radius: var(--radius-md, 6px);
	background: var(--white);
	color: var(--brass-800);
	font-size: 15px;
	font-weight: 700;
}

.ftfx-root .ftfx-dlg-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 16px 20px 20px;
}

.ftfx-root .ftfx-dlg-body p {
	margin: 0 0 12px;
}

.ftfx-root .ftfx-dlg-body :is(h3, h4) {
	margin: 16px 0 6px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
}

.ftfx-root .ftfx-dlg-body :is(h3, h4):first-child {
	margin-top: 0;
}

.ftfx-root .ftfx-dlg-body :is(img, iframe, video) {
	max-width: 100%;
}

.ftfx-root .ftfx-dlg-body img {
	height: auto;
}

.ftfx-root .ftfx-dlg-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 12px;
}

.ftfx-root .ftfx-dlg-body :is(th, td) {
	padding: 5px 10px;
	vertical-align: top;
	text-align: left;
	font-size: 15px;
	border: 0;
	border-bottom: 1px solid var(--sand-300);
}

.ftfx-root .ftfx-dlg-body th {
	padding: 6px 10px;
	background: var(--sand-200);
	color: var(--espresso-900); /* the site's table heading is white: unreadable on this band */
	border-bottom-width: 2px;
}

.ftfx-root .ftfx-res {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 32px;
}

.ftfx-root .ftfx-res li {
	margin: 0 0 14px;
	break-inside: avoid;
}

.ftfx-root .ftfx-res a {
	font-weight: 700;
}

.ftfx-root .ftfx-res span {
	font-size: 15px;
	color: var(--espresso-700);
}

.ftfx-root .ftfx-rev-sum {
	font-weight: 700;
}

.ftfx-root .ftfx-rev {
	padding: 12px 0;
	border-top: 1px solid var(--sand-300);
}

.ftfx-root .ftfx-dlg-body .ftfx-rev p {
	margin: 0;
}

.ftfx-root .ftfx-rev-who {
	margin-bottom: 4px;
}

.ftfx-root .ftfx-stars {
	color: var(--brass-600);
	letter-spacing: 2px;
}

.ftfx-root .ftfx-rev-date {
	font-size: 15px;
	color: var(--sand-600);
}

.ftfx-root .ftfx-dlg-body .ftfx-rev .ftfx-rev-item {
	margin-top: 6px;
	font-size: 15px;
	color: var(--sand-600);
}

.ftfx-root .ftfx-rev-more {
	padding-top: 12px;
	border-top: 1px solid var(--sand-300);
}

.ftfx-root .ftfx-linkbtn,
.ftfx-root .ftfx-linkbtn:is(:hover, :focus, :active) {
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--brass-600);
	font-size: 17px;
	font-weight: 700;
	text-decoration: underline;
}

/* An item popup: the big photo stays put on the left while the words scroll. */
.ftfx-root .ftfx-items {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.ftfx-root .ftfx-big {
	flex: none;
	position: sticky;
	top: 0;
	width: 340px;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	box-sizing: border-box;
	border: 1px solid var(--sand-300);
	border-radius: var(--radius-md, 6px);
	background: var(--white);
}

.ftfx-root .ftfx-itext {
	flex: 1 1 0;
	min-width: 0;
}

/* The fixture picture, large; it zooms to the file's real size. */
.ftfx-root .ftfx-zwrap {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
}

.ftfx-root .ftfx-zbox {
	border-radius: var(--radius-md, 6px);
	overflow: hidden;
}

.ftfx-root .ftfx-zpic {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	cursor: zoom-in;
	user-select: none;
}

.ftfx-root .ftfx-zbtn,
.ftfx-root .ftfx-zbtn:is(:hover, :focus, :active) {
	position: absolute;
	right: 10px;
	bottom: 10px;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: var(--radius-md, 6px);
	background: color-mix(in srgb, var(--espresso-900) 88%, transparent);
	color: var(--brass-100);
	font-size: 15px;
	font-weight: 700;
}

.ftfx-root .ftfx-zwrap.is-zoomed {
	max-width: none;
}

.ftfx-root .ftfx-zwrap.is-zoomed .ftfx-zbox {
	height: min(640px, calc(100dvh - 160px));
	overflow: auto;
	overscroll-behavior: contain;
	background: var(--steel-600);
}

.ftfx-root .ftfx-zwrap.is-zoomed .ftfx-zpic {
	cursor: grab;
}

.ftfx-root .ftfx-zwrap.is-zoomed .ftfx-zbtn {
	right: 26px;
	bottom: 26px;
}

/* ---------- Phone: the count strip, locked under the site bar (D-info-phone.dc.html, .fx-topn) ---------- */

.ftfx-root .ftfx-topn {
	display: none;
}

.ftfx-root #ftfx-topn {
	position: sticky;
	top: max(0px, calc(var(--ftfx-top) - 1px)); /* 1px under the site bar, so no gap shows */
	z-index: 9;
}

.ftfx-root .ftfx-topn {
	background: var(--brass-400);
	color: var(--espresso-900);
	box-shadow: 0 2px 6px color-mix(in srgb, var(--espresso-900) 30%, transparent);
}

.ftfx-root .ftfx-topn-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.ftfx-root .ftfx-topn-l {
	flex: 1 1 0;
	min-width: 0;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.2;
}

.ftfx-root .ftfx-ctr--top .ftfx-ctr-b,
.ftfx-root .ftfx-ctr--top .ftfx-ctr-b:is(:hover, :focus, :active) {
	width: 48px;
	background: var(--espresso-900);
	color: var(--brass-100);
}

.ftfx-root .ftfx-ctr--top .ftfx-ctr-n {
	min-width: 52px;
	border-color: var(--espresso-900);
	color: var(--espresso-900);
	font-size: 20px;
}

/* ---------- Tablet and phone: the bar at the bottom of the screen (stripwood's, D-info-phone.dc.html .fx-bar) ---------- */

.ftfx-root .ftfx-bar {
	display: none;
}

.ftfx-root #ftfx-bar {
	position: sticky;
	bottom: 0;
	z-index: 9;
}

.ftfx-root .ftfx-bar {
	background: var(--espresso-900);
	border-top: 3px solid var(--brass-400);
	color: var(--brass-100);
}

.ftfx-root .ftfx-barin {
	padding-top: 10px;
	padding-bottom: 10px;
}

.ftfx-root .ftfx-barrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
}

.ftfx-root .ftfx-barleft {
	flex: 1 1 120px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	font-size: 15px;
	line-height: 1.25;
}

.ftfx-root .ftfx-bartotal {
	font-size: 22px;
	font-weight: 800;
	color: var(--white);
}

.ftfx-root :is(.ftfx-baradd, .ftfx-baradded),
.ftfx-root :is(.ftfx-baradd, .ftfx-baradded):is(:hover, :focus, :active) {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--radius-md, 6px);
	background: var(--brass-400);
	color: var(--espresso-900);
	font-size: 18px;
	font-weight: 800;
	text-decoration: none;
	text-align: center;
	box-sizing: border-box;
}

.ftfx-root .ftfx-baradd {
	text-transform: uppercase;
}

.ftfx-root .ftfx-baradd:disabled {
	opacity: 0.55;
}

.ftfx-root .ftfx-bar :is(.ftfx-addmsg, .ftfx-addfail) {
	margin: 0 0 8px;
	font-size: 15px;
}

.ftfx-root .ftfx-bar a.ftfx-viewcart {
	color: var(--brass-100);
}

/* ---------- Curved Track (Curved.dc.html): typed count, radius search and list, custom fixture ---------- */

.ftfx-root input.ftfx-ctr-in {
	width: 60px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border-left: 0;
	border-right: 0;
	border-radius: 0;
	color: var(--espresso-900);
	font-family: var(--font-body);
	text-align: center;
	box-shadow: none;
}

.ftfx-root .ftfx-ctr--top input.ftfx-ctr-in {
	width: 64px;
}

.ftfx-root .ftfx-full {
	flex: 1 1 100%;
	min-width: 0;
}

.ftfx-root .ftfx-full .ftfx-pricerow {
	margin-top: 16px;
}

.ftfx-root .ftfx-label {
	display: block;
	margin: 0 0 8px;
	color: var(--espresso-700);
	font-weight: 400;
}

.ftfx-root input.ftfx-input {
	display: block;
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 12px;
	border: 2px solid var(--espresso-900);
	border-radius: var(--radius-md, 6px);
	background: var(--white);
	color: var(--espresso-900);
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 400;
	box-shadow: none;
}

.ftfx-root input.ftfx-search {
	max-width: 260px;
}

.ftfx-root .ftfx-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 2px solid var(--sand-400);
	border-radius: var(--radius-md, 6px);
	background: var(--white);
	overflow: hidden;
}

.ftfx-root .ftfx-set,
.ftfx-root .ftfx-set:is(:hover, :focus, :active) {
	display: block;
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	padding: 0 10px;
	border: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--sand-300) 55%, var(--white));
	border-right: 1px solid color-mix(in srgb, var(--sand-300) 55%, var(--white));
	border-radius: 0;
	background: var(--white);
	color: var(--espresso-900);
	text-align: left;
	font-size: 17px;
	font-weight: 700;
}

.ftfx-root .ftfx-set:hover {
	background: var(--sand-50);
}

.ftfx-root .ftfx-set.is-on,
.ftfx-root .ftfx-set.is-on:is(:hover, :focus, :active) {
	background: var(--espresso-900);
	color: var(--brass-100);
}

.ftfx-root .ftfx-noset {
	grid-column: 1 / -1;
	margin: 0;
	padding: 14px;
	color: var(--sand-600);
}

.ftfx-root .ftfx-wide,
.ftfx-root .ftfx-wide:is(:hover, :focus, :active) {
	display: block;
	width: 100%;
	min-height: 52px;
	box-sizing: border-box;
	margin: 8px 0 0;
	padding: 6px 14px;
	border: 2px solid var(--brass-600);
	border-radius: var(--radius-md, 6px);
	background: var(--brass-100);
	color: var(--brass-800);
	font-size: 17px;
	font-weight: 700;
}

.ftfx-root .ftfx-wide--dash,
.ftfx-root .ftfx-wide--dash:is(:hover, :focus, :active) {
	border-style: dashed;
	background: var(--white);
}

.ftfx-root .ftfx-wide:hover {
	border-color: var(--brass-800);
}

.ftfx-root .ftfx-custom {
	padding: 16px;
	border: 2px solid var(--sand-400);
	border-radius: var(--radius-md, 6px);
	background: var(--brass-100);
}

.ftfx-root .ftfx-custom p {
	margin: 0 0 12px;
	color: var(--espresso-700);
}

.ftfx-root .ftfx-custom .ftfx-custom-h {
	margin: 0 0 6px;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 16px;
	color: var(--espresso-900);
	font-size: 18px;
	font-weight: 800;
}

.ftfx-root .ftfx-back,
.ftfx-root .ftfx-back:is(:hover, :focus, :active) {
	min-height: 48px;
	padding: 0 16px;
	border: 2px solid var(--brass-600);
	border-radius: var(--radius-md, 6px);
	background: var(--white);
	color: var(--brass-800);
	font-size: 17px;
	font-weight: 700;
}

.ftfx-root .ftfx-crow {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px;
	margin: 0 0 12px;
}

.ftfx-root .ftfx-clabel {
	flex: 0 0 110px;
	font-size: 15px;
	font-weight: 700;
}

.ftfx-root .ftfx-clabel input.ftfx-input {
	margin-top: 4px;
	padding: 0 10px;
}

.ftfx-root .ftfx-ctypes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

/* No fixture yet (an answer cleared): a plain dark tile in the picture's place. */
.ftfx-root .ftfx-blank {
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	padding: 12px;
	border-radius: var(--radius-md, 6px);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: radial-gradient(120% 90% at 50% 20%, var(--steel-600) 0%, color-mix(in srgb, var(--steel-600) 45%, black) 60%, color-mix(in srgb, var(--steel-600) 30%, black) 100%);
	color: var(--white);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.ftfx-root .ftfx-hint {
	padding: 22px;
	border: 2px dashed var(--sand-400);
	border-radius: var(--radius-lg, 8px);
	color: var(--sand-600);
	font-weight: 600;
}

@container ftfx (max-width: 760px) {
	.ftfx-root .ftfx-list {
		grid-template-columns: 1fr 1fr;
	}
}

/* ---------- Narrower ---------- */

@container ftfx (max-width: 1031px) {
	.ftfx-root .ftfx-side {
		position: static;
		margin-top: 0;
	}

	.ftfx-root .ftfx-obox {
		max-height: none;
	}

	.ftfx-root .ftfx-bar {
		display: block;
	}

	/* The bar holds Add to cart and what happened to it. */
	.ftfx-root .ftfx-addwrap {
		display: none;
	}
}

/* Phones: "Added · View cart" is too long to sit beside the total, so it takes its own row. */
@container ftfx (max-width: 420px) {
	.ftfx-root .ftfx-baradded,
	.ftfx-root .ftfx-baradded:is(:hover, :focus, :active) {
		flex: 1 1 100%;
	}
}

/* Very narrow phones: Add to cart takes its own row too. */
@container ftfx (max-width: 330px) {
	/* Two cards a row still: a little less between them and a smaller name, so "SweepSticks," keeps whole. */
	.ftfx-root .ftfx-grid {
		gap: 10px;
	}

	.ftfx-root .ftfx-name,
	.ftfx-root .ftfx-name:is(:hover, :focus, :active) {
		font-size: 15px;
	}

	.ftfx-root :is(.ftfx-baradd, .ftfx-baradded),
	.ftfx-root :is(.ftfx-baradd, .ftfx-baradded):is(:hover, :focus, :active) {
		flex: 1 1 100%;
	}
}

@container ftfx (max-width: 760px) {
	.ftfx-root .ftfx-items {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.ftfx-root .ftfx-big {
		position: static;
		width: 100%;
		max-width: 420px;
		align-self: center;
	}

	.ftfx-root .ftfx-res {
		columns: 1;
	}
}

@container ftfx (max-width: 600px) {
	.ftfx-root .ftfx-stick {
		position: static;
	}

	.ftfx-root .ftfx-stick::after {
		display: none;
	}

	.ftfx-root .ftfx-h1 {
		font-size: 26px;
	}

	.ftfx-root .ftfx-card {
		padding: 16px;
	}

	.ftfx-root .ftfx-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.ftfx-root .ftfx-item {
		padding: 10px;
	}

	.ftfx-root .ftfx-banner {
		padding: 14px;
		gap: 10px;
	}

	.ftfx-root .ftfx-bn-h {
		font-size: 18px;
	}

	.ftfx-root .ftfx-bn-steps {
		flex-wrap: wrap;
		gap: 8px;
		font-size: 16px;
	}

	.ftfx-root .ftfx-bn-step1 {
		flex: 1 1 100%;
	}

	.ftfx-root .ftfx-bn-btn,
	.ftfx-root .ftfx-bn-btn:is(:hover, :focus, :active) {
		min-height: 52px;
		padding: 6px 12px;
		font-size: 17px;
	}

	.ftfx-root .ftfx-bn-step {
		min-height: 44px;
		padding: 6px 10px;
		gap: 8px;
	}

	.ftfx-root .ftfx-bn-ph {
		display: none;
	}

	.ftfx-root dialog.ftfx-dlg {
		padding: 10px;
	}

	/* Tab and item popups fill the screen less the margin; the picture popup keeps to the picture. */
	.ftfx-root dialog.ftfx-dlg:not(.ftfx-dlg--pic):not(.ftfx-dlg--ask) .ftfx-dlg-box {
		height: 100%;
	}

	.ftfx-root .ftfx-dlg-head {
		flex-wrap: wrap;
		padding: 8px 8px 8px 14px;
	}

	.ftfx-root .ftfx-dlg-head h2 {
		font-size: 19px;
	}

	/* A long heading on a very narrow phone: Close moves under it, on the right. */
	.ftfx-root .ftfx-dlg-x,
	.ftfx-root .ftfx-dlg-x:is(:hover, :focus, :active) {
		margin-left: auto;
	}

	.ftfx-root .ftfx-dlg-body {
		padding: 12px 14px 16px;
	}

	.ftfx-root .ftfx-big {
		max-width: none;
	}

	.ftfx-root .ftfx-zoom-ic {
		right: 5px;
		bottom: 5px;
		width: 28px;
		height: 28px;
	}

	/* The count moves from the tab row to the strip under the site bar. */
	.ftfx-root .ftfx-qty {
		display: none;
	}

	.ftfx-root .ftfx-topn {
		display: block;
	}

	.ftfx-root .ftfx-about {
		padding: 8px;
	}

	/* The four tab buttons, two to a row. */
	.ftfx-root .ftfx-about .ftfx-row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ftfx-root .ftfx-tab,
	.ftfx-root .ftfx-tab:is(:hover, :focus, :active) {
		padding: 4px 8px;
	}

	/* Less to scroll past: a 140 px fixture picture with its note beside it, the sizes five to a row. */
	.ftfx-root .ftfx-fig {
		flex: 1 1 100%;
		max-width: none;
		display: flex;
		align-items: center;
		gap: 12px;
	}

	.ftfx-root .ftfx-fig .ftfx-zoom {
		flex: none;
		width: min(140px, 50%);
	}

	.ftfx-root .ftfx-fig .ftfx-blank {
		flex: none;
		width: min(140px, 50%);
		font-size: 17px;
	}

	.ftfx-root .ftfx-figtext {
		flex: 1 1 0;
		min-width: 0;
	}

	/* The lost set's custom offer goes under the picture and its words, the full width. */
	.ftfx-root .ftfx-fig:has(> .ftfx-wide) {
		flex-wrap: wrap;
	}

	.ftfx-root .ftfx-fig > .ftfx-wide {
		flex: 1 1 100%;
		margin-top: 0;
	}

	.ftfx-root .ftfx-pop {
		margin: 0;
	}

	.ftfx-root .ftfx-pills--size {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.ftfx-root .ftfx-pills--size .ftfx-pill,
	.ftfx-root .ftfx-pills--size .ftfx-pill:is(:hover, :focus, :active) {
		min-width: 0;
		padding: 0;
	}
}

/* Five sizes to a row would make them narrower than a fingertip: four. The tab buttons' words get a little more room. */
@container ftfx (max-width: 329px) {
	.ftfx-root .ftfx-pills--size {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ftfx-root .ftfx-tab,
	.ftfx-root .ftfx-tab:is(:hover, :focus, :active) {
		padding: 4px;
		font-size: 14px;
	}
}

/* ---------- Add to cart: added, partly added, could not add ---------- */

.ftfx-root .ftfx-added {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 14px;
	min-height: 56px;
	padding: 10px 14px;
	border-radius: var(--radius-md, 6px);
	background: var(--brass-400);
	color: var(--espresso-900);
	font-size: 19px;
	font-weight: 800;
}

.ftfx-root .ftfx-added a.ftfx-viewcart,
.ftfx-root .ftfx-added a.ftfx-viewcart:is(:hover, :focus) {
	color: var(--espresso-900);
	font-size: 16px;
	text-decoration: underline;
}

.ftfx-root .ftfx-addmsg,
.ftfx-root .ftfx-addfail {
	margin: 0 0 10px;
	padding: 0;
	font-size: 16px;
	line-height: 1.35;
	color: var(--white);
}

.ftfx-root .ftfx-addfail {
	list-style: none;
}

.ftfx-root .ftfx-addfail li + li {
	margin-top: 6px;
}

.ftfx-root .ftfx-addfail strong {
	color: var(--brass-300);
}

/* The banner sits in the main column, whose width does not follow the page's: below about
   780 px of banner the step photos crowd the words, so the steps go words-only. */
@container ftfxbn (max-width: 780px) {
	.ftfx-root .ftfx-bn-ph {
		display: none;
	}
}

/* The narrowest phones: one tab button a row, so no tab name breaks; one card a row, so no card name
   ("Branchline QuickSticks tie strips") breaks inside a word. */
@container ftfx (max-width: 300px) {
	.ftfx-root .ftfx-about .ftfx-row {
		grid-template-columns: 1fr;
	}
}

/* Two cards a row leave too little room for a long name ("Pliobond contact cement", "Dual gauge QuickSticks, right-hand, drilled") below 340 px. */
@container ftfx (max-width: 340px) {
	.ftfx-root .ftfx-grid {
		grid-template-columns: 1fr;
	}
}

/* An item the shop has none of: said on the card, never put in the order. */
.ftfx-root .ftfx-out {
	margin: 0;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed var(--ftfx-line);
	border-radius: var(--radius-md, 6px);
	font-size: 15px;
	font-weight: 700;
	color: var(--sand-600);
}

/* Selection-test fixes (0.22.10): the fixture page's price line keeps one height while the price loads; its action buttons share the Add to cart case. */
.ftfx-root .ftfx-pricerow--fx :is(.ftfx-sku, .ftfx-price) {
	line-height: 32px;
}

.ftfx-root .ftfx-price.is-pending {
	visibility: hidden;
}

.ftfx-root :is(.ftfx-add, .ftfx-retry, .ftfx-ask-cancel, .ftfx-ask-go) {
	text-transform: uppercase;
}

/* Selection-test fixes (0.22.11, layout) */

/* SEL-03: the order box stays in view; its list scrolls inside it. While rows are hidden below, a fade and "More below" say so (app.js / qs.js toggle has-more). */
.ftfx-root .ftfx-lines::after {
	content: "";
	display: none;
	position: sticky;
	bottom: 0;
	height: 40px;
	margin-top: -40px;
	background: linear-gradient(to bottom, transparent, var(--espresso-900) 60%);
	pointer-events: none;
}

.ftfx-root .ftfx-obox.has-more .ftfx-lines::after {
	content: "More below \2193";
	display: block;
	padding-top: 20px;
	box-sizing: border-box;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	color: var(--brass-400);
}

/* SEL-16: the cards are too narrow for "QuickSticks" or "CopperHead" at full size beside the (i); less padding and a smaller name keep each word whole. */
@container ftfx (max-width: 390px) {
	.ftfx-root .ftfx-item {
		padding: 8px;
	}

	.ftfx-root .ftfx-name,
	.ftfx-root .ftfx-name:is(:hover, :focus, :active) {
		gap: 4px;
		font-size: 15px;
	}
}

@container ftfx (max-width: 360px) {
	.ftfx-root .ftfx-name,
	.ftfx-root .ftfx-name:is(:hover, :focus, :active) {
		font-size: 14px;
	}
}

@container ftfx (min-width: 601px) and (max-width: 680px) {
	.ftfx-root .ftfx-item {
		padding: 10px;
	}

	.ftfx-root .ftfx-name,
	.ftfx-root .ftfx-name:is(:hover, :focus, :active) {
		font-size: 16px;
	}
}

/* SEL-04: on phones the Specifications table stacks: each row is its parameter, value and details as lines (no sideways scroll). */
@container ftfx (max-width: 600px) {
	.ftfx-root .ftfx-dlg-body table,
	.ftfx-root .ftfx-dlg-body tbody,
	.ftfx-root .ftfx-dlg-body tr,
	.ftfx-root .ftfx-dlg-body td {
		display: block;
		width: auto;
		box-sizing: border-box;
	}

	/* The heading row repeats what each line already says. Kept for screen readers. */
	.ftfx-root .ftfx-dlg-body thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.ftfx-root .ftfx-dlg-body tr {
		padding: 8px 0;
		border-bottom: 1px solid var(--sand-300);
	}

	/* ID-led too: a site table rule draws side borders on the first and last cells. */
	.ftfx-root .ftfx-dlg-body td,
	#ftfx-dlg .ftfx-dlg-body td {
		padding: 1px 10px;
		border: 0;
		overflow-wrap: break-word;
	}

	.ftfx-root .ftfx-dlg-body td.column-1 {
		font-weight: 800;
	}

	.ftfx-root .ftfx-dlg-body td.column-3 {
		color: var(--espresso-700);
	}

	/* SEL-24: a heading and Close share the row; a long heading wraps beside Close instead of pushing it onto its own line. */
	.ftfx-root .ftfx-dlg-head h2 {
		flex: 1 1 0;
		min-width: 0;
	}
}

/* SEL-35: until the app's first draw (app.js / qs.js add is-drawn), its area keeps a first-screen-plus height so the footer is not drawn near the top and then shoved down. */
.ftfx-root #ftfx-app:not(.is-drawn) {
	min-height: 1200px;
}
