/* DFS redesign, DESIGN 3 "The Facility Builder": products + quote (owner D3-B).
   Products landing = dark "zone" tiles; /shop/ = The Facility Planner (blueprint floor plan, icon types, brand plates,
   command-line search, annotation tags); cards and product pages read like spec sheets; the quote is a dark plan sheet.
   Tokens: css/dfs-tokens.css. Shared components (buttons, .dfs-lit / .dfs-fleck surfaces, .dfs-numeral, .dfs-eyebrow, motion): css/dfs-base.css. */

:root {
	--dfs-p-muted: var(--dfs-ink-70, color-mix(in srgb, var(--dfs-black) 76%, var(--dfs-white)));
	--dfs-p-line: var(--dfs-line, color-mix(in srgb, var(--dfs-navy) 16%, var(--dfs-white)));
	--dfs-p-paper: color-mix(in srgb, var(--dfs-periwinkle) 14%, var(--dfs-white));
	/* Registration marks in four corners (drawing-sheet corners). */
	--dfs-p-tick: color-mix(in srgb, var(--dfs-navy) 45%, transparent);
	--dfs-p-corners:
		linear-gradient(var(--dfs-p-tick), var(--dfs-p-tick)) left top / 12px 1px,
		linear-gradient(var(--dfs-p-tick), var(--dfs-p-tick)) left top / 1px 12px,
		linear-gradient(var(--dfs-p-tick), var(--dfs-p-tick)) right top / 12px 1px,
		linear-gradient(var(--dfs-p-tick), var(--dfs-p-tick)) right top / 1px 12px,
		linear-gradient(var(--dfs-p-tick), var(--dfs-p-tick)) left bottom / 12px 1px,
		linear-gradient(var(--dfs-p-tick), var(--dfs-p-tick)) left bottom / 1px 12px,
		linear-gradient(var(--dfs-p-tick), var(--dfs-p-tick)) right bottom / 12px 1px,
		linear-gradient(var(--dfs-p-tick), var(--dfs-p-tick)) right bottom / 1px 12px;
}

:where(.dfs-builder, .dfs-quote, .dfs-quote-page, .dfs-product-page) [hidden] { display: none !important; }
.dfs-file-type { font-weight: 400; opacity: .8; }
/* Small technical labels: mono caps, like dimension text on a drawing. */
.dfs-p-label,
.dfs-filters__group legend,
.dfs-results__summary,
.dfs-card__toggle,
.dfs-specs dt,
.dfs-quote__sheet,
.dfs-quote-page__sheet,
.dfs-quote-page__cols,
.dfs-breadcrumb,
.dfs-pdp__model {
	font-family: var(--dfs-font-mono);
	font-weight: 500;
	font-size: var(--dfs-fs-label);
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* ===========================================================================
   The Facility Planner (/shop/)
   ======================================================================== */
.dfs-builder { background-color: var(--dfs-white); color: var(--dfs-black); }
.dfs-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Head: navy blueprint band with the title and the floor plan */
.dfs-builder__head { padding-block: clamp(32px, 4vw, 64px) clamp(32px, 4vw, 56px); }
.dfs-builder__head-inner { display: grid; gap: 28px clamp(32px, 4vw, 64px); align-items: end; }
@media (min-width: 1024px) {
	.dfs-builder__head-inner { grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); }
}
@media (min-width: 1200px) {
	.dfs-builder__head-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2.45fr); }
}
.dfs-builder__intro { container-type: inline-size; }
.dfs-builder__kicker { margin-bottom: 1rem; }
.dfs-builder__title {
	margin: 0;
	font-size: clamp(1.5rem, 9cqi, 2.9rem); /* the longest one-word titles (brand / type names, ~13 letters) fit the column */
	line-height: .95;
	color: var(--dfs-white);
}
.dfs-builder__lead { max-width: 42ch; margin: 1.1rem 0 0; font-size: var(--dfs-fs-small); line-height: 1.55; }

/* Floor plan (768px+): an SVG drawing with the zone links laid over it in plan percentages.
   Phones, and categories without a zone: a 2-column grid of blueprint zone tiles (no sideways scrolling). */
.dfs-cats__list { margin: 0; padding: 0; list-style: none; }
.dfs-plan__base,
.dfs-plan__note,
.dfs-zone__art { display: none; }
.dfs-plan__all-kicker { font: 500 10px/1.3 var(--dfs-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dfs-periwinkle); }
.dfs-zone__count { font-variant-numeric: tabular-nums; }

.dfs-cats__list--extra { margin-top: 12px; }
.dfs-cats__list--extra,
.dfs-plan__zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dfs-cats__item--all { grid-column: 1 / -1; }
.dfs-cats__list .dfs-cats__link {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 6px;
	height: 100%;
	min-height: 52px;
	padding: 12px;
	border: 1px dashed var(--dfs-blueprint-line);
	background: color-mix(in srgb, var(--dfs-navy) 70%, var(--dfs-black));
	color: var(--dfs-white);
	text-decoration: none;
}
.dfs-cats__list .dfs-zone__tag { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; }
.dfs-cats__list :is(.dfs-zone__name, .dfs-zone__count) { font: 600 var(--dfs-fs-label)/1.25 var(--dfs-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.dfs-cats__list .dfs-zone__count { color: var(--dfs-periwinkle); }
.dfs-cats__list .dfs-cats__link:hover { border-style: solid; border-color: var(--dfs-periwinkle); color: var(--dfs-white); }
.dfs-cats__list--extra .dfs-cats__link[aria-current="true"],
.dfs-cats__list--extra .dfs-cats__link[aria-current="true"] :is(.dfs-zone__count, .dfs-plan__all-kicker) { border-color: var(--dfs-orange); background: var(--dfs-orange); color: var(--dfs-black); }
@media (max-width: 767.98px) {
	.dfs-plan__zones .dfs-cats__link[aria-current="true"] { border: 1.5px solid var(--dfs-orange); background: var(--dfs-orange); color: var(--dfs-black); }
	.dfs-plan__zones .dfs-cats__link[aria-current="true"] :is(.dfs-zone__count, .dfs-plan__all-kicker) { color: var(--dfs-black); }
}
.dfs-cats__list .dfs-zone.is-empty:not([aria-current="true"]) { opacity: .5; }
.dfs-cats__list .dfs-cats__link:focus-visible { outline: 2px solid var(--dfs-white); outline-offset: 3px; }

@media (min-width: 768px) {
	.dfs-plan { position: relative; }
	.dfs-plan__zones { position: relative; display: block; aspect-ratio: 1000 / 620; }
	.dfs-plan__base { display: block; position: absolute; top: 0; left: 0; width: 100%; height: auto; aspect-ratio: 1000 / 620; overflow: visible; }
	.dfs-plan__base path { fill: none; stroke: var(--dfs-blueprint-line); stroke-width: 1; }
	.dfs-plan__base .dfs-plan__wall { stroke: color-mix(in srgb, var(--dfs-periwinkle) 75%, transparent); stroke-width: 3; }
	.dfs-plan__base .dfs-plan__wall--in { stroke-width: 1; }
	.dfs-plan__base .dfs-plan__window { stroke-dasharray: 36 8; stroke-width: 2; }
	.dfs-plan__note {
		display: block;
		position: absolute;
		left: 4%;
		top: 89.5%;
		z-index: 1;
		margin: 0;
		font: 500 var(--dfs-fs-label)/1.3 var(--dfs-font-mono);
		letter-spacing: .1em;
		text-transform: uppercase;
		color: var(--dfs-periwinkle);
	}
	.dfs-plan__zones .dfs-cats__item { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); }
	.dfs-plan__zones .dfs-cats__item--all { left: 70%; top: 86.6%; width: 26%; height: 10.8%; }

	/* Zones: dashed edge and line art at rest; hover, focus and the chosen zone draw an orange outline round and light up. */
	.dfs-plan__zones .dfs-zone { position: absolute; inset: 0; display: block; min-height: 0; padding: 0; border: 0; background: none; }
	.dfs-plan__zones .dfs-zone[aria-current="true"] { border: 0; background: none; }
	.dfs-zone__art { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
	.dfs-zone__edge { fill: transparent; stroke: var(--dfs-blueprint-line); stroke-dasharray: 5 5; transition: fill var(--dfs-dur-fast) linear; }
	.dfs-zone__kit * { fill: none; stroke: color-mix(in srgb, var(--dfs-periwinkle) 62%, transparent); stroke-width: 1.25; transition: stroke var(--dfs-dur-fast) linear; }
	.dfs-zone__outline {
		fill: none;
		stroke: var(--dfs-orange);
		stroke-width: 2.5;
		stroke-dasharray: 1;
		stroke-dashoffset: 1;
		transition: stroke-dashoffset var(--dfs-dur-slow) var(--dfs-ease-draw);
	}
	.dfs-zone:is(:hover, :focus-visible, [aria-current="true"]) .dfs-zone__outline { stroke-dashoffset: 0; }
	/* Only the chosen zone fills and lights its line art; keyboard focus adds a white ring on top of either state. */
	.dfs-zone[aria-current="true"] .dfs-zone__edge { fill: color-mix(in srgb, var(--dfs-orange) 14%, transparent); }
	.dfs-zone[aria-current="true"] .dfs-zone__kit * { stroke: var(--dfs-orange-light); }
	.dfs-plan__zones .dfs-zone:focus-visible { outline: 2px solid var(--dfs-white); outline-offset: 4px; }
	/* While "All equipment" is chosen the zone edges read a little stronger. */
	.dfs-plan__zones:has(.dfs-plan__all[aria-current="true"]) .dfs-zone__edge { stroke: color-mix(in srgb, var(--dfs-periwinkle) 60%, transparent); }

	/* Measurement tag: zone name + live product count */
	.dfs-plan__zones .dfs-zone__tag {
		position: absolute;
		left: 6px;
		top: 6px;
		display: inline-flex;
		justify-content: flex-start;
		max-width: calc(100% - 12px);
		padding: 4px 7px;
		border: 1px solid var(--dfs-blueprint-line);
		background: color-mix(in srgb, var(--dfs-navy) 88%, transparent);
		transition: background-color var(--dfs-dur-fast) linear, border-color var(--dfs-dur-fast) linear;
	}
	.dfs-plan__zones .dfs-zone:is(:hover, :focus-visible) .dfs-zone__tag { border-color: var(--dfs-orange); }
	.dfs-plan__zones .dfs-zone[aria-current="true"] .dfs-zone__tag { border-color: var(--dfs-orange); background: var(--dfs-orange); color: var(--dfs-black); }
	.dfs-plan__zones .dfs-zone[aria-current="true"] .dfs-zone__count { color: var(--dfs-black); }
	/* The storage zone is a strip along the wall: its tag runs up the wall. */
	.dfs-plan__zones .dfs-zone--storage .dfs-zone__tag { top: auto; bottom: 6px; max-width: none; writing-mode: vertical-rl; transform: rotate(180deg); }

	/* "All equipment" = the drawing's title block, bottom right of the sheet */
	.dfs-plan__zones .dfs-plan__all {
		position: absolute;
		inset: 0;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-content: center;
		gap: 2px 12px;
		min-height: 0;
		padding: 6px 12px;
		border: 1.5px solid color-mix(in srgb, var(--dfs-periwinkle) 75%, transparent);
		background: color-mix(in srgb, var(--dfs-navy) 88%, transparent);
		transition: background-color var(--dfs-dur-fast) linear, border-color var(--dfs-dur-fast) linear;
	}
	.dfs-plan__zones .dfs-plan__all-kicker { grid-column: 1 / -1; }
	.dfs-plan__zones .dfs-plan__all .dfs-zone__name { font: var(--dfs-display-weight) clamp(.75rem, .45rem + .5vw, 1rem)/1.1 var(--dfs-font-display); font-stretch: var(--dfs-display-stretch); letter-spacing: 0; }
	.dfs-plan__zones .dfs-plan__all .dfs-zone__count { align-self: end; font-size: clamp(.85rem, .6rem + .5vw, 1.1rem); color: var(--dfs-orange); }
	.dfs-plan__zones .dfs-plan__all:is(:hover, :focus-visible) { border-color: var(--dfs-orange); background: color-mix(in srgb, var(--dfs-orange) 16%, var(--dfs-navy)); }
	.dfs-plan__zones .dfs-plan__all[aria-current="true"] { border: 1.5px solid var(--dfs-orange); background: color-mix(in srgb, var(--dfs-orange) 16%, var(--dfs-navy)); }
	.dfs-plan__zones .dfs-plan__all:focus-visible { outline: 2px solid var(--dfs-white); outline-offset: 4px; }
	/* The hint has done its job once a zone is chosen. */
	.dfs-plan:has(.dfs-zone[aria-current="true"]) .dfs-plan__note { visibility: hidden; }
}

.dfs-builder__notices:empty { display: none; }
.dfs-builder__notices .woocommerce-notices-wrapper:not(:empty) { padding-top: 24px; }

/* Work area: deck + results, and the quote column on wide screens */
.dfs-builder__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	padding-block: 28px clamp(64px, 8vw, 112px);
}
.dfs-builder__main { min-width: 0; display: grid; gap: 24px; align-content: start; }
@media (min-width: 1200px) {
	.dfs-builder__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
}
@media (max-width: 1199.98px) {
	.dfs-builder__layout { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Filter deck: command-line search, equipment-type icons, brand plates ---------- */
.dfs-filters__panel { display: grid; gap: 22px; }
.dfs-filters__toggle,
.dfs-filters__sheet-head,
.dfs-filters__backdrop,
.dfs-filters__done { display: none; }

.dfs-cli {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 0 18px;
	min-height: 58px;
	border-radius: var(--dfs-radius);
	background: var(--dfs-black);
	color: var(--dfs-white);
}
.dfs-cli:focus-within { outline: 2px solid var(--dfs-orange); outline-offset: 2px; }
.dfs-cli__prompt { flex: none; font: 600 var(--dfs-fs-label)/1 var(--dfs-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dfs-periwinkle); }
.dfs-cli__prompt::after { content: " >"; color: var(--dfs-orange); }
.dfs-cli__field { position: relative; flex: 1 1 auto; display: flex; min-width: 0; }
.dfs-cli input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 56px;
	padding: 0 0 0 1em;
	border: 0;
	background: transparent;
	color: var(--dfs-white);
	caret-color: var(--dfs-orange);
	font: 500 16px/1 var(--dfs-font-mono);
	-webkit-appearance: none;
	appearance: none;
}
.dfs-cli input[type="search"]:focus-visible { outline: none; }
.dfs-cli input::placeholder { color: color-mix(in srgb, var(--dfs-white) 58%, transparent); opacity: 1; }
.dfs-cli input::-webkit-search-cancel-button { filter: invert(1); }
/* A block caret blinks at the prompt until the field is used (the real caret takes over on focus). */
.dfs-cli__caret {
	position: absolute;
	left: 0;
	top: 50%;
	width: .55em;
	height: 1.15em;
	margin-top: -.58em;
	background: var(--dfs-orange);
	font-size: 16px;
	pointer-events: none;
}
.dfs-cli__field:has(input:focus) .dfs-cli__caret,
.dfs-cli__field:has(input:not(:placeholder-shown)) .dfs-cli__caret { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.dfs-cli__caret { animation: dfs-blink 1.06s steps(1) infinite; }
}
@keyframes dfs-blink { 50% { opacity: 0; } }

.dfs-filters__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.dfs-filters__group legend { display: block; width: 100%; margin: 0 0 10px; padding: 0 0 8px; border-bottom: 1px solid var(--dfs-p-line); color: var(--dfs-blue); }
.dfs-filters__hint { margin: 0; font-size: var(--dfs-fs-small); color: var(--dfs-p-muted); }
.dfs-types,
.dfs-plates { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dfs-types { grid-template-columns: repeat(auto-fill, minmax(min(100%, 98px), 1fr)); }
.dfs-plates { grid-template-columns: repeat(auto-fill, minmax(min(100%, 124px), 1fr)); }
.dfs-type,
.dfs-plate { position: relative; cursor: pointer; transition: border-color var(--dfs-dur-fast) linear, background-color var(--dfs-dur-fast) linear; }
/* The real checkbox covers its tile (keyboard, screen readers and no-JS forms use it); the tile shows its state. */
.dfs-toggle { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
:is(.dfs-type, .dfs-plate):has(.dfs-toggle:focus-visible) { outline: 2px solid var(--dfs-orange); outline-offset: 2px; }
/* Pressed: an orange indicator lamp in the corner. */
:is(.dfs-type, .dfs-plate):has(.dfs-toggle:checked)::after {
	content: "";
	position: absolute;
	top: 6px;
	right: 6px;
	width: 7px;
	height: 7px;
	background: var(--dfs-orange);
}

.dfs-type {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 96px;
	height: 100%;
	padding: 10px 6px 8px;
	border: 1px solid var(--dfs-p-line);
	background: var(--dfs-white);
	color: var(--dfs-black);
	font-size: .78rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}
.dfs-type__icon {
	width: 44px;
	height: 44px;
	fill: none;
	stroke: var(--dfs-navy);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 1; /* every shape has pathLength="1": one full dash = the whole line */
}
.dfs-type.is-text .dfs-toggle__name { font-size: .85rem; }
.dfs-type:hover { border-color: var(--dfs-navy); }
.dfs-type:has(.dfs-toggle:checked) { border-color: var(--dfs-orange); background: color-mix(in srgb, var(--dfs-orange) 8%, var(--dfs-white)); box-shadow: inset 0 0 0 1px var(--dfs-orange); }
.dfs-type:has(.dfs-toggle:checked) .dfs-type__icon { stroke: var(--dfs-orange); animation: dfs-icon-draw var(--dfs-dur-draw) var(--dfs-ease-draw) both; }
@keyframes dfs-icon-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Brand "spec plates": brushed nameplates with four rivets */
.dfs-plate {
	display: grid;
	place-items: center;
	height: 58px;
	padding: 8px 16px;
	border: 1px solid color-mix(in srgb, var(--dfs-navy) 24%, var(--dfs-white));
	border-radius: 3px;
	background: linear-gradient(172deg, var(--dfs-white) 0%, color-mix(in srgb, var(--dfs-periwinkle) 18%, var(--dfs-white)) 55%, color-mix(in srgb, var(--dfs-navy) 10%, var(--dfs-white)) 100%);
	box-shadow: inset 0 1px 0 var(--dfs-white), inset 0 -1px 0 color-mix(in srgb, var(--dfs-navy) 14%, transparent);
}
.dfs-plate::before {
	--r: color-mix(in srgb, var(--dfs-navy) 40%, var(--dfs-white));
	content: "";
	position: absolute;
	inset: 5px;
	background:
		radial-gradient(circle, var(--r) 1.4px, transparent 2px) left top / 5px 5px no-repeat,
		radial-gradient(circle, var(--r) 1.4px, transparent 2px) right top / 5px 5px no-repeat,
		radial-gradient(circle, var(--r) 1.4px, transparent 2px) left bottom / 5px 5px no-repeat,
		radial-gradient(circle, var(--r) 1.4px, transparent 2px) right bottom / 5px 5px no-repeat;
	pointer-events: none;
}
.dfs-plate__logo {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 26px;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: grayscale(1) contrast(1.15);
	opacity: .82;
	transition: filter var(--dfs-dur-fast) linear, opacity var(--dfs-dur-fast) linear;
}
.dfs-plate .dfs-toggle__name { font: 700 var(--dfs-fs-label)/1.2 var(--dfs-font-mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--dfs-navy); }
.dfs-plate:hover { border-color: var(--dfs-navy); }
.dfs-plate:is(:hover, :has(.dfs-toggle:checked)) .dfs-plate__logo { filter: none; opacity: 1; }
.dfs-plate:has(.dfs-toggle:checked) { border-color: var(--dfs-orange); box-shadow: inset 0 0 0 1px var(--dfs-orange); }

.dfs-filters__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 0; }
.dfs-js .dfs-filters__apply { display: none; }
.dfs-filters__clear { font: 600 var(--dfs-fs-label)/1.3 var(--dfs-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dfs-blue); text-decoration-color: var(--dfs-orange); text-underline-offset: .35em; }
@media (min-width: 900px) {
	.dfs-js .dfs-filters__actions { display: none; } /* the annotation bar has Reset plan */
}

/* Phones and tablets: the deck is a bottom sheet behind one "Search and filter" bar */
@media (max-width: 899.98px) {
	.dfs-js .dfs-filters__toggle {
		display: flex;
		align-items: center;
		gap: 10px;
		width: 100%;
		min-height: 54px;
		padding: 10px 18px;
		border: 0;
		border-radius: var(--dfs-radius);
		background: var(--dfs-black);
		color: var(--dfs-white);
		font: 600 var(--dfs-fs-label)/1 var(--dfs-font-mono);
		letter-spacing: .12em;
		text-transform: uppercase;
		cursor: pointer;
	}
	.dfs-js .dfs-filters__toggle::before { content: ">"; color: var(--dfs-orange); }
	.dfs-filters__badge { display: grid; place-items: center; min-width: 26px; height: 26px; margin-left: auto; padding: 0 6px; background: var(--dfs-orange); color: var(--dfs-black); }
	.dfs-js .dfs-filters__panel {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9003;
		max-height: min(88vh, 88dvh);
		overflow-y: auto;
		overscroll-behavior: contain;
		gap: 20px;
		padding: 0 20px calc(20px + env(safe-area-inset-bottom, 0px));
		background: var(--dfs-white);
		border-top: 3px solid var(--dfs-orange);
		transform: translateY(100%);
		visibility: hidden;
		transition: transform var(--dfs-dur) var(--dfs-ease-in-out), visibility 0s linear var(--dfs-dur);
	}
	.dfs-js .dfs-filters__panel.is-open { transform: none; visibility: visible; transition: transform var(--dfs-dur) var(--dfs-ease-out); }
	.dfs-js .dfs-filters__sheet-head {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0 -20px;
		padding: 10px 12px 10px 20px;
		background: var(--dfs-white);
		border-bottom: 1px solid var(--dfs-p-line);
	}
	.dfs-filters__sheet-title { margin: 0; font: var(--dfs-display-weight) 1rem/1.1 var(--dfs-font-display); font-stretch: var(--dfs-display-stretch); text-transform: uppercase; outline: none; }
	.dfs-filters__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; }
	.dfs-filters__close:hover { background: var(--dfs-tan); }
	.dfs-js .dfs-filters__actions { position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom, 0px)); z-index: 2; margin: 0 -20px; padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--dfs-white); border-top: 1px solid var(--dfs-p-line); justify-content: space-between; }
	.dfs-js .dfs-filters__done { display: inline-flex; }
	.dfs-js .dfs-filters__backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 9002;
		background: color-mix(in srgb, var(--dfs-black) 55%, transparent);
		opacity: 0;
		visibility: hidden;
		transition: opacity var(--dfs-dur) var(--dfs-ease-out), visibility 0s linear var(--dfs-dur);
	}
	.dfs-sheet-open .dfs-filters__backdrop { opacity: 1; visibility: visible; transition: opacity var(--dfs-dur) var(--dfs-ease-out); }
	.dfs-types { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
}

/* ---------- Results bar: count + blueprint annotation tags ---------- */
.dfs-results { position: relative; min-width: 0; }
.dfs-results__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 20px;
	padding: 12px 0;
	border-top: 2px solid var(--dfs-black);
	border-bottom: 1px solid var(--dfs-p-line);
}
.dfs-results__summary { margin: 0 8px 0 0; font-weight: 700; color: var(--dfs-black); font-variant-numeric: tabular-nums; outline: none; }
.dfs-annot { display: contents; margin: 0; padding: 0; list-style: none; }
.dfs-annot li { display: contents; }
.dfs-annot__tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 4px 8px 4px 10px;
	border: 1px dashed var(--dfs-blue);
	background: color-mix(in srgb, var(--dfs-blue) 6%, var(--dfs-white));
	color: var(--dfs-navy);
	font: 600 var(--dfs-fs-label)/1.1 var(--dfs-font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
}
.dfs-annot__key { color: var(--dfs-blue); }
.dfs-annot__key::after { content: ":"; }
.dfs-annot__x { font-size: 16px; line-height: 1; }
.dfs-annot__tag:hover { border-style: solid; border-color: var(--dfs-tan); background: var(--dfs-tan); color: var(--dfs-black); }
.dfs-annot__reset {
	margin-left: auto;
	min-height: 32px;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--dfs-black);
	font: 600 var(--dfs-fs-label)/1.1 var(--dfs-font-mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: underline 2px var(--dfs-orange);
	text-underline-offset: .45em;
	cursor: pointer;
}
.dfs-annot__reset:hover { color: var(--dfs-blue); }
/* Loading: an orange line draws along the bar while the cards stay readable */
.dfs-results::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--dfs-orange);
	transform: scaleX(0);
	transform-origin: left;
	opacity: 0;
	transition: opacity var(--dfs-dur-fast) linear;
	pointer-events: none;
}
.dfs-builder.is-loading .dfs-results::before { opacity: 1; animation: dfs-progress 1.4s var(--dfs-ease-out) forwards; }
@keyframes dfs-progress { to { transform: scaleX(.9); } }
.dfs-results__empty { padding: 48px 0; text-align: center; }
.dfs-results__empty p { margin: 0 0 16px; font-size: 1.0625rem; }
.dfs-results__more { margin: 32px 0 0; }
.dfs-results__more .dfs-btn { width: 100%; border-style: dashed; }

/* ===========================================================================
   Product grid + card: a compact spec sheet (builder, related products, brand pages)
   ======================================================================== */
ul.products.dfs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 212px), 1fr));
	gap: 14px;
	align-items: start;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.products.dfs-grid::before,
ul.products.dfs-grid::after { content: none; display: none; }
ul.products.dfs-grid > li.dfs-card.product { float: none; width: auto; margin: 0; padding: 0; clear: none; }

.dfs-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--dfs-p-line);
	border-radius: var(--dfs-radius);
	background: var(--dfs-white);
	color: var(--dfs-black);
	transition: border-color var(--dfs-dur-fast) linear;
}
.dfs-card:is(:hover, :focus-within) { border-color: var(--dfs-navy); }
.dfs-card__media {
	display: block;
	aspect-ratio: 1;
	padding: 18px;
	overflow: hidden;
	/* Product on a clean studio sweep with a soft floor shadow (no grid). */
	background:
		var(--dfs-p-corners),
		radial-gradient(ellipse 36% 5% at 50% 90%, color-mix(in srgb, var(--dfs-black) 18%, transparent), transparent 70%),
		linear-gradient(180deg, #fff 0%, #fff 55%, color-mix(in srgb, var(--dfs-navy) 7%, #fff) 100%);
	background-repeat: no-repeat;
	background-origin: content-box, content-box, content-box, content-box, content-box, content-box, content-box, content-box, padding-box, padding-box;
	isolation: isolate;
}
.dfs-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: scale var(--dfs-dur) var(--dfs-ease-out);
}
@media (hover: hover) {
	.dfs-card:hover .dfs-card__media img { scale: 1.04; }
}
.dfs-card__body { padding: 12px 14px 8px; }
.dfs-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-height: 1.3em; margin: 0 0 4px; font-size: .78rem; line-height: 1.3; }
.dfs-card__brand { font-weight: 700; color: var(--dfs-blue); }
.dfs-card__sku { overflow: hidden; max-width: 58%; font-family: var(--dfs-font-mono); font-size: .7rem; letter-spacing: .04em; color: var(--dfs-p-muted); white-space: nowrap; text-overflow: ellipsis; }
.dfs-card__title.dfs-card__title {
	display: -webkit-box;
	min-height: calc(3 * 1.3em);
	max-height: calc(3 * 1.3em);
	margin: 6px 0 4px;
	padding: 0; /* padding inside the clamped box showed half of line 4 */
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	font-family: var(--dfs-font-body);
	font-size: .97rem;
	font-weight: 700;
	font-stretch: 100%;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: var(--dfs-black);
}
/* woocommerce.css sizes and pads ".woocommerce ul.products li.product h3" (0,3,3). */
.woocommerce ul.products li.product .dfs-card__title.dfs-card__title { margin: 6px 0 4px; padding: 0; font-size: .97rem; line-height: 1.3; }
.dfs-card__title a { color: inherit; text-decoration: none; }
.dfs-card__title a:hover { text-decoration: underline; text-decoration-color: var(--dfs-orange); text-underline-offset: 3px; }

.dfs-card__details { border-top: 1px dashed var(--dfs-p-line); }
.dfs-card__toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 44px;
	padding: 8px 14px;
	list-style: none;
	cursor: pointer;
	color: var(--dfs-blue);
}
.dfs-card__toggle::-webkit-details-marker { display: none; }
.dfs-card__toggle::after { content: "+"; font-size: 18px; line-height: 1; color: var(--dfs-navy); }
.dfs-card__details[open] > .dfs-card__toggle::after { content: "\2212"; }
.dfs-card__toggle:hover { background: var(--dfs-p-paper); }
.dfs-card__panel { padding: 0 14px 14px; font-size: .875rem; line-height: 1.5; }
.dfs-card__intro p { margin: 0 0 10px; }
.dfs-card__intro ul { margin: 0 0 10px; padding-left: 18px; }
.dfs-card__options { margin: 10px 0 12px; padding: 0; border: 0; }
.dfs-card__options legend { margin-bottom: 6px; padding: 0; font-weight: 700; }
.dfs-card__option { margin: 0 0 8px; }
.dfs-card__option label { display: block; margin-bottom: 4px; font-size: .8rem; }
.dfs-select,
.dfs-pdp table.variations select {
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid var(--dfs-field, color-mix(in srgb, var(--dfs-navy) 60%, var(--dfs-white)));
	border-radius: var(--dfs-radius);
	background-color: var(--dfs-white);
	color: var(--dfs-black);
	font: 400 1rem/1.3 var(--dfs-font-body);
}
.dfs-card__sheets { margin: 10px 0 8px; padding: 0; list-style: none; }
.dfs-card__sheets li + li { margin-top: 4px; }
.dfs-card__sheets a,
.dfs-card__more { color: var(--dfs-blue); font-weight: 700; text-underline-offset: 3px; }

/* Spec rows (cards and the product page): mono labels over hairlines, like a spec sheet table */
.dfs-specs { margin: 0 0 12px; border-top: 1.5px solid var(--dfs-black); }
.dfs-specs__row {
	display: grid;
	grid-template-columns: minmax(84px, 42%) minmax(0, 1fr);
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px solid var(--dfs-p-line);
}
.dfs-specs dt { padding-top: .2em; font-size: .68rem; line-height: 1.35; color: var(--dfs-p-muted); }
.dfs-specs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.dfs-card__buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding: 12px; border-top: 1px solid var(--dfs-p-line); }
.dfs-card__form { display: flex; flex-direction: column; flex: 1 1 auto; }
.dfs-card__add { flex: 1 1 120px; min-height: 44px; }
.dfs-card__add.dfs-btn--sm { padding-inline: .9em; white-space: nowrap; }
.dfs-card .dfs-qty__btn { width: 32px; }
.dfs-card .dfs-qty__input { width: 38px; }
.dfs-card__add.is-added { --dfs-btn-bg: var(--dfs-orange); --dfs-btn-bd: var(--dfs-orange); --dfs-btn-fg: var(--dfs-black); color: var(--dfs-black); }
/* "Added": a check mark draws in front of the label */
:is(.dfs-card__add, .single_add_to_cart_button).is-added::after {
	content: "";
	order: -1;
	display: inline-block;
	width: .4em;
	height: .8em;
	margin: 0 .2em .15em .1em;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	animation: dfs-check var(--dfs-dur) var(--dfs-ease-out) both;
}
@keyframes dfs-check { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.dfs-card__msg { margin: 0; padding: 0 14px 14px; font-size: .875rem; font-weight: 700; color: var(--dfs-navy); }

/* Phones: image-left rows with quantity and button on one line */
@media (max-width: 599.98px) {
	ul.products.dfs-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.dfs-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "media body" "form form"; }
	.dfs-card__media { grid-area: media; align-self: start; margin: 12px 0 0 12px; padding: 8px; }
	.dfs-card__body { grid-area: body; align-self: center; padding: 12px; }
	.dfs-card__title.dfs-card__title { min-height: 0; max-height: calc(2 * 1.3em); -webkit-line-clamp: 2; }
	.dfs-card__form { grid-area: form; min-width: 0; }
	.dfs-card__buy { flex-wrap: nowrap; padding: 10px 12px 12px; }
	.dfs-card__add { flex: 1 1 auto; min-width: 0; }
}

/* Quantity stepper */
.dfs-qty {
	display: inline-flex;
	align-items: stretch;
	height: 44px;
	border: 1px solid var(--dfs-field, color-mix(in srgb, var(--dfs-navy) 60%, var(--dfs-white)));
	border-radius: var(--dfs-radius);
	background: var(--dfs-white);
	overflow: hidden;
}
.dfs-qty__btn { width: 36px; padding: 0; border: 0; background: transparent; color: var(--dfs-black); font-size: 20px; line-height: 1; cursor: pointer; }
.dfs-qty__btn:hover { background: var(--dfs-tan); color: var(--dfs-black); }
.dfs-qty__input {
	width: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--dfs-black);
	font: 600 1rem/1 var(--dfs-font-mono);
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}
.dfs-qty__input::-webkit-inner-spin-button,
.dfs-qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.dfs-qty__btn:focus-visible,
.dfs-qty__input:focus-visible { outline: 2px solid var(--dfs-orange); outline-offset: -2px; }

/* ===========================================================================
   Quote list (panel + Your Quote page): numbered schedule lines
   ======================================================================== */
.dfs-quote__items { margin: 0; padding: 0; list-style: none; counter-reset: dfs-line; }
.dfs-quote__item {
	counter-increment: dfs-line;
	display: grid;
	grid-template-columns: 22px 52px minmax(0, 1fr) auto;
	grid-template-areas: "num thumb info remove" "num thumb qty remove";
	gap: 6px 12px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid var(--dfs-p-line);
}
.dfs-quote__item::before {
	content: counter(dfs-line, decimal-leading-zero);
	grid-area: num;
	align-self: start;
	padding-top: 2px;
	font: 600 var(--dfs-fs-label)/1 var(--dfs-font-mono);
	color: var(--dfs-blue);
}
.dfs-quote__thumb { grid-area: thumb; align-self: start; display: block; width: 52px; aspect-ratio: 1; padding: 4px; background: var(--dfs-p-paper); }
.dfs-quote__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dfs-quote__info { grid-area: info; min-width: 0; }
.dfs-quote__name { display: block; color: inherit; font-weight: 700; font-size: .92rem; line-height: 1.3; text-decoration: none; }
.dfs-quote__name:hover { text-decoration: underline; text-decoration-color: var(--dfs-orange); }
.dfs-quote__opts { display: block; margin-top: 2px; font-size: .8rem; color: var(--dfs-p-muted); }
.dfs-quote__item .dfs-qty { grid-area: qty; justify-self: start; height: 38px; }
.dfs-quote__item .dfs-qty__btn { width: 34px; }
.dfs-quote__item .dfs-qty__input { width: 40px; }
.dfs-quote__remove {
	grid-area: remove;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	color: inherit;
	font-size: 24px;
	line-height: 1;
	text-decoration: none;
}
.dfs-quote__remove:hover { background: var(--dfs-tan); color: var(--dfs-black); }
.dfs-quote__empty p { margin: 0 0 12px; }
.dfs-builder .dfs-quote__empty-link { display: none; }

/* ---------- Quote panel = the Facility List plan sheet: dark sheet, title block, numbered lines ----------
   Slide-in drawer by default; a sticky column beside the planner grid on wide screens. */
.dfs-quote {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 9001;
	display: flex;
	flex-direction: column;
	width: min(420px, 100vw);
	background-color: var(--dfs-black);
	color: var(--dfs-white);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform var(--dfs-dur) var(--dfs-ease-in-out), visibility 0s linear var(--dfs-dur);
}
.dfs-quote.is-open { transform: none; visibility: visible; transition: transform var(--dfs-dur) var(--dfs-ease-out); }
.dfs-quote__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "sheet close" "title close" "count count";
	align-items: center;
	margin: 14px 14px 0;
	border: 1px solid var(--dfs-blueprint-line);
}
.dfs-quote__sheet { grid-area: sheet; margin: 0; padding: 10px 14px 0; color: var(--dfs-periwinkle); }
.dfs-quote__title.dfs-quote__title { grid-area: title; margin: 0; padding: 4px 14px 12px; font-size: clamp(1.35rem, 1rem + .8vw, 1.75rem); line-height: 1; color: var(--dfs-white); outline: none; }
.dfs-quote .dfs-quote__count {
	grid-area: count;
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
	padding: 8px 14px;
	border-top: 1px solid var(--dfs-blueprint-line);
	font: 500 var(--dfs-fs-label)/1 var(--dfs-font-mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--dfs-periwinkle);
}
.dfs-quote__count-num { font: 600 1.35rem/1 var(--dfs-font-mono); letter-spacing: 0; color: var(--dfs-orange); }
.dfs-quote__close {
	grid-area: close;
	align-self: start;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 4px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--dfs-white);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}
.dfs-quote__close:hover { background: var(--dfs-tan); color: var(--dfs-black); }
.dfs-quote__body { flex: 1 1 auto; min-height: 120px; padding: 4px 20px; overflow-y: auto; outline: none; }
.dfs-quote .dfs-quote__item { border-bottom-color: var(--dfs-on-dark-line, var(--dfs-blueprint-line)); }
.dfs-quote .dfs-quote__item::before { color: var(--dfs-orange); }
.dfs-quote .dfs-quote__thumb { background: var(--dfs-white); }
.dfs-quote .dfs-quote__name { color: var(--dfs-white); }
.dfs-quote .dfs-quote__opts { color: var(--dfs-periwinkle); }
.dfs-quote .dfs-qty { border-color: color-mix(in srgb, var(--dfs-periwinkle) 60%, transparent); background: transparent; }
.dfs-quote .dfs-qty__btn,
.dfs-quote .dfs-qty__input { color: var(--dfs-white); }
.dfs-quote .dfs-qty__btn:hover { color: var(--dfs-black); }
.dfs-quote .dfs-quote__remove { color: var(--dfs-white); }
.dfs-quote .dfs-quote__remove:hover { color: var(--dfs-black); }
.dfs-quote .dfs-quote__empty { margin: 16px 0; padding: 18px; border: 1px dashed var(--dfs-blueprint-line); color: var(--dfs-on-dark-70, var(--dfs-periwinkle)); font-size: var(--dfs-fs-small); }
.dfs-quote .dfs-quote__empty p:last-child { margin-bottom: 0; }
.dfs-quote__foot { padding: 16px 20px 20px; border-top: 1px solid var(--dfs-blueprint-line); }
.dfs-quote__send { width: 100%; }
.dfs-quote .dfs-quote__note { margin: 12px 0 8px; font-size: .8rem; line-height: 1.5; color: var(--dfs-periwinkle); }
.dfs-quote .dfs-quote__page-link { color: var(--dfs-white); font-size: .875rem; font-weight: 700; text-decoration-color: var(--dfs-orange); text-underline-offset: 3px; }

.dfs-quote-backdrop {
	position: fixed;
	inset: 0;
	z-index: 9000;
	background: color-mix(in srgb, var(--dfs-black) 55%, transparent);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--dfs-dur) var(--dfs-ease-out), visibility 0s linear var(--dfs-dur);
}
.dfs-quote-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity var(--dfs-dur) var(--dfs-ease-out); }
/* Floating quote button (bottom right; the DFS Coach lives bottom left) */
.dfs-quote-toggle {
	position: fixed;
	right: 16px;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 8999;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 54px;
	padding: 8px 8px 8px 18px;
	border: 1px solid var(--dfs-blueprint-line);
	border-radius: var(--dfs-radius);
	background: var(--dfs-black);
	color: var(--dfs-white);
	font: 600 var(--dfs-fs-label)/1 var(--dfs-font-mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: var(--dfs-shadow, 0 18px 40px -20px var(--dfs-black));
}
.dfs-quote-toggle:hover { background: var(--dfs-tan); border-color: var(--dfs-tan); color: var(--dfs-black); }
.dfs-quote-toggle__count {
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 6px;
	background: var(--dfs-orange);
	color: var(--dfs-black);
	font: 700 1rem/1 var(--dfs-font-mono);
	letter-spacing: 0;
}
.dfs-quote-toggle:focus-visible { outline: 2px solid var(--dfs-orange); outline-offset: 3px; }
/* On product pages the button only appears once something is on the quote. */
html:not(.dfs-has-quote) .dfs-quote-toggle--drawer { display: none; }

@media (min-width: 1200px) {
	.dfs-quote--column {
		position: sticky;
		top: calc(var(--dfs-sticky-h, 110px) + 16px);
		z-index: auto;
		width: auto;
		max-height: calc(100vh - var(--dfs-sticky-h, 110px) - 32px);
		border-radius: var(--dfs-radius);
		transform: none;
		visibility: visible;
		transition: none;
	}
	.dfs-quote--column .dfs-quote__close,
	.dfs-quote-toggle--column { display: none; }
}
/* Phones: the quote rises as a bottom sheet */
@media (max-width: 599.98px) {
	.dfs-quote { top: auto; width: 100%; max-height: 88vh; border-top: 3px solid var(--dfs-orange); transform: translateY(100%); }
}

/* ===========================================================================
   Single product: dark stage with the product under a spotlight, then the spec sheet
   ======================================================================== */
.dfs-product-page { color: var(--dfs-black); }
.dfs-pdp__notices:has(.woocommerce-notices-wrapper:empty) { display: none; }
.dfs-pdp__notices .woocommerce-notices-wrapper:not(:empty) { padding-block: 16px; }
.dfs-pdp__stage {
	position: relative;
	padding-block: 18px clamp(56px, 7vw, 112px);
	background-color: var(--dfs-black);
	color: var(--dfs-white);
}
.dfs-breadcrumb { margin: 0 0 clamp(20px, 3vw, 40px); color: var(--dfs-periwinkle); }
.dfs-breadcrumb p { margin: 0; }
.dfs-breadcrumb a { color: var(--dfs-white); text-decoration-color: var(--dfs-orange); }
.dfs-breadcrumb a:hover { color: var(--dfs-tan); }
.dfs-breadcrumb__sep { margin: 0 10px; color: var(--dfs-orange); }

.dfs-pdp__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 900px) {
	.dfs-pdp__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
}
/* Beats woocommerce.css ".woocommerce div.product div.images { float: left; width: 48% }" (0,3,2). */
:is(.woocommerce, .woocommerce-page) div.product.dfs-pdp :is(div.images, div.summary) { float: none; width: auto; margin: 0; }
.dfs-pdp .woocommerce-product-gallery { position: relative; margin: 0; height: auto !important; } /* FlexSlider's inline height */
.dfs-pdp .woocommerce-product-gallery__wrapper { display: flow-root; } /* contains the floated (fading) slides */
/* Each photo sits on a light studio sweep with a soft floor shadow; registration marks in the corners */
.dfs-pdp .woocommerce-product-gallery__image {
	background:
		radial-gradient(ellipse 40% 5% at 50% 92%, color-mix(in srgb, var(--dfs-black) 20%, transparent), transparent 70%),
		linear-gradient(180deg, #fff 0%, #fff 55%, color-mix(in srgb, var(--dfs-navy) 7%, #fff) 100%);
	isolation: isolate;
}
.dfs-pdp .woocommerce-product-gallery__image > a { display: block; padding: clamp(20px, 5%, 48px); }
.dfs-pdp .woocommerce-product-gallery__image img { mix-blend-mode: multiply; }
.dfs-pdp .woocommerce-product-gallery::after {
	--dfs-p-tick: var(--dfs-orange);
	content: "";
	position: absolute;
	inset: -10px -10px auto;
	aspect-ratio: 1;
	max-height: calc(100% + 20px);
	background: var(--dfs-p-corners);
	background-repeat: no-repeat;
	pointer-events: none;
}
/* The hover zoom image is blended like the photo, so the photo showed through it: hide the photo while zooming. */
.dfs-pdp .woocommerce-product-gallery__image img:not(.zoomImg) { transition: opacity .12s linear; }
.dfs-pdp .woocommerce-product-gallery__image:has(.zoomImg):hover img:not(.zoomImg) { opacity: 0; }
.dfs-pdp .woocommerce-product-gallery__trigger { z-index: 9; background: var(--dfs-white); border-radius: 0; }
/* Beats woocommerce.css ".woocommerce div.product div.images .flex-control-thumbs li { width: 25%; float: left }" (0,4,3). */
.woocommerce div.product.dfs-pdp div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; clear: both; margin: 12px 0 0; padding: 0; }
.woocommerce div.product.dfs-pdp div.images .flex-control-thumbs li { position: relative; width: auto; float: none; margin: 0; background: var(--dfs-white); }
.dfs-pdp .flex-control-thumbs li img { aspect-ratio: 1; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.dfs-pdp .flex-control-thumbs li::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--dfs-orange);
	opacity: 0;
	transform: scale(.82);
	transition: opacity var(--dfs-dur) var(--dfs-ease-out), transform var(--dfs-dur) var(--dfs-ease-out);
	pointer-events: none;
}
.dfs-pdp .flex-control-thumbs li:has(img.flex-active)::after { opacity: 1; transform: none; }

.dfs-pdp .summary { min-width: 0; }
.dfs-product__brand { margin: 0 0 14px; font: 600 var(--dfs-fs-label)/1.3 var(--dfs-font-mono); letter-spacing: .12em; text-transform: uppercase; }
.dfs-product__brand a { color: var(--dfs-periwinkle); text-decoration: none; }
.dfs-product__brand a:hover { color: var(--dfs-white); text-decoration: underline; text-decoration-color: var(--dfs-orange); }
.dfs-pdp .product_title.product_title {
	margin: 0;
	font-size: clamp(1.9rem, .9rem + 2.6vw, 3.6rem);
	line-height: .96;
	color: var(--dfs-white);
	overflow-wrap: break-word;
	hyphens: auto;
}
.dfs-pdp__model { margin: 16px 0 0; color: var(--dfs-periwinkle); }
.dfs-pdp__model span { margin-left: .6em; color: var(--dfs-white); }
.dfs-pdp .woocommerce-product-details__short-description { margin-top: 20px; font-size: 1.0625rem; line-height: 1.6; color: var(--dfs-on-dark-70, var(--dfs-periwinkle)); }
.dfs-pdp .woocommerce-product-details__short-description :is(p, li) { color: inherit; }
.dfs-pdp .woocommerce-product-details__short-description a { color: var(--dfs-white); }

/* woocommerce.css clearfix pseudo-elements became flex items and pushed the quantity field 12px right. */
.woocommerce div.product.dfs-pdp form.cart::before,
.woocommerce div.product.dfs-pdp form.cart::after { content: none; }
.dfs-pdp form.cart { margin: 28px 0 0; padding: 20px; border: 1px solid var(--dfs-blueprint-line); background: color-mix(in srgb, var(--dfs-navy) 30%, transparent); }
.dfs-pdp form.cart table.variations { margin-bottom: 12px; border: 0; }
.dfs-pdp form.cart table.variations :is(th, td) { display: block; padding: 0 0 6px; border: 0; background: none; text-align: left; line-height: 1.3; }
.dfs-pdp form.cart table.variations label { font: 600 var(--dfs-fs-label)/1.3 var(--dfs-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dfs-periwinkle); }
.dfs-pdp form.cart .reset_variations { font-size: .875rem; color: var(--dfs-periwinkle); }
.dfs-pdp form.cart .woocommerce-variation-add-to-cart,
.dfs-pdp form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dfs-pdp form.cart .quantity .qty {
	width: 76px;
	min-height: 52px;
	border: 1px solid color-mix(in srgb, var(--dfs-periwinkle) 60%, transparent);
	border-radius: var(--dfs-radius);
	background: transparent;
	color: var(--dfs-white);
	font: 600 1rem/1 var(--dfs-font-mono);
}
.dfs-pdp form.cart button.single_add_to_cart_button.button {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	min-height: 52px;
	padding: .75em 1.75em;
	border: 1.5px solid var(--dfs-orange);
	border-radius: var(--dfs-radius);
	background: var(--dfs-orange);
	color: var(--dfs-black);
	font: 700 var(--dfs-fs-button)/1.15 var(--dfs-font-body);
	font-stretch: 112%;
	letter-spacing: var(--dfs-button-tracking);
	text-transform: uppercase;
}
.dfs-pdp form.cart button.single_add_to_cart_button.button:hover,
.dfs-pdp form.cart button.single_add_to_cart_button.button.is-added { border-color: var(--dfs-tan); background: var(--dfs-tan); color: var(--dfs-black); }
/* woocommerce.css paints disabled .alt buttons purple (up to .woocommerce .button.alt:disabled[disabled]:hover); doubled classes outrank it. */
.dfs-pdp form.cart button.single_add_to_cart_button.single_add_to_cart_button.button.button:is(:disabled, .disabled, .loading),
.dfs-pdp form.cart button.single_add_to_cart_button.single_add_to_cart_button.button.button:is(:disabled, .disabled, .loading):hover {
	border-color: var(--dfs-orange);
	background: var(--dfs-orange);
	color: var(--dfs-black);
	opacity: .7;
	cursor: progress;
}
/* .disabled alone = "choose options first" on variable products, not busy. */
.dfs-pdp form.cart button.single_add_to_cart_button.single_add_to_cart_button.button.button.disabled:not(:disabled, .loading) { opacity: .55; cursor: not-allowed; }
.dfs-pdp select option { color: var(--dfs-black); background: var(--dfs-white); }
/* woocommerce.css ".woocommerce div.product form.cart .variations select" (0,4,2) makes it transparent; keep its chevron. */
.woocommerce div.product.dfs-pdp form.cart .variations select { background-color: var(--dfs-white); }
.dfs-pdp .dfs_product_button { flex-basis: 100%; }
.dfs-pdp .dfs_product_button .dfs-btn--secondary { --dfs-btn-fg: var(--dfs-white); --dfs-btn-bd: color-mix(in srgb, var(--dfs-white) 70%, transparent); }
.dfs-pdp .dfs_product_button .dfs-btn--secondary:hover { --dfs-btn-fg: var(--dfs-black); }
.dfs-pdp .dfs-card__msg { flex-basis: 100%; padding: 0; color: var(--dfs-periwinkle); }
.dfs-pdp .summary .dfs_btn_unpurchasable { margin-top: 24px; }

/* Product details (dfs_quote_single_details): sticky sub-nav, then Overview / Key features / Specifications / Downloads,
   each a ruled part with its title in a sticky left rail, like the sections of a printed spec document. */
.dfs-pdp__details { padding-top: clamp(24px, 3vw, 40px); }
.dfs-pdp__subnav { display: none; }
@media (min-width: 900px) {
	.dfs-pdp__subnav {
		display: block;
		position: sticky;
		top: var(--dfs-sticky-h, 110px);
		z-index: 50;
		background: var(--dfs-white);
		box-shadow: 0 0 0 100vmax var(--dfs-white); /* full-bleed background without widening the page */
		clip-path: inset(0 -100vmax);
	}
	body:has(#dfs-header.is-hidden) .dfs-pdp__subnav { top: 0; } /* the header slides away on scroll down */
	.dfs-pdp__subnav ul { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--dfs-p-line); }
	.dfs-pdp__subnav a {
		display: block;
		padding: 16px 0 13px;
		border-bottom: 3px solid transparent;
		font: 600 var(--dfs-fs-label)/1 var(--dfs-font-mono);
		letter-spacing: .12em;
		text-transform: uppercase;
		color: var(--dfs-p-muted);
		text-decoration: none;
		transition: color var(--dfs-dur-fast) linear, border-color var(--dfs-dur-fast) linear;
	}
	.dfs-pdp__subnav a:hover,
	.dfs-pdp__subnav a[aria-current="true"] { color: var(--dfs-black); border-bottom-color: var(--dfs-orange); }
}
.dfs-pdp__part {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px clamp(32px, 5vw, 80px);
	padding-block: clamp(36px, 5vw, 72px);
	border-top: 1.5px solid var(--dfs-black);
	scroll-margin-top: calc(var(--dfs-sticky-h, 110px) + 64px);
}
.dfs-pdp__subnav + .dfs-pdp__part { border-top: 0; }
.dfs-pdp__part-title.dfs-pdp__part-title { margin: 0; font-size: var(--dfs-fs-h3); }
@media (min-width: 900px) {
	.dfs-pdp__part { grid-template-columns: minmax(180px, 1.15fr) minmax(0, 3fr); container-type: inline-size; }
	/* Sized to the part so the longest one-word title ("Specifications") fits its rail. */
	.dfs-pdp__part-title.dfs-pdp__part-title { position: sticky; top: calc(var(--dfs-sticky-h, 110px) + 80px); align-self: start; font-size: clamp(1.1rem, 2.05cqi, 2rem); }
}

/* Overview */
.dfs-pdp__lede { max-width: 64ch; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.55; }
.dfs-pdp__lede > :last-child { margin-bottom: 0; }
.dfs-pdp__lede--html { font-size: 1.0625rem; line-height: 1.65; }
.dfs-pdp__lede--html :is(ul, ol) { padding-left: 1.2em; }
.dfs-pdp__lede--html li::marker { color: var(--dfs-orange); }

/* Key features: numbered technical callouts (01, 02 ... with an orange dimension tick) */
.dfs-pdp__callouts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; counter-reset: dfs-feature; }
@media (min-width: 768px) {
	.dfs-pdp__callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.dfs-pdp__callout { counter-increment: dfs-feature; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px 0 20px; border-top: 1px solid var(--dfs-p-line); }
.dfs-pdp__callout::before {
	content: counter(dfs-feature, decimal-leading-zero);
	align-self: start;
	width: fit-content;
	padding-top: 6px;
	border-top: 2px solid var(--dfs-orange);
	font: 600 var(--dfs-fs-label)/1.3 var(--dfs-font-mono);
	letter-spacing: .1em;
	color: var(--dfs-blue);
}
.dfs-pdp__callout p { margin: 0; font-weight: 600; line-height: 1.45; }

/* Specifications: the data sheet. Title block, then groups (two columns on wide screens, an accordion on phones). */
.dfs-pdp__datasheet { min-width: 0; border: 1.5px solid var(--dfs-black); background: var(--dfs-white); }
.dfs-pdp__titleblock { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; border-bottom: 1.5px solid var(--dfs-black); }
@media (min-width: 600px) {
	.dfs-pdp__titleblock { grid-template-columns: minmax(0, 2fr) repeat(auto-fit, minmax(150px, 1fr)); }
	.dfs-pdp__titleblock > div + div { border-left: 1px solid var(--dfs-p-line); }
}
.dfs-pdp__titleblock > div { padding: 12px 18px; }
.dfs-pdp__titleblock > div + div { border-top: 1px solid var(--dfs-p-line); }
@media (min-width: 600px) {
	.dfs-pdp__titleblock > div + div { border-top: 0; }
}
.dfs-pdp__titleblock dt { font: 500 var(--dfs-fs-label)/1.3 var(--dfs-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dfs-p-muted); }
.dfs-pdp__titleblock dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.dfs-pdp__groups { padding: 4px 18px 18px; }
@media (min-width: 1100px) {
	.dfs-pdp__groups { columns: 2; column-gap: 40px; column-rule: 1px solid var(--dfs-p-line); }
}
.dfs-pdp__group { break-inside: avoid; padding-top: 18px; }
.dfs-pdp__group > summary {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 6px 0 8px;
	border-bottom: 1.5px solid var(--dfs-black);
	list-style: none;
	cursor: pointer;
}
.dfs-pdp__group > summary::-webkit-details-marker { display: none; }
.dfs-pdp__group > summary::after { content: "+"; margin-left: 6px; font: 400 18px/1 var(--dfs-font-body); color: var(--dfs-navy); }
.dfs-pdp__group[open] > summary::after { content: "\2212"; }
.dfs-pdp__group-title.dfs-pdp__group-title { flex: 1 1 auto; margin: 0; font: 700 var(--dfs-fs-label)/1.3 var(--dfs-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dfs-black); }
.dfs-pdp__group-count { font: 500 var(--dfs-fs-label)/1.3 var(--dfs-font-mono); color: var(--dfs-p-muted); }
.dfs-pdp__group .dfs-specs { margin: 0; border-top: 0; }
.dfs-pdp__group .dfs-specs__row { grid-template-columns: minmax(96px, 44%) minmax(0, 1fr); gap: 16px; padding: 9px 0; }
.dfs-pdp__group .dfs-specs__row:last-child { border-bottom: 0; }
.dfs-pdp__group .dfs-specs dd { font-size: .95rem; }

/* Spec sheets & downloads */
.dfs-sheets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.dfs-sheets__link { display: block; height: 100%; padding: 10px; border: 1px solid var(--dfs-p-line); background: var(--dfs-white); color: var(--dfs-black); font-size: .875rem; font-weight: 700; text-decoration: none; transition: border-color var(--dfs-dur-fast) linear; }
.dfs-sheets__link:hover { border-color: var(--dfs-orange); color: var(--dfs-black); }
.dfs-sheets__img { display: block; width: 100%; height: auto; margin-bottom: 10px; border: 1px solid var(--dfs-p-line); }
.dfs-sheets__label,
.dfs-sheets__name { display: block; }
.dfs-sheets__name { margin-top: 2px; font-weight: 400; color: var(--dfs-p-muted); }

.dfs-pdp__after { padding-bottom: clamp(64px, 8vw, 120px); }
.dfs-pdp .related,
.dfs-pdp .up-sells { margin-top: clamp(48px, 6vw, 96px); padding-top: 28px; border-top: 2px solid var(--dfs-black); }
.dfs-pdp :is(.related, .up-sells) > h2 { margin: 0 0 28px; font-size: var(--dfs-fs-h3); }
.dfs-pdp :is(.related, .up-sells) ul.products.dfs-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ===========================================================================
   Your Quote page (cart): the schedule sheet beside the send panel
   ======================================================================== */
.dfs-quote-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; color: var(--dfs-black); }
@media (min-width: 900px) {
	.dfs-quote-page { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
}
.dfs-quote-page .dfs-quote-page__list { border: 1.5px solid var(--dfs-black); background: var(--dfs-white); }
.dfs-quote-page__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4px 16px; padding: 16px 20px; border-bottom: 1.5px solid var(--dfs-black); }
.dfs-quote-page .dfs-quote-page__sheet { grid-column: 1 / -1; margin: 0; color: var(--dfs-blue); }
/* Doubled class: page.php wraps this in .dfs-content, whose heading rules are more specific. */
.dfs-quote-page .dfs-quote-page__title.dfs-quote-page__title { margin: 0; font-size: var(--dfs-fs-h3); }
.dfs-quote-page .dfs-quote-page__count { margin: 0; font: 500 var(--dfs-fs-label)/1 var(--dfs-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dfs-p-muted); }
.dfs-quote-page .dfs-quote-page__count [data-dfs-quote-count] { font-size: 1.35rem; font-weight: 600; letter-spacing: 0; color: var(--dfs-black); }
.dfs-quote-page .dfs-quote-page__cols {
	display: grid;
	grid-template-columns: 22px 72px minmax(0, 1fr) 150px;
	gap: 12px;
	margin: 0;
	padding: 8px 20px;
	border-bottom: 1px solid var(--dfs-p-line);
	color: var(--dfs-p-muted);
}
.dfs-quote-page__cols span:nth-child(2) { grid-column: 3; }
.dfs-quote-page [data-dfs-quote-list] { padding: 0 20px; outline: none; }
.dfs-quote-page .dfs-quote__items { margin: 0; padding: 0; }
.dfs-quote-page .dfs-quote__item { margin: 0; grid-template-columns: 22px 72px minmax(0, 1fr) auto auto; grid-template-areas: "num thumb info qty remove"; }
.dfs-quote-page .dfs-quote__item:last-child { border-bottom: 0; }
.dfs-quote-page .dfs-quote__thumb { width: 72px; }
.dfs-quote-page .dfs-quote__item a.dfs-quote__remove.dfs-quote__remove,
.dfs-quote-page .dfs-quote__item a.dfs-quote__name.dfs-quote__name { text-decoration: none; }
.dfs-quote-page .dfs-quote__empty { padding: 24px 0; }
.dfs-quote-page__update { margin: 0; padding: 16px 20px; border-top: 1px solid var(--dfs-p-line); }
.dfs-js .dfs-quote-page__update { display: none; }
.dfs-quote-page__send { position: relative; padding: 28px 24px 24px; background-color: var(--dfs-black); color: var(--dfs-white); }
.dfs-quote-page__send::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--dfs-orange); }
.dfs-quote-page .dfs-quote-page__send .dfs-quote-page__title { color: var(--dfs-white); }
.dfs-quote-page .dfs-quote-page__send p { margin: 14px 0 20px; line-height: 1.55; color: var(--dfs-on-dark-70, var(--dfs-periwinkle)); }
.dfs-quote-page__send .dfs-btn { width: 100%; }
.dfs-quote-page .dfs-quote-page__send a:not(.dfs-btn) { color: var(--dfs-white); font-weight: 700; text-decoration-color: var(--dfs-orange); }
.dfs-quote-page .dfs-quote-page__send > p:last-child { margin: 20px 0 0; }
/* Empty quote: the list goes full width and zone shortcuts + "quote from scratch" fill the page. */
.dfs-quote-page:has(> .dfs-quote-page__send[hidden]) { grid-template-columns: minmax(0, 1fr); }
.dfs-quote-page__start { grid-column: 1 / -1; }
@media (min-width: 900px) {
	.dfs-quote-page .dfs-quote-page__zones { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dfs-quote-page .dfs-quote-page__zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 28px; padding: 0; list-style: none; }
.dfs-quote-page .dfs-quote-page__zones li { margin: 0; font-size: inherit; }
.dfs-quote-page a.dfs-quote-page__zone.dfs-quote-page__zone {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 22px;
	height: 100%;
	min-height: 104px;
	padding: 14px 16px;
	border: 1px solid var(--dfs-p-line);
	background: linear-gradient(180deg, #fff 0%, #fff 52%, color-mix(in srgb, var(--dfs-navy) 7%, #fff) 100%);
	color: var(--dfs-black);
	text-decoration: none;
	transition: border-color var(--dfs-dur-fast) linear;
}
.dfs-quote-page a.dfs-quote-page__zone.dfs-quote-page__zone:hover { border-color: var(--dfs-orange); }
.dfs-quote-page__zone-name { font: var(--dfs-display-weight) 1rem/1.1 var(--dfs-font-display); font-stretch: var(--dfs-display-stretch); text-transform: uppercase; }
.dfs-quote-page__zone-count { font: 500 var(--dfs-fs-label)/1 var(--dfs-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dfs-blue); }
.dfs-quote-page__scratch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px; background: var(--dfs-black); color: var(--dfs-white); }
.dfs-quote-page .dfs-quote-page__scratch p { max-width: 52ch; margin: 0; color: var(--dfs-on-dark-70, var(--dfs-periwinkle)); }
@media (min-width: 900px) {
	.dfs-quote-page__send { position: sticky; top: calc(var(--dfs-sticky-h, 110px) + 16px); }
}
@media (max-width: 599.98px) {
	.dfs-quote-page__cols { display: none !important; }
	.dfs-quote-page [data-dfs-quote-list],
	.dfs-quote-page__head { padding-inline: 14px; }
	.dfs-quote-page .dfs-quote__item { grid-template-columns: 22px 56px minmax(0, 1fr) auto; grid-template-areas: "num thumb info remove" "num thumb qty remove"; }
	.dfs-quote-page .dfs-quote__thumb { width: 56px; }
}

/* ===========================================================================
   Products landing (page 59): intro, then dark zone tiles in a mosaic (largest ranges first)
   ======================================================================== */
.dfs-products-landing__intro-grid { display: grid; gap: 24px clamp(40px, 6vw, 96px); }
@media (min-width: 900px) {
	.dfs-products-landing__intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
.dfs-products-landing__heading { margin: 0; font-size: var(--dfs-fs-h2); }
.dfs-products-landing__text { max-width: 62ch; font-size: 1.0625rem; line-height: 1.65; }
.dfs-products-landing__text > :last-child { margin-bottom: 0; }

.dfs-products-landing__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.dfs-products-landing__title { margin: 0; font-size: var(--dfs-fs-h2); color: var(--dfs-white); }

.dfs-cat-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-auto-rows: minmax(230px, auto);
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 600px) {
	.dfs-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); }
	.dfs-cat-card:first-child,
	.dfs-cat-card:last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
	.dfs-cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 12px; }
	.dfs-cat-card { grid-column: span 3; }
}
@media (min-width: 1024px) {
	.dfs-cat-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(230px, 20vw, 300px); }
	.dfs-cat-card,
	.dfs-cat-card:last-child:nth-child(even) { grid-column: span 4; }
	.dfs-cat-card:first-child { grid-column: span 7; grid-row: span 2; }
	.dfs-cat-card:nth-child(2),
	.dfs-cat-card:nth-child(3) { grid-column: span 5; }
	.dfs-cat-card:nth-child(7),
	.dfs-cat-card:nth-child(8) { grid-column: span 6; }
}
/* Light studio tile (same as the home page tiles): name top left, count bottom left, the product photo at the
   bottom right standing on a soft floor shadow, multiplied so its white background disappears. */
.dfs-cat-card__link {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	height: 100%;
	padding: clamp(16px, 2vw, 26px);
	overflow: hidden;
	border: 0;
	/* Studio sweep (light wall into a slightly darker floor) with a soft contact shadow under the product. */
	background:
		radial-gradient(ellipse 34% 6% at 62% 93%, color-mix(in srgb, var(--dfs-black) 20%, transparent), transparent 70%),
		linear-gradient(180deg, #fff 0%, #fff 52%, color-mix(in srgb, var(--dfs-navy) 7%, #fff) 100%);
	color: var(--dfs-black);
	text-decoration: none;
	transition: border-color var(--dfs-dur-fast) linear;
}
.dfs-cat-card__media { position: absolute; right: 5%; bottom: 7%; width: 55%; height: 68%; }
/* z-index on the photo itself (not its wrapper), so it multiplies onto the tile grid */
.dfs-cat-card__media img { position: relative; z-index: -1; display: block; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; mix-blend-mode: multiply; transition: transform var(--dfs-dur-slow) var(--dfs-ease-out); }
.dfs-cat-card__name {
	max-width: 12ch;
	font: var(--dfs-display-weight) clamp(1.05rem, .75rem + 1vw, 1.75rem)/1 var(--dfs-font-display);
	font-stretch: var(--dfs-display-stretch);
	text-transform: uppercase;
}
.dfs-cat-card__count { margin-top: auto; display: flex; flex-direction: column; gap: 4px; font: 500 var(--dfs-fs-label)/1 var(--dfs-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dfs-blue); }
.dfs-cat-card__num.dfs-cat-card__num { font-size: clamp(2.25rem, 1.5rem + 2.2vw, 4rem); letter-spacing: -.02em; -webkit-text-stroke-color: var(--dfs-navy); transition: -webkit-text-stroke-color var(--dfs-dur-fast) linear; }
.dfs-cat-card:first-child .dfs-cat-card__name { font-size: clamp(1.5rem, .9rem + 2.4vw, 3.25rem); }
.dfs-cat-card:first-child .dfs-cat-card__num.dfs-cat-card__num { font-size: clamp(3.5rem, 2rem + 5vw, 7.5rem); }
.dfs-cat-card:first-child .dfs-cat-card__media { width: 66%; height: 78%; }
.dfs-cat-card__link:is(:hover, :focus-visible) { border-color: var(--dfs-orange); color: var(--dfs-black); }
.dfs-cat-card__link:is(:hover, :focus-visible) .dfs-cat-card__num { -webkit-text-stroke-color: var(--dfs-orange); }
@media (hover: hover) {
	.dfs-cat-card__link:hover .dfs-cat-card__media img { transform: translate3d(0, -8px, 0) scale(1.04); }
}

/* ===========================================================================
   Contact page (asdswoocommerce.php)
   ======================================================================== */
.dfs-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 1000px) {
	.dfs-contact__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
}
.dfs-contact__info { line-height: 1.6; }
.dfs-contact__info h2 { margin: 0 0 16px; font-size: var(--dfs-fs-h3); }
.dfs-contact__info a { color: var(--dfs-blue); font-weight: 700; }
.dfs-contact__team { margin-top: 16px; border-top: 1px solid var(--dfs-p-line); border-bottom: 1px solid var(--dfs-p-line); }
.dfs-contact__team summary {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
	list-style: none;
	cursor: pointer;
	font-size: var(--dfs-fs-h6);
	font-weight: 700;
	color: var(--dfs-black);
}
.dfs-contact__team summary::-webkit-details-marker { display: none; }
.dfs-contact__team summary::after { content: "+"; font-weight: 400; color: var(--dfs-orange); }
.dfs-contact__team[open] summary::after { content: "\2212"; }
.dfs-contact__team .dfs-contact__text { padding-bottom: 12px; }

/* ===========================================================================
   Motion: transform / opacity / clip-path / stroke only; durations are tokens, so reduced motion zeroes them.
   ======================================================================== */
/* Specs panels and the contact accordion open with a height tween where the browser supports it (else instantly). */
@supports selector(::details-content) {
	.dfs-js :is(.dfs-card__details, .dfs-contact__team) { interpolate-size: allow-keywords; }
	.dfs-js :is(.dfs-card__details, .dfs-contact__team)::details-content {
		block-size: 0;
		overflow: clip;
		transition: block-size var(--dfs-dur) var(--dfs-ease-out), content-visibility var(--dfs-dur) allow-discrete;
	}
	.dfs-js :is(.dfs-card__details, .dfs-contact__team)[open]::details-content { block-size: auto; }
}
/* Product photo flying into the quote (dfs-quote.js fly()). */
.dfs-fly { position: fixed; z-index: 9100; pointer-events: none; }
.dfs-fly img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
/* Your Quote page: rows rise in, staggered, on first view only (dfs-quote.js drops the class after any change). */
.dfs-js .dfs-quote-page--intro .dfs-quote__item {
	animation: dfs-row-in var(--dfs-dur-slow) var(--dfs-ease-out) both;
	animation-delay: calc(var(--i, 0) * var(--dfs-stagger));
}
@keyframes dfs-row-in { from { opacity: 0; transform: translateY(14px); } }
/* The floor plan draws itself in on load (walls, then zones), once. */
@media (prefers-reduced-motion: no-preference) {
	.dfs-js .dfs-plan__base .dfs-plan__wall { stroke-dasharray: 4000; animation: dfs-plan-draw var(--dfs-dur-draw) var(--dfs-ease-draw) both; }
	.dfs-js .dfs-plan .dfs-cats__item { animation: dfs-fade-in var(--dfs-dur-slow) var(--dfs-ease-out) both; animation-delay: calc(500ms + var(--d, 0) * 1ms); }
	.dfs-js .dfs-plan .dfs-cats__item:nth-child(2) { --d: 60; }
	.dfs-js .dfs-plan .dfs-cats__item:nth-child(3) { --d: 120; }
	.dfs-js .dfs-plan .dfs-cats__item:nth-child(4) { --d: 180; }
	.dfs-js .dfs-plan .dfs-cats__item:nth-child(5) { --d: 240; }
	.dfs-js .dfs-plan .dfs-cats__item:nth-child(6) { --d: 300; }
	.dfs-js .dfs-plan .dfs-cats__item:nth-child(7) { --d: 360; }
	.dfs-js .dfs-plan .dfs-cats__item:nth-child(n+8) { --d: 420; }
}
@keyframes dfs-plan-draw { from { stroke-dashoffset: 4000; } to { stroke-dashoffset: 0; } }
@keyframes dfs-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.dfs-card:hover .dfs-card__media img,
	.dfs-cat-card__link:hover .dfs-cat-card__media img { transform: none; }
	.dfs-pdp .woocommerce-product-gallery__image { transition: none !important; }
}
