/* =============================================================================
   SECTION WRAPPER
   ============================================================================= */

.product-test {
	padding-top: var(--section-y-sm);
	padding-bottom: var(--section-y);
}

/* =============================================================================
   BREADCRUMBS
   ============================================================================= */

/* Breadcrumbs are the shared .fss-breadcrumbs component (global.css); the
   product page used to carry a second implementation of its own. */

/* =============================================================================
   ABOVE-FOLD LAYOUT
   ============================================================================= */

.product-above-fold {
	display:     flex;
	align-items: stretch;
	gap:         var(--space-l);
}

/* =============================================================================
   GALLERY CARD
   ============================================================================= */

.product-gallery {
	flex:             1;
	min-width:        0;
	overflow:         hidden;
	background-color: var(--color-bg-primary);
	border:           1px solid var(--color-border-subtle);
	border-radius:    var(--radius-m);
	position:         sticky;
	top:              calc(var(--sticky-top) + var(--admin-bar-h));
	align-self:       flex-start;
}

/* Favorite star (customers only), top-left of the image. The gallery is
   sticky, which already makes it the containing block. */
.favorite-toggle--product {
	position:         absolute;
	top:              var(--space-2xs);
	left:             var(--space-2xs);
	background-color: var(--color-bg-primary);
}

.product-gallery__img {
	display:    block;
	width:      100%;
	height:     auto;
	object-fit: cover;
}

/* =============================================================================
   RIGHT COLUMN WRAPPER
   ============================================================================= */

.product-right-col {
	flex:           1;
	min-width:      0;
	display:        flex;
	flex-direction: column;
	gap:            var(--space-l);
}

/* =============================================================================
   IDENTITY CARD
   ============================================================================= */

.product-identity {
	background-color: var(--color-bg-primary);
	border:           1px solid var(--color-border-subtle);
	border-radius:    var(--radius-m);
	padding:          35px var(--space-2xl);
}

.product-identity__title {
	font-size:     var(--text-h2);
	color:         var(--color-accent);
	margin-bottom: var(--space-2xs);
}

.product-identity__description {
	color:         var(--color-text-secondary);
	margin-bottom: var(--space-l);
}

.product-identity__badges {
	display:    flex;
	flex-wrap:  wrap;
	gap:        10px;
	margin-top: var(--space-m);
}

.product-identity__badge-wrap {
	position: relative;
	display:  inline-flex;
}

.product-identity__badge {
	display: block;
	width:   auto;
	height:  50px;
}

.product-identity__badge-tip {
	position:         absolute;
	bottom:           calc(100% + 8px);
	left:             50%;
	transform:        translateX(-50%);
	background-color: var(--color-text-primary);
	color:            var(--color-bg-primary);
	border-radius:    var(--radius-m);
	padding:          6px 10px;
	font-size: var(--text-body-small);
	white-space:      nowrap;
	pointer-events:   none;
	visibility:       hidden;
	opacity:          0;
	transition:       opacity var(--duration-fast) ease, visibility var(--duration-fast) ease;
	z-index:          10;
}

.product-identity__badge-tip::after {
	content:          '';
	position:         absolute;
	top:              100%;
	left:             50%;
	transform:        translateX(-50%);
	border:           5px solid transparent;
	border-top-color: var(--color-text-primary);
}

.product-identity__badge-wrap:hover .product-identity__badge-tip {
	visibility: visible;
	opacity:    1;
}

.product-identity__meta {
	margin-top: var(--space-m);
}

.product-identity__meta-line {
	color:         var(--color-text-secondary);
	margin-bottom: 0;
}

.product-identity__meta-link {
	color:           var(--color-text-secondary);
	text-decoration: underline;
}

.product-identity__meta-link:hover {
	color: var(--color-accent);
}

/* =============================================================================
   BUY BOX CARD
   ============================================================================= */

.product-buybox {
	background-color: var(--color-bg-primary);
	border:           1px solid var(--color-border-subtle);
	border-radius:    var(--radius-m);
	overflow:         hidden;
}

/* -- Divider ---------------------------------------------------------------- */

.product-buybox__divider {
	border:     none;
	border-top: 1px solid var(--color-border-subtle);
	margin:     0;
}

/* -- Zone 2: Configure ------------------------------------------------------ */

.product-buybox__variants {
	display:          flex;
	flex-direction:   column;
	gap:              20px;
	padding:          35px var(--space-2xl) 20px var(--space-2xl);
	background-color: var(--color-bg-subtle);
}

.product-buybox__clear {
	align-self:      flex-start;
	background:      none;
	border:          none;
	padding:         0;
	font-size: var(--text-body-small);
	color:           var(--color-text-secondary);
	cursor:          pointer;
	text-decoration: underline;
}

.product-buybox__clear:hover {
	color: var(--color-accent);
}

.product-buybox__variant-label {
	display:       block;
	font-weight:   var(--weight-bold);
	margin-bottom: 6px;
}

.product-select-wrapper {
	position: relative;
}

.product-select-wrapper::after {
	content:           '';
	position:          absolute;
	right:             14px;
	top:               50%;
	transform:         translateY(-50%);
	width:             10px;
	height:            6px;
	background-image:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234A4E52'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size:   contain;
	pointer-events:    none;
}

.product-select {
	width:              100%;
	height:             44px;
	padding:            0 var(--space-2xl) 0 var(--space-s);
	border:             1px solid var(--color-border-subtle);
	border-radius:      var(--radius-s);
	background-color:   var(--color-bg-primary);
	appearance:         none;
	-webkit-appearance: none;
	cursor:             pointer;
	font-size: var(--text-body);
}

.product-select:focus {
	outline:      none;
	border-color: var(--color-accent);
}

.product-buybox__skus {
	display:     flex;
	flex-wrap:   wrap;
	gap:         0 var(--space-l);
	padding-top: var(--space-m);
	border-top:  1px solid var(--color-border-subtle);
}

.product-buybox__sku {
	font-size: var(--text-body-small);
	color:         var(--color-text-secondary);
	margin-bottom: 0;
}

/* -- Zone 3: Buy ------------------------------------------------------------ */

.product-buybox__zone-buy {
	padding: 35px var(--space-2xl);
}

.product-buybox__price-block {
	margin-bottom: var(--space-m);
}

.product-buybox__field-label {
	display:        block;
	font-size: var(--text-body-small);
	font-weight:    var(--weight-bold);
	letter-spacing: 1px;
	color:          var(--color-text-secondary);
	margin-bottom:  6px;
}

.product-buybox__price-label {
	display:       flex;
	align-items:   center;
	gap:           var(--space-2xs);
	margin-bottom: 0;
}

/* The .product-tooltip-* component moved to global.css -- the checkout uses it
   too, and global.css is the only stylesheet loaded on every page. */

.product-buybox__price {
	display:       flex;
	align-items:   center;
	gap:           var(--space-xs);
	margin-bottom: 0;
}

.product-buybox__price-amount {
	font-size:   var(--text-h4);
	font-weight: var(--weight-black);
	color:       var(--color-accent);
}

/* "Request a quote" (a size with no price on file) is a link, not a figure:
   it reads at body size so it does not shout like a number would. */
.product-buybox__price-amount--none {
	font-size:   var(--text-body);
	font-weight: var(--weight-bold);
	color:       var(--color-text-secondary);
}

.product-buybox__price-unit {
	font-size: var(--text-body-small);
	color:     var(--color-text-secondary);
}

.product-buybox__availability-block {
	margin-bottom: var(--space-l);
}

.product-buybox__stock {
	display:        flex;
	flex-direction: column;
	gap:            6px;
	/* One line of stock text, reserved before stock loads. */
	min-height:     calc(var(--text-body-small) * var(--leading-normal));
}

.product-stock-item--pending {
	color: var(--color-text-secondary);
}

/* Price/stock lookup failed: a plain-language message in place of the stock line. */
.product-stock-item--error {
	color: var(--color-error);
}

.product-stock-item {
	display:     flex;
	align-items: center;
	gap:         var(--space-xs);
	font-size: var(--text-body-small);
}

.product-stock-dot {
	display:       inline-block;
	width:         8px;
	height:        8px;
	border-radius: var(--radius-max);
	flex-shrink:   0;
}

/* Same colours as the cart's .stock-pill variants (global.css). */
.product-stock-dot--stock        { background-color: var(--color-success); }
.product-stock-dot--non-stock    { background-color: var(--color-info); }
.product-stock-dot--quote        { background-color: var(--color-accent); }
.product-stock-dot--discontinued { background-color: var(--color-text-secondary); }

.product-buybox__qty-group {
	margin-bottom: var(--space-l);
}

.product-buybox__qty-row {
	display:     flex;
	align-items: center;
	gap:         var(--space-m);
}

.product-buybox__qty-control {
	display: flex;
}

.product-buybox__qty-btn {
	display:          flex;
	align-items:      center;
	justify-content:  center;
	width:            40px;
	height:           40px;
	border:           1px solid var(--color-border-subtle);
	background-color: var(--color-bg-subtle);
	cursor:           pointer;
	flex-shrink:      0;
	transition:       background-color var(--duration-fast) ease;
}

.product-buybox__qty-btn:first-child { border-radius: var(--radius-s) 0 0 var(--radius-s); }
.product-buybox__qty-btn:last-child  { border-radius: 0 var(--radius-s) var(--radius-s) 0; }

.product-buybox__qty-btn:hover {
	background-color: var(--color-border-subtle);
}

.product-buybox__qty-input {
	width:            60px;
	height:           40px;
	border:           1px solid var(--color-border-subtle);
	border-left:      none;
	border-right:     none;
	text-align:       center;
	font-size: var(--text-ui);
	background-color: var(--color-bg-primary);
	appearance:       textfield;
	-moz-appearance:  textfield;
}

.product-buybox__qty-input::-webkit-outer-spin-button,
.product-buybox__qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin:             0;
}

.product-buybox__qty-input:focus {
	outline:      none;
	border-color: var(--color-accent);
}

.product-buybox__qty-notice {
	font-size: var(--text-body-small);
	color:     var(--color-text-secondary);
}

.product-buybox__cta {
	width:     100%;
	min-width: 0;
}

.product-buybox__cta--link {
	display: flex;
}

.product-buybox__cta:disabled {
	background-color: var(--color-border-subtle);
	border-color:     var(--color-border-subtle);
	color:            var(--color-text-secondary);
	cursor:           not-allowed;
	transform:        none;
	box-shadow:       none;
}

/* -- Non-stock notice ------------------------------------------------------- */

/* Info blue, not warning amber: a non-stock item is available to order. */
.product-buybox__stock-notice {
	display:       flex;
	align-items:   flex-start;
	gap:           10px;
	margin-top:    10px;
	padding:       10px var(--space-s);
	border-left:   3px solid var(--color-info);
	background:    color-mix(in srgb, var(--color-info) 6%, var(--color-bg-primary));
	border-radius: 0 var(--radius-s) var(--radius-s) 0;
	font-size: var(--text-body-small);
	color:         var(--color-text-secondary);
	flex-shrink:   0;
}

.product-buybox__stock-notice svg {
	color:       var(--color-info);
	flex-shrink: 0;
	margin-top:  var(--space-3xs);
}

/* A size discontinued at the visitor's branch. Element-qualified to beat
   global's p:last-of-type margin reset. */
p.product-buybox__discontinued-note {
	margin:    10px 0 0;
	font-size: var(--text-body-small);
	color:     var(--color-text-secondary);
}

.product-buybox__discontinued-note a {
	color:           var(--color-accent);
	text-decoration: underline;
}

/* =============================================================================
   DISCONTINUED CARD
   ============================================================================= */

/* Element-qualified to beat global's p:last-of-type margin reset; the
   button below it needs the gap. */
p.product-discontinued__body {
	color:         var(--color-text-secondary);
	margin-bottom: var(--space-m);
}

.product-discontinued__replacement-link {
	color:           var(--color-accent);
	text-decoration: underline;
}

.product-discontinued__replacement-link:hover {
	opacity: 0.8;
}

/* =============================================================================
   HELP CTA CARD
   ============================================================================= */

/* -----------------------------------------------------------------------------
   HELP CARD

   A centred prompt over a split button strip. The copy is centred because the
   card is an aside, not prose -- left-aligned it read as another paragraph of
   the product description. The two actions share one bordered strip divided
   down the middle, so they look like a thing to press rather than two links
   that happen to sit next to each other.
   ----------------------------------------------------------------------------- */

.product-help {
	padding:          var(--space-l);
	text-align:       center;
	background-color: var(--color-bg-subtle);
	border:           1px solid var(--color-border-subtle);
	border-radius:    var(--radius-m);
}

/* Scoped through the parent, not left as a bare .product-help__heading:
   global.css has a `p:last-of-type { margin-bottom: 0 }` at specificity
   (0,1,1), which silently beats a single class and was already zeroing the
   subline below. Two classes clear it without reaching for !important. */
.product-help .product-help__heading {
	margin:      0;
	font-size:   var(--text-ui);
	font-weight: var(--weight-bold);
	line-height: var(--leading-slim);
	color:       var(--color-text-primary);
}

.product-help .product-help__subline {
	margin:      0 0 var(--space-s);
	font-size:   var(--text-body-small);
	line-height: var(--leading-normal);
	color:       var(--color-text-secondary);
}

/* One strip, two cells. The border and the radius live here so the divider
   between the cells is a single line and the corners clip cleanly. */
.product-help__links {
	display:               grid;
	grid-template-columns: 1fr 1fr;
	overflow:              hidden;
	background-color:      var(--color-bg-primary);
	border:                1px solid var(--color-border-subtle);
	border-radius:         var(--radius-s);
}

.product-help__link {
	display:         flex;
	align-items:     center;
	justify-content: center;
	gap:             var(--space-xs);
	padding:         var(--space-xs) var(--space-s);
	font-size:       var(--text-ui);
	font-weight:     var(--weight-bold);
	line-height:     var(--leading-slim);
	color:           var(--color-text-primary);
	transition:      background-color var(--duration-fast) ease,
	                 color var(--duration-fast) ease;
}

.product-help__link + .product-help__link {
	border-left: 1px solid var(--color-border-subtle);
}

/* The glyph carries the brand colour; the label stays readable text. */
.product-help__link svg {
	flex-shrink: 0;
	color:       var(--color-accent);
}

.product-help__link:hover {
	background-color: var(--color-bg-subtle);
	color:            var(--color-accent);
	text-decoration:  none;
}

.product-help__link:focus-visible {
	outline:        3px solid var(--color-accent);
	outline-offset: -3px;
}

/* Side by side needs room for a phone number and a label. Below that the
   strip stacks and the divider moves to the top edge of the second cell. */
@media ( max-width: 480px ) {

	.product-help__links {
		grid-template-columns: 1fr;
	}

	.product-help__link + .product-help__link {
		border-left: 0;
		border-top:  1px solid var(--color-border-subtle);
	}

}
/* The add-to-cart toast now lives in global.css: the cart page raises it
   too, and page-cart.css is not loaded here. */


/* =============================================================================
   RESPONSIVE -- 900px
   ============================================================================= */

@media ( max-width: 1024px ) {

	.product-above-fold {
		flex-direction: column;
	}

	/* Stacked, the gallery sits above the rest of the column, so sticking it
	   would only pin the image over the page as the reader scrolls. Relative,
	   not static, so it still anchors the favorite star. */
	.product-gallery {
		position: relative;
		top:      auto;
		/* Stacked layout: size to the image (aspect-ratio set inline), not
		   to flex: 1, which let the gallery's height settle late. */
		flex:     none;
	}

}

/* =============================================================================
   DETAILS CARD -- Description / Files tabs beneath the above-fold section
   ============================================================================= */

.product-details {
	margin-top: var(--space-l);
}

/* -- Tab bar: active tab attaches to the card like a folder tab ------------- */

/* Four tabs do not fit a phone: the bar scrolls sideways. It overlaps the
   card by 1px and the active tab paints a white bottom edge over the card's
   top border, so the tab still reads as joined to the card (a negative margin
   on the tab itself would be clipped by the scroll container). */
.product-details__tabs {
	display:         flex;
	overflow-x:      auto;
	scrollbar-width: none;
	position:        relative;
	z-index:         1;
	margin-bottom:   -1px;
	/* A #specifications / #sizes link scrolls here; clear the sticky header. */
	scroll-margin-top: calc(var(--header-h) + var(--admin-bar-h) + var(--space-m));
}

.product-details__tabs::-webkit-scrollbar {
	display: none;
}

.product-details__tab {
	padding:       var(--space-s) var(--space-l);
	font-family:   inherit;
	font-size:     var(--text-body-small);
	font-weight:   var(--weight-bold);
	color:         var(--color-text-secondary);
	background:    none;
	border:        1px solid transparent;
	border-bottom: none;
	border-radius: var(--radius-m) var(--radius-m) 0 0;
	cursor:        pointer;
	position:      relative;
	flex:          0 0 auto;
	white-space:   nowrap;
	transition:    color var(--duration-fast) ease;
}

.product-details__tab:hover {
	color: var(--color-text-primary);
}

.product-details__tab.is-active {
	background:   var(--color-bg-primary);
	border-color: var(--color-border-subtle);
	color:        var(--color-text-primary);
	border-bottom: 1px solid var(--color-bg-primary);
}

/* -- Card ------------------------------------------------------------------- */

.product-details__card {
	background:    var(--color-bg-primary);
	border:        1px solid var(--color-border-subtle);
	border-radius: 0 var(--radius-m) var(--radius-m) var(--radius-m);
	padding:       var(--space-2xl);
}

.product-details__title {
	margin:         0 0 20px;
	padding-bottom: 14px;
	border-bottom:  1px solid var(--color-border-subtle);
}

.product-details__desc p {
	color:       var(--color-text-secondary);
	line-height: var(--leading-relaxed);
	margin:      0 0 var(--space-m);
}

.product-details__desc p:last-child {
	margin-bottom: 0;
}

/* -- Feature blocks --------------------------------------------------------- */

.product-feature {
	margin-top: 28px;
}

.product-feature__heading {
	display:     flex;
	align-items: center;
	gap:         10px;
	margin:      0;
	font-size:   var(--text-body);
	line-height: var(--leading-tight);
}

.product-feature__heading::before {
	content:       '';
	width:         6px;
	height:        6px;
	border-radius: var(--radius-max);
	background:    var(--color-accent);
	flex-shrink:   0;
}

.product-feature__body {
	margin-top:  10px;
	margin-left: var(--space-xs);
	padding:     var(--space-3xs) 0 var(--space-3xs) 20px;
	border-left: 3px solid var(--color-border-subtle);
}

.product-feature__body p {
	margin:      0;
	color:       var(--color-text-secondary);
	line-height: var(--leading-relaxed);
}

/* -- Files tab: grouped list of download rows -------------------------------- */

.product-files {
	border:        1px solid var(--color-border-subtle);
	border-radius: var(--radius-m);
	overflow:      hidden;
}

.product-file {
	display:         flex;
	align-items:     center;
	gap:             var(--space-s);
	padding:         var(--space-m) var(--space-m);
	border-bottom:   1px solid var(--color-border-subtle);
	color:           var(--color-text-primary);
	text-decoration: none;
	transition:      background-color var(--duration-fast) ease;
}

.product-file:last-child {
	border-bottom: none;
}

.product-file:hover {
	background:      var(--color-bg-subtle);
	text-decoration: none;
}

.product-file__icon {
	color:       var(--color-accent);
	flex-shrink: 0;
}

.product-file__label {
	flex:        1;
	min-width:   0;
	font-size:   var(--text-body-small);
	font-weight: var(--weight-bold);
}

.product-file__ext {
	font-size: var(--text-2xs);
	font-weight:    var(--weight-bold);
	letter-spacing: 0.5px;
	color:          var(--color-text-secondary);
	border:         1px solid var(--color-border-subtle);
	background:     var(--color-bg-primary);
	border-radius:  var(--radius-xs);
	padding:        var(--space-3xs) 6px;
}

.product-file__download {
	color:       var(--color-text-secondary);
	flex-shrink: 0;
	transition:  color var(--duration-fast) ease;
}

.product-file:hover .product-file__download {
	color: var(--color-accent);
}

@media ( max-width: 600px ) {

	.product-details__card {
		padding: 28px 20px;
	}

	.product-details__tab {
		padding: var(--space-s) var(--space-m);
	}

}

/* =============================================================================
   QUOTE-ONLY BUY BOX -- what happens next, above the Request a quote button
   ============================================================================= */

.product-buybox__quote-heading {
	margin:      0 0 var(--space-xs);
	font-weight: var(--weight-bold);
}

.product-buybox__quote-facts {
	margin:     0 0 var(--space-m);
	padding:    0;
	list-style: none;
	color:      var(--color-text-secondary);
	font-size:  var(--text-body-small);
}

.product-buybox__quote-facts li {
	position:     relative;
	padding-left: var(--space-m);
	line-height:  var(--leading-normal);
}

.product-buybox__quote-facts li + li {
	margin-top: var(--space-2xs);
}

.product-buybox__quote-facts li::before {
	content:       '';
	position:      absolute;
	left:          0;
	top:           0.6em;
	width:         6px;
	height:        6px;
	border-radius: var(--radius-max);
	background:    var(--color-accent);
}

/* =============================================================================
   SPECIFICATIONS + SIZES & PART NUMBERS tab panels
   ============================================================================= */

.product-section__title {
	margin:         0 0 20px;
	padding-bottom: 14px;
	border-bottom:  1px solid var(--color-border-subtle);
}

.product-specs__table {
	width:           100%;
	border-collapse: collapse;
}

.product-specs__table th,
.product-specs__table td {
	padding:        var(--space-s) var(--space-m);
	text-align:     left;
	vertical-align: top;
	line-height:    var(--leading-normal);
	border-bottom:  1px solid var(--color-border-subtle);
}

.product-specs__table tr:last-child th,
.product-specs__table tr:last-child td {
	border-bottom: 0;
}

.product-specs__table tr:nth-child(odd) {
	background-color: var(--color-bg-subtle);
}

.product-specs__table th {
	width:       34%;
	font-weight: var(--weight-bold);
}

.product-specs__table td {
	color: var(--color-text-secondary);
}

.product-variants__intro {
	margin:    0 0 var(--space-m);
	color:     var(--color-text-secondary);
	font-size: var(--text-body-small);
}

/* Long variant lists (belts run to 240 rows) scroll inside the card; every
   row stays in the HTML. */
.product-variants__scroll {
	max-height:    520px;
	overflow:      auto;
	border:        1px solid var(--color-border-subtle);
	border-radius: var(--radius-s);
}

.product-variants__scroll:focus-visible {
	outline:        2px solid var(--color-accent);
	outline-offset: 2px;
}

.product-variants__table {
	width:           100%;
	border-collapse: collapse;
	font-size:       var(--text-body-small);
}

.product-variants__table th,
.product-variants__table td {
	padding:       var(--space-xs) var(--space-m);
	text-align:    left;
	white-space:   nowrap;
	border-bottom: 1px solid var(--color-border-subtle);
}

.product-variants__table thead th {
	position:         sticky;
	top:              0;
	z-index:          1;
	background-color: var(--color-bg-subtle);
	font-weight:      var(--weight-bold);
}

.product-variants__table tbody th {
	font-weight: var(--weight-bold);
}

.product-variants__table tbody tr:hover {
	background-color: var(--color-bg-subtle);
}

.product-variants__table td {
	color: var(--color-text-secondary);
}

/* =============================================================================
   KEEP EXPLORING -- the section after the product details, on the page's
   white background: the related guide, then up to three product list cards
   (product-list.css). The cards' own borders separate them from the page.
   ============================================================================= */

/* 48px from the details to the "Keep exploring" heading, instead of the
   page's usual 96px bottom padding. */
.product-test--before-band {
	padding-bottom: var(--space-3xl);
}

/* margin-bottom + the footer's own --section-y-sm top padding = 56px to "Contact us". */
.keep-exploring {
	margin-bottom: var(--space-l);
}

.keep-exploring__inner {
	display:        flex;
	flex-direction: column;
	gap:            var(--space-l);
}

.keep-exploring__title {
	margin:    0;
	font-size: var(--text-h3);
}

/* ---- Buying guide: one link across the full width ----------------------- */

.keep-exploring__guide {
	display:          flex;
	align-items:      center;
	gap:              var(--space-m);
	padding:          var(--space-s) var(--space-m);
	color:            var(--color-text-primary);
	text-decoration:  none;
	background-color: var(--color-bg-primary);
	border:           1px solid var(--color-border-subtle);
	border-radius:    var(--radius-m);
	transition:       border-color var(--duration-fast) var(--ease-standard);
}

.keep-exploring__guide:hover {
	border-color:    var(--color-border-hover);
	text-decoration: none;
}

.keep-exploring__guide:focus-visible {
	outline:        2px solid var(--color-text-primary);
	outline-offset: 2px;
}

/* The eyebrow's right border is the divider between it and the title. */
.keep-exploring__guide-eyebrow {
	flex:           none;
	padding-right:  var(--space-m);
	border-right:   1px solid var(--color-border-subtle);
	font-size:      var(--text-2xs);
	font-weight:    var(--weight-bold);
	line-height:    var(--leading-slim);
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color:          var(--color-text-secondary);
}

.keep-exploring__guide-title {
	flex:        1;
	min-width:   0;
	font-size:   var(--text-ui);
	font-weight: var(--weight-bold);
}

.keep-exploring__guide-time {
	flex:        none;
	font-size:   var(--text-xs);
	color:       var(--color-text-placeholder);
	white-space: nowrap;
}

.keep-exploring__guide-cta {
	flex:        none;
	font-size:   var(--text-body-small);
	font-weight: var(--weight-bold);
	color:       var(--color-accent);
	white-space: nowrap;
}

/* ---- Cards: one equal column per card, however many there are ----------- */

.keep-exploring__cards {
	display:           grid;
	grid-auto-flow:    column;
	grid-auto-columns: minmax( 0, 1fr );
	gap:               var(--space-l);
	align-items:       stretch;
}

/* Tablet: two columns; a third card takes the full second row. */
@media ( max-width: 1024px ) {

	.keep-exploring__cards {
		grid-auto-flow:        row;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.keep-exploring__cards > :nth-child( 3 ):last-child,
	.keep-exploring__cards > :only-child {
		grid-column: 1 / -1;
	}

}

@media ( max-width: 600px ) {

	.product-test--before-band {
		padding-bottom: var(--space-xl);
	}

	.keep-exploring__title {
		font-size: var(--text-h4);
	}

	/* Phone: eyebrow over a wrapping title, the call to action beneath. */
	.keep-exploring__guide {
		flex-direction: column;
		align-items:    flex-start;
		gap:            var(--space-2xs);
	}

	.keep-exploring__guide-eyebrow {
		padding-right: 0;
		border-right:  0;
	}

	.keep-exploring__guide-time {
		display: none;
	}

	.keep-exploring__guide-cta {
		margin-top: var(--space-2xs);
	}

	/* Accordion cards (product-list.js) stack tighter than open ones. */
	.keep-exploring__cards {
		grid-template-columns: minmax( 0, 1fr );
		gap:                   var(--space-s);
	}

	.product-specs__table th,
	.product-specs__table td {
		display: block;
		width:   auto;
		padding: var(--space-2xs) var(--space-s);
	}

	.product-specs__table th {
		padding-top: var(--space-s);
	}

	.product-specs__table td {
		padding-bottom: var(--space-s);
	}

}
