/* The product page widgets — template 06 "Crossbreed" (Jack-approved
   2026-08-28), ported 1:1 from the mockup with the site's established
   micro-interactions: theme .bold-btn wipes, .alloway-reveal scroll
   reveals, the card-lift hover, and reduced-motion branches. Slabs,
   buttons, and type come from the theme (bold.css); this file styles
   what the product blocks add. */

/* ---------- Hero: full-bleed loop (or photo), stats band ---------- */

.alloway-phero {
	position: relative;
	background: var(--bold-dark);
	color: #fff;
	overflow: hidden;
}

.alloway-phero--media {
	min-height: 78vh;
	display: flex;
	align-items: flex-end;
}

.alloway-phero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

.alloway-phero__bg--photo {
	background-size: cover;
	background-position: center;
}

.alloway-phero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgb(19 17 17 / 35%),
		rgb(19 17 17 / 90%) 78%
	);
}

.alloway-phero__in {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding: clamp(3rem, 7vw, 5.5rem) clamp(1.1rem, 4vw, 2rem) 3rem;
}

/* Doubled selector: the theme's generic .bold-crumbs (dark gray, for
   light pages) otherwise wins the cascade and goes near-invisible on
   the dark hero (Jack's dogfood catch 2026-08-28). Mockup gray. */
.alloway-phero .alloway-phero__crumbs,
.alloway-phero .alloway-phero__crumbs a {
	color: #9d9a93;
}

.alloway-phero .alloway-phero__crumbs a:hover,
.alloway-phero .alloway-phero__crumbs a:focus-visible {
	color: #fff;
}

.alloway-phero .alloway-eyebrow {
	color: #e9e7e2;
}

.alloway-phero__name {
	font-size: clamp(3.2rem, 9vw, 7.5rem);
	color: #fff;
	margin-top: 0.35rem;
}

.alloway-phero__lead {
	max-width: 46ch;
	color: #d9d6cf;
	margin-top: 0.8rem;
}

.alloway-phero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.6rem;
}

/* Hero ghost CTAs (brochure/dealer): the hover WIPE fills white with
   black text (Jack 2026-08-28 rev. 3). The visible hover layer is the
   ::before wipe pseudo, so the fix rides --bold-btn-wipe (the
   per-context map mechanism) — overriding background alone leaves the
   default gold sweep painting over it (the Folding Harvester catch). */
.alloway-phero .bold-btn--ghost {
	--bold-btn-wipe: #fff;
}

.alloway-phero .bold-btn--ghost:hover,
.alloway-phero .bold-btn--ghost:focus-visible {
	background: #fff;
	color: var(--bold-dark) !important;
	border-color: #fff;
}

.alloway-phero--media .bold-btn--ghost {
	color: #fff;
}

/* The stat band: standard stats in on-dark yellow, the LAST (signature)
   stat in gold. */

.alloway-pstats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid #2a2624;
	background: var(--bold-dark);
	color: #fff;
}

.alloway-pstats--n2 {
	grid-template-columns: repeat(2, 1fr);
}

.alloway-pstats--n3 {
	grid-template-columns: repeat(3, 1fr);
}

.alloway-pstats div {
	padding: 1.5rem;
	border-right: 1px solid #2a2624;
	text-align: center;
}

.alloway-pstats b {
	font-family: var(--bold-display);
	font-weight: 800;
	font-size: clamp(1.7rem, 3.6vw, 2.8rem);
	color: var(--wp--preset--color--on-dark, #ffe500);
	display: block;
	line-height: 1;
	text-transform: uppercase;
}

.alloway-pstats span {
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.72rem;
	color: #9d9a93;
}

.alloway-pstats__sig b {
	color: var(--bold-gold);
}

/* The mockup's black/gold caution stripe: under the stat band, between
   the binder and the quote slab, and under the quote slab. */
.alloway-hazard {
	height: 14px;
	background: repeating-linear-gradient(
		135deg,
		var(--bold-dark) 0 14px,
		var(--bold-gold) 14px 28px
	);
}

/* The mockup's muted caption line (media placeholder note, compare
   best-value note). */
.alloway-pnote {
	font-size: 0.8rem;
	color: #8d8a83;
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 1.4rem;
}

/* ---------- Binder: rail + sheet ---------- */

.alloway-pbinder {
	background: var(--wp--preset--color--surface);
	padding: clamp(2.4rem, 5vw, 4rem) clamp(1.1rem, 4vw, 2rem);
}

.alloway-pbinder__grid {
	max-width: 1200px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: clamp(1.4rem, 3vw, 2.4rem);
	align-items: start;
}

/* The mockup's own guard, on BOTH breakpoints: min-width:auto lets the
   nowrap amz track's min-content blow the column past the viewport and
   the scroller never scrolls (Jack's dogfood catch 2026-08-28 — the
   ≤905 override said plain 1fr, i.e. minmax(auto,1fr), so specs went
   unscrollable on phones while desktop stayed fine). */
.alloway-pbinder__grid > * {
	min-width: 0;
}

.alloway-pbinder__rail {
	position: sticky;
	top: 160px; /* clears the sticky Bold header */
	display: flex;
	flex-direction: column;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	overflow: hidden;
	background: #fff;
}

/* display:block would defeat the no-JS hidden attribute (pattern 33). */
.alloway-pbinder__rail[hidden] {
	display: none;
}

.alloway-pbinder__rail button {
	appearance: none;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border, #e5e5e5);
	cursor: pointer;
	text-align: left;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 1rem 1.1rem;
	font-family: var(--bold-cond);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.85rem;
	color: var(--wp--preset--color--muted);
	transition:
		background-color 0.18s var(--bold-ease),
		color 0.18s var(--bold-ease);
}

.alloway-pbinder__rail button:last-child {
	border-bottom: 0;
}

.alloway-pbinder__rail button:hover,
.alloway-pbinder__rail button:focus-visible {
	color: var(--bold-ink);
}

.alloway-pbinder__ix {
	font-family: var(--bold-display);
	font-weight: 800;
	color: var(--bold-gold-deep);
	width: 1.6rem;
}

.alloway-pbinder__rail button[aria-selected="true"] {
	background: var(--bold-dark);
	color: var(--bold-gold);
}

.alloway-pbinder__rail button[aria-selected="true"] .alloway-pbinder__ix {
	color: var(--bold-gold);
}

/* Mobile/tablet keep the boxed sheet; desktop runs free on the page
   (the approved 01 panel feel). */
.alloway-pbinder__sheet {
	background: #fff;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	box-shadow: 8px 8px 0 rgb(19 17 17 / 12%);
}

.alloway-pbinder__body {
	padding: 1.5rem;
}

.alloway-pbinder__ptitle {
	font-family: var(--bold-display);
	text-transform: uppercase;
	font-weight: 800;
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	border-bottom: 2px solid var(--bold-dark);
	padding-bottom: 0.9rem;
	margin-bottom: 1.4rem;
}

/* Panels: the no-JS page is the complete stack; JS collapses it to the
   active tab with a small fade-up (transform/opacity only). */
.alloway-pbinder__pg + .alloway-pbinder__pg {
	margin-top: 2.4rem;
}

.alloway-pbinder.is-js .alloway-pbinder__pg {
	display: none;
	margin-top: 0;
}

.alloway-pbinder.is-js .alloway-pbinder__pg.is-on {
	display: block;
	animation: alloway-panel-in 0.22s var(--bold-ease);
}

@keyframes alloway-panel-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.alloway-pbinder.is-js .alloway-pbinder__pg.is-on {
		animation: none;
	}
}

@media (min-width: 906px) {
	.alloway-pbinder__sheet {
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.alloway-pbinder__body {
		padding: 0;
	}

	.alloway-pbinder__ptitle {
		font-size: clamp(1.9rem, 3.4vw, 2.6rem);
		margin-bottom: 1.8rem;
	}
}

/* ---------- Overview: copy + why-growers box + walkaround ---------- */

.alloway-pov {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 1.5rem;
	margin-bottom: 1.6rem;
	align-items: start;
}

.alloway-pov__copy p + p {
	margin-top: 0.9rem;
}

.alloway-pcard-box {
	background: var(--wp--preset--color--surface);
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	padding: 1.4rem;
}

.alloway-pcard-box h3 {
	font-family: var(--bold-display);
	text-transform: uppercase;
	font-weight: 800;
	font-size: 1.15rem;
	margin-bottom: 0.7rem;
}

.alloway-plist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.alloway-plist li {
	padding: 0.5rem 0 0.5rem 1.4rem;
	position: relative;
	border-bottom: 1px solid var(--wp--preset--color--border, #e5e5e5);
	font-size: 0.95rem;
}

.alloway-plist li:last-child {
	border-bottom: 0;
}

/* Black square bullets (Jack, 2026-08-28). */
.alloway-plist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1em;
	width: 0.55rem;
	height: 0.55rem;
	background: var(--bold-dark);
}

.alloway-pwalk {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 1.5rem;
	align-items: center;
}

.alloway-pwalk__stage {
	position: relative;
}

.alloway-pwalk__stage img {
	width: 100%;
	height: auto;
}

.alloway-pwalk__spot {
	position: absolute;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 3px solid var(--bold-dark);
	background: var(--bold-gold);
	color: var(--bold-dark);
	cursor: pointer;
	display: grid;
	place-items: center;
	font-family: var(--bold-display);
	font-weight: 800;
	font-size: 1.1rem;
	box-shadow: 0 6px 16px rgb(19 17 17 / 25%);
	transition: transform 0.18s var(--bold-ease);
}

.alloway-pwalk__spot:hover,
.alloway-pwalk__spot:focus-visible {
	transform: scale(1.12);
}

.alloway-pwalk__spot[aria-pressed="true"] {
	background: var(--bold-dark);
	color: var(--bold-gold);
	border-color: var(--bold-gold);
}

.alloway-pwalk__detail {
	background: var(--wp--preset--color--surface);
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	padding: 1.4rem;
	min-height: 250px;
}

.alloway-pwalk__letter {
	font-family: var(--bold-display);
	font-weight: 800;
	color: var(--bold-gold-deep);
	letter-spacing: 0.05em;
}

.alloway-pwalk__detail h3 {
	font-family: var(--bold-display);
	text-transform: uppercase;
	font-weight: 800;
	font-size: 1.35rem;
	margin: 0.2rem 0 0.5rem;
}

.alloway-pwalk__detail p {
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
}

/* Every detail card is server-rendered so the no-JS page is complete;
   JS adds .is-js and collapses the stack to the pressed spot's card. */
.alloway-pwalk__details {
	display: grid;
	gap: 1rem;
	align-self: start;
}

.alloway-pwalk.is-js .alloway-pwalk__details {
	align-self: center;
}

.alloway-pwalk.is-js .alloway-pwalk__detail {
	display: none;
}

.alloway-pwalk.is-js .alloway-pwalk__detail.is-on {
	display: block;
}

/* ---------- Sizes & specs ---------- */

.alloway-ptable--desktop {
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	background: #fff;
	padding: 0 0.4rem;
	overflow-x: auto;
}

.alloway-ptable--desktop + .alloway-ptable--amz,
.alloway-ptable--desktop + .alloway-pkv,
.alloway-ptable--amz + .alloway-pkv,
.alloway-pkv + .alloway-pkv {
	margin-top: 1.4rem;
}

.alloway-ptable--desktop .bold-spec {
	width: 100%;
}

/* Mockup cell rhythm on every cell, not just the head: the bold-spec
   base (homepage widget) runs tighter padding and wrapping, which read
   as cramped here (Jack's dogfood catch 2026-08-28). The wrapper is an
   overflow-x scroller, so nowrap can never blow the page. */
.alloway-ptable--desktop .bold-spec th,
.alloway-ptable--desktop .bold-spec td {
	padding: 0.65rem 0.75rem;
	white-space: nowrap;
	text-align: left;
}

.alloway-ptable--desktop .bold-spec thead th {
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.78rem;
	border-bottom: 2px solid var(--bold-dark);
}

.alloway-ptable--desktop .bold-spec tbody th {
	width: 30%;
	min-width: 12rem;
}

.alloway-ptable--desktop .bold-spec tbody tr:hover {
	background: #fff7dc;
}

.alloway-ptable--amz {
	display: none;
}

.alloway-pkv {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	overflow: hidden;
	background: #fff;
}

.alloway-pkv div {
	padding: 0.95rem 1.1rem;
	border-right: 1px solid var(--wp--preset--color--border, #e5e5e5);
	border-bottom: 1px solid var(--wp--preset--color--border, #e5e5e5);
}

.alloway-pkv b {
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.7rem;
	color: var(--wp--preset--color--muted);
	display: block;
}

.alloway-pkv span {
	font-size: 0.93rem;
	line-height: 1.5;
	display: block;
}

/* Balanced last row (Jack's dogfood catch 2026-08-28: ragged/uneven
   cells): when the cell count leaves a remainder in the 3-column
   grid, the final cell stretches across the leftover columns. */
.alloway-pkv div:last-child:nth-child(3n + 1) {
	grid-column: 1 / -1;
}

.alloway-pkv div:last-child:nth-child(3n + 2) {
	grid-column: span 2;
}

.alloway-ppending {
	max-width: 40rem;
}

.alloway-ppending .alloway-phero__actions {
	margin-top: var(--wp--preset--spacing--30);
}

/* ---------- Features & options ---------- */

.alloway-pfeat {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
}

.alloway-pfeat article {
	background: #fff;
	border: 1px solid var(--wp--preset--color--border, #e5e5e5);
	border-top: 4px solid var(--bold-gold);
	padding: 1.1rem;
	border-radius: var(--bold-radius-sm);
	transition:
		transform 0.18s var(--bold-ease),
		box-shadow 0.18s var(--bold-ease);
}

.alloway-pfeat article:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgb(19 17 17 / 12%);
}

@media (prefers-reduced-motion: reduce) {
	.alloway-pfeat article,
	.alloway-pfeat article:hover {
		transition: none;
		transform: none;
	}
}

.alloway-pfeat h3 {
	font-family: var(--bold-display);
	text-transform: uppercase;
	font-weight: 800;
	font-size: 1rem;
	margin-bottom: 0.35rem;
}

.alloway-pfeat p {
	font-size: 0.88rem;
	color: var(--wp--preset--color--muted);
}

.alloway-pcard-box--options {
	margin-top: 1.4rem;
}

/* ---------- Media + lightbox ---------- */

.alloway-pmedia__player {
	width: 100%;
	display: block;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	background: #000;
}

.alloway-pmedia__player + .alloway-pmedia__player {
	margin-top: 1rem;
}

.alloway-pmedia__thumbs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 1rem;
}

.alloway-pmedia__thumbs button {
	appearance: none;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	padding: 0;
	cursor: pointer;
	overflow: hidden;
	background: none;
}

.alloway-pmedia__thumbs img {
	aspect-ratio: 16 / 11;
	object-fit: cover;
	width: 100%;

	/* height:auto is load-bearing: WP images carry a height ATTRIBUTE,
	   and aspect-ratio only applies when the other axis is auto — with
	   the attribute honored, portrait-ish uploads rendered as tall
	   skinny cards (Jack's dogfood catch 2026-08-28, the 3130). */
	height: auto;
	display: block;
	transition: transform 0.25s var(--bold-ease);
}

.alloway-pmedia__thumbs button:hover img,
.alloway-pmedia__thumbs button:focus-visible img {
	transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
	.alloway-pmedia__thumbs img,
	.alloway-pmedia__thumbs button:hover img {
		transition: none;
		transform: none;
	}
}

.alloway-plightbox {
	position: fixed;
	inset: 0;
	background: rgb(19 17 17 / 92%);
	display: none;
	z-index: 900;
	align-items: center;
	justify-content: center;
}

.alloway-plightbox.is-on {
	display: flex;
}

.alloway-plightbox img {
	max-width: min(92vw, 1100px);
	max-height: 82vh;
	border: 3px solid var(--bold-gold);
	border-radius: var(--bold-radius-sm);
}

.alloway-plightbox__x {
	position: absolute;
	top: 1rem;
	right: 1.2rem;
	font-family: var(--bold-display);
	font-weight: 800;
	font-size: 2rem;
	color: #fff;
	background: none;
	border: 0;
	cursor: pointer;
}

.alloway-plightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--bold-display);
	font-weight: 800;
	font-size: 2.6rem;
	color: var(--bold-gold);
	background: none;
	border: 0;
	cursor: pointer;
	padding: 1rem;
}

.alloway-plightbox__prev {
	left: 0.6rem;
}

.alloway-plightbox__next {
	right: 0.6rem;
}

.alloway-plightbox__count {
	position: absolute;
	bottom: 1.2rem;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.8rem;
	color: #c9c6bf;
}

/* ---------- Compare ---------- */

.alloway-pcompare__lead {
	color: var(--wp--preset--color--muted);
	margin-bottom: 1.2rem;
}

.alloway-pcompare__pick {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.9rem;
	margin-bottom: 1.4rem;
}

/* The picker ships hidden (JS-only) and the static server comparison
   ships visible; enhancement swaps the two. Both carry author display
   values, so [hidden] must be restored explicitly (worklog pattern 33). */
.alloway-pcompare__pick[hidden],
.alloway-pcompare__static[hidden] {
	display: none;
}

.alloway-pcompare__pk {
	background: #fff;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	padding: 0.85rem;
	font-size: 0.85rem;
	transition:
		transform 0.18s var(--bold-ease),
		box-shadow 0.18s var(--bold-ease);
}

.alloway-pcompare__pk:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgb(19 17 17 / 12%);
}

@media (prefers-reduced-motion: reduce) {
	.alloway-pcompare__pk,
	.alloway-pcompare__pk:hover {
		transition: none;
		transform: none;
	}
}

.alloway-pcompare__pk img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
	height: auto;
	border: 1px solid var(--wp--preset--color--border, #e5e5e5);
	border-radius: var(--bold-radius-sm);
	margin-bottom: 0.55rem;
}

.alloway-pcompare__pk b {
	font-family: var(--bold-cond);
	text-transform: uppercase;
	display: block;
	line-height: 1.25;
}

.alloway-pcompare__pk b span {
	color: var(--wp--preset--color--muted);
	font-size: 0.72rem;
}

.alloway-pcompare__pk label {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 0.5rem;
	font-family: var(--bold-cond);
	text-transform: uppercase;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	cursor: pointer;
}

.alloway-pcompare__pk input {
	width: 1.1rem;
	height: 1.1rem;
	accent-color: var(--bold-gold-deep);
}

.alloway-pcompare__pk.is-on {
	outline: 3px solid var(--bold-gold);
	outline-offset: 2px;
}

.alloway-pcompare__desktop {
	overflow-x: auto;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	background: #fff;
}

.alloway-pcompare__desktop:empty {
	display: none;
}

.alloway-pcompare__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.93rem;
	min-width: 560px;
}

.alloway-pcompare__table th,
.alloway-pcompare__table td {
	padding: 0.7rem 0.85rem;
	text-align: left;
	border-bottom: 1px solid var(--wp--preset--color--border, #e5e5e5);
}

.alloway-pcompare__table thead th {
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.78rem;
	border-bottom: 2px solid var(--bold-dark);
	background: var(--wp--preset--color--surface);
}

.alloway-pcompare__table tbody th {
	font-family: var(--bold-cond);
	text-transform: uppercase;
	font-size: 0.76rem;
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.05em;
}

.alloway-pcompare__table td {
	font-variant-numeric: tabular-nums;
}

/* The mockup's best-value mark: lightest tractor requirement in the
   selection — pale gold cell on desktop, deep-gold text in the
   Amazon scroller. */
.alloway-pcompare__table td.is-best {
	background: #fff7dc;
	font-weight: 700;
}

[data-compare-mobile] .amz-cell.is-best {
	color: var(--bold-gold-deep);
	font-weight: 700;
}

.alloway-pcompare__table tfoot td {
	border-bottom: 0;
	padding: 1rem 0.85rem;
}

.alloway-pcompare__go {
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}

.alloway-pcompare__mobile {
	display: none;
}

.alloway-pcompare__few {
	color: var(--wp--preset--color--muted);
}

/* ---------- The Amazon scroller (Jack's recording): sticky-left
   labels, columns slide underneath. Shared by sizes + compare. ---------- */

.amz-scroller {
	overflow-x: auto;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

.amz-track {
	display: inline-block;
	min-width: 100%;
}

.amz-row {
	white-space: nowrap;
	border-bottom: 1px solid var(--wp--preset--color--border, #e5e5e5);
}

.amz-row:last-child {
	border-bottom: 0;
}

.amz-lbl {
	position: sticky;
	left: 0;
	display: block;
	background: #fff;
	font-family: var(--bold-cond);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.74rem;
	padding: 0.55rem 0.8rem 0;
	width: max-content;
	z-index: 2;
}

.amz-cells {
	display: flex;
}

.amz-cell {
	flex: 0 0 46vw;
	max-width: 190px;
	padding: 0.15rem 0.8rem 0.6rem;
	font-size: 0.92rem;
	font-variant-numeric: tabular-nums;
	white-space: normal;
}

.amz-head .amz-cell {
	font-family: var(--bold-cond);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.8rem;
	padding-top: 0.7rem;
}

.amz-head .amz-cell .bold-btn {
	margin-top: 0.45rem;
}

/* ---------- Support ---------- */

.alloway-psupp {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
}

.alloway-psupp a {
	display: block;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	padding: 1.2rem;
	text-decoration: none;
	color: var(--bold-ink);
	background: var(--wp--preset--color--surface);
	transition:
		transform 0.18s var(--bold-ease),
		box-shadow 0.18s var(--bold-ease);
}

.alloway-psupp a:hover,
.alloway-psupp a:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgb(19 17 17 / 12%);
}

@media (prefers-reduced-motion: reduce) {
	.alloway-psupp a,
	.alloway-psupp a:hover {
		transition: none;
		transform: none;
	}
}

.alloway-psupp b {
	font-family: var(--bold-display);
	text-transform: uppercase;
	font-weight: 800;
	font-size: 1.15rem;
	display: block;
	margin-bottom: 0.3rem;
}

.alloway-psupp span {
	font-size: 0.88rem;
	color: var(--wp--preset--color--muted);
}

/* ---------- Quote (concept 01): paths + offset-shadow card ---------- */

.alloway-pquote__inner {
	max-width: 1200px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: start;
}

.alloway-pquote__paths {
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0;
	list-style: none;
}

.alloway-pquote__paths li {
	margin-bottom: 0.7rem;
	font-weight: 700;
}

.alloway-pquote__paths a {
	color: var(--bold-ink);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.alloway-pquote__card {
	background: #fff;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	box-shadow: 10px 10px 0 var(--bold-dark);
	padding: 1.6rem;
}

.alloway-pquote__machine {
	font-weight: 700;
	margin: 0 0 1rem;
}

/* The no-Formidable fallback card holds only real, working paths
   (call, dealer) — never form fields (review 2026-08-28 finding 6). */
.alloway-pquote__cardlead {
	margin: 0 0 1.1rem;
}

.alloway-pquote__ctas {
	display: grid;
	gap: 0.7rem;
}

.alloway-pquote__ctas .bold-btn {
	text-align: center;
}

.alloway-pquote__form label {
	display: block;
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.75rem;
	margin-bottom: 0.9rem;
}

.alloway-pquote__form input,
.alloway-pquote__form textarea {
	display: block;
	width: 100%;
	margin-top: 0.3rem;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	background: var(--wp--preset--color--surface);
	color: var(--bold-ink);
	font: inherit;
	padding: 0.6rem 0.75rem;
}

.alloway-pquote__form input:focus-visible,
.alloway-pquote__form textarea:focus-visible {
	outline: 2px solid var(--bold-gold-deep);
	outline-offset: 2px;
}

.alloway-pquote__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1rem;
}

.alloway-pquote__phone {
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.75rem;
	color: var(--bold-ink);
	margin: 1rem 0 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 905px) {
	.alloway-pbinder__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.alloway-pbinder__rail {
		position: static;
		flex-direction: row;
		overflow-x: auto;
	}

	.alloway-pbinder__rail button {
		border-bottom: 0;
		border-right: 1px solid var(--wp--preset--color--border, #e5e5e5);
		white-space: nowrap;
	}

	.alloway-pov,
	.alloway-pwalk,
	.alloway-pquote__inner,
	.alloway-pquote__row {
		grid-template-columns: 1fr;
	}

	.alloway-pfeat,
	.alloway-pkv,
	.alloway-psupp {
		grid-template-columns: 1fr 1fr;
	}

	/* Two-column band: re-derive the remainder filler. */
	.alloway-pkv div:last-child {
		grid-column: auto;
	}

	.alloway-pkv div:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	.alloway-pstats {
		grid-template-columns: 1fr 1fr;
	}

	/* The Amazon scroller takes over from the desktop table. */
	.alloway-ptable--desktop {
		display: none;
	}

	.alloway-ptable--amz {
		display: block;
	}
}

@media (max-width: 600px) {
	.alloway-pfeat,
	.alloway-pkv,
	.alloway-psupp,
	.alloway-pmedia__thumbs {
		grid-template-columns: 1fr;
	}

	/* Mobile picker: names + checkmarks, no photos (Jack's spec). */
	.alloway-pcompare__pick {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
		margin-bottom: 1rem;
	}

	.alloway-pcompare__pk {
		padding: 0.55rem 0.8rem;
	}

	.alloway-pcompare__pk img {
		display: none;
	}

	.alloway-pcompare__pk b {
		display: inline;
		font-size: 0.8rem;
	}

	.alloway-pcompare__pk label {
		display: inline-flex;
		margin: 0 0 0 0.6rem;
	}

	.alloway-pcompare__pk label span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.alloway-pcompare__desktop {
		display: none;
	}

	.alloway-pcompare__mobile {
		display: block;
	}
}

/* ---------- Catalog: line pills over the 18-card grid ---------- */

.alloway-pcatalog__controls {
	margin-bottom: var(--wp--preset--spacing--40);
}

.alloway-pcatalog__status {
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.8rem;
	color: var(--wp--preset--color--muted);
	min-height: 1.4em;
	margin: 0.75rem 0 0;
}

.alloway-pcatalog .bold-filter__btn {
	border-color: rgb(26 26 26 / 30%);
	color: var(--bold-ink);
}

/* The base pill hover is built for dark surfaces (white text) — on
   this light page it vanished (Jack's dogfood catch 2026-08-28).
   Light-surface hover: ink fill, gold text + outline (gold alone on
   white fails AA, so the fill supplies the contrast). */
.alloway-pcatalog .bold-filter__btn:hover:not([aria-pressed="true"]) {
	background: var(--bold-ink);
	border-color: var(--bold-gold);
	color: var(--bold-gold);
}

.alloway-pcatalog__grid {
	display: grid;
	gap: var(--wp--preset--spacing--40);
}

@media (min-width: 600px) {
	.alloway-pcatalog__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 905px) {
	.alloway-pcatalog__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* display:block would silently defeat the filter's hidden attribute
   (author display beats the UA [hidden] rule) — restore it explicitly. */
.alloway-pcard[hidden] {
	display: none;
}

.alloway-pcard {
	display: block;
	background: #fff;
	border: 2px solid var(--bold-ink);
	border-radius: var(--bold-radius-sm);
	overflow: hidden;
	text-decoration: none;
	color: var(--bold-ink);
}

.alloway-pcard__img {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--wp--preset--color--surface, #f4f1ec);
}

.alloway-pcard__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.alloway-pcard:hover .alloway-pcard__img img,
.alloway-pcard:focus-visible .alloway-pcard__img img {
	transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
	.alloway-pcard__img img {
		transition: none;
	}

	.alloway-pcard:hover .alloway-pcard__img img,
	.alloway-pcard:focus-visible .alloway-pcard__img img {
		transform: none;
	}
}

.alloway-pcard:focus-visible {
	outline: 3px solid var(--bold-gold);
	outline-offset: 2px;
}

.alloway-pcard__line {
	display: block;
	font-family: var(--bold-cond);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.72rem;
	color: var(--wp--preset--color--muted);
	padding: 0.9rem 1rem 0;
}

.alloway-pcard__name {
	display: block;
	font-family: var(--bold-cond);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.15rem;
	line-height: 1.2;
	padding: 0.25rem 1rem 0;
}

.alloway-pcard__tagline {
	display: block;
	font-size: 0.9rem;
	color: var(--wp--preset--color--muted);
	padding: 0.35rem 1rem 1rem;
}

/* ---------- Insights machine pathway (Epic 6, the approved 06 post
   crossbreed: 04's card look in 01's rail — paper fill, ink border,
   image on top, arrow chip flicking gold on hover). ---------- */
.alloway-postmachine__card {
	display: block;
	border: 2px solid var(--bold-dark);
	border-radius: var(--bold-radius-sm);
	overflow: hidden;
	background: var(--wp--preset--color--surface, #f5f4f1);
	text-decoration: none;
	color: var(--bold-ink);
	transition:
		transform 0.18s var(--bold-ease),
		box-shadow 0.18s var(--bold-ease);
}

.alloway-postmachine__card:hover,
.alloway-postmachine__card:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgb(19 17 17 / 12%);
}

@media (prefers-reduced-motion: reduce) {
	.alloway-postmachine__card,
	.alloway-postmachine__card:hover {
		transition: none;
		transform: none;
	}
}

.alloway-postmachine__img img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 16 / 9;
	border-bottom: 2px solid var(--bold-dark);
}

.alloway-postmachine__body {
	padding: 1.1rem 1.2rem 1.2rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.4rem 1rem;
	align-items: center;
}

.alloway-postmachine__body .alloway-eyebrow {
	grid-column: 1 / -1;
	font-size: 0.72rem;
}

.alloway-postmachine__title {
	grid-column: 1;
	grid-row: 2;
	display: block;
	font-family: var(--bold-display);
	text-transform: uppercase;
	font-weight: 800;
	font-size: 1.35rem;
}

.alloway-postmachine__meta {
	grid-column: 1;
	grid-row: 3;
	display: block;
	font-size: 0.86rem;
	color: var(--wp--preset--color--muted, #4a4a4a);
}

.alloway-postmachine__arr {
	grid-column: 2;
	grid-row: 2 / span 2;
	width: 34px;
	height: 34px;
	border: 2px solid currentcolor;
	border-radius: var(--bold-radius-sm);
	display: grid;
	place-items: center;
	font-family: var(--bold-display);
	font-weight: 800;
	font-size: 1.05rem;
	transition:
		transform 0.18s var(--bold-ease),
		background 0.18s var(--bold-ease);
}

.alloway-postmachine__card:hover .alloway-postmachine__arr,
.alloway-postmachine__card:focus-visible .alloway-postmachine__arr {
	transform: translate(3px, -3px);
	background: var(--bold-gold);
}

/* In the Field cross-link under the media panel (Epic 3.5). */
.alloway-pmedia__fieldlink {
	display: inline-block;
	margin-top: 1rem;
	font-family: var(--bold-cond);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.85rem;
	color: var(--bold-ink);
	text-decoration: none;
	border-bottom: 2px solid var(--bold-gold);
	transition: color 0.18s var(--bold-ease);
}

.alloway-pmedia__fieldlink:hover,
.alloway-pmedia__fieldlink:focus-visible {
	color: var(--bold-gold-deep);
}
