/* DFS 2026 redesign: products + quote builder (Agent B). Tokens: css/dfs-tokens.css; shared components: css/dfs-base.css.
   The one bold element is the navy quote panel ("work order"); everything around it stays quiet. */

:root {
	--dfs-line: color-mix(in srgb, var(--dfs-navy) 16%, transparent);
	--dfs-tile: color-mix(in srgb, var(--dfs-periwinkle) 16%, var(--dfs-white));
	--dfs-muted: color-mix(in srgb, var(--dfs-black) 68%, var(--dfs-white));
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	word-wrap: normal !important;
}
:where(.dfs-builder, .dfs-quote, .dfs-quote-page, .dfs-product-page) [hidden] { display: none !important; }

:where(.dfs-builder, .dfs-quote, .dfs-quote-page, .dfs-product-page, .dfs-products-landing, .dfs-contact) :is(a, button, input, select, summary):focus-visible {
	outline: 3px solid var(--dfs-blue);
	outline-offset: 2px;
}

.dfs-file-type { font-weight: 400; color: var(--dfs-muted); }

/* ---------------------------------------------------------------------------
   Shop (/shop/): opti-fit pattern (OPTIFIT-SHOP-SPEC.md), Design 2 brand
   ------------------------------------------------------------------------ */
.dfs-shop { font-family: var(--dfs-font-body); color: var(--dfs-black); }
.dfs-shop__wrap { width: 100%; max-width: var(--dfs-container); margin-inline: auto; padding-inline: var(--dfs-gutter); }
@media (min-width: 1280px) {
	.dfs-shop__wrap { max-width: 1480px; } /* room for the quote column beside a full grid */
}
.dfs-shop__btn-navy,
.dfs-card__view { --dfs-btn-bg: var(--dfs-navy); --dfs-btn-fg: var(--dfs-white); --dfs-btn-bd: var(--dfs-navy); }

.dfs-shop__crumbs { border-bottom: 1px solid var(--dfs-line); }
.dfs-shop__crumbs ol { display: flex; flex-wrap: wrap; margin: 0 auto; padding-block: 14px; list-style: none; font-size: 14px; }
.dfs-shop__crumbs li + li::before { content: "\203A"; margin: 0 10px; color: var(--dfs-muted); }
.dfs-shop__crumbs a { color: var(--dfs-blue); }
.dfs-shop__crumbs [aria-current] { font-weight: 600; color: var(--dfs-navy); }

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

.dfs-shop__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	padding-block: 28px clamp(64px, 8vw, 96px);
}
@media (min-width: 1024px) {
	.dfs-shop__layout { grid-template-columns: 260px minmax(0, 1fr); }
}
@media (min-width: 1280px) {
	.dfs-shop__layout { grid-template-columns: 260px minmax(0, 1fr) 320px; }
}
@media (max-width: 1279.98px) {
	.dfs-shop__layout { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); } /* clear of the floating Your Quote button */
}

/* Filter column (sticky with its own scroll; a drawer from the left below 1024px) */
.dfs-filters { font-size: 15px; }
.dfs-filters__head { display: none; }
.dfs-filters__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.dfs-filters__clear { color: var(--dfs-blue); font-weight: 600; }
.dfs-filters__apply { flex: 1 1 auto; }
@media (min-width: 1024px) {
	.dfs-filters {
		position: sticky;
		top: calc(var(--dfs-sticky-h, 120px) + 16px);
		max-height: calc(100vh - var(--dfs-sticky-h, 120px) - 32px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 3px; /* room for focus rings inside the scroll box */
		margin: -3px;
	}
	.dfs-js .dfs-filters__foot { display: none; } /* filters apply live */
}
.dfs-filters__brandcard {
	display: block;
	margin-bottom: 16px;
	padding: 14px 16px;
	border-radius: var(--dfs-radius);
	background: var(--dfs-navy);
	color: var(--dfs-white);
	text-decoration: none;
	transition: background-color var(--dfs-dur-fast) linear, color var(--dfs-dur-fast) linear;
}
.dfs-filters__brandcard:hover { background: var(--dfs-tan); color: var(--dfs-black); }
.dfs-filters__brandcard-title { display: block; font-family: var(--dfs-font-display); font-size: 16px; }
.dfs-filters__brandcard-text { display: block; margin-top: 2px; font-size: 13px; opacity: .85; }

.dfs-fpanel { margin-bottom: 16px; border: 1px solid var(--dfs-line); border-radius: var(--dfs-radius); background: var(--dfs-white); }
.dfs-fpanel__head { margin: 0; }
.dfs-fpanel__head button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	min-height: 48px;
	padding: 12px 16px;
	border: 0;
	background: none;
	color: var(--dfs-navy);
	font: 600 16px/1.2 var(--dfs-font-body);
	cursor: pointer;
}
.dfs-fpanel__head button::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-right: 4px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(-135deg) translate(-2px, -2px);
	transition: transform var(--dfs-dur-fast) var(--dfs-ease-out);
}
.dfs-fpanel__head button[aria-expanded="false"]::after { transform: rotate(45deg); }
.dfs-fpanel__body {
	max-height: 320px;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 4px 8px 12px 16px;
	border-top: 1px solid var(--dfs-line);
}
.dfs-fpanel__body--cats { max-height: 440px; padding-top: 0; }
.dfs-fpanel__search { margin: 12px 8px 8px 0; }
.dfs-fpanel__search input,
.dfs-shop__search input,
.dfs-shop__sort select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid color-mix(in srgb, var(--dfs-navy) 30%, transparent);
	border-radius: var(--dfs-radius);
	background-color: var(--dfs-white);
	color: var(--dfs-black);
	font: 400 16px/1.3 var(--dfs-font-body);
}

.dfs-fgroup { margin: 0; padding: 10px 0 4px; border: 0; }
.dfs-fgroup + .dfs-fgroup { border-top: 1px solid var(--dfs-line); }
.dfs-fgroup__legend { width: 100%; padding: 0; }
.dfs-fgroup__cat {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 4px 8px 4px 0;
	color: var(--dfs-navy);
	font-family: var(--dfs-font-display); /* the brand's small caps for the group names */
	font-size: 15px;
	text-decoration: none;
}
.dfs-fgroup__cat:hover .dfs-fgroup__name { text-decoration: underline; text-underline-offset: 3px; }
.dfs-fgroup__cat[aria-current] { padding-left: 10px; color: var(--dfs-blue); box-shadow: inset 3px 0 0 var(--dfs-orange); }
.dfs-fgroup__list { margin: 0 0 6px; padding: 0; list-style: none; }
.dfs-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 4px 8px 4px 0;
	cursor: pointer;
	line-height: 1.3;
}
.dfs-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--dfs-orange); }
.dfs-check__name { flex: 1; min-width: 0; }
.dfs-check:has(input:checked) .dfs-check__name { font-weight: 600; }
.dfs-count {
	flex: none;
	margin-left: auto;
	min-width: 2.4em;
	padding: 2px 8px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--dfs-navy) 7%, var(--dfs-white));
	color: var(--dfs-muted);
	font: 600 12px/1.4 var(--dfs-font-body);
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.dfs-shop .is-zero { opacity: .42; cursor: default; }
.dfs-fgroup__list li[hidden] { display: none; }

/* Toolbar, chips, results */
.dfs-results { position: relative; min-width: 0; }
.dfs-shop__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-bottom: 16px; border-bottom: 1px solid var(--dfs-line); }
.dfs-shop__count {
	margin: 0;
	font-family: var(--dfs-font-body);
	font-size: 16px;
	font-weight: 600;
	color: var(--dfs-navy);
	outline: none;
	scroll-margin-top: calc(var(--dfs-sticky-h, 120px) + 24px);
}
.dfs-shop__search { flex: 1 1 220px; margin: 0; }
.dfs-shop__sort { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-size: 14px; }
.dfs-shop__sort select { width: auto; padding-right: 32px; }
.dfs-shop__filters-btn {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 16px;
	border: 2px solid var(--dfs-navy);
	border-radius: var(--dfs-radius);
	background: var(--dfs-white);
	color: var(--dfs-navy);
	font: 600 15px/1 var(--dfs-font-body);
	cursor: pointer;
}
.dfs-shop__filters-btn:hover { background: var(--dfs-tan); border-color: var(--dfs-tan); color: var(--dfs-black); }
.dfs-shop__badge {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--dfs-orange);
	color: var(--dfs-black);
	font-size: 12px;
}
.dfs-shop__badge[hidden] { display: none; }
@media (max-width: 1023.98px) {
	.dfs-js .dfs-shop__filters-btn { display: inline-flex; }
	.dfs-shop__count { order: 3; flex-basis: 100%; }
}

.dfs-shop__chips:empty { display: none; }
.dfs-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.dfs-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 6px 12px 6px 14px;
	border: 1px solid var(--dfs-orange);
	border-radius: 999px;
	background: color-mix(in srgb, var(--dfs-orange) 9%, var(--dfs-white));
	color: var(--dfs-black);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.dfs-chip span { font-size: 18px; line-height: 1; }
.dfs-chip:hover { background: var(--dfs-tan); border-color: var(--dfs-tan); }
.dfs-chips__clear { display: inline-block; padding: 8px 6px; color: var(--dfs-blue); font-size: 14px; font-weight: 600; }
@media (pointer: coarse) {
	.dfs-chip { min-height: 44px; }
}

/* Loading: a hairline draws across the top of the results (the cards stay readable). */
.dfs-results::before {
	content: "";
	position: absolute;
	top: -2px;
	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: 56px 0; text-align: center; }
.dfs-results__empty p { margin: 0 0 16px; font-size: 17px; }
.dfs-results__empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.dfs-shop__pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 32px; }
.dfs-shop__pager:empty { display: none; }
.dfs-pager__range { margin: 0; color: var(--dfs-muted); font-size: 14px; }
.dfs-pager ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dfs-pager__link {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--dfs-line);
	border-radius: var(--dfs-radius);
	color: var(--dfs-navy);
	font-weight: 600;
	text-decoration: none;
}
a.dfs-pager__link:hover { border-color: var(--dfs-navy); background: var(--dfs-tan); color: var(--dfs-black); }
.dfs-pager__link[aria-current] { background: var(--dfs-navy); border-color: var(--dfs-navy); color: var(--dfs-white); }
.dfs-pager__gap { display: inline-grid; place-items: center; min-width: 20px; height: 44px; color: var(--dfs-muted); }

/* Filter drawer (below 1024px, with JS) */
.dfs-filters-backdrop { display: none; }
html.dfs-lock,
html.dfs-lock body { overflow: hidden; }
@media (max-width: 1023.98px) {
	.dfs-js .dfs-filters {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 9003;
		display: flex;
		flex-direction: column;
		width: min(300px, 85vw);
		background: var(--dfs-white);
		box-shadow: 0 0 40px color-mix(in srgb, var(--dfs-navy) 25%, transparent);
		transform: translateX(-100%);
		visibility: hidden;
		transition: transform var(--dfs-dur) var(--dfs-ease-in-out), visibility 0s linear var(--dfs-dur);
	}
	.dfs-js .dfs-filters.is-open { transform: none; visibility: visible; transition: transform var(--dfs-dur) var(--dfs-ease-out); }
	.dfs-js .dfs-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--dfs-line); }
	.dfs-filters__title { margin: 0; font: 600 18px/1.2 var(--dfs-font-body); color: var(--dfs-navy); }
	.dfs-filters__close {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border: 0;
		border-radius: 50%;
		background: transparent;
		color: var(--dfs-navy);
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
	}
	.dfs-filters__close:hover { background: var(--dfs-tan); }
	.dfs-js .dfs-filters__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
	.dfs-js .dfs-filters__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--dfs-line); background: var(--dfs-white); }
	.dfs-js .dfs-fpanel__body { max-height: none; }
	.dfs-js .dfs-filters-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 9002;
		background: color-mix(in srgb, var(--dfs-navy) 45%, transparent);
		opacity: 0;
		visibility: hidden;
		transition: opacity var(--dfs-dur) var(--dfs-ease-out), visibility 0s linear var(--dfs-dur);
	}
	.dfs-js .dfs-filters.is-open + .dfs-filters-backdrop { opacity: 1; visibility: visible; transition: opacity var(--dfs-dur) var(--dfs-ease-out); }
}

/* ---------------------------------------------------------------------------
   Product grid + card (shop and related products)
   ------------------------------------------------------------------------ */
ul.products.dfs-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 600px) {
	ul.products.dfs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	ul.products.dfs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) and (max-width: 1439.98px) {
	.dfs-shop ul.products.dfs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* the quote column takes the third */
}
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-line);
	border-radius: var(--dfs-radius);
	background: var(--dfs-white);
	font-family: var(--dfs-font-body);
	color: var(--dfs-black);
}
.dfs-card:focus-within { border-color: var(--dfs-periwinkle); }
.dfs-card__media {
	display: block;
	aspect-ratio: 4 / 5;
	padding: 16px;
	overflow: hidden;
	border-bottom: 1px solid var(--dfs-line);
	border-radius: var(--dfs-radius) var(--dfs-radius) 0 0;
}
@media (max-width: 599.98px) {
	.dfs-card__media { aspect-ratio: 4 / 3; }
}
.dfs-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dfs-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 14px 0; }
.dfs-card__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin: 0; font-size: 13px; line-height: 1.4; }
.dfs-card__brand { font-family: var(--dfs-font-display); color: var(--dfs-blue); text-decoration: none; }
.dfs-card__type { color: var(--dfs-muted); text-decoration: none; }
.dfs-card__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dfs-card__dot { color: var(--dfs-muted); }
.dfs-card__title {
	display: -webkit-box;
	min-height: calc(2 * 1.35em);
	max-height: calc(2 * 1.35em);
	margin: 0;
	padding: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-family: var(--dfs-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	text-transform: none;
}
/* Beats woocommerce.css ".woocommerce ul.products li.product .woocommerce-loop-product__title { padding: .5em 0 }". */
.woocommerce ul.products li.product .dfs-card__title.dfs-card__title { padding: 0; margin: 0; }
.dfs-card__title a { color: inherit; text-decoration: none; }
.dfs-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dfs-card__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin: auto 0 0; padding-top: 4px; font-size: 13px; }
.dfs-card__quote-only {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 10px 2px 8px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--dfs-orange) 12%, var(--dfs-white));
	color: var(--dfs-navy);
	font-weight: 600;
}
.dfs-card__quote-only::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dfs-orange); }
.dfs-card__model { color: var(--dfs-muted); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.dfs-card__form { display: flex; flex-direction: column; padding: 14px 14px 0; }
.dfs-card__actions { display: grid; gap: 8px; }
.dfs-card__view { width: 100%; min-height: 44px; padding-block: .55em; font-size: 14px; }
.dfs-card__quote { display: flex; gap: 8px; }
.dfs-card__ask { flex: 1; min-width: 0; padding-inline: .8em; white-space: nowrap; }
.dfs-card__add {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--dfs-blue);
	border-radius: var(--dfs-radius);
	background: var(--dfs-white);
	color: var(--dfs-blue);
	cursor: pointer;
	transition: background-color var(--dfs-dur-fast) linear, border-color var(--dfs-dur-fast) linear, color var(--dfs-dur-fast) linear;
}
.dfs-card__add svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dfs-card__add:hover { background: var(--dfs-tan); border-color: var(--dfs-tan); color: var(--dfs-black); }
.dfs-card__add:disabled { opacity: .6; cursor: progress; }
.dfs-card__added-icon,
.dfs-card__add.is-added .dfs-card__add-icon { display: none; }
.dfs-card__add.is-added { background: var(--dfs-navy); border-color: var(--dfs-navy); color: var(--dfs-white); }
.dfs-card__add.is-added .dfs-card__added-icon { display: block; animation: dfs-check var(--dfs-dur) var(--dfs-ease-out) both; }

.dfs-card__details { margin: 14px -14px 0; border-top: 1px solid var(--dfs-line); }
.dfs-card__toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 44px;
	padding: 8px 14px;
	list-style: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: var(--dfs-blue);
}
.dfs-card__toggle::-webkit-details-marker { display: none; }
.dfs-card__toggle::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; }
.dfs-card__details[open] > .dfs-card__toggle::after { content: "\2212"; }
.dfs-card__toggle:hover { background: var(--dfs-tile); }
.dfs-card__panel { padding: 4px 14px 14px; font-size: 14px; line-height: 1.5; }
.dfs-card__intro { margin: 0 0 10px; }
.dfs-card__options { margin: 4px 0 12px; padding: 0; border: 0; }
.dfs-card__options legend { margin-bottom: 6px; padding: 0; font-weight: 600; }
.dfs-card__option { margin: 0 0 8px; }
.dfs-card__option label { display: block; margin-bottom: 4px; font-size: 13px; }
.dfs-select,
.dfs-product-page table.variations select {
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid color-mix(in srgb, var(--dfs-navy) 35%, transparent);
	border-radius: var(--dfs-radius);
	background-color: var(--dfs-white);
	color: var(--dfs-black);
	font: 400 15px/1.3 var(--dfs-font-body);
}
.dfs-card__sheets { margin: 0; padding: 0; list-style: none; }
.dfs-card__sheets li + li { margin-top: 4px; }
.dfs-card__sheets a { color: var(--dfs-blue); font-weight: 600; text-underline-offset: 3px; }
.dfs-card__msg { margin: 0; padding: 8px 0 14px; font-size: 14px; font-weight: 600; color: var(--dfs-navy); }
/* Product page add button: a check draws in front of "Added". */
.single_add_to_cart_button.is-added::before {
	content: "";
	display: inline-block;
	width: .4em;
	height: .8em;
	margin: 0 .7em .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); } }

/* Quantity stepper */
.dfs-qty {
	display: inline-flex;
	align-items: stretch;
	height: 44px;
	border: 1px solid color-mix(in srgb, var(--dfs-navy) 35%, transparent);
	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); }
.dfs-qty__input {
	width: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--dfs-black);
	font: 600 16px/1 var(--dfs-font-body);
	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-offset: -3px; }

/* ---------------------------------------------------------------------------
   Quote list (shared by the panel and the Your Quote page)
   ------------------------------------------------------------------------ */
.dfs-quote__items { margin: 0; padding: 0; list-style: none; }
.dfs-quote__item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	grid-template-areas: "thumb info remove" "thumb qty remove";
	gap: 6px 12px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid var(--dfs-line);
}
.dfs-quote__thumb { grid-area: thumb; align-self: start; display: block; width: 56px; aspect-ratio: 1; padding: 4px; border-radius: 4px; background: var(--dfs-tile); }
.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: 600; line-height: 1.35; text-decoration: none; }
.dfs-quote__name:hover { text-decoration: underline; }
.dfs-quote__opts { display: block; margin-top: 2px; font-size: 13px; color: var(--dfs-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;
	border-radius: 50%;
	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: slide-in drawer by default; a sticky column beside the builder 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: var(--dfs-navy);
	color: var(--dfs-white);
	font-family: var(--dfs-font-body);
	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: 1fr auto;
	align-items: center;
	gap: 0 12px;
	padding: 20px 20px 16px;
	border-bottom: 1px solid color-mix(in srgb, var(--dfs-periwinkle) 35%, transparent);
}
.dfs-quote__title {
	margin: 0;
	font-family: var(--dfs-font-display);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.1;
	color: var(--dfs-white);
	outline: none;
}
.dfs-quote__count { grid-column: 1; margin: 4px 0 0; font-size: 14px; color: var(--dfs-periwinkle); }
.dfs-quote__close {
	grid-column: 2;
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	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: color-mix(in srgb, var(--dfs-periwinkle) 30%, transparent); }
.dfs-quote .dfs-quote__thumb { background: var(--dfs-white); }
.dfs-quote .dfs-quote__thumb img { mix-blend-mode: normal; }
.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__empty { padding: 20px 0; color: var(--dfs-periwinkle); }
.dfs-quote :is(a, button, input, summary):focus-visible { outline-color: var(--dfs-periwinkle); }
.dfs-quote__foot {
	padding: 16px 20px 20px;
	border-top: 1px solid color-mix(in srgb, var(--dfs-periwinkle) 35%, transparent);
}
.dfs-quote__send { width: 100%; justify-content: center; }
.dfs-quote__note { margin: 12px 0 8px; font-size: 13px; line-height: 1.5; color: var(--dfs-periwinkle); }
.dfs-quote__page-link { color: var(--dfs-white); font-size: 14px; font-weight: 600; text-underline-offset: 3px; }

.dfs-quote-backdrop {
	position: fixed;
	inset: 0;
	z-index: 9000;
	background: color-mix(in srgb, var(--dfs-navy) 45%, 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); }
.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: 10px;
	min-height: 52px;
	padding: 10px 12px 10px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--dfs-navy);
	color: var(--dfs-white);
	font: 500 var(--dfs-fs-button)/1 var(--dfs-font-body);
	letter-spacing: var(--dfs-button-tracking);
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 6px 18px color-mix(in srgb, var(--dfs-navy) 35%, transparent);
}
.dfs-quote-toggle:hover { background: var(--dfs-tan); color: var(--dfs-black); }
.dfs-quote-toggle__count {
	display: grid;
	place-items: center;
	min-width: 32px;
	height: 32px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--dfs-orange);
	color: var(--dfs-black);
	font-weight: 600;
}
.dfs-quote-toggle:focus-visible { outline: 3px 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: 1280px) {
	.dfs-quote--column {
		position: sticky;
		top: calc(var(--dfs-sticky-h, 120px) + 16px);
		z-index: auto;
		width: auto;
		max-height: calc(100vh - var(--dfs-sticky-h, 120px) - 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-radius: 14px 14px 0 0;
		transform: translateY(100%);
	}
}

/* ---------------------------------------------------------------------------
   Single product
   ------------------------------------------------------------------------ */
.dfs-product-page { padding-block: 24px clamp(64px, 8vw, 96px); font-family: var(--dfs-font-body); color: var(--dfs-black); }
.dfs-breadcrumb { margin-bottom: 24px; font-size: 14px; }
.dfs-breadcrumb p { margin: 0; }
.dfs-breadcrumb a { color: var(--dfs-blue); }
.dfs-breadcrumb__sep { margin: 0 8px; color: var(--dfs-muted); }

.dfs-product-page div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 900px) {
	.dfs-product-page div.product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
}
.woocommerce .dfs-product-page div.product div.images,
.woocommerce .dfs-product-page div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}
.dfs-product-page div.product > :is(.related, .up-sells, .woocommerce-tabs, .dfs-pdetail) { grid-column: 1 / -1; }
.dfs-product-page .woocommerce-product-gallery { border-radius: var(--dfs-radius); background: var(--dfs-tile); padding: 16px; }
.dfs-product-page .woocommerce-product-gallery img { mix-blend-mode: multiply; }
/* The hover zoom image is blended like the photo, so the photo showed through it: hide the photo while zooming. */
.dfs-product-page .woocommerce-product-gallery__image img:not(.zoomImg) { transition: opacity .12s linear; }
.dfs-product-page .woocommerce-product-gallery__image:has(.zoomImg):hover img:not(.zoomImg) { opacity: 0; }
.dfs-product-page .flex-control-thumbs li img { aspect-ratio: 1; object-fit: contain; }
/* Crossfade mode stacks floated slides with no viewport: contain them so the thumbnails sit below the photo. */
.dfs-product-page .woocommerce-product-gallery__wrapper { display: flow-root; }
.dfs-product-page :is(.related, .up-sells) ul.products.dfs-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.dfs-product__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.dfs-product__chip {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 12px;
	border: 1px solid var(--dfs-line);
	border-radius: 999px;
	color: var(--dfs-muted);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
.dfs-product__chip--brands { border-color: var(--dfs-blue); color: var(--dfs-blue); font-family: var(--dfs-font-display); font-weight: 400; }
.dfs-product__chip:hover { background: var(--dfs-tan); border-color: var(--dfs-tan); color: var(--dfs-black); }
.dfs-product__lede { max-width: 60ch; margin: 0 0 10px; font-size: 18px; line-height: 1.55; }
.dfs-product__model { margin: 0; color: var(--dfs-muted); font-size: 14px; }
.dfs-product__model span { color: var(--dfs-navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.dfs-keyspecs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 20px 0 0; overflow: hidden; border: 1px solid var(--dfs-line); border-radius: var(--dfs-radius); background: var(--dfs-line); }
.dfs-keyspecs > div { padding: 12px 14px; background: var(--dfs-white); }
.dfs-keyspecs dt { margin: 0 0 4px; color: var(--dfs-muted); font-size: 12px; font-weight: 600; }
.dfs-keyspecs dd { margin: 0; color: var(--dfs-navy); font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }

/* Detail sections below the fold: sticky section bar (desktop), Overview, Key features, Specifications, downloads. */
.dfs-pdetail { margin-top: clamp(16px, 3vw, 40px); }
.dfs-pnav { display: none; }
@media (min-width: 900px) {
	.dfs-pnav {
		display: block;
		position: sticky;
		top: var(--dfs-sticky-h, 120px);
		z-index: 5;
		border-bottom: 1px solid var(--dfs-line);
		background: var(--dfs-white);
	}
	.dfs-pnav ul { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0; padding: 0; list-style: none; }
	.dfs-pnav a {
		display: flex;
		align-items: center;
		min-height: 52px;
		border-bottom: 3px solid transparent;
		color: var(--dfs-navy);
		font-weight: 600;
		text-decoration: none;
	}
	.dfs-pnav a:hover { border-bottom-color: var(--dfs-tan); }
	.dfs-pnav a[aria-current] { border-bottom-color: var(--dfs-orange); color: var(--dfs-blue); }
}
.dfs-psec { padding-top: clamp(32px, 5vw, 56px); scroll-margin-top: calc(var(--dfs-sticky-h, 120px) + 56px); }
.dfs-psec__title {
	margin: 0 0 20px;
	font-family: var(--dfs-font-display);
	font-size: var(--dfs-fs-h3);
	font-weight: 400;
	line-height: 1.1;
	color: var(--dfs-blue);
}
.dfs-prose { max-width: 72ch; font-size: 17px; line-height: 1.65; }
.dfs-prose p { margin: 0 0 1em; }
.dfs-features { display: grid; gap: 12px 40px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) {
	.dfs-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.dfs-features li { position: relative; min-height: 28px; padding: 3px 0 0 40px; line-height: 1.5; }
.dfs-features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--dfs-orange) 14%, var(--dfs-white));
}
.dfs-features li::after {
	content: "";
	position: absolute;
	left: 10px;
	top: 6px;
	width: 7px;
	height: 13px;
	border: solid var(--dfs-orange);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}
@media (min-width: 1024px) {
	.dfs-specgroups { columns: 2; column-gap: 48px; }
}
.dfs-specgroup { break-inside: avoid; margin: 0 0 24px; }
.dfs-specgroup > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	border-bottom: 2px solid var(--dfs-navy);
	list-style: none;
	cursor: pointer;
}
.dfs-specgroup > summary::-webkit-details-marker { display: none; }
.dfs-specgroup > summary::after { content: "+"; color: var(--dfs-navy); font-size: 22px; line-height: 1; }
.dfs-specgroup[open] > summary::after { content: "\2212"; }
.dfs-specgroup__title { margin: 0; font: 600 var(--dfs-fs-h6)/1.25 var(--dfs-font-body); color: var(--dfs-navy); }
.dfs-spectable { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; }
.dfs-spectable th,
.dfs-spectable td { padding: 10px 0; border-bottom: 1px solid var(--dfs-line); text-align: left; vertical-align: top; line-height: 1.45; }
.dfs-spectable th { width: 42%; padding-right: 16px; color: var(--dfs-muted); font-weight: 500; }
.dfs-spectable td { font-weight: 600; overflow-wrap: anywhere; }
.dfs-product-page .product_title {
	margin: 0 0 16px;
	font-family: var(--dfs-font-display);
	font-size: var(--dfs-fs-h3);
	font-weight: 400;
	line-height: 1.1;
	color: var(--dfs-blue);
}
.dfs-product-page .woocommerce-product-details__short-description { font-size: 17px; line-height: 1.6; }

.dfs-specs { margin: 0 0 12px; }
.dfs-specs__row {
	display: grid;
	grid-template-columns: minmax(90px, 40%) minmax(0, 1fr);
	gap: 12px;
	padding: 6px 0;
	border-bottom: 1px dotted var(--dfs-line);
}
.dfs-specs dt { color: var(--dfs-muted); }
.dfs-specs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.dfs-product-page form.cart { margin: 24px 0 0; padding: 20px; border: 1px solid var(--dfs-line); border-radius: var(--dfs-radius); }
.dfs-product-page form.cart table.variations { margin-bottom: 12px; }
.dfs-product-page form.cart table.variations th,
.dfs-product-page form.cart table.variations td { display: block; padding: 0 0 6px; text-align: left; line-height: 1.3; }
.dfs-product-page form.cart table.variations label { font-weight: 600; }
.dfs-product-page form.cart .reset_variations { font-size: 14px; color: var(--dfs-blue); }
.dfs-product-page form.cart .woocommerce-variation-add-to-cart,
.dfs-product-page form.simple_cart,
.dfs-product-page form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dfs-product-page form.cart .quantity .qty {
	width: 72px;
	min-height: 48px;
	border: 1px solid color-mix(in srgb, var(--dfs-navy) 35%, transparent);
	border-radius: var(--dfs-radius);
	font: 600 16px/1 var(--dfs-font-body);
}
.dfs-product-page form.cart button.single_add_to_cart_button.button {
	min-height: 48px;
	padding: 12px 28px;
	border-radius: var(--dfs-radius);
	background: var(--dfs-blue);
	color: var(--dfs-white);
	font: 500 var(--dfs-fs-button)/1 var(--dfs-font-body);
	letter-spacing: var(--dfs-button-tracking);
	text-transform: uppercase;
}
.dfs-product-page form.cart button.single_add_to_cart_button.button:hover,
.dfs-product-page form.cart button.single_add_to_cart_button.button.is-added { background: var(--dfs-tan); color: var(--dfs-black); }
.dfs-product-page form.cart button.single_add_to_cart_button.button.disabled { opacity: .55; }
/* While adding, the button is disabled and woocommerce.css paints disabled .alt buttons purple
   (selectors up to .woocommerce .button.alt:disabled[disabled]:hover); the doubled classes outrank them. */
.dfs-product-page form.cart button.single_add_to_cart_button.single_add_to_cart_button.button.button:is(:disabled, .disabled, .loading),
.dfs-product-page form.cart button.single_add_to_cart_button.single_add_to_cart_button.button.button:is(:disabled, .disabled, .loading):hover {
	background: var(--dfs-blue);
	color: var(--dfs-white);
	opacity: .7;
	cursor: progress;
}
/* .disabled alone = "choose options first" on variable products, not busy. */
.dfs-product-page 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-product-page .dfs_product_button { flex-basis: 100%; }
.dfs-product-page .dfs-card__msg { flex-basis: 100%; padding: 0; }

.dfs-sheets {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dfs-sheets__link {
	display: block;
	height: 100%;
	padding: 10px;
	border: 1px solid var(--dfs-line);
	border-radius: var(--dfs-radius);
	color: var(--dfs-black);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.dfs-sheets__link:hover { border-color: var(--dfs-orange); }
.dfs-sheets__img { display: block; width: 100%; height: auto; margin-bottom: 8px; border: 1px solid var(--dfs-line); }
.dfs-sheets__label,
.dfs-sheets__name { display: block; }
.dfs-sheets__name { margin-top: 2px; font-weight: 400; color: var(--dfs-muted); }

.dfs-product-page .related { margin-top: clamp(32px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--dfs-line); }
.dfs-product-page .related > h2 {
	margin: 0 0 24px;
	font-family: var(--dfs-font-display);
	font-size: var(--dfs-fs-h3);
	font-weight: 400;
	color: var(--dfs-blue);
}

/* ---------------------------------------------------------------------------
   Your Quote page (cart)
   ------------------------------------------------------------------------ */
.dfs-quote-page {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	font-family: var(--dfs-font-body);
	color: var(--dfs-black);
}
@media (min-width: 900px) {
	.dfs-quote-page { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
}
/* Doubled class: page.php wraps this in .dfs-content, whose heading and link rules are more specific. */
.dfs-quote-page .dfs-quote-page__title {
	margin: 0 0 12px;
	font-family: var(--dfs-font-body);
	font-size: var(--dfs-fs-h5);
	font-weight: 500;
	color: var(--dfs-navy);
}
.dfs-quote-page [data-dfs-quote-list] { outline: none; }
.dfs-quote-page .dfs-quote__item { grid-template-columns: 72px minmax(0, 1fr) auto auto; grid-template-areas: "thumb info qty remove"; }
.dfs-quote-page .dfs-quote__thumb { width: 72px; }
.dfs-quote-page__update { margin: 16px 0 0; }
.dfs-js .dfs-quote-page__update { display: none; }
.dfs-quote-page__send {
	padding: 24px;
	border-radius: var(--dfs-radius);
	background: var(--dfs-navy);
	color: var(--dfs-white);
}
.dfs-quote-page__send .dfs-quote-page__title { color: var(--dfs-white); }
.dfs-quote-page .dfs-quote__item a.dfs-quote__remove.dfs-quote__remove { text-decoration: none; }
.dfs-quote-page__send p { line-height: 1.55; }
.dfs-quote-page__send .dfs-btn { width: 100%; justify-content: center; }
.dfs-quote-page__send a:not(.dfs-btn) { color: var(--dfs-white); font-weight: 600; }
.dfs-quote-page .dfs-quote-page__send > p:last-of-type { margin: 20px 0 0; }
@media (max-width: 599.98px) {
	.dfs-quote-page .dfs-quote__item { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "thumb info remove" "thumb qty remove"; }
	.dfs-quote-page .dfs-quote__thumb { width: 56px; }
}

/* ---------------------------------------------------------------------------
   Products landing (page 59)
   ------------------------------------------------------------------------ */
.dfs-products-landing__intro { max-width: 70ch; margin-bottom: clamp(32px, 5vw, 56px); font-size: 17px; line-height: 1.6; }
.dfs-products-landing__intro h2 {
	margin: 0 0 16px;
	font-family: var(--dfs-font-display);
	font-size: var(--dfs-fs-h2);
	font-weight: 400;
	line-height: 1.1;
	color: var(--dfs-blue);
}
.dfs-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dfs-cat-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid var(--dfs-line);
	border-radius: var(--dfs-radius);
	color: var(--dfs-black);
	text-decoration: none;
	overflow: hidden;
}
.dfs-cat-card__media { display: block; aspect-ratio: 4 / 3; padding: 20px; overflow: hidden; background: var(--dfs-tile); }
.dfs-cat-card__media img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dfs-cat-card__name { padding: 16px 16px 4px; font-size: var(--dfs-fs-h6); font-weight: 600; line-height: 1.25; }
.dfs-cat-card__count { padding: 0 16px 16px; font-size: 14px; color: var(--dfs-muted); }
.dfs-cat-card__link:hover { border-color: var(--dfs-orange); }
.dfs-cat-card__media img { transition: scale var(--dfs-dur) var(--dfs-ease-out); }
.dfs-cat-card__link:hover .dfs-cat-card__name { text-decoration: underline; text-underline-offset: 4px; }
.dfs-products-landing__cta { margin: clamp(32px, 5vw, 56px) 0 0; text-align: center; }

/* ---------------------------------------------------------------------------
   Contact page
   ------------------------------------------------------------------------ */
.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 { font-family: var(--dfs-font-body); line-height: 1.6; }
.dfs-contact__info h2 {
	margin: 0 0 12px;
	font-family: var(--dfs-font-display);
	font-size: var(--dfs-fs-h3);
	font-weight: 400;
	line-height: 1.1;
	color: var(--dfs-blue);
}
.dfs-contact__info a { color: var(--dfs-blue); font-weight: 600; }
.dfs-contact__team { margin-top: 16px; border-top: 1px solid var(--dfs-line); border-bottom: 1px solid var(--dfs-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: 500;
	color: var(--dfs-navy);
}
.dfs-contact__team summary::-webkit-details-marker { display: none; }
.dfs-contact__team summary::after { content: "+"; font-weight: 400; }
.dfs-contact__team[open] summary::after { content: "\2212"; }
.dfs-contact__team .dfs-contact__text { padding-bottom: 12px; }

/* ---------------------------------------------------------------------------
   Motion (REDESIGN.md "Motion"): transform/opacity/clip-path only; durations are tokens, so reduced motion zeroes them.
   ------------------------------------------------------------------------ */

/* Cards (builder, related, category grid): lift, soft shadow, photo eases forward inside its tile.
   The lift uses `translate`, so it composes with the scroll reveal's `transform` from dfs-base.css. */
.dfs-card,
.dfs-cat-card__link { position: relative; isolation: isolate; }
.dfs-card::after,
.dfs-cat-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	box-shadow: 0 18px 34px -20px color-mix(in srgb, var(--dfs-navy) 55%, transparent);
	opacity: 0;
	transition: opacity var(--dfs-dur-fast) var(--dfs-ease-out);
	pointer-events: none;
}
.dfs-card,
.dfs-cat-card__link { transition: translate var(--dfs-dur-fast) var(--dfs-ease-out), border-color var(--dfs-dur-fast) linear; }
.dfs-js .dfs-card.dfs-reveal {
	transition: opacity var(--dfs-dur-slow) var(--dfs-ease-out) var(--dfs-delay, 0ms),
		transform var(--dfs-dur-slow) var(--dfs-ease-out) var(--dfs-delay, 0ms),
		translate var(--dfs-dur-fast) var(--dfs-ease-out),
		border-color var(--dfs-dur-fast) linear;
}
.dfs-card__media img { transition: scale var(--dfs-dur) var(--dfs-ease-out); }
@media (hover: hover) {
	.dfs-card:hover,
	.dfs-cat-card__link:hover { translate: 0 -4px; }
	.dfs-card:hover::after,
	.dfs-cat-card__link:hover::after { opacity: 1; }
	.dfs-card:hover .dfs-card__media img,
	.dfs-cat-card__link:hover .dfs-cat-card__media img { scale: 1.05; }
}

/* 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, .dfs-specgroup) { interpolate-size: allow-keywords; }
	.dfs-js :is(.dfs-card__details, .dfs-contact__team, .dfs-specgroup)::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, .dfs-specgroup)[open]::details-content { block-size: auto; }
}
@keyframes dfs-drop { from { opacity: 0; transform: translateY(-8px); } }

/* 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); } }

/* Product gallery: the active thumbnail ring scales into place; slides crossfade (flexslider "fade"). */
.dfs-product-page .flex-control-thumbs li { position: relative; }
.dfs-product-page .flex-control-thumbs li::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--dfs-orange);
	border-radius: 4px;
	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-product-page .flex-control-thumbs li:has(img.flex-active)::after { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.dfs-product-page .woocommerce-product-gallery__image { transition: none !important; }
	.dfs-card:hover,
	.dfs-cat-card__link:hover { translate: none; }
	.dfs-card:hover .dfs-card__media img,
	.dfs-cat-card__link:hover .dfs-cat-card__media img { scale: none; }
}
